SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
Nalan Karunanayake 16/03/2015 1
EC - Control Systems
Laboratory 01 – Transfer Functions
Objective
The main purpose of this lab session is to be familiar with characteristics of transfer functions using
MATLAB software
TASK 1
To construct a transfer function as bellow (System variable conversions)
G(S) =
3(𝑠+7)
𝑠2+2𝑠+2
In MATLAB command window, type
(Assigning the numerator and denominator coefficient vectors)
>> num = [3 21];
>> den = [1 2 2];
>> G = tf(num,den)
OR
>>s = tf(‘s’);
>>G = ((3*s+21)/(s^2+2*s+2))
Try to obtain the following transfer functions:
G(S) =
5(𝑠+2)
(𝑠+1)(𝑠2+𝑠−6)
G(S) =
2(s+3)(s+5)2
(s+2)(s2+4)2
Time response of a system
Nalan Karunanayake 16/03/2015 2
The time response represents how the state of a dynamic system changes in time when subjected to a
particular input. The time response of a linear dynamic system consists of the sum of the transient
response which depends on the initial conditions and the steady-state response which depends on the
system input.
Frequency response of a system
In linear time invariant (LTI) systems have the extremely important property that if the input to the
system is sinusoidal, then the steady-state output will also be sinusoidal at the same frequency but in
general with different magnitude and phase. These magnitude and phase differences as a function of
frequency comprise the frequency response of the system.
The frequency response of a system can be found from the transfer function in the following way: create
a vector of frequencies (varying between zero or "DC" to infinity) and compute the value of the plant
transfer function at those frequencies. If đș(𝑠) is the open-loop transfer function of a system and is the
frequency vector, we then plot đș(𝑗𝜔) versus 𝜔. Since đș(𝑗𝜔)is a complex number, we can plot both its
magnitude and phase (the Bode Plot) or its position in the complex plane (the Nyquist Diagram). Both
methods display the same information in different ways.
Stability of a system
The transfer function representation is especially useful when analyzing system stability. If all poles of
the transfer function (values of s at which the denominator equals zero) have negative real parts, then
the system is stable. If any pole has a positive real part, then the system is unstable. If we view the poles
on the complex s-plane, then all poles must be in the left half plane (LHP) to ensure stability. If any
pair of poles is on the imaginary axis, then the system is marginally stable and the system will oscillate.
The poles of a LTI system model can easily be found in MATLAB using the pole command.
>>s = tf(‘s’);
>>G = 1/(s^2 + 2*s + 5)
>>pole(G)
ans =
-1.0000 + 2.0000i
-1.0000 - 2.0000i
If we use pole-zero map using the pzmap command on MATLAB:
Nalan Karunanayake 16/03/2015 3
>>pzmap(G)
Thus this system is stable since the real parts of the poles are both negative.
Exercise 1
Check the following transfer functions stability
1. đș𝑠 =
1
𝑠2−2𝑠+9
2. đș𝑠 =
1
𝑠2 + 1
3. đș𝑠 =
1
(𝑠 − 6)(𝑠 − 4)
Nalan Karunanayake 16/03/2015 4
System Order
The order of a dynamic system is the order of the highest derivative of its governing differential
equation. Equivalently, it is the highest power of s in the denominator of its transfer function.
First Order System
The first order system can take the general form
đș(𝑆) =
𝑏
(𝑠 + 𝑎)
+
đŸđ‘‘đ‘
(𝑡. 𝑠 + 1)
DC gain:đ‘Č𝒅𝒄 , is the ratio of the magnitude of the steady-state step response to the magnitude of the
step input. From the Final Value Theorem, for stable transfer functions the DC gain is the value of the
transfer function when s=0. For first order systems equal to đŸđ‘‘đ‘ =
𝑏
𝑎
.
Time constant t: is the time to reach 63% of the steady state value for a step input or to decrease to
37% of the initial value and 𝑡 =
1
𝑎
is found. It is special for the first order system only.
Rise Time (Tr): đ‘» 𝒓 =
𝟐.𝟐
𝒂
Settling Time (Ts): đ‘» 𝒔 =
𝟒
𝒂
The first order system has no overshooting but can be stable or not depending on the location of its pole.
The first order system has a single pole at -a. If the pole is on the negative real axis (LHP), then the
system is stable. If the pole is on the positive real axis (RHP), then the system is not stable. The zeros
of a first order system are the values of s which makes the numerator of the transfer function equal to
zero.
Nalan Karunanayake 16/03/2015 5
Second Order System
Second order systems are commonly encountered in practice, and are the simplest type of dynamic
system to exhibit oscillations. In fact many real higher order systems are modeled as second order to
facilitate analysis.
The general form of second order system is:
đș(𝑠) =
𝑎
(𝑠2 + 𝑏𝑠 + 𝑐)
=
đŸ 𝑑𝑐. 𝜔 𝑛
2
(𝑠2 + 2𝜀𝜉𝜔 𝑛 𝑠 + 𝜔 𝑛
2)
Natural frequency 𝝎 𝒏 is the frequency of oscillation of the system without damping.
Damping Ratio
The damping ratio is a dimensionless quantity characterizing the energy losses in the system due to
such effects as viscous friction or electrical resistance.
𝝃 =
𝒃
𝟐𝝎 𝒏
Poles and zeros
Note that the system has a pair of complex conjugate poles at:
𝑆 = −𝝃𝝎 𝒏 ± 𝒋𝝎 𝒏√𝟏 − 𝝃 𝟐 = −𝝈 ± 𝒋𝝎
𝝎 : damped frequency of oscillation.
DC gain
The DC gain,đŸđ‘‘đ‘ =
𝑎
𝑐
, again is the ratio of the magnitude of the steady-state step response to the
magnitude of the step input, and for stable systems it is the value of the transfer function when s = 0.
For second order systems
đŸđ‘‘đ‘ =
𝑎
𝑐
Percent Overshoot
The percent overshoot is the percent by which a system exceeds its final steady-state value. For a second
order under damped system, the percent overshoot is diretly related to the damping ratio by the
following equation:
𝑂𝑆% = 𝑒
−
𝜋𝜉
√1−𝜉2
∗ 100
Nalan Karunanayake 16/03/2015 6
Settling Time
The settling time, , is the time required for the system ouput to fall within a certain percentage of the
steady state value for a step input or equivalently to decrease to a certain percentage of the initial value
for an impulse input. For a second order, underdamped system, the settling time can be approximated
by the following equation:
đ‘» 𝒔 =
𝟒
𝝃𝝎 𝒏
=
𝟒
𝝈
Rise Time: đ‘» 𝒓 =
𝟏 − 𝟎.𝟒𝟏𝟔𝟕𝝃 +𝟐.𝟗𝟏𝟕𝝃 𝟐
𝝎 𝒏
 General Form of a Denominator: S2
