Control System Lab - Exp - 1 - 2 - 3
Control System Lab - Exp - 1 - 2 - 3
Control System Lab - Exp - 1 - 2 - 3
APPARATUS:
Software: MATLAB
THEORY:
The transfer function is commonly used in the analysis of single-input single-output electronic
system, for instance. It is mainly used in signal processing, communication theory, and control
theory. The term is often used exclusively to refer to linear time-invariant systems (LTI). In its
simplest form for continuous time input signal x(t) and output y(t), the transfer function is the
linear mapping of the Laplace transform of the input, X(s), to the output Y(s).
Zeros are the value(s) for z where the numerator of the transfer function equals zero. The
complex frequencies that make the overall gain of the filter transfer function zero. Poles are the
value(s) for z where the denominator of the transfer function equals zero. The complex
frequencies that make the overall gain of the filter transfer function infinite.
The general procedure to find the transfer function of a linear differential equation from input to
output is to take the Laplace Transforms of both sides assuming zero conditions, and to solve for
the ratio of the output Laplace over the input Laplace.
MATLAB PROGRAM:
z=input(‘enter zeroes’)
p=input(‘enter poles’)
k=input(‘enter gain’)
1
[num,den]=zp2tf(z,p,k)
tf(num,den)
PROCEDURE:
EXAMPLE:
Given poles are -3.2+j7.8,-3.2-j7.8,-4.1+j5.9,-4.1-j5.9,-8 and the zeroes are -0.8+j0.43,-0.8-
j0.43,-0.6 with a gain of 0.5
THEORITICAL CALCULATIONS:
Enter zeros
Z=
Enter poles
P=
Enter gain
K=
2
num =
den =
Transfer function=
RESULT:
3
2.ZEROS AND POLES FROM TRANSFER FUNCTION
AIM:
To obtain zeros and poles from a given transfer function using MATLAB.
APPARATUS:
Software: MATLAB
THEORY:
The transfer function provides a basis for determining important system
response characteristics without solving the complete differential equation. As defined, the
D(s), have real coefficients defined by the system’s differential equation and .
the are the roots of the equation and are defined to be the system zeros
the are the roots of the equation and are defined to be the system poles.
4
MATLAB PROGRAM:
num = input(‘enter the numerator of the transfer function’)
EXAMPLE:
Obtain the poles and zeros of the transfer function given below:
PROCEDURE:
THEORITICAL CALCULATIONS:
Enter the numerator of the transfer function
num =
den =
5
z=
p=
RESULT:
6
3.STEP RESPONSE OF A TRANSFER FUNCTION
AIM:
To obtain the step response of a transfer function of the given system using MATLAB.
APPARATUS:
Software: MATLAB
THEORY:
A step signal is a signal whose value changes from one level to another level in zero time.
Mathematically, the step signal is represented as given below:
where
So,
MATLAB PROGRAM:
num = input(‘enter the numerator of the transfer function’)
7
den = input(‘enter the denominator of the transfer function’)
step(num,den)
EXAMPLE:
Obtain the step response of the transfer function given below:
PROCEDURE:
THEORETICAL CALCULATIONS:
8
GRAPH:
9
TABULAR FORM
T C(T)
0
RESULT:
10