Académique Documents
Professionnel Documents
Culture Documents
A sliding contact such as a brush touches each track, and as the disk
rotates, a voltage pulse signal is picked off by it High strength magnetic area are imprinted on the encoder disk – etching,
stamping, and recording
Advantages: High sensitivity, simplicity of construction, low cost
Signal pick-off device is a micro-transformer, which has primary and
Disadvantages: Friction, wear, brush bounce due to vibration secondary windings on a circular ferromagnetic core
Accuracy depends on precision of conducting patterns of encoder disk Advantage - magnetic encoders have noncontacting pick-off sensors 6
5
counterclockwise (ccw)
It uses proximity sensor as the signal pick-off element: e.g., magnetic
induction probe or eddy current probe
-- Magnetic induction disk is ferromagnetic, raised areas change flux
linkage
Reference
-- Eddy current disk is plated with conducting material An incremental encoder disk
7 (offset sensor configuration) 8
5.3.1 Direction of rotation Lecture 7
Digital Transducers
5.3.2 Hardware features Lecture 7
Digital Transducers
Observation from the shaped pulse signals of an encoder: The actual hardware of commercial encoders is not as simple shown earlier
-- in cw direction, lags by a quarter of a cycle (i.e., a phase lag of )
-- in ccw direction, leads by a quarter of a cycle
Phase difference is determined by timing the pulses using a high-
frequency clock signal
-- Suppose that time begins when starts to rise. Let
number of clock cycles until begins to rise
number of clock cycles until begins to rise again
If direction of rotation is clockwise
If direction of rotation is counter clockwise The light generated by the LED is collimated (parallel rays) using lens
This pencil of parallel light passes through window of rotating code disk
-- Another scheme is checking the edge of when is high
The masking disk is stationary but has windows identical to code disk
If is rising direction of rotation is clockwise
When aligned, light from LED passes through more than one window of
If is falling direction of rotation is counter clockwise 9 10
the code disk, thereby improves the output signal level
To avoid errors (reading light as no light) due to instabilities and changes An incremental encoder measures displacement as a pulse count and it
in supply voltage another photosensor is placed half pitch away measures velocity as a pulse frequency
This sensor always facing the opaque region produces a low signal If the range of the encoder is and the maximum count possible is
providing a reference for count of pulses
A differential amplifier can be used to detect the correct signal level Angular position,
Signal conditioning circuitry to improve the pulse shape are integrated
within the same housing 5.3.3.1 Digital resolution
The resolution of an encoder represents the smallest change in
measurement that can be measured realistically
Displacement resolution,
If the stored digital data size is bits and allowing for a sign bit, we have,
The digital resolution corresponds to a unit change in the bit value as, The physical resolution of an encoder is governed by the number of
windows in the code disk
If only one pulse signal is used considering only one transition, this
resolution would be , where is the number of windows
Typically, Then, If both quadrature pulse signals are used considering both rising and
falling transitions, the physical resolution is,
&
Note that, minimum count, (all bits 0) & maximum count, (all The larger value of the two resolutions governs the displacement resolution
bits 1). Therefore, we have,
13 14
Quadrature signal addition to improve physical resolution
Lecture 7 Lecture 7
Example (1): Digital Transducers Solution (Contd..): Digital Transducers
For an ideal design of an incremental encoder, obtain an equation relating The resolution limited by the digital word size of the buffer is given by
the parameters and where
diameter of encoder disk
number of windows per unit diameter of disk
word size (bits) of the angle measurement For an ideal design, we need , which gives
Assume that quadrature signals are available. If and ,
determine a suitable disk diameter.
Solution
In this problem, we take the ideal design as the case where the physical
resolution is equal to the digital resolution. The position resolution due o Substitute, and to obtain
physical constraints (assuming that quadrature signals are available) is,
15 16
Lecture 7 Lecture 7
Example (2): Digital Transducers 5.3.4 Velocity measurement Digital Transducers
A positioning table uses a backlash-free high-precision lead screw of lead Two methods for determining the velocities using incremental encoder are:
2 cm/rev, which is driven by a servo motor with a built-in optical encoder (1) Pulse-counting method – pulse count over a sampling period is
for feedback control. If the required positioning accuracy is measured, not good for low speeds
determine the number of windows required in the encoder track. In
addition, what is the minimum bit size required for the digital data (2) Pulse-timing method – time for one encoder cycle is measured,
register/buffer of the encoder count? suitable for low speeds
Solution Pulse-counting method
The required accuracy is . To achieve this accuracy, the required To compute angular velocity using this method, if the counting during
resolution for a linear displacement sensor is . Lead of the lead sampling period is , average time for one pulse is .
screw is 2 cm/rev. To achieve the required resolution, the number of pulses
If there are windows on disk, the angle for one pulse is
per encoder revolution is, pulses/rev
/
Assuming that quadrature signals are available, the required number of Hence, speed,
/
windows in the encoder track is 1000. Percentage of physical resolution is
(1/4000) 100% . Consider a buffer size of r bits, including a If quadrature signals are used, replace by in the above equation
sign bit. Then, we need,
17 18
bits
Lecture 7 Lecture 7
Pulse-timing method Digital Transducers Pulse-counting method Digital Transducers
In this method, the time for one encoder pulse cycle (window-to-window A unity change in the count corresponds to a speed change of
pitch angle) is measured using high-frequency clock signal
If the clock frequency is and if pulses are counted during encoder
period (between two windows), time between two windows is
Resolution can be improved with number of windows and the sampling
Since angle between two windows is period but under transient conditions accuracy decreases in is increased
Pulse-timing method
The velocity resolution is given by,
A single incremental encoder can serve as both position sensor and a
speed sensor where is the clock frequency. For large can be approximated
by . Then,
5.3.4.1 Velocity resolution
Velocity resolution of an incremental encoder depends on the method that
is employed to determine the velocity
Resolution degrades quadratically with speed. It also degrades with
Since both pulse-counting and pulse-timing methods are based on increasing . It can be improved by improving the clock frequency
counting, velocity resolution corresponds to a change in the count by19one 20
Lecture 7 Lecture 7
Example (3): Digital Transducers Solution (Contd..) Digital Transducers
An incremental encoder with 500 windows in its track is used for speed b. Pulse-timing method
measurement. Suppose that
At 500 pulses/s, Pulse period
a. In the pulse-counting method, the count (in the buffer) is read at the
rate of 10 Hz With a 10 MHz clock, Clock count 10 10 2 10 20 10
b. In the pulse-timing method, a clock frequency 10 MHz is used Percentage resolution
Determine the percentage resolution for each of these two methods when ii. Speed = 100 rev/s, with 500 windows, we have 50,000 pulses/s
measuring a speed of (i) 1 rev/s, (ii) 100 rev/s.
a. Pulse-counting method
Solution
Pulse count (in 0.1 s)
Assume that quadrature signals are not used
Percentage resolution
i. Speed = 1 rev/s, with 500 windows, we have 500 pulses/s
a. Pulse-counting method b. Pulse-timing method
An absolute encoder directly generates a coded digital word to represent If there are tracks, there are pick-off elements and the disk is divided
each discrete angular position of its code disk into number of sectors. If
Unlike an incremental encoder, no pulse counting is involved
29 30
Lecture 7 Lecture 7
Solution (Contd..) Digital Transducers Solution (Contd..) Digital Transducers
A digital transducer is a measuring device that produces a digital output An absolute encoder directly generates a coded digital word to represent
Any transducer that generates coded (digital) reading of a measurement each discrete angular position (sector) of its code disk
can be termed as an encoder -- gray code is not unique. Each transition involves only one bit change
Shaft encoders are classified as (1) incremental, & (2) absolute encoders Eccentricity is defined as the distance between the center of rotation of
In incremental encoders, the direction of rotation is obtained by the code disk and the geometric center of the circular code track
determining the phase difference of the two output signals -- Nonzero eccentricity causes a measurement error (eccentricity error)
-- If direction of rotation is clockwise
-- mean value of the overall eccentricity,
If direction of rotation is counter clockwise
-- If is rising direction of rotation is clockwise -- standard deviation,
If is falling direction of rotation is counter clockwise
Assuming that eccentricity has a Gaussian distribution, the probability
-- Digital resolution, that eccentricity would fall between,
and is 95.5%
-- Physical resolution,
and is 99.7%
33 34