+ 2ςωnS + ωn2
(Second order system)
Then, S = -ςωn ± √(ςωn)2 − ωn2
∆ = (ςωn)2
− ωn2
Step time response:
If the input is step function then the output or the response is called step time response. The system can
be represented by a transfer function which has poles (values make the denominator equal to zero),
depending on these poles the step response divided into four cases:
1. Underdamped response:
In this case the response has an overshooting with a small oscillation which results from complex poles
in the transfer function of the system. i.e. ∆ < 0 or ς < 1
2. Critically response:
In this case the response has no overshooting and reaches the steady state value (final value) in the
fastest time. In other words it is the fastest response without overshooting and is resulted from the
existence of real & repeated poles in the transfer function of the system. i.e. ∆ = 0 or ς =1
3. Overdamped response:
In this case no overshooting will appear and reach the final value in a time larger than critically case.
This response is resulted from the existence of real & distinct poles in the transfer function of the system.
i.e. ∆ > 0 or ς > 1
Nalan Karunanayake 16/03/2015 7
4. Undamped response:
In this case a large oscillation will appear at the output and will not reach a final value and this because
of the existence of imaginary poles in the transfer function of the system and the system in this case is
called "Marginally stable".
Nalan Karunanayake 16/03/2015 8
MATLAB Work
Step and Impulse Responses of a Transfer Function
To get the step response of a transfer function: use,
1 . đș𝑠 =
2
𝑠 + 3
>> G = tf ([2], [1 3])
>> step (G)
To obtain impulse response: use,
>> impulse (G)
stepinfo(sys): this command is used to Compute
step response characteristics.
For the following transfer functions we will find
the settling time, rise time, overshoot and steady
state error:
>> stepinfo(G)
Result
Nalan Karunanayake 16/03/2015 9
Underdamped Response
đș𝑠 =
12
(𝑠2 + 2𝑠 + 9)
>> G = tf ([12], [1 2 9])
>> step (G)
>> figure, impulse (G)
>> stepinfo(G)
Critically – damped Response
đș𝑠 =
12
(𝑠2 + 6𝑠 + 9)
>> G = tf ([12], [1 6 9])
>> step (G)
>> figure, impulse (G)
>>stepinfo(G)
Over – damped Response
đș𝑠 =
15
(𝑠2 + 7𝑠 + 12)
>> G = tf ([15], [1 7 12])
>> step (G)
>> figure, impulse (G)
>>stepinfo(G)
Nalan Karunanayake 16/03/2015 10
Undamped Response
đș𝑠 =
9
𝑠2 + 3
>> G = tf ([9], [1 0 3])
>> step (G)
>> figure, impulse (G)
>>stepinfo(G)
Exercise 2
Obtain the step response of the following transfer functions given below and find the step info using
MATLAB and calculations
1. đș𝑠 =
21
2𝑠2 + 16𝑠 + 21
2. đș𝑠 =
2
3𝑠2 + 4𝑠 + 6
3. đș𝑠 =
√6
𝑠2+8𝑠+ √6
Nalan Karunanayake 16/03/2015 11
Step Response using Matlab Simulink
Starting Simulink
Simulink is started from the MATLAB command prompt by entering the following command:
>>Simulink
Alternatively, you can hit the Simulink button at the top of the MATLAB window as shown here
When it starts, Simulink brings up a single window, entitled Simulink Library Browser which can be
seen here.
Nalan Karunanayake 16/03/2015 12
Then goto NewSimulink Model
Construct the following Simulink model using Simulink library components as follows
The simple model consists of three blocks: Step, Transfer Function, and Scope. The Step is
a Source block from which a step input signal originates. This signal is transferred through the line in
the direction indicated by the arrow to the Transfer Function Continuous block. The Transfer
Function block modifies its input signal and outputs a new signal on a line to the Scope. The Scope is
a Sink block used to display a signal much like an oscilloscope.
Modifying blocks
A block can be modified by double-clicking on it. For example, if you double-click on the Transfer
Function block in the Simple model, you will see the following dialog box.
Modify the transfer function block as follows
Nalan Karunanayake 16/03/2015 13
Running simulation
To run the simulation hit the play button
The simulation should run very quickly and the scope window will appear as shown below.
Note that the simulation output (shown in yellow) is at a very low level relative to the axes of the scope.
To fix this, hit the auto scale button (binoculars), which will rescale the axes as shown below.
Nalan Karunanayake 16/03/2015 14
Exercise 3
1. Obtain the step response of the following transfer functions using Simulink.
1. đș𝑠 =
12
(𝑠2+6𝑠+9)
2. đș𝑠 =
15
(𝑠2+7𝑠+12)
3. đș𝑠 =
9
𝑠2+3
The effect of varying damping ratio on a second-order system
Nalan Karunanayake 16/03/2015 15
Exercise 4
Review Questions
1. What is the different between steady state response and transient response of a control
system?
2. The pole-zero plot for the two transfer functions are given below, obtain their unit step
response and comment on it.
3. How damping ratio (zeta) affects the time response of a second order system?
Nalan Karunanayake 16/03/2015 16
NOTE
What is time response?
It is an equation or a plot that describes the behavior of a system and contains much information about
it with respect to time response specification as overshooting setting time, peak time, rise time and
steady state error. Time response is formed by the transient response and the steady state response.
đ‘»đ’Šđ’Žđ’† 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆 = đ‘»đ’“đ’‚đ’đ’”đ’Šđ’†đ’đ’• 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆 + đ‘ș𝒕𝒆𝒂𝒅𝒚 𝒔𝒕𝒂𝒕𝒆 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆
Transient time response describes the behavior of the system in its first short time until arrives the
steady state value and this response will be our study focus.
If the input is step function then the output or the response is called step time response and if the input
is ramp, the response is called ramp time response 
 etc.
