Vous êtes sur la page 1sur 8

Speed Control Based on Adaptive Fuzzy Logic Controller For AC-DC

Converter Fed DC Motor Drives

E. E. El-kholy, H. Yousef, and A. M. Dabroom

General Organization for Technical Education and Vocational Training,


College of Telecomm. & Electronics, R & D Center, Jeddah, Saudi Arabia.
e-mail: eelkholy@yahoo.com
e-mail: hossamyh@yahoo.co.uk
e-mail: amdabroom@yahoo.com

Abstract: to complexity, requiring of estimation stages,


This paper presents fuzzy logic control (FLC) model structure changes due to discontinuous
based speed control system for a DC Motor drive mode of operation, parameter variations,
drive through the use of Genetic optimization. load excursions and noisy feedback speed and
The control system design and implementation current signals [13-17]. In the drive field,
procedures of DC motor drive using Digital fuzzy logic has applied to various problems,
Signal Processor are described. Results of such as robust control of DC drive systems.
simulation and experimental on the real This paper presents.
control system demonstrated that the proposed
FLC is able to overcome the disadvantage of In this paper, fuzzy logic controller is used
use PI controller. Also, the results obtained instead of the PI controller to overcome the
have shown the feasibility and effectiveness of undesired undershoots coming from load
the control system. impact at some abnormal conditions. A
complete circuit for the system under
1. Introduction consideration has constructed. The proposed
controller is implemented using a high speed
High performance DC motor drives are used DSP in order to verify the robustness of these
extensively in industrial applications. The DC controllers.
motor drive is a highly controllable electrical
motor drive suitable for robotic manipulators, 2. FLC For Separately Excited DC Motor
guided vehicles, steel mills and electrical Drive
traction [1-5]. Usually, precise, fast, effective
speed reference tracking with minimum In recent years many authors have reported
overshoot/undershoot and small steady state that fuzzy control is a more robust control
error are essential control objectives of such a method than usual PID-control to variation of
drive system [6-7]. system parameters [15]. It must be so, because
the fuzzy control is more flexible. As opposed
There has been several conventional control to the PID-control it allows to use nonlinear
techniques in DC motor drives are presented relations between input and output values of
[8-12]. The conventional control strategies are the controller. That is, before the fuzzy
a fixed structure, fixed parameter design. controller design it is necessary to be clearly
Hence the tuning and optimization of these aware of what type of nonlinearity has to be
controllers is a challenging and difficult task, introduced for the robust speed control of the
particularly, under varying load conditions, DC drive and what parameters of the fuzzy
parameter changes, abnormal modes of controllers form its type of nonlinearity.
operation, etc. Attempts to overcome such
limitations using adaptive and variable As mentioned above the fuzzy approach is a
structure control have had limited success due convenient method to design a controller with
a desired nonlinear dependence between the ˜˜is
Rf Lf if im
input and the output of the controller. So, our AC V Vm Encoder
˜˜Vs
task is to properly choose the fuzzy controller Supply v Cf Load

parameters that form the desired controller.


The fuzzy system need to get such a fuzzy
controller for which in the range of input Rectifier Drive circuit

values close to zero the following conditions


are valid [12]: Value of the change-of-control
increment decreases when the error decreases.
Vc(k)
And, value of the change-of-control increment Z
˜˜ ref
ew
Fuzzy 
˜˜
Fuzzy Pulse
˜˜ Limiter
PI PI generator
increases when the change-of-error decreases.  speed current scheme

x
t l
Z
˜˜ m

System Configuration: d/dt


d/dt

DC is considered one of the best electrical DSP-ds1102 controller board (ds1102)


motor drives used in traction and a fan type
loads that have quadratic torque-speed Fig. 1 System configuration

x Modeling of The Power Circuit and


characteristics [12]. A high starting torque is
recommended in traction applications, which
can easily be met by a DC motor [13]. The Motor:
speed control drive system under consideration
is shown in Fig. 2. The speed control loop is to Mode (1):
provide fast transient response as well as to In this mode, the IGBT is ON. The differential
limit the armature current. The speed equations describing this mode are given as
controller is designed in such a way to produce follows:

§ di ·
a desired reference signal for the current

L ¨ f ¸ Vs  i R  Vm
controller. The output of the current controller
f ¨ dt ¸
© ¹
is fed to generate the firing angle, which (1)
f f
controls the motor terminal voltage. Figure (1)

