Technology Guide
Technology Guide
Introduction Contents
With one of the most comprehensive product ranges ever Technology Overview ....................................... 3
offered, Parker’s Electromechanical Division provides
solutions for a wide variety of applications in the field of PART I - BASIC PRINCIPLES
programmable motion control. As well as drives, motors
and controls from Digiplan, Compumotor and Hauser, there Stepper motors ................................................. 5
is a choice of mechanical positioning systems and DC brush motors ............................................ 13
supporting products from Daedal and Automation Actuator
Divisions. This full range of hardware is complemented by Brushless motors ........................................... 14
sophisticated front-end software to simplify the process of
system analysis, motor-drive selection, program generation Stepping motor drives .................................... 19
and system setup. All products are supplied and supported
by Automation Technology Centres who offer expert DC brush motor drives ................................... 24
technical advice from initial concept right through to Brushless motor drives ................................... 26
commissioning and after-sales backup.
This handbook is intended as a companion to Parker Feedback devices .......................................... 28
Electromechanical’s product catalogues and covers basic
product technology as well as applications and engineering A comparison of stepper and
reference information. At the end of the book is a short servo motor technologies .......................... 33
section reviewing Parker’s range of electronic motion
control equipment.
PART II - APPLICATIONS
Torque and inertia calculations ....................... 35
Sizing mains transformers for
positioning systems ................................... 39
Dynamic braking of servo motors ................... 40
An introduction to X-Code programming ........ 42
RS232 communication troubleshooting ......... 45
EMC installation principles ............................. 46
Motors, electrical installation .......................... 46
Motors, mechanical installation ...................... 47
Stopping in an emergency ............................. 52
Safety earth wiring ......................................... 53
Limit switches in safety-critical applications ... 54
PARKER PRODUCT RANGE SUMMARY .... 55
2
Automation
Technology overview
The motor
This may be a stepper motor (either rotary or linear), a DC
brush motor or a brushless servo motor. The motor needs
to be fitted with some kind of feedback device unless it is a
stepper motor.
Fig. 1.2 shows a system complete with feedback to control
motor speed and position. Such a system is known as a
closed-loop velocity servo system.
Encoder
Feedback loop
The drive
This is an electronic power amplifier that delivers the power
to operate the motor in response to low-level control
signals. In general, the drive will be specifically designed to
operate with a particular motor type – you can’t use a
stepper drive to operate a DC brush motor, for instance.
3
Automation
Technology selection chart
Start Here
No Is the No
Will a stepper meet load-to-motor
the torque/speed Use a brushless
inertia ratio servo system
requirements? greater than 10:1?
Yes Yes
No Yes
No
No
Yes
Do you need to
control torque?
No
Is low-speed No Consider a
smoothness ministepping
important? drive
Do you need to
Yes detect position
loss OR measure
actual load
Is rapid No position to correct
Try a for backlash?
settling time microstepping
important? drive Yes
Yes
Add encoder
feedback
Use a microstepping
drive with electronic
viscosity & active
damping
4
Automation
Stepper motors
N N S S
S S N N
NS N S N S N S
S N
S N
N S
Rotor
Stator cup A
Coil A
Coil B
Output shaft
Fig. 2.4 Hybrid stepper motor
The operation of the hybrid motor is most easily understood
Diagram courtesy of Airpax Corp., USA by looking at a very simple model that will produce 12 steps
per rev. (Fig. 2.5).
Fig. 2.2 Cutaway view of permanent magnet motor
5
Automation
Stepper motors
1A
By changing the current flow from the first to the second set
of stator windings (b), the stator field rotates through 90°
N and attracts a new pair of rotor poles. This results in the
rotor turning through 30°, corresponding to one full step.
S
2A N N 2B Reverting to the first set of stator windings but energising
them in the opposite direction, we rotate the stator field
S S
N through another 90° and the rotor takes another 30° step
(c). Finally, the second set of windings are energised in the
S opposite direction (d) to give a third step position. We can
now go back to the first condition (a), and after these four
steps the rotor will have moved through one tooth pitch.
1B
This simple motor therefore performs 12 steps per rev.
Obviously, if the coils are energised in the reverse
Fig. 2.5 Simple 12 step/rev hybrid motor
sequence, the motor will go round the other way.
The rotor of this machine consists of two pole pieces with If two coils are energised simultaneously (Fig. 2.7), the
three teeth on each. In between the pole pieces is a rotor takes up an intermediate position since it is equally
permanent magnet that is magnetised along the axis of the attracted to two stator poles. Greater torque is produced
rotor, making one end a north pole and the other a south under these conditions because all the stator poles are
pole. The teeth are offset at the north and south ends as influencing the rotor. The motor can be made to take a full
shown in the diagram. step simply by reversing the current in one set of windings;
The stator consists of a shell having four teeth that run the this causes a 90° rotation of the stator field as before. In
full length of the rotor. Coils are wound on the stator teeth fact, this would be the normal way of driving the motor in
and are connected together in pairs. the full-step mode, always keeping two windings energised
With no current flowing in any of the motor windings, the and reversing the current in each winding alternately.
rotor will tend to take up one of the positions shown in the
Fig 2.6. This is because the permanent magnet in the rotor
is trying to minimise the reluctance (or “magnetic
resistance”) of the flux path from one end to the other. This N S
will occur when a pair of north and south pole rotor teeth
S N
N S
are aligned with two of the stator poles. The torque tending N S
N S S N N S
to hold the rotor in one of these positions is usually small S N
N S
and is called the “detent torque”. The motor shown will
have 12 possible detent positions. S N
(a) (b)
N
S N S
Fig. 2.7 Full stepping, two phases on
N N
S
S S
N N S By alternately energising one winding and then two (Fig.
N
N S
2.8), the rotor moves through only 15° at each stage and
S the number of steps per rev will be doubled. This is called
half stepping, and the majority of industrial applications
make use of this stepping mode. Although there is
(c) (d) sometimes a slight loss of torque, this mode results in
S much better smoothness at low speeds and less overshoot
N
and ringing at the end of each step.
S N
S S
S N S N
N N
S S N
6
Automation
Stepper motors
1 2 3 4 5 6 7 8
S S
N N N
S S
S
S S Phase 1
S S N S N
N N
N N N
S N S S
N N
Phase 2
Phase 2 +
Phase 1 Current:
-
+
Phase 2 Current:
-
Fig. 2.9 Full step current, two phases on
7
Automation
Stepper motors
8
Automation
Stepper motors
Forcer
Permanent
Magnet
Phase A Phase B
Electromagnet Electromagnet Field Windings
{
{
is in position. By magnetising the rotor after assembly, a A1 A2 B1 B2
Pole Faces
high flux density is obtained that will be largely destroyed if
the rotor is removed. Stepper motors should therefore
never be dismantled purely to satisfy curiosity, since the Fig. 2.17 Linear stepping motor
useful life of the motor will come to an end.
Linear stepping motors
Because the shaft of the motor passes through the centre of
the permanent magnet, a non-magnetic material must be The linear stepper is essentially a conventional rotary
used to avoid a magnetic short-circuit. Stepper motor shafts stepper that has been “unwrapped” so that it operates in a
are therefore made of stainless steel, and should be straight line. The moving component is referred to as the
handled with care. Small-diameter motors are particularly forcer and it travels along a fixed element or platen. For
vulnerable if they are dropped on the shaft end, as this will operational purposes, the platen is equivalent to the rotor in
invariably bend the shaft. a normal stepper, although it is an entirely passive device
and has no permanent magnet. The magnet is
Multi-stack motors incorporated in the moving forcer together with the coils
To produce a motor with a higher torque output, (see Fig. 2.17).
we need to increase the strength of both the permanent The forcer is equipped with 4 pole pieces each having 3
magnet in the rotor and the field produced by the stator. A teeth. The teeth are staggered in pitch with respect to
stronger rotor magnet can be obtained by increasing the those on the platen, so that switching the current in the
diameter, giving us a larger cross-sectional area. However, coils will bring the next set of teeth into alignment. A
increasing the diameter will degrade the acceleration complete switching cycle (4 full steps) is equivalent to one
performance of the motor because tooth pitch on the platen. Like the rotary stepper, the linear
the torque-to-inertia ratio gets worse (to a first motor can be driven from a microstep drive. In this case, a
approximation, torque increases with diameter squared but typical linear resolution will be around 500 steps per mm or
inertia goes up by the fourth power). 2 microns per step.
Nevertheless, we can increase torque output without The linear motor is best suited to applications that require a
degrading acceleration performance by adding further low mass to be moved at high speed. In a leadscrew-
magnet sections or “stacks” to the same shaft (Fig. 2.16). A driven system, the predominant inertia is usually the
second stack will enable twice the torque to be produced leadscrew rather than the load to be moved. Hence most
and will double the inertia, so the torque-to-inertia ratio of the motor torque goes to accelerate the leadscrew, and
remains the same. Hence, stepper motors are normally this problem becomes more severe the longer the travel
produced in single-, two- and three-stack versions in each required. Using a linear motor, all the developed force is
frame size. applied directly to the load and the performance achieved is
9
Automation
Stepper motors
independent of the length of the move. A screw-driven The magnetic flux passing between the forcer and the
system can develop greater linear force and better stiffness, platen gives rise to a very strong force of attraction. The
however the maximum speed may be up to ten times higher attractive force can be up to 10 times the peak holding
with an equivalent linear motor. For example, a typical force of the motor, requiring a bearing arrangement to
maximum speed for a linear motor is 2.5m/sec. To achieve maintain precise clearance between the pole faces and
this with a 10mm-pitch ballscrew would require a rotary platen teeth. Either mechanical roller bearings or air
speed of 15,000 rpm. In addition, the linear motor can bearings are used to maintain the required clearance.
travel up to 2.4 metres using a standard platen. When current is established in one of the windings, the
resulting magnetic field tends to reinforce permanent
How the linear motor works
magnetic flux at one pole face and cancel it at the other.
The forcer consists of two electromagnets (A and B) and a By reversing the current, the reinforcement and cancellation
strong rare earth permanent magnet. The two pole faces of are exchanged. Removing current divides the permanent
each electromagnet are toothed, the four sets of teeth being magnetic flux equally between the pole faces. By
spaced in quadrature so that only one set at a time can be selectively applying current to phase A and B, it is possible
aligned with the platen teeth. to concentrate flux at any of the forcer’s four pole faces.
Phase B
The face receiving the highest flux concentration will
Phase A
attempt to align its teeth with the platen. Fig. 2.18 shows
N S the four primary states or full step positions of the forcer.
The four steps result in motion of one tooth pitch to the
right. Reversing the sequence moves the forcer to the left.
N S
Counter Clockwise
4 Motor Steps
Max
Torque
Torque
Angle
Stable Unstable Stable
Clockwise
A2 Aligned
N S
10
Automation
Stepper motors
Although this static torque characteristic isn’t a great deal of Under full dynamic conditions, the performance of the
use on its own, it does help explain some of the effects we motor is described by the torque-speed curve as shown in
observe. For example, it indicates the static stiffness of the Fig. 2.21. There are two operating ranges, the start/stop
system, in other words how the shaft position changes when (or pull in) range and the slew (or pull out) range. Within
a torque load is applied to a stationary motor. Clearly the the start/stop range, the motor can be started or stopped by
shaft must deflect until the generated torque matches the applying step pulses at constant frequency to the drive. At
applied load, so if the load varies, so too will the static speeds within this range, the motor has sufficient torque to
position. Non-cumulative position errors will therefore result accelerate its own inertia up to synchronous speed without
from effects such as friction or out-of-balance torque loads. the position lag exceeding 3.6°. Clearly if an inertial load is
It is important to remember that the static stiffness is not added, this speed range is reduced. So the start/stop
improved by using a microstepping drive—a given load on speed range depends on the load inertia. The upper limit to
the shaft will produce the same angular deflection. So while the start/stop range is typically between 200 and 500 full
microstepping increases resolution and smoothness, it may steps/sec (1-2.5 revs/sec).
not necessarily improve positioning accuracy.
Under dynamic conditions with the motor running, the rotor Holding
Torque Start/Stop Curve
must be lagging behind the stator field if it is producing
torque. Similarly there will be a lead situation when the Slew Curve
torque reverses during deceleration. Note that the lag and
lead relate only to position and not to speed. From the
Torque
static torque curve (Fig. 2.19), clearly this lag or lead cannot
exceed two full steps (3.6°) if the motor is to retain Slew
Start/ Range
synchronism. This limit to the position error can make the Stop
stepper an attractive option in systems where dynamic Range
position accuracy is important. Steps per second
11
Automation
Stepper motors
3 What can be done to reduce motor heating? 12 Does the motor itself change if a
Many drives feature an automatic reduction of current at microstepping drive is used?
standstill set by a command or jumper link. This No, the motor is still a standard 1.8° stepper.
reduces current when the motor is at rest without Microstepping is accomplished by proportioning the
positional loss. current in the drive to give a higher resolution.
4 What does the absolute accuracy specification 13 A move is made in one direction, and then the
mean? motor is commanded to move the same
This refers to non-cumulative errors encountered in distance but in the opposite direction. The
machining the motor. move ends up short, why?
5 How can the repeatability specification be Several factors could be influencing the [Link]
better than the accuracy? motor has magnetic hysteresis that is seen on direction
changes, this is of the order of 0.03°. Any mechanical
Repeatability indicates how precisely a previous backlash in the system will create positional errors. A
position can be re-established. There are very few step pulse occurring before the direction signal is
errors in the system that cause a given position to vary, established will cause an error.
so basically the same inaccuracy is encountered on
returning to that position. 14 Why are some motors constructed as eight-
lead motors?
6 Will motor accuracy increase proportionately
with the resolution? This allows greater flexibility. The motor can be run as
a six-lead motor with unipolar drives. With bipolar
No. The basic absolute accuracy and hysteresis of the drives, the windings can then be connected in either
motor remain unchanged. series or parallel to give different torque-speed
7 Can I use a small motor on a large load if the characteristics.
torque requirement is low? 15 What is the difference between series and
Yes, but if the load inertia is more than ten times the parallel connection?
rotor inertia, extended ringing at the end of the move With the windings in series, low-speed torque is
may be experienced. maximised. But this also gives the highest inductance,
8 How can end of move “ringing” be reduced? so performance at high speed is lower than if the
windings are connected in parallel.
Friction in the system will help damp this oscillation. If a
start/stop velocity is used, lowering it will help. The 16 Can a flat be machined on the motor shaft?
electronic viscosity feature in the ZETA drive minimises Yes, but care must be taken to not damage the
this problem. bearings (see the Motor Installation section). The motor
9 Why can a motor stall during no load testing? must not be dismantled.
An unloaded motor develops a high torque in relation to 17 How long can the motor leads be?
its own inertia. Steppers are optimised for loads of the Under normal conditions, 15m for unipolar drives and
same order as the rotor inertia. 30m for bipolar drives should be OK. Shielded cables
10 How can you reduce the chance of are recommended.
resonance?
This is most likely to happen with full step systems.
Adding inertia lowers the resonant frequency, and
friction tends to damp out resonance. Start/stop
velocities higher than the resonant speed will help.
Changing to a half step, ministep or microstep drive will
also minimise any resonance. Viscous inertial dampers
are sometimes used.
11 Why does the motor jump at times when it's
turned on?
The motor has 200 natural detent positions, but the
drive powers up in a defined state corresponding to one
of only 50 positions. Movement can therefore be up to
3.6° in either direction.
12
Automation
Servo motors
1 3
Conductor Current
In Out
Carrying
Current (I)
(Into Page) 6 4
Force (F) 5
Force on Conductor F = I x B
Fig. 3.3 Electrical arrangement of the armature
Fig. 3.1 Force on a conductor in a magnetic field This is achieved by constructing the armature as a series of
small sections connected in sequence to the segments of a
The force acting on the conductor is the product of current
commutator (Fig 3.3). Electrical connection is made to the
and flux density:
commutator by means of two brushes. If the armature
F=IxB rotates through 1/6 of a revolution clockwise, the current in
where B = magnetic flux density and I = current coils 3 and 6 will have changed direction. As successive
The available force can be increased by using more commutator segments pass the brushes, the current in the
conductors, or by winding a length of wire into a coil. This is coils connected to those segments changes direction. This
the basis of a DC brush motor. commutation or switching effect results in a current flow in
the armature that occupies a fixed position in space,
Practical considerations independent of armature position. This will result in
The problem now is how to use this force to produce the production of a constant torque output from the motor shaft.
continuous torque required in a practical motor. The axis of magnetisation is determined by the position of
To obtain the greatest possible force, a large number of the brushes. If the motor is to have similar characteristics
conductors must be placed in the magnetic field. In practice in both directions of rotation, the brush axis must be
this produces a cylinder of wire, with the windings running positioned to produce an axis of magnetisation at 90° to the
parallel to the axis of the cylinder. A shaft running through stator field.
the axis acts as a pivot, and this arrangement is called the Brush motor types
motor armature (Fig. 3.2).
Two different types of DC brush motor are currently in use.
Resultant
Field Due to Iron cored motor
Armature Shaft
Current This is the most common type of motor used in DC servo
systems (see Fig 3.4). It is made up of two main parts - a
housing containing the field magnets, and a rotor with coils
of wire wound in slots in an iron core and connected to a
Armature
commutator. Brushes in contact with the commutator carry
the current to the coils.
Stator Magnets
Direction
of Current
Stator Field Into Page
Rotor Winding
13
Automation
Servo motors
I Rs
Permanent magnet v RL Vg
(8 pole)
14
Automation
Servo motors
The chief limiting factor in the performance of iron-cored through 180°). By including the commutator and brushes,
motors is internal heating. This heat must escape either the reversal of current is made automatically and the rotor
through the shaft and bearings to the outer casing, or continues to turn in the same direction.
through the airgap between the armature and field magnets
and from there to the casing. Neither of these routes is
thermally efficient, so cooling of the motor armature is very
poor.
Backiron
Return
Path N S
Commutator
+ -
N Magnets N
15
Automation
Servo motors
A1
A1
B2 C2
C2 A2
N
C1 B1
S B2
A2 C1 B1
B2 C2 I
N
Drive N C2 A2
S B2
C1 S C1 B1
B1
A2 Stator
Field
Fig. 3.12 Brushless motor
Going back to the conventional brush motor, a rotor A1 A1
16
Automation
Servo motors
The trapezoidal motor angle very accurately, resulting in very smooth low-speed
rotation and negligible torque ripple.
With a fixed current level in the windings, the use of this
extended portion of the sinusoidal torque characteristic The drive for a sine wave motor is more complex than for
gives rise to a large degree of torque ripple. We can the trapezoidal version. We need a reference table from
minimize the effect by manipulation of the motor design to which to generate the sinusoidal currents, and these must
“flatten out” the characteristic – to make it trapezoidal, (Fig. be multiplied by the torque demand signal to determine
3.17). In practice this is not very easy to do, so some their absolute amplitude. With a star-connected three-
degree of non-linearity will remain. The effect of this tends phase motor, it is sufficient to determine the currents in two
to be a slight “kick” at the commutation points, which can be of the windings—this will automatically determine what
noticeable when the motor is running slowly. happens in the third. As previously mentioned, the sine
wave motor needs a high-resolution feedback device,
however this can also serve to provide position and velocity
information for the controller.
60°
To understand why a sine wave motor produces constant
torque, it’s easier to think in terms of a two-phase motor.
This has just two sets of windings that are fed with
sinusoidal currents at 90° to each other. If we represent
60° shaft position by an angle φ, then the currents in the two
windings are of the form Isinφ and Icosφ.
Going back to our original motor model, you’ll remember
Fig. 3.17 Trapezoidal motor characteristic that the fundamental torque characteristic of the motor is
also sinusoidal. So for a given current I, the instantaneous
Torque ripple resulting from non-linearity in the torque torque value looks like:
characteristic will tend to produce a velocity modulation in
T = I KT sinφ
the load. However, in a system using velocity feedback the
velocity loop will generally have a high gain. This means where KT is the motor torque constant. By making the
that a very small increase in velocity will generate a large motor current sinusoidal as well, and in phase with the
error signal, reducing the torque demand to correct the motor torque characteristic, the torque generated by one
velocity change. So in practice, the output current from the phase becomes:
amplifier tends to “mirror” the torque characteristic (Fig. T1 = (I sinφ) KT sinφ
3.18) so that the resulting velocity modulation is extremely = I KT sin2φ
small.
Similarly, the torque produced by the other phase is:
(Torque) T2 = I KT cos2φ
The total torque is:
T1 + T2 = I KT (sin2φ + cos2φ)
but: sin2φ + cos2φ = 1 for any value of φ
therefore: T1 + T2 = IKT
So for sinusoidal phase currents with a constant amplitude,
the resultant torque is also constant and independent of
Current shaft position.
60° For this condition to remain true, the drive currents must
accurately follow a sine-cosine relationship. This can only
occur with a sufficiently high resolution in the encoder or
Fig. 3.18 Current profile in velocity-controlled servo resolver used for commutation.
17
Automation
Servo motors
Conditions
• Load 30 x Rotor Inertia
• Rotation: CW
15 • Speed Mode
15.3
14.7
18
Automation