Delay Time (Td): is the time required for the response to reach 50% of the final value.
Rise Time (Tr): is the time required for the response to rise from 0 to 90% of the final value.
Settling Time (Ts): is the time required for the response to reach and stay within a specified tolerance
band (2% or 5%) of its final value.
Peak Time (Tp): is the time required for the underdamped step response to reach the peak of time
response (Yp) or the peak overshoot.
Percent Overshoot (OS%): is the normalized difference between the response peak value and the
steady value This characteristic is not found in a first order system and found in higher one for the
underdamped step response.
Steady State Error (ess): indicates the error between the actual output and desired output as‘t’ tends to
infinity, and is defined as:

Mais conteĂșdo relacionado

Mais procurados

STate Space Analysis
STate Space AnalysisSTate Space Analysis
STate Space AnalysisHussain K
 
Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLeonides De Ocampo
 
Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureKhalaf Gaeid Alshammery
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicPraneel Chand
 
Modern control system
Modern control systemModern control system
Modern control systemPourya Parsa
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 
Lecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsLecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsSaifullah Memon
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Amr E. Mohamed
 
6. steady state error
6. steady state error6. steady state error
6. steady state errorshurjeel amjad
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032Charlton Inao
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Saad Mohammad Araf
 
Week 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalWeek 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalCharlton Inao
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, Prajakta Pardeshi
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemAmr E. Mohamed
 