§ di ·
shows a schematic diagram for the proposed
Lm ¨ m Vm  i m rm  K mZ
speed control system. It consists of a cascade
© dt ¹̧
(2)
combination of a diode bridge rectifier and a m
symmetrical angle control converter,
§ dZ ·
J¨ m K i m  BZ m  TL
connected to a single-phase AC supply. The

© dt ¹̧
motor voltage is regulated by the control (3)
m
voltage (Vc) from zero to the maximum value

§ dv ·
(A) of the timing voltage (Za) as shown in Fig.
C ¨ m i  im
(2). The inductance Lf and capacitance Cf are
f © dt ¹̧
(4)
used as an output DC filter. One IGBT is used, f
and controlled by an impulse generator. The
parameter values of this system are given in is i (5)
Appendix (1). f

The system under investigation has two modes Vs V sin (Z t) (6)


of operation. These modes are represented by
the equivalent circuits of Fig. (2). The Mode (2):
mathematical model can be obtained as In this mode, the IGBT is OFF as shown in
follows: Fig. (2). The differential equations describing
this mode are given:
§ di ·
L ¨ f ¸ Vm  i R
The IGBT is turned ON when:
f ¨ dt ¸
© ¹
(7)
Vc < Za
f f
(13)

§ di ·
Lm ¨ m Vm  i m rm  K mZ
The IGBT is turned OFF when:
© dt ¹̧
(8)
Vc > Za
m

§ dZ ·
J¨ m K i m  BZ m  TL
(14)
© dt ¹̧
(9)
x
m
Modeling of FLC:

§ dv ·
C ¨ m i  im
f © dt ¹̧
(10) The motor variables to be controlled are the
f speed and the armature current. In the
proposed fuzzy logic control scheme, the
is 0 (11) motor speed error and the error change are
used as input variables to Fuzzy speed
controller. However, the armature current error
is
if and the error change are the input variables to
˜˜Rf Lf ˜˜im
fuzzy current controller. The error and error
change for both speed and current are scaled
Vm Motor and
using appropriate scaling factors. These scaled
Vs
Cf
Load input data are then converted into linguistic
variables, which may be viewed as labels of
fuzzy sets. The linguistic variables, which are
used for the input variables, are shown in Fig.
(3). Also, the choice of membership function
shape is mainly dependent on the designer
Mode (1) IGBT is ON preference. For simplicity, the triangular-
shaped functions are used in this application.
In the universe of discourse, the numbers for
Rf Lf ˜˜if im
the aforementioned linguistic variables are
selected. The membership functions for the
error and the error change are shown in Fig.3.
˜˜Vm Motor and
˜˜V=Vs
Load
Cf

NB NM NS ZE PS PM PB

Mode (2) IGBT is OFF


-3/4 -1 -2/3 -1/3 0 1/3 2/3 1 Universe of
discourse (e)
Fig. 2 Modes of operation for the system
a. Error
x Modeling of The Impulse Generator: NB NM NS ZE PS PM PB

From Fig. (2) the equation that represents the


timing voltage (Za) is given by:

Za A sin (Z t)
-3/4 -1 -2/3 -1/3 0 1/3 2/3 1 Universe of
(12) discourse ( e)
b. Change in error
x Difficulties in developing fuzzy rules by

x
NVB NB NM NS ZE PS PM PB PVB hand for large systems.
Difficulties in selecting appropriate

x
membership function shapes.
Difficulties in fine tuning fuzzy solutions
-1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1.0 1.2 for specific levels of accuracy, and
Universe of
discourse guaranteeing the reliability/robustness of
c. Change in control ( u) solutions. The trial and error method is still
the basic method in improving the expert
Fig. 3. Membership functions for speed and knowledge towards developing tuned and
current controllers stable fuzzy controllers.

