Professional Documents
Culture Documents
net/publication/308088207
CITATION READS
1 4,649
7 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Shirantha Welikala on 01 March 2018.
Abstract for precise control using simple controller and simple power
electronics [3]. It has a wide range of applications in au-
In most robotics and automation applications, DC motors play tomotive, aerospace, material processing, manufacturing,
a pivotal role as they have proven to be one of the easiest to etc., industries as well as in precise instrumentation.
control. Implementing feedback helps precise control with improved Typically, the DC motor is used for position servo [4],
noise performance and robustness against parameter variations. DC velocity servo, or torque control applications. Depending
motors with feedback control can be used for position, speed, or on the target application, the DC motors for control,
torque used for control. For closed loop position and speed control robotics, and automation applications have been equipped
applications, the position and speed of the DC motors can be with shaft-connected encoder for position feedback or a
obtained using an encoder connected to the shaft, which usually is tacho-generator for velocity feedback. For torque control
a cost-effective solution. Similarly, the electromagnetic torque of a applications and fast and precise state feedback control, it
DC motor can be obtained by using a shaft-connected torque sensor. is required to measure the electromagnetic torque of the
However, this is usually an expensive solution with additional power DC motor.
and interfacing requirements. Further, such torque sensors can It can be measured directly by a torque sensor
be too bulky to insert in a limited space environment and they attached to the shaft. However, this is an expensive
are generally sensitive to vibrations. To overcome these problems solution requiring additional power and interfacing. In
with a low-cost solution, we use a state estimator to estimate the addition, sometimes the torque sensor can be too bulky to
torque of the motor. We compare the performance of closed loop be implemented for certain applications.
state estimator with a Kalman filter implemented for the same Another alternative would be to use a current sensor to
purpose. In both cases, the input voltage to the motor and the measure the armature current and use the simple linear re-
speed output of the motor are the input to the state estimator, while lationship to find the electromagnetic torque. Requiring an
the estimated torque is the output of the estimator. The estimated additional current sensor and its integration are the draw-
torque output is used for closed loop torque control of the DC backs of this approach. In addition, the torque constant of
motor. The state estimators and the torque controller, containing the motor can vary with time and therefore requires cor-
pulse width modulation and PID controller, have been implemented rections from time to time [5], [6]. The most cost-effective
in low-cost microcontroller-based environment so that the solution approach would be to use the existing shaft-connected po-
can be developed for large-scale manufacturing and offered as a sition encoder or the tacho-generator feedback and use an
ready-made solution. estimation technique to find the electromagnetic torque of
the DC motor.
Key Words In this article, we use a state estimator to estimate
the electromagnetic torque of a DC motor using the speed
Closed loop control, DC motor, Kalman filter, state estimation, measurement and the input voltage measurement in real
torque control time. For the input voltage measurement, a simple voltage
divider is used and speed measurement is taken through
1. Introduction an optical shaft encoder.
A fuzzy control together with a PID control has been
Despite the introduction of attractive AC motor substitutes used in [7] to estimate the torque, which performs better
[1], [2], the DC motor still remains popular among control, than a PID controller alone. However, this method is not
robotics, and automation community as an ideal solution simple to implement in a low-cost microprocessor envi-
∗Sri Lanka Telecom Mobitel; e-mail:ahzfarnaz@hotmail.com ronment as in [8]. Sliding mode observer-based methods
∗∗Department of Electrical and Electronic Engineering Faculty have been used together with extended Kalman filter for
of Engineering, University of Peradeniya, Sri Lanka; e-mail: electromagnetic torque estimation of nonlinear brushless
{hssajith.eng, abeysekara.anuradha, shirantha27}@gmail.com,
{prabathb, mpb.ekanayake, lilantha}@ee.pdn.ac.lk
DC motors in [9] and for induction motors in [10], [11].
Recommended by Dr. Muhammad Tahir Khan Observer-based torque estimation for DC motors has been
(DOI: 10.2316/Journal.2016.3.201-2762) discussed in [12]. Torque estimation and control techniques
130
(e) mutual inductance is negligible, and (f) armature reac-
tion is negligible. Hence, the linear model of the motor can
be achieved by (1) to (3). Ke and Kt are back electromo-
tive constant and motor torque constant [19]. Substituting
(2) and (3) in (1) yields (4). Applying Newton’s second law
of motion to the rotational motion of the motor gives (5).
dia (t)
v(t) = Ra i(t) + La + e(t) (1)
Figure 1. DC motor schematic diagram. dt
Φ = eAh (10)
⎡ Bm 1 ⎤
−
h ⎢ Jm Jm ⎥
Γ = ∫ eAs Bds; A = ⎢
⎣
⎥;
0 Ke · Kt Ra ⎦
− −
La La
⎡ 1 ⎤ Figure 2. Simulink model of the closed loop observer.
0 −
⎢ Jm ⎥
B =⎢
⎣K
⎥
⎦ (11)
t algorithm [20] for the above system can be obtained as in
0 (18)–(22).
La
Here, h is the sampling period. For the above dis- Predictor step: Time update
cretized system, a closed loop observer with discrete ob-
server state x̂ and the closed loop observer gain matrix L Project the state estimates ahead:
can be designed as in (12) and (13).
x̂− [k] = Φx̂− [k − 1] + Γu[k] (18)
x̂[k + 1] = Φx̂[k] + Γu[k] + L(y[k] − C x̂[k]) (12)
The estimation error of the closed loop observer x̃ is P − [k] = ΦP [k − 1]ΦT + Q (19)
given by (14).
To make observer error dynamics to be stable, the Update estimate x̂ with measurement:
eigenvalues should be located within the unit circle of the
complex z-plane. The observer gain matrix L has been
designed by using the principle of pole placement. The x̂[k] = x̂− [k] + K[k](y[k] − C x̂− [k]) (21)
poles of the closed loop observer have been placed such that
the error dynamics are a decade faster than the system, so
that the transient response will be smooth. The software
Update the error covariance P:
implementation of the observer using SimulinkT M blocks
is shown in Fig. 2.
P [k] = (I − K[k]C)P − [k] (22)
2.4 State Estimator: Kalman Filter Design
where Q = E[ηη T ] is the process noise covariance and
In the presence of plant noise η[k] and measurement noise R = E[νν T ] is the measurement noise covariance.
ν[k], the discrete time state space of the DC servo motor The software implementation of the Kalman filter us-
plant gets modified as in (16) and (17). ing Simulink blocks is shown in Fig. 3.
x[k + 1] = Φx[k] + Γu[k] + η[k] (16) 2.5 Design of the Torque Controller
y[k] = Cx[k] + Du[k] + ν[k] (17) The torque estimated by the state estimator was used to
design a torque controller for the system. Here, the input
The Kalman filter has two steps: (1) predictor step voltage to the motor was changed using a PID controller
and (2) corrector step. Accordingly, the Kalman filter followed by a H-bridge formed by MOSFETs to control
132
Figure 3. Simulink model of the Kalman filter.
the output torque of the system. The input u[k] which is in this study. The first part of the section describes the
mentioned in (6) was changed as, hardware modules used in this work and the second part
⎛ ⎞ describes the complete Simulink model of the simulation.
Vin
u[k] = ⎝ ⎠ (23)
Tm 3.1 Hardware Implementation
135
Figure 8. Estimated torque using closed loop observer and Figure 11. Error in estimated speed using Kalman filter
Kalman filter. and closed loop observer.
Figure 9. Error in Estimated torque using closed loop Figure 12. Torque control for a given torque reference.
observer and Kalman filter.
138