Professional Documents
Culture Documents
Abstract: - The paper presents the theory of control systems for electrical drives based on fuzzy logic, from the
author’s point of view. The paper offers practical answers at questions related to the design of speed control
systems based on fuzzy PI speed controller: what is the adequate structure of fuzzy controller, the number of
rules fuzzy values, how to assure stability, implementation, control system quality criteria. The conventional
design method for the linear speed control systems is presented as a comparison base. An example of fuzzy
control systems for d.c. drives is given, with its modelling, simulation, design, transient characteristics and
quality criteria.
ε sM =| Ω sM | (5)
dec = K CAN K TΩ ( M N + k f Ω N ) / J
(13)
deM = K CAN K TΩ ( M M + k f Ω N ) / J
MN
dM c =
5K CNA K aTa
MM
dM M =
5 K CNA K aTa
Fig. 13 SISO transfer characteristics
The universes of discussion are scaled with
the scaling factors: eb, dec and dMN.
The membership functions for the fuzzy
variables are presented in Fig. 12.
xt1 = e + de (14)
1 (22)
H RΩ ( s ) = K RΩ 1 +
sTRΩ
cdM K 0 h
K RΩ = cde + cde ,
h 2
Fig. 16 MIMO transfer characteristic (23)
c + hce / 2
TRΩ = de
ce
3.2.6 Algebraic Properties
The fuzzy block FB is an algebraic application with The relations for the fuzzy controller design,
the following properties. considering KRΩ and TRΩ given, may be obtained
A commutative law: from the above relations:
3.3 Pseudo-Equivalence of
Fuzzy Controller 3.4 Stability Analysis
The fuzzy block BF is linearized around the origin 3.4.1 Control Structure for Stability Analysis
and the fuzzy speed controller with integration at the For stability analysis the fuzzy control system may
output has the following relation in the z-domain: be presented like in Fig. 17.
z (18)
M * ( z) = cdM K 0 [e( z ) + de( z )] =
z −1
z z −1
= c dM K 0 ce + c de aΩ
z −1 hz
c dM K 0 h ce
= c de + c de 1 +
h 2 (c de + c e h / 2)s
the variable did is expressed as: Fig. 20 The control structure with the correction
f BF (e, de) (29) To accomplish the condition for the sector in the
K BF ( xt 1 ; de) = , pt. xt 1 ≠ 0
xt 1 I and III quadrant without the Ox axis for the
K BF ( xt1 ; de) xt 1 , pt. xt1 ≠ 0 nonlinear part and to assure stability the correction
did = is made with summing at the output of the fuzzy
0, pt. xt 1 = 0 block a quantity δdi:
The characteristics did=f(xt1; de), presented in ~ ~ ~ (31)
Fig. have the sector property: δdi = K c [(e− e) + (de− de)] = K c ( x t1 − xt1 )
Fig. 21 The corrected transfer characteristic Fig. 23 The transient characteristics for scaling
coefficients determination
3.5 Quasi-Fuzzy Controller The value of cde was decreased to the final value
After the correction of the input-output from the sixth step. Decreasing more this scaling
characteristic of the fuzzy block the fuzzy PI coefficient the fuzzy control system becomes
controller from Fig. 22 results. unstable.
3.7 Transient Characteristics the process unloaded at t=0 with a constant the
3.7.1 Fuzzy Control speed reference Ω*=314 rad/s. At the time 2,5 s a
Simulations are made for both control systems, constant load torque Ms of MN=3 Nm, in the range
conventional and fuzzy, with tuned parameters: J of the rated process torque, is introduced.
and kf and detuned parameters: Jd=2J and kfd=2kf. In At the time 4 s the speed is reversed, at Ω*=-314
the second case an error at the parameter rad/s, maintaining the constant load torque:
identification is assumed. Three regimes were Ms=MNsign(Ω).
simulated. The transient characteristics for the The second regime consists in starting the
current and speed are presented in Fig. 26, 27, 28. process loaded at t=0, with a constant the speed
reference Ω*=314 rad/s and a load torque
Ms=ksΩsign(Ω). At the time 4 s the speed is
reversed, at Ω*=-314 rad/s, maintaining the load
torque.
The third regime consists in starting the process
loaded at t=0, with a constant the speed reference
Ω*=314 rad/s and a load torque Ms=(k1+k2Ω)/Ω. At
the time 4 s the speed is reversed, at Ω*=-314 rad/s,
maintaining the load torque.
3.7.2 Comparisons
st With the transient characteristics obtained for linear
Fig. 26 Transient characteristics for 1 study case
and fuzzy control some comparisons may be done.
Comparative characteristics for linear and fuzzy
control are presented in Fig. 29, 30, 31, for the three
study cases 1, 2, 3, for tuned a) and detuned b)
parameters.
a) b)
Fig. 30 Speed in the 2nd case
Fig. 28 Transient characteristics for 3rd study case
With continuous line are represented the
characteristics for fuzzy control, and with dash-dot
line are represented the characteristics for
conventional control. The regime consists in starting
Analysis σ1Ω trΩ σ1M trM σ1r trr ℑ ∆σ1Ω ∆σ1M ∆trΩ ∆trM
case [%] [s] [%] [s] [%] [s] 10-5 [%] [%] [s] [s]
1-c-a 6,7 1 6,1 0,6 4,1 1,5 1,1 6,7 2,3 0,5 0,46
1-c-d 8,3 1,5 6,1 0,65 4,1 3 2,0 8,3 2,3 0,7 0,51
4 Implementation
4.1 Equipment
The fuzzy controller is developed to be
implemented with an equipment based on a DSP.
The structure of such an equipment is presented in
Fig. 27.
5 Conclusions
The paper presents a way to develop speed fuzzy
control systems for main electrical drives, using a
quasi-fuzzy PI controller, which assures stability of
control system and good quality criteria.
Elements of fuzzy controller as rule base, fuzzy
values are presented. The controller may use
Fig. 27 Control equipment fuzzy systems with a simple rule base with
The control equipment includes: a permanent only 9 rules, the max-min inference and the
magnet synchronous motor, with an encoder or a defuzzification with centre of gravity.
Hall sensor, feed by a 3 phase inverter, a Design of fuzzy control system is done based on
TMS320LF2407 DSP platform with a monitor fuzzy controller transfer characteristics.
software. To assure stability a correction of fuzzy block is
presented. Stability analysis is proof using circle
criterion for multivariable non-linear systems.
4.2 Fuzzy Block Implementation Relations for pseudo-equivalence of fuzzy PI
The implementation of the fuzzy block FB may controller with a linear one are presented.
be done using a table interpolation, as a memory. .Simulink modeling and simulation diagram are
This is the way that assures to minimum time presented for conventional and fuzzy control
response in the practical implementation of a fuzzy systems.
block. Such memory has one output dMd and two- Transient characteristics for current and motor
address ae and ade. At the output the memory speed are presented, in different study cases.
present the real value dMd memorised at the Based of transient characteristics some
address (ae, ade). The addresses are integer. A comparisons were made between conventional and
matrix DMd with the elements dMd(ae, ade) fuzzy control systems.
corresponds to this memory. The universes of Better quality criteria were emphasized for
discussion of e and de are digitised in nc=28+1 fuzzy control system.
parts. An 8 bit analogue-to-digital converter is The fuzzy control system is more robust at error
presumed satisfactory. in parameter identification and at disturbance
torque influence.
The quasi-controller may be implemented as a
4.3 Transient Characteristics fuzzy memory in control systems based on DSPs.
With this implementation the transient
characteristics from Fig. 28 may be obtained.
[31] T. Scheel, H. Kiendl, Stability Analysis of [37] C. Volosencu, Stability Analysis of a Speed
Fuzzy and Other Nonlinear Systems Using Fuzzy Control System for Electrical Drives,
Integral Lyapunov Functions, 5th European The 7-th European Congress on Intelligent
Congress on Intelligent Techniques & Soft Techniques and Soft Computing EUFIT’99,
Computing EUFIT’95, Aachen, 1995. ELITE-Foundation, Aachen, 1999.
[32] R. Schafers, P. Krause, Stability Analysis of [38] C. Volosencu, Demonstration of the
Dynamic Fuzzy Systems, 7th European Robustness of the Fuzzy Speed Control
Congress on Intelligent Techniques & Soft System at Parameter Identification Errors,
Computing, Aachen, 1999. Power Electronics and Machine Control
[33] H.O. Wang, K. Tanaka, M.F. Griffin, An Pemc'98 Conference, Prague, 1998.
Approach to Fuzzy Control of Nonlinear [39] C. Volosencu, Speed Control of Electrical
Systems: Stability and Design Issues, IEEE Drives, Based Upon Fuzzy Logic – A
Trans. on Fuzzy Systems, Feb., 1996. Synthesis, Proceedings of the European
[34] C. Volosencu, On Some Algebraic Properties Control Conference ECC’99, Karlsruhe, 1999.
of Fuzzy Controllers, Proceedings of the Int. [40] C. Volosencu, Some Consideration about
Conf. On Artificial Intelligence, IC-AI’02, Las Using Fuzzy Logic for Speed Control of
Vegas, NV, CSREA Press, SUA, 2002, pp. Electrical Drives, The 7-th European Congress
584 – 587. on Intelligent Techniques and Soft Computing
[35] T. L. Dragomir, C. Volosencu, Some Ways to EUFIT’99, ELITE-Foundation Aachen, 1999.
Implement Fuzzy Controllers, Revue [41] C. Volosencu, Speed Control of a Permanent
Roumaine des Sciences Techniques, Serie Magnet Synchronous Motor, Based on a
Electrotechnique et Energetique, Tome 45, Quasi-Fuzzy Controller, Proceedings of the
2000, no. 2, July, 2000. 10th European Conference on Power
[36] C. Volosencu, A Method to Assure Stability of Electronics and Applications, EPE2003,
Some Fuzzy Controllers, Proceedings of the Toulouse, 2003.
Int. Conf. On Artificial Intelligence, IC-AI’02, [42] C. Volosencu, Fuzzy Control of Electric
Las Vegas, NV, CSREA Press, 2002, pp. 563 Drives, Proceedings of the WSEAS
– 568. International Conference, Santander, 2008.