Professional Documents
Culture Documents
ISSN: 2278-0181
Vol. 3 Issue 12, December-2014
1.
2.
IJE
RT
3.
I. INTRODUCTION
IJERTV3IS120218
4.
5.
6.
7.
U t = Kp e t + Ki 0 + ()
(1)
www.ijert.org
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
307
Gc s = Kp 1 +
+ s Td (2)
s Ti
Where Ti= integral time and Td= derivative time.
Considering the system transfer function as in equation 3,
we find the Kp and the timing constraints of both integral
and differential systems using Routh array method. By
using Zeiglers Nichols method we can find the Gain
parameter values of the controller as shown in table 1.
1
Gc s =
(3)
s s + 1 ( + 5)
Thus the transfer function of the controller becomes:
()
Kp
=
(4)
() s s + 1 s + 5 + Kp
Controller
Kp
Ki
PI
0.45 K0
2K0/T0
PID
0.6 K0
2K0/T0
K0T0/ 8
b.
PID controller
Similarly as PI controller we also find the parameter
values for PID controller from the table 1. We adjust the
parameter values until the system is stable. From step
response, the Rise time (tr)= 0.35sec, Delay time (td) =
0.55sec, Settling time(ts)= 7.79sec.Thus from the step
response analysis, the PID controller is suitable compared to
PI controller.
Kd
PI controller
c.
IJE
RT
a.
From 70 to 99 mg/dL
Pre-diabetes
Diabetes
d.
IJERTV3IS120218
www.ijert.org
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
308
IJE
RT
IJERTV3IS120218
www.ijert.org
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
309
a.
a) Simulink results
IJE
RT
For both the PI and PID controller the inputs are given
from the Work space and the result is obtained in
Workspace. The maximum input glucose value given for
both the controllers is 128mg/dL. The figure 7a and figure
7b depicts the input exogenous glucose and exogenous
insulin output of the PI controller. The figure 8a and 8b
depicts the input and output of the PID controller.
Xilinx results
Figure 8a: PID controller input-glucose and Figure 8b: PID controller
output-insulin
IJERTV3IS120218
www.ijert.org
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
310
Used
Available
1.
2.
Utilization
PI
PID
Number of Slices
360
558
440
600
Number of 4 inputs
LUTs
375
527
27392
1%
2%
Number of bonded
IOBs
104
150
556
18
%
27%
16
6%
12%
Number of
BUFGMUXs
REFERENCES
PI
PID
13,696
3%
4%
27,392
1%
2%
3.
4.
5.
6.
7.
AUTHORS PROFILE:
IJE
RT
V. CONCLUSION
There can be vast differences produced by different
tuning procedures. The step response of PID controller is
better than the PI controller.Since we had considered only
Hyperglycaemia, the exogenous blood glucose should
reduce as early as possible, thus the PID controller injects
better Insulin dosage compared to PI controller.From the
design summary and Timing analysis PI controller is good
compared to PID controller, but by using PID controller we
can achieve better speed and better performance. The results
show that implementation of PID controller on FPGA
device in ISE tool is compact, high speed and this promotes
the designer to evaluate and implement different designs
easy and simple.
Future work:-The same controller can be designed by
different algorithms such as Genetic algorithm, Fruit-fly
optimization technique, Ant-colony.The complete closedloop system can be considered and designed for real-time
glucose values.The number of bits used in Xilinx blocks can
be increased.
IJERTV3IS120218
www.ijert.org
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
311