Position Measurement On Machine Tools
Position Measurement On Machine Tools
In the heat of such discussions one should not forget to consider the problems
known to be involved with position measurement using a rotary encoder/ballscrew
system. They can quickly increase the cost of an "economical" machine if the owner
finds that the accuracy does not suffice in certain applications, or that thermal ex-
pansion problems are causing the machine to generate scrap every morning. Retro-
fitting an installed machine with optional linear encoders is usually much more ex-
pensive than having them delivered with the machine from the start.
Fig. 2: Fundamental difference between position control with linear encoder and with rotary
encoder/spindle. The linear encoder includes the feed drive mechanism in the control loop.
A position control loop via rotary encoder and ballscrew includes only the servo-
motor (Fig. 2). In other words, there is no actual position control of the slide, be-
cause only the position of the servomotor rotor is being controlled. To be able to
extrapolate the slide position, the mechanical system between the servomotor and
the slide must have a known and, above all, reproducible mechanical transfer be-
havior.
A position control loop with a linear encoder, on the other hand, includes the entire
mechanical feed-drive system. The linear encoder on the slide detects mechanical
transmission errors and these are compensated by the machine control unit.
Differing terminology
Differing terms are used to distinguish between these two methods of position con-
trol. German-speaking and some English-speaking communities generally refer to
them somewhat inaccurately as "direct and indirect measurement." Here the Japa-
nese concepts of "semi-closed-loop and closed-loop control" seem appropriate,
since they more aptly describe the actual problem.
Kinematic error
Kinematic error in position measurement with rotary encoder and ballscrew results
primarily from ballscrew pitch error. This error directly influences the result of mea-
surement because the pitch of the ballscrew is being used as a standard for linear
measurement.
Reversal error
Reversal error occurs during positioning from differing directions. The causes are
play and elasticity in connection with frictional forces. But also the so-called pitch
loss [1] resulting from a shift of the balls during the positioning of ballscrew drives
with two-point preloading can lead to reversal error in the magnitude of 1 to 10 µm.
Error compensation
Most controls are capable of compensating pitch error and reversal error. However,
to determine the compensation values it is necessary to make elaborate measure-
ments with comparative measuring devices such as interferometers and grid en-
coders. In addition, the reversal error is often unstable over long periods of time
and must be regularly recalibrated (Fig. 3). The causes of this instability include
run-in processes of the ballscrews and changes of the frictional forces in the
guideways. Toothed belt drives can also cause significant positioning errors in the
course of time.
Fig. 3: Circular tests of a machining center without linear encoders in new condition and after one year.
The reversal error has significantly increased in the X axis.
The mean axial rigidity of a feed drive mechanism as shown in Figure 1 lies in the
range of 100 to 200 N/µm (with a distance between ball nut and fixed bearing
of 0.5 m and a ballscrew diameter of 40 mm).
Forces of acceleration
A typical slide mass of 500 kg and a moderate acceleration of 2 m/s 2 result in de-
formations of 5 to 10 µm that cannot be recognized by the rotary encoder/ballscrew
system. The present industry trend toward accelerations in significantly higher
ranges will result in increasingly great deformation values.
Cutting forces
The cutting forces can quite possibly lie in the kN range, but their effect is distri-
buted not only in the feed drive system, but also over the entire structure of the
machine between the workpiece and the tool. The deformation of the feed drive
system therefore normally has only a small share in the total deformation of the
machine. A linear encoder can recognize and correct only this small portion of the
total deformation. Critical component dimensions, however, are normally finished
at low feed rates, so that the deformation of the feed drive system is negligible.
Forces of friction
The forces of friction in the guideways lie between 1% and 2% of weight for roller
guideways and 3% to 12% of weight for sliding guideways [2]. A weight exerting
5000 N therefore results in feed drive deformation of only 0.25 to 6 µm.
Fig. 4: Circular tests of a machining center that has been retrofitted with linear encoders. With position
control via rotary encoder and spindle, the circle deviates significantly from the ideal path at high velocity.
With linear encoders the contour accuracy is significantly better.
The recirculation system is a special problem zone for ball screws. With every en-
trance into the recirculation channel, just as with every exit, the movement of the ball
changes entirely. The rotational energy of the balls, which in rapid traverse typically
rotate with 8000 rpm, must be respectively started and stopped. In contrast to the
preloaded thread zone, in the recirculation zone the balls are not under stress. For
reasons of energy the balls tend to collect in the recirculation channel. Without ela-
borate measures to reintroduce the balls into the thread at the end of the channel it
tends to congest, causing the familiar jamming of the ball screw drive.
Fig. 6: Moment of friction of a two-point preloaded ballscrew (4). The Stribeck characteristic is
plainly visible.
Fig. 8: Results of the experiment shown in Figure 7. With position control using rotary encoder/spindle
there is a significant drift in the probe position values as a result of thermal expansion in the ballscrew.
Warm-up phase
The drift of the individual probe positions relative to their starting value plainly shows
the thermal growth of the ballscrew (Fig. 8). When the positions are measured with
rotary encoder and spindle, the position farthest from the fixed bearing (x = -53mm)
drifts by approx. 250 µm. It is interesting to note that the drift increases very quickly
immediately after switch-on. Any change in the mean feed rate during a machining
operation therefore immediately affects the positioning accuracy. Similar results
were published by Schmitt [5].
Fig. 9: Typical drift of the actual position values during a work break.
The actual position values - measured by rotary encoder and spindle - drift
by approx. 30 µm within 30 minutes.
Cool-down phase
Figure 9 shows the opposite effect.
The same machining center was stopped during series production of small steel
parts, and one work position was repeatedly probed. The drift in the position
measured with rotary encoder and ballscrew of 30 µm over 30 minutes is again
clearly visible.
Fig. 11: Experimental setup for batch production with multiple workpieces. To illustrate drift resulting
from thermal expansion of the ballscrew, the workpieces were not exchanged after machining. Instead,
the part program was run repeatedly at successively increasing depth.
Batch production
The following experiment shows the influence of thermal growth in batch production
with fixed clamping positions. Eight 70 mm x 70 mm workpieces were fixed on a
vertical machining center (Fig. 11). Four pockets and two radii were machined using
4 tools with an infeed of 1 mm in the Z axis (Fig. 12). After the 6-minute machining
operation the 8 parts were not exchanged. Rather, the infeed in Z was increased
by 1 mm and the operation repeated. As a result of the thermal expansion of the
ballscrew, all workpieces show a step pattern on the left side. This pattern is parti-
cularly pronounced on the workpiece farthest to the left. The right sides of the work-
pieces are smooth because with each shift in the positive X direction the previous
step was also removed. In principle the same effect could be observed in the Y
direction as in the X direction, but because of the lesser amount of movement in the
Y axis the step pattern is significantly less pronounced. In the X direction the com-
parative measurement of the step pattern shows a drift of approx. 90 µm with a time
constant of thermal expansion slightly less than an hour (Fig.13).
Fig. 12: Part program used in the experiment shown in Figure 11. Four pockets and two radii were
machined using 4 tools at an infeed of 1 mm.
The same experiment was conducted with linear encoders. The results of machining
showed virtually no drift.
Various measures are presently being discussed and realized to counter positioning
error resulting from ballscrew expansion.
Some manufacturers offer hollow ballscrews that conduct coolant to prevent thermal
expansion.
Circulation of the coolant through rotating ballscrews requires rotary leadthroughs
near the ballscrew bearings. Besides the sealing problems obviously involved, this
method presupposes the capability of precisely controlling the temperature of the
coolant, which is usually not the case. Also, it reduces the rigidity of the ballscrew
in the direction of traverse. Presumably, the cost of this method is greater than the
cost of linear encoders.
Many studies are presently being conducted on the compensation of thermal defor-
mation with the aid of analytical models, neuronal networks and empirical equations.
In most cases, however, these studies focus on thermal expansion caused by main
spindles.
Fig. 13: Result of the experiment in Figure 11. The left pocket of the left workpiece plainly shows a
step pattern resulting from thermal expansion of the ballscrew.
The application of fixed bearings at both ends of the ballscrew does significantly
increase the axial rigidity of the feed drive, however it can hardly prevent thermal
growth of the ballscrew. For a ballscrew diameter of 40 mm, the bearings would
have to apply approx. 2.6 kN/K of force to suppress the thermal expansion. For the
typical temperature increase of more than 10 K this would require a bearing
strength of more than 26 kN to prevent deformation.
Fig. 14: Local heating of a recirculating ballscrew in the traverse range of the ballnut after six hours of
reversing traverse at 24 m/min between two points 150 mm apart. For this thermographic snapshot, the
machine table was moved aside at the end of the traverse program. The illustration shows the higher
temperatures of the belt drive, locating bearing, and ballscrew.
Conclusion
The primary problem involved with position measurement using rotary encoder and
ballscrew is the thermal expansion of the ballscrew. With typical time constants
of 1 to 2 hours, thermal expansion causes positioning error in the magnitude
of 0.1 mm, depending on the nature of the part program. After every new part pro-
gram the ballscrew requires approx. 1 hour to attain a thermally stable condition.
This also applies for interruptions in machining. A rule of thumb for thermal ex-
pansion is that, over the entire length of a cold ballscrew 1 meter in length, the ball-
screw grows by approx. 0.5 to 1 µm after every double stroke. This expansion
accumulates within the time constant.
As requirements for machine tool accuracy and velocity increase, the role of li-
near encoders for position measurement grows increasingly important. This should
be taken intoconsideration when deciding on the proper feedback system design.
Literature:
1. Schröder Wilhelm, Feinpositionierung mit Kugelgewindetrieben, Fortschritts-
bericht VDI Reihe 1 Nr. 277, Düsseldorf: VDI Verlag 1997
2. VDW-Bericht 0153, "Untersuchung von Wälzführungen zur Verbesserung des
statischen und dynamischen Verhaltens von Werkzeugmaschinen"
3. Weule Hartmut, Rosum Jens, Optimization of the friction behaviour of ball
screw drives through WC/C coated roller bodies, Production Engineering
Vol. 1/1 (1993)
4. Golz, Hans Ulrich, Analyse,Modellbildung und Optimierung des Betriebsver-
haltens von Kugelgewindetrieben, Dissertation Uni Karlsruhe, 1990
For more detailed information on these applications, please contact HEIDENHAIN directly.