Beruflich Dokumente
Kultur Dokumente
dI a
+ Ea
dt
Ea = K m
Telec = Tload + J
d m
+ B m
dt
Te = K I a
(1)
(2)
(3)
(4)
Equation (1) represents the armature circuit, where Va, Ia, Ra, La and Ea are the
average voltage applied to the armature, the average armature current, the armature
resistance, the armature inductance and the induced emf in the armature (speed voltage)
respectively. The latter, as shown in (2), varies linearly with the motor speed (m) given
in rad/s if one assumes that the flux () is constant, what is quite reasonable since the
field current is kept constant.
Equation (3) presents the dynamics of the mechanical part of the motor and load.
It shows that the electrical torque (Telec) is equal to the load torque (Tload) plus the inertial
and the friction torques. The constants J and B are the moment of inertia (kgm2) of the
rotating masses and friction coefficient (Nms). As one can see in (4), the electrical torque
is a function of the armature current.
Solution:
The duty cycle of the chopper is calculated as:
Dm104.7 =
Va _ 104.7
VSupply
, VSupply = 440 V ,
Va _ 104.7 = ?
I a _ 104.7 = ?, E a _ 104.7 = ?
E a _ 104.7 = K m _ 104.7,
K =?
The factor K is constant and is calculated for the rated condition. From (1) - (2):
V I R
400 75 x 0.432
K = an an a =
= 1.95 Nm/A
mn
188.5
Ea _ 104.7 = 204.22 V
The armature current at the desired speed is calculated from (3) (4).
I a _ 104.7 =
Telec _ 104.7
K
Tload _ x = Tloadn
m _ x
P
, Tloadn = n = 137.93 Nm, Tload _ 104.7 = 76.6 Nm
mn
n
The friction torque at rated speed is obtained from the power balance equation.
m _ x
Van I an I an 2 Ra Pn
, T fricn =
= 8.33 Nm
T fric _ x = T fricn
mn
n
T fric _ 104.7 = 4.63 Nm,
I a _ 104.7 =
B=
T fricn
mn
= 0.0442 Nms
76.6 + 4.63
= 41.66 A
1.95
Dm104.7 =
222.22
= 0.505
440
Figure 2 shows the transient response of the armature current and motor speed
during start-up with rated armature voltage and after the armature voltage is reduced to
222.22 V, that according to Example #1, should yield a motor speed of 104.72 rad/s. One
can see the large positive armature current during start-up and the negative armature
current that flows in the circuit when the armature voltage is decreased. In such a case, a
regenerative braking takes place and the machine works as a generator, converting kinetic
1
energy from the rotating masses E k = J 2 into electrical energy that is sent to the
2
0V
V(wm_radps)
1.0KA
(32.988m,758.211)
(741.438m,75.403)
0A
(783.475m,-261.746)
SEL>>
-1.0KA
0s
0.2s
0.4s
0.6s
0.8s
1.0s
1.2s
1.4s 1.5s
I(La)
Time
A motor drive usually employs a main control loop, for regulating the speed of
the motor, and a secondary control loop that is intended to limit the current during startup or for avoiding overloading of the system. These systems are often of the cascade or
parallel types as shown in Figs. 3 and 4. In the cascade case, one designs first the inner
(current) loop and then the outer (speed) loop, with a lower crossover frequency. Note
that the reference for the current is the output of the speed controller and is limited to a
safe value by a limiter. In the parallel configuration, the two control loops are designed
independently. A commutation system, with OR logic based on diodes, selects the output
signal of the controller with lower magnitude to be the PWM modulating signal.
1
1
1
+ s +
La J s + s +
a m1
a m
s +
m
I a (s)
=
Va ( s )
1
1
1
+ s +
La s + s +
a m1
a m
(5)
(6)
L
R J
J
where: a = a , m = and m1 = a
.
Ra
B
(K )2
Considering that the dynamics of the motor and load are much slower than the
dynamics of a step-down dc-dc converter, the latter and its PWM modulator can be
modeled by a simple gain Gchop ( s ) =
VSupply
Va ( s )
=
.
Vcont ( s )
VST
Vcont (s) is the control or modulating voltage of the PWM and VST is the peak
value of the carrier waveform, usually a ramp or sawtooth, which presents a minimum
value equal to zero.
In order to measure the motor speed, a dc tachometer with a rated input to output
relationship of 188.5 rad/s to 10 V is used. It can be represented by a gain
(H (s) = 0.053).
time constant of the armature (a) is much bigger than the switching period of the dc-dc
converter (T), no signal filters are required and the current transducer can be modeled by
a simple gain (H i ( s) = 0.1).
The uncompensated loop transfer function for the current loop, including the
PWM modulator, the converter, the motor and the current sensor is given by
s +
I a _ mea ( s ) VSupply
m
=
Ki
Vcont ( s )
VST
1
1
1
+ s +
La s + s +
a m1
a m
(7)
20
20 .log
TFPIA
20
40
0.1
10
10
freq
n
100
1 10
100
1 10
1 10
100
50
arg TFPIA
.rtd
50
100
0.1
freq
n
1 10
Fig. 5 - Bode Diagram of the loop transfer function for current (MATHCAD).
For a crossover frequency of 46 Hz (289 rad/s) one calculates the gain as 8.4 dB
and the phase as 74.88 . In order to achieve a phase margin of 45 with a type 2
controller, the k factor and the frequencies of the zero and pole are calculated from:
(8)
z =
c
k
= 167 rad/s
and
p = k c = 500 rad/s
(9)
(10)
The dc gain of the controller (Kci) can be calculated as the opposite of the gain of
the partially compensated (Kci = 1) loop transfer function at the crossover frequency. In
MATHCAD it was calculated as 35.92 dB, yielding Kci = 62.5. The Bode plot of the
controller and compensated loop transfer function are shown in Fig. 6.
Fig. 6 - Bode Diagram of the current controller and compensated loop transfer function.
The simulation with PSpice to verify the dynamic performance of the controller
was carried out with the schematics shown in Fig. 7, that resulted in the waveforms
shown in Fig. 8. There one sees that in the start-up the armature current is limited to 150
A and is kept in this value for some time. The motor speed increases slowly due to the
limited current and electrical torque. The duty cycle increases slowly and become equal
to 1 at t = 0.95 s. From this point on, the motor speed, and the speed voltage (Ea), reach a
certain level, decreasing the current. Nothing can be done to keep it at 150 A, since the
duty cycle has already reached its maximum level. This positive error makes the output
voltage of the controller (Vc) increase more and more. At 1.2 s, when the reference
current is decreased, the output voltage of the controller starts do decrease, but since its
value is too high, it is not able to reduce the duty cycle of the main switch
instantaneously. One sees that the duty cycle remains equal to 1 up to 2 s. This could be
avoided by using an anti-windup integrator whose output would not increase indefinitely.
Fig. 7 - Schematics diagram of the closed loop current control of the dc motor.
Fig. 8 Waveforms for the dc motor operating with closed loop current control: (a)
Output voltage of the controller; (b) Duty cycle of the main switch; (c) Motor speed and
(d) Reference voltage for the current and feedback current signal (Ki = 0.1).
5 Design of the controller for the Speed Loop
The uncompensated loop transfer function for the speed loop, including the PWM
modulator, the converter, the motor and the speed sensor (tachometer) is given by
mea ( s ) VSupply
=
Vcont ( s )
VST
1
1
1
+ s +
La J s + s +
a m1
a m
(11)
50
20 .log
TFPW
50
100
150
0.1
10
0.1
10
freq
n
100
3
1 10
100
1 10
4
1 10
50
arg TFPW
.rtd
100
150
200
freq
n
1 10
Fig. 10 - Bode Diagram of the speed controller and compensated loop transfer function.
The simulation with PSpice to verify the dynamic performance of the controller
was carried out with the schematics shown in Fig. 11, that resulted in the waveforms
shown in Fig. 12. There one sees that the start-up is done with duty cycle equal to 1, so
the armature current and motor speed evolve as if there was no converter. During the
interval the reference speed was higher than the motor speed, the output of the controller
kept rising, reaching high values. This way, when the actual speed exceeds the reference
and the duty cycle should be reduced, it is not because the output of the controller that is
decreasing, still implies a duty cycle equal to 1. Again an anti-windup integrator should
be used. After this transient, the motor speed finally reaches the steady state value with
zero error. At t = 1.2 s the speed reference is increased with a step change and one can
see that the transient to this small signal variation is good, with a small overshoot due to
the 45 phase margin. It could be reduced with a controller designed for a bigger phase
margin. Observe that the output voltage of the controller and duty cycle do not saturate.
Fig. 11 - Schematics diagram of the closed loop speed control of the dc motor.
Fig. 12 Waveforms for the dc motor operating with closed loop speed control: (a)
Armature current; (b) Output of the speed controller (c) Duty cycle of the main switch
and (d) Reference voltage for the speed and feedback speed signal (K = 0.053).