ELE 4623: Control Systems: Faculty of Engineering Technology
ELE 4623: Control Systems: Faculty of Engineering Technology
ELE 4623: Control Systems: Faculty of Engineering Technology
LAB #2
Step Response Analysis of a Control
System Using MATLAB/SIMULINK
BY
Name: ID
Abdulla Sulaiman H00350247
Submission Date:
Instructor Name:
LAB. General Description
Objective: Determine and simulate the step response analysis of LTI systems using
MATLAB/SIMULINK and compare the techniques.
Method:
1. Create and simulate an LTI systems using MATLAB command approach
2. Create and simulate an LTI systems using MATLAB SIMULINK approach
3. Plot the system response and compare the results of the two approaches
4. Prepare report
Lab resources:
1. Computer systems /Laptops
2. MATLAB software
Expected Outcome:
1. Sample of MATLAB mfile and SIMULINK block
2. Results of system responses
3. Report submission
GENERAL INFORMATION AND GUIDE
This Lab manual should be used together with the class notes/lecture.
Each student / group should work independently; direct copy of work will be highly
penalized according to the HCT policy.
For group work, contribution of each member of the team should
You are advised to follow the guide provided here for smooth and timely completion
of the experiments.
The following should be noted regarding the report format:
Prepare the report in softcopy, and upload in the appropriate BBL
section.
Diagram/Picture should be neatly and clearly prepared in the report.
For the text font, use 12 points, Time New Roman and double
spacing.
Lab. demonstration of the experiment will be assessed during the Lab. session. See
rubric for the assessment in the BBL.
Report submission due date : check the announcement on the course BBL
Assessment Approach per each experiment:
Report: 60% (see report rubric)
Demonstration: 40% (see practical/simulation rubric)
NOTES: Show your MATLAB session to the instructor for grading.
You may prepare your answer in softcopy, print out and submit or use hardcopy approach.
System Description:
The block diagrams shown in Figure 1 and Figure 2 below model a simple DC motor for speed
control application. Input V(s) is the desired speed in voltage, and the output ω (s ) is the actual
speed. Tachogenerator position sensor converts the actual speed to corresponding voltage. The
amplifier, K, is used to control the speed response of the motor.
Hint:
Determine the overall system model; create MATLAB codes; simulate and plot the response;
report the system response parameters
Code:
clc;
clear all;
close all;
R=10;
H=0.1;
K=10;
N=0.5;
L=10;
num=[1];
den=[L R];
sys=tf(num,den);
%open loop
sysOL=K*sys*N;
%closed loop
sysCL=feedback(sysOL,H);
step(sysCL)
PART B
Objective: Determine the step response of the system using MATLAB SIMULINK
Hint:
Create SIMULINK model of the system; simulate and plot the response; report the system response
parameters
Response plot:
Response plot with parameters:
Conclusion/Observation:
Hint: compare the two methods and state your observation in terms of procedure and results.
Include general conclusion on the task.
After
experimenti
ng with
both
MATLAB
code and
Simulink, I
observed
PART C: Post LAB Activity
Investigate the effect of the amplifier gain, K on the system response parameters.
(a) If the amplifier gain, K is reduced to 1, determine the step response of the system using
MATLAB command or MATLAB Simulink method.
Code:
clc;
clear all;
close all;
R=10;
H=0.1;
K=1;
N=0.5;
L=10;
num=[1];
den=[L R];
sys=tf(num,den);
%open loop
sysOL=K*sys*N;
%closed loop
sysCL=feedback(sysOL,H);
step(sysCL)
(b) If the amplifier gain, K is increased to 100, determine the step response of the system using
MATLAB command or MATLAB Simulink method.
Code:
clc;
clear all;
close all;
R=10;
H=0.1;
K=1;
N=0.5;
L=10;
num=[1];
den=[L R];
sys=tf(num,den);
%open loop
sysOL=K*sys*N;
%closed loop
sysCL=feedback(sysOL,H);
step(sysCL)
(c) Compare the response performance data for the three values of amplifier gain, K and
describe your observation regarding the effect of the proportional gain on the system
response and performance.
Comparative Table:
Rise time Settling time Steady state gain
K=1 2.19 3.89 0.0498
K = 10 2.09 3.73 0.476
K = 100 1.46 2.61 3.33
Comparative Step response plots [Use different color and legend to present the plots on
same graph or subplots]
Based on
the data, I
have
determined
that as the
gain is
reduced,
the rise
Reference Materials:
(Provide reference to all materials used in this assignment)