Application Controller With Control Direct Current Motor System
Application Controller With Control Direct Current Motor System
K1 = 1 /(KeKc AT) PB PS Z NS NB
K2 = r /(KeKcAT );
2 PB NB NM NM NS PM
PS NB PM PM PS PB
Z NB NS Z PS PB
KI, K2 is decided by character of controlled object, in this NS NB Z PS PS PB
system we specify the following two parameters according NB NM PS PM PM PB
to simulation results:
K,= 4, K2= 0. 5 Table I. Fuzzy control rules table
B. Fuzzy-PI controlprinciple In this system centroid method is utilized that is most
When servo motor startup main load is friction. Because popular and important to all defuzzification methods, and it
its mathematic model is difficult to decide, we use can represent with discrete formula:
characteristic of fuzzy control that don't need accurate u
*
=
4(ui)ui
model of controlled object, then we can realize fast startup pP(Ud)
and track.
We take displacement error (e) and error variety rate (e') as C. PI control principle
fuzzy inputs and PWM control signal as output. Fuzzy
controller utilize the different effect of factors Ke, Kec and Because fuzzy control can't eliminate the static error of
Ku of above three variables to system performance and system, we introduce PI control.
adjust three factors according to the different control Proportion control reflects error signal proportionately,
condition. The basic principle is that when error is big when error happens controller promptly generates control
weight of error also is big to eliminate the displacement signal to decrease the error.
error quickly; when error is small error variety rate is big to Integral control mainly eliminates the static error to
decrease the overshoot and make system steady quickly; Ku advance control precision.
can be regard as generally magnified multiple of system. In this system we adopt integral separate PI arithmetic to
After setting the reasonable factors we realize the avoid integral saturation. So when error is more than 0.5V
optimization of system. controller only calculate the proportion factor, otherwise
We use five language variables to define e, ec and u : NB, when error is less than 0.5V controller introduce integral
NS, Z, PS and PB. The basic discussion range are all [-5, 5]. factor.
Membership is showed by Fig 2.
D. The model ofcontrolled object
The parameters of direct current motor are: rotate speed
without load is 4100 rad/m, decelerated ratio is 1/160 and
rating voltage is 56V. Omitting inductance of armature and
viscosity damp factor we obtain the concise transfer
function of direct current servo motor that voltage ua (t) of
armature is input variable and rotate speed of motor is
output variable:
1263
Zero-Order
Hold
1I Ke
H (s) =
Tms + 1
In this fornula, back electromotive force factor of motor
160 x 60 x 56
K =1 time constant Tm=lOms, Feedback
4100x 360 FL, -
duodt
factor KF = 1sV / 131.4 that we can regard it as angle Inl St Dt sFiUonre
sensor in the practice, but the transfer function represent
the relation between voltage and angle, so we add a
integral element to realize the transfer relation between Fig.6. Fuzzy control diagram
voltage and angle.
E. System simulation
According to above discussions we get below
AN simulation diagram with Matlab and Simulink. See Fig7
and Fig8.
Scope2 Even there are some model dismatch errors due to all
kind of reasons the influence is also smaller because this
WInl )
Gain3
Gain3
+
error can be resolved by fuzzy-PI controller. The system
X _1
u
i not only has the capacity of quick respond and excellent
anti-jamming, so it is very fit for direct current servo
Integrator GainG system processing nonlinear and uncertain characteristic.
Fig.5. PI control diagramn
1264
Fig.7. Sine wave tracking without feedforward control
cig.8a..
F stg
i ine ..tracking feedforward control
.
:Track gna
1265
Fig.1O. Tracking of 2Hz sine wave with 1OV peak to peak
1266
Fig.13. Software design flow
ACKNOWLEDGMENT REFERENCES
This paper proposes a kind of control strategy that [1] Wang Lixin. A course in fuzzy systems & control
integrate individual advantages of fuzzy control, PI [M].Tsinghua University Press,2003,5, pp. 196-204
control and feedforward control, so we get a compound [2] Timothy J.Ross. Fuzzy logic with engineering
controller that can realize effective control for nonlinear applications [M]. Publishing House of Electronics
object, specially use FPGA in this system to greatly Industry, 2001,11:195-208, pp. 311F-320
improve the high-speed respond capacity. In conclusion it [3] Pan song, Huang jiye, EDA technique tutorial [M].
provides a kind of effective method to Science Press, 2002, 7:160-171
develop high precision and high performance of direct [4] Song zhiyong, Digital control and electronic control
servo control system. technique[M], China Machine press,2002,1:156&176
1267