Transient response analysis
Transient response analysisTransient response analysis
Transient response analysisasari_dear
 

Mais procurados (20)

STate Space Analysis
STate Space AnalysisSTate Space Analysis
STate Space Analysis
 
Control chap2
Control chap2Control chap2
Control chap2
 
Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time Response
 
Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lecture
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy Logic
 
Modern control system
Modern control systemModern control system
Modern control system
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Lecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsLecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systems
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
Control system
Control systemControl system
Control system
 
Control chap3
Control chap3Control chap3
Control chap3
 
6. steady state error
6. steady state error6. steady state error
6. steady state error
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
 
Control chap4
Control chap4Control chap4
Control chap4
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...
 
Week 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalWeek 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 final
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems,
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control System
 
Transient response analysis
Transient response analysisTransient response analysis
Transient response analysis
 

Destaque

control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning nalan karunanayake
 
CONTROL SYSTEM LAB MANUAL
CONTROL SYSTEM LAB MANUALCONTROL SYSTEM LAB MANUAL
CONTROL SYSTEM LAB MANUALPRINCE SHARMA
 
Btl control system-lab-manual-10 eel68
Btl control system-lab-manual-10 eel68Btl control system-lab-manual-10 eel68
Btl control system-lab-manual-10 eel68Gopinath.B.L Naidu
 
90981041 control-system-lab-manual
90981041 control-system-lab-manual90981041 control-system-lab-manual
90981041 control-system-lab-manualGopinath.B.L Naidu
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controllerChiramathe Nami
 
Control Systems Lab 2
Control Systems Lab 2Control Systems Lab 2
Control Systems Lab 2Julia London
 
Lag Compensator
Lag CompensatorLag Compensator
Lag CompensatorIslam Naqi
 
Introduction to Control System Design
Introduction to Control System DesignIntroduction to Control System Design
Introduction to Control System DesignAndrew Wilhelm
 
Control System Design
Control System DesignControl System Design
Control System DesignHitesh Sharma
 
8178001772 control
8178001772 control8178001772 control
8178001772 controlMaRwa Hamed
 
Control systems engineering. by i.j. nagrath
Control systems engineering. by i.j. nagrathControl systems engineering. by i.j. nagrath
Control systems engineering. by i.j. nagrathSri Harsha
 
Control systems
Control systems Control systems
Control systems Dr.YNM
 
196444650 ee-2257-control-system-lab-manual
196444650 ee-2257-control-system-lab-manual196444650 ee-2257-control-system-lab-manual
196444650 ee-2257-control-system-lab-manualhomeworkping3
 
Project Stuff Real cool
Project Stuff Real coolProject Stuff Real cool
Project Stuff Real coolJulia London
 
Dc machine practical
Dc machine practical Dc machine practical
Dc machine practical Zulfiqar Mangrio
 

Destaque (20)

control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
CONTROL SYSTEM LAB MANUAL
CONTROL SYSTEM LAB MANUALCONTROL SYSTEM LAB MANUAL
CONTROL SYSTEM LAB MANUAL
 
Btl control system-lab-manual-10 eel68
Btl control system-lab-manual-10 eel68Btl control system-lab-manual-10 eel68
Btl control system-lab-manual-10 eel68
 
90981041 control-system-lab-manual
90981041 control-system-lab-manual90981041 control-system-lab-manual
90981041 control-system-lab-manual
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
 
Control Systems Lab 2
Control Systems Lab 2Control Systems Lab 2
Control Systems Lab 2
 
LINAC 4 – Control System Design (small)
LINAC 4 – Control System Design (small)LINAC 4 – Control System Design (small)
LINAC 4 – Control System Design (small)
 
Lag Compensator
Lag CompensatorLag Compensator
Lag Compensator
 
Introduction to Control System Design
Introduction to Control System DesignIntroduction to Control System Design
Introduction to Control System Design
 
Control System Design
Control System DesignControl System Design
Control System Design
 
Control system
Control systemControl system
Control system
 
8178001772 control
8178001772 control8178001772 control
8178001772 control
 
