Documente Academic
Documente Profesional
Documente Cultură
Advanced Control
1. The computer requests a value from the A/D converter. The A/D
converter samples the process signal, converts it to a number, and stores it
in the computer memory or a register.
A good rule of thumb is that the sample time should be about one-
tenth of the effective process time constant
Discrete Form of PID Controllers
Position Form
Kc t de(t )
u (t ) u s K c e(t )
I
0
e(t )dt K c D
dt
Position Form
Kc t de(t )
u (t ) u s K c e(t )
I 0
e(t )dt K c D
dt
K
K c D
u(k ) us K c e(k )
K cTs
e(i) e(k ) e(k 1)
I i 1 Ts
Velocity Form
K c D
u (k ) u (k 1) K c e(k ) e(k 1) e(k ) 2e(k 1) e(k 2)
K cTs
e( k )
I Ts
Discrete Form of PID Controllers
Velocity Form
Where: Ts D
g 0 K c 1
I Ts
2 D
g1 K c 1
Ts
K c D
g2
Ts
Discrete Form of PID Controllers
u (k ) g 0 g1q 1 g 2 q 2
e(k ) 1 q 1
Ts
t0c t0
2