Professional Documents
Culture Documents
Research
University of Technology
Baghdad – Iraq
Control and Systems Engineering Department
Control Laboratory
Experiments Sheet
Second Class
Prepared by:
1)Asst.Prof.Dr. Hazem Ibrahim Ali
2)Asst.Lect. Bashar Fateh
3)Mr .Kareem Ali (B.Sc.)
4) Mr. Hussein Sarhan (B.Sc.)
2017
List of Contents
Experiment
Experiment
No.
1
POTENTIOMETERS
2
OPERATIONAL AMPLIFIERS
3
FIRST ORDER SYSTEM ANALYSIS
4
SECOND ORDER SYSTEM ANALYSIS
5
SIMPLE OPEN LOOP SPEED CONTROL SYSTEM
6
SIMPLE CLOSED LOOP SPEED CONTROL SYSTEM
12 SIMULATION OF DC MOTOR
POSITION CONTROLLER
CONTROL LAB.
EXP 1
POTENTIOMETERS
OBJECTIVE:
To become familiar with the Potentiometer characteristics and use
it as an angular position transducer.
To become familiar with error detector circuit using two
potentiometers.
The external load effecting on the linearity of the potentiometer.
EQUIPMENT REQUIRED:
The following units from MS150 module system must be used:
1. PS150 Power supply unit.
2. SA150 Servo amplifier unit.
3. IP150H Two rotary potentiometers.
4. Voltmeter.
INTRODUCTION:
(a) (b)
Figure (1-1)
1
CONTROL LAB.
Figure (2-1) show the rotary and linear potentiometers that used in
practice .
Where:
: output voltage (volts).
: input voltage (volts).
: maximum potentiometer angle (degree).
: angular position with respect to zero point (degree).
: potentiometer constant (volt/degree).
2
CONTROL LAB.
𝐸𝑜 𝑘𝑝 (𝜃 𝜃 )
APPLICATIONS:
Potentiometers are used in many devices such as radio to control audio
equipment, changing loudness, frequency attenuation, and other
applications.
PROCEDURE:
Part 1
1. Connect 15v D.C across the potentiometer input as figure (1-4).
Figure (1-4)
3
CONTROL LAB.
Table (1-1)
Vo Vo
Practical Theoretical
Part 2
1. Connect the two potentiometers as shown in figure (1-6).
Figure (1-6)
4
CONTROL LAB.
Table (1-2)
1 V1 V2 Error
Part 3
1. Connect the parts as shown in figure (1-7).
Figure (1-7)
5
CONTROL LAB.
Table (1-3)
Vo Vo Vo
RL=2K RL=5K RL=10K
DISCUSSION:
1. Comment on your results.
2. Derive the potentiometer output voltage
3. Are the static characteristics (V against Ɵ) passing through the origin?
Why?
4. Suggest some practical applications which use the potentiometer.
6
CONTROL LAB.
EXP 2
OPERATIONAL AMPLIFIERS
OBJECTIVE:
When you have completed this experiment you will:
- Know how an operational amplifier can be used to sum inputs.
- Be able to use an operational amplifier to scale an input and as a
gain control.
EQUIPMENT REQUIRED:
INTRODUCTION:
An operational amplifier (or an op-amp) is an integrated circuit (IC) that
operates as a voltage amplifier. An op-amp has a differential input. That
is, it has two inputs of opposite polarity. An op-amp has a single output
and a very high gain, which means that the output signal is much higher
than input signal. An op-amp is often represented in a circuit diagram
with the following symbol:
APPLICATIONS:
Operational amplifiers are high-gain amplifiers with a similar general
description typified by the most famous example, the LM741. The
LM741 is used for many amplifier varieties such as Inverting, Non-
inverting, differential, voltage follower and summing amplifier. In
1
CONTROL LAB.
Figure (2-1)
2
CONTROL LAB.
AND
BUT
THEN + =0
=- OR
Figure (2-2)
Then the output will be the sum of V1 and V2 each suitably scaled.
If then
3
CONTROL LAB.
We now have a device that can compare two voltages and unless one
voltage is exactly the opposite potential of the other, the amplifier will
have an output proportional to this difference.
PROCEDURE:
Figure (2-3)
4
CONTROL LAB.
Table (2-1)
practical theoretical
2. Gain control
Figure (2-4)
6. 5
CONTROL LAB.
Figure (2-4)
Table (2-2)
practical theoretical
6
CONTROL LAB.
DISCUSSION:
Note:
4. Write down a device that use op amp and then write the principle of
work with figures.
7
CONTROL LAB.
EXP 3
OBJECTIVE:
-To study the open and close loop control system and the difference
between them.
-To study how to determine the parameters of the transfer function i.e.
gain (k) and time constant (τ).
EQUIPMENT REQUIRED:
- MATLAB program.
INTRODUCTION:
Open Loop Control System: An open loop control system is the system,
in which the desired output is only depends on the input signal. If there is
disturbances in between, the output does not give any changes with
respect to this disturbances. An open loop control system is generally
known as system without feedback.
Example:
Driving the manual Car. Giving Accelerator on car gives the output
according to your foot thrush.
Closed Loop Control System: The closed loop control system is the
system, in which the desired output depends on the input and the
feedback element. If there is any disturbances occur in the system or it
may be outside, the system controller automatically changes with
respectively. This system is known as Feedback control system.
1
CONTROL LAB.
Example:
Driving the Car in Cruise mode. You are Giving Accelerator on car
and set the Speed as 100km it gives the output according to your foot
thrush first and keeping the Speed on 100km requires from CAR
computer as a Sample from Speedo meter / some sensors and it feed
back to the Computer. This will helps the Cruise run smoothly.
Figure (3-1)
2
CONTROL LAB.
Time constant t: it is the time required for the o/p ( y(t) ) to reach 63.2%
1
of its final value (steady state value) for a step input and τ . And it is
a
special for first order system only.
Settling time: the amount of time required for the system to reach and
4
stay within 2% of the final value. Ts .
a
The first order systems 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.
3
CONTROL LAB.
4
CONTROL LAB.
PROCEDURE:
Figure (3-3)
5
CONTROL LAB.
Figure (3-4)
Table (3-1)
Open loop system Close loop system
k Ess k Ess
0.5 0.5
1 1
2 2
DISCUSSION:
6
CONTROL LAB.
Figure (3-5)
7
CONTROL LAB.
EXP 4
SECOND ORDER SYSTEM ANALYSIS
OBJECTIVE:
To study the step response of second order closed loop system and determine the
dynamic characteristics maximum peak value (Mp), peak time (Tp), settling time
(Ts), rise time (Tr) and steady state error of the response.
EQUIPMENT REQUIRED:
MATLAB program
Introduction:
It is important to know the dynamic characteristics in control design because it
gives the user of control the ability to know how to specify, evaluate and test a
system so that it know it will have the desired properties. Specifications on a
control system typically include: stability of closed loop system, and ability to
follow reference signals.
Second order systems have transfer function of the following form:
Transient time response (Natural response) describes the behavior of the system in
its first short time until it arrives the steady state value and this response will be
our study focus.
1
CONTROL LAB.
If the input is step function the output or the response is called step time response
and if the input is ramp, the response is called ramp time response … etc.
3. Peak time Tp: is the time required for the underdamped step response
to reach the first maximum peak.
2
CONTROL LAB.
4. Rise time Tr: is the time required for the step response to go from
10% to 90% of the final value.
5. Steady state error: is the difference between the input and the output
of a system after the natural response has finished.
6. DC Gain: The DC gain is the ratio of the steady state step response to
the magnitude of a step input. For example if your input is step
function with amplitude = 1 and found the step response output = 5
then the DC gain = 5/1 = 5. In other words it is the value of the
transfer function when s=0.
Step response :
1. Underdamped response (0 1) :
In this case the response has an overshooting with a small oscillation
which results from complex poles in the transfer function of the system.
2. Critically response( 1 ):
In this case the response has no overshooting and reach 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.
3
CONTROL LAB.
3. Overdamped( 1 ) :
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.
4. Undamped response( 0 ) :
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".
4
CONTROL LAB.
K dc . n
2
a
G( s) 2
( s bs c) ( s 2n s n 2 )
2
Where:
Damping ratio
5
CONTROL LAB.
Note that the system has a pair of complex conjugate poles at:
a
DC Gain is K dc
c
Settling time
Peak time
√
PROCEDURE:
1. By using MATLAB program connect figure (4-1).
Figure (4-1)
6
CONTROL LAB.
Table (4-1)
K MP TP TS ξ Wn ξ Wn P1,P2
practice practice practice practice practice theoretical theoretical
DISCUSSION:
1. For the following system :
2
H ( s)
s 2n s 1
2
a. Let ωn = 1, Obtain the poles of the system for ξ = 0, 0.1, 0.7, 1, 5 and
guess the behavior of step response for every value with explanation.
b. Plot the step response for every ξ above and obtain the behavior of it
from the graph with explanation.
2. From the response in in fig (4-2) below, determine the values of MP ,Tp ,and Ts.
Fig (4-2)
7
CONTROL LAB.
EXP 5
SIMPLE OPEN LOOP SPEED CONTROL SYSTEM
OBJECTIVE:
When you have completed this experiment you will:
-Appreciate how a permanent magnet d.c motor may be controlled by
varying the magnitude and direction of its armature current.
EQUIPMENT REQUIRED
INTRODUCTION:
This experiment will illustrate the characteristics of the d.c motor used in
the Modular Servo and show how it can be controlled by the Servo
Amplifier .The motor is a permanent magnet
type and has a single armature winding.
Current flow through the armature is
controlled by power amplifiers as in figure (5-
1) so that rotation in both directions is possible
by using one, or both of the inputs.
Fig. (5-1)
1
CONTROL LAB.
Figure (5-2)
PROCEDURE:
PART1 (Armature Control)
1- Connect the parts as in fig (5-3).
3-change the selector of pot. In attenuator and record speed and vo in
table (5-1).
Note that:
w = kv*vi ⇒ kv = (rpm/v) .
2
CONTROL LAB.
Figure (5-3)
Table (5-1)
vi W Vo W (kv*vi)
practical practical theoretically
3
CONTROL LAB.
Figure (5-4)
Table (5-2)
load w vo
4
CONTROL LAB.
DISCUSSION:
1-comment on your result in part1 and part2
2-what happen when the i/p of motor is positive voltage and what happen
when the i/p is negative voltage?
Fig. (5-5)
5-Plot the Input voltages against speed, your results should be as in fig (5-
2).then Calculate the slope (input volts per thousand r/min).
6-plot the motor speed against the load according to table (5-2).
5
CONTROL LAB.
EXP 6
SIMPLE CLOSED LOOP SPEED CONTROL SYSTEM
OBJECTIVE:
- Know how a simple closed loop control system build and work.
- Know the effect of changing the gain and the load on the speed.
EQUIPMENT REQUIRED:
INTRODUCTION:
In this experiment we are going to deal in the same way with speed control as in
experiment 5 derives the dc motor characteristics and provides a curve of the
signal inputs into the servo amplifier against speed. This means that without any
load you can set the motor to run at a specified speed by determining the value of
the input signal with an open-loop system the results show that there can be
reasonable. Speed control when operating without or with a fixed load but the
system would be very unsuitable where the load was varying.
In this experiment we are going to show the improvement that can result from
closing the loop and using feedback. That is, the actual speed will be compared
with the required speed. . This produces an error signal to actuate the servo
amplifier output so that the motor maintains a more constant speed.
1
CONTROL LAB.
As first practical we will simply feedback a signal proportional to the speed, using
the Tachogenerator. We then compare it with a reference signal of opposite
polarity, so that the sum will produce an input signal into the servo amplifier of the
required value. As comparator, we will use an operational amplifier.
PROCEDURE:
Figure (6-1)
2
CONTROL LAB.
Figure (6-2)
Table (6-1)
Vi W Vo Control signal
(amp. o/p)
3
CONTROL LAB.
B-WITH LOAD
1-Set Vi =1v.
2- Apply the load on the system of figure (6-1) as illustrated in table (6-2).
3-We notice that the value of speed and voltage approximately constant with
presence of error because of feedback.
Table (6-2).
load W Vo Control signal
(amp. o/p)
2
10
For again control we can use the circuit of fig (6-3) ,which has again of -1/α
Figure (6-3)
4
CONTROL LAB.
Figure (6-4)
Table (6-3)
Vi W Vo Control signal
(amp. o/p)
5
CONTROL LAB.
Figure (6-5)
B-WITH LOAD
1-Set Vi =1v.
2- Apply the load on the system of figure (6-6) as illustrated in table (6-4).
*We notice that the value of speed and voltage approximately constant without
error(error=0) because of feedback and gain=10.
*to calculate error we should subtract the inputs of op-amp and not from the output
because it multiplied by gain = 10.
6
CONTROL LAB.
Figure (6-6)
Table (6-4)
load W Vo Control signal
(amp. o/p)
7
CONTROL LAB.
DISCUSSION:
2. Plot your results In the form of graphs of Error voltage against Brake Setting and
Speed against Brake Setting for gain values of 1 and 5.
3. Compare the mean regulation for a gain of 1 to that of 5 by using the changes of
speed that occur for changes in torque from brake positions 0 to the current limit
of 2A.
4. What do you think would happen if you continued to increase the motor load
and what conclusions do you draw from your observation?
8
CONTROL LAB.
EXP 7
CONTROLLING THE SPEED OF DC MOTOR
USING PID CONTROLLER
OBJECTIVE:
When you have completed this experiment you will:
EQUIPMENT REQUIRED:
INTRODUCTION:
This experiment is to develop proportional integral derivative (PID)
voltage control to control the speed of a DC motor.
There are three reasons that make PID control to be an important control
tool. It is very simple in use, available everywhere and it has a successful
history. The table below shows the behavior of Kp ,Ki and ,Kd value, if
they increase. Regarding to the manual relationship between these
parameters, these correlation may not be so accurate. Actually, altering
one of these parameters, may affect the amount of changing of the others.
Therefore, the application of this table is only possible for the
1
CONTROL LAB.
PROCEDURE:
PART1-TRACKING
2
CONTROL LAB.
*when we use pid controller the o/p must be equal to the input.
Figure (7-2)
3
CONTROL LAB.
Table (7-1)
Vi W Vo Control signal
(amp. o/p)
PART2-LOADING
1-Set Vi =1v.
*We notice that the value of speed and voltage are constant without error
because of pid controller.
*when we change load we notice that not only voltage change but also
control signal.
4
CONTROL LAB.
Figure (7-3)
Table (7-2)
load W Vo Control signal
(amp. o/p)
10
5
CONTROL LAB.
DISCOSSION:
Then determine the (MP,TS,TP) before and after adding the controller.
3-describe what happen to the (MP,TS,TP) after adding the controller and
which response is better ? why?
6
CONTROL LAB.
EXP 8
CLOSED-LOOP POSITION CONTROL SYSTEMS
USING PI CONTROLLER
OBJECTIVE:
When you have completed this experiment you will:
- Have observed the action of a simple motor driven closed-loop
position control system
EQUIPMENT REQUIRED
INTRODUCTION:
In a position control system it is of great importance that there should be
a smooth stop at any required position. If there is an overshoot then there
must be a reverse movement to compensate. If movement is rapid where
the system gain is high, it's because very difficult to get smooth, accurate
arrest. Indeed, the correcting movement might also produce an overshoot
that will again need correction and in an extreme case a system could be
moving to and across a required position is a state of instability
1
CONTROL LAB.
PROCEDURE:
Figure (8-1)
Notice that if vi=12.5 v the motor will vibrate because it will be out
of the linearity rigion and jump from +12.5 to -12.5
2
CONTROL LAB.
Table(8-1)
Vi Vo
(o/p pot.)
𝞱o
Figure (8-2)
3
CONTROL LAB.
Table (8-2)
vi Ki=0 (out) Ki=1 (in)
error V0 error V0
DISCUSSION:
2. State the range of voltage that you think the inputs should be kept.
3. What is the applications of position control?
4
CONTROL LAB.
EXP 9
ROOT LOCUS
OBJECTIVE:
1- To locate the closed loop poles in s-plane.
2- To investigate the closed loop system stability.
EQUIPMENT REQUIRED:
- Matlab program
INTRODUCTION:
This method is used for determining the stability of the given system.
Now in order to determine the stability of the system using the root locus
technique we find the range of values of K for which the complete
performance of the system will be satisfactory and the operation is stable.
PROCEDURE:
Figure (9-1)
1
CONTROL LAB.
Table (9-1)
k Ys.s MP Tp Ts
0.25
0.5
4-search about the value of gain when k=(0.25, 0.5, 1) in the draw of root
locus then record the information of each case.
DISCUSSION:
( )
( )( )( )
2
CONTROL LAB.
EXP 10
Tuning process control
OBJECTIVE:
To apply the Ziegler and Nichols method for tuning a PID controller.
INTRODUCTION:
1
CONTROL LAB.
Figure (10-1)
Figure (10-2)
GAIN, PB=1.66(PB*)
2
CONTROL LAB.
Figure (10-3)
Figure (10-4)
3
CONTROL LAB.
PROCEDURE:
Figure (10-5)
Vary the value of K until you get oscillation response and find the
value of( kp,ki,kd) by using the following steps:
A- Find To and Kc .
B- PID = Kp(1+ + Kp S)
C- Ki = ,Kd = Kp S
D- Kp =0.6*Kc , Ti = To*0.5 , Td =To*0.155
Figure (10-6)
4
CONTROL LAB.
DISCUSSION:
5
CONTROL LAB.
EXP 11
TRANSFER FUNCTION OF A DC MOTOR
OBJECTIVE:
• To determine the transfer function of a DC Motor.
• Interaction between mechanical and electrical quantities of a
motor.
• Measuring time response of a DC motor and comparing with time
response obtained through transfer function.
EQUIPMENT REQUIRED:
MATLAB PROGRAM
INTRODUCTION:
Figure (11-1)
1
CONTROL LAB.
2
CONTROL LAB.
PROCEDURE:
3
CONTROL LAB.
Table (11-1)
kp ki ts
Discussions:
1. What are the effects of increasing and decreasing the gains of kp , ki ,
kd ?
4
CONTROL LAB.
EXP 12
SIMULATION OF DC MOTOR POSITION CONTROLLER
INTRODUCTION:
EQUIPMENT REQUIRED:
-MATLAB PROGRAM
PROCEDURE:
1
CONTROL LAB.
2
CONTROL LAB.
3-Set the following : Step time=0 , stop time =0.5 , sample time =0.01.
pi
pd
pid
DISCOSSION: