Professional Documents
Culture Documents
1
Control of Technical Lines
T 8.2.1.7 Automatic heel control
775 690EN
Version: 27BB04PME15W10
T 8.2.1.7
Instructions
EMC
The sensitive electronics inside the equipment used in this experiment description may be subject
to ESD (electrical static discharge) which negatively affects their operation in the experiment setups. For that reason, electrostatic build up should be avoided by selecting appropriate rooms or by
eliminating this by means of discharge.
Electronic Handbook
Copy the text files (*.pdf) and measurement files (*.labs, *.bsy) found on the cd into the same
subdirectory.
Install the CASSY Lab 2 software onto your PC.
Install the WinFACT software onto your PC.
By clicking on the corresponding measurement file, a measurement file especially designed
for this experiment is uploaded.
Note: The measurement files may also be contained in the appendix of the pdf document.
Experiments
The book may also contain experiment descriptions which require equipment not contained in your
particular order or delivery. Only those experiments can be performed for which LD has supplied the
necessary equipment. Deviating from the experiments described here is possible at one's own
discretion and only by qualified individuals working in compliance with the safety guidelines and
regulations. The results specified in the sample solutions serve only as orientation. The actual
measurement findings can deviate from the values provided for the following reasons:
All measurement findings were recorded with the experiment set-ups shown and using the
measurement devices found in the equipment lists. Due to their wide range of features, SensorCASSY 2 and CASSY Lab 2 software are used in the experiments.
LD DIDACTIC
Phone: +49-2233-604-0 Fax: +49-2233-604 222 e-mail: info@ld-didactic.de Technical alterations reserved.
T 8.2.1.7
WinFACT
WinFACT is a universal, modular CAE program for automatic control technology. The following
products are available for purchase from LD Didactic:
734 492
LD License
734 482
Time
domain
+
Fuzzy
+
Optimisation + PID Design Center
Time domain
License agreements
The LD license permits simultaneous use on up to 10 workstations. The COM3LAB/CASSY Edition
is a license confined to a single workstation. You have to purchase a separate license for each
workstation. All licenses include the LD drivers for COM3LAB and CASSY as well as experiment
samples for WinFACT.
Fuzzy
Only the LD license contains the module to design Fuzzy rules and controllers. If you use a
parameterised Fuzzy block (from elsewhere), this is already running using the COM3LAB / CASSY
edition. However, there can be no alterations carried out on this block.
Tips
Do not select a simulation time that is too small. Otherwise there could be conflicts with the
sampling of the Profi-CASSY. Consequently real time modus is unable to operate correctly.
Example: Real time = 20 s but actual measuring time was 80 s. Remedy: Prolong simulation
steps e.g. from 0.01 to 0.05.
The WinFACT and CASSY Lab programs cannot access Profi-CASSY simultaneously. There
are two variations for this conflict:
If CASSY Lab is active, a message appears when starting the WinFACT experiment: USER1
(USER1) does not permit the simulation.
If WinFACT is active, the message Not all channels are valid... appears in the CASSY Lab
The Profi-CASSY symbol is crossed out. For that reason, WinFACT and CASSY Lab may
not be used simultaneously.
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
Table of contents
Instructions ..................................................................................................................................... 2
EMC ............................................................................................................................................ 2
Electronic Handbook ................................................................................................................... 2
Experiments ................................................................................................................................ 2
3rd party equipment .................................................................................................................... 2
WinFACT..................................................................................................................................... 3
License agreements................................................................................................................. 3
Drivers and Installation ............................................................................................................ 3
Fuzzy ....................................................................................................................................... 3
Tips .......................................................................................................................................... 3
Concepts and Symbols ................................................................................................................... 6
Principles ........................................................................................................................................ 7
Selecting the controller ................................................................................................................ 8
Dimensioning controllers ............................................................................................................. 8
CHR optimisation rules for systems without compensation .......................................................... 9
ZN optimisation ......................................................................................................................... 10
Automatic heeling control .............................................................................................................. 11
Controlled systems: the container ship ...................................................................................... 11
Step responses of the controlled system ....................................................................................... 12
Equipment ................................................................................................................................. 12
Experiment procedure ............................................................................................................... 13
Results ...................................................................................................................................... 15
Step responses of the heel controlled system ........................................................................ 16
Summary ............................................................................................................................... 19
CHR optimisation for reference control ......................................................................................... 20
Within limits of the PID digital controller ..................................................................................... 20
Equipment ................................................................................................................................. 20
Experiment procedure ............................................................................................................... 21
Variations .................................................................................................................................. 22
Results ...................................................................................................................................... 23
Disturbance response of the closed control loop ........................................................................... 27
Equipment ................................................................................................................................. 27
Experiment procedure ............................................................................................................... 27
Profi-CASSY assumes the following functions in this experiment: ............................................. 28
Variations .................................................................................................................................. 29
Results ...................................................................................................................................... 30
Modelling and simulation............................................................................................................... 34
Identifying controlled systems.................................................................................................... 34
Experiment procedure ............................................................................................................... 34
Results ...................................................................................................................................... 35
Simulated heel controlled system operating at its stability limits ................................................ 37
Simulated heel controlled system with PT2 filter ........................................................................ 40
Result ........................................................................................................................................ 41
ZN optimisation of the heel controlled system with PT2 ................................................................ 43
Equipment ................................................................................................................................. 43
Experiment procedure ............................................................................................................... 44
Results ...................................................................................................................................... 46
ZN controller parameters ....................................................................................................... 47
Continuous software controllers .................................................................................................... 53
Equipment ................................................................................................................................. 53
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
Symbol
Definition
Controlled system
Controller
Controlled variable
Reference
variable
input w
Actual value
x0
Setpoint value
w0
Control deviation
e=wx
Disturbance variable
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
Principles
The essential task of automatic control technology lies in keeping the system variable under
consideration at a constant level (for fixed reference control) or to correct the system variable to
a predetermined value (follow-up servo control). The desired system response is achieved by
effectively intervening on the system with suitable external means. Undesired effects
(disturbances) should be kept to a minimum, if possible. A distinction is drawn between openloop and closed-loop controls. In the case of open-loop control, there is an open control
sequence that is in the form of a control chain. The following image illustrates this principle.
Disturbances z corrupt the input signal xe. These however are not detected by the control loop
and thus the resulting deviations that are evoked in the output signal Xa cannot be addressed
and eliminated.
(2): Actuator
In contrast to open-loop control, closed-loop control involves a closed control sequence in which
measurement and feedback operations provide an actual value used for correcting the variable
being controlled. The block circuit diagram illustrates the principle of a control loop. The aim is
to keep the controlled variable x set to setpoint variable w for a prolonged period of time. During
this process, w is the reference input variable which is preset using a setpoint potentiometer.
3: Controlled system
y: Manipulated variable
4: Sensor
x:Controlled
The principle of automatic control comprises the measurement and feedback of the controlled
variable x. By continuously comparing the setpoint value to the actual value, the controller can
directly counteract any potential deviations. If a disturbance appears in the control loop, this
affects a corresponding change in the controlled variable x. The core of the control loop is the
segment where the regulating or correcting process occurs. This segment is termed the
controlled system or system for short.
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
PI
PD
PID
P-action element
PT1 element with small dead time
+
+
+
+
Dimensioning controllers
After selecting the suitable controller type, the controller parameters have to be set for optimum
operation of the control loop. There are various methods for this:
The empirical method can be carried out quickly and allows controllers to be dimensioned for
simple systems. Optimising the controller setting according to the empirical values requires the
following steps:
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
x
t
KIS =
x
y t
t
Te
Instead of using an inflectional tangent, in this case the tangent is applied to the step response
for large time values. The heel controlled system is a system without compensation. There are
four CHR optimisation rules in play for each controller type for this kind of controlled system as
well. These are summarised in the following table.
With overshoot
Disturbance
Reference
K PR = 0.71
1
K IS Te
K PR = 0.71
1
K IS Te
PI
K PR = 0.71
1
K IS Te
K PR = 0.59
1
K IS Te
Ti = 2.3 Te
K PR = 1.2
PID
Ti =
1
K IS Te
K PR = 0.95
1
K IS Te
Ti = 2 Te
Ti =
Td = 0.42 Te
Td = 0.47 Te
LD DIDACTIC
by LD DIDACTIC GmbH
T 8.2.1.7
Without overshoot
Disturbance
Reference
K PR = 0.3
1
K IS Te
K PR = 0.34
K PR = 0.3
PI
K PR = 0.59
T = 4 Te
K PR = 0.95
PID
1
K IS Te
1
K IS Te
1
K IS Te
Ti =
1
K IS Te
K PR = 0.59
Ti = 2.4 Te
1
K IS Te
Ti =
Td = 0.42 Te
Td = 0.5 Te
ZN optimisation
The controller optimisation method named after Ziegler and Nichols requires that the control
loop operates at its stability limits. ZN optimisation can only be applied to controlled systems
that are able to oscillate, mostly in the form of PTn-systems with time delay of a higher order
(n > 2). In controlled systems with time delay of a higher order, the control loop is initially closed
with a purely P-action controller and the control gain Kp is increased until, at constant input, the
output performs a sustained oscillation with the duration Tcrit for a controller gain of Kpcrit.
Controller parameters can then be derived from the oscillation period and the controller gain at
the oscillation limit, which provide practical results for disturbance response. The method is only
applicable for processes that can be operated at the oscillation limit safely. The optimisation
rules for the gain Kp, the integral-action (reset) time Ti and the derivative-action time Td (= TV)
for the optimum controller are given in the table.
Controller
Equation
Kp = 0.50 KP,crit
Kp = 0.45 KP,crit
PI
Ti = 0.850 Tcrit
Kp = 0.55 Kp,crit
PD
Td = 0.150 Tcrit
Kp = 0.60 Kp,crit
PID
Ti = 0.500 Tcrit
Td = 0.125 Tcrit
LD DIDACTIC
by LD DIDACTIC GmbH
10
T 8.2.1.7
The model is comprised of a rotatable panel on which two ballast tanks are mounted. Water can
be pumped back and forth between the tanks using a gear pump. This action alters the heeling
(tilting) angle of the ship. The deck of the ship can be loaded with small cylinder magnets
(representing containers). The imbalance caused by this leads to a tilting of the hull which needs
correcting by means of controller intervention.
LD DIDACTIC
by LD DIDACTIC GmbH
11
T 8.2.1.7
Equipment
1
1
1
1
1
1
1
1
2
2
734 300
524 016S2
775 690EN
500 59
726 86
500 641
500 642
500 644
Output X
Not used
Input A
Input B
Not used
LD DIDACTIC
by LD DIDACTIC GmbH
12
T 8.2.1.7
Experiment procedure
K IS =
A
1
=
TI
Y
Here A stands for the slope of the mean straight line in the CASSY Lab evaluation while
Y is the step amplitude at the input of the controlled system and TI is the integral-action
or rate time.
Determine the delay time Te.
Determine the rate time TI based on the integral-action coefficient KI directly from the
graph.
Repeat the measurement using Step: Y = 3 V and Y = 1 V.
Enter all of the measurement results into the table.
Interpret the step responses for the positive manipulated variables.
LD DIDACTIC
by LD DIDACTIC GmbH
13
T 8.2.1.7
LD DIDACTIC
by LD DIDACTIC GmbH
14
T 8.2.1.7
Results
Step responses for positive manipulated variables
U
A1
X = 3,68 V
t = 4,83 s
T e = 2,16 s
1
Offset = 0,29 V
0
1
6
t /s
For positive manipulated variables, the ship's hull rotates in the clockwise direction.
Determining the integral-action or integration constant
Step amplitude of the manipulated variable Y = 1 V
The linear rate of rise for the controlled variable (= tilting of the ship's hull) commences
after approx. Te = 2.16 s.
The measurement is limited (intendedly) to 7 s so that the tilt is not too excessive and
the ballast tanks do not spill over. By using the pump to redistribute the ballast tank
levels, a tilt angle of at most approx. +/- 10 can be compensated for. For an even greater
listing angle, the water returns through the overflow hose back into the other ballast tank.
For that reason, re-pumping is able to achieve a maximum of approx. +/-6 V for the
controlled variable.
To determine the integral-action time using the graph, the time is determined which the
output signal (= controlled variable x) needs to increase and approach the value of the
manipulated variable. Here a possible offset also needs to be taken into consideration.
X = Y t = TI
This definition only works for controlled systems with the same kind of input and output
signals, for example, voltages (V).
LD DIDACTIC
by LD DIDACTIC GmbH
15
T 8.2.1.7
A1
#3
0
1
6
t /s
K IS =
A 1.47 V / s
=
0.3 s 1
5V
Y
LD DIDACTIC
by LD DIDACTIC GmbH
16
T 8.2.1.7
A1
T e = 2,16 s
A=K
IS
x Y = 0,700 V/s;
B = -1,25 V (
A *x + B )
Offset = 0,29 V
0
0
6
t /s
A1
T I = 1,43 s
1,00 V
0
0
6
t /s
Graphic evaluation
LD DIDACTIC
by LD DIDACTIC GmbH
17
T 8.2.1.7
Interpretation
The heel controlled system responds somewhat like an I-action element with PT2
components (I-T2-element, integral-action controlled system with time delay of the
second order).
The following limits apply for the ship's tilt angle:
Mechanically, by hand: 15
Electrically based on the angular encoder: approx. 13 (8.5 V)
The pumping operation enables the controlled variable to reach a maximum of Xmax = 6 V.
Beyond that, the tilting angle is too excessive and the ballast tanks spill over.
The rotary transducer is designed as a wire-wound potentiometer. The resolution is
limited and amounts to 1000 windings for 360 (approx. 0.3). This corresponds to a step
change in the output signal of the angular encoder of approx. 0.2 V!
Due to the limited resolution, the output signal of the rotary transducer is step-shaped.
The relationship between the integral-action or rate time and the integral-action
coefficient is:
K IS =
1 X
A
1
=
=
t Y
Y TI
Input
Slope (A)
KIS
Te
TI
Y = 1 V
0.70Vs-1
0.70 s-1
2.2 s
1.42 s
Y = 3 V
1.27 Vs-1
0.42 s-1
1.4 s
2.38 s
Y = 5 V
1.47 Vs-1
0.30 s-1
1.2 s
3.33 s
LD DIDACTIC
by LD DIDACTIC GmbH
18
T 8.2.1.7
A1
#3
-1
-2
-3
-4
-5
-6
1
6
t /s
Input
Slope (A)
KIS
Te
TI
Y = -1 V
-0.720Vs-1
0.70 s-1
1.8 s
1,437 s
Y = -3 V
-1.27 Vs-1
0.42 s-1
1.4 s
2.38 s
Y = -5 V
-1.52 Vs-1
0.30 s-1
1.1 s
3.33 s
Summary
LD DIDACTIC
by LD DIDACTIC GmbH
19
T 8.2.1.7
Significance
Red
Overshoot at the input of the PID digital controller. The differential between
the reference variable and the controlled variable is more than 20 V.
Blue
Violet
Equipment
1
1
1
1
1
1
1
1
2
2
2
734 064
734 300
524 016S2
775 690EN
500 59
726 86
500 641
500 642
500 644
LD DIDACTIC
by LD DIDACTIC GmbH
20
T 8.2.1.7
Experiment procedure
Profi-CASSY assumes the following functions in this experiment:
Output Y
RESET
Output X
Input A
Input B
K PR = 0.71
1
K IS Te
PI
K PR = 0.59
1
K IS Te
Evaluation
Ti =
K PR = 0.95
PID
1
K IS Te
Ti =
Td = 0.47 Te
LD DIDACTIC
by LD DIDACTIC GmbH
21
T 8.2.1.7
Variations
Modify the controller parameters at your own discretion (empirical optimisation) and
observe the effects on the closed-loop control process.
Modify the step amplitudes: To do this, open Amplitude in the CASSY samples and
adjust the slide control to the desired values.
Vary the offset voltage (Offset DC) and observe the result.
LD DIDACTIC
by LD DIDACTIC GmbH
22
T 8.2.1.7
Results
Controller
Evaluation
K PR = 0.71
1
K IS Te
1.207
PI
K PR = 0.59
1
K IS Te
1.003
1
K IS Te
1.616
Ti =
K PR = 0.95
PID
Ti =
0.658 s
Td = 0.47 Te
LD DIDACTIC
by LD DIDACTIC GmbH
23
T 8.2.1.7
e #1
Controller
Controller parameters
Kp = 1.6
Reference
Disturbances
None
Td = 0.65 s
10
-5
-10
0
50
100
t /s
Black:
Red:
Blue:
Reference variable w
Controlled variable x
Error e
Interpretation
The controller setting was carried out in accordance with CHR for reference setpoint
overshoot of 20%. In spite of that, the controlled variable still demonstrates an aperiodic
characteristic.
The steady-state error signal e = X is due to the loop gain K0 of the open control loop.
This is small for this measurement.
LD DIDACTIC
by LD DIDACTIC GmbH
24
T 8.2.1.7
e #1
Controller
Controller parameters
Kp = 3.5
Reference
Disturbances
None
10
-5
-10
0
50
100
t /s
Black:
Red:
Blue:
Interpretation
Starting from a CHR optimisation, the controller parameters were then modified
empirically.
The controlled variable now shows practically no steady-state error signal at all.
The correction phase is carried out faster than was the case with CHR optimisation.
LD DIDACTIC
by LD DIDACTIC GmbH
25
T 8.2.1.7
e #1
Controller
Controller parameters
Kp = 3.5
Reference
Disturbances
None
Td = 0.10 s
10
-5
-10
0
50
100
t /s
Black:
Red:
Blue:
Reference variable w
Controlled variable x
Error e
Interpretation
The steady-state control error in response to a step change is for all practical intents
compensated by the integral-action element of the controlled system: e = 0 V
The PD-controller, which has empirically adjusted controller parameters, delivers
acceptable results for the selected operating point.
The rate of rise and the correction time can be improved with suitable controller settings.
Note
The parameters may fluctuate for optimal PID controllers. Try it out yourself!
LD DIDACTIC
by LD DIDACTIC GmbH
26
T 8.2.1.7
Internal disturbances
Electrical disturbance voltages are fed directly into the summing point at the output of
the PID digital controller (Ux of the Profi-CASSY functions as disturbance variable).
Mechanical disturbances
Disturbances in the system's equilibrium can also be directly introduced by giving it a
push by hand. Furthermore, magnets can be attached to the ship's hull as loads
(containers).
PI- or PID-controllers can be used whose parameters are determined according to CHR or
determined empirically through trial and error.
Equipment
1
1
1
1
1
1
1
1
2
2
2
734 064
734 300
524 016S
775 690EN
500 59
726 86
500 641
500 642
500 644
Experiment procedure
LD DIDACTIC
by LD DIDACTIC GmbH
27
T 8.2.1.7
Internal disturbances
Profi-CASSY assumes the following functions in this experiment:
Output Y
RESET
Output X
Input A
Input B
Evaluation
1
K IS Te
K PR = 0.3
PI
K PR = 0.59
1
K IS Te
Ti = 4 Te
K PR = 0.95
PID
1
K IS Te
Ti = 2.4 Te
Td = 0.42 Te
LD DIDACTIC
by LD DIDACTIC GmbH
28
T 8.2.1.7
Variations
Modify the controller parameters at your own discretion and observe the effects on the
closed-loop control process.
LD DIDACTIC
by LD DIDACTIC GmbH
29
T 8.2.1.7
Results
Internal disturbances
Disturbances are fed in the form of voltage signals to the output summing point of the PID digital
controller.
Controller
Evaluation
1
K IS Te
0.51
1
K IS Te
1.003
K PR = 0.3
PI
K PR = 0.59
5.6 s
Ti = 4 Te
K PR = 0.95
PID
1
K IS Te
1.616
3.36 s
Ti = 2.4 Te
0.588 s
Td = 0.42 Te
LD DIDACTIC
by LD DIDACTIC GmbH
30
T 8.2.1.7
Controller parameters
Kp = 0.51
Controller parameters
Kp = 1.0
Ti = 5.6
Controller parameters
Kp = 1.6
Ti = 3.4 s
Disturbance
Z #1
Td = 0.6 s
10
-10
0
50
100
t /s
LD DIDACTIC
by LD DIDACTIC GmbH
31
T 8.2.1.7
Controller parameters
Kp = 1.6
Disturbance
e #1
Ti = 3.4 s
Td = 0.6 s
10
-5
W=0V
W>0V
-10
0
50
100
t /s
Plot of the disturbance variable, the controlled variable and control deviation (error)
Black:
Disturbance variable z, here square-wave signal +/-3 V
Red:
Controlled variable x
Blue:
Control deviation (error) e for w = 0 and w > 0
Interpretation
The disturbance variable z stems from the X-output of the Profi-CASSY and is fed to the
output summing point of the PID digital controller.
If the reference variable is w = 0 V, the ship's tilt angle is corrected to 0. (Reference
variable generator: toggle switch in the upward position.)
If the reference variable is w 0 V, the ship's tilt angle is also corrected to a value 0.
The position sensor has a resolution of 0.3 which corresponds to approx. 0.2 V. The
control deviation e cannot be lower than the sensor resolution.
LD DIDACTIC
by LD DIDACTIC GmbH
32
T 8.2.1.7
Mechanical disturbances
Controller
Controller parameters
Kp = 1.0
Internal disturbance
Additional disturbances
e #1
Ti = oFF
Td = 0.7 s
10
-5
-10
0
50
100
t /s
Black:
Red:
Blue:
Interpretation
The mechanical disturbance is produced by pushing against the ship's hull or by moving
the load magnets.
In addition to the mechanical disturbance there is an electrical disturbance affecting the
controlled system at the output of the controller.
LD DIDACTIC
by LD DIDACTIC GmbH
33
T 8.2.1.7
Equipment
1
1
734 482
Experiment procedure
Click on
to see the measurement instruments.
Start the measurement by pressing on .
If necessary, optimise the parameters in the block structure of the controlled system.
Here the objective is to find as much agreement as possible with the step response
results using the CASSY Lab.
Explain schematically the function of the blocks in the WinFACT reference controller.
Evaluate the step response of the simulated controlled system. MULTIPLOT2 shows the
shared step change signal at the input (5 V) and the step response. MULTIPLOT only
shows the step response.
Use the tangent tool found in the plotter for the evaluation of the step response.
LD DIDACTIC
by LD DIDACTIC GmbH
34
T 8.2.1.7
Results
The heel controlled system is a complicated, technical controlled system which is modelled out
of red blocks in BORIS:
Block
Function
GENERATOR
DEADZONE
PT1T2
QUANTIZER
MULTIPLOT 2
Plot of the reference variable, controlled variable and the step response
Notes
The DEADZONE block accounts for the start-up voltage of at least -0.6 V to 0.6 V which
the pump requires. This block is not important for recording step responses for step
change amplitudes amounting to 5 V. However, when a controller is being used, the
block must be taken into consideration.
The block PT1T2 contains the time constants T1 = 0.5 s and T2 = 1.0 s. The equivalent
dead time from the CASSY step response provides approx. 1 s (precisely: Te = 1.2 s).
The PT2 response is due to the above mentioned causes.
LD DIDACTIC
by LD DIDACTIC GmbH
35
x/V
T 8.2.1.7
GENERATOR
QUANTIZER
6
0
0
Blue (GENERATOR):
Red (QUANTIZER):
6
t/s
t1 = 1.36 s (approx. Te = 1 s) K I =
x
dy
=
= 1.55 Vs-1/5 V KI = 0.31 s-1
y t
y dt
Note
In the marker field (MULTIPLOT), the characteristic's slope or rate of rise is defined as dy/dt. It
is not possible to edit the derivation in dx/dt.
Interpretation
The step response simulated using BORIS corresponds to the measurement made using
CASSY Lab.
The heel controlled system can be described as an I-T2controlled system at the
operating point considered here.
LD DIDACTIC
by LD DIDACTIC GmbH
36
T 8.2.1.7
Equipment
1
1*
1
734 482
734 492
* recommended
Experiment procedure
Click on
to see the measurement instruments.
Start the batch run or the single step measurement.
If necessary, optimise the settings of the P-controller.
Explain schematically the function of the blocks in the WinFACT reference controller.
Vary the system parameters and observe how they impact the stability of the closed
control loop.
LD DIDACTIC
by LD DIDACTIC GmbH
37
T 8.2.1.7
Results
Block
Function
GENERATOR
PID
DEADZONE
DEADTIME
Dead time
PT1T2
QUANTIZER
MULTIPLOT
Plot of the reference variable, controlled variable and the step response
LD DIDACTIC
by LD DIDACTIC GmbH
38
y ->
T 8.2.1.7
1.5
KR=4
KR=6
KR=8
KR=10
1.0
0.5
0.0
-0.5
-1.0
-1.5
0
10
15
20
25
30
t ->
Interpretation
Once a critical controller gain level is exceeded, the BORIS model for the heel controlled
system demonstrates continuous oscillation (Kpcrit = 10, Tcrit = 5 s).
The oscillation tendency depends on the following controlled system parameters:
Dead zone
Systems time constants T1, T2.
Quantisation of the sensor signal
The step-like formation in the characteristic signal of the controlled system can be
attributed to the winding throws in the positioning sensor (wire potentiometer). In the
block circuit diagram, this is accounted for by the quantizer element.
LD DIDACTIC
by LD DIDACTIC GmbH
39
T 8.2.1.7
Equipment
1
1*
1
734 482
734 492
* recommended
Note
Using the WinFACT COM3Lab / CASSY edition the simulation can only be performed in singlestep mode (batch runs are not possible).
Experiment procedure
Click on
to see the measurement instruments.
Start the batch run or the single step measurement.
If necessary, optimise the settings of the P-controller.
Explain schematically the function of the blocks in the WinFACT reference controller.
Vary the system parameters and observe how they impact the stability of the closed
control loop.
LD DIDACTIC
by LD DIDACTIC GmbH
40
T 8.2.1.7
Result
Block
Function
GENERATOR
PID
PT2-PREFILTER
DEADZONE
PT1T2
QUANTIZER
MULTIPLOT
Plot of the reference variable, controlled variable and the step response
LD DIDACTIC
by LD DIDACTIC GmbH
41
T 8.2.1.7
Interpretation
The heel controlled system with PT2-prefilter oscillates easier and, at the same
controller gain setting, produces higher oscillation amplitudes than the heel controlled
system on its own.
After exceeding the critical controller gain, the closed control loop carries out steadystate oscillations. From the plot we obtain:
KPcrit = 6
Tcrit = 12 s
LD DIDACTIC
by LD DIDACTIC GmbH
42
T 8.2.1.7
Equation
Parameter
Kp = 0.50 KPcrit
Kp
Kp = 0.45 KPcrit
Kp =
Ti = 0.850 Tcrit
Ti =
Kp = 0.55 KPcrit
Kp =
Td = 0.150 Tcrit
Td =
Kp = 0.60 KPcrit
Kp =
Ti = 0.500 Tcrit
Ti =
Td = 0.125 Tcrit
Td =
PI
PD
PID
Equipment
1
1
1
1
1
1
1
1
1
1
3
2
2
2
734 064
734 091
734 300
524 016S
775 690EN
500 59
500 592
726 86
500 641
500 642
500 644
510 48
LD DIDACTIC
by LD DIDACTIC GmbH
43
T 8.2.1.7
RESET
Output X
Input A
Voltage at the output of the position sensor of the heel controlled system
Input B
Not used
Experiment procedure
Digital controller
Set the following parameters: Kp = 2, Ti = oFF, Td = oFF.
LD DIDACTIC
by LD DIDACTIC GmbH
44
T 8.2.1.7
LD DIDACTIC
by LD DIDACTIC GmbH
45
T 8.2.1.7
Results
Determination of the optimum ZN controller parameters
f1
100
T crit = 7,6 s
50
0
0
100
50
t /s
Operating the heel controlled system with the P-controller after exceeding the oscillation limit
1 = initiating oscillating phase (manual), 2 = oscillation phase, 3 = oscillation decay phase
Red:
Black:
Interpretation
With the PT2-element connected upstream in series there are considerable control
oscillations arising in the heel controlled system.
The ZN optimisation method can be applied with good results to the expanded heel
control loop with PT2 prefilter.
A determination of the oscillation limits does not provide any clearly defined value for the
critical controller gain setting. The Kpcrit value lies somewhere in the range from approx.
3 < Kpcrit < 6 for the existing heel controlled system with PT2-filter. The value can vary
from case to case and has an immediate effect on finding the optimum controller
parameters.
The critical period duration may, for example, be at Tcrit = 7 s.
Once the gain KR is reduced, the control oscillations begin to fade away again.
The objective of the experiment is to illustrate the fundamentals of automatic control
technology. In reality, it is normally not possible to optimise the control loop according to
the ZN method, since real processes may never be allowed to operate on the oscillation
limits.
LD DIDACTIC
by LD DIDACTIC GmbH
46
T 8.2.1.7
ZN controller parameters
Controller
P
PI
PD
PID
Equation
Parameter
Kp = 0.50 Kp,crit
Kp = 2.5
Kp = 0.45 Kp,crit
Kp = 2.3
Ti = 085 Tcrit
T1 = 6.0 s
Kp = 0.55 Kp,crit
Kp = 2.8
Td = 0.15 Tcrit
T1 = 1.1 s
Kp = 0.60 Kp,crit
Kp = 3.0
Ti = 0.50 Tcrit
T1 = 3.5 s
Td = 0.125 Tcrit
T1 = 0.85 s
LD DIDACTIC
by LD DIDACTIC GmbH
47
T 8.2.1.7
Controller parameters
Kp = 2.5
Controlled system
Reference
Disturbance
None
U A1
-1
-2
-3
0
50
100
t /s
Interpretation
The automatic control is unusable. Optimisation of the position control for a heel control
loop with PT2-filter according to ZN is simply not possible with a P-controller.
The ZN method is primarily used for the automatic disturbance control. When
determining controller parameters using optimisation rules, ZN - unlike CHR - does not
distinguish between reference control and disturbance control.
For that reason, the same controller parameters are used for both reference and
disturbance control.
LD DIDACTIC
by LD DIDACTIC GmbH
48
T 8.2.1.7
Controller
Controller parameters
Kp = 2.3 Ti = 6.0 s.
Controlled system
Reference
Disturbance
None
-1
-2
-3
0
50
100
t /s
LD DIDACTIC
by LD DIDACTIC GmbH
49
T 8.2.1.7
Controller
Controller parameters
Kp = 2.8
Controlled system
Reference
Disturbance
None
Td = 1.1 s
-1
-2
-3
0
50
100
t /s
LD DIDACTIC
by LD DIDACTIC GmbH
50
T 8.2.1.7
Controller
Controller parameters
Kp = 3.0
Controlled system
Reference
Additional disturbance
None
Ti = 3.5 s
Td = 0.85 s
-1
-2
-3
0
50
100
t /s
LD DIDACTIC
by LD DIDACTIC GmbH
51
T 8.2.1.7
Controller parameters
Controlled system
Disturbances
U A1
-1
-2
-3
0
50
100
t /s
Black:
Red:
Blue:
Interpretation
Thanks to the series connection of the PT2-element to the heel controlled system we
obtain an integral-action controlled system with time delay of the n = 3 order (with dead
time). These kinds of controlled systems are difficult to control.
Determining the critical oscillation period and the proportional gain is much simpler in
systems with time delay of a higher order.
The optimisation of a PD controller according to ZN provides a usable disturbance
response for the heel controlled system with PT2-prefilter.
ZN optimisation for reference and disturbance response only provides acceptable
results for a PD-controller.
LD DIDACTIC
by LD DIDACTIC GmbH
52
T 8.2.1.7
Equipment
1
1
1
1
1
1
1
1
1
2
1
734 300
524 016S
775 690EN
500 59
726 86
500 641
500 642
500 644
510 48
Not used
Output X
Manipulated variable
Input A
Input B
Not used
Experiment procedure
LD DIDACTIC
by LD DIDACTIC GmbH
53
T 8.2.1.7
Click on
to see the measurement instruments.
Start the measurement by pressing on .
If necessary optimise the generator settings (step amplitude, delay, period duration).
Click on
to see the measurement instruments.
Start the measurement by pressing on .
If necessary, optimise the generator settings (step change amplitude, delay, period
duration) and the controller parameters.
Explain schematically the function of the blocks in the WinFACT reference controller.
LD DIDACTIC
by LD DIDACTIC GmbH
54
T 8.2.1.7
Results
Recording the step response using WinFACT
Block
Function
GENERATOR
MULTIPLOT2
EVALUATION
USER1, X
USER1, A
Red:
Black:
LD DIDACTIC
by LD DIDACTIC GmbH
55
y ->
T 8.2.1.7
GENERATOR
USER1
6
-2
-4
-6
-8
0
10
12
14
16
18
t ->
20
Joint display of the step change signal at the input of the heel controlled system and the step
response
GENERATOR:
USER 1:
Input signal
Step response of the heel controlled system
LD DIDACTIC
by LD DIDACTIC GmbH
56
T 8.2.1.7
Interpretation
In the time period 0 < t < 10 when the left ballast tank is filling up, the controlled variable
characteristic (tilt angle) is negative.
In the time period 10 < t < 20 s the step amplitude becomes positive and the right-hand
tank is filling up (clearly visible on the plotter MULTIPLOT2).
Using the plotter EVALUATION function, it is possible to assess the step response. For
a step amplitude of 4 V, we obtain:
KI =
Note
x
dy
=
= 1.38 Vs-1/4 V KI = 0.35 s-1
y t
y dt
In the marker field EVALUATION, the characteristic's slope is defined as dy/dt. It is not
possible to edit the derivation in dx/dt (x for controller variable, y for manipulated
variable).
LD DIDACTIC
by LD DIDACTIC GmbH
57
T 8.2.1.7
Block
Function
GENERATOR
PID
Controller
SUMMING POINT
Multiplot 2
USER1, X
USER1, A
Red:
Black:
LD DIDACTIC
by LD DIDACTIC GmbH
58
y ->
T 8.2.1.7
GENERATOR
USER1
-1
-2
-3
-4
-5
0
GENERATOR:
USER 1:
10
12
14
16
18
t ->
20
Reference variable w
Controlled variable x
Interpretation
Only slight ramp delay.
Software controllers are sampling data instruments. For that reason, they are subject to
additional dead times and therefore have an increased tendency to oscillate.
With software controllers, the reference control is best using the P-controller. Only slight
ramp delay.
LD DIDACTIC
by LD DIDACTIC GmbH
59
T 8.2.1.7
Equipment
1
1
1
1
1
1
1
1
1
1
2
2
734 02
734 300
524 016S
775 690EN
734 482
500 59
726 86
500 641
500 642
500 644
Not used
Output X
Input A
Input B
LD DIDACTIC
by LD DIDACTIC GmbH
60
T 8.2.1.7
Experiment procedure
Click on
to see the measurement instruments.
Start the measurement by pressing on .
LD DIDACTIC
by LD DIDACTIC GmbH
61
T 8.2.1.7
Result
Block circuit diagram of the three-position controller
Block
Function
Controller
Three-position controller
Reference
Listing
Reference Meter
Listing Meter
Multiplot 2
CASSY OUT, X
CASSY IN, A
CASSY IN, B
Red:
Black:
LD DIDACTIC
by LD DIDACTIC GmbH
62
y ->
T 8.2.1.7
15
Reference
Listing
Controller
10
-5
-10
-15
0
10
15
20
25
30
35
40
45
t ->
50
LD DIDACTIC
by LD DIDACTIC GmbH
63