Linear encoder
A linear encoder is a sensor, transducer or readhead paired with a scale that encodes position. The sensor reads the scale in order to convert the encoded position into an analog or digital signal, which can then be decoded into position by a digital readout or motion controller.
The encoder can be either incremental or absolute. Motion can be determined by change in position over time. Linear encoder technologies include optical, magnetic, inductive, capacitive and eddy current. Optical technologies include shadow, self imaging and interferometric. Linear encoders are used in metrology instruments, motion systems, inkjet printers and high precision machining tools ranging from digital calipers and coordinate measuring machines to stages, CNC mills, manufacturing gantry tables and semiconductor steppers.
Physical principle
Linear encoders are transducers that exploit many different physical properties in order to encode position:Scale/reference based
Optical
Optical linear encoders dominate the high resolution market and may employ shuttering/moiré, diffraction or holographic principles. Optical encoders are the most accurate of the standard styles of encoders, and the most commonly used in industrial automation applications. When specifying an optical encoder, it's important that the encoder have extra protection built in to prevent contamination from dust, vibration and other conditions common to industrial environments. Typical incremental scale periods vary from hundreds of micrometers down to sub-micrometer. Interpolation can provide resolutions as fine as a nanometre.Light sources used include infrared LEDs, visible LEDs, miniature light-bulbs and laser diodes.
Magnetic
Magnetic linear encoders employ either active or passive scales and position may be sensed using sense-coils, Hall effect or magnetoresistive readheads.With coarser scale periods than optical encoders resolutions in the order of a micrometer are the norm.
Capacitive
Capacitive linear encoders work by sensing the capacitance between a reader and scale. Typical applications are digital calipers. One of the disadvantages is the sensitivity to uneven dirt, which can locally change the relative permittivity.Inductive
Inductive technology is robust to contaminants, allowing calipers and other measurement tools that are coolant-proof. A well-known application of the inductive measuring principle is the Inductosyn.Eddy current
US Patent 3820110, "Eddy current type digital encoder and position reference", gives an example of this type of encoder, which uses a scale coded with high and low permeability, non-magnetic materials, which is detected and decoded by monitoring changes in inductance of an AC circuit that includes an inductive coil sensor. Maxon makes an example product.Without scales
Optical image sensor
The sensors are based on an image correlation method. The sensor takes subsequent pictures from the surface being measured and compares the images for displacement. Resolutions down to 1 nm are possible.Applications
There are two main areas of application for linear encoders:Measurement
Measurement application include coordinate-measuring machines, laser scanners, calipers, gear measurement, tension testers, and digital read outs.Motion systems
Servo controlled motion systems employ linear encoder so as to provide accurate, high-speed movement. Typical applications include robotics, machine tools, pick-and-place PCB assembly equipment; semiconductors handling and test equipment, wire bonders, printers and digital presses.Output signal formats
Incremental signals
Linear encoders can have analog or digital outputs.Analog
The industry standard, analog output for linear encoders is sine and cosine quadrature signals. These are usually transmitted differentially so as to improve noise immunity. An early industry standard was 12 μA peak-peak current signals but more recently this has been replaced with 1V peak to peak voltage signals. Compared to digital transmission, the analog signals' lower bandwidth helps to minimise EMC emissions.Quadrature sine/cosine signals can be monitored easily by using an oscilloscope in XY mode to display a circular Lissajous figure. Highest accuracy signals are obtained if the Lissajous figure is circular and perfectly centred. Modern encoder systems employ circuitry to trim these error mechanisms automatically. The overall accuracy of the linear encoder is a combination of the scale accuracy and errors introduced by the readhead. Scale contributions to the error budget include linearity and slope. Readhead error mechanisms are usually described as cyclic error or sub-divisional error as they repeat every scale period. The largest contributor to readhead inaccuracy is signal offset, followed by signal imbalance and phase error. Overall signal size does not affect encoder accuracy, however, signal-to-noise and jitter performance may degrade with smaller signals. Automatic signal compensation mechanisms can include automatic offset compensation, automatic balance compensation and automatic gain control . Phase is more difficult to compensate dynamically and is usually applied as one time compensation during installation or calibration. Other forms of inaccuracy include signal distortion.
Digital
A linear incremental encoder has two digital output signals, A and B, which issue quadrature squarewaves. Depending on its internal mechanism, an encoder may derive A and B directly from sensors which are fundamentally digital in nature, or it may interpolate its internal, analogue sine/cosine signals. In the latter case, the interpolation process effectively sub-divides the scale period and thereby achieves higher measurement resolution.In either case, the encoder will output quadrature squarewaves, with the distance between edges of the two channels being the resolution of the encoder. The reference mark or index pulse is also output in digital form, as a pulse which is one to four units-of-resolution wide. The output signals may be directly transmitted to a digital incremental encoder interface for position tracking.
The major advantages of linear incremental encoders are improved noise immunity, high measurement accuracy, and low-latency reporting of position changes. However, the high frequency, fast signal edges may produce more EMC emissions.
Absolute reference signals
As well as analog or digital incremental output signals, linear encoders can provide absolute reference or positioning signals.Absolute code
With suitably encoded scales an encoder can determine its position without movement or needing to find a reference position. Such absolute encoders also communicate using serial communication protocols. Many of these protocols are proprietary but open standards such as BiSS are now appearing, which avoid tying users to a particular supplier.Limit switches
Many linear encoders include built-in limit switches; either optical or magnetic. Two limit switches are frequently included such that on power-up the controller can determine if the encoder is at an end-of-travel and in which direction to drive the axis.Physical arrangement and protection
Linear encoders may be either enclosed or open. Enclosed linear encoders are employed in dirty, hostile environments such as machine-tools. They typically comprise an aluminium extrusion enclosing a glass or metal scale. Flexible lip seals allow an internal, guided readhead to read the scale. Accuracy is limited due to the friction and hysteresis imposed by this mechanical arrangement.For the highest accuracy, lowest measurement hysteresis and lowest friction applications, open linear encoders are used.
Linear encoders may use transmissive or reflective scales, employing Ronchi or phase gratings. Scale materials include chrome on glass, metal, ceramics and plastics. The scale may be self-supporting, thermally mastered to the substrate or track mounted. Track mounting may allow the scale to maintain its own coefficient of thermal expansion and allows large equipment to be broken down for shipment.
Encoder terms
- Resolution
- Repeatability
- Hysteresis
- Signal-to-noise ratio/noise/jitter
- Lissajous figure
- Quadrature
- Index/reference mark/datum/fiducial
- Distance coded reference marks