Professional Documents
Culture Documents
Handbook and Application Guide For High-Performance Brushless Servo Systems
Handbook and Application Guide For High-Performance Brushless Servo Systems
Position
controller
Drive
amplifier
Motor
Load
A simple representation
of a typical motion control
system is shown in Figure
1. Each of the primary
components will be reviewed.
Feedback
Contents
Part One: Theory of brushless motion control
Mechanical considerations....................................................................................................14
-6
-4
Sinusoid
an
square wav
Flu
Fl
Motor
Sinusoidal EMF
Commutation
encoder
Brushless
tachometer
-2
Demagnetizing
D
emagneti
ti ing
i fforce H (Kilo
(Kil
(Kilo-Oersteds)
Oersteds)
O
t d )
Sinusoidal
oidal current
Sinusoidal EMF
and
sinusoidal current
-8
Fe
rr
ite
ne Bo
od nd
ym e
iu
-10
AC servo
R
S
Brushless
servo
Motor
Sinusoidal EMF
or
induction motor
Sinusoidal
brushless
servo
Encoder or
resolver
Torque
Brushless servo
Commutation
C
limit
Speed
S
Spe
peed
Comparison of DC servomotors
and brushless servomotors
Armature
windings
Permanent
magnets
Inverter control
sequence
Phase-to-phase
back EMF
Overall
back EMF
-12
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
13% of peak
60 120 180
Electrical degrees
300
(360)
60
SU
Trapezoidal EMF
Sinusoidal EMF
Sinusoidal EMF
and Trapezoidal EMF
and Sinusoidal EMF
and Sinusoidal EMF
and
and
square wave current
sinusoidal currentand
square wave current
square wave current
sinusoidal current
square wave current
Flux d
Fl
density
itFl
B d
(Kilo-Gauss)
(Kil itG B (Kil
)
Flux
density
(Kilo-Gauss)
G
)
rr
ite
rr
ite
Fe
TU
Torque
Torque
Fe
ne Bo
od nd
ym ed
iu
m
ne Bo
od nd
ym ed
iu
m
RU
Permanent
Armature
Permanent
P
Per
r
rm
magnet Armature
field
windings
Permanent
P
Per
r
rm
magnet
field
Brushes
Commutator
l
Magnetic
ic field vector
Permanent
magnets
Brushes
La
Ra
Commutator
T = KTl
TL
TU
4
3
TL
-12
Brushless motor
-8
-6
-4
1
0
-2
Demagnetizing
D
emagneti
ti ing
i fforce H (Kilo
(Kil
(Kilo-Oersteds)
Oersteds)
O
t d )
Control electronics
-10
Sinusoidal EMF
and
square wave curre
SL
Flux d
Fl
dens
RL
5
ne Bo
od nd
ym ed
iu
m
TU
Sinusoidal EMF
and
sinusoidal current
SU SL
SU
Fe
rr
ite
RU RL
RU
rr
ite
ne Bo
od nd
ym ed
iu
m
Sinusoidal EMF
and
square wave current
Flux d
Fl
density
it B (Kilo-Gauss)
(Kil G
)
Trapezoidal EMF
and
square wave current
Torque
Sinusoidal EMF
and
sinusoidal current
Fe
90
Motor
Commutation
Armature
encoder
current vector
Figure
Motor
Sinusoidal EMF
or
7: Waveforms
induction motor
Brushless
servo
for
Sinusoidal
two
EMF styles
brushless
servo
RU
l
As stated previously, designing
and manufacturing
a Tbrushless
La
= KTl
Ra
+
Magnetic
ic
field vector
+ brushless
servomotor with trapezoidal EMF
is90not practical,
so
most
l
V
Eg = KEn
servomotors actually have a sinusoidalTorque
back EMF.
Because of
the simplicity and low cost of the square-wave current control, it is common
Armature
current vector
TL
Phase-to-phase
back EMF
+
0
-
+
0
-
+
0
-
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
VBUS
TU
1
0
1
0
1
0
SU
TU
L
L
ElectroCraft uses various
neodymium iron boron
magnets (rare TRAPEZOIDAL
earth mag- EMF
+
nets) in
the
ElectroCraft
RP,
VR-S 0
RPP, and EXC
families of
+
VR-T 0servomotors. The
brushless
newer RP+and RPP Series
VS-T 0
motor families
were de0 60 120 180
0 60
signed to exhibit
superior300 (360)
Rotor position (Electrical degrees)
velocityRUand torque perforU
mance, Swhile
maintaining a
TU
small footprint
and comRL
L
petitive STprices.
L
Figure 7: Waveforms for two EMF styles and square wave brushless servo drives
RU
SU
Conceptual schematics
Inverter control
sequence
Torque
Brushes
Commutator
and square
VBUS
Encoder or
resolver
A
Amplifier
This type of brushless servo technologyvoltage
volwas
tage limitdevelBrushless
servo
oped first because of its analogy to traditional DC motors. The theory
DC servo
of operation is illustrated in Figure 7. As the rotor turns, the current
is electronically commutatedCommutation
C from one pair of windings to another. In
limit
this way, only the flattop portions
of the back EMF are active, and a
Speed
S
Spe
peed
composite DC voltage is created proportional
to motor speed. The
current amplitude, which is proportional to developed torque, is usually controlled by pulse Figure
width2:modulating
the activeof transistors.
Principle and construction
a DC servomotor
In practice, achieving the trapezoidal
back EMF waveform
i
Permanent imposes
Armature
magnets
windings
difficult motor design constraints. For this reason
and because
of the
evolution of brushless servo technology
Permanent
P
Per
r (which
rm
magnet we will describe in folfield
lowing sections) this type of brushless servo drive is rarely used today.
Eg = KEn
AC servo
R
S
Brushless
tachometer
Sinusoidal
oidal current
Torque
Sinusoidal EMF
Overall
back EMF
brushless
servo l
Magnetic
ic field vector
Commutator
l
Magnetic
ic field vector
90
Torque
La
Ra
T = KTl
Eg = KEn
Armature
current vector
Figure 7: Waveforms for two EMF styles and square wave brushless servo drives
SU
RU
Conceptual schematics
SL
RL
Phase-to-phase
back EMF
TRAPEZOIDAL EMF
VR-S
+
0
-
VR-T
+
0
-
VS-T
+
0
-
60 120 180
300
(360)
60
Inverter control
sequence
RU
SU
TU
RL
SL
TL
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Overall
back EMF
Typical high-speed
current waveform
Typical low-speed
current waveform
IR
60 120 180
Electrical degrees
300
(360)
60
240
120
240
120
vious technologies, the primary difference for the sinuFigure 9: Sinusoidal three-phase principle of operation
soidal servo drive is a more complex control algorithm,
while the motor, feedback, and power electronics remain
FT
FT
Ftotal
the same. In recent years, the advancement of high-per = 60
= 90
formance microcontrollers and Digital Signal Processors
Ftotal
FR
FR
(DSPs) that now can handle complex calculations has increased the capability of the sinusoidal brushless servo
FS
system. The control hardwares capability combined with
FT
FS
FR
the decreasing cost of these components has driven furFT
FS
FR
ther development of this control methodology above
others previously described.
DC motor
type command signals
IR* sin
Coordinate
transformation
Torque
command
Sensor
Motor
Slip
constant
Three-phase
current regulator
sin/cos
generator
Slip angle
(induction motor only)
M
PA
Rotor excitation
Resolver schematic
High-frequency
rotor excitation
High-frequency
modulated sine
High-frequency
modulated cosine
magnet field at all speeds and torques. This provides for control of torque by simply adjusting the
armature current level and makes using the DC
servomotor very straightforward. Using input commands analogous to those for a DC servomotor, a
universal control computes the torque producing
sinusoidal currents for permanent-magnet brushless motors. (Otherwise, for induction motors, it
computes the torque and field-producing sinusoidal
currents.) This universal control strategy, known as
field-oriented or vector control, is shown in Figure
10. Field-oriented control ensures that the torqueproducing current vector is perpendicular to the
field vector at any torque or speed. Some form of
this control is used with all sinusoidal back EMF and
sinusoidal current brushless servo drives. From the
servo users perspective, the torque, velocity, and
position control is then analogous to the traditional
DC servomotor.
Also shown in Figure 10 is an optional phase
advance angle. The phase advance angle can be
used to optimize the amplifier/motor performance
characteristics. The most common use of the phase
advance angle is to compensate for the inductance
effect that causes a torque reduction as speed (frequency) increases. A less common use of the phase
advance angle is to allow permanent magnet brushless motors to operate to a higher speed than would
normally be possible without the phase advance
angle. If the phase advance angle is used, the magnitude of the angle as a function of torque and/or
speed is normally determined by the servo drive
manufacturer and is not user adjustable.
Gain (dB)
The resolver used in brushless servo drives is ilFigure 12: Incremental encoder feedback for brushless motors
lustrated in Figure 11. The high-frequency excitation
signal is transferred to the rotor via a circular transformer. The raw resolver feedback is a high-frequenA+
Acy AC signal modulated by the sine and cosine of
B+
Bthe rotor angle. The raw resolver feedback is not very
I+
Once per revolution:
useful, so some form of external circuitry is required
Marker of index pulse
IEncoder
to create usable information. In brushless servo drive
applications the resolver feedback is usually proOptical encoder construction
cessed by commercial resolver-to-digital-converters
Light sensor
Electronics
Shaft
that add significant cost. The output of the resolver
Coded disk
to digital converter is an absolute digital position
Coded disk
Gap
word and analog velocity.
The incremental encoder used in brushless servo
Lens
drives is illustrated in Figure 12. The raw encoder
Mounting surface
feedback, already in digital format, is typically proLED
cessed with low-cost commercial circuitry to produce
a digital position word. The posiFigure 13: Closed-loop control for high-performance motion
tion information interfaces directly
to the microcontroller of digital
MOTOR
drives. If the velocity loop is analog,
and
SENSOR
SERVO
DRIVE
POSITION CONTROLLER
then an additional circuit processes
the encoder feedback to produce
Velocity controller
Current controller Power amplifier
Position controller
Motor
an analog tachometer signal. Notice that encoder feedback signals
Position
are differential, for high noise imcommand
Position feedback
Current feedback
Speed feedback
munity, and for locating the encodSensor
er at long distances from the drive.
d
dt
Permanent-magnet servomotors also use a low-resolution
absolute signal in addition to the
incremental encoder. This is used
Closed-loop frequency response
to locate the magnetic field vec20
tor at startup. The low-resolution
-45 phase shift
-3 dB bandwidth
bandwidth
10
absolute signal is often built into
0
0
the incremental encoder (usuLog frequency (Hz)
-20
-40
-10
ally called commutation signals)
-60
Gain
-80
-20
or is generally provided from a
-100
Phase angle
-120
-30
separate Hall-effect, or commu-140
-160
-40
tation, encoder. In some cases,
-180
these commutation signals are
incorporated into the incremental
encoder and are provided by a
single device, thus eliminating the separate commutation feedback
device, reducing the cost and complexity of the servomotor design.
Induction motors do not require an additional low-resolution absolute encoder because they do not use permanent magnets to establish the magnetic field vector.
Closed-loop control for high performance motion control, the most common structure for highperformance motion controllers, is illustrated in
PHASE R CURRENT CONTROLLER
Figure 13. This cascade control structure has an
-I
R
innermost current loop, a velocity loop around
the current loop, and a position loop around the
Motor
velocity loop. The sequence of current (torque),
PHASE S CURRENT CONTROLLER
-I
S
velocity, and position is natural as it matches the
structure of the process to be controlled.
PHASE T CURRENT CONTROLLER
On/Off
Voltage
Current error
This multi-loop control structure functions
command
command
properly only if the bandwidths of the loops have
-I
the proper relationship.
T
VTriangle
Current feedback
Bandwidth is the measure of how well the
controlled quantity tracks and responds to the
command signal. Figure 13 shows a closed-loop
frequency response and definitions for the two most common bandwidths -3 dB bandwidth and -45 phase-shift bandwidth. The current loop must have the highest bandwidth, then the velocity loop;
finally, the position loop has the lowest bandwidth. Therefore, tuning
control-loop regulators is accomplished by starting with the innermost loop and working outward.
I*S
I*T
Current regulation
The current control for three-phase brushless servomotors is usually performed with a PWM power amplifier and closed-loop control
of the current in each phase. A block diagram of the current loop and
power amplifier is shown in Figure 14.
The power devices must be able to withstand high voltages, switch
high currents, and exhibit low conduction and switching losses. Traditionally, the bipolar transistor and power field effect transistors (FETs)
have been the most common output devices for high performance
servo systems. However, these switches are being replaced with insolated-gate, bipolar transistors (IGBTs) and intelligent power modules
as these devices have lower losses and can operate at higher power
levels. These devices combine the rugged output of a bipolar transistor with the gate drive and fast turn-off times of a power FET. The
PWM frequency of modern servo drives is typically between 5 and 20
kHz. The high PWM frequency allows for a high current loop gain and
keeps the current ripple frequency and audible noise to a low level.
The current feedback sensor is critical and must provide an exact
representation of the actual current. The current feedback signal is
compared to the current command to generate a current error signal. The current regulator processes current error to create a motor
voltage command. The voltage command signal is compared to a
triangle wave to create the PWM signal that commands the power
devices to turn on and off at the proper time. There is additional
circuitry that provides lockout to ensure that the upper and lower
devices are never on at the same time, even during turn-off and
10
*
T
I*
I
current flowing through upper and lower
m
1 m
1
KT
PGAIN
JS
TS + 1
Velocity
devices. The PWM technique results in
command
IGAIN
the most efficient conversion of DC to
S
variable AC power.
Motor velocity
Because the current controller tuning
is very important for proper drive performance, most drive manufacturers do not
allow users to perform this adjustment. In the past, to eliminate the
need for current controller adjustments by the drive user, specific
amplifier model numbers were matched with specific motor model
numbers, or plug-in personality modules matched an amplifier with
a motor. The next generation of ElectroCraft CompletePowerTM Plus
brushless servo motors and drives will self-detect the motor and drive
combination and automatically determine the correct current control
gain settings eliminating the possibility of incorrect setting. The end
result of a properly tuned current controller is an actual current that
follows the commanded current with -3-dB bandwidths commonly in
excess of 1 kHz. To the outer velocity loop, a properly tuned current
controller can be approximated by a fixed gain and first order lag
such that the low frequency characteristics (up to frequencies of concern to the velocity loop) approximate the low frequency characteristics of the more complicated actual transfer function.
One limitation of the current loops is gain, phase, and offset errors
that occur due to imperfect sensors and other circuitry. These errors
are one source of torque ripple so it is important to keep these errors
to an absolute minimum. Another limitation of the properly designed
current controller is insufficient voltage to generate the necessary current. This situation occurs for large value current commands at higher
motor speeds when the back EMF of the motor begins to approach
the motor supply voltage. In applications requiring high torque at
high speeds, careful observation of the motor/drive system peak
torque envelope is required.
1
S
11
*
1
1
Software Utility provides the user a manual
K
TS + 1
S
tuning mode that allows a small step velocity command to be applied to the drive
while the motor is attached to the actual
load. Within the software utility, real-time adjustment of the velocity
loop gains can then be made while observing oscilloscope waveforms
on the PC to optimize the velocity loop tuning for the application. A
typical example of velocity responses to the step changes in velocity command and load torque for a poorly tuned velocity loop and a
well-tuned velocity loop are shown in Figure 16. Tuning should be performed with small signal responseswhich means that the current
stays away from the current limit at all times.
Velocity
Figure 16: Velocity responses to poorly tuned and well-tuned velocity loops
Position regulator
and tuning guidelines
Position control applications typically fall into two basic categories: contouring and point-to-point. Contouring applications require
that the actual position follow the commanded position in a very
predictable manner with high stiffness to reject external torque
disturbances. Notice that predictability is required, but this does not
necessarily mean that position error must be zero at all times.
The other type of position controlpoint-to-point positioning
is typically defined by move time, settling time, and velocity profile,
not paths.
Independent of the positioning application, the form of a simple
position controller is shown in Figure 17. The velocity controller has
been approximated by a unity gain and a first-order lag with a time
constant equal to the velocity loop -45 phase shift bandwidth.
A position controller with only proportional gain K is very common (particularly for contouring applications), and the position loop
response can be easily calculated for a certain crossover frequency or
gain. The open-loop frequency response for the proportional position
controller is shown in Figure 18. The crossover frequency is related to
the common method of expressing gain:
2.65 Hz = 16.66 rad/sec = 1 inch/min./mil = velocity/position error
12
Decibels
mm
mil
Volt
five adjustment terms.
Typically four times the
The proportional gain Kp is the most
Full-scale velocity
number of encoder lines
command divided by 2n
per revolution
important term and generates a velocity
where n = DAC resolution
command proportional to position error.
In other words, if just Kp gain is present,
motion is only possible if a position error
Figure 19: General structure of position loop
exists. In fact, higher velocities result in
Fgain S
S
proportionally higher position following
K
ff
error. Only increasing Kp gain can reduce
KI
Position
the position following error. However, beS
Actual position
command
Velocity loop
cause the velocity loop has a given -45
*
1
KP
S
phase-shift bandwidth, Kp gains that push
position-loop bandwidth above about 1/3
Kd S
of this velocity loop -45 phase-shift bandDerivative gain = Kd
width cause actual position to overshoot
the commanded position which is usually undesirable.
Figure 20: Effect of velocity feedforward
on position error profile
The feed-forward gain Kff generates a velocity com2.0
mand signal proportional to the derivative of the position
1.8
command. Therefore, if there is no change in the posi1.6
No velocity feedforward
1.4
tion command, then the feed-forward command is always
1.2
1.0
zero. Ideally, 100% feed-forward provides the exact veloc0.8
75% velocity feedforward
0.6
ity command without the need for any position error. In
0.4
practice, actual systems including loads are not ideal, so
0.2
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35 0.4
a more conservative setting of feed-forward gain is often
Time (sec)
taken (100% or less) because too much feed-forward gain
causes actual position to overshoot the commanded position. Because the feed-forward command is generated open loop, there is no
effect on the position loop stability. The function of the feed-forward
command is to significantly reduce the constant velocity following
error even though the Kp gain is maintained at a proper level for stability. Figure 20 shows an example of the feed-forward velocity command effect on position following error when making a trapezoidal
velocity profile move.
The derivative gain Kd as shown in Figure 19 creates a command
signal that is proportional to the derivative of actual position feedback.
The derivative term is used in two different situations. One situation
13
From AC supply
50/60 Hz
VL1 Rectifier
VL2
VL3
+
-
14
Motor velocity
Load velocity
m = N L and m = N L
Gear ratio = N =
Motor
m, m, Jm, Tm
Load
1
TL = Load torque reflected to motor
N
One revolution = 2 radians
2P
g 2P
mance applications, and is 1:1
Velocity = v (in./min.)
Force
F
Load torque = TL =
Distance = x (in.)
for best results. Gearing re2P
Revolutions
2Pv
duces the reflected inertia by
Pitch = P =
L = 2Px and L =
Motor
Leadscrew length
60
,
J
,
T
the square of the reduction ram
m m m
RPM = n = Pv
tio. For example, a 10:1 gear
W = Weight
Gravity constant = g = 386 in./sec 2
ratio reduces reflected load
m, m, Jm, Tm
x
v
the extra inertia of couplings,
Force
L = and L =
Load m
Drive radius r
Load
r
60r
pulleys, or gears, as these can
v
rpm = n =
be significant and offset the
2r
inertia reduction. The addiJ L = Reflected load inertia = mr 2
Acceleration torque = T = J
W
v 2
tion of couplings or thin drive , Motor
= r 2 = m(
)
rad
m
m, Jm, Tm
Where =
g
2n
shafts will increase the complisec 2
Drive radius r
TL = Load torque = Fr
1 hp = 746 Watts
ance of the system as the moPower (Watts) = T (Nm) (rad/sec)
tor winds up the transmission
T (lb - in.) n (rpm)
Power (hp) =
63,024
High torque and low-speed applications. Most conventional brushless servomotors can operate at high speeds, such as 3,000 to 6,000
rpm. The torque increase due to the gear reduction (motor torque is
multiplied by the gear ratio) is used to keep the motor physical size as
small as possible. This is because the continuous torque rating (and not
horsepower) determines the motor size and cost. Horsepower is equal
to torque x speed. Therefore, for minimum motor size and inertia, motor speed should be as high as possible.
Limited space. If there are space constraints, the use of gearing
can allow a smaller overall package or it can allow the motor to be
repositioned in a different location or orientation.
Many different factors need to be taken into account when select-
15
Technology
Physical parameters
Performance
Typical applications
Ratio range
Compactness
Backlash
Stiffness
Torque
range
Smoothness
Efficiency
Maximum
input rpm
Inertia
Price
Timing belt
<3:1
98% per
pass
Unlimited
Spur/
helical
Full range
96 to 98%
per pass
Unlimited
Planetary
Full range
90 to 95%
per pass
4,000
Parallel
Inline
Harmonic
High ratios
75 to 85%
3,000
Cycloidal
High ratios
70 to 80%
3,000
Bevel
Low
96 to 98%
per pass
Unlimited
Worm
High
50 to 70%
3,000
Right angle
16
17
RMS velocity
Time
Torque profile
RMS torque
Generating
Motoring
Time
Motor shaft power profile
Peak motoring power
Average
motoring power
Average
generating power
Time
Peak
generating power
18
19
110%
Duty (Percent)
70
120%
60
130%
50
140%
40
160%
30
180%
200%
20
10
0
3 6 10
30
ON time (Minutes)
60 100
20
EMI victim
Radiated EMI
EMI victim
21
Filtering
Good setup
22
Grounding
High-frequency (HF) grounding is different from safety grounding.
A long wire is sufficient for a safety ground, but is completely ineffective as a HF ground due to the wire inductance. As a rule of thumb,
a wire has an inductance of 20 nH/in., regardless of diameter. At low
frequencies it acts as constant impedance; at intermediate frequencies as an inductor; and at high frequencies as an antenna. The use
of ground straps is a better alternative to wires. However, the length
to width ratio must be 5:1 or better yet 3:1 to remain a good high
frequency connection.
The ground systems primary purpose is to function as a return
current path. It is commonly thought of as an equipotential circuit reference point, but different locations in a ground system may be at different potentials. This is due to the return current flowing through the
ground systems finite impedance. In a sense, ground systems are the
sewer systems of electronics and as such are sometimes neglected.
The primary objective of a high frequency ground system is to provide a well-defined path for HF currents, and minimize the loop area of
the HF current paths. It is also important to separate HF grounds from
sensitive circuits grounds. A single-point parallel-connected ground
23
v t = v i + at
Velocity
xt = xi +
1
2
(v i + v f )t
v 2f = v i2 + 2a( x f x i )
Trms =
Time
Torque
T1
t1 + t 2 + t 3 + t 4
T2
t1
t2
x i = Initial position
T4
T3
t3
t4
v f = Final velocity
v i = Initial velocity
a = Acceleration
t = Time
D = 2r
Do = 2ro
24
Di = 2ri
Note: This handbook section presents some guidelines that can minimize noise problems.
However, equipment EMC performance must meet regulatory requirements in various parts of
the world, specifically in the European Union. It is the responsibility of the machine builder to
ensure that a machine meets the appropriate requirements as installed.
25