Professional Documents
Culture Documents
Table of Contents
1.
Abstract ...................................................................................................................................................1
2.
Objectives ...............................................................................................................................................2
3.
Introduction .............................................................................................................................................3
4.
5.
3.1.
3.2.
3.3.
4.2.
4.3.
5.2.
5.3.
5.4.
6.
Conclusion ............................................................................................................................................22
7.
References.............................................................................................................................................23
Appendix.......................................................................................................................................................24
1. Abstract
DC motors have many advantages in relation to other machines. The high torque and
simple speed control are good conditions for many applications. For this reason, the study of
controllability of DC motors is very important for the control engineer.
The electrical scheme is studied in order to figure out a model for the rig. The linearity of
the system was studied to analyze its controllability. Some experimental models were figured
out and continuously improved as new speed controllers were designed. Eventually, the
quality of the model was assessed using integral absolute error.
Keywords: DC motor; control; root locus; amira 300; PI controller.
2. Objectives
This project aims to analyze the features, implement a model and a controller for the
DR300 DC Motor produced by Amira. Some experiments must to be carried out for
analyzing the machine features in order to understand its operation. A model is to be
evaluated based on technical data from datasheet and experimentally using external control.
Finally, a speed controller must be implemented for controlling the machine with PC-Motor
interface using the software Simulink.
3. Introduction
3.1.DC Machine Features
DC machines can be used as a motor as well as a generator. Currently, the
development of Drive Engineering with alternating current (AC) and economic viability have
favored the replacement of DC motors (DC) by induction motors driven by frequency
inverters. Nevertheless, due to its characteristics and advantages, the DC motor still shows
the best choice in many applications, such as:
Paper Machines
Winders and Unwinders
Laminator
Printing Machinery
Extruders
Presser
Lift
Charge Handling and Lifting
by Roller Mills
Rubber Industry
The collector or commutator electrically connects the rotor coils through carbon
brushes to power source in order to allow rotor movement without causing short circuits.
Figure 2 Collector
The Brushes are made of carbon graphite or carbon. The brushes conduct current from
external source to the collector contacts and the rotor coils. Due to continuous friction, the
brushes require periodic maintenance by replacing the pair of brushes.
The initial condition for a DC Motor operation is the stator magnetic flux production.
This magnetic flux is obtained by applying direct current in the stator coils. Hence, it the
magnetic poles come up, which become electromagnets with fixed polarity poles. A direct
current from an external source flows through the brushes, commutator and rotor coils, thus
creating magnetic poles on the rotor. The rotor poles are attracted by the stator poles resulting
in a magnetic force. It is mounted over bearings that allow it to spin. Due to magnetic forces
between stator and rotor, the rotor seeks a new equilibrium condition hence moves angularly.
As the rotor coils are powered electrically through the collector and brushes, after
displacement the other coils are fed thus producing magnetic forces again.
3.2.Mathematical Description
The electrical circuit of a motor can be represented by the figure below.
Eq. 1
Where:
UA=
E=
RA=
IA=
LA=
Armature Voltage
Induced Electromotive Force
Armature Resistance
Armature Current
Armature Inductance
The electromotive force of the motor is given by:
Eq. 2
Where:
C=
=
=
Motor Constant
Magnetic Excitation
Armature Frequency
Frequency and speed are related by:
Eq. 3
For thoroughly describe the motor behavior, there must be a relation between
mechanical and electrical parts as follows.
Eq. 4
Since the motor constant KM is provided by the manufacturer and the driving torque M is
always in balance with charge torques.
Eq. 5
Where:
ML=
MB =
J is the moment of inertia of motor and load together. The eq.1 can be represented in Laplace:
Eq. 7
Eq. 8
Where TA =
Eq. 10
Finally, it yields the following transfer function for the relation Speed Armature voltage.
Eq. 11
Eq. 12
1
2
The DR300 will be controlled by the BNC terminal input called I Motor, that
controls the armature current through a cascade current control loop as shown in figure 7.
According to the DR300 datasheet, the current control loop must be separated by
assuming that the load moment doesnt change, i.e. ML=constant and thus its influence is
omitted. From these assumptions the system can be transformed into the following structure.
As usually TM >>TA, the feedback will have a large delay in comparison to the
armature loop. So this feedback can be neglected for an evaluation of the dynamic behavior.
Since the plant includes no integral portion, a PI controller was chosen to reach a
steady state precision. The motor M1 is controlled by a servo amplifier and has input range
from -10 to 10volt with an amplification of 0.4A/V. It behaves like a first order lag with time
constants Time1 (0.03s) or Time2 (0.005s).
Eq. 13
following.
Eq. 14
4.1.Calibration Curve
Using a Simulink scheme, a constant voltage was applied to the I-Motor increasing its
value by 0.1 steps from 1.4 to 2.4V. Therefore, the motor ran within its whole range from
standstill to saturation. With the aid of a Optical Tachometer, the current speed of the shaft
was measured as the applied voltage increased. The tacho voltage was captured on the socket
Tacho and compared to the speed measured with the instrument (in RPM) as shown on table
1. Furthermore, the figure 12 shows the calibration curve.
Table 1 - Calibration data
I-Motor Input(V)
1.4
1.5
1.6
1.7
1.8
1.9
2
2.1
2.2
2.3
2.4
Tacho DC Motor(V)
0
1.187
1.779
2.462
3.082
4.228
5.079
6.321
8.1
9.657
10.62
Digital tacho(RPM)
0
485.5
691.5
966.7
1229
1620
2047
2506
3229
3869
4564
10
5000
Tacho RPM
4000
3000
2000
1000
0
0
-1000
10
12
Tacho Voltage(V)
Figure 12 - Calibration curve
4.2.System Modelling
In order to find out the region of linearity of the DC motor, the steady state output
voltage from the Tacho was measured while applying voltage on I Motor (IM) input. The
figure 12 shows the motors response for a respective voltage application on No Load
operation.
The figure shows the system is linear on the region [1.55, 2.21] (V) applied to the IMotor socket, i.e. the systems response is predictable inside this region and is controllable.
11
A 0.2 V step with 1.6V offset, i.e. 1.8 to 2V was applied to the system in order to
obtain its response within the linear region. The data was treated on MATLAB and the open
loop response has the characteristics shown on figure 15.
12
() = .+ .
Eq. 15
The time delay represents less than 2% of the systems time constant, thereby it is
negligible.
The second order model is represented by G2a.
.
() = . +.+
Eq. 16
() = +.+.
Eq. 17
Whose gain is kss=11.44, natural frequency n=1.4 and damping coefficient =1.37.
The responses diverges dramatically thereby those transfer functions cannot describe properly
13
the motor. Then, the parameters for the first and second order transfer function were changed
manually to turn them better suitable to the real response. Eventually, the transfer functions
which better describe the DC motor on closed loop are G1b and G2b as follows.
.
() = .+ .
Eq. 18
The first order model represented by G1b has gain kss = 8.44, time constant = 1.47s
and time delay d = 0.006s.
() = +.+
Eq. 19
Whose gain is kss=337, natural frequency n= 6.32 and damping coefficient =4.26.
The first and second order models were compared as shown on figure 17. The functions
represent the conversion between RPM to Volt (Fcn3) and back from Volt to RPM (Fcn, Fcn1
and Fcn2). The constant 1.5 is the minimal voltage necessary to put the engine on motion, as
shown on figure 13. This value is subtracted from the models in order to have the responses
matched.
The figure 18 presents the closed loop validation for the models G1b and G2b.
14
A constant 8V (or 3323RPM) offset was applied for 20 seconds followed by 1V (or
415RPM) step for more 20 seconds. The whole cycle lasts 40 seconds and was repeated
several times, so that the 30th test is after 30*40= 1200s = 20 min motor running. The tacho
output for 6 different times are shown on figure 20.
15
The figure 21 shows the change on control signal for the same reference step.
The systems behavior changes over time, so that its gain goes from 11.44
(4700RPM/V) on cold state to 14.3 V/V (5850 RPM/V) after 20 minutes. A better transfer
function is to be worked out to describe the system. Using the average response on 9th test,
the new model G2c was figured out.
() = +.+.
Eq. 20
Whose gain is kss=10.17, natural frequency n = 5.34 and damping coefficient = 5.76.
5.2.Control Design
The BNC cables are arranged on DAQ as follows.
To design a controller, it is necessary to set requirements. As the settling time for this
system is about 8.4s and the time delay is negligible, a more demanding settling time can be
required. The system has to be precise, i.e. with no steady state error and have a reasonable
overshoot. Therefore, the requirements for the controlled system are:
-
Steady-state error = 0
Percentage overshoot< 10%
Settling time =1s
16
The desirable time constant of response under these requirements is about d=1/3 =
0.33s. Therefore, for a first order response the closed loop pole should be placed at nearly pd.
In this case, there are 3 poles, but the one closest to the origin will overrule the others.
= = . =
Eq. 21
Eventually, the closed loop poles were placed at p1=-42.08, p2=-17.5 and p3=-1.92.
The PI controller designed is C1.
1() = 2.836 +
4.88
The system would have 1 second settling time and 8.7% maximum overshoot.
the motor out of standstill and stabilize it on linear region. Then a 500 RPM step is applied
for more 20 seconds. The function Fcn3 converts the reference speed from RPM to voltage
which feed the motor by the I-Motor socket. The current shaft speed is acquired from the
Tacho socket in volts. The functions Fcn and Fcn1 convert back the voltage to RPM and
show the value on the virtual scope.
The motors response is good. Settling time of 0.62 seconds and 5% overshoot.
However, if the response is much better than expected that means the model is not good
enough and more aggressive response can be required.
A new model was acquired by changing manually the previous model G2c and
making it suitable to the real response. A new model was attained G2d.
2() =
390
+ 62 + 30
Whose gain is kss= 13, natural frequency n= 5.48 and damping coefficient =5.65.
18
Controller C2
A new controller was designed, this time requiring the most of the motor. The
requirements are:
-
Steady-state error = 0
Percentage overshoot< 10%
Settling time = Shortest possible
A controller was designed using Root-Locus, and would settle at 0.2 seconds with
1.2% maximum overshoot.
2() = 2.1343 +
1.56
A scheme similar to the figure 24 was assembled with controller C2. The result is
shown on figure 26.
It is noticeable that the real system responds slightly better than the controlled
evaluated model. Therefore, the plant can still be improved and a new controller is to be
designed.
Final Controller Design
The best improved DC motor model achieved is G2e.
2() =
590
+ 80 + 20
A new controller was designed to demand the most of the equipment. The
requirements are as follows:
-
Steady-state error = 0
Percentage overshoot< 10%
Settling time = Shortest possible
The controller would make the system to settles at about 0.1s with maximum 10% overshoot.
3() = 5.9916 +
7.67
The system was controlled with C3 and the result is shown on figure 27.
The response has 9.87% overshoot and 0.11 seconds settling time. Therefore, the
controlled system has a reasonable response.
Eq. 22
Using Simulink, the motor was controlled with the C3 controller and its response
compared to the model G2e. The reference speed was changed from 0 to 4200 RPM in
200RPM steps every 5 seconds, so that the motor had enough time to stabilize. Afterwards,
the IAE was calculated on the transient region for every setpoint, as shown on figure 28.
20
The plant model was figured out on the region 2000 to 2500 RPM, so it is expected
small error on this region. Good results are achieved on between 600 to 4000 RPM, what is
sensible since the motor is nearly linear on this region. Therefore, the IAE chart describes
well what is expected for the DC motor.
21
6. Conclusion
The electrical scheme was to be comprehended in order to work out a model for the rig.
However, the current controller and measuring system linked to the motor turns the process
more difficult to be controlled. Besides, the manual does not provide enough information and
explanation to some assumptions taken. Although the electrical components of the motor
were not all calculated, the box can still be controlled. And it opens a path to understand the
characteristics of the machine.
Some experimental models were figured out and continuously improved as new speed
controllers were designed. As the mechanical time constant is much bigger than the electrical
one, a second order model may be a good representation to the system. Eventually, a pretty
satisfying speed controller was designed along with a model to represent the overall system.
22
7. References
[1]
[2]
[3]
[4]
Amira 1999/2000
[5]
RS, 2005.
[6]
23
Appendix
This section presents theories for the model representation of the DR 300 DC motor
by Amira. The controlled variable of the motor is the armature current, what makes the model
evaluation a challenge. Using the DR 300 Manual, it was found out two paths to represent the
plant: Block diagram and Time delay elements
Block diagram
Section 1.5 presents the physical representation of the kit. The block diagram is
incomplete, since no information about the current controller is provided on the manual.
Figure 29 shows the block diagram for the plant including the motor and the current
controller.
Notes:
-
Kt = 6Ncm/A = 0.06Nm/A
J = 80.45.10^-6
ML is considered in the following. It can be combined by the load moment resulting from the
coupled machine and the moments of friction. One component of the machine of friction is
the sliding friction proportional to the rotation. When this sliding friction is described by a
24
feedback (Kfric) of the integrator with the machine time constant TM its transfer function is
stated as
1
1
() =
=
.
.
+1
1 +
.
The amplification factors of the current controller (Ki) and the measuring system are
known. So the overall transfer function of the current controller, the motor and the measuring
system is given by:
() =
The amplification
1
1
.
.
1 +
1
1
+ 1 1 +
.
time constant can be determined using the measured amplification Vreal by:
Then the transfer function of the open speed control loop is:
() =
(1 + )(1 + )(1 + )
.
80.45. 106 3.13
=
= 70
0.06.0.06
0.07.4700
= 1.645
200
The meaning of Tmess was not explained, so it was assumed to be the old time
constant. Tmess=0.07s
25
() =
4700
0.01353 3 + 2. 722 2 + 3.295 + 1
The model Go was compared to G2a from Eq.17 on Simulink. The result is shown on
figure 30.
26