ELE 4623: Control Systems: Faculty of Engineering Technology

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

Faculty of Engineering Technology

Electrical Engineering Department

ELE 4623: Control Systems


LABORATORY WORK

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.

Figure 1: Schematic Block Diagram of DC Motor Speed Control system

Figure 2: The DC Motor Speed Control Block Diagram

The system parameters are:


Motor field resistance, R 10Ω
Motor field inductance, L 10H
Gears ratio, N 0.5
Amplifier gain, K 10
Sensor gain, H 0.1
PARTA
Objective: Determine the step response of the system using MATLAB command line

Hint:
Determine the overall system model; create MATLAB codes; simulate and plot the response;
report the system response parameters

Name / ID: _________________ / _______________________________

A.1. System model: clearly show step by step involve


Hint: you may use separate sheet for this task, then copy paste in this section, and attached main
copy to the file. Step should be clearly shown for full mark.

A.2. MATLAB Codes (Note: Show your codes to the instructor.)

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)

A.3. Step response plot : [format, label, correctness and neatness]

Response plot: Response plot with parameters:


Note: Show the result to the instructor.

A.4. Step Response Performance parameters


Performance data Table
Rise time Settling time Steady state
gain
Response 2.09 3.73 0.476
data

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

B.1. SIMULINK model :[correctness, label, format]

Note: Show your model to the instructor.

B.2. Step response plot [format, label, correctness and neatness]

Response plot:
Response plot with parameters:

Note: Show the result to the instructor.

B.3. Step Response Performance parameters


Performance data Table
Rise time Settling time Steady state gain
Response data 2.399 5.597 0.4762

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.

(i) MATLAB Codes or Simulink Model

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)

(ii) Step response plot [format, label, correctness and neatness]

Response plot: Response plot with parameters:


(iii) Step Response Performance parameters from the plot

Performance data Table for K = 1


Rise time Settling time Steady state gain
Response 2.19 3.89 0.0498
data

(b) If the amplifier gain, K is increased to 100, determine the step response of the system using
MATLAB command or MATLAB Simulink method.

(i) MATLAB Codes or Simulink Model

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)

(ii) Step response plot [format, label, correctness and neatness]


Response plot: Response plot with parameters:
(iii) Step Response Performance parameters from the plot

Performance data Table for K = 100


Rise time Settling time Steady state gain
Response 1.46 2.61 3.33
data

(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]

Observation: Effect of amplifier gain, K on the system response and performance.


(Minimum 50 words)

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)

You might also like