Assignment Brief - Matlab and Simulink Signal Flow Exercise 2020
Assignment Brief - Matlab and Simulink Signal Flow Exercise 2020
Weighting This assessment counts for 25% of your overall grade for this module
Assignment summary A series of computer-based exercises have been designed to assess your
practical and analytical skills, ability to perform set tasks, analyses and
interpretation of results and your ability to communicate information in a
logical, structured and coherent manner.
For group assignments, only one copy should be submitted to Turnitin. The
front page of the assignment must include the full name and CEG number
of all group members.
Feedback http://www.turnitinuk.com
Feedback will also be communicated back to you via your tutor. They will
confirm the timescale in which you will receive your feedback.
Important details
Module learning outcomes
1. Examine, analyse and evaluate mathematical expressions involving vectors, matrices,
trigonometric and polynomial functions using real and complex numbers.
2. Use pre-determined procedures to solve problems involving vectors, matrices, trigonometric
and polynomial functions using real and complex numbers.
3. Use directed formats and styles to communicate mathematical problems and solutions, and
simulation and modelling results for academic, specialist and non-specialist audiences.
4. Solve engineering problems in modelling and simulation using Matlab and Simulink.
Assignment purpose:
To provide you with the fundamentals of how to express problems in the form of signal flow diagrams.
These are then used to demonstrate the process of modelling, such problems and determining solutions
by simulation.
Assignment instructions:
You should ensure that all aspects of your work are present with appropriately accurate English and
you need submit your work before the suggested deadline. Otherwise, there will be penalty for late
submission. If you are unsure of what is expected of you please speak to your tutor.
Plagiarism
We expect all submitted work to be your own words (apart from in-text quotations), written in a style
that reflects your English language level. If you copy other people’s work and present it as your own,
this is called plagiarism and is a serious academic offence.
The full details of our policy on academic misconduct can be found at the back of the Programme
Handbook.
You must complete a coursework submission sheet and attach this to the front of your assignment.
Submissions without this sheet may be rejected and may result in a mark of 0 being awarded for this
assignment.
Page 2 of 13
Assessment
The Assessment of the Matlab and Simulink exercise will be via the submission of two group reports to
Turnitin site, i.e. one for Matlab and one for Simulink. Each report constitutes a 25% component of your
module score. There will be a penalty on the final score of your report (e.g. marks capped at 40%) for late
or no submission, plagiarism or cheating.
The reports will be constructed by using this MS Word document as a report template.
Page 3 of 13
Organisation
The MATLAB and Simulink laboratory is organised as a group based exercise. There is a maximum of 5
members in a group. Each individual within the group must complete all parts of the exercise, but only
required to present one set of data in the main body of the report. However, all results obtained from
members of the group must be attached in the Appendix. In addition, each group must identify a member
for each of the following roles:
This individual is responsible for the recording of decisions and collaborations and prepares the project
management section containing the group’s minutes.
This individual is responsible for the formatting, collation and editing of the reports. And the person is
also responsible for the submission of reports to Turnitin.
Every member of the group must complete the whole work. Each member must assist in producing and
preparing one or more sections of the reports.
Page 4 of 13
SIMULINK (Section 1−3)
(Submission deadline: 4pm 13th December 2019)
Question 1
Section 1.1
Use the File option in the Simulink Library Browser to create a new Simulink Model, sim0.mdl, and store
it in the folder g:\IY1ENG_Simulink
Page 5 of 13
A Simulink model window should open looking like this:
Page 6 of 13
Section 1.2
Instructions: Calculate an Equation Simulink.
Modify the sim0.mdl model, by adding Maths blocks and Constant source blocks, to calculate the
following:
save the model as sim1.mdl and a snapshot of the result as sim1. jpg.
Section 1.3
Instructions: Simulink and signals.
The following models demonstrate the ability to calculate and mix signals.
Open the following Simulink Guide A at Section 1 Familiarisation Exercise and create and run the
Simulink model described. Save the model as sim2.mdl and a take a screen capture of a typical output
plot and save it in a word document as sim2.doc.
Collate files sim1.mdl, sim1.jpg, sim2.mdl, and sim2.doc into your Group Report as Simulink Section 1.
Page 7 of 13
Question 2
Section 2.1
Instructions: Modelling Dynamics Starting with ordinary differential equations.
The key to the solving of dynamical equations as simulations is integration. By having the ability to
integrate an arbitrary input signal and simultaneously produce its integrated output for use in the
simulation allows signal flow representations of systems to be modelled.
Create a new Simulink model file, sim3.mdl, and use the File option in the Simulink Library Browser to
save the Simulink Model as sim3.mdl in the folder g:\IY1ENG_Simulink.
Collate files sim3.mdl, sim3Sc.jpg, sim3Sc1.jpg, sim3Sc2.jpg and sim3Sc3.jpg into your Group Report
as Simulink Section 2.1.
Page 8 of 13
Section 2.2
Instructions: Effect of initial conditions on solutions to dynamics problems.
In Simulink Model, sim3.mdl, select the Sine Wave Simulink block and open it by double clicking on it.
Notice that the Phase of the sine wave is set to start at a specified initial angle in Radians.
Add small amounts, for example 0.1, to the Phase parameter and rerun the simulation. Notice that by
this means a value of initial Phase can be found that causes the output of the Scope3 block to return to
zero for a moment at running time 10s.
Capture the oscilloscope block results for this situation by printing the oscilloscope figures to jpeg files
sim310.jpg, sim311.jpg, sim312.jpg and sim313.jpg for submission.
Page 9 of 13
Connect the Signal Builder Block instead of the Sine Wave block and save the simulation as model file
sim321.mdl for submission.
Capture the oscilloscope block results for this situation by printing the oscilloscope figures to jpeg files
sim3210.jpg, sim3211.jpg, sim3212.jpg and sim3213.jpg for submission.
Collate files sim310.jpg, sim311.jpg, sim312.jpg and sim313.jpg as well as files sim321.mdl, sim3210.jpg,
sim3211.jpg, sim3212.jpg and sim3213.jpg into your Group Report as Simulink Section 2.2.
Section 2.3
Open the following Simulink Guide A at Section 2 Create a simple Simulink Simulation System and
create and run the Simulink model described. The Matlab script used here is Section2_0.m.
Collate the model as Section2_1.mdl and take a screen captures of typical output plots, document and
save them into your Group Report as Simulink Section 2.3.
Page 10 of 13
Question 3
Instructions: Projectile Modelling.
This aim of this section is to investigate the path of a projectile given an initial speed and to maximise its
horizontal distance of travel.
The detail of the how to model and simulate this problem is described in Simulink Guide A at Section 3
Maximising the Range of a Projectile.
At the end of the exercises the following files should be collated into your Group Report as Simulink
Section 3.
The Simulink model files (.mdl) and Matlab script (.m), if the second method of initial condition
assignment is used, and Snapshots of XY plot for projectile trajectory for the two different heights and
two different Simulink implementations.
Page 11 of 13
Marking criteria
Excellent (1.0) Good (0.8) Adequate (0.6) Partially Adequate (0.4) Unsatisfactory (0.2) Fail (0.0)
Planning (10%) Numerous evidences Many evidences of Some evidences of Some evidences of team Little evidences of No evidences of
Team cohesion e.g. of team working team working team working working documented. team working team working
team working documented. documented. documented. Activities were poorly documented. documented. No
meeting minutes and Activities were very Activities were well Activities were presented. Activities were attempt of activities
task allocation well presented. presented. presented. poorly presented. presented.
Presentation1 (10%) The report is very The report is very The report is The report is not well The report is poorly The report is very
Readability and use well written and well written and adequately written written and not easy for written and hard for poorly written and
of language easy for reader to easy to follow. Minor and easy for reader reader to follow. Major reader to follow. very hard for reader
follow. or no improvement to follow. Some improvement required. Major improvement to follow. Significant
required. improvement required. improvement
required. required.
Presentation2 (10%) The report is very The report is well The report is The report is not well The report is poorly The report is very
Report structure and well structured and structured and adequately structured and structured and poorly structured
organisation organised. All organised. Majority structured and organised. Some of the organised. Majority and organised.
required content are of the content are organised. Majority content are clearly of the content are Nearly all or majority
clearly documented clearly documented of the content are documented, and not clearly the content are not
and referenced. and referenced. clearly documented referenced, but with documented and clearly documented
and referenced, but many missing. referenced and referenced.
with some missing.
Question 1 (20%) Knowledge goes well Knowledge goes Knowledge is an Most of the knowledge Largely factually Content is
Technical content, beyond that beyond lecture even mix of that comes from the lecture incorrect, with no inaccurate, or copied
results and provided in the handouts, with taken from the handouts. Very little effort to research directly from the
discussion lecture handouts. minor references to handouts, and effort to research the the topics. Answer lecture notes. The
Technical content is the slides. Technical knowledge that is topic. Content is around given doesn't answer question has not
factually correct with content is 80 % guessed at. Technical 40-50 % correct, but the question. been answered.
no errors, and correct, and content is 60% doesn't always answer
answers the addresses the accurate, but does the question.
question well. question. not always answer
the question.
Some knowledge is
missing.
Question 2 (20%) Knowledge goes well Knowledge goes Knowledge is an Most of the knowledge Largely factually Content is
Technical content, beyond that beyond lecture even mix of that comes from the lecture incorrect, with no inaccurate, or copied
results and provided in the handouts, with taken from the handouts. Very little effort to research directly from the
discussion lecture handouts. minor references to handouts, and effort to research the the topics. Answer lecture notes. The
Technical content is the slides. Technical knowledge that is topic. Content is around given doesn't answer question has not
factually correct with content is 80 % guessed at. Technical 40-50 % correct, but the question. been answered.
no errors, and correct, and content is 60% doesn't always answer
answers the addresses the accurate, but does the question.
question well. question. not always answer
the question.
Some knowledge is
missing.
Question 3 (20%) Knowledge goes well Knowledge goes Knowledge is an Most of the knowledge Largely factually Content is
Technical content, beyond that beyond lecture even mix of that comes from the lecture incorrect, with no inaccurate, or copied
results and provided in the handouts, with taken from the handouts. Very little effort to research directly from the
discussion lecture handouts. minor references to handouts, and effort to research the the topics. Answer lecture notes. The
Technical content is the slides. Technical knowledge that is topic. Content is around given doesn't answer question has not
factually correct with content is 80 % guessed at. Technical 40-50 % correct, but the question. been answered.
no errors, and correct, and content is 60% doesn't always answer
answers the addresses the accurate, but does the question.
question well. question. not always answer
the question.
Some knowledge is
missing.
Appendix (10%) Technical content is Technical content is Technical content is Technical content is 40- Largely factually Content is
Group members factually correct with 80 % correct, and 60 % correct, and 50 % correct, and incorrect, but the inaccurate, and the
contribution e.g. no errors, and required files were required files were required files were required files were required files were
appendices and file required files were submitted on time. submitted on time. submitted on time. submitted on time. either late or not
management submitted on time. submitted.
Page 13 of 13