0% found this document useful (0 votes)
16 views10 pages

CONTROL SYSTEM Reprot 002

The document is a lab report submitted by students Hubaib Hassan and Tilal Hashir Rehman. It discusses control system concepts including: 1) Creating an impulse response function in MATLAB for a first-order transfer function. 2) Observing the step responses of five transfer functions in Simulink models and drawing conclusions about the time behavior of the system outputs. 3) Comparing the impulse and step responses in script files versus Simulink models.

Uploaded by

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

CONTROL SYSTEM Reprot 002

The document is a lab report submitted by students Hubaib Hassan and Tilal Hashir Rehman. It discusses control system concepts including: 1) Creating an impulse response function in MATLAB for a first-order transfer function. 2) Observing the step responses of five transfer functions in Simulink models and drawing conclusions about the time behavior of the system outputs. 3) Comparing the impulse and step responses in script files versus Simulink models.

Uploaded by

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

CONTROL SYSTEM

LAB REPORT # 02

HUBAIB HASSAN (FA20-EPE-045)


TILAL HASHIR REHMAN (FA20-EPE-050)

SUBMITTED TO:
MAM ZAINAB

A P C
TOTAL MARKS 6 3 1
OBTAINED MARKS
Example 1:
Consider a first-order transfer function G (s )=1/s+1. The impulse response
function can be created by using following commands in script file. % impulse
response
MATLAB:
clf
num = [1];
den = [1 1];
impulse (num,den);
grid;
printsys(num,den,'s');
output:

Problems:
Transfer functions:
Observe the step response of the below five transfer function and draw conclusions.
Solution: 1)

Simulink model:

Output:

y(n)= step response


5

step response
4

3
Amplitude

0
0 2 4 6 8 10
Time

Comment: This is the step response of the given transfer function which shows
the time behaviour of the output of the system.
Simulink model:

Output:

4
x 10 y(n)= step response
4.5

4
step response
3.5

3
Amplitude

2.5

1.5

0.5

0
0 2 4 6 8 10
Time

Comment: This is the step response of the given transfer function which shows
the time behaviour of the output of the system.
Simulink model:

Figure : Simulink model for step response of transfer function (G(s))

y(n)= step response


2

step response
1.5
Amplitude

0.5

0
0 2 4 6 8 10
Time

Comment: This is the step response of the given transfer function which shows
the time behaviour of the output of the system.
Simulink model:

Output:

y(n)= step response


1

step response
0.5

0
Amplitude

-0.5

-1

-1.5

-2
0 2 4 6 8 10
Time

Comment: This is the step response of the given transfer function which shows
the time behaviour of the output of the system.
Simulink model:

Output:

y(n)= step response


2000

-2000
step response
Amplitude

-4000

-6000

-8000

-10000
0 2 4 6 8 10
Time

Comments: In Script file we give impulse at input so our output is related for
an instant. But in Simulink we give step response at input which shows the
output stable after a short interval of time
SIMULINK Implementation:

Output:
Output :

Comment: In 1st case graph of differential equation starts from 1 and then
stabilized about0. While in 2nd case, graph of differential equation starts from 0
and then stabilized about 1.

You might also like