Professional Documents
Culture Documents
6.design of Speed Controller - JCS
6.design of Speed Controller - JCS
6.design of Speed Controller - JCS
ISSN 1549-3636
© 2012 Science Publications
Keywords: Permananent Magnet Synchronous Motor (PMSM), drive, genetic algorithm, lower order
system modelling, speed controller
rotor, is replaced by the PM excitation; the slip rings where, the electromagnetic torque is given by Eq. 3:
and brush assembly are dispensed with. With the advent
of switching power transistor and silicon-controlled 3 P
Te = . λ af iqs
r
(3)
rectifier devices in later part of 1950s, the replacement 2 2
of the mechanical commutator with an electronic
commutator in the form of an inverter was achieved. And if the load is assumed to be frictional, then Eq. 4:
These two developments contributed to the
T1 = B1 ωm (4)
development of PM synchronous and brushless dc
machines (Islam et al., 2011). The armature of the dc
Which, upon substitution, gives the
machine need not be on the rotor if the mechanical
commutator is replaced by its electronic version. electromechanical Eq. 5 as:
Therefore, the armature of the machine can be on the
3 P 2 r
stator, enabling better cooling and allowing higher (Jp + Bt )ωr = .λ af iqs = K t .i qs
r
(5)
voltages to be achieved: significant clearance space is 2 2
avilable for insulation in the stator. The excitation field
that used to be on the stator is transferred to the rotr The frictional torque coefficient is Eq. 6:
with the PM poles. These machines are nothing but ‘an
inside out dc machine’ with the field and armature P
interchanged from the stator to rotor and rotor to stator Bt = Bl + B1 (6)
2
respectively (Pillay and Krishnan, 1989). In this study
contains design of speed controller for permanant And torque consatnt is Eq. 7:
magnet synchronous machines using Genetic
algorithm based lower order modelling. 3 P
2
K t = .λ af (7)
Speed controller design: The design of the speed- 2 2
controller is important from the point of view of imparting
desired transient and steady state characteristics to the The Eq. 1 and 5, when combined into a block diagram
with the current-and speed-feedback loops added (Sharma
speed-controlled PMSM drive systems (Islam et al.,
et al., 2008) are shown in Fig. 1.
2011). A proportional-plus-integral controller is sufficient
The inverter is modeled as a gain with a time lag
for many industrial applications; hence, it is considered in (Talebi et al., 2007) by Eq. 8-10:
this work. Selection of the gain and time constants of such
a controller (Talebi et al., 2007) by using the symmetric- K in
G r (s) = (8)
optimum principle is straightforward if the d axis stator 1 + sTin
current is assumed to be zero (Wallace, 1994). In the
presence of a d axis stator current, the d and q current Where:
channels are cross-coupled and the model is non-linear, as Vdc
a result of the torque term . Under the assumption that the K in = 0.65 (9)
Vcm
d axis current being zero (i.e., i dsr =0), then the system
becomes linear and resembles that of a separately-excited 1
dc motor with constant excitation (Sharma et al., 2008). Tin = (10)
2f c
From then on, the block-diagram derivation, current loop
approximation, speed-loop approximation and derivation where, Vdc is the dc-link voltage input to the inverter
of the speed controller by using symmetric optimum are (Islam et al., 2011), Vcm is the maximum control
identical to those for a dc motor drive speed controller voltage and fc is the switching (carrier) frequency of
design. the inverter.
The induced emf due to rotor flux linkages, ea, is
Block diagram derivation: The motor q axis voltage Eq. 11:
equation with the d axis current being zero becomes
(Sharma et al., 2008): ea = λaf ωr (V) (11)
V = (R s + Lq p)i + ωr λ af
r r
(1)
qs qs
Current loop: This induced-emf loop crosses the q axis
And the electromechanical Eq. 2 is: current loop and it could be simplified by moving the
pick-off point for the induced-emf loop from speed to
P current output point. This gives the currnt-loop transfer
(Te − T1 ) = Jpωr + B1 ωr (2)
2 function (Sharma et al., 2008) from Fig. 2.
1701
J. Computer Sci., 8 (10): 1700-1710, 2012
This induced emf loop crosses the q axis current a 0 + a1s + a 2s 2 + ... + a n −1s n −1
loop and it could be simplified by moving the pick- G (s) = (14)
b 0 + b1s + b 2s 2 + ... + b n −1s n −1 + b n s n
off point for the induced-emf loop from speed to
current output point. This gives the current-loop
transfer function from Fig. 2 as Eq. 12 and 13: G (S) can be expanded into a power series about S
= 0 of the form Eq. 15-17 (Shamash, 1975):
K in K a (1 + sTm )
r
i (s)
=
qs
r
i * (s) H c K a K in (1 + sTm ) + (1 + sTin )
(12) G ( s ) = c0 + c1s + c 2s 2 + ⋯ (15)
qs
{K K
a b + (1 + sTa )(1 + sTm )}
Where:
Where:
a0
c0 = (16)
b0
1 Lq 1 J
Ka = ;Ta = ;K m = ;Tm = ;K b = K t K m λ af (13)
Rs Rs Bt Bt
And:
This current-loop transfer function (Krishnan and
1 k
Ramaswami, 1974) is substituted in the design of the ck = a k − ∑ b jc k − j , k > 0 (17)
speed controller as follows. b0 j =1
From the above drive parameters the following Then for R (s) to be Pade approximant of G (S), the
values are obtained: following Eq. 19 and 20 are obtained:
Inverter: Gain,Kin = 18.525 V/V; Time constant, Tin = d 0 = e0 ⋅ c 0 (19)
0.00025 sec.
Motor (electrical): Gain, Ka = 0.7143; Time constant, Ta
= 0.0064 sec. d1 = e0 ⋅ c1 + e1 ⋅ c0
Induced emf loop: Torque constant, Kt = 2.087 N.m/A ⋮
Mechanical gain, Km = 100 rad/s/Nm; Mechanical Time (20)
0 = e0 ⋅ c 2r − 2 + e1 ⋅ c2r −1 + ⋯ c r −1
constant, Tm = 0.6 sec. 0 = e0 ⋅ c 2r −1 + ⋯ c r
Kb = KtKmλaf = 32.26.
Proposed method of model reduction: The From the Eq. 16 and 20:
proposed method of model reduction is Cross
Multiplication of Polynomials Model order reduction a 0 d0
c0 = = (21)
method. It consists of the following steps in the b 0 e0
system approximation process.
From the Eq. 21, let Eq. 22:
Step-1: The denominator and numerator polynomial
constant terms in the reduced order model are
a 0 d 0
obtained through Pade approximation: The transfer = (22)
th
function of higher order (n ) is considered as Eq. 14: b0 e0
1703
J. Computer Sci., 8 (10): 1700-1710, 2012
Step-2: The unknown coefficients of different Deepa, 2009): Consider, the transfer function of higher
powers of ‘s’ remaining in reduced order model are order (nth) as:
determined: The given higher order system transfer
function is equated and cross multiplied with kth order a 0 + a1s + a 2s 2 + ... + a n −1s n −1
general transfer function. This process yields (n+2) G (s) =
b 0 + b1s + b 2s 2 + ... + b n −1s n −1 + b n s n
equations with (2r-1) unknown reduced order transfer
function coefficients. This step is similar to the model The general form of the transfer function of a second
order reduction method proposed in Manigandan et al. order system in the s-domain can be represented as:
(2005), where the values of e0 or d0 are kept as equal to
‘1’ irrespective of the system condition to obtain the T1 + T2S
values of unknown coefficients in the reduced order G ri ( s ) = (28)
s 2 + 2ζωnS + ωn 2
model transfer function. But in this proposed method,
the values of e0 and d0 are obtained through Pade
approximation method as detailed in step-1. This leads where, ζ is the damping ratio and ωn is the undamped
to better system approximation as compared to the natural frequency of oscillation in rad/sec. The values
model order reduction method proposed by Eq. 23 and of T1 and T2 corresponding to Eq. 28 can be computed
24 Manigandan et al. (2005): as T1 = Tg and T2 = Sg ω2n . Where, the transient gain
a 0 + a 1s + a 2 s 2 + ... + a n −1s n −1
(Tg) and steady state gain (Sg) are computed as:
b 0 + b1s + b 2 s 2 + ... + b n −1s n −1 + b n s n (23) a n −1 a
d 0 + d 1s + d 2 s 2 + ... + d r −1s r − 1
Tg = and Sg = 0
= bn b0
e 0 + e1s + e 2 s 2 + ... + e r −1s r − 1 + e r s r
By using proposed scenario-1, the reduced order
(a 0 + a 1s + a 2 s 2 + ... + a n − 1s n − 1 ) model obtained in step-2/step-3 is modified in to an
(e 0 + e 1s + e 2 s 2 + ... + e r − 1s r − 1 + e r s r ) (24) initial form as Eq. 29:
= (b + b s + b
0 1 2 s + ... + b n − 1s
2 n −1
+ b ns n
) d 0 d1
+ s
(d + d s + d s 2
+ ... + d r − 1s r − 1 ) e2 e2 A 0 + A1s
G ri ( s ) =
0 1 2
= (29)
0 + B1s + s
2
e0 e1 B
The coefficients of same power of ‘s’ on both side + s+s 2
e2 e2
of the Eq. 24 equated with each other (Ramesh et al.,
2008) and is given by Eq. 25:
Where:
a n −1 ⋅ e r = b n ⋅ d r − 1
d0 d
a n − 1 ⋅ e r −1 + a n − 2 ⋅ e r = b n −1 ⋅ d r −1 + b n ⋅ d r − 2 A0 = = T1 , A1 = 1 = T2 ,
e2 e2
⋮ (25)
e0 e
a 2 ⋅ e 0 + a 1 ⋅ e1 + a 0 ⋅ e 2 = b 0 ⋅ d 2 + b 1 ⋅ d 1 + b 2 ⋅ d 0 B0 = and B1 = 1
e2 e2
a 1 ⋅ e 0 + a 0 ⋅ e1 = b 1 ⋅ d 0 + b 0 ⋅ d 1
a 0 ⋅ e0 = b0 ⋅ d 0
The unit step input time response of the initial
second order approximant Gri (S) is analyzed with a
The (n+2) set of Eq. 25 is solved with the values of
computer program and its characteristics are noted. The
d0, e0 obtained in (22). This leads to have different set
cumulative error index J using the integral square error
equations for solving the remaining unknown
of the unit step time responses of the given higher order
parameters. Based on the optimal ISE value, the
unknown values are selected and the resultant reduced system G(s) represented by Eq. 15 and the initial
order model is obtained as Eq. 26 and 27: second order approximant Gri (S) represented by Eq. 29
is calculated. The cumulative error index J is calculated
d 0 + d 1s + d 2 s 2 + ... + d r − 1s r − 1 using the formula Eq. 30:
G r (s ) = (26)
e 0 + e 1s + e 2 s 2 + ... + e r − 1s r − 1 + e r s r
N
J = ∑ [y(t) − y r (t)]2 (30)
If r = 2 ⇒ t =0
Table 1: Parameters of GA From Eq. 29, the reduced order model is obtained as
GA property Value/method Eq. 33 (Ravichandran, 2007):
Population size 60
Maximum Number of generations 20
Performance index/fitness function Mean square error 394.4s + 336.56
Selection Method Normalized Geometric selection G r (s) = (33)
Probability of selection 0.05 s 2 + 5.796s + 4.22
Crossover method Arithmetic crossover
Number of crossover points 3
Mutation method Uniform mutation Speed controller: To obtain an optimum transient
Mutation probability 0.1 response of the system, a PID controller is chosen
with transfer function Eq. 34 (Kuo and Golnaraghi,
Table 2: GA based PID controller gain values 2003; Ogata, 2010):
Gain parameters Kp Ki Kd
Gain values 17.70713 31.7933 0.00407
Ki
G c (s) = K p + K ds (34)
After giving the above parameters to GA the PID controllers s
can be easily tuned and thus system performance can be
improved (Thomas and Poongodi, 2009). Where:
Kp = Proportional gain
Step-4: Find the PID Controller Constants using GA: Ki = Integral gain
GA can be applied to the tuning of PID controller gains to Kd = Derivative gain
ensure optimal control performance at nominal operating
conditions. The block diagram for the entire system is The Values of Kp, Ki and Kd are obtained by
given below in Fig. 4 and also the genetic algorithm Genetic Algorithm (GA) approach. The resultant Kp, Ki
parameters chosen (Thomas and Poongodi, 2009) for the
and Kd values are tabulated as shown in Table 2.
tuning purpose are shown below in Table 1.The constants
Kp, Ki and Kd are determined using Genetic Algorithm Speed controller design for reduced system: The
(GA) approach (Mahony et al., 2000). The Controller
block diagram of reduced system with speed controller
design for resultant reduced order model will closely
is shown in Fig. 5.
match with the corresponding higher order model.
After giving the above parameters to GA the PID where, Kp, Ki and Kd values are 17.70713, 31.7933
controllers can be easily tuned and thus system and 0.00407 respectively.
performance can be improved.
Speed controller design for original system: The Kp,
Speed controller design by proposed method: Ki and Kd values of speed controller of Original
Transfer function Approach: system is same as that of reduced system. Using this
Original Higher order system without speed value the speed controller of original system is done.
controller and filter: Let G(s) be the transfer function Fig. 6 shows the block diagram of original system
of the original higher order system. The transfer with speed controller.
function of PMSM drive system without speed
controller and filter is as follows Eq. 31: Design specifications: The system is tested with unit
step input and the design procedure is followed based
1 6 5 7 .0 7 8 s + 2 7 6 3 .2 (31) on the following design specifications:
G (s ) =
0 .0 0 0 0 0 0 5 7 6 s 4 + 0 .0 0 2 4 s 3
+ 4 .2 s 2 + 2 7 .7 7 8 s + 3 4 .6 3 Maximum peak overshoot = less than 3%
Settling time = less than 3 sec
Reduced order system: Let Gr(s) be the transfer Steady state error = 2% (assumed for
function of the reduced order system (Portone, 1997). optimum response)
The transfer function of the reduced order system of Before proceeding on to
PMSM drive by the application of proposed method is the simulation, the
as follows Eq. 32: starting values of the
parameters of controller
3237.95s + 2763.2 (32) are deduced using newly
G r (s) =
8.21s 2 + 47.59s + 34.63 proposed procedures
1705
J. Computer Sci., 8 (10): 1700-1710, 2012
Simulation results: The effectiveness of the newly Step response of original system with controller: The
proposed scheme for the design of PID Speed controller step response of the PMSM drive system with Speed
for PMSM drives are demonstrated using computer controller by proposed method is shown in Fig. 9.
simulations. The system is simulated for step input Compared with PMSM drive with conventional speed
using MATLAB-SIMULINK software with and controller it gives better performance as listed in Table 3.
without controllers (Chapman, 2002). The output
responses of the above simulation studies are given in Step response of reduced system with controller:
the following Figures. The step response of the reduced order PMSM drive
system with Speed controller by proposed method is
Step response of original system: The step response of shown in Fig. 10.
the PMSM drive system is shown in Fig. 7.
Step response of original system with conventional
Step response of reduced system: The step response controller: Step response of original system with
of the reduced order PMSM drive system is shown in conventional speed controller of PMSM drive is shown
Fig. 8. in Fig. 11.
1707
J. Computer Sci., 8 (10): 1700-1710, 2012
Fig. 11: Step response of original system with conventional speed controller
Rahman, M.A., 2003. Real-time performance Singh, B.P., 2006. Fuzzy pre-compensated PI controller
evaluation of a genetic algorithm based fuzzy logic for PMBLDC motor drive. Proceedings of the
controller for IPM motor drives. Proceedings of the International Conference on Power Electronics,
38th IAS Annual Meeting on Conference Record Drives and Energy Systems, Dec. 12-15, IEEE
of the Industry Applications Conference, Oct. 12- Xplore Press, New Delhi, pp: 1-5. DOI:
16, IEEE Xplore Press, pp: 731-737. DOI: 10.1109/PEDES.2006.344361
10.1109/IAS.2003.1257601 Sivanandam, S.N. and S.N. Deepa, 2009. A
Ramesh, K., A. Nirmalkumar, G. Gurusamy, 2008. Comparative study using Genetic algorithm and
Order reduction by error minimization technique. Particle Swarm Optimization for Lower Order
International Conference on Comuting system modelling. Int. J. Comput. Internet
Communication and Networking, Dec. 18-20, Manage., 17: 1-10.
IEEE Xplore Press, Thomas, VI, pp: 1-6. DOI: Talebi, S., B. Nikbakhtian and H.A. Toliyat, 2007. A
10.1109/ICCCNET.2008.4787753 novel algorithm for designing the PID controllers
Ravichandran, C.S., 2007. Designing of PID controller of high-speed flywheels for traction applications.
for discrete time linear system using balanced IEEE Vehicle Power and Propulsion Conference,
approach reduced order model. Am. J. Appli. Sci., Sept. 9-12, IEEE Xplore Press, Arlington, TX, pp:
pp: 155-159. DOI: 10.3844/ajassp.2007.155.159 574-579. DOI: 10.1109/VPPC.2007.4544188
Shamash, Y., 1975. Linear system reduction using pade Thomas, N. and P. Poongodi, 2009. Position control of
approximation to allow retention of dominant DC motor using Genetic algorithm based PID
modes. Int. J. Control., 21: 257-272. DOI: controller. Proceedings of the World Congress on
10.1080/00207177508921985 Engineering, Jul. 1-3, IEEE Xplore Press, London.
Sharma, R.K., V. Sanadhya, L. Behera and S. Wallace, I.T., 1994. Verification of enhanced dynamic
Bhattacharya, 2008. Vector control of a permanent torque per ampere capability in saturated induction
magnet synchronous motor. Proceedings of the machines. IEEE Trans. Industry Appli., 30: 1193-
Annual IEEE India Conference, Dec. 11-13, IEEE 1201. DOI: 10.1109/28.315229
Xplore Press, IIT Kanpur, pp: 81-86. DOI:
10.1109/INDCON.2008.4768805
1710