Control Lab Manual TPS-3011
Control Lab Manual TPS-3011
Process Control
TPS-3011
2_15
www.ses.co.il
I
Contents
Preface .........................................................................................................................III
Chapter 1 – Introduction to Control Systems ............................................................ 1
1.1 Control systems and systems control ............................................................... 1
1.2 Regulation and control systems ........................................................................ 2
1.3 Dual stage, multi stage and continuous control ................................................ 5
1.4 Amplification and P controller ......................................................................... 7
1.5 Transmission .................................................................................................. 10
1.6 Disturbances of the controlled variable - open loop and closed loop control 12
1.7 Dynamic response of control systems ............................................................ 13
1.8 Control system archetypes.............................................................................. 17
Experiment 1.1 – Open Loop DC Motor P Control 19
1.1.1 DC motor control and rotation measurement ................................................. 19
1.1.2 DC motor load response ................................................................................. 20
1.1.3 DC motor speed response and status .............................................................. 20
Experiment 1.2 – Open Loop Light P Control 27
1.2.1 Light control using lamp, amplifier and LDR photo-resistor ......................... 27
Experiment 1.3 – Open Loop Temperature P Control 31
1.3.1 Temperature control using lamp, amplifier and NTC thermistor ................... 31
Experiment 1.4 – Open Loop Level P Control 35
Chapter 2 – Bi-Stage Amplifier ................................................................................. 39
2.1 Two position controller .................................................................................. 39
2.2 Three range control with two position controller ........................................... 40
2.3 Thermostat as an area range 2-position temperature control ......................... 43
Experiment 2.1 – Dual Stage Control of a DC Motor 45
Experiment 2.2 – Dual Stage Light Control 51
Experiment 2.3 – Dual Stage Temperature Control 56
Chapter 3 – Negative Feedback ................................................................................. 60
3.1 Negative feedback in control system.............................................................. 60
3.2 Analysis of the transfer function and the amplification formula.................... 63
3.3 Gain and Proportional .................................................................................... 67
3.4 Steady state and steady state error (static method)......................................... 68
3.5 Transient response, dynamic reaction and time constant ............................... 71
3.5.1 Motor-Dynamo system behavior .................................................................... 72
3.5.2 General differential equator and its solution .................................................. 73
3.5.3 Level control concordant with capacitor charging ......................................... 77
3.5.4 Position control............................................................................................... 78
3.5.5 Temperature control ....................................................................................... 79
3.5.6 Summary ........................................................................................................ 80
SES
II
SES
III
Preface
There are many types of control systems. In the past, most control systems
were realized using dedicated electromechanical or electronic systems.
Each system had its own specially built circuit to control it. The most
advanced system of this kind is called an Analog Computer. This
computer consists of a group of modules interconnected in different ways.
Each module has a different function - amplification, attenuation, summing,
subtraction, integration, differentiation etc. Each module is a dedicated
electronic circuit.
The trainers come in a metal case with a wide experiments board. The
experiments area is divided into modules with test-points.
The actual electronic devices are located at the upper and lower parts of
each circuit and are protected by a hard and transparent polycarbonate
cover. In this way, the experiments combine principle modules with the
possibility of going deeper into the circuit and component level.
SES
IV
Step motor.
Motor - dynamo for speed control.
Lamp - thermistor for temperature control.
Lamp - light sensor for light control.
Elevator simulator.
Traffic lights simulator.
Switches.
Pushbuttons.
Connecting points for the PLC.
Digital and analog computerized I/O unit.
SES
V
Experimenting method:
The TPS-3011 training system is a stand-alone system. It comes with
external power adapter and includes main operating switch.
The experiments require using test equipment such as Voltmeter and two-
channel oscilloscope. We can use such standard laboratory test equipment.
In this case, the trainer can be operated (including changing the trainer's
reference voltages) manually.
The experiments direct you to measuring equipment. You can use standard
equipment or the SESCOPE software and the SESLAB unit of the trainer.
The software is aimed to operate with different trainers and adapts the
panel window to the connected training system.
To run the SESCOPE software you have to double click on this icon.
SES
VI
Step 6: Set the number in the OPEN COM field according to your
communication channel number in the computer.
SES
VII
The screen updates and adapts itself to the type of the trainer.
In this case, you should exit the SESCOPE program and run it
again.
Step 11: The program remembers the last communication channel you
opened.
SES
VIII
Step 12: The SESLAB unit includes two analog inputs of the oscilloscope
(IN1 and IN2) and two variable reference voltage outputs. At
manual state, the reference voltages (Vref1 and Vref2) are set
with the two potentiometers located near these voltage outputs.
Step 13: Connect the variable reference voltages outputs (Vref1 and Vref2)
to the two SESCOPE inputs (with 2 banana wires) of the
SESLAB.
Step 14: The SESCOPE screen includes fields and buttons for changing
the time base, the type of trigger and the level trigger.
Step 15: The software enables to determine the Level Trigger and its
options (Free, Rise, Fall). Identify these buttons and fields.
Step 16: The program shows channel 1 (CH1), channel 2 (CH2) or both.
The screen can also display the spectral analysis of the sampled
signal in channel 1 (CH1 SPC). Selecting this function cancels
CH2.
SES
IX
Step 17: Sampling the signals and displaying them can be done in two
ways – One Cycle or Free Run.
In One Cycle, the PC asks the trainer to perform one sample
cycle and transmit it. The SESCOPE will display the information
on the screen.
In Free Run, the PC asks the trainer to perform one sample cycle
and transmit it. After receiving the information, the SESCOPE
will display it on the screen and asks for another sample cycle
from the trainer.
In every sample cycle request, the PC transmits the required
sample rate to the trainer (according to the time base) and the
trigger level.
The PC also informs if two channels or one channel should be
sampled.
Note:
The amount of samples in each sample cycle is 100.
With TPS-3011 you can do the sampling only in Chopper
(Chop.).
In the Chopper state, the SESLAB controller samples the two
channels simultaneously. In this case, the controller gives 50
samples to each channel. The sample rate for a channel is
also smaller by half. The quality of the sampling and the
display is not so good, but shows how the signals react to each
other on the time axis.
The synchronization is done according to channel 1 (CH1).
In the Alternate state, the controller synchronizes on channel
1, sample it and transmit it. Afterwards, the controller
synchronizes again on channel 1, sample channel 2 and
transmit it.
The signal picture, in this case is in maximum quality.
If the two signals are cyclic, they will also be synchronized to
each other.
Select the Chopper mode.
SES
X
Step 18: Set the SESCOPE to Free Run and observe the signals on the
screen.
The square wave is unstable because the SESLAB does not wait
for trigger level.
Step 19: Change Vref1 and Vref2 with the voltage bars and observe the
signals on the screen.
Step 20: Change the time base to 20ms/cm and check the reaction to
Vref2.
Step 21: Change the trigger mode to Fall and to Rise and observe the
signals.
Note:
Two marker lines, green and yellow will appear on the screen.
Step 24: You can move each line separately to the right or the left with the
arrows buttons.
The software calculates the time between the two lines and the
frequency according to f 1 .
T
SES
XI
Step 25: Change the reference voltages rulers and observe the screen
reaction.
SESLAB in Manual:
When we change the manual/Auto switch to manual, the trainer's controller
ignores the communication with the computer. Instead, it samples the two
potentiometers on the panel and changes the reference voltages accordingly.
Step 28: Turn the system off and then turn it on.
Step 29: Change Vref1 potentiometer and observe its effect on the
voltmeter lights.
Step 31: Change Vref2 potentiometer and observe its effect on the
voltmeter lights.
Recap
The trigger voltage level control sets the voltage at which the trigger fires.
Changing this voltage changes the point on the waveform where the time
base starts and varying the oscilloscope trigger voltage point. It can be
seen that by altering the trigger voltage, the position on the waveform is
varied.
SES
1
SES
2
The difference between control and regulation is in the method used for
regulation.
Example:
Voltage
Lamp
Source
Figure 1-1
SES
3
Switch
Voltage
Lamp
Source
Figure 1-2
The switch allows us to break the current through the lamp as required.
This system will become a control system if we use a relay in this way:
Control
System
Relay
Voltage Lamp
Source
Figure 1-3
When the control system sends current through the electromagnet, this
causes the relay switch to close and the light goes ON. The current required
to operate the relay is different from that required by the lamp (usually
much smaller).
We could replace the lamp with a motor, and/or change the voltage source
to an AC source in place of the DC source, but the principle is quite clear.
SES
4
Rheostat
Voltage
Lamp
Source
Figure 1-4
Rheostats tend to heat up under large currents and must be designed for this.
These are large and cumbersome components.
+ Amplifier
-
Voltage
Source Lamp
Potentiometer
Figure 1-5
In this book, we will relate to control systems so that we can deal with
automatic process control.
SES
5
Selector
Figure 1-6
SES
6
Figure 1-7
c) Continuous control:
In this case, the controlled system can receive any required value within a
given range. A tap is one example of a continuous control system, so is a
car steering mechanism or power steering and so on. In electrical systems,
to regulate as mentioned before, we use potentiometers, which are variable
resistors, motors or other devices, and not rheostats as in the past.
SES
7
Vin A Vout
Figure 1-8
The amplifier and the amplification are symbolized with the letter A. The
amplification is the ratio of the output to the input.
Vout
A
Vin
I out Vout
Current Gain AI = Voltage Gain AV =
I in Vin
Figure 1-9
SES
8
Ii Io
Vi n1 n2 Vo
Vo n2 Io n2
Av Iv
Vi n1
Ii n1
Figure 1-10
There are also power amplifiers, which amplify the energy of a signal. Due
to the law of conservation of energy, it is necessary to provide an external
power source in addition to the input signal.
Ii Io
V Vi AV Vo
Figure 1-11
In this system, the input signal consists of a low voltage and a low current,
and both these parameters are amplified. The power is the product of the
voltage and the current. A power amplifier increases both these parameters
but the additional energy is drawn from an external power source - the
voltage source in figure 1-10.
SES
9
F1 F2
Narrow Wide
Piston Piston
Figure 1-12
The force amplification depends on the ratio of the surface areas of the
pistons.
F1 S 2
A
F2 S1
SES
10
1.5 Transmission
The term amplification is used to describe the ratio between the magnitude
of an output signal and an input signal of the same kind - voltage, current,
power, force etc. Amplification is a scalar value having no units.
Occasionally we need to know the ratio of signals, which are not the same.
This ratio is called the "Transfer Function" and is usually symbolized with
the letter G (Gain).
VE m / sec m
GE
rad / sec rad
Vm
AV
Vi
SES
11
Figure 1-13
The total transference T is the ratio of the elevator speed and the input
voltage Vi, and can be found in the following way:
Vm
AV Vm Vi A V
Vi
Gm Vm G m Vi A V G m
Vm
VE
GE VE G E VE Vi A V G m G E
V
T E AV Gm GE
Vi
T AV Gm GE
AV 1(Scalar )
rad / sec
Gm
Volt
m / sec
GE
rad / sec
rad / sec m / sec
T 1
Volt rad / sec
SES
12
m / sec
T
Volt
This is not entirely accurate. The behavior of the elevator also depends on
additional factors - the number of passengers in the elevator, if it is going
up or down etc. It is obvious that the elevator speed will fluctuate if we
maintain a steady input voltage and vary these disturbing factors.
In almost every control system, there are parameters which interfere with
the consistent behavior of the controlled variable. For example, the
temperature of an oven will vary depending on the ambient temperature or
on whether the oven door is slightly open or tightly shut.
Ambient light interferes with the constant light level of a light intensity
control system at different times of the day.
SES
13
The stable condition of the system is called the Steady State. The steady
state values are important, but it is equally important to know how the
system reached this condition i.e., its response. The system response until it
stabilizes is called a Transient Effect or Transient Response.
SES
14
High High
OR
Low Low
t1 t1
Figure 1-14
Up to time t1, the input signal is at one level. At t1, the reference voltage is
changed instantaneously. For example, let's assume that we provide an
input voltage V1=0V up to t1. At t1 we raise the input voltage to a high
value V2. The motor will accelerate until, after some time, it reaches the
speed, which corresponds with V2.
Vi
Motor Input
Voltage
t
t1
Motor Speed
t
t1
Figure 1-15
SES
15
SES
16
Vi
Voltage to
Motor
t
t1
Motor Speed
t
t1
q
Flow
Capacity
t
t1
h
Level in
Tank
t
t1
Figure 1-16
The water level in the tank rises linearly when the flow capacity stabilizes.
SES
17
There are also totally dedicated industrial control systems. These systems
perform a more or less complex control function for a specific control
system. For example, greenhouse controllers, henhouse controllers, air
conditioning controllers, energy controllers etc.
All control systems have inputs and outputs. The output is a function of the
input and the transfer function. It may also be a function of itself - in this
case, we take a feedback signal from the output to the system input. The
clearest and easiest way to analyze processes and control phenomena is to
use a Control Diagram. Control diagrams describe something resembling
an analog computer in block form, according to its modules. The modules
compose the system's general control function.
Amplifier
Vi A = 1.5 Vo
Figure 1-17
SES
18
This book will relate to a unique control system based on a PC. With this
system, we can compose different control diagrams on the computer screen.
We will define inputs and outputs. The computer will sample the inputs,
process them according to the control function described by the diagram on
the screen, and output the processed result. This is really an analog
computer realized digitally. Today this is the conventional method for
realizing analog computers and process control. This method also allows us
to store data, process it graphically, and analyze the various processes.
SES
19
Objectives:
Operating a DC motor with reaction to voltage reference.
Measuring speed with a dynamo.
Creating a mechanical load on a DC motor and testing the influence
on its speed (retarding the controlled parameter).
The motor-dynamo reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
SES
20
More power is now required to turn the dynamo. The mechanical load on
the DC motor, which drives the system, increases or decreases relatively to
the position of the variable resistor. By pressing the pushbutton and
changing the position of the resistor, we create a variable disturbance of the
controlled parameter, which is the motor speed. We will observe how the
system reacts to this.
Electrical measurements:
In the following experiments, we will measure the DC (Direct Current)voltages.
These measurements can be taken with a simple voltmeter.
The digital voltmeter is the modern solid state device capable of measuring the voltage
and displaying the value in digitized form with high accuracy. The panel voltmeter
measures the voltages and display calibrated values from negative to positive numbers
attached to LEDs representing each voltage value.
These measurements can also be taken with the SESCOPE software, asdescribed
in the preface. If you are going to use the SESCOPE software formeasuring, first
perform the exercise described in the preface beforeexecuting the following
experiments.
SES
21
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Power
SESLAB Motor
Amplifier
M+
Vref1 A M
M-
You can see that only on a certain voltage the motor starts to
rotate.
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
SES
22
Step 12: Raise the amplifier gain gradually, while measuring the amplifier
output voltage and stop when the voltage reaches 4.5V.
Step 13: Change Vref1 until the amplifier output voltage is 0V.
Step 14: Raise Vref1 slowly and find out on which voltage level at the
power amplifier output the motor starts rotating.
Is this voltage level the same as the one you measured at step 12,
smaller or bigger?
Step 16: We will now measure the motor speed, using the dynamo.
Vref1 A M D
Voltmeter
Step 17: Raise and lower the Vref1 and observe how it affects the motor
speed and the dynamo voltage.
Step 18: Make a white mark on the rubber band, which couples the
dynamo to the DC motor.
SES
23
Step 19: Count the number of revolutions per minute for different values
of power amplifier output voltage and especially for the dynamo
output voltage.
Step 20: Change the Vref1 step by step, measure (with a multitester) VP,
VD and , and fill in the following table:
VP Power 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
Output
Voltage
VD Dynamo
Voltage
Speed
RPM
Gm Motor
Gain
Note:
Step 21: Calculate the Gm for every step and add it to the table.
ω
Gm
VP
RPM
0 VP V
0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
SES
24
Step 24: Measure (count) the speed of the motor in RPM (Rounds Per
Minute).
Step 25: Continue this way and fill in the following table:
Step 26: Beneath the motor there is a load module with a variable resistor
(potentiometer) and an ON/OFF switch.
Voltmeter
Load
SES
25
Step 31: Repeat steps 27-30 with different voltages of the dynamo.
Step 32: Connect the power amplifier input to the Vref2 output instead of
the Vref1 output.
Step 33: Connect the SESCOPE CH1 probe to the amplifier output.
Step 34: Connect the SESCOPE CH2 probe to the dynamo output (D+).
Step 35: If you use the SESLAB SESCOPE and SESCOPE software, set
the time base to 50ms/cm.
SES
26
Step 40: Rotate the LOAD potentiometer and draw the signals on various
loads.
SES
27
Objectives:
Operating a lamp in reaction to voltage reference.
Measuring the light intensity with a light sensor.
Variations in the ambient light and their influence on the measured
light.
The lamp and light dynamic reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
1.2.1 Light control using lamp, amplifier and LDR
photo-resistor
In this experiment, as in the previous experiment we will connect the Vref1
of the SESLAB to the power amplifier input and the power amplifier
output to a lamp. In this way, rotation of the potentiometer will influence
the light intensity of the TPS-3011's incandescent lamp to vary.
Light reaches the sensor from the surrounding environment as well as from
the lamp, so that ambient light is effectively a disturbance of the controlled
variable, which is the light intensity. In this experiment, we will observe
these phenomena and analyze them.
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Power
SESLAB Lamp
Amplifier
L+
Vref1 A L
L-
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
Step 12: Raise the amplifier gain gradually, while measuring the amplifier
output voltage and stop when the voltage reaches 4.5V.
Step 13: change Vref1 until the amplifier output voltage is 0V.
SES
29
Step 14: We will now measure the light intensity, using the photoresistor.
Step 15: Raise and lower the Vref1 and observe how it affects the lamp
and the photoresistor voltage.
Step 16: Change the Vref1 step by step, measure (with a multitester) VP
and PPT, and fill in the following table:
VP Power 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
Output
Voltage
VPT Phototransistor
Voltage
GPT Gain
Step 17: Calculate the GPT for every step and add it to the table.
VPT
G PT
VP
VPT V
0 VP V
0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
Step 20: Connect the multitester probes between the PT terminal and GND.
Step 21: Insert a white paper between the photoresistor and the lamp.
SES
30
Step 22: Insert another paper between the photoresistor and the lamp.
Step 23: Take out the papers between the lamp and the photoresistor.
Step 24: Connect the power amplifier input to the Vref2 output instead of
the Vref1 output.
Step 25: Connect the SESCOPE CH1 probe to the amplifier output.
Step 26: Connect the SESCOPE CH2 probe to the lamp output (L+).
Step 27: If you use the SESLAB SESCOPE and SESCOPE software, set
the time base to 50ms/cm.
SES
31
Objectives:
Operating an incandescent lamp in reaction to the voltage reference.
Measuring temperature with a temperature sensor.
The influence of ambient conditions on the temperature sensor.
The lamp-thermistor reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
The environment also affects the thermistor. We will cool it down and
watch its reaction to this disturbance.
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
L-
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
If you use the SESCOPE software, connect the amplifier output
to the CH1 input and perform the measuring as described in the
preface.
Step 12: Raise the amplifier gain gradually, while measuring the amplifier
output voltage and stop when the voltage reaches 4.5V.
Step 13: change Vref1 until the amplifier output voltage is 0V.
SES
33
Step 14: We will now measure the light intensity, using the photoresistor.
Step 15: Raise and lower the Vref1 and observe how it affects the lamp
and the thermistor voltage.
Note:
Step 16: Change the Vref1 step by step, measure (with a multitester) VP
and VTH, and fill in the following table:
VP Power 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
Output
Voltage
VTH Thermistor
Voltage
GTH Gain
Step 17: Calculate the GTH for every step and add it to the table.
VTH
G TH
VP
VTH V
VP V
0
0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
SES
34
Step 20: Connect the multitester probes between the TH terminal and
GND.
Step 21: Touch the thermistor with a metal ruler or a cold met al
instrument. Don’t push it.
Step 22: disconnect the power amplifier from the lamp and let it cool for 2
minutes.
Step 23: Connect the power amplifier input to the Vref2 output instead of
the Vref1 output.
Step 24: Connect the SESCOPE CH1 probe to the amplifier output.
Step 25: Connect the SESCOPE CH2 probe to the lamp output (L+).
Step 26: If you use the SESLAB SESCOPE and SESCOPE software, set
the time base to 50ms/cm.
Step 27: Connect the power amplifier output to the lamp (L+).
There is no reaction to the step signal because the lamp and the
thermistor do not have enough time to cool.
SES
35
Objectives:
Level control in reaction to voltage reference.
Level measurement.
The influence of the level drop on the system.
The level control system in reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
A level control system is an accumulating system. It comprises a motor that
raises the level (a pump motor for example). Stopping the motor does not
restore the controlled variable (the level) as in light control, speed control
or temperature control.
The motor should rotate to the other direction in order to lower the level,
unless the tank is emptying from another direction.
The motor voltage determines the level raising rate.
The level control system in the TPS-3011 is an electronic system that
simulates level control.
The system includes a voltage input that simulates the voltage to the pump
motor. A positive voltage raises the level and a negative voltage lowers it.
The level is represented by a line of lights and by a voltage output.
The level control system has two modes of operation: fast and slow.
The system also includes two connecting points for connecting a drift
element that symbolizes the emptying of the thank
The drift element is the trainer LOAD resistor.
SES
36
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 6: Connect the multimeter probes to the level control output (OUT).
Step 7: Connect the power amplifier output to the level control system
input.
Vref1 IN Level
Step 9: Change Vref1 up and down and observe how it affects the level.
Step 10: Connect the level output (OUT) to the trainer voltmeter input.
Vref1 IN
Level
OUT
Voltmeter
Step 11: Change Vref1 up and down and observe how it affects the level.
SES
37
Step 13: Change Vref1 up and down and observe how it affects the level.
Step 14: Connect the power amplifier input to the Vref2 output instead of
the Vref1 output.
Step 15: Connect the SESCOPE CH1 probe to the amplifier output.
Step 16: Connect the SESCOPE CH2 probe to the level control output
(OUT)
Step 17: If you use the SESLAB SESCOPE and SESCOPE software, set
the time base to 50ms/cm.
Step 18: Connect the power amplifier output to the level control system
input.
Vref1 IN Level
Step 19: Although the level control system receives a step signal, it stucks
at the maximum level.
SES
38
Step 20: Now you should have a reaction to the step signal.
The wave frequency is lower and the level oscillations are higher.
SES
39
In a street lighting control system, a light sensor measures the ambient light.
When the light level drops below a certain value, the lights are switched
ON. They are switched ON all at once and not gradually. This system has
two operating states - ON and OFF. The light sensor is placed so that the
street lighting or direct sunlight will not affect it. When the sun shines
again, and the level of light ascends over the reference light value, the
lights are switched OFF.
The amplifier we use in this case is called a comparator. It has a very high
gain and has two comparator inputs.
- Ve
Vi A Vo
+
VR
Figure 2-1
If Vi < VR then Ve > 0 and, once again due to the high gain, Vo will rise to
its maximum value - the ON state.
The problem arises when Vi VR. Due to fractional changes in the ambient
light level, which are totally acceptable, Vi will fluctuate around VR,
sometimes larger and sometimes smaller. Vo will change its condition from
ON to OFF and back again. Now imagine a lighting system with thousands
of lamps switching ON and OFF rapidly. This would quite obviously cause
havoc with the power supply and the condition of all the equipment.
SES
40
- Ve
Vi A Vo
+
VR
+
Vo
Figure 2-2
Ve = VR + Vo - Vi
A
= 0.4
VR = 1V
Ve = VR + Vo - Vi
This will drive Vo to ON, i.e. Vo = 5V and Vo = 2V.
SES
41
Now, so that Ve will be smaller than zero, Vi must increase and be greater
than 3V (VR + Vo = 1 + 2 = 3V).
Ve < 0
The system now has two threshold voltages - upper and lower (in our
example 3V and 1V). When the input voltage increases above the upper
threshold, and the system output condition changes, the threshold voltage
changes and goes low. In order for the system output condition to change
again, the input voltage must be lowered considerably so that it descends
through the lower threshold. This change is unlikely to take place simply
from random borderline fluctuations - a real change in the input value is
required.
Vo
VON
VOFF
Vi
V1 V2
Figure 2-3
SES
42
b) When Vi increases the system will change its state (Vo = VOFF) only
when Vi > V2 (in our example 3V).
d) If Vi decreases, the system will change its state (Vo = VON) only when
Vi < V1 (in our example 1V), and we find ourselves back at (a).
This diagram has two changeover points, which take care of the system's
immunity to "chatter" (noise) around the changeover points.
There are ready made Schmitt Triggers available. They are often
symbolized like this:
Figure 2-4
SES
43
Examples:
a) Lighting Control – An ambient light sensor to control street lighting
or greenhouse lighting.
Set Screw
Bi-Metal
Contacts
Voltage Heating
Source Spring Contact Element
Figure 2-5
When the system is cold, the bi-metal strip is straight and current flows
through the contacts and the heating element heats the oven. The bi-metal
strip bends upwards gradually as it heats up until the contact is broken. The
current through the element ceases and the oven begins to cool. It must
cool down some before the bi-metal strip unbends enough to remake the
contact.
The set screw lets us set how far the bi-metal strip must bend to break the
contact, and so sets the break and makes temperatures (which are not the
same).
SES
44
V2 V1 W L W
SES
45
Objectives:
Analyzing the behavior of the Dual stage amplifier.
Using a Schmitt Trigger amplifier to control a DC motor.
Speed control with a Bi-Stage amplifier and feedback.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment, we will analyze the Bi-Stage Amplifier. We will
connect its input to Vref and see how Vref affects its output. We will also
check how the parameters of the amplifier are affected by the L and W
potentiometers.
Vref M
Figure 2-6
Examples:
SES
46
In Bi-Stage Amplifier control system, we usually take care that the system
sensor should not be affected by the system output.
SES
47
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Bi-Stage
SESESL
Amplifier
AB
Vref1
Step 10: Lower Vref1 slowly until the Bi-Stage Amplifier output change
to voltage close to +5V.
SES
48
Step 12: Connect the multitester probe back to the Bi-Stage Amplifier
output.
Step 13: Raise Vref1 slowly until the Bi-Stage Amplifier output voltage
changes back to –5V.
Step 16: Repeat steps 9-14 and write down the V1 and V2 of this state of
the potentiometer (Lmed, Wmin).
Step 18: Repeat steps 9-14 and write down the V1 and V2 of this state of
the potentiometer (Lmed, Wmed).
Step 20: Repeat steps 9-14 and write down the V1 and V2 of this state of
the potentiometer (Lmin, Wmed).
Step 22: Connect the Bi-Stage Amplifier output to the motor M+ terminal.
Think why.
SES
49
Bi-Stage
SESLAB Motor
Amplifier
Vref1 M
-5V
Step 24: Change Vref1 up and down and observe how it affects the motor.
Bi-Stage
SESLAB Motor Dynamo
Amplifier
Vref1 M D
D+ D-
-5V Voltmeter
Step 26: Raise and lower the Vref1 and observe how it affects the motor
speed and the dynamo voltage.
Step 30: Connect the D+ of the Dynamo to the Bi-Stage Amplifier input.
Bi-Stage
Motor Dynamo
Amplifier
M D
D-
-5V
SES
50
Step 31: Change the L potentiometer until the motor turns ON.
Step 32: Observe with the SESCOPE the signals at the amplifier input
(coming from the dynamo) and at the amplifier output (goes to
the motor).
Step 33: Change the L and the W potentiometers and observe how it
affects the motor speed and the amplifier signals.
SES
51
Objectives:
Using a Schmitt Trigger type amplifier for light control.
Light control using Bi-Stage amplifier and feedback.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment we will use a light sensor and the Bi-Stage Amplifier in
order to control the lamp.
+5V
Light
Sensor
Figure 2-9
The light sensor is called a photoresistor, i.e. a light sensitive transistor. Its
resistance varies according to the light that falls on it. As more light falls on
it, its resistance drops and it drives a stronger current through the resistor R.
The voltage on the resistor rises. In other words, the voltage at the junction
PT increases proportionally to the level of light falling on the photoresistor.
SES
52
In this experiment, we need to isolate the light from the lamp so that it does
not reach the photoresistor, otherwise the system will oscillate. When the
light level is lower than the lower threshold, the lamp will go ON. If the
lamp shines directly on the sensor, a high level of light (exceeding the
upper threshold) will be registered regardless of the ambient light. The
lamp will go OFF. As the ambient light level is still lower than the bottom
threshold, not having changed while this is happening, the lamp will go ON
again, and so on over and over.
Because the photoresistor is against the lamp, we will use the Vref1 as a
simulation of a light sensor for experimenting the Bi-Stage Amplifier lamp
control,
SES
53
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Bi-Stage
SESESL
Amplifier
AB
Vref1
Step 10: Lower Vref1 slowly until the Bi-Stage Amplifier output change
to voltage close to +5V.
SES
54
Step 12: Connect the multitester probe back to the Bi-Stage Amplifier
output.
Step 13: Raise Vref1 slowly until the Bi-Stage Amplifier output voltage
changes back to –5V.
Step 15: Connect the Bi-Stage Amplifier output to the lamp L+ terminal.
Think why.
Bi-Stage
SESESL Lamp
Amplifier
AB
Vref1 L
-5V
Step 17: Change Vref1 up and down and observe how it affects the lamp.
Bi-Stage
SESESL Lamp Photoresistor
Amplifier
AB
Vref1 L
PT
-5V Voltmeter
Step 19: Raise and lower the Vref1 and observe how it affects the lamp
and the photoresistor voltage.
SES
55
Step 24: Change the L potentiometer until the lamp turns ON.
Step 25: Observe with the SESCOPE the signals at the amplifier input
(coming from the light sensor) and at the amplifier output (goes
to the lamp).
Step 26: Change the L and the W potentiometers and observe how it
affects the lamp and the signals.
SES
56
Objectives:
Using a Schmitt Trigger amplifier for temperature control.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment, we repeat experiment 2.2, however this time with
temperature control instead of light control. There is one essential
difference between these two parameters. Light changes are very rapid.
When we switch ON a light, or darken a certain area or cast a shadow, the
response is immediate. A light sensor also responds immediately.
SES
57
Figure 2-10
SES
58
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Think why.
Bi-Stage
SESESL Lamp
AB Amplifier
Vref1 L
-5V
Step 9: Change Vref1 up and down and observe how it affects the lamp.
SES
59
Bi-Stage
SESESL Lamp Thermistor
Amplifier
AB
Vref1 L
TH
-5V Voltmeter
Step 11: Raise and lower the Vref1 and observe how it affects the lamp
and the thermistor voltage.
Step 16: Change the L potentiometer very slowly until the lamp turns ON.
The lamp should turn OFF when this voltage passes the V2 value.
Step 18: Now the sensor voltage should goes down even slower.
The lamp turns ON when the sensor voltage drops below V 1 and
vice versa.
Step 19: There is no use to expand the hystheresis width because this
process is slow enough.
SES
60
We switch the light ON in a dark room, and switch it OFF when there is
natural light. Sometimes we even use a dimmer to set just the right level of
light - strong light, romantic soft light etc. When it is hot, we turn ON a fan
or air conditioner and when it is cold, we operate a heater and so on. We
ourselves become part of the control, sensing, measuring and decision
making system.
The object of this book is to learn and analyze control systems, which
operate automatically and independently without manual intervention. In
these systems, some change must take place in the system (variations in
amplification or in the magnitude of the input signal) in order to stabilize
the controlled variable.
We have seen that in an open loop system, any interference with the
controlled variable causes it to vary, even though the input signal may be
steady. When it is important that the controlled variable remains steady and
constant, despite the interference, we need to add negative feedback.
SES
61
The negative feedback in the system is a correcting factor. Let's look at the
following diagram, which describes a system with negative feedback. We
will relate to voltage, but obviously, the controlled signals may have any
other form (current, force, flow rate etc.).
+ Ve
Vi A Vo
-
Vb
Figure 3-1
Vb = Vo
The voltage, which is fed into the amplifier that drives Vo, is called Ve
(Verror) and is the difference between the input voltage Vi and the feedback
voltage Vb.
Ve = Vi - Vb = Vi - Vo
In this equation, Vo (the output value) appears in both sides of the equation.
We will isolate Vo to see the system equation. First, we open the
parentheses:
Vo = AVi - AVo
Vo βAVo Vi A
Vo (1 βA) Vi A
SES
62
A
Vo Vi
1 A
From this formula we can see that A and have certain finite values (A is
usually greater than 1 and is usually smaller than 1). Ve will receive a
specific value as a function of Vi, A and .
Vo A Ve A(Vi βVo )
If Vo tends to rise, Vo will rise too causing the error voltage Ve to fall,
dragging Vo back down with it.
A
Vo Vi
1 A
The denominator is greater than 1 and so Vo is smaller than its open loop
value, but at the same time is far more stable than its open loop value.
SES
63
A A 1
Vo Vi Vi Vi
1 A A
As is smaller than 1 the result is that Vo is greater than Vi. The system
amplification is equal to β1 and does not depend on the accuracy of the
amplifier A. In other words, fluctuations in A (assuming that this value is
still very high) will not affect Vo.
First let's assume an open loop amplifier with A = 20 and an input signal
Vi = 0.1V. In this case the output signal is:
Vo A Vi 20 0.1 2V
SES
64
Now let's assume a system with feedback in which A = 2000 and the input
signal is Vi = 0.1V. In this system = 0.05. Let's calculate Vo:
Here too let's allow the amplification to drop by half (from 2000 to 1000).
We will have:
1000 1000
Vo 0.1 0.1 1.961
1 1000 0.05 51
In all the analyses, we have done so far in this chapter we have used
voltage for demonstration purposes. Obviously, there are numerous
systems, in which the signals are not voltage. For example, an oil-fired
water heating system.
b
Temperature
Sensor
Figure 3-2
c controlled variable.
r The reference signal which sets the system's operating level. This is
the input signal, which we have also called Vi.
b Feedback signal.
e error. The difference between the reference signal and the feedback
signal.
SES
65
In the last example, the heating intensity (the oil flow) is the difference
between the reference signal and the feedback signal. The input signal
usually differs in its form and intensity from the output signal. The input to
output transfer function adapts them. As the comparator stage at the input
must compare similar signal forms, the feedback system must also adapt
the output signal to the input. This is also a kind of transfer system.
+ e
r G c
-
Figure 3-3
erb
c Ce
b Hc
c G e G (r b ) G (r H c )
c G r G Hc
c G Hc G r
c(1 G H ) G r
G
cr
1 GH
c G
T
r 1 GH
SES
66
Amplifier Motor
+ Ve Vm
Vr A=5 Gm = 10
-
Dynamo
b Attenuator Tachometer
Vd
= 0.4 Hd = 0.05
Figure 3-4
rad / sec
G A G m 5 10 50
V
c G 50 50 50
T 25
r 1 GH 1 50 0.02 1 1 2
In other words, for every volt at the input we will have a rotation speed of
rad
25 at the output.
sec
SES
67
We can use the same letter when the signals are of the same form. For
example, the dynamo voltage represents the motor speed in voltage form.
In this case, we may call the input signal Yi and the output signal Yo.
The relationship between the output and the input signals behave according
the equation:
A
Yo Yi
1 βA
Yo
The ratio Yi
size is called Gain and it equals:
Yo A
Yi 1 βA
1 βA
Vi Vo
A
We mark the 1A A size with P (Proportional) and it describes the relation
between Vi and Vo:
Vi P Vo
SES
68
c G G
T or c r
r 1 GH 1 GH
+ Ve Vm c
Vr A Motor
- G
Vb
Vd
Tachometer
H
Figure 3-5
G
c Vr
1 GH
GH
Vb c H Vr
1 GH
GH
Ve Vr Vb Vr Vr
1 GH
GH 1 GH GH
Ve Vr 1 Vr
1 GH 1 GH
1
Ve Vr
1 GH
We can see that in this system Ve has the same sign as Vr and is a part of it
(the denominator is always greater than 1). For Ve to approach 0 we must
create GH .
SES
69
There are systems in which the error in the steady state must be 0. The
error signal is fed into an amplifier, which creates the output signal. In a
system, which contains a pump to fill a water tank, the pump must be
stopped when the tank is full. For example:
+ Ve
Vr Amplifier Motor Pump
-
Vb
Level
Sensor
Figure 3-6
+ Ve Position
Vr Amplifier Motor X
-
Vb
Position
Sensor
Figure 3-7
In these systems, in the steady state, the motor must stop when the level or
position have reached the required point. So in these systems V e must be
zero in the steady state. i.e. Vb must be equal to Vr.
SES
70
G
In a system like this, the transfer function cannot be T . These
1 GH
systems are said to have an integrative nature.
The analysis we used to calculate the transfer function is not relevant in this
system due to the error signal being equated to 0 (e = 0). We will analyze
this case differently. In these systems in the steady state:
e=0 b=r
b Hc
r = b = Hc
c 1
T
r H
r
c
H
SES
71
dy
Y Y
dt
or:
dy
Y Y 0
dt
SES
72
Y is the value which Y approaches after an infinite time. i.e. at the end of
the process (which is the steady state).
In the steady state
Y = Y
because there will not be any change in Y for any unit of time dt:
dy
dy 0 0
dt
is the system's time constant. The variability of Y depends on .
Vi A Motor Dynamo Vo
Figure 3-8
In steady state:
Y VD PVi
The output voltage is according to the dynamo rotation speed. The input
signal is a step signal voltage, which accelerates the motor and the dynamo.
Acceleration is derivative of the speed so here is derivative of the dynamo
voltage.
The motor-dynamo equation is as follows:
dVD
VD PVi
dt
The equation in close loop system is similar with only one difference:
1 A
P
A
SES
73
Aekt
e is a special constant with the value 2.71828. Its derivative by the variable,
which appears in the exponent, will give us an expression having the same
form.
dX
KAe kt
dt
The differential equation for the controlled variable Y, which also includes
its derivative, will have the form:
dy
Y Y
dt
or:
dy
Y Y 0
dt
SES
74
t
t
Y(t ) Yo e Y 1 e
dy
Y Y
dt
t = 0 and t =
Y(t 0) Yo e o Y (1 e o )
eo 1
Y(t 0) Yo 1 Y (1 1)
Y(t 0) Yo
Y(t ) Yo e Y (1 e )
e 0
Y(t ) Yo 0 Y (1 0)
Y(t ) Y
At least for these two extreme points in time the function is correct. We
will have to assume that it is also correct at any other time. We can
compare the systems measured behavior with our mathematical prediction.
SES
75
t
τ
At this point the value of the exponential variable e is:
t
1
e e 1 0.367
e
2
At this time, the controlled variable reaches about 3
of its steady state
value.
VDO = 0
VD = PVi
t t
VD (t ) 0e
PVi (1 e
)
t
VD (t ) PVi (1 e
)
VD
PVi
Figure 3-9
The time constant of the system can be measured as the time when the
dynamo voltage reaches 23 of the maximum voltage.
SES
76
We must emphasize that this last equation is a private case in which the
initial dynamo voltage is zero. In the general case in which there is some
initial dynamo voltage, the dynamo voltage will behave according to this
formula:
t t
VD (t ) VDO e
VD (1 e
)
When the motor voltage drops to 0, the motor and the dynamo continue to
rotate and stop gradually.
While:
VDO PVi
VD 0
We get:
t t
VD (t) PVi e τ 0(1 e τ )
t
VD (t) PVi e τ
Figure 3-10
SES
77
As the tank fills up, the float rises and the valve closes according to the
level in the tank and the water inlet rate drops. Exactly like charging a
capacitor. As soon as the water reaches the required level, the valve shuts
OFF completely.
The water level reaction is exactly the same as charging the capacitor:
t
H ( t ) H 1 e
Our problem is to define the final water level and the system time
coefficient (). We could of course do this empirically. The final water
level is easy to find - we just measure the water level when the flow has
stopped. We can find by marking a line at 23 of the maximum level and
measuring the time required to fill the empty tank to the 23 mark.
In a water tank, the rate at which the level drops (the flow rate) changes as
a function of the water level. Note that in this case the tank discharges
through a valve, which is constant and not variable like in our flushing tank
example.
Figure 3-11
SES
78
+ Ve Vm
Vr Amplifier Motor Position X
-
Vb
Tachometer
Figure 3-12
The reaction of this system resembles the reaction of level control. As the
distance increases, so Vb increases, and Ve decreases and so the motor
rotates more slowly and the rate of motion decreases.
t
X(t ) X 1 e
SES
79
The motor and transmission have friction and torque coefficients, which are
highest when the speed is lowest. It is likely that at some value of V b lower
than Vr, Ve will be so small that the motor cannot turn and so it will stop
before the required point is reached.
t
T(t ) T 1 e
+ Ve Heating
Vr Amplifier Temperature
- Element
of the
Controlled
Body
Vb
Temperature
Sensor
Figure 3-13
SES
80
3.5.6 Summary
Charging and discharging of a component with an exponential reaction
behave according to the general equation:
t
t
Y(t ) Yoe Y 1 e
Vi Vi Vi
t t t
Vo Vo Vo
t t t
Figure 3-14
SES
81
Objectives:
Repeating the open loop control experiment in order to compare it
with a closed loop reaction.
Realizing a negative feedback control diagram to control a DC motor.
Changing the amplification of the amplifier and the feedback and
testing their influences.
Disturbing the controlled variable and checking the stability of the
system.
Checking the steady state and the steady state error.
The dynamic reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
3.1.1 DC motor control response and status
In this experiment, we will first revise open loop control of the DC motor
briefly. We will make the following connections:
Power
Amplifier Motor
Vm
Vr A Gm
Vref1
Dynamo
Tachometer
Vd
Hd
Figure 3-15
SES
82
Power
Amplifier Motor
+ Ve Vm
Vr A=1 Gm
-
Feedback Dynamo
Amplifier Tachometer
Vb Vd
=1 Hd
Figure 3-16
SES
83
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 3: Connect the Vref1 output via the adder IN1 to the power amplifier input.
Adder
IN1 Power
Vref1 Motor
Amplifier
+ Out M+
IN2 A M
-
+ M-
IN3 -
The Adder does not affect the system because there are no other
signals besides Vref1. Its output is equal to its IN1 input.
You can see that only on a certain voltage the motor starts to
rotate.
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
SES
84
Step 12: Raise Vref1 slowly and find out at which voltage level the motor
starts rotating.
Is this voltage level the same as the one you measured at step 12,
smaller or bigger?
Step 14: We will now measure the motor speed, using the dynamo.
SESESL Adder
AB IN1
Vref1 Power Dynamo
Motor
Amplifier
+ Out
IN2 A M D
-
IN3 +
-
Voltmeter
Step 15: Raise and lower the Vref1 and observe how it affects the motor
speed and the dynamo voltage.
Step 16: Make a white mark on the rubber band, which couples the
dynamo to the DC motor.
Step 17: Count the number of revolutions per minute for different values
of power amplifier output voltage and especially for the dynamo
output voltage.
SES
85
Step 21: Continue this way and fill in the following table:
Step 22: Beneath the motor there is a load module with a variable resistor
(potentiometer) and an ON/OFF switch.
+ Out
IN2 A M D
-
IN3 +
-
Voltmeter
Load
SES
86
Step 27: Repeat steps 23-26 with different voltages of the dynamo.
Step 30: Lower the power amplifier to 1 and raise its gain slowly until this
voltage is equal to 3.5V.
Step 35: Record the dynamo voltage. It should drop more than 0.5V.
SES
87
IN3 +
-
Voltmeter
Load
Step 38: Turn the IN2 switch to position order to get a negative feedback.
The power amplifier input voltage will drop and so its output.
Step 40: Increase the power amplifier gain until the power amplifier
output voltage return to 3.5V.
The Dynamo voltage will drop a little but less than without the
negative feedback.
It increases.
Explain why.
SES
88
Step 46: Set the trigger level to 1.2V and the trigger mode to Fall.
Step 48: Connect the Vref2 output to the IN1 input instead of Vref1.
Step 49: Disconnect the dynamo output from the IN2 input.
+ Out
IN2 A M D
-
IN3 +
-
Voltmeter
Load
Step 51: Lower the power amplifier gain to 1 and raise Vref2 to maximum.
SES
89
Step 53: Measure with the cursors the time in which the dynamo voltage
reaches 0.7 of the maximum voltage.
Step 55: Change the load potentiometer and check how it affects the
dynamo voltage.
IN3 +
-
Voltmeter
Load
SES
90
Objectives:
Repeating the open loop light control experiment in order to compare
it with a closed loop reaction.
Realizing a negative feedback control diagram to control light.
Changing the amplification of the amplifier and the feedback and
testing their influences.
Disturbing the controlled variable and checking the stability of the
system.
Checking the steady state and the steady state error.
The dynamic reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment, we will first revise open loop light control briefly. We
will make the following connections:
Power
Amplifier Lamp
Vl
Vr A Gl Light
Vref1
Photoresistor
Vp
Hp
Figure 3-17
SES
91
We will make a disturbance to the light and we will see how it affects the
photoresistor voltage.
Power
Amplifier Lamp
+ Vl
Vr A=1 Gl
-
Feedback
Amplifier Photoresistor
Vp
=1 Hp
Figure 3-18
SES
92
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 3: Connect the Vref1 output via the adder IN1 to the power amplifier input.
Adder
IN1 Power
Vref1 Lamp Photoresistor
Amplifier
+ Out L+
IN2 A L
-
+ L-
IN3 -
Voltmeter
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
Step 12: We will now measure the light intensity, using the photoresistor.
SES
93
Step 13: Raise and lower the Vref1 and observe how it affects the lamp
and the photoresistor voltage.
Step 15: Turn the Vref1 until the power amplifier output voltage is equal
to 3.5V.
Step 16: Connect the multitester probes between the PT terminal and GND.
Step 17: Insert a white paper between the photoresistor and the lamp.
Adder
IN1 Power
Vref1 Lamp Photoresistor
Amplifier
IN2 + Out L+
A L
-
+ L- PT
IN3 -
Step 20: Turn the IN2 switch to position order to get a negative feedback.
Step 22: Turn the Vref1 to maximum and raise the power amplifier gain
until the power amplifier output voltage return to 3.5V.
SES
94
Step 23: Connect the multitester probes between the PT terminal and
GND.
Step 24: Insert a white paper between the photoresistor and the lamp.
It raises.
Why?
Step 29: Set the trigger level to 1.2V and the trigger mode to Fall.
Step 31: Connect the Vref2 output to the IN1 input instead of Vref1.
Step 32: Disconnect the photoresistor output PT from the IN2 input.
Step 34: Lower the power amplifier gain to 1 and raise Vref2 to maximum.
SES
95
Step 36: Insert a white paper between the lamp and the sensor and check
its influence on the sensor's voltage.
Adder
IN1 Power
Vref1 Lamp Photoresistor
Amplifier
IN2 + Out L+
A L
-
+ L- PT
IN3 -
SES
96
Step 41: Insert a white paper between the photoresistor and the lamp.
Check the effect on the sensor voltage and the lamp intensity.
SES
97
Objectives:
Repeating the open loop temperature control experiment in order to
compare it with a closed loop reaction.
Realizing a negative feedback control diagram to control temperature.
Changing the amplification of the amplifier and the feedback and
testing their influences.
Disturbing the controlled variable and checking the stability of the
system.
Checking the steady state and the steady state error.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment, we will first revise open loop temperature control
briefly. We will make the following connections:
Power
Amplifier Lamp
Vl Temperature
Vr A Gl
Vref1
Thermistor
Vt
Ht
Figure 3-19
SES
98
Power
Amplifier Lamp
Ve Vl Temperature
Vr + A=1 Gl
-
Feedback
Amplifier Thermistor
Vb Vt
=1 Ht
Figure 3-20
SES
99
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 3: Connect the Vref1 output via the adder IN1to the power amplifier input.
Adder
IN1 Power
Vref1 Lamp Thermistor
Amplifier
+ Out L+
IN2 A L
-
+ L-
IN3 -
Voltmeter
Step 10: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
Step 12: We will now measure the temperature, using the thermistor.
SES
100
Step 13: Raise and lower the Vref1 and observe how it affects the lamp
and the thermistor voltage.
Step 15: Turn the Vref1 until the power amplifier output voltage is equal
to 3.5V.
Step 16: Connect the multitester probes between the TH terminal and
GND.
Adder
IN1 Power
Vref1 Lamp Thermisotr
Amplifier
IN2 + Out L+
A L
-
+ L- TH
IN3 -
Step 20: Turn the IN2 switch to position order to get a negative feedback.
Step 22: Turn the Vref1 to maximum and raise the power amplifier gain
until the Power amplifier output voltage return to 3.5V.
SES
101
Step 23: Connect the multitester probes between the TH terminal and
GND.
Step 27: Set the trigger level to 1.2V and the trigger mode to Fall.
Step 29: Disconnect the thermistor output TH from the IN2 input.
Step 30: Connect the Vref2 output to the IN1 input instead of Vref1.
Step 32: Lower the power amplifier gain to 1 and raise Vref2 to maximum.
Adder
IN1 Power
Vref2 Lamp Thermistor
Amplifier
+ Out L+
IN2 A L
-
+ L-
IN3 -
Voltmeter
SES
102
Adder
IN1 Power
Vref2 Lamp Thermisotr
Amplifier
IN2 + Out L+
A L
-
+ L- TH
IN3 -
SES
103
Objectives:
Repeating the open loop level control experiment in order to compare
it with a closed loop reaction.
Realizing a negative feedback control diagram to control temperature.
Changing the amplification of the amplifier and the feedback and
testing their influences.
Disturbing the controlled variable and checking the stability of the
system.
Checking the steady state and the steady state error.
The dynamic reaction to a step signal.
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
In this experiment, we will first revise open loop temperature control
briefly. We will make the following connections:
Power
Level
Amplifier
Control
Vl
Vr A Gl Level
Vref1
Level Meter
Vl
Ht
Figure 3-21
SES
104
We will make a disturbance to the level by creating a drift and we will see
how it affects the level meter voltage.
Power Level
Amplifier Control
+ Ve Vl
Vr A=1 Gl Level
-
Feedback
Amplifier Level Meter
Vb Vl
=1 Ht
Figure 3-22
SES
105
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 3: Connect the Vref1 output via the adder IN1 to the power amplifier input.
Adder
IN1 Power Level Level
Vref1 Control Meter
Amplifier
+ Out IN
IN2 A L
-
+ Out
IN3
- Voltmeter
The positive voltage will raise the level and 0V will keep it at its
level.
Step 9: Repeat step 8 with negative voltage and observe the system's
behavior.
SES
106
Step 11: Connect the voltmeter's probes between the outputs of the power
amplifier and GND.
Step 13: Measure and record the voltage at the OUT terminal.
Step 15: Repeat step 14 and record the voltages for each level.
Level Voltage
01
9
8
7
6
5
4
3
2
1
0
Adder
IN1 Power Level Level
Vref1 Control
Amplifier Meter
IN2 + Out IN
A L
-
+ Out
IN3 -
SES
107
Step 17: Turn the IN2 switch to +1 to get a negative feedback (the OUT
voltages are reverse ones).
Step 18: change Vref1 and you will see that the level changes accordingly.
Step 19: Set the trigger level to 1.2V and the trigger mode to Fall.
Step 21: Connect the Vref2 output to the IN1 input instead of Vref1.
Step 22: Disconnect the level OUT terminal from the IN2 input.
Step 24: Connect the CH2 probe to the level OUT terminal.
Step 25: Observe the signal and check if you got the following picture.
SES
108
Objectives:
Second degree systems
PI control
PID control
Equipment required:
TPS-3011
Voltmeter
Banana wires
PC + SESCOPE software
Discussion:
The motor is a different system than the lamp. The motor is actually a coil.
The coil resists the current changes through it. In the motor-dynamo system
a second order reaction equation is received, which includes a second order
2
derivative ( ddt 2y ) of the controlled variable.
SES
109
d2y dy
2
a1 a 0 y a 0 Y
dt dt
d2y
0
dt 2
dy
0
dt
We get:
a 0 y a 0 Y
y Y
y(t)
Figure 4-1
SES
110
y(t)
YP
Y
Figure 4-2
We get overshooting in this reaction (a value higher than the value the
system aspires to reach) and oscillations.
The restraint coefficient is marked by the Greek letter . When the restraint
coefficient is lower than 1, we receive oscillations.
ω n τt
y(t) Y 1 e sin(ω d t)
ωd
1
n is the normal frequency of the system. The frequency where the system
would have oscillates if the restraint coefficient was 0.
d n 1 2
SES
111
The relation between the transient equation parameters and the second
order equation parameters is as follows:
d2y dy
2
a1 a 0 y a 0 Y
dt dt
n2 a 0
n a 0
2 n a1
a1 a
1
2n 2 a 0
1 1 2
n a1
2 ao
ao a1
1 t
Y Y 1 e sin( d t )
1 2
t
d
Gets:
sin( d t ) 1
1
n
And then:
n
y(t ) Y 1
1
e
n 1 2
1 2
SES
112
This is the maximal value (the maximum overshooting) the output signal
will reach. This value is called YP (Ypeak) and the time is called tP (tpeak)
tp
d n 1 2
1 1 2
Yp Y 1 e
1 2
We can calculate the relation between the overshooting YP and the restraint
coefficient . To save calculations, we can use the following table to
extract the from measuring the overshooting:
Yp/Y
1 1
0.8 1.02
0.6 1.1
0.5 1.17
0.4 1.26
0.3 1.38
0.2 1.53
We will measure the forced frequency d of the system, and with these two
values, we will calculate the equation's parameters:
d
n
1
1
n
a 0 n2
a 1 2 n
SES
113
We need the gain for two reasons. One is to increase the system's arrival
rate to the steady state.
The second reason (the more important one) is to reduce as possible the
steady state error.
Vo K e I edt
At the amplifier output we get voltage, which us raised all the time until
e = 0. This is what we wanted to receive. This matter is expanded in section
4.1.4.
The PI amplifier reduces the need for high gain and solves the oscillations
problem.
Vi PI Vo
Figure 4-3
SES
114
Vi
Vo
Figure 4-4
Changing Vi changes only the ramp, but not reduce Vo. Only negative Vi
will reduce Vo.
The idea of the PI controller is to reduce the steady state error to zero. The
output voltage increases until the feedback value is equal to the reference
voltage.
+ Vo
Vref PI
-
Controlled
System
Vo
Figure 4-5
SES
115
+ Ve Vm c
Vr A Motor
- G
Vb
Vd
Tachometer
H
Figure 4-6
G
c Vr
1 GH
GH
Vb c H Vr
1 GH
GH
Ve Vr Vb Vr Vr
1 GH
GH 1 GH GH
Ve Vr 1 Vr
1 GH 1 GH
1
Ve Vr
1 GH
If Ve = 0 Vm = 0 motor stops.
SES
116
+ Vo
Vref PI Pump
-
LS Level
LS Sensor
Figure 4-7
de
Vo Pe I edt D
dt
+ Vo
Vref PI PD
-
Controlled
System
Vo
Figure 4-8
SES
117
Procedure:
Step 1: Connect the TPS-3011 to the power supply.
Step 3: Connect the Vref2 output via the adder IN1 to the power amplifier input.
Adder
IN1 Power
Vref2 Motor Dynamo
Amplifier
+ Out M+
IN2 A M D
-
+ M- D+ D-
IN3 - CH1
CH2
The adder dose not influence the system because there are not
other signals except Vref2. Its output equals its IN1 input.
In this state, the power amplifier output voltage equals its input
voltage.
Step 8: Set the trigger voltage to 1.2V and the sample mode to Fall.
Step 10: Connect the CH2 SESCOPE input to the dynamo output.
SES
118
Step 12: Observe the signals and check if the following signal was
received:
Step 16: Raise the power amplifier gain and check for each gain the
voltage difference between the reference voltage Vref2 and the
dynamo voltage.
Step 18: Connect the CH2 SESCOPE input to the power amplifier output.
Explain that.
SES
119
Motor Dynamo
Adder
IN1 Power M D
Vref2
Amplifier
Out M+ M- D+ D-
IN2 + A
-
IN3 + Feedback
- Amplifier
B CH2
Step 22: Raise the feedback amplifier and check the dynamo voltage
(speed) behavior and the power amplifier output at various gains
of the power amplifier.
Step 23: Draw the dynamo output signal and the power amplifier output
signal in relation to the reference voltage at the following states:
SES
120
Motor Dynamo
Adder
IN1 Power M D
Vref2
Amplifier
Out M+ M- D+ D-
IN2 + A
-
IN3 + Feedback
- Amplifier
B CH2
Step 26: Check the dynamo voltage (speed) behavior and the power
amplifier input at various gains of the power amplifier.
Step 27: Draw the dynamo output signal and the power amplifier output
signal in relation to the reference voltage at the following states:
SES
121
Step 28: Add the PI amplifier to the system as described in the following
drawing:
PI Amplifier
KI
KP
Motor Dynamo
Adder
IN1 Power M D
Vref2
Amplifier
M+ M- D+ D-
IN2 + A
- Out
IN3 +
- Feedback
B CH2
Step 30: Check the dynamo voltage (speed) behavior and the power
amplifier input at various gains of the power amplifier.
SES
122
Step 31: Draw the dynamo output signal and the power amplifier output
signal in relation to the reference voltage at the following states:
PD Amplifier PI Amplifier
KD KI
KP KP
Motor Dynamo
Adder
IN1 Power M D
Vref2
Amplifier
M+ M- D+ D-
IN2 + A
- Out
IN3 +
- Feedback
B CH2
Step 34: Check the dynamo voltage (speed) behavior and the power
amplifier input at various gains of the power amplifier.
SES
123
Step 35: Draw the dynamo output signal and the power amplifier output
signal in relation to the reference voltage at the following states:
Recap
SES