Professional Documents
Culture Documents
6
2
Where u is the control variable and is the control
error. The control variable is thus a sum of three
In this transfer function, VO is the output
voltage, D is the duty cycle, C is the output terms: the P term (which is proportional to error),
capacitance, L is the inductance and R is the load the I-term (which is proportional to the integral of
resistance. RL and RC are the equivalent series the error), and the D-term (which is proportional to
resistance (ESR) of L and C respectively. This the derivative of the error) [6]. While the integral
transfer function is a second order low pass filter, action takes care of the steady state error under
with a left-half-plane introduced by the ESR of the steady state condition making it zero, the derivative
filter capacitance C [5]. The cut-off frequency of
action improves the closed-loop stability. Proper
the second order low pass filter is ωC = 1/√ .
selection of the controller parameters , and
Variations of D, varies the magnitude of the
transfer function. Moreover, it does not change the makes the controller perform optimally.
shape of the frequency response, but shifts the
magnitude plot upward or downward. B. Design of a PID Controller
Table 1 The open loop transfer function G(s)H(s)
Circuit Parameters of the prototype Buck is given in equation (3). It is desired that the system
Converter have a phase margin Ф 107° at a cross-over
Parameter Value Units frequency of 125.66 kHz and steady state error for
Input Voltage, Vi 24 V
unit ramp input is 0.035%. So a PID controller
Desired Output 12 V
Voltage, Vod whose transfer function is
Load Resistance, Ro 6 Ω introduced to get the desired phase margin at the
Filter Inductance, L 35 μH desired frequency. For the controller to meet the
Filter Capacitance, C 150 μF
requirements,
ESR of Inductor, RL 0.12 Ω
Ф 180° 7
ESR of Capacitor, RC 0.03 Ω
90° 8
The nominal operating point of the
prototype Buck converter is chosen as follows: Here 9
Input Voltage, Vi = 24 V, Desired Output Voltage,
Vod = 12 V, Duty ratio D = 0.5, Switching Also | | 1 10
frequency = 200 kHz. Representing eq.(9) in triangle form,
Yes
Perform reproduction
Step 1: The inner loop is the chemotactic loop of each and every bacterium is calculated and
shown in figure 5. In this process, the movement of sorted out in the ascending order. The worst half of
an E.Coli bacterium is simulated. It moves in two the bacterial population with the highest value dies
different ways: tumbling and swimming [10]. Each out and the other half of the population with the
time it performs an operation, the objective lowest value splits out [10]. For this new
function value is calculated. The bacterium changes generation of bacterium, the inner chemotactic loop
its position only if the modified objective function is started and this process continues for the
value is less than the previous one. At the specified number of reproduction steps.
completion of chemotaxis, the bacterium will be
swarming around a point in the search space with Step 3: The outermost loop is the elimination-
least objective function value. dispersion loop shown in figure 3. In this process,
some bacterium with very small probability is
Step 2: The loop outside the chemotactic loop is the eliminated and dispersed to a random location on
reproduction loop shown in figure 2. In this the optimization domain. This process keeps the
reproduction process, the objective function value number of bacterium constant [10].
2011 IEEE PES Innovative Smart Grid Technologies – India
D. Optimization process of the BFOA-PID ISE strongly suppress large errors and IAE
algorithm: suppress small errors more effectively. ITAE works
The steps that are used for optimizing the PID more effectively on errors that persist for a long
controller parameters are, time. So ISE is used for penalizing the response
1. Initialize all the variables. that has large errors which is usually the case at the
2. Find the position and velocity of each dynamic part of the response and ITAE is used for
bacterium and update the position of each penalizing a response which occurs during the
bacterium by performing swim and tumble. steady state condition [4].
3. For each bacterium the best position is
recorded in the PID controller. Minimization of these errors is considered
4. Perform simulation and calculate the error (Vref to be the main objective of this algorithm. In each
- Vout). iteration, the errors (i.e.) the objective function is
5. Calculate the local best position of each calculated. Also the corresponding Kp, Ki and Kd
bacterium and then the global best position. values are calculated. Condition check is being
6. Find the new direction (tumble) for each made to find whether the objective function is
bacterium by calculating its velocity. The minimized. If the condition comes out to be true,
velocity of each bacterium is changed for easy the Kp, Ki and Kd values found out during that
convergence. iteration is considered to be optimum. Otherwise
7. Perform reproduction process by sorting the the next iteration starts and the process continues.
bacteria in the order of ascending cost, killing This algorithm is developed such that if the errors
half of the population with highest cost and remain to be minimum continuously for 100
splitting up the other half population. iterations, the optimization process stops and the
8. If the cost (error) calculated is minimal, then Kp, Ki and Kd values calculated during the final
the bacterium with minimum cost gives the iteration is assigned as the controller parameter
optimal PID controller parameters. Or else values and the controller operates with that
goto step 2. parameter values.
∞
(14)
∞
15
∞
16
Figure 6: Output response of the Buck converter
with PID control
2011 IEEE PES Innovative Smart Grid Technologies – India
The figure 6 shows the output response of The figure (8) shows the output response
the Buck converter with PID control. The output of the PID contolled Buck Converter which is
response has a peak overshoot of 6.22V. This peak optimized using BFOA. The figure(9) shows the
overshoot accounts to more than 50% of the desired
ISE, IAE and ITAE error plot. It can be inferred
output voltage which is very large and is
unacceptable in most sensitive applications. that the errors are minimized very shortly.
160
ISE
140 IAE
ITAE
120
100
Process output
80
Figure 7. Dynamic response of the PID controlled
Buck converter to load step change from 6Ω to 60
25Ω. 40
14
Table II
12 Performance evaluation
10 Parameters PID BFOA tuned
control PID Control
G lobal bes t pos ition
VII. REFERENCES
1) Robert W. Ericson, “DC-DC Converters”,
Article in Wiley Encyclopaedia of Electrical
and Electronics Engineering.
2) Prodit, . Maksimovic, “Design of a digital PID
regulator based on look-up Tables for control
of high frequency dc-dc converters”,
Figure 12 Dynamic response of a BFOA-PID
Proceedings in IEEE workshop on Computing
controller and Power Electronics, June 2002, pp. 18 – 22.
3) Y. Duan, H. Jin, “ Digital Controller Design
for Switch mode power converters”,
Proceedings in 14th Annual Power Electronics
Conference Exposition, Dallas, Tx, March
1999, pp. 14-18, Vol. 2, pp. 967-973.
4) R. P. Severns, G. E. Bloom, “ Modern dc-dc
switch mode power converter circuits”, New
York, Van Nostrand Reinhold, 1985.
5) Liping Guo, John Y. Hung, R. M. Nelms,
“Evaluation of DSP based PID and Fuzzy
Controllers for DC-DC Converters”, IEEE
transactions on Industrial Electronics, vol. 56,
No. 6, June 2009, pp. 2237-2248.
Figure 13 Output response of a BFOA-PID 6) Karl J. Astrom, Tore Hagglund, “PID
Controllers”, second edition, Instrument
controller for a load change from 6Ω to 25 Ω
Society of India, 1995, pp.164,
7) Passino K.M. “Biomimicry of Bacterial
Figure (13) shows how the BFOA-PID Foraging for Distributed Optimization and
controller operates, when the load change from 6Ω Control,” IEEE Control Systems Magazine,
to 25 Ω is being suddenly applied at 15μs. The Vol. 22, No. 3, pp. 52-67, June 2002.
performance of the converter under that condition 8) Liu Yanfei, Passino K.M., “Biomimicry of
shows that it regains its normal working status very Social Foraging Behavior for Distributed
shortly which shows its robustness to load Optimization: Models, Principles, and
Emergent Behaviors,” Journal of Optimization
disturbances.
Theory and Applications, Vol. 115, No. 3, pp.
603-628, Dec. 2002.
2011 IEEE PES Innovative Smart Grid Technologies – India