Professional Documents
Culture Documents
this paper are PID control and a proposed intelligent logic Constant
k_amp Motor Electric TF k_TORQUE
Dead Zone Saturation Integrator
V_Back_EMF k_BEMF
controller. PID control proved inadequate for the type of k_B
least one electric drive. The equations for an electric drive Position without Dead-Zone
Position with Dead-Zone
are as follows: 5
(1) 4
Position (Radians)
3
(2)
2
-1
Permission to make digital or hard copies of all or part of this work for 0 1 2 3 4
Time (Seconds)
5 6 7 8
personal or classroom use is granted without fee provided that copies are
not made or distributed for profit or commercial advantage and that copies Figure 2. Position difference of drive with and without
bear this notice and the full citation on the first page. To copy otherwise, deadzone (Input position of 5 then back to 0)
or republish, to post on servers or to redistribute to lists, requires prior
specific permission and/or a fee. (2010)
As can be observed, the position error introduced one of which is passed through an integrator and one which
is quite significant and could be detrimental in a physical is passed through a differentiator. Ideally, a PID controller
system that requires position accuracy. A method needs to can improve transient response and eliminate steady state
be implemented that can compensate for the dead-zone. error. Design of the controller should place less emphasis
Two proposed methods that have the possibility to on the transient response and more emphasis on correcting
compensate for dead-zone are proportional, integral, the steady state error. The PID controller which is added to
derivative (PID) control and learning control that can the system is shown in figure 5.
account for the position error introduced by the drives Motor Mechanical TF
V_Back_EMF
Motor Electric TF k_TORQUE
k_BEMF
k_B
ANALYSIS
The position controlled DC drive system can be
broken down into the following subsystems: 1) system Figure 4. Block Diagram of closed-loop system with PID
input, 2) controller/compensator, 3) DC drive system, 4) controller attached
system feedback. This subsystem assembly is shown in
kd du /dt
figure 3.
kd Derivative
1
System 1 ki 1
s
System + Controller/ DC Electric
Output In 1 ki
Out 1
Input Compensator Drive Integrator 1 Saturation
- kp
kp
readily available.
2
CONTROL
Two methods are introduced in an effort to
minimize the detrimental effects of the dead-zone. The first 1
Magnitude
10
Steady state
error between 8
Final time x final
and 6
Velocity when
Steady state 2 Torque DZ
drive enters
position
dead-zone 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (Seconds)
The controller will analyze the time at which the Figure 7. Drive torque, rotor position and rotor velocity
input torque drops to zero (tDZ). The controller will then (x_in = 5)
solve for the current rotor velocity at tDZ. The zero-input The logic controller will run multiple iterations of
response can then be analyzed because the mechanical a varying , referred to as and then compare
transfer function is known. Taking the inverse Laplace to the desired final position value. The controller will
transform provides the time response of the drives rotor store the value of that minimizes the position
and is shown in (2).
error, . Multiple desired positions will be run through
this method and a look-up table will be generated. The
system will look up the compensation needed in the table
(3)
and then apply it to the input.
To Workspace 1
torqueandvelocity
k_TORQUE
Torque
Dead Zone
Torque_DZ J.s+B
Motor Mechanical TF
s
Integrator
x_out
k_B
(5) deadzonedetector
To Workspace
for (6)
Figure 8. System shown with intelligent logic controller input
Velocity is the time derivative of position. and dead-zone detector
Integrating velocity results in: For this compensator to work correctly, the drives
(7) dynamics must not vary greatly with time. The compensator
will become more accurate with time due to the number of
iterations ever increasing and finding a more precise
compensation value.
CONCLUSION long span of time. It requires a relatively simple algorithm
PID control is not ideal for this application to implement in any microcontroller and provides a stable,
because the sensitivity of the control gains is very high. As accurate output. The compensator will continue expanding
shown in figure 6, a slight variation of the gain quickly its lookup table as new input positions are applied and the
leads to an unacceptable position error. The gains would error measured.
have to be impervious to and unaffected by noise or voltage
SUGGESTIONS FOR FURTHER RESEARCH
variation. Although PID could work as a quick solution, it
The model created, along with the design and
is not recommended for long-term use in a system
analysis of the system and controller, neglected the effects
exhibiting nonlinearity due to a dead-zone.
of a load attached to the system. Further research needs to
The intelligent logic controller corrects any be done on how well these control schemes would perform
position error by compensating for it using a look up table in a real-world application attached to a load.
for the right compensation value. This process is time-
The current algorithm for finding the amount of
intensive when the compensator is first initialized but
input compensation currently utilizes a brute force search
should require very little overhead once established. The
method to find the compensation which minimizes the
position error of the system using a desired output of 5
position error. There are other mathematical methods which
radians is shown in figure 8. The compensator stepped
may work for this compensator, including but not limited
through varying inputs and found that a compensation value
to, gradient search.
of 0.195 was needed to minimize position error.
ACKNOWLEDGMENTS
Position Error over time with and without Intelligent Logic Compensator
5 I would like to thank Dr. L. Gordon Kraft and Dr.
4 Without Compensator
May-Win Thein for their contributions to this research
With Compensator project and for always encouraging curiosity in research.
3
2 REFERENCES
1. Chapman, Stephen J. Electric Machinery Fundamentals.
Rotor Position (RADs)
1
McGraw-Hill Inc., New York, NY, USA, 1991.
0