The fuzzy control rules are selected. Since The most important task in fuzzy control
both the speed and current loops must satisfy engineering is to build advanced tools for
the needs of fast transient response with automated knowledge-base generation and
minimum overshoot and they have essentially tuning fuzzy controllers. Moreover, an
first order characteristics, consequently the improved approximate reasoning mechanism
same fuzzy control rules should be valid for to speed up the on-line controller response is
both loops. These rules are given in Table 1. required. The tools for auto-generation of the
Where, PVB: positive very big, and NVB: knowledge-base will decrease the cost and
negative very big. time of fuzzy controller application
developments. The tools for tuning the
The final stage of FLC, which called controller knowledge will provide the stability
defuzzification, is a mapping from a space of requirements for the operation of the controller
fuzzy control actions defined over an output [14].
universe of discourse into a space of crisp
control actions. The widely used strategy for The conventional method to optimize the FLC
defuzzification is the center-of-gravity is the steepest cell descent. Nevertheless, this
method, which is adopted in this scheme. method required some prerequisites, such as
fixing the number of rules, which has been
NB NM NS ZE PS PM PB obtained through trials of success and failure,
NB NVB NVB NVB NB NM NS ZE been the method tedious and bored because it
NM NVB NVB NB NM NS ZE PS requires a lot of time. The Genetic Algorithm
NS NVB NB NM NS ZE PS PM
(GA) driven by fuzzy reasoning is the
ZE NB NM NS ZE PS PM PB
advanced method for learning the FLC
PS NM NS ZE PS PM PB PVB
systems.
PM NS ZE PS PM PB PVB PVB
PB ZE PS PM PB PVB PVB PVB
x FLC Learning Using GA
Table 1. Fuzzy control rules for speed and The GA is one of the most up-to-date artificial
current controllers intelligence techniques [8]. GA have been
applied successfully to many engineering
3. Adaptive Fuzzy Logic Controller applications and optimization problems. The
GA is an optimization method developed by
Certain inherent difficulties of the approach biological evolution, which was used to find
are restricting its success in control the shapes and places of membership
applications. The following are some of the functions, getting the inference rules and
difficulties, which face its application output memberships. They presume that the
development: potential solution of a problem is an individual
and can be represented by a set of parameters.
These parameters are regarded as the gens of a string of integers, in the range {-6,6},
chromosome and can be structured by a string representing the singleton conclusions of the
of values in binary form or real form. rules. A zero in the string signified that the
Generally, a positive value know as fitness corresponding rule was not used in the
value, is used to reflect the degree of goodness calculation. The fitness function was chosen to
of the chromosome for solving the problem. combine the error produced by the simulated
DC motor and the number of rules with
This section considers the problem of conclusions different from zero. The idea
automatically learning a set of optimized fuzzy being is to simultaneously reduce the number
rules and membership functions [13]. The of rules and the corresponding error.
method applies evolutionary programs in a two After some experimentation with the genetic
steps fashion to a rule-based fuzzy controller. parameters and operator, the following settings
The type of fuzzy controller considered here were used throughout: Populations of 20
consists of triangular membership functions chromosomes run for 150 generations, the
for the fuzzy variables in the premises, and roulette method for selection with normalized
singleton membership functions for the fuzzy fitness values, one point crossover was applied
variables in the conclusions. Figure 4 to selected individuals, and mutation per gens
illustrates a block diagram of the overall was always applied. As the coding of the
closed loop DC control system [13]. chromosomes in this program was realized
directly with integers, uniform mutation was
GA
used. For the second step of membership
Reference Armature
speed voltage
DC
Motor
speed
function adjustment, another evolutionary
FLC
motor
program was applied. The chromosomes
+
represented the positions of the triangles and
- 1/s
were coded directly as real numbers. A weight
was added to the error produced by the
simulated DC motor in the fitness function to
Fig. 4. GA-optimized FLC architecture achieve a smoother curve.

This membership places an upper bound on the 4. Experimental Results


number of fuzzy rules, which is the product of
the number of membership functions for the An algorithm is developed to simulate the
fuzzy variables in the premises. For the case of drive model with fuzzy logic speed ,and
the DC motor, there are two input variables, current controller. A series of experimental
and a single output variable of voltage. The investigation has been carried out to verify the
Defuzzification is performed by the discrete validity of the control scheme of the drive
center-of-gravity method [14]. system. The result were obtained at different
operating points, including transient, steady
The first step in the method produces the state, and step changes in speed.

x Set-Up Hardware
singleton conclusions for a reduced set of rules
using fixed symmetric triangular membership
functions. The second step is then adjusts the The experimental of the proposed controller
membership functions. We considered two was conducted using Digital Signal Processor
ways of performing the first step of rule (DSP). The system is based on Texas
learning and reduction. In the first case, an instrument TMS320C31 and TMS320P14. The
evolutionary program was used to select the main processor implements the deadbeat
singleton values of the rules. The basic idea vector torque control algorithm, whereas the
was to maintain a population of chromosomes, second provides the vector modulation. The
each of which represented a proposed rule- configuration of the experimental system is
base. An individual chromosome consisted of shown in Fig. (5). The experimental system
contains single phase rectifier circuit and one
insulated gate bipolar transistor (IGBT). A
personal computer is used for software Time (sec)