Control systems engineering. by i.j. nagrath
Control systems engineering. by i.j. nagrathControl systems engineering. by i.j. nagrath
Control systems engineering. by i.j. nagrath
 
Control systems
Control systems Control systems
Control systems
 
Compensation ppt
Compensation pptCompensation ppt
Compensation ppt
 
196444650 ee-2257-control-system-lab-manual
196444650 ee-2257-control-system-lab-manual196444650 ee-2257-control-system-lab-manual
196444650 ee-2257-control-system-lab-manual
 
Project Stuff Real cool
Project Stuff Real coolProject Stuff Real cool
Project Stuff Real cool
 
Dc machine practical
Dc machine practical Dc machine practical
Dc machine practical
 
Mini Project- Torque Control of a DC Motor
Mini Project- Torque Control of a DC MotorMini Project- Torque Control of a DC Motor
Mini Project- Torque Control of a DC Motor
 
Bode diagram
Bode diagramBode diagram
Bode diagram
 

Semelhante a control system Lab 01-introduction to transfer functions

Time response analysis
Time response analysisTime response analysis
Time response analysisKaushal Patel
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3Hattori Sidek
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3mkazree
 
TIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSISTIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSISDeep Chaudhari
 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxAYMENGOODKid
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).pptHebaEng
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecturekhalaf Gaeid
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_responseSyed Ali Raza Rizvi
 
Time Response in Control System
Time Response in Control SystemTime Response in Control System
Time Response in Control SystemAnshulShekhar3
 
Sistemas de Primer Orden, Segundo Orden y Orden Superior
Sistemas de Primer Orden, Segundo Orden y Orden SuperiorSistemas de Primer Orden, Segundo Orden y Orden Superior
Sistemas de Primer Orden, Segundo Orden y Orden SuperiorWinnerPineda1
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxRockFellerSinghRusse
 
03 dynamic.system.
03 dynamic.system.03 dynamic.system.
03 dynamic.system.Mahmoud Hussein
 
lcs_manual_1[1].pdf
lcs_manual_1[1].pdflcs_manual_1[1].pdf
lcs_manual_1[1].pdfKashifAlirana
 
Exercise 1a transfer functions - solutions
Exercise 1a   transfer functions - solutionsExercise 1a   transfer functions - solutions
Exercise 1a transfer functions - solutionswondimu wolde
 
lecture 2 courseII (4).pptx
lecture 2 courseII (4).pptxlecture 2 courseII (4).pptx
lecture 2 courseII (4).pptxAYMENGOODKid
 
Linear control system Open loop & Close loop Systems
Linear control system Open loop & Close loop SystemsLinear control system Open loop & Close loop Systems
Linear control system Open loop & Close loop SystemsSohaibUllah5
 
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptx
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptxChapter 3-Dynamic Behavior of First and Second Order Processes-1.pptx
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptxaduladube0992
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)Ravikiran A
 
solver (1)
solver (1)solver (1)
solver (1)Raj Mitra
 

Semelhante a control system Lab 01-introduction to transfer functions (20)

Time response analysis
Time response analysisTime response analysis
Time response analysis
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
TIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSISTIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSIS
 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptx
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).ppt
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecture
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_response
 
Time Response in Control System
Time Response in Control SystemTime Response in Control System
Time Response in Control System
 
Sistemas de Primer Orden, Segundo Orden y Orden Superior
Sistemas de Primer Orden, Segundo Orden y Orden SuperiorSistemas de Primer Orden, Segundo Orden y Orden Superior
Sistemas de Primer Orden, Segundo Orden y Orden Superior
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
03 dynamic.system.
03 dynamic.system.03 dynamic.system.
03 dynamic.system.
 
lcs_manual_1[1].pdf
lcs_manual_1[1].pdflcs_manual_1[1].pdf
lcs_manual_1[1].pdf
 
Exercise 1a transfer functions - solutions
Exercise 1a   transfer functions - solutionsExercise 1a   transfer functions - solutions
Exercise 1a transfer functions - solutions
 
lecture 2 courseII (4).pptx
lecture 2 courseII (4).pptxlecture 2 courseII (4).pptx
lecture 2 courseII (4).pptx
 
Lecture 4: Classification of system
Lecture 4: Classification of system Lecture 4: Classification of system
Lecture 4: Classification of system
 
