Encoder Basics
Posted: Mon Mar 15, 2010 2:56 pm
Encoders Basics
1. Encoder Type:
Centroid MPU11 based CNC hardware (Oak, Allin1DC, Acorn) requires quadrature, differential encoders which operate on 5VDC. This is the most common type of encoder. Encoders labeled "TTL type" (non differential) are unsuitable, and fortunately are quite rare.
2. Encoder Signals:
a) The following signals must be present and wired: A, /A, B, /B, Z, /Z, +5VDC and ground.
Note: The Z channel is sometimes labeled as I, C or "marker". The "/" symbol may also be
expressed as "-", "NOT" or "!" or a line over the letter, it means the signal is the complement
(opposite) of the channel specified.
b) Signal levels:
The "low" signal level must be less than 0.5 VDC and the "high" signal level must be at least 3.5 VDC.
3. Encoder Resolution:
Typical Machine tool applications (milling machines, lathes and routers) require at least 1000 line (4000 counts per rev) encoders, We recommend and sell 2000 line (8000 counts per rev) encoders. To achieve reasonable accuracy and smooth motion, the encoder/motor/ballscrew configuration must achieve a minimum resolution of 20,000 encoder counts per inch of travel (787 counts/mm). A typical knee mill which uses a 5tpi (turns per inch) ballscrew and has the motors belted at a 1:1 ratio, a 1000 line encoder just meets the minimum counts per inch at 20,000 for smooth motion, this will work however a 2000 line encoder (8000 counts per rev) would be a better choice. Older 250 and 500 line encoders will not work to satisfaction.
some examples
5 turns per inch ballscrew belted at 2:1 with the servo motor = 10 turns of the servo motor per inch of axis travel
10 turns per inch x 4000 counts per rev (1000 line) = 40,000 counts per inch
10 turns per inch x 8000 counts per rev (2000 line) = 80,000 counts per inch.
5 turns per inch ballscrew belted at 1:1 with the servo motor = 5 turns of the servo motor per inch of axis travel
5 turns per inch x 8000 counts per rev = 40,000 counts per inch of axis travel.
4. Encoder wiring MUST be shielded, twisted pair cabling.
Encoder wiring at MPU11:
DB9 Body = Cable Shield
Pin Function
1 No Connection
2 GND
3 Z\
4 A\
5 B\
6 Z
7 A
8 B
9 +5 VDC
1. Encoder Type:
Centroid MPU11 based CNC hardware (Oak, Allin1DC, Acorn) requires quadrature, differential encoders which operate on 5VDC. This is the most common type of encoder. Encoders labeled "TTL type" (non differential) are unsuitable, and fortunately are quite rare.
2. Encoder Signals:
a) The following signals must be present and wired: A, /A, B, /B, Z, /Z, +5VDC and ground.
Note: The Z channel is sometimes labeled as I, C or "marker". The "/" symbol may also be
expressed as "-", "NOT" or "!" or a line over the letter, it means the signal is the complement
(opposite) of the channel specified.
b) Signal levels:
The "low" signal level must be less than 0.5 VDC and the "high" signal level must be at least 3.5 VDC.
3. Encoder Resolution:
Typical Machine tool applications (milling machines, lathes and routers) require at least 1000 line (4000 counts per rev) encoders, We recommend and sell 2000 line (8000 counts per rev) encoders. To achieve reasonable accuracy and smooth motion, the encoder/motor/ballscrew configuration must achieve a minimum resolution of 20,000 encoder counts per inch of travel (787 counts/mm). A typical knee mill which uses a 5tpi (turns per inch) ballscrew and has the motors belted at a 1:1 ratio, a 1000 line encoder just meets the minimum counts per inch at 20,000 for smooth motion, this will work however a 2000 line encoder (8000 counts per rev) would be a better choice. Older 250 and 500 line encoders will not work to satisfaction.
some examples
5 turns per inch ballscrew belted at 2:1 with the servo motor = 10 turns of the servo motor per inch of axis travel
10 turns per inch x 4000 counts per rev (1000 line) = 40,000 counts per inch
10 turns per inch x 8000 counts per rev (2000 line) = 80,000 counts per inch.
5 turns per inch ballscrew belted at 1:1 with the servo motor = 5 turns of the servo motor per inch of axis travel
5 turns per inch x 8000 counts per rev = 40,000 counts per inch of axis travel.
4. Encoder wiring MUST be shielded, twisted pair cabling.
Encoder wiring at MPU11:
DB9 Body = Cable Shield
Pin Function
1 No Connection
2 GND
3 Z\
4 A\
5 B\
6 Z
7 A
8 B
9 +5 VDC