development and results visualization. The

Ps. The incremental encoder of 2048 pulses


sampling period of the control algorithm is 100
Time (sec)

per revolution is attached to the motor shaft.


Two-phase output signals of the encoder are
preprocessed by hardware circuit and Time (msec)

multiplied by four. The basic sampling period


of speed detection is 0.1 ms. Analog signals Fig. 6 Run-up behavior for 0.5 of rated load
such as phase currents are converted to digital torque and ref = 1500 r.p.m.

conversion time is about 3 Ps. All internal data


values using two 12-bit A/D converters whose

of the DSP can be displayed through a four-


channel 12-bit D/A converter. The software is
written in high level language C.
Drive and protection

Oscilloscope

AC/DC converter Motor voltage


and current
Gate Pulse Generator
A/D
D/A Converter Load
Converter
PC Incremental
Encoder
interface DC DC
RS-232C Generat motor
or

DSP board
Incremental encoder

Fig. 5 Experimental setup system

x Steady State Operation


Fig. 7 Steady state behavior for half rated load
Figure 6 shows samples of the steady state torque and ref = 1500 rpm.

x
experimental waveforms at a control voltage
equal to 2.5 volts, with duty ration of 0.5 with The motor Run up
uniform pulse width modulation. This figure
shows the carrier voltage and switch gate Figure 8 shows the experimental waveforms
pulses. of the motor speed, supply voltage, supply
current, the motor voltage and the motor

torque at Z ref =1500 rpm.


Figure 7 shows the waveforms of the supply current during run up with half rated load
voltage, supply current, motor voltage and

Zref= 1500 rpm.


current during steady state with half load and
hard to get optimum control under the unstable
driving situation or different condition of load
Time (msec) and speed. The simulation and experimental
study clearly indicates the superior
performance of fuzzy control, because it is
Time (msec)
inherently adaptive in nature.

6. REFERENCES
Time (msec)

[1] P. V. Vas, and W. Druy, "Electrical