Linear control system Open loop & Close loop Systems
Linear control system Open loop & Close loop SystemsLinear control system Open loop & Close loop Systems
Linear control system Open loop & Close loop Systems
 
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptx
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptxChapter 3-Dynamic Behavior of First and Second Order Processes-1.pptx
Chapter 3-Dynamic Behavior of First and Second Order Processes-1.pptx
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
 
solver (1)
solver (1)solver (1)
solver (1)
 

Último

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerAnamika Sarkar
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Último (20)

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

control system Lab 01-introduction to transfer functions

  • 1. Nalan Karunanayake 16/03/2015 1 EC - Control Systems Laboratory 01 – Transfer Functions Objective The main purpose of this lab session is to be familiar with characteristics of transfer functions using MATLAB software TASK 1 To construct a transfer function as bellow (System variable conversions) G(S) = 3(𝑠+7) 𝑠2+2𝑠+2 In MATLAB command window, type (Assigning the numerator and denominator coefficient vectors) >> num = [3 21]; >> den = [1 2 2]; >> G = tf(num,den) OR >>s = tf(‘s’); >>G = ((3*s+21)/(s^2+2*s+2)) Try to obtain the following transfer functions: G(S) = 5(𝑠+2) (𝑠+1)(𝑠2+𝑠−6) G(S) = 2(s+3)(s+5)2 (s+2)(s2+4)2 Time response of a system
  • 2. Nalan Karunanayake 16/03/2015 2 The time response represents how the state of a dynamic system changes in time when subjected to a particular input. The time response of a linear dynamic system consists of the sum of the transient response which depends on the initial conditions and the steady-state response which depends on the system input. Frequency response of a system In linear time invariant (LTI) systems have the extremely important property that if the input to the system is sinusoidal, then the steady-state output will also be sinusoidal at the same frequency but in general with different magnitude and phase. These magnitude and phase differences as a function of frequency comprise the frequency response of the system. The frequency response of a system can be found from the transfer function in the following way: create a vector of frequencies (varying between zero or "DC" to infinity) and compute the value of the plant transfer function at those frequencies. If đș(𝑠) is the open-loop transfer function of a system and is the frequency vector, we then plot đș(𝑗𝜔) versus 𝜔. Since đș(𝑗𝜔)is a complex number, we can plot both its magnitude and phase (the Bode Plot) or its position in the complex plane (the Nyquist Diagram). Both methods display the same information in different ways. Stability of a system The transfer function representation is especially useful when analyzing system stability. If all poles of the transfer function (values of s at which the denominator equals zero) have negative real parts, then the system is stable. If any pole has a positive real part, then the system is unstable. If we view the poles on the complex s-plane, then all poles must be in the left half plane (LHP) to ensure stability. If any pair of poles is on the imaginary axis, then the system is marginally stable and the system will oscillate. The poles of a LTI system model can easily be found in MATLAB using the pole command. >>s = tf(‘s’); >>G = 1/(s^2 + 2*s + 5) >>pole(G) ans = -1.0000 + 2.0000i -1.0000 - 2.0000i If we use pole-zero map using the pzmap command on MATLAB:
  • 3. Nalan Karunanayake 16/03/2015 3 >>pzmap(G) Thus this system is stable since the real parts of the poles are both negative. Exercise 1 Check the following transfer functions stability 1. đș𝑠 = 1 𝑠2−2𝑠+9 2. đș𝑠 = 1 𝑠2 + 1 3. đș𝑠 = 1 (𝑠 − 6)(𝑠 − 4)
  • 4. Nalan Karunanayake 16/03/2015 4 System Order The order of a dynamic system is the order of the highest derivative of its governing differential equation. Equivalently, it is the highest power of s in the denominator of its transfer function. First Order System The first order system can take the general form đș(𝑆) = 𝑏 (𝑠 + 𝑎) + đŸđ‘‘đ‘ (𝑡. 𝑠 + 1) DC gain:đ‘Č𝒅𝒄 , is the ratio of the magnitude of the steady-state step response to the magnitude of the step input. From the Final Value Theorem, for stable transfer functions the DC gain is the value of the transfer function when s=0. For first order systems equal to đŸđ‘‘đ‘ = 𝑏 𝑎 . Time constant t: is the time to reach 63% of the steady state value for a step input or to decrease to 37% of the initial value and 𝑡 = 1 𝑎 is found. It is special for the first order system only. Rise Time (Tr): đ‘» 𝒓 = 𝟐.𝟐 𝒂 Settling Time (Ts): đ‘» 𝒔 = 𝟒 𝒂 The first order system has no overshooting but can be stable or not depending on the location of its pole. The first order system has a single pole at -a. If the pole is on the negative real axis (LHP), then the system is stable. If the pole is on the positive real axis (RHP), then the system is not stable. The zeros of a first order system are the values of s which makes the numerator of the transfer function equal to zero.
  • 5. Nalan Karunanayake 16/03/2015 5 Second Order System Second order systems are commonly encountered in practice, and are the simplest type of dynamic system to exhibit oscillations. In fact many real higher order systems are modeled as second order to facilitate analysis. The general form of second order system is: đș(𝑠) = 𝑎 (𝑠2 + 𝑏𝑠 + 𝑐) = đŸ 𝑑𝑐. 𝜔 𝑛 2 (𝑠2 + 2𝜀𝜉𝜔 𝑛 𝑠 + 𝜔 𝑛 2) Natural frequency 𝝎 𝒏 is the frequency of oscillation of the system without damping. Damping Ratio The damping ratio is a dimensionless quantity characterizing the energy losses in the system due to such effects as viscous friction or electrical resistance. 𝝃 = 𝒃 𝟐𝝎 𝒏 Poles and zeros Note that the system has a pair of complex conjugate poles at: 𝑆 = −𝝃𝝎 𝒏 ± 𝒋𝝎 𝒏√𝟏 − 𝝃 𝟐 = −𝝈 ± 𝒋𝝎 𝝎 : damped frequency of oscillation. DC gain The DC gain,đŸđ‘‘đ‘ = 𝑎 𝑐 , again is the ratio of the magnitude of the steady-state step response to the magnitude of the step input, and for stable systems it is the value of the transfer function when s = 0. For second order systems đŸđ‘‘đ‘ = 𝑎 𝑐 Percent Overshoot The percent overshoot is the percent by which a system exceeds its final steady-state value. For a second order under damped system, the percent overshoot is diretly related to the damping ratio by the following equation: 𝑂𝑆% = 𝑒 − 𝜋𝜉 √1−𝜉2 ∗ 100
  • 6. Nalan Karunanayake 16/03/2015 6 Settling Time The settling time, , is the time required for the system ouput to fall within a certain percentage of the steady state value for a step input or equivalently to decrease to a certain percentage of the initial value for an impulse input. For a second order, underdamped system, the settling time can be approximated by the following equation: đ‘» 𝒔 = 𝟒 𝝃𝝎 𝒏 = 𝟒 𝝈 Rise Time: đ‘» 𝒓 = 𝟏 − 𝟎.𝟒𝟏𝟔𝟕𝝃 +𝟐.𝟗𝟏𝟕𝝃 𝟐 𝝎 𝒏  General Form of a Denominator: S2 + 2ςωnS + ωn2 (Second order system) Then, S = -ςωn ± √(ςωn)2 − ωn2 ∆ = (ςωn)2 − ωn2 Step time response: If the input is step function then the output or the response is called step time response. The system can be represented by a transfer function which has poles (values make the denominator equal to zero), depending on these poles the step response divided into four cases: 1. Underdamped response: In this case the response has an overshooting with a small oscillation which results from complex poles in the transfer function of the system. i.e. ∆ < 0 or ς < 1 2. Critically response: In this case the response has no overshooting and reaches the steady state value (final value) in the fastest time. In other words it is the fastest response without overshooting and is resulted from the existence of real & repeated poles in the transfer function of the system. i.e. ∆ = 0 or ς =1 3. Overdamped response: In this case no overshooting will appear and reach the final value in a time larger than critically case. This response is resulted from the existence of real & distinct poles in the transfer function of the system. i.e. ∆ > 0 or ς > 1
  • 7. Nalan Karunanayake 16/03/2015 7 4. Undamped response: In this case a large oscillation will appear at the output and will not reach a final value and this because of the existence of imaginary poles in the transfer function of the system and the system in this case is called "Marginally stable".
  • 8. Nalan Karunanayake 16/03/2015 8 MATLAB Work Step and Impulse Responses of a Transfer Function To get the step response of a transfer function: use, 1 . đș𝑠 = 2 𝑠 + 3 >> G = tf ([2], [1 3]) >> step (G) To obtain impulse response: use, >> impulse (G) stepinfo(sys): this command is used to Compute step response characteristics. For the following transfer functions we will find the settling time, rise time, overshoot and steady state error: >> stepinfo(G) Result
  • 9. Nalan Karunanayake 16/03/2015 9 Underdamped Response đș𝑠 = 12 (𝑠2 + 2𝑠 + 9) >> G = tf ([12], [1 2 9]) >> step (G) >> figure, impulse (G) >> stepinfo(G) Critically – damped Response đș𝑠 = 12 (𝑠2 + 6𝑠 + 9) >> G = tf ([12], [1 6 9]) >> step (G) >> figure, impulse (G) >>stepinfo(G) Over – damped Response đș𝑠 = 15 (𝑠2 + 7𝑠 + 12) >> G = tf ([15], [1 7 12]) >> step (G) >> figure, impulse (G) >>stepinfo(G)
  • 10. Nalan Karunanayake 16/03/2015 10 Undamped Response đș𝑠 = 9 𝑠2 + 3 >> G = tf ([9], [1 0 3]) >> step (G) >> figure, impulse (G) >>stepinfo(G) Exercise 2 Obtain the step response of the following transfer functions given below and find the step info using MATLAB and calculations 1. đș𝑠 = 21 2𝑠2 + 16𝑠 + 21 2. đș𝑠 = 2 3𝑠2 + 4𝑠 + 6 3. đș𝑠 = √6 𝑠2+8𝑠+ √6
  • 11. Nalan Karunanayake 16/03/2015 11 Step Response using Matlab Simulink Starting Simulink Simulink is started from the MATLAB command prompt by entering the following command: >>Simulink Alternatively, you can hit the Simulink button at the top of the MATLAB window as shown here When it starts, Simulink brings up a single window, entitled Simulink Library Browser which can be seen here.
  • 12. Nalan Karunanayake 16/03/2015 12 Then goto NewSimulink Model Construct the following Simulink model using Simulink library components as follows The simple model consists of three blocks: Step, Transfer Function, and Scope. The Step is a Source block from which a step input signal originates. This signal is transferred through the line in the direction indicated by the arrow to the Transfer Function Continuous block. The Transfer Function block modifies its input signal and outputs a new signal on a line to the Scope. The Scope is a Sink block used to display a signal much like an oscilloscope. Modifying blocks A block can be modified by double-clicking on it. For example, if you double-click on the Transfer Function block in the Simple model, you will see the following dialog box. Modify the transfer function block as follows
  • 13. Nalan Karunanayake 16/03/2015 13 Running simulation To run the simulation hit the play button The simulation should run very quickly and the scope window will appear as shown below. Note that the simulation output (shown in yellow) is at a very low level relative to the axes of the scope. To fix this, hit the auto scale button (binoculars), which will rescale the axes as shown below.
  • 14. Nalan Karunanayake 16/03/2015 14 Exercise 3 1. Obtain the step response of the following transfer functions using Simulink. 1. đș𝑠 = 12 (𝑠2+6𝑠+9) 2. đș𝑠 = 15 (𝑠2+7𝑠+12) 3. đș𝑠 = 9 𝑠2+3 The effect of varying damping ratio on a second-order system
  • 15. Nalan Karunanayake 16/03/2015 15 Exercise 4 Review Questions 1. What is the different between steady state response and transient response of a control system? 2. The pole-zero plot for the two transfer functions are given below, obtain their unit step response and comment on it. 3. How damping ratio (zeta) affects the time response of a second order system?
  • 16. Nalan Karunanayake 16/03/2015 16 NOTE What is time response? It is an equation or a plot that describes the behavior of a system and contains much information about it with respect to time response specification as overshooting setting time, peak time, rise time and steady state error. Time response is formed by the transient response and the steady state response. đ‘»đ’Šđ’Žđ’† 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆 = đ‘»đ’“đ’‚đ’đ’”đ’Šđ’†đ’đ’• 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆 + đ‘ș𝒕𝒆𝒂𝒅𝒚 𝒔𝒕𝒂𝒕𝒆 𝒓𝒆𝒔𝒑𝒐𝒏𝒔𝒆 Transient time response describes the behavior of the system in its first short time until arrives the steady state value and this response will be our study focus. If the input is step function then the output or the response is called step time response and if the input is ramp, the response is called ramp time response 
 etc. Delay Time (Td): is the time required for the response to reach 50% of the final value. Rise Time (Tr): is the time required for the response to rise from 0 to 90% of the final value. Settling Time (Ts): is the time required for the response to reach and stay within a specified tolerance band (2% or 5%) of its final value. Peak Time (Tp): is the time required for the underdamped step response to reach the peak of time response (Yp) or the peak overshoot. Percent Overshoot (OS%): is the normalized difference between the response peak value and the steady value This characteristic is not found in a first order system and found in higher one for the underdamped step response. Steady State Error (ess): indicates the error between the actual output and desired output as‘t’ tends to infinity, and is defined as: