Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Pt100 sensor
(secondary)
AC/DC
Pulse Width
Modulator (PWM)
Fan Heater
Air tube
RS232 Serial
Air
Pt100-mA
transducer
Fan speed
adjust
3 x Voltage AI
(Temp 1, Temp 2, Fan indication)
1 x Voltage AO
(Heating)
Pt100
sensor
(primary)
Laptop PC
with
LabVIEW
Fieldpoint
FieldPoint
(Dual Channel Voltage I/O)
| e |max
1
| e |mean
tf ti
tf
ti
| e | dt
du
dt mean
tf ti
tf
ti
| du
dt | dt
| e |max
can be implemented with the following code:
1
| e |mean
tf ti
tf
ti
| e | dt
du
dt mean
tf ti
tf
ti
| du
dt | dt
10
Control
Manual feedback:
Automatic feedback
(PID):
Setpoint
Filtered temp
11
Automatic
feedb (PID):
Perform.
index:
|e|max
0.78 %
0.86
0.44
|e|mean
0.39
0.21
0.12
|du/dt|mean
4.54
7.00
12
13
14
No filter
IIR, PI contr
15
16
The wizard is opened when the autotune? input is TRUE. When the
tuning is finished, the new PID settings are written to the PID_gains
local variable. The FALSE case above (which is active when the tuning
is finished), contains the PID Advanced.vi which is used in normal operation.
17
Tuning cont.
One of the dialog windows
of the PID Autotuning.vi
wizard is shown in the
figure:
Results:
Kc = 40,8
Ti = 8.0 s
Td = 2.0 s.
Representative setpoint
step response after tuning:
Seems ok :-)
18
19
Relay-based
tuning cont.
A = 20%
Pu = 12 sec
20
21
22
23
24
Feedforward cont.
25
26
Conclusions
LabVIEW with PID Toolkit offers a flexible and
user-friendly environment for students to learn
practical PID control.
Practical control is best learned in (practical)
labs because the students will then experience
important realistic problems and phenomena
related to e.g. noise.
27