Machine and Drives: Present and Future,"
Time (sec)
8th Mediterranean Electro technical
Conference, Vol. 1, pp. 404-408,1996.
[2] N. Govind, and A. R. Hasan, "Real Time
Time (msec)
Fuzzy Logic Speed Control Using
Conventional, Assembly and Simulation
Fig. 8 Run-up behavior for half-rated load Methods for Industrial DC Motors," IEEE
torque and ref = 1500 r.p.m. /IAS International Conference on
Industrial Automation and Control, pp.
x Reference Speed Step Change
˜˜ ˜˜ 203-208, 1995.
[3] A. Pagni, R. Poluzzi,G. Rizzotto, and M.
using the control strategy for step up in Z ref
Fig 9 shows the speed and the current response
Presti, "Automatic Synthesis ,Analysis and
Implementation of Fuzzy Controller,"
from 1300 rpm to 1800 rpm. It is seen that the
IEEE international Conference on Fuzzy
fuzzy PI controller has shown accepted
Systems , Vol. 1, pp.105-110, 1993.
performance as it eliminates the undesired
[4] H. A Malki, and D. Feigenspan, "DC Motor
steady state error.
˜˜ Control Using Fuzzy Proportional-
Derivative Technique," Industrial Fuzzy
Control and Intelligent Systems
Conference, and the NASA joint
Technology Workshop on Neural
Networks and Fuzzy Logic
Time (sec) Time (sec)
{NAFIPS/IFIS/NASA’94), pp. 373-374,
1994.
[5] A. EL Zawawi, and W. A. Maher, "A
Fuzzy Compensated Microcomputer
˜˜ Based
Time (sec) Time (sec)
DC Drive," IECON ’99, Vol. 1, pp .412-
417,1999.
[6] A. H. Niasar, H. Moghbelli, and A. Vahedi;
Fig. 9 Variation of motor speed and current "Speed Control of a Brushless DC Motor
Drive Via Adaptive Neuro-Fuzzy
due to a step up in reference speed Controller Based on Emotional Learning
Algorithm," Proceedings of the Eighth
5. CONCLUSIONS ˜˜ International Conference on Electrical
Machines and Systems, 2005. ICEMS
In this paper, we realized the controller for a 2005. Vol. 1, pp. 230-234, 27-29 Sept.
DC motor, which is demanded increasingly 2005.
using the fuzzy logic. We present fuzzy [7] N. S. Kumar, V. Sadasivam, and K. Prema;
reasoning algorithm to control DC motor in "Design And Simulation of Fuzzy
order to improve the PI controller, which is Controller For Closed Loop Control of
Chopper Fed Embedded DC Drives," on Fuzzy Systems, Vol. 1, pp. 493-496, 2-
International Conference on Power System 5 Dec. 2001.
Technology 2004, Vol. 1, pp. 613-617, 21- [15] F. Cupertino, A. Lattanzi, and L.
24 Nov. 2004. Salvatore; "A New Fuzzy Logic-Based
[8] Xia Changliang, Guo PeiJian, Shi Tingna, Controller Design Method For DC and AC
and wang Mingehao; "Speed Control of Impressed-Voltage Drives," IEEE
Brushless DC Motor Using Genetic Transactions on Power Electronics, Vol.
Algorithm Based Fuzzy Controller," 15, No. 6, pp. 974-982, Nov 2000.
International Conference on Intelligent [16] G. Uma, and C. Chellamuthu; "Design
Mechatronics and Automation, pp. 460- and Implementation of Fuzzy Logic
464, Aug. 26-31, 2004. Control Speed Control System For A
[9] W. G. da Silva, P. P. Acarnley, and J. W. Converter Fed DC Drive Using 8097
Finch; "On-Line Optimisation of A Fuzzy Micro Controller," Proceedings of the
Drive Controller Using Genetic IEEE International Symposium on
Algorithm," IEEE International Industrial Electronics (ISIE 2000), Vol.
Symposium on 2, pp. 735-740, 4-8 Dec. 2000.
Industrial Electronics, Vol. 2, pp.144 – [17] M. S. A. Moteleb, and A. A. Ibraheem;
1446, 4-7 May 2004. "Robust Fuzzy Sliding Mode Controller
[10] F. Cupertino, V. Giordano, D. Naso, B. Design For DC Motor With Experimental
Turchiano, and L. Salvatore; "On-Line Implementation," Proceedings of the 39th
Genetic Design of Fuzzy Controllers For Annual Conference (SICE 2000), pp. 159-
DC Drives With Variable Load," 164, 26-28 July 2000.
Electronics Letters Vol. 39, No. 5, pp. 479-
480, 6 March 2003. APPENDICE:
[11] A. Rubaai, D. Ricketts, and M. D. The parameters of the designed system are as
Kankam; "Experimental Verification of a follows:
Hybrid Fuzzy Control Strategy For A

Cf=1200 Pf
High-Performance Brushless DC Drive Vs (max) =71 volt rf =2 ohm
System," IEEE Transactions on Industry Lf=0.222 Henry
Applications, Vol. 37, No. 2, pp. 503-512, A=5 volt Fs=50 Hz.
March-April 2001.
[12] H. L. Tan, N. A. Rahim, and W. P. Hew; The test motor is a separately excited DC
"A Simplified Fuzzy Logic Controller For motor, 55 volt, 50 watt, 1 Ampere, 3000 rpm.
DC Series Motor With Improve having the following measured parameters:
Performance," The 10th IEEE
International Conference on Fuzzy rm =10.5 ohm km=0.127volt/(rad/sec)
Systems, Vol. 3, pp. 1523-1526, 2-5 Dec. B=0.0001 N.m./(rad/sec) Rf =550 ohm
2001. Lm=0.06 henery J=0.00015 kg.m2
[13] N. B. Almutairi, and M. Chow; "A
Modified PI Control Action With A
Robust Adaptive Fuzzy Controller Applied
to DC Motor," International Conference on
Neural Networks (IJCNN '01), Vol. 1, pp.
503-508, 15-19 July 2001.
[14] S. Ushakumari, R. Sankaran, and P. S. C.
Nair; "Adaptive Neuro-Fuzzy Controller
For Improved Performance of A
Permanent Magnet Brushless DC Motor,"
The 10th IEEE International Conference

Vous aimerez peut-être aussi