Professional Documents
Culture Documents
Sup - Reading Encoders
Sup - Reading Encoders
Optical Encoders
Use light & photosensors to produce digital code (ie. Lab 3 encoder).
1. Incremental
2. Absolute
Advantages A missed reading does not affect the next reading. Only needs power on
when taking a reading.
Fundamental Components
Light source(s)
Photosensor(s)
Other Components
Eliminates
Quadrature
Two
tracks (A & B) at
90 degrees offset.
Provide
direction
information.
Provides
up to 4
times resolution.
Encoder Disks
Incremental Disk
Absolute Disks
Binary
Gray Code
Absolute
Disk
Codes
Example: 3 bit binary code
Bit 0
Bit 1
Bit 2
Bit 0
Bit 1
Bit 2
Angle
Binary
Decimal
0-45
000
45-90
001
90-135
010
135-180
011
180-225
100
225-270
101
270-315
110
315-360
111
Binary
Decimal
0-45
000
45-90
001
90-135
010
1 => 2
135-180
011
001
(start at 1)
180-225
100
000
225-270
101
010
(turn on bit 1)
270-315
110
315-360
111
One
angle shift
results in multiple bit
changes.
Example:
Binary
Decimal
0-45
000
45-90
001
90-135
010
1 => 2
135-180
011
001
(start at 1)
180-225
100
000
225-270
101
010
(turn on bit 1)
270-315
110
315-360
111
One
degree shift
results in multiple bit
changes.
Example:
It
Gray Code
Binary
Decimal
Bit 0
0-45
000
Bit 1
Bit 2
45-90
001
90-135
011
135-180
010
180-225
110
225-270
111
270-315
101
315-360
100
Bit 0
Bit 1
Bit 2
1.
2.
3.
4.
5.
6.
Applications