Академический Документы
Профессиональный Документы
Культура Документы
I NTRODUCTION
II.
PID C ONTROLLER
1259
Fig. 1.
TABLE I.
Single
Double
Sign
1
1
TABLE 1
Exponent
8
11
Fraction
23
52
Bias
127
1023
FPGA I MPLEMENTATION
Fig. 2.
Fig. 4.
Fig. 3.
Architecture of PID
Architecture of FFPC
The proposed architecture shows the how the parallel process execution is to be done in FPGA, where the M. Moallem
shows the implementation of PID control algorithm in FPGA
technology [9]. Where as the multiplication of corrected error
signal (e) and proportional gain (Kp) gives proportional output
(P).
1261
Ts
(f (k) f (k 1))
2
(4)
Ts
f (z)
2(1 + z 1 )
(5)
TABLE III.
Logic
Number of Flip Flops
Number of input LUTs
Number of Slices
P ROPOSED
Used
129
391
244
Available
9,312
9,312
4,656
Utilize
1%
5%
6%
By taking Z transform
y(z) (1 z 1 ) =
T s(1 + z 1 )
f (z)
2(1 z 1 )
(6)
(f (k) f (k 1))
Ts
(7)
(1 z 1 )
f (z)
Ts
(8)
y(z) =
Discrite derivative
y(k) =
Z transform
y(z) =
PID controller
u(t) = Kp e(t) + Ki
t
0
e(t) dt + Kd
e(t)
dt
(9)
Fig. 5.
Response of PID
Fig. 6.
= K p + Ki
+
K
d
E(z)
2(1 z 1 )
Ts
U (z)
1
)
E(z) (1 z
1
1
(1z )(1z )
Ts
U (z)
E(z) = Kp
Kd 1 Kd 2
2 Ts z Ts z
= Kp (1 z 1 ) + Ki T s(1z
2
(10)
+ Kd
(11)
Kp Z 1 +
(Ki T s)
2
(Ki T s) 1
z
2
Kd
T s )E(z)
(12)
Kd
Ts
+ (Kp +
(13)
U(k)=u(k+1)+a*e(k)+b*e(k-1)+c*e(k-2)
(14)
Where
a=Kp +
(Ki T s)
2
b=-Kp +
(Ki T s)
2
Kd
Ts
d
2K
Ts
c=Kd T s
V.
Table III shows resource utilization of proposed PID controller. While comparing the Table I & Table II it utilizes the
less space in the FPGA, so the system response is greatly
increased. Also the g 4. shows the Response of PID in
MATLAB/SIMULINK, where we set the settling time as 100.
In g 5. the output Wavescope of PID controller is shown,
where these results clearly shows the superior controlled output
of PID controller.
Logic
Number of Flip Flops
Number of input LUTs
Number of Slices
C ONVENTIONAL
Used
406
708
437
Available
9,312
9,312
4,656
Utilize
4%
7%
9%
VI.
Table II shows the results of resource utilization of conventional PID controller in FPGA, where it shows the used
slices, FFs and LUTs in FPGA SPARTAN 3E, also shows the
number of percentage used compared to availability[3].
1262
C ONCLUSION
1263