Control System PRT File
Control System PRT File
PRACTICAL FILE
HIMANSHU
41821025
B. TECH MECHATRONICS
CONTROL SYSTEM LAB FILE
ND TH
2 YEAR,4 SEMESTER
List of Experiments
Transfer functions are specified by their numerator and denominator polynomials A(s)
and B(s). In MATLAB, a polynomial is represented by the vector of its coefficients, for
example, the polynomial
s2+2s+10
is specified as [1 2 10]
To create a TF object representing the transfer function:
𝑠
H(s)=𝑠2+2𝑠+10
Specify the numerator and denominator polynomials and use TF to construct the TF
object:
num = [1 0 ];
den = [1 2 25];
H = fts(num,den)
𝑠
H=
𝑠2+2𝑠+25
Output
EXPERIMENT NO: - 3
Objective- Plot unit step response of given transfer function and find peak
time, overshoot time, rise time and delay time using met lab.
Theory: The response of a system (with all initial conditions equal to zero at
t=0-, i.e., a zero-state response) to the unit step input is called the unit step
response.
Peak overshoot- Peak overshoot Mp is defined as the deviation of the
response at peak time from the final value of response. It is also called the
maximum overshoot. Where, c(tp) is the peak value of the response
Delay Time
It is the time required for the response to reach half of its final value from the
zero instant. It is denoted by td.
Consider the step response of the second order system for t ≥ 0, when ‘δ’ lies
between zero and one.
Rise Time
It is the time required for the response to rise from 0% to 100% of its final
value. This is applicable for the under-damped systems. For the over-damped
systems, consider the duration from 10% to 90% of the final value. Rise time is
denoted by tr.
Peak Time
It is the time required for the response to reach the peak value for the first
time. It is denoted by tp. At t=tp, the first derivate of the response is zero
INPUT
OUTPUT
EXPERIMENT NO :- 4
Object: To find poles, zeros and gain of a given transfer function and to find ystem.
Software used: MATLAB
Theory: The transfer function provides a basis for determining important system
response characteristics without solving the complete differential equation. As defined.
the transfer function is a rational function in the complex variable
N(s) 𝑎𝑛𝑠𝑚 +𝑎𝑛−1𝑠𝑚−1+....+𝑎1𝑠+𝑎0
H(s) = D(s) = 𝑏𝑛𝑠𝑛+𝑏𝑛−1𝑠𝑛−1+....+𝑏1𝑠+𝑏0
It is often convenient to factor the polynomials in the numerator and denominator. and
to write the transfer function in terms of those factors
N(s)
H(s) = = 𝐾(𝑠−𝑧1)(𝑠−𝑧2)……..(𝑠−𝑧𝑚−1)(𝑠−𝑧𝑚)
D(s)
(𝑠−𝑝1)(𝑠−𝑝2)……..(𝑠−𝑝𝑛−1)(𝑠−𝑝𝑛)
where the numerator and denominator polynomials, N(s)and D(S) have real coefficients
defined by the system's differential equation and K is gain. As written in Eq. (2), the zi's
and Pi's are the poles and zeros respectively with the equations.
N(s)=0
D(s)=0
Program:
Plot the pole-zero configuration in s-plane for the given transfer function:
(5S2+15S+10)
G(s) = 2𝑆
Input
Output