PU
BLI
C/
CY
Final mark awarded: _____ HO
ED
DU
FACULTY OF COMPUTING, ENGINEERING S
and SCIENCE
Assessment Cover Sheet and Feedback Form 2023/2024
Module Code: Module Title: Module Lecturer:
NG2S231 Control & Instrumentation Selim Tudgey
Assessment Title and Tasks: Individual Assignment Assessment No.
Designing a PID regulator for a Mass-Spring-Damper 1 of 2
System
No. of pages submitted in total including this page: Word Count of submission:
Completed by student Design Report: Maximum 1500 words.
Date Set: Submission Date: Return Date:
15/01/2024 16/02/2024 22/03/2024
Part A: Record of Submission (to be completed by Student)
Extenuating Circumstances
If there are any exceptional circumstances that may have affected your ability to undertake or
submit this assignment, make sure you contact the Advice Centre on your campus prior to your
submission deadline.
Fit to sit policy:
The University operates a fit to sit policy whereby you, in submitting or presenting yourself for
an assessment, are declaring that you are fit to sit the assessment. You cannot subsequently
claim that your performance in this assessment was affected by extenuating factors.
Plagiarism and Unfair Practice Declaration:
By submitting this assessment, you declare that it is your own work and that the sources of
information and material you have used (including the internet) have been fully identified and
properly acknowledged as required1. Additionally, the work presented has not been submitted
for any other assessment. You also understand that the faculty reserves the right to investigate
allegations of plagiarism or unfair practice which, if proven, could result in a fail in this
assessment and may affect your progress.
Details of Submission:
Note that all work handed in after the submission date and within 5 working days will be
capped at 40%2. No marks will be awarded if the assessment is submitted after the late
submission date unless extenuating circumstances are applied for and accepted (Advice Centre
to be consulted).
Work should be submitted in Turnitin, and students may hand a hardcopy to your module
leader if deemed necessary.
You are required to acknowledge that you Student Number(s):
have read the above statements by writing
your student number (s) in the box:
1
University Academic Integrity Regulations
2
Information on exclusions to this rule is available from Campus Advice Shops
PU
BLI
C/
CY
HO
IT IS YOUR RESPONSIBILITY TO KEEP A RECORD OF ALL WORK SUBMITTED
ED
Part B: Marking and Assessment DU
S
This assignment will be marked out of 100%
This assignment contributes to 40% of the total module marks.
Assessment Task: Individual Assessment (40% of total module marks)
Students are required to write a report based on the design of a PID regulator for a Mass-Spring-
Damper system.
Designing a PID Regulator for a Mass-Spring-Damper System
The system under investigation is a closed loop mass-spring-damper system. The overall
objective is to investigate the design of a Proportional-Integral-Derivative (PID) controller to
meet a design specification using MATLAB scripts.
Procedure
For a simple mass-spring-damper system
Figure 1 - Mass-Spring-Damper System
The equation for the system is
m ẍ+b ẋ + kx=F
Transforming our equation into Laplace transform equations, we get
2
m s X ( s ) + bsX ( s )+ kX ( s )=F ( s)
The transfer function for the input force F (s ) and the output displacement X (s) is
X (s ) 1
= 2
F ( s) m s +bs +k
For Control Parameters (m, b, k, F) (Please look on the Control Parameters spreadsheet on
Blackboard to find your control parameters attached to your student number).
Use the control parameters attached to your name to create a new transfer function equation:
X (s ) 1
= 2
F ( s) m s +bs +k
The aim of this problem is to show how the Proportional, Integral and Derivative functions
contributes to achieving the goal of:
PU
BLI
C/
CY
HO
Fast rise time
ED
Minimal overshoot DU
Zero steady state error S
Task One – Open Loop Response
Create a MATLAB Live Script with the following code:
Figure 2 - Open Loop Response
Replace m, b, k with your values from the previous equations.
Explain what is happening with the transfer function in terms of the rise time, overshoot,
steady-state error, and other control parameters. Use MATLAB Help to understand the functions
and explain these in your analysis. Use scholarly research and publications to support your
analysis.
Task Two – Closed Loop Response – Proportional Control
Using the same MATLAB Live script add the following code:
Figure 3 - Proportional Control
Explain what is happening with the transfer function in terms of the rise time, overshoot,
steady-state error, and other control parameters. Use MATLAB Help to understand the functions
and explain these in your analysis. Use scholarly research and publications to support your
analysis.
Task Three – Closed Loop Response – Proportional Derivative Control
Using the same MATLAB Live script add the following code:
Figure 4 - Derivative Control
Explain what is happening with the transfer function in terms of the rise time, overshoot,
steady-state error, and other control parameters. Use MATLAB Help to understand the functions
and explain these in your analysis. Use scholarly research and publications to support your
analysis.
PU
BLI
C/
CY
HO
Task Four – Closed Loop Response – Proportional Integral Control
ED
Using the same MATLAB script add the following code: DU
S
Figure 5 - Integral Control
Explain what is happening with the transfer function in terms of the rise time, overshoot,
steady-state error, and other control parameters. Use MATLAB Help to understand the functions
and explain these in your analysis. Use scholarly research and publications to support your
analysis.
Task Five – Closed Loop Response – Proportional Integral Derivative (PID) Control
Using the same MATLAB script add the following code:
Figure 6 - PID Control
Explain what is happening with the transfer function in terms of the rise time, overshoot,
steady-state error, and other control parameters. Use MATLAB Help to understand the functions
and explain these in your analysis. Use scholarly research and publications to support your
analysis.
Tips for Designing a PID Controller
1. Find the open-loop response and deduce what needs to be improved
2. Now include a P(Proportional) control to improve the rise time
3. Having achieved the required response characteristics under P-only control, deduce
appropriate Integral and Derivative terms to eliminate the steady state error, and reduce
oscillation.
4. Finally adjust each of the PID controllers until you obtain a desired overall response.
Submit a report on your findings and MATLAB scripts; including diagrams to support your
analysis. Finally, any cited work should be referenced according to USW standard style of
referencing.
Keep a copy of your work.
Strict word limit - 1500 words
Attach the front sheet (which will not be included in the word limit), to your report.
Submit your Assignment through Turnitin™ by 23:59 hrs on the deadline date. This will provide
PU
BLI
C/
you with a submission receipt and an originality check. CY
HO
Learning Outcomes to be assessed (as specified in the validated module descriptor ED
[Link] DU
LO1: Select and specify transducers for a given application and use it in the full knowledge of its S
static and dynamic limitations and critically evaluate results.
LO2: Demonstrate a detailed knowledge of and understanding of widely used control strategies
in the application of SISO control and instrumentation system
Marking Scheme: Assessment Task One (Individual Assessment – 40% of module marks)
Analysed the transfer function, control parameters, developed a
mathematical model and has assessed the information, then applied it to 30%
a controller designed using MATLAB scripts.
Demonstrates a detailed knowledge of the control strategy and system’s
time response and is aware of the potential applications to which it may 30%
be put.
Selected appropriate techniques to evaluate the performance of the
system, and demonstrated the understanding of the significance and 30%
potential limitations
Report structure and quality, which includes the quality of referencing
(relevant, up-to-date, and properly formatted) 10%
Performance Level Criteria
Fail Little demonstration of knowledge, little analysis, system not
(< 40%) modelled or controlled convincingly, and no critical
assessment of work undertaken.
Pass Basic demonstration of knowledge, basic analysis, basic
(40% - 49%) system modelling and control application and basic critical
assessment of work undertaken.
Pass Some demonstration of knowledge, some analysis, system
(50% - 59%) modelling and control application and some critical
assessment of work undertaken.
Merit Excellent demonstration of knowledge, excellent analysis,
(60% - 69%) system completely modelled, and control application and a
critical assessment of work undertaken is included.
Distinction Has shown a comprehensive and detailed knowledge of the
(70% +) subject, has analysed with appropriate and comprehensive
range of expected techniques, leading to well defined and
accurate, appropriately discussed analysis of a PID controller.
PU
BLI
C/
Feedback/feed-forward (linked to assessment criteria): CY
HO
Areas where you have done well:
ED
DU
S
Feedback from this assessment to help you to improve future assessments:
Other comments
Mark: Marker’s Signature: Date:
Work on this module has been marked, double marked/moderated in line with USW
procedures
Provisional mark only: subject to change and/or confirmation by the Assessment Board
Part C: Reflections on Assessment
(to be completed by student – optional)
Use of previous feedback:
In this assessment, I have taken/took note of the following points in feedback on previous work
(if applicable):
Please indicate which of the following you feel/felt applies/applied to your submitted work
A reasonable attempt. I could have developed some of the
sections further.
A good attempt, displaying my understanding and learning, with
analysis in some parts.
A very good attempt. The work demonstrates my clear
understanding of the assignment.
An excellent attempt, with clear application of literature and
scholarly work, demonstrating significant analysis and evaluation.
What I found most difficult
about this assessment:
The areas where I would
value/would have valued
feedback: