
34 Control Methods for Switching Power Converters 993
34.4 Fuzzy Logic Control of Switching
Converters
34.4.1 Introduction
Fuzzy logic control is a heuristic approach that easily embeds
the knowledge and key elements of human thinking in
the design of nonlinear controllers [19–21]. Qualitative and
heuristic considerations, which cannot be handled by conven-
tional control theory, can be used for control purposes in a
systematic form, and applying fuzzy control concepts [22].
Fuzzy logic control does not need an accurate mathematical
model, can work with imprecise inputs, can handle nonlinear-
ity, and can present disturbance insensitivity greater than the
most nonlinear controllers. Fuzzy logic controllers usually out-
perform other controllers in complex, nonlinear, or undefined
systems for which a good practical knowledge exists.
Fuzzy logic controllers are based on fuzzy sets, i.e. classes of
objects in which the transition from membership to nonmem-
bership is smooth rather than abrupt. Therefore, boundaries
of fuzzy sets can be vague and ambiguous, making them useful
for approximation models.
The first step in the fuzzy controller synthesis procedure
is to define the input and output variables of the fuzzy con-
troller. This is done accordingly with the expected function
of the controller. There are no general rules to select those
variables, although typically the variables chosen are the states
of the controlled system, their errors, error variation and/or
error accumulation. In switching power converters, the fuzzy
controller input variables are commonly the output voltage
or current error, and/or the variation or accumulation of
this error. The output variables u(k) of the fuzzy controller
can define the converter duty cycle (Fig. 34.60), or a refer-
ence current to be applied in an inner current-mode PI or a
sliding-mode controller.
The fuzzy controller rules are usually formulated in linguis-
tic terms. Thus, the use of linguistic variables and fuzzy sets
implies the fuzzification procedure, i.e. the mapping of the
input variables into suitable linguistics values.
Rule evaluation or decision-making infers, using an infer-
ence engine, the fuzzy control action from the knowledge of
the fuzzy rules and the linguistic variable definition.
Fuzzification Defuzzification
Inference
Engine
Rule
Base
Data
Base
y(k)
Power
Converter
FUZZY
CONTROLLER
u(k)
r(k)
_
+
+
e(k)
e‘(k)
FIGURE 34.69 Structure of a fuzzy logic controller.
The output of a fuzzy controller is a fuzzy set, and thus it
is necessary to perform a defuzzification procedure, i.e. the
conversion of the inferred fuzzy result to a nonfuzzy (crisp)
control action, that better represents the fuzzy one. This last
step obtains the crisp value for the controller output u(k)
(Fig. 34.69).
These steps can be implemented on-line or off-line. On-line
implementation, useful if an adaptive controller is intended,
performs real-time inference to obtain the controller output
and needs a fast enough processor. Off-line implementation
employs a lookup table built according to the set of all pos-
sible combinations of input variables. To obtain this lookup
table, the input values in a quantified range are converted
(fuzzification) into fuzzy variables (linguistic). The fuzzy set
output, obtained by the inference or decision-making engine
according to linguistic control rules (designed by the knowl-
edge expert), is then, converted into numeric controller output
values (defuzzification). The table contains the output for all
the combinations of quantified input entries. Off-line pro-
cess can actually reduce the controller actuation time since
the only effort is limited to consulting the table at each
iteration.
This section presents the main steps for the implementation
of a fuzzy controller suitable for switching converter control.
A meaningful example is provided.
34.4.2 Fuzzy Logic Controller Synthesis
Fuzzy logic controllers consider neither the parameters of the
switching converter or their fluctuations, nor the operating
conditions, but only the experimental knowledge of the switch-
ing converter dynamics. In this way, such a controller can be
used with a wide diversity of switching converters implying
only small modifications. The necessary fuzzy rules are simply
obtained considering roughly the knowledge of the switching
converter dynamic behavior.
34.4.2.1 Fuzzification
Assume, as fuzzy controller input variables, an output volt-
age (or current) error, and the variation of this error. For
the output, assume a signal u(k), the control input of the
converter.