0% found this document useful (0 votes)
54 views8 pages

Fa18-Bce-001 Lab Assignment 4

1. The document is a lab assignment on control systems that involves plotting step responses of transfer functions in MATLAB and analyzing the step response characteristics. 2. The student plots the step responses of four transfer functions and determines the rise time, peak time, percent overshoot, and settling time of each. 3. Additional tasks involve finding the value of a constant K that results in 10% overshoot, 5 second settling time, and 1 second rise time for a closed-loop transfer function.

Uploaded by

ALI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views8 pages

Fa18-Bce-001 Lab Assignment 4

1. The document is a lab assignment on control systems that involves plotting step responses of transfer functions in MATLAB and analyzing the step response characteristics. 2. The student plots the step responses of four transfer functions and determines the rise time, peak time, percent overshoot, and settling time of each. 3. Additional tasks involve finding the value of a constant K that results in 10% overshoot, 5 second settling time, and 1 second rise time for a closed-loop transfer function.

Uploaded by

ALI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

TEACHER: Dr.

BILAL KHAN
SUBJECT: CONTROL SYSTEM
LAB ASSIGNMENT: 4
CLASS: BCE-6A

NAME Registration Number

Ali Haroon Turk CIIT/ FA18-BCE -001/ATD

APRIL 07, 2021


TASK 1:
For the following systems represented by the transfer function G(s), plot the step response in
Matlab and find the Rise time, Peak time, % overshoot and settling time.
(Use the step command to plot the step response in Matlab).

Figure 1: In this task I plotted the step response of the Transfer Function using command subplot
because I am plotting 4 step responses.
Figure 2: Step response of all four Transfer Functions in one figure

Figure 3: In this figure I enabled the characteristics of Transfer Function, As we can see G1 has
Rise Time Tr of 0.457s, %OS 32.9, Settling Time Ts 3.7s, and Peak Time Tp of 1.11s. Similarly we
can see G2 has Rise Time Tr of 0.546s, %OS 16.3, Settling Time Ts 2.69s, and Peak Time Tp of 1.2s.
G3 has Rise Time Tr of 1.41s, and Settling Time Ts 2.48s. And G4 has Rise Time Tr of 0.77s, %OS
77.8, Settling Time Ts 45.5s, and Peak Time Tp of 2.31s.

Q: For G3(s) why there is no overshoot?


Because no value is greater than final value
Task 2
For the below mentioned block diagram, plot the step response for the closed-loop transfer
function C(s)/R(s).
Q1).Find the value of K for which the overshoot is 10%.

Figure 4: I wrote this code to find the value of constant K if % OS is 10%. For this I used if
condition with 2 conditions, if both conditions are true then K is added in series with G1then
feedback is taken after that step response is plotted. The value of K is 5.90 .
Figure 5: In this figure I enabled the characteristics of stepresponse, As we can see it has Rise
Time Tr of 1.51s, %OS 9.44, Settling Time Ts 4.85s, and Peak Time Tp of 3.31s.

2.Find the value of K for which the settling time is 5 secs.

Figure 6: I wrote this code to find the value of constant K if Settling Time Ts is 5 seconds. For this
I used if condition with 2 conditions, if both conditions are true then K is added in series with
G1then feedback is taken after that step response is plotted. The value of k is 3.40.
Figure 7: In this figure I enabled the characteristics of stepresponse, As we can see it has Rise
Time Tr of 2.92s, %OS 0.0926, Settling Time Ts 4.98s, and Peak Time Tp of 7.67s.

3.Find the value of K for which the rise time is 1 secs.


Figure 8: I wrote this code to find the value of constant K if Rise Time Tr is 1 seconds. For this I
used if condition with 2 conditions, if both conditions are true then K is added in series with
G1then feedback is taken after that step response is plotted. The value if K is 9.60.
CONCLUSION:
In this lab I learnt about the transient response characteristics of the system. Then I found the Rise
Time Tr, Peak Time Tp, %Overshoot, and Settling Time Ts of given Transfer Functions in MATLAB. I learnt
two methods to find all this , In 1st method we can find the Rise Time Tr, Peak Time Tp, %Overshoot,
and Settling Time Ts from graph by enabling characteristics and In 2nd method we can use command
“stepinfo” to find the characteristics of the given Transfer Function. Then I found the value of constant
K if overshoot was 10%, Settling Time Ts was 5 seconds and Rise Time Tr, was 1 second. Overall, I learnt
to analyze the transient response of the given Transfer Function or System and to find the value of
constant K of the closed-loop system.

You might also like