Control System Engineering Lab Manual
Control System Engineering Lab Manual
School of Engineering
Department of Electrical and Electronics
Engineering
Control System
Engineering Laboratory
COURSE CODE: EEE 2063
Academic Year: 2025 - 2026
(Odd Sem)
Semester/Year:
Section:
1
School of Engineering
Department of Electrical & Electronics Engineering
Contents
S. Page No
Title
No
3
1 Vision, Mission and PEOs
4
2 Do’s and Don’ts
5
3 List of Experiments
6
4 Course Outcomes
7
5 Cycle wise List of Experiments
44
15 Simulation of DC Position control System using MATLAB
2
School of Engineering
Department of Electrical & Electronics Engineering
Vision
To excel in Electrical and Electronics Engineering education and research
committed to produce globally competent professionals through innovation,
sustainability, and societal advancement
Mission
1. Impart comprehensive education in Electrical and Electronics Engineering
through state-of-the-art facilities and hands-on learning experience.
2. Foster design thinking, creativity, industry collaboration, and multidisciplinary
research to cultivate an ecosystem of innovation and entrepreneurship.
3. Develop ethical professionals with integrity and a commitment to sustainability,
driven by a passion for lifelong learning, individual growth, and societal well-
being.
3
School of Engineering
Department of Electrical & Electronics Engineering
DO’S:-
DON’Ts:-
LIST OF EXPERIMENTS
S.
Title of the Experiment
No
1 Obtain the Time Response of Second Order System
2 Study the Step Response Using MATLAB
3 Frequency Response of RC lead Compensation Network
4 Frequency Response of RC Lag Compensation Network.
5 Frequency Response of RC Lag-Lead Compensation
6 Study the Effect of P, PI and PID on a Second Order System using Hardware components
7 Study the Effect of P, PI and PID on a Second Order System using MATLAB.
8 Characteristics of AC Servo Motor
Additional Experiments
Using MATLAB obtain the time response of the given system subjected to any arbitrary
1
input.
2 Design of PID Controller for speed control of DC Motor System using Simulink
3 Controllability and Observability test for robotic system using MATLAB.
Course Outcomes
✓ Analyze the time domain specifications for second order system.
✓ Examine the behaviour of lag, lead and lag - lead compensating networks
✓ Analyse the stability of LTI system using Root locus and Bode plots
II Cycle
6 Study the Step Response Using MATLAB
7 Study the Effect of P, PI and PID on a Second Order System using MATLAB.
Additional Experiments
Using MATLAB obtain the time response of the given system subjected to any arbitrary
1
input.
2 Design of PID Controller for speed control of DC Motor System using Simulink
3 Controllability and Observability test for robotic system using MATLAB.
APPARATUS REQUIRED:
Decade Resistance Box, Decade Inductance Box, Decade Capacitance Box, Multimeter,
Patch Cords, Function Generator, D.S.O (Digital Storage Oscilloscope).
CIRCUIT DIAGRAM:
THEORY:
The time response of control system consists of two parts. Transient responseand
steady state. 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.
=0 Undamped system
It is defined as the time taken by the response to reach and stay within a specified
error. It is usually expressed as % of final value. The usual tolerable error is 2% or 5 % of the
Dept. of EEE, Presidency University, Bangalore 8
Control System Engineering Lab Manual
final value.
Design:
V0(s) 1/LC
=
Vi(s) s2+(R/L) s+1/LC
Procedure:
1. The RLC circuit is connected as shown in Fig. 1.
2. The Square Wave is applied from a signal Generator.
3. Set Approximate Values of R, L and C for as per the designed computation.
4. Adjust the frequency of the input such that one half period of square wave is atleast 5 times of the
time constant. This allows the response to settle.
5. Observe the output waveform in the CRO & note down rise time, Peak time, settling time &
Maximum Over shoot.
6. Repeat the above procedure for different values of ξ.
7. Compare the Experimental & Theoretical Values.
Calculations:
Tp= π/ ωn √ (1- ξ2)
MODEL GRAPH:
OBSERVATION TABLE:
Time Domain
Theoretical Practical
Specification
Rise Time (tr)
Review Questions:
1 What is Time Response?
2 Define Delay Time, Rise Time, Peak Time, Peak Over Shoot, Settling Time?
3 Define type and order of a system?
4 Distinguish between Type and Order of a system
5 What is Steady State Error?
6 The damping ratio of system is 0.6 and the natural frequency of oscillation is 8
rad/ sec. Determine the rise time
7 Define Positional Error Constant and Velocity Error Constant?
8 How the system is classified depending on the value of damping?
9 What will be the nature of response of a second order system with different
types of damping?
10 Sketch the response of a second order under damped systems.
11 What is a damped frequency of oscillation?
12 Give the expression for natural frequency of oscillation of electrical & Mechanical
system.
EXPERIMENT – 2
STEP RESPONSE USING MATLAB
AIM: To obtain the unit step response of a given transfer function using MATLAB
RESOURCES:
MATLAB Software
THEORY:
The step response is the output of a control system when subjected to a sudden change in
input values. This change in input value can be in the form of a step function, which is a rapid
change from one value to another. The step response reflects how the system reacts to the new
input value and how long it takes to reach a stable output.
PROGRAM:
n= [0 0 100000000];
d= [1 2000 100000000];
t=0:0.000005:0.005;
y = step (n, d, t);
n= [0 0 100000000];
d1= [1 20000 100000000];
t=0:0.000005:0.005;
y1 = step (n, d1, t);
n= [0 0 100000000];
d2= [1 40000 100000000];
t=0:0.000005:0.005;
y2 = step (n, d2, t);
plot (t, y, t, y1, t, y2)
grid;
Figure 2.1 Time response of second order system for underdamped, critically
damped and over damped conditions
OBSERVATION TABLE:
Time Domain Under damped systems Critically damped Over damped systems
Specification systems
Rise Time (tr)
EXPERIMENT NO - 3
FREQUENCY RESPONSE OF RC LEAD COMPENSATION NETWORK
AIM:
To design a passive RC lead compensating network for the given specifications and to obtain its frequency
response.
APPARATUS REQUIRED:
Function Generator, D.S.O, Resistance, Capacitance, Multimeter, Patch Cords.
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.
Effect of Phase Lead Compensation:
1) The velocity constant Kv increases.
2) The slope of the magnitude plot reduces at the gain crossover frequency so that relative
stability improves & error decrease due to error is directly proportional to the slope.
3) Phase margin increases.
4) Response become faster.
1. Due to the presence of phase lead network the speed of the system increases because it shifts gain
crossover frequency to a higher value.
2. Due to the presence of phase lead compensation maximum overshoot of the system decreases.
CIRCUIT DIAGRAM:
1 2
G ( j) = tan
−1
() − tan−1 ( )
1
Frequency at which maximum phase lead occurs, m =
1 − sinm
Maximum phase lead is given by =
m
1 + sinm
1 1
Corner frequencies, = and =
1 2
m
Design a lead compensator for the given values of and f =
m 2
PROCEDURE:
1) Derive the transfer function for the Lead compensating network for the given figure 3.1.
2) For the given specification, i.e. for given m at given Fm , calculations of R1, R2 and C are
done.
3) Connections are made as per the figure 8.1 by selecting the R and C values are found by
using the given equations in design.
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.
7) Typical waveform is shown the figure 3.2.
TABULAR COLUMN:
Review Questions:
1. What is lag compensation? Write the frequency response of it.
2. What is the importance of lag network?
3. What is Compensation?
4. What is the compensated system?
5. What is compensator?
6. Why compensation of the system using Root Locus Technique?
7. What are the various types of Compensation method?
8. What are the classifications of compensators?
9. What is a lead compensator?
10. What are the characteristics of a lead compensator?
EXPERIMENT NO - 4
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:
Function Generator, D.S.O, Decade Resistance Box, Decade Capacitance Box, Multimeter,
Patch Cords.
THEORY:
If a sinusoidal input is applied to the input of a network and steady state output has a phase lag,
1
then network is called lag compensator/network. Lag compensator has a pole at s = and a
T
pole at s = 1 with pole closer to the origin than zero. This compensator improves the steady
T
state behavior of the system while nearly preserving its transient response. These compensators
are used when low steady state error is required.
Effect of Phase Lag Compensation:
1. Gain crossover frequency increases.
2. Bandwidth decreases.
3. Phase margin will be increase.
4. Response will be slower before due to decreasing bandwidth, the rise time and the
settling time become larger.
Advantages of Phase Lag Compensation:
1. Phase lag network allows low frequencies and high frequencies are attenuated.
2. Due to the presence of phase lag compensation the steady state accuracy increases.
Disadvantages of Phase Lag Compensation:
Due to the presence of phase lag compensation the speed of the system decreases.
Design:
1
s+
1
Gc ( s ) =
s + 1
R1 + R2
= R2C , = 1
R2
G ( j ) = tan −1 ( ) − tan −1 ( )
1
Frequency at which maximum phase lead occurs, m =
1 − sinm
Maximum phase lead m is given by =
1 + sinm
1
Corner frequencies, 1 = and 2 = 1
Design a lead compensator for the given values of m and f m =
2
PROCEDURE:
1. Derive the transfer function for the Lead network given in figure 9.1.
2. For the given specification, i.e. for given m at given Fm, calculations of R1, R2 and C are
done.
3. Connections are made as per the figure 4.1 by 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.
7. Typical waveform is shown in figure 9.2.
TABULAR COLUMN:
V0
Frequency Output Gc ( j ) = 20log10 dB Gc ( j ) degrees
(Hz) V0 (Volts) Vi
EXPERIMENT NO - 5
RC LAG - LEAD COMPENSATING NETWORK
AIM:
Experiment to draw the Frequency Response of a given Lead-Lag Compensating
Network.
APPARATUS REQUIRED:
Function Generator, D.S.O, Decade Resistance Box, Decade Capacitance Box,
Multimeter, Patch Cords.
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.
ADVANTAGES OF PHASE LAG-LEAD COMPENSATION
1. Due to the presence of phase lag-lead network the speed of the system increases
because it shifts gain crossover frequency to a higher value.
CIRCUIT DIAGRAM:
PROCEDURE:
1) Derive the transfer function for the lag lead network given in figure 5.1.
2) Connections are made as per figure 5.1 by 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.
DESIGN:
Write the above circuit in Laplace form.
Vi ( s ) = ( Z1 + Z2 ) I ( s )
Where I ( s ) is the current in the circuit
Z1 = ( R1 || C1S )
1
Z2 = R2 +
C2 S
V0 ( s ) = Z2 I ( s )
V0 ( s ) Z2
=
Vi ( s ) ( Z1 + Z2 )
After simplification,
S + 1 1
GC ( S ) = S +
T1 T2
S +1 S +
T2 T
1
1
Where T1 = R1C1 , T2 = R2C2 , R1C1 + R2C2 + R1C2 = +
T2 T
TABULAR COLUMN:
TYPICAL CHARACTERISTICS:
Review Questions:
1 What is lag lead Compensation? Write the frequency response of it.
2 What is the importance of lag lead network?
3 Draw a pole zero plot of a lead compensator network?
4 What are dominant poles & zeros?
5 Draw the opamp based lead compensation network?
6 Draw a typical lag lead compensation network using opamp?
7 What is a lag compensator?
EXPERIMENT - 6
3) Adjust I, D to Zero.
4) For various values of P, measure Vf, Vi and Ve using meter provided on the kitand
note down the readings and tabulate.
TABULAR COLUMN:
P CONTROLLER (VARIABLE PROPORTIONATE GAIN)
Sl. No P Vi Vf Ve
1.
2.
3.
4.
Sl. No Vi Vf Ve
1.
2.
3.
4.
Sl. No D Vi Vf Ve
1.
2.
3.
4.
REVIEW QUESTIONS
1 What is a controller?
2 What is the difference between a compensator and controller?
3 Write a brief note about Proportional Controller?
4 Write a brief note about Derivative Controller?
5 Write a brief note about Integral Controller?
6 Write a brief note about PID Controller?
7 Compare the performance of PI and PD controller?
8 Which controller is used for improving the transient response of the system?
9 Which controller is used for improving the steady state response of the system?
10 What is the purpose of PID controller?
AIM:
To simulate the effect of P, PI, PD and PID Controllers on a given second order
1
system for a unit step input G (s )=
2
s +10s + 20
PROGRAM:
I) FOR STEP RESPONSE OF AN OPEN LOOP SYSTEM
num=1;
den=[1 10 20];
plant=tf(num,den);
step(plant);
The expected waveform from the simulation study is as shown in Figure 3.1
Kp
G (s ) = 2
s + 10s + (20 + Kp)
Let kp = 300;
kp=300;
contr=kp;
sys=feedback(contr*plant,1);
t=0:0.01:2;
step(sys,t)
The expected waveform from the simulation study is as shown in Figure 3.2
Figure 3.2 Step response of closed loop system with Proportional controller
OBSERVATIONS:
Rise time and steady state error has been reduced
Settling time has been reduced
Overshoot has increased
Let Kp = 300; Kd = 10
Kp=300;
Kd=10;
contr=tf([Kd Kp],1);
sys=feedback(contr*plant,1);
t=0:0.01:2;
step(sys,t)
The expected waveform from the simulation study is as shown in Figure 3.3
OBSERVATIONS:
Overshoot and settling time has been reduced
Kds2 + Kps + Ki
G (s ) =
s3 + (10 + Kd )s2 + (20 + Kp)s + Ki
Figure 3.5 Step response of closed loop system with PID controller
OBSERVATIONS:
No overshoot, fast rise time and no steady state error has been achieved with PID controller
EXPERIMENT NO - 8
CHARACTERISTICS OF AC SERVO MOTOR
AIM:
To study the Speed-Torque and Speed-Back e.m.f. characteristics of AC
Servomotor.
APPARATUS REQUIRD:
AC Servo Motor Kit, Patch Chords, Digital Multimeter
BLOCK DIAGRAM:
5) With load switch in OFF position, vary the speed of the Ac servomotor by varying the
control voltage and note down back EMF generated by the dc motor (Now working as
dc generator or tachogenerator). Enter the results in the Table.
6) Now with the load switch at OFF position, switch ON Ac servomotor and keep the
speed in the minimum position. You can observe that the Ac servomotor starts moving
with the speed being indicated by the tachometer. Now vary the control winding
voltage by varying the auto transformer and set the speed for maximum speed. Now
switch ON the load switch and start loading the AC servomotor by varying the load
potentiometer slowly. Note down the corresponding AC servomotor by varying the
load potentiometer slowly. Note down the corresponding values of Ia and speed and
enter these readings in the table. And also note down control voltage.
TABULAR COLUMN:
1) Speed, Back emf (Eb) Characteristics:
1.
2.
3.
4.
2.
3.
4.
5.
6.
7.
8.
MODEL GRAPHS:
The expected waveforms are shown in the Figure 8.2 and Figure 8.3
Figure 8.2 Back EMF vs Speed curve Figure 8.3 Torque vs Speed curve
REVIEW QUESTIONS:
1 What are the main parts of an AC servo motor?
2 What are the advantages and disadvantages of an AC servo motor over dc servo
motor?
EXPERIMENT- 9
STABILITY ANALYSIS (BODE, ROOT LOCUS) OF LTI
SYSTEM USING MATLAB
AIM:
To analyses frequency response of a system by plotting Root locus, bode plot
using MATLAB software.
RESOURECES:
MATLAB Software
PROCEDURE:
1) Click on MATLAB icon.
2) From FILE menu click on NEW button and select SCRIPT to open untitled
window
5) Run the program by clicking RUN button (or) F5 and clear the errors (if any).
6) Observe the output on the MATLAB Command Window and plots from figure
window.
PROGRAM:
num = 1
den = [1 8 36 80 0]
sys = tf(num,den)
rlocus(sys)
K ( s + 10)
G (s)H (s) =
s ( s + 20) ( s 2 + 2.4 s + 16)
Let K = 48
48 ( s + 10) 48s + 480
G (s)H (s) = =
s ( s + 20) ( s + 2.4 s + 16)
2
s + 22.4 s 3 + 64 s 2 + 320s
4
PROGRAM
BODE
PLOT:
OUTPUT:
THEORETICAL CALCULATION:
PHASE MARGIN:
1) For a given Transfer Function G(s), get G(jω) by placing s = jω.
2) Separate Magnitude and Phase terms from G(jω).
3) Equate magnitude of G(jω) to one and get ω value, this ω is called Gain Cross Over
Frequency (ωgc)
4) Substitute ωgc in place of G(jω), get the phase angle (φ).
GAIN MARGIN:
1) For a given Transfer Function G(s), get G(jω) by placing s = jω
4) Equate imaginary part to ZERO and get ω values, these values called Imaginary
7) This gain is called maximum Allowable Gain (Kmax) or Limiting value of the
Gain for stability.
TABULAR COLUMN:
Gain Margin (GM) and Phase Margin (PM) and
Maximum
Gain Cross Over Phase Cross Over
Specification Frequency (Wgc) Frequency (Wpc) allowable
Gain (Kmax)
From MATLAB
Theoretical
REVIEW QUESTIONS:
1) What is gain margin and phase margin?
2) What is gain cross over frequency and phase crossover frequency?
EXPERIMENT- 10
DC POSITION CONTROL SYSTEM
OBJECTIVE:
To simulate a DC position control system using MATLAB and obtain its step response.
RESOURCES:
MATLAB Software
THEORY:
A DC Position Control System is a type of feedback control system designed to control the
angular or linear position of a mechanical load using a DC motor as the actuator. The main goal is
to make the output shaft (or load) move to a desired position and stay there despite disturbances or
load changes. It is used in applications like antenna positioning, robotic arms, machine tools, and
servo mechanisms.
MATLAB simulation diagram is shown in the Figure 10.2 and Figure 10.3.