Linear Control System Lab: Utilizing Simulink To Implement The Mathematical Model of Translational Mechanical System
Linear Control System Lab: Utilizing Simulink To Implement The Mathematical Model of Translational Mechanical System
Linear Control System Lab: Utilizing Simulink To Implement The Mathematical Model of Translational Mechanical System
Section-I
f(t) k
x(t)
m b
G(s) = 1
(5𝑠2+1)
Write MATLAB commands to declare the transfer function of the system. Sketch the step
response.
m = 5 ; k = 1 ; b = 0 ;
num = [1] ;
den = [m b k] ;
sys = tf(num, den) ;
Page | 1
Linear Control System Lab Lab 6
Page | 2
Linear Control System Lab Lab 6
What is relationship between the real part of the roots and settling time?
Answer: Real root decreases the the peak time and increasing the settling time
What is relationship between the imaginary part of the roots and the frequency of oscillations
of the step response?
Answer: The imaginary parts of roots provides the information about damped natural frequency
of
oscillations
Section-II (SIMULINK)
Again, consider the spring-mass-damper system of figure 6.1. The differential equation of the
above model is:
d2 x dx (0)
M 2
+ B + Kx=f (t)
dt dt
dx (2)
2 f ( t )−B −Kx
d x dt
=
dt 2
M
Differential equation for above circuit could be implemented in Simulink as below:
Page | 3
Linear Control System Lab Lab 6
Implement above model and select appropriate scale and simulation parameters to get the step
and impulse responses. Sketch them in the space below.
Page | 4
Linear Control System Lab Lab 6
Figure 6.5: Step response of mass-spring-damper system using transfer function block .
Make sure you enter 0 in Step time of F(s) block. Does the step response match the one given in
figure 6.3? Calculate impulse response from model of figure 6.4. Suppose we need to dispatch
data from Simulink model to MATLAB workspace. ‘To workspace’ block of sink library will
help.
Page | 5
Linear Control System Lab Lab 6
Figure 6.6: Model to get data in MATLAB Workspace
Change the save format of ‘To Workspace’ block to array format. Run the model and enter
following commands in MATLAB workspace.
It will produce the same step response, previously obtained through step command in MATLAB.
Exercise 01
Write differential equation(s) for the following system and find transfer function Y(s)/U(s).
Sketch the step response. (Show all working)
Page | 6
Linear Control System Lab Lab 6
Page | 7
Linear Control System Lab Lab 6
Laboratory Rubrics
Sr. Performance Exemplary Satisfactory Developing Unsatisfactory (0 Marks)
# Indicator (5 Marks) (4-3 Marks) (2-1 Marks)
Individual and Respectful to one another Collaborative effort Need training and Unsupportive attitude
teamwork while providing timely of a group with support to work with no interest towards
1 and helpful feedback and delayed feedback to effectively in a team individual or common
(PLO-09, allow healthy conflict. achieve a common and individually. goal.
Affective goal in a less efficient
Domain) way.
Scale
Data Analyse and interprets Analyse and Analyse and Analyse and interprets
exploration and data correctly and interprets data interprets data incorrect data with wrong
2 analysis precisely, draws correct correctly most of the correctly conclusions.
and useful conclusions time with correct and occasionally with
(PLO-04, by keenly observing useful conclusion. some incorrect
Cognitive theoretical and conclusion.
Domain) experimental results.
Scale
Skill to Quite able to conduct the Able to conduct Able to conduct Unable to conduct
perform test entire experiment with experiment with experiment with a experiment on his own
3 experiment negligible help from the some help from the lot of help from the and lab instructor
(PLO-04, lab instructor. lab instructor. lab instructor. provides help in almost
Psychomotor every step of the
Domain) experiment.
Scale
Table 1: Lab Performance
Page | 8