Professional Documents
Culture Documents
Neural Network Control of Switch Mode Systems: Off Line Training by An "Ideal Controller" Data SET
Neural Network Control of Switch Mode Systems: Off Line Training by An "Ideal Controller" Data SET
*
Natalia Kodner, Daniel Adar and Sam Ben-Yaakov
ABSTRACT -A novel method is proposed for designing The procedure entails the subjection of the system to
Neural Network Controllers (NNC) for switch mode input and output perturbations while updating the weights
systems. The method applies a new concepl: "The Ideal according to the error at the outputs [4]. The disadvantage
Controller" which is run 'off-line' to generate a record of of this 'on-line' method is the extremely long time that the
'perfect' control signals in response to input and output training process might take due to convergence problems
perturbations. The record is then used as an 'off-line' of the algorithm. In this study we explored an alternative
training set for a Neural Network controller. The procedure for training NNC for switch mode systems. The
advantages of the proposed melhod are three fold: (a) the new methodology hinges on two conjectures that are
training set is the best possible, (b) training is done 'off- proven experimentally: (a) that neural networks can be
line' by simulation and (c) there is no need to derive or trained to mimic the dynamic behavior of a high
guess the control law .The present study demonstrates by performance controller for switch mode systems and (b)
simulation the potential excellent performance of a NNC that.a 'perfect' training set for the NNC can be generatedby
for DC-DC Switch-Mode converters when trained by the an 'off-line' procedure that applies an "Ideal Controller"
proposed methodology. The proposed methodology can be defined below. The power ot the new methodology is
readily expanded to other Switch-Modc systems such as demonstrated by applying it in the design of a NNC for
inverters and power factor conditioners. DC-DC Buck and Boost converters.
1.IN1RODUCTION
* Corresponding author.
z
Applying changes
-
I . to input paraInetcrs
(p(j+l»
(n times loop)
Fig. 2. Neural Network training procedure based on an "Ideal controller" data set (see Fig. 1 for notations).
~
The basic circuit diagram of a Buck converter is shown The proposed Neural Network control diagram for the
in Fig. 3.a. The output voltage is controlled by the switch buck converter is shown in Fig. 4. The control objective
duty cycle (D=Tonff), while the switching frequency is is to keep the output voltage close to a constant reference
constant. The average behavior of the Buck converter can "voltage, for any sampling instance, while the input
be represented by the simplified model described in Fig. voltage (Viii~nd the output resistor (Ro) are fluctuating.
3.b, where D controls the output voltage [9]. The state The block diagram of Fig. 5 is a simplified description of
space representation derived from the average model is as the algorithm used to pinpoint the ideal control (DO)) at a
follows: given sampling instance 0). The algorithm applies (2) in a
searching procedure to calculate the 'ideal control' (D 0))
x=A*x+B*u (I) for each value of VinO), Ro(j) and the state variable
conditions at 0). This proposed IC strategy can be applied
where: to all basic PWM converters using the Matlab models
described in [10]. Once the response of ideal controller
(DO» is found, it is saved along with the other data of the
system (VinO), RoO), iLO), DO-l)), as the training data
set for point 0). The complete training set for the'NNC is
obtained by repeating the same process as a function of the
discrete time 0) while V in and Ro are Perturbed.
1
CRo(t)
1
C ] ; B= 1
o The internal configuration of the'NNCof1his study is
described in Fig. 6. The controller was trained by Matlab
A=
1 O l L Vin(t) J software, as described in example 4 of the Neural Network
L Toolbox [7-8], to get the appropfiate val!les of W1, W2,
B 1 and B2 (see Fig. 6 for notations);"
and the solution for the state variables is:
t 5. SIMULATION RESULTS
Vin I
Vout
o ~ 0
1
Ro
D
(a) IL I
~i Z-1
(b)
Fig. 3. Basic power stage of DC-DC Buck converter (a) Fig.4. Proposed block diagram of Neural Network
and it's simplified Average model (b). Controller for DC-DC Buck converter.
~
'-I
j=j+l
..c~
-- ..~-
Calculate output (Vout)
for the new inputs (Vin .Ro)
and previous controller (D).
Set AD=O.Ol.
yes
no yes
---
D=D+AD
--
';~~",
I Calc. outl)ut (Vout) I I Calc. output (Vout) I
no no
vout ~ vp
, yes
no
~ > 0.99
yes
~-.
D = 0.99 D = Q.Ol
Ideal controller search algoritlun (for each one point) (j» for DC-DC Buck converter.
Neuron Layer 1
A2
Internal configuration of Neural Network Controller for Buck converter (4 input, 4 hiddcn and 1 output Laycrs) as
applied in this study.
~
5
I.
It is evident that the output voltage maintained by the
IC is practically constant except for cases where the
controller is clamped to one or zero. The clamping
represents the physical limitation of practical PWM
controllers in which the duty ratio (D) is limited to the 0
to I range. The Neural Network Controller (NNC) output 0.
Tj".,(~c)
5.5 (.)
0 0.01 0.D2 0.03 01)4 0.05 0.06 0.U7 0.08 0.00 0.1
T~sec)
4.5
(a)
5.05- ;
, 0.01
" 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
11m:(~c) ~
(b) "
>
Fig. 7. Output of the Ideal Controller for the Buck
converter (a) and the ideally controlled
output voltage (b) while input parameters 0 0.01 0.02 0.03 0.04 0.05 0.06 0.(Jl 0.08 0.00 0.1
(Vin. Ro) are modulated by a random noise of TI/De(scc)
30% variance. (b)
REFERENCES
[1] G. Cybenko, " Approximation by superposition of a
sigmodial function," Math. Control Signals
Systems, 1989,2, pp. 3Q3-314.
[2] A. Insleay, N.R. Zarger and G. Joos, "A Neural
Network controlled unity power factor three phase
PWM rectifier," IEEE Power Electronics Specialists
ConI Record, 1994, Vol. 1, pp. 577-582.
[3] B. Lin and R. G. Hoft, '.Power Electronics inverter
control with neural networks," IEEE Applied Power
Electronics ConI Record" 1993, pp. 128-132.
[4] W. H. Wolfram and H. W. Gcffers, " Adaptive
control of dynamic systems by back propagation
networks," Neural Networks, 1993, Vol. 6, pp. 517-
524.
[5] K. J. Asrom and B. Wittenmark, Computer
controlled systems, Prentice Hall, Engelwood, pp.
203-205, 1984.
[61 B. Leibovich, U. Hardon and S. Ben-Yaakov,
"Microcontroller based arbitrary waveform inverter,"
IEEE Applied Power Electronics ConI Record, ~~-c