Control Systems Lab Manual
Control Systems Lab Manual
Yelahanka, Bangalore-64
VI SEMESTER
LABORATORY MANUAL
BRANCH :
BATCH :
DEPT. OF ELECTRICAL & ELECTRONICS ENGG. BMSIT
Program Outcomes:
After the successful completion of the course, the graduate will be able to
2. Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities
with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the
professional engineering practice.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader
in diverse teams, and in multidisciplinary settings.
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
COURSE OUTCOMES:
After the successful completion of the course, the student will be able to
1. Execute time response analysis of a second order control system using MATLAB
2. Analyze and interpret stability of the system through Root Locus, Bode plot and Nyquist plot.
3. Design Lag, Lead, Lead-Lag compensators and verify experimental results using MATLAB.
4. Analyze toque- speed characteristics of DC and AC servomotors.
5. Analyze the effect of P, PI, PD and PID controllers on a control system.
CO – PO Mapping:
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3 3 1 2 3 2 1
CO2 3 3 1 2 3 2 1
CO3 3 3 3 2 3 2 1
CO4 3 3 2 2 1
CO5 3 3 3 2 3 2 1
SYLLABUS
Subject Code: 10EEL68 IA Marks: 25
No. of Practical Hrs/ Week: 03 Exam Hours: 03
Total No. of Practical Hrs: 42 Exam Marks: 50
1. Using MATLAB/SCILAB
a) Simulation of a typical second order system and determination of step response and evaluation of
time domain specifications
b) Evaluation of the effect of additional poles and zeroes on time response of second order system
c) Evaluation of effect of pole location on stability
d) Effect of loop gain of a negative feedback system on stability
2. (a) To design a passive RC lead compensating network for the given specifications, viz., the
maximum phase lead and the frequency at which it occurs and to obtain its frequency response.
(b) To determine experimentally the transfer function of the lead compensating network.
3. (a) To design RC lag compensating network for the given specifications., viz., the maximum
phase lag and the frequency at which it occurs, and to obtain its frequency response.
(b) To determine experimentally the transfer function of the lag compensating network.
4. Experiment to draw the frequency response characteristic of a given lag- lead compensating
network.
5. To study the effect of P, PI, PD and PID controller on step response of a feedback control system
(Using control engineering trainer/process control simulator).Verify the same by simulation.
6. a) Experiment to draw the speed – torque characteristic of a two - phase A.C. servomotor.
b) Experiment to draw speed torque characteristic of a D.C. servomotor.
7. To determine experimentally the frequency response of a second -order system and evaluation of
frequency domain specifications.
8. Using MATLAB/SCILAB
a) Simulate a D. C. position control system and obtain its step response
b) To verify the effect of the input wave form, loop gain system type on steady state errors.
c) To perform a trade-off study for lead compensation
d) To design a PI controller and study its effect on steady state error
9. Using MATLAB/SCILAB
a) To examine the relationships between open-loop frequency response and stability , open loop
frequency and closed loop transient response
b) To study the effect of addition closed loop poles and zeroes on closed loop transient response
DO’S:
DON’TS:
CONTENTS
EXPT. PAGE
NAME OF THE EXPERIMENT
NO. NO.
Simulation of a typical second order system and determination of step response
1. 8
and evaluation of time-domain specifications.
(i) To design a passive RC lead compensating network for the given
specifications, viz, the maximum phase lag and the frequency at which it occurs,
2. and to obtain its frequency response. 11
(ii) To design experimentally the transfer function of the lead compensating
network.
(i) To design a passive RC lag compensating network for the given
specifications, viz, the maximum phase lag and the frequency at which it occurs,
3. and to obtain its frequency response. 14
(ii) To design experimentally the transfer function of the lag compensating
network.
Experiment to draw the frequency response of a given lead-lag compensating
4. 17
network.
To study the effect of P, PI, PD and PID controller on the step response of a
5. feedback control system using control engineering trainer. Verify the same using 19
simulation.
a) Experiment to draw the speed- torque characteristics of a 2 phase AC servo
6. motor. 22
b) Experiment to draw the speed- torque characteristics of a DC servo motor.
To determine frequency response of a second order system and evaluation of
7. 27
frequency domain specifications.
Simulate a DC position control system using MATLAB and obtain its step
8. 29
response.
Obtain the phase margin and gain margin for a given transfer function by
9. 32
drawing bode plots and verify the same using MATLAB.
a) To draw the Root loci for a given transfer function and verification of
10. breakaway point and imaginary axis crossover point using MATLAB. 34
b) To draw the Nyquist plot for a given transfer function using MATLAB.
11. To draw and study synchro-pair characteristics. 37
Experiment No: 01
TIME RESPONSE OF SECOND ORDER SYSTEM
Aim: To obtain time response of a second order system in case of under damped, over damped and
critically damped systems.
Theory:
The time response of control system consists of two parts. Transient response and steady state
response. C (t) = Ctr(t) + Css(t). Most of the control systems use time as its independent variable.
Analysis of response means to see the variation of output with respect to time. The output of the
system takes some finite time to reach to its final value. Every system has a tendency to oppose the
oscillatory behavior of the system which is called damping. The damping is measured by a factor
called damping ratio of the system. If the damping is very high then there will not be any
oscillations in the output. The output is purely exponential. Such system is called an over damped
system.
If the damping is less compared to over damped case then the system is called a critically damped
system. If the damping is very less then the system is called under damped system. With no
damping system is undamped.
Procedure:
Graph:
Tabular Columns :
1b) Evaluation of the effect of additional poles and zeros on time response of second order
system.
MATLAB program to evaluate the effect of additional poles and zeros on time response of second
order system. This program uses the command zpk.
For the second order system the poles are -10+30i and -10-30i
The program given below gives the time response of 2nd order system
For the second order system, if we add a pole it changes to third order.
The following program is used to study the effect of loop gain of a negative feedback system on
stability. The value of gain k is varied and different step responses are obtained.
clc
z=[]
p=[-0.5+i -0.5-i -1];
k1=1;
k2=2;
k3=3;
sys1=zpk(z,p,k1)
sys2=zpk(z,p,k2)
sys3=zpk(z,p,k3)
t=[0:0.01:20];
[y1,t]=step(sys1,t)
[y2,t]=step(sys2,t)
[y3,t]=step(sys3,t)
plot(t,y1,t,y2,t,y3)
legend('k=1', 'k=2', 'k=3')
grid
Result:
Viva questions:
Experiment No.2
RC LEAD COMPENSATING NETWORK
Aim: To design a passive RC lead compensating network for the given specifications and to
obtain its frequency response.
Apparatus Required: Resistors, capacitors, wires, multimeter, and phase- frequency meter.
Theory:
If a sinusoidal input is applied to the input of a network and steady state output has a phase lead,
then network is called lead compensator/network. Lead compensator has a zero at s = 1/T and a
pole at s = 1/ αT with zero closer to the origin than pole. This compensator speeds up the transient
response and increases the margin of stability of a system. It also helps to increase the system error
constant through to a limited extent. These compensators are used when fast dynamic response is
required.
Circuit Diagram:
Vi(s) = (Z1+Z2)*I(s) (Where I(s) is the current in the circuit and Z1= (R1//C) and Z2 = R2)
Vo(s) = Z2*I(s)
Vo(s)/Vi(s) = Z2 /( Z1+Z2)
After simplification,
GC(S) = (S+ 1/ T )
(S+ 1/ αT ) where T = R1 C and , α = R2 /( R1 + R2)
Design Equations:
1. Sin Фm = (1- α)
(1+α) α<1
2. α = R2 /( R1 + R2)
3. ωm = 1 .
T√ α
4. T = R1 C
Procedure:
1. Derive the transfer function for the Lead network given above.
2. For the given specification, ie for given Фm at given Fm , calculations of R1, R2 and C. are done.
3. Connections are made as per the Lead circuit diagram by the selecting the values found in the
above step.
4. Switch ON the mains supply and apply sinusoidal wave by selecting suitable amplitude.
5. The frequency of the signal is varied in steps and at each step note down the corresponding
magnitude of output and phase angle.
6. Draw the frequency response plot and hence find the transfer function & compare it with the
design.
Tabular Column:
Result:
Viva questions:
Experiment No.3
RC LAG COMPENSATING NETWORK
Aim: To design a passive RC lag compensating network for the given specifications and to
obtain its frequency response.
Apparatus Required: Resistors, capacitors, wires, multimeter, and phase- frequency meter.
Theory: If a sinusoidal input is applied to the input of a network and steady state output has a
phase lag, then network is called lag compensator/network. Lag compensator has a pole
at s = 1/ βT and a pole at s = 1/ T with pole closer to the origin than zero. This
compensator improves the steady state behavior of the system while nearly preserving its
transient response. These compensators are used when low steady state error is required.
Circuit Diagram:
Vi(s) = (Z1+Z2)*I(s) (where I(s) is the current in the circuit and Z1= R1 and
Z2=(R2+1/CS)
Vo(s) = Z2*I(s)
Vo(s)/Vi(s) = Z2 / ( Z1+Z2)
After simplification,
GC(S) = (S+ 1/ T )
(S+ 1/ βT ) where β = ( R1 + R2) / R2 and T = R2 C
Design Equations:
Procedure:
1. Derive the transfer function for the Lag network given above.
2. For the given specifications, ie for given Фm at given fm , calculations of R1, R2 and C. are
done.
3. Connections are made as per the Lag circuit diagram by the selecting the values found in the
above step.
4. Switch ON the mains supply and apply sinusoidal wave by selecting suitable amplitude.
5. The frequency of the signal is varied in steps and at each step note down the corresponding
magnitude of output and phase angle.
6. Draw the frequency response plot and hence find the transfer function & compare it with the
design.
Tabular Column:
Result:
Viva questions:
Experiment No.4
LAG -LEAD NETWORKS
Aim: Experiment to draw the frequency response of a given lead-lag compensating network.
Apparatus Required: Resistors – 10k – 2 nos, capacitors – 0.1µF – 2nos, wires, multimeter,
and phase- frequency meter.
Theory: Lag lead compensator is a combination of a lag compensator and lead compensator.
The lag section has one real pole and one real zero with pole to the right of zero. The lead
section also has one real pole and one zero but zero is to the right of the pole. When both steady
state and transient response require improvement, a lag lead compensator is required.
Circuit Diagram:
Procedure:
1. Derive the transfer function for the lag lead network given above.
2. Connections are made as per the Lag lead circuit diagram by the selecting the proper values.
3. Switch ON the mains supply and apply sinusoidal wave by selecting suitable amplitude.
4. The frequency of the signal is varied in steps and at each step note down the corresponding
magnitude of output and phase angle.
5. Draw the frequency response plot and hence find the transfer function & compare it with the
design.
After simplification,
(S+ 1/ β T2 )(S+ β/ T1 )
Tabular Column:
VS =…………. V(volts)
Typical Characteristics:
Result:
Viva questions:
Experiment No.5
STUDY OF P, P-I, P-I-D CONTROLLERS
Aim: To study the effect of P, PI, PD and PID controller on the step response of a
feedback control system.
Theory:
PID controllers are commercially successful and widely used controllers in Industries. For
example, in a typical paper mill there may be about 1500 Controllers and out of these 90% would
be PID controllers. The PID controller consists of proportional controller, integral controller and
derivative controller. Depending upon the application on or more combinations of the controllers
are used.(ex: in a liquid control system where we want zero steady state error, a PI controller can
be used and in a temperature control system where we do not want zero steady state error, a
simple P controller can be used.
A proportional controller (Kp) will have the effect of reducing the rise time and will reduce ,but
never eliminate, the steady-state error. An integral control (Ki) will have the effect of eliminating
the steady-state error, but it may make the transient response worse. A derivative control (Kd)
will have the effect of increasing the stability of the system, reducing the overshoot, and
improving the transient response. Effects of each of controllers Kp, Kd, and Ki on a closed-loop
system are summarized in the table shown below.
R(s)
Kp Plant and C(s)
controller
+ -
PI CONTROLLER:
Kp
R(s) +
Ki/s Plant and C(s)
controller
+ - +
R(s) +
Kp Plant and C(s)
controller
+ - +
sKd
Comparing with S2 + 2ξ ωnS+ ωn2, damping ratio increases reducing the peak overshoot in the
response
Kp
R(s) +
Ki/s Plant and C(s)
controller
+ - + +
sKd
Procedure:
1. The connections are made as in the diagrams.
2. DC supply from the kit is given.
3. The values of kp, Kd, Ki are adjusted and the waveforms are observed on the CRO.
Result:
Viva questions:
Theory:
An AC servomotor is basically a two phase induction motor except for certain special design
features. The motor of the servo motor is built with high resistance so that its X/R ratio is small and
the toque speed characteristics is linear. For low resistance, the characteristics is nonlinear. Such a
characteristics is unacceptable in control systems. The motor construction is usually squirrel cage or
drag cup type. The diameter of rotor is kept small in order to reduce inertia to obtain good
accelerating characteristics. In servo applications the voltage applied to the two stator windings are
seldom balanced. One of the phases known as the reference phase is excited by constant voltage
and the other phase is known as the control phase is excited by a voltage of variable magnitude
from a servo amplifier and polarity with respect to the voltage supplied to the reference
winding. For low power applications AC servo motors are preferred because they are light
weight, rugged construction.
Circuit Diagram:
AC servomotor specifications:
Procedure:
Tabular column:
Graph:
speed
RPM
Rated voltage
80%voltage
60% voltage
Torque in gm-cm
Calculation:
Power = Eb x Ia Watts
Torque = (Eb x Ia x 60 x 1. 0196 x 105 ) / 2 x N gm-cm
Viva questions:
1. What are the applications of AC servo motor?
2. How is AC servo motor different from normal AC motor?
3. What is the working principle of AC servo motor?
Theory :
The mechanism in which the control variable is adjusted by the error served by comparing output
and input is called servomechanism. Any quantity e.g. voltage, speed, temperature, position,
torque be controlled by providing appropriate feedback. The motor which respond to the error
signal abruptly and actuate the load quickly are called servo motors. These are specifically designed
and built primarily for use in feedback control systems as output actuators. The power rating can
vary from a fraction of a watt up to a few hundred watts. They have high speed response which
requires low rotor inertia. These motors are therefore smaller in diameter and longer in length. DC
servo motors are used in high power applications. Some DC motors with relatively small power
rating are used in instruments and computer related instruments. Other applications are CNC
machines, robot systems, radars, machine tools, etc. Most important among the characteristics of
the DC servo motor is the maximum acceleration obtainable. The operation of this motor is same
as normal DC motor.
DC servomotor specifications:
Procedure:
Circuit Diagram:
fuse A
tacho
24 v M gen
DC
Moror
shaft
Tabular Column:
W1 W2 Torque
Speed(rpm) W=(W1 - W2) gm
gm gm gm-cm
Calculation:
Graph:
speed
RPM
60%voltage
40% voltage
Torque in gm-cm
Result:
Viva questions:
Experiment No.7
FREQUENCY RESPONSE OF A SECOND ORDER SYSTEM
Theory:
The frequency response of a system or a component is normally performed by keeping the
amplitude A fixed and determining B and Φ for a suitable range of frequencies where steady state
output may be represented as c(t) = B sin(wt + Φ) The ease and Accuracy of measurements are
some of the advantages of the frequency response method. Without the knowledge of transfer
function, the frequency response of stable open loop system can be obtained experimentally
or the systems with very large time constants, the frequency response test is cumbersome to
perform. We can use the data obtained from measurements on the physical system without deriving
its mathematical model. Nyquist, bode, Nichols etc are some of the frequency response methods.
For difficult cases, such as conditionally stable systems, Nyquist Plot is probably the only method
to analyse stability.
Apparatus Required: Second order system study unit. Function generator, wires
multimeter, CRO
Circuit Diagram:
0.2 H 10 K pot
Sine
wave Vo
0.32
micro F
Procedure:
ωr = ωn √ (1- 2ζ 2 )
M R = 1/2ζ √ (1- ζ 2 )
ώd = ωn √ (1- ζ 2 )
Graph:
Result:
Viva questions:
Experiment No.8
DC POSITION CONTROL
Aim: To simulate a DC position control system and hence to find the step response using
MATLAB.
Theory:
DC position control system which we study here is used control the position of shaft, by use of
potentiometer error detector. The error is to be amplified by the amplifier and must be given to the
armature controlled motor whose shaft position will get controlled as per the control signal. The
motor shaft is coupled to the load through gearing arrangement with ratio N1/N2. Position control
systems have innumerable applications namely machine tool position Control, constant tension
control of sheet rolls in paper mills, control of sheet metal thickness in hot rolling mills, radar
tracking system, missile guidance systems, inertial guidance, In armature controlled DC servomotor
the excitation of the field winding is kept constant and torque is varied by varying the applied
voltage connected to the armature. Here the servo system is used to position the load shaft in which
the driving motor is geared to the load to be varied.
For amplifier,
Ea(s) = Ka E(s)
After simplification,
θ(s)/ Ea(s) = Kt
s[Js+f][Ra+sLa]+KtKbs
Circuit Diagram:
Block Diagram:
Procedure:
1. Develop the complete block diagram of the given schematic diagram of position control
servomechanism using simulink.
2. Kp is the variable and set it to some suitable value to simulate over, under damped conditions
of the system.
3. From the response curve obtained determine the time domain specifications.
Typical example:
kP = (24/pi), kA = 10, kT = 6*10-5 Nm/amps, J = 5. 4*10-5 kg-m2, B=4*10-4 Nm rad/sec
Ra=0.1 ohms, La= 0.001 H.
Result:
Viva questions:
Experiment No.9
BODE PLOT
AIM: Obtain the phase margin and gain margin for a given transfer function by drawing bode
plots and verify the same using MATLAB.
Theory:
One of the most useful representation of transfer function is a logarithmic plot which consists of
two graphs, one giving the logarithm of [G (jw)] and the other phase angle of G(jw) both plotted
against frequency in logarithmic scale. These plots are called bode plots. The main advantage of
using bode diagram is that the multiplication of magnitudes can be converted into addition. Bode
plots are a good alterative to the Nyquist plots.
1. Gain cross over frequency wgc = It is the frequency at which magnitude of G (jw) H (jw) is unity
ie 1.
2. Phase cross over frequency wpc = It is the frequency at which phase angle of G(jw) H(jw) is -
180o
3. Gain margin G.M = It is defined as the margin in gain allowable by which gain can be
increased till system reaches on the verge of instability. Mathematically it is defined as the
reciprocal of the magnitude of the G(jw) H(jw) measured at phase cross over frequency.
4. Phase margin P.M = Amount of additional phase lag which can be introduced in the system till
system reaches on the verge of instability. Mathematically it can be defined as
P.M = 180o + ∟G(jw)H(jw) at w=wgc
Procedure:
1) Open the MATLAB command window.
2) Click on file/new/M file to open the MATLAB editor window. In MATLAB editor window
enter the program
3) Save the program as .M file.
4) Execute the program by selecting run.
5) Note down the gain crossover, Phase crossover frequencies, gain margin and phase margin from
the plot.
6) Also copy the plot.
Typical Problem
Examlples
a) TF = 0.5 .
S(S+1)(S+0. 5)
b) TF = 10 .
(S+2)(S+3)(S+4)
Result:
Viva questions:
1. write MATLAB program to find the value of k for a given phase margin
2. write MATLAB program to find the value of k for a given gain margin
a)AIM: To obtain Root locus of a given T. F. and hence finding breakaway point,
intersection point on imaginary axis and to draw the Nyquist plot for the given transfer function
using MATLAB.
Theory:
Root locus technique is used to find the roots of the characteristics equation. This technique
provides a graphical method of plotting the locus of the roots in the s plane as a given parameter
usually gain is varied over the complete range of values. This method brings in to focus the
complete dynamic response of the system. By using root locus method the designer can predict the
effects location of closed loop poles by varying the gain value or adding open loop poles and/or
open loop zeroes. The closed loop poles are the roots of the characteristic equation.
Various terms related to root locus technique that we will use frequently in this article.
5. Asymptotes of Root Loci: Asymptote originates from the centre of gravity or centroid and goes
to infinity at definite some angle. Asymptotes provide direction to the root locus when they
depart break away points.
6. Angle of Asymptotes: Asymptotes makes some angle
with the real axis and this angle can be calculated from
the given formula, Where p = 0, 1, 2 ....... (N-M-1)
7. Angle of Arrival or Departure: We calculate angle of departure when there exists complex
poles in the system. Angle of departure can be calculated as 180-{(sum of angles to a complex
pole from the other poles)-(sum of angle to a complex pole from the zeros)}.
8. Intersection of Root Locus with the Imaginary Axis : In order to find out the point of
intersection root locus with imaginary axis, we have to use Routh Hurwitz criterion. First, we
find the auxiliary equation then the corresponding value of K will give the value of the point of
intersection.
9. Symmetry of Root Locus: Root locus is symmetric about the x axis or the real axis.
CONTROLS SYSTEMS LAB VI SEM 34
DEPT. OF ELECTRICAL & ELECTRONICS ENGG. BMSIT
Program Procedure:
Transfer function:
36
----------------------
s^3 + 6 s^2 + 11 s + 6
Result:
Viva questions:
Programme:
P=[60]
Q=[1 8 17 10]
Sys=tf(P,Q)
Nyquist(sys)
Result:
Examples
Draw the Nyquist plot for following T.F
1) T.F=1/s(1+2s)(1+s)
2) T.F=(1+4s)/s2(1+s)(1+2s)
CHARACTERSTICS OF SYNCHROS
AIM: To study about synchro transmitter and also about the transformation of angular position of
its rotor into unique set of stator voltages.
APPARATUS REQUIRED:
Theory:
The term synchro is a generic name for a family of inductive devices which works on the principle
of a rotating transformer (Induction motor). Basically they are electro mechanical devices or
electromagnetic transducer which produces an output voltage depending upon angular position of
the rotor. A Synchro system is formed by interconnection of the devices called the synchro
transmitter and the synchro control transformer. They are also called as synchro pair. The synchro
pair measures and compares two angular displacements and its output voltage is approximately
linear with angular difference of the axis of both the shafts. They can be used in the following two
ways.
i. To control the angular position of load from a remote place / long distance.
ii. For automatic correction of changes due to disturbance in the angular position of the load.
CIRCUIT DIAGRAM:
PROCEDURE:
1. Connect the mains supply to the synchro Transmitter- receiver system with the help of the
given mains cord.
2. Connect 110V AC supply to the rotor terminals (R1 and R2) of the transmitter only and
switch on the mains supply.
3. Now at zero angular position of rotor of transmitter, note down the voltage between stator
winding terminals i.e., VS1S2, VS2S3 and VS3S1 with the help of given patch cords and
tabulate them.
4. Vary the angular positions of rotor of the transmitter in steps by 30 and note down the
corresponding voltages between stator winding terminals in a tabular column.
5. The zero position of rotor and stator coincide with voltage VS1S2 equal to zero. Do not disturb
this condition.
6. Switch off the mains supply of the kit after bringing back the rotor at zero.
7. Plot a graph between angular positions of rotor of transmitter and stator voltages for all three
phases.
TABULAR COLUMN:
GRAPH: - Plot a graph of angular position VS voltage for all the three phases.
RESULT: -The synchro Transmitter was studied and waveform of stator winding voltages was
plotted on graph .
APPARATUS REQUIRED:
Sl. NAME OF THE APPARATUS TYPE QUANTITY
No.
1. Synchro transmitter- receiver pair kit 1
2 Connecting wires Patch cords As required
CIRCUIT DIAGRAM:
PRECAUTIONS:
1. Keep the angular positions of rotors of transmitter and receiver at zero position before starting
the experiment.
2. Handle the angle pointers for both the rotors in a gentle manner.
3. Do not attempt to pull out the angle pointers.
4. Do not short rotor or stator terminals.
PROCEDURE:
1. Connect the mains supply to the synchro Transmitter- receiver system with the help of the
given mains cord.
2. Connect the stator terminals of transmitter S1, S2, and S3 with stator terminals of receiver S1,
S2, and S3 with the help of patch cords respectively.
3. Connect 110V AC supply to the rotor terminals (R1 and R2) of both transmitter and receiver,
and then switch on the mains supply.
4. Now at zero angular position of rotor of transmitter, note down that of receiver and tabulate
them.
5. Vary the angular positions of rotor of the transmitter in steps by 30 and note down the
corresponding angular positions of rotor of synchro receiver.
6. It is observed that whenever the rotor of the synchro transmitter is rotated, the rotor of the
synchro receiver follows it both directions of rotations and its positions are linear with the
initial error.
7. Switch off the mains supply of the kit after bringing back the rotor of the transmitter at zero.
8. Plot a graph between angular positions of rotor of transmitter and angular positions of rotor of
receiver.
TABULAR COLUMN:
MODEL GRAPH:
Angular
positions
of receiver
in degrees
RESULT:
Thus the characteristics of synchro transmitter receiver pair were studied.
Viva questions:
Add on Experiment 1:
AIM: To digitally simulate the time response characteristics of Linear SISO systems using state
variable formulation.
THEORY:
State Variable approach is a more general mathematical representation of a system, which, along
with the output, yields information about the state of the system variables at some predetermined
points along the flow of signals. It is a direct time-domain approach, which provides a basis for
modern control theory and system optimization. SISO (single input single output) linear systems
can be easily defined with transfer function analysis. The transfer function approach can be linked
easily with the state variable approach.
The state model of a linear-time invariant system is given by the following equations:
Ẋ (t) = A X(t) + B U(t) State equation
Y(t) = C X(t) + D U(t) Output equation
Where A = n x n system matrix,
B = n x m input matrix,
C= p x n output matrix and
D = p x m transmission matrix,
PROGRAMME:
OPEN LOOP RESPONSE (FIRST ORDER SYSTEM)
T.F=4/(s+2)
Response of system to Step and Impulse input
n=[4]; n=[4];
d=[1 2]; d=[1 2];
sys=tf(n,d); sys=tf(n,d);
step(sys) impulse(sys)
SIMULINK
Step Input Open Loop –I Order
SIMULINK
Step Input Close Loop –I Order
SIMULINK
Step Input Close Loop –I Order
RESULT:
APPENDIX-A
Open loop control: The basis for analysis of a control system is the foundation provided by linear
system theory, which assumes a cause-effect relationship for the components of a system. A
component or process to be controlled can be represented by a block. Each block possesses an input
(cause) and output (effect). The input-output relation represents the cause-and-effect relationship of
the process, which in turn represents a processing of the input signal to provide an output signal
variable, often with power amplification. An open-loop control system utilizes a controller or
control Actuator in order to obtain the desired response
Closed loop control: In contrast to an open-loop control system, a closed-loop control system
utilizes an additional measure of the Actual output in order to compare the Actual output with the
desired output response. A standard definition of a feedback control system is a control system
which tends to maintain a prescribed relationship of one system variable to another by comparing
functions of these variables and using the difference as a means of control. In the case of the driver
steering an automobile, the driver uses his or her sight to visually measure and compare the Actual
location of the car with the desired location. The driver then serves as the controller, turning the
steering wheel. The process represents the dynamics of the steering mechanism and the automobile
response.
A feedback control system often uses a function of a prescribed relationship between the output and
reference input to control the process. Often, the difference between the output of the process under
control and the reference input is amplified and used to control the process so that the difference is
2. A thermostat to measure the Actual temperature and the error, and a compressor motor for
3. Other examples in the home are the oven, furnace, and water heater.
4. In industry, there are controls for speed, process temperature and pressure, position,
thickness, composition, and quality, among many others.
5. Feedback control concepts have also been applied to mass transportation, electric power
systems, automatic warehousing and inventory control, automatic control of agricultural systems,
biomedical experimentation and biological control systems, and social, economic, and political
systems.
The addition of feedback to a control system results in several important advantages. A process,
whatever its nature, is subject to a changing environment, aging, ignorance of the exact values of
the process parameters, and other natural factors which affect a control process. In the open-loop
system, all these errors and changes result in a changing and inaccurate output. However, a closed-
loop system senses the change in the output due to the process changes and attempts to correct the
output. The sensitivity of a control system to parameter variations is of prime importance. A
primary advantage of a closed-loop feedback control system is its ability to reduce the system's
sensitivity.
One of the most important characteristics of control systems is their transient response which often
must be adjusted until it is satisfactory. If an open-loop control system does not provide a
satisfactory response, then the process must be replaced or modified. By contrast, a closed-loop
system can often be adjusted to yield the desired response by adjusting the feedback loop
parameters.
A second important effect of feedback in a control system is the control and partial elimination of
the effect of disturbance signals. Many control systems are subject to extraneous disturbance
signals which cause the system to provide an inaccurate output. Feedback systems have the
beneficial aspect that the effect of distortion noise and unwanted disturbances can be effectively
reduced.
While the addition of feedback to a control system results in the advantages outlined above, it is
natural that these advantages have an attendant cost. The cost of feedback is first manifested in the
increased number of components and the complexity of the system. The second cost of feedback is
the loss of gain. Usually, there is open-loop gain to spare, and one is more than willing to trade it
for increased control of the system response. Finally, a cost of feedback is the introduction of the
CONTROLS SYSTEMS LAB VI SEM 47
DEPT. OF ELECTRICAL & ELECTRONICS ENGG. BMSIT
possibility of instability. While the open-loop system is stable, the closed-loop system may not be
always stable.
The transient response of a feedback control system is of primary interest and must be investigated.
A very important characteristic of the transient performance of a system is the stability of the
system. A stable system is defined as a system with a bounded system response. That is, if the
system is subjected to a bounded input or disturbance and the response is bounded in magnitude,
the system is said to be stable.
The concept of stability can be illustrated by considering a right circular cone placed on a plane
horizontal surface. If the cone is resting on its base and is tipped slightly, it returns to its original
equilibrium position. This position and response is said to be stable. If the cone rests on its side and
is displaced slightly, it rolls with no tendency to leave the position on its side. This position is
designated as neutral stability. On the other hand, if the cone is placed on its tip and released, it falls
onto its side. This position is said to be unstable.
Design
A feedback control system that provides an optimum performance without any necessary
adjustments is rare indeed. Usually one finds it necessary to compromise among the many
conflicting and demanding specifications and to adjust the system parameters to provide a suitable
and acceptable performance when it is not possible to obtain all the desired optimum specifications.
It is often possible to adjust the system parameters in order to provide the desired system response.
However, it is often not possible to simply adjust a system parameter and thus obtain the desired
performance. Rather, the scheme or plan of the system must be reexamined, and a new design or
plan must be obtained which results in a suitable system. Thus, the design of a control system is
concerned with the arrangement, or the plan, of the system structure and the selection of suitable
components and parameters. For example, if one desires a set of performance measures to be less
than some specified values, one often encounters a conflicting set of requirements. If these two
performance requirements cannot be relaxed, the system must be altered in some way. The
alteration or adjustment of a control system, in order to make up for deficiencies and inadequacies
and provide a suitable performance, is called compensation.
Compensating Networks:
Control systems are designed to perform specific tasks. The requirements imposed on the control
system are usually the performance specifications. The specifications may be given in terms of
transient response or steady state requirements. Setting the gain is the first step in adjusting the
system for satisfactory operation. In many practical cases, however the adjustment of the gain alone
may not provide sufficient alteration of the system behavior to meet the given specifications.
Increasing the gain value will improve the steady state behavior but will result in poor stability. It is
then necessary to redesign the system. Such a redesign or addition of a suitable device is called
compensation.
A device inserted in to the system for the purpose of satisfying the specifications of the system is
called compensator. Commonly used compensators are lead, lag, lead-lag and PID compensators.
The compensators used may be and electrical, mechanical, hydraulic, pneumatic etc. Usually
electric network serves compensators for many control systems.
APPENDIX-B
MATLAB BASICS
As you might guess from its name, MATLAB deals mainly with matrices. A scalar is a 1-by-1
matrix and a row vector of length say 5, is a 1-by-5 matrix. One of the many advantages of
MATLAB is the natural notation used. It looks a lot like the notation that you encounter in a linear
algebra. This makes the use of the program especially easy and it is what makes MATLAB a
natural choice for numerical computations. The purpose of this experiment is to familiarize
MATLAB, by introducing the basic features and commands of the program.
Vectors:
d= [0:7]
”d” is a vector or row matrix with first element as 0 and last element as 7 and increment is by
default 1. The default increment can be changed (to 0.1) by using increment field in between as
e= [0:0.1:7].
d(1:2) allows to look into vector with increment 1
e(1:2:4) look with increment
Operators:
1. + addition
2. - subtraction
3. * multiplication
4. ^ power
5. ' transpose
6. \ left division
CONTROLS SYSTEMS LAB VI SEM 49
DEPT. OF ELECTRICAL & ELECTRONICS ENGG. BMSIT
7. / right division
Remember that the multiplication, power and division operators can be used in conjunction with a
period to specify an element-wise operation.
Typical commands:
1. whos
2. who
3. clear
4. quit
5. save filename – filename.mat
6. load filename - retrive
7. dairy filename - b4 and after ascii text file
8. help
Built in Functions:
1. Scalar Functions:
Certain MATLAB functions are essentially used on scalars, but operate element-wise when applied
to a matrix (or vector). They are summarized below.
1. sin - trigonometric sine
2. cos - trigonometric cosine
3. tan - trigonometric tangent
4. asin - trigonometric inverse sine (arcsine)
5. acos - trigonometric inverse cosine (arccosine)
6. atan - trigonometric inverse tangent (arctangent)
7. exp - exponential
8. log - natural logarithm
9. abs - absolute value
10. sqrt - square root
11. rem - remainder
12. round - round towards nearest integer
13. floor - round towards negative infinity
14. ceil - round towards positive infinity
2. Vector Functions:
Other MATLAB functions operate essentially on vectors returning a scalar value. Some of these
functions are given below.
1. max largest component : get the row in which the maximum element lies
2. min smallest component
3. length length of a vector
4. sort sort in ascending order
5. sum sum of elements
6. prod product of elements
7. median median value
8. mean mean value std standard deviation
3. Matrix Functions:
Operations on matrices:
1. Transpose (single quote „)
a= [ 1 2 3 ];
b=a‟ ;
2. extraction of submatrices
a=[1,2;3,4;5,6];
b=a(1:2,2:1;1:1;2:2);
c=a(:,2) ; second column of matrix “a” is sub- matrix “c”
d=a(1,:) ; first row of matrix “a” is sub-matrix “d”
3. Determinant and Inverse of a matrix
eg: A = [9,7,0;0,8,6;7,1,-6];
size(A), det(A), inv(A)
We can check our result by verifying that AA–1 = I and A–1A = I .
A*inv(A), inv(A)*A
The eigenvalues and eigenvectors of A (i.e. the numbers λ and vectors x that satisfy
PLOTTING COMMANDS:
If x and y are two vectors of the same length then plot(x,y) plots x versus y.
For example, to obtain the graph of y = cos(x) from – ∧ to ∧ , we can first define the vector x
with components equally spaced numbers between – ∧ and ∧ , with increment, say 0.01.
» x=-pi:0.01:pi;
We placed a semicolon at the end of the input line to avoid seeing the (long) output.
Note that the smallest the increment, the “smoother” the curve will be.
Next, we define the vector y
» y=cos(x);
(using a semicolon again) and we ask for the plot
» plot(x,y)
It is good practice to label the axis on a graph and if applicable indicate what each axis represents.
This can be done with the xlabel and ylabel commands.
» xlabel('x')
» ylabel('y=cos(x)')
Inside parentheses, and enclosed within single quotes, we type the text that we wish to be displayed
along the x and y axis, respectively. We could even put a title on top using
» title('Graph of cosine from -pi to pi')
Various line types, plot symbols and colors can be used. If these are not specified (as in the case
above) MATLAB will assign (and cycle through) the default ones as given in the table below.
y yellow . point
m magenta o circle
c cyan x x-mark
r red + plus
g green - solid
b blue * star
w white : dotted
k black -. dashdot
-- dashed
So, to obtain the same graph but in green, we type
» plot(x,y,’g’)
where the third argument indicating the color, appears within single quotes. We could get a dashed
line instead of a solid one by typing
» plot(x,y,’--’)
or even a combination of line type and color, say a blue dotted line by typing
» plot(x,y,’b:’)
Multiple curves can appear on the same graph. If for example we define another vector
CONTROLS SYSTEMS LAB VI SEM 52
DEPT. OF ELECTRICAL & ELECTRONICS ENGG. BMSIT
» z = sin(x);
we can get both graphs on the same axis, distinguished by their line type, using
» plot(x,y,'r--',x,z,'b:')
When multiple curves appear on the same axis, it is a good idea to create a legend to label and
distinguish them. The command legend does exactly this.
» legend('cos(x)','sin(x)')
The text that appears within single quotes as input to this command, represents the legend labels.
We must be consistent with the ordering of the two curves, so since in the plot command we
asked for cosine to be plotted before sine, we must do the same here.
At any point during a MATLAB session, you can obtain a hard copy of the current plot by either
issuing the command print at the MATLAB prompt, or by using the command menus on the
plot window. In addition, MATLAB plots can by copied and pasted (as pictures) in your favorite
word processor (such as Microsoft Word). This can be achieved using the Edit menu on the figure
window. Another nice feature that can be used in conjunction with plot is the command grid,
which places grid lines to the current axis
(just like you have on graphing paper). Type help grid for more information. Other commands
for data visualization that exist in MATLAB include subplot create an array of (tiled) plots in
the same window loglog plot using log-log scales semilogx plot using log scale on the x-axis
semilogy plot using log scale on the y-axis.
APPENDIX-C
A transfer function is also known as the network function is a mathematical representation, in terms
of spatial or temporal frequency, of the relation between the input and output of a (linear time
invariant) system. The transfer function is the ratio of the output Laplace Transform to the input
Laplace Transform assuming zero initial conditions. Many important characteristics of dynamic or
control systems can be determined from the transfer function.
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’)
[num,den]=zp2tf(z,p,k)
tf(num,den)
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
MATLAB PROGRAM:
num = input(‘enter the numerator of the transfer function’)
den = input(‘enter the denominator of the transfer function’)
[z,p,k] = tf2zp(num,den)
EXAMPLE:
Obtain the poles and zeros of the transfer function given below:
C(S)/R(S)= (S2+4S+3)/(S3+3S2+7S+5)
T.F= C[SI-A]-1B
A state space representation is a mathematical model of a physical system as a set of input, output
and state variables related by first-order differential equations. The state space representation (also
known as the "time-domain approach") provides a convenient and
compact way to model and analyze systems with multiple inputs and outputs.
Unlike the frequency domain approach, the use of the state space representation is not limited to
systems with linear components and zero initial conditions. "State space" refers to the space whose
axes are the state variables. The state of the system can be represented as a vector within that space.
The input state equation is given by,
Ẋ=AX+BU
Y=CX+DU
The output equation is written as,
MATLAB PROGRAM:
A =input(‘enter the matrix A’)
B= input(‘enter the matrix B’)
C = input(‘enter the matrix C’)
D= input(‘enter the matrix D’)
Sys =ss2tf(A,B,C,D)
EXAMPLE:
Obtain the transfer function from the State Model given below:
A = [0 1; -25 -4]
B = [1 1; 0 1]
C = [1 1; 1 1]
D = [0 0; 0 0]