The text of a manual · part 34 of 60
PiC900 Hardware Manual: D.5 - Servo Module Encoder
Pages 281 to 292 of 508, from PiC900 Hardware Manual
The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Giddings & Lewis 502-03550-02
Page 281
D.5 - Servo Module Encoder Introduction
Depending on the model you have, the Servo encoder module provides: •
4, 3, or 2 analog output channels
•
3, 2, or 1 encoder input channels
•
3, 2, or 1 fast input
An LED goes on when the fast input for each encoder channel is energized. The DIAG LED goes on briefly while the diagnostic tests are running. Figure D5-1. Servo Encoder Module
SERVO ENCODER
Name of module Diagnostic LED
DIAG
IN1
Fast input LEDs
IN2 IN3
1 3 5 7 9 11 13 15
Screw terminal connector
17 19 21 23 25 27 29 31 33 35 37 39
Door
AG11-0493
D.5 -1
Page 282
Servo Module Encoder
Connections
All signals to the module must come to the screw terminal connectors through shielded twisted pair wires. Shielded twisted pair wire is used to connect: •
Each analog output channel to a receiving device
•
All encoder signals to the module
•
All fast input signals to the module
These wires must be protected against electrical noise because of the speed and/or voltage levels of the signals transmitted through them. See the discussion on "Preventing electrical noise in data lines" in the Hardware chapter. The module has eight screw terminal connections for terminating the shields. All eight are connected internally to SPG. The shield at the device end of the cable is not connected. Figure D5-2 shows the assignments for all the screw terminal connections on the module.
D.5 -2
Page 283
Servo Module Encoder
Figure D5-2. Connections for the Servo Encoder Module Terminals SCREW TERMINALS CONNECTIONS
CONNECTIONS
An Out Ch 1-
1
An Out Ch 2-
3
An Out Ch 3-
5
An Out Ch 4-
7
Shield
9
An Out Ch 2+ An Out Ch 3+
An Out Ch 4+
Analog Output
Analog Output
An Out Ch 1+
Shield Shield Shield
11 Shield
Shield
13
Shield
15
Enc Ch 1 A
17
Enc Ch 1 B
19
Shield Enc Ch 1 A Enc Ch 1 B
Enc Ch 1 Index Enc Ch 1 Index
21 Enc Ch 2 A 23
Enc Ch 2 B
25
Enc Ch 2 Index
27
Enc Ch 3 A
29
Enc Ch 3 B
31
Enc Ch 3 Index
33
Ch 1- Fast Input
35
Ch 2- Fast Input
37
Ch 3- Fast Input
39
Encoder Input
Enc Ch 2 B Enc Ch 2 Index Enc Ch 3 A
Encoder Input
Enc Ch 2 A
Enc Ch 3 B Enc Ch 3 Index
Ch 2+ Fast Input
Fast Input
Fast Input
Ch 1+ Fast Input
Ch 3+ Fast Input
AG08-0393
D.5 -3
Page 284
Servo Module Encoder
Analog Output Connections
You may connect the differential type output from the analog output section to a single-ended or differential input device. Figure D5-3 shows the two types of connections. Note that one wire in the twisted pair is connected to the 0 V terminal on the single-ended receiving device. This 0 V terminal must be referenced to the SPG through the device's ground connection. Figure D5-3. Differential and Single-Ended Receiving Devices
Receiving Device
Analog Out Section
Differential input device
CH1
CH1
GND
To SPG
CH1 CH2
GND
1
Channel 1
3
Channel 2
CH1
CH2
0V
Single-ended input device
CH2
5
7
To SPG
9 11 13
Shields
15
Encoder Connections
Each encoder channel has four signal pairs, each of which has two screw terminal connections. The signal pairs are: encoder input A encoder input B index input 24 VDC fast input
D.5 -4
Page 285
Servo Module Encoder
IMPORTANT The power supply to the encoder (or signal source device) must have its common connected to the Single Point Ground. If the 24 VDC "fast" input is used, its power supply common must also be connected to the Single Point Ground. Encoder Drivers
Information from the encoders is used to update four separate position counters and latches within the module. For each channel, a 24-bit counter is incremented or decremented based on signals it receives from the A and B outputs of an encoder. The counter value can be latched (stored) if the module receives either an "index" signal from the encoder or a 24 VDC "fast" input signal. Acceptable drivers provided by encoder manufacturers include: Differential voltage drivers
75183 8830 75114 9614 7513 26LS31
Single-ended open collector drivers
7406
339 type output devices will not work with the Input encoder module (4 ch) because their output current level is too low.
NOTE Encoders with differential drivers are strongly recommended. They provide better noise immunity and capability for the module to detect "loss of feedback." See the section in the Hardware chapter on "Preventing electrical noise in data lines" for a comparison of signals from differential and single-ended drivers. If the encoder has differential output drivers as shown in Figure D5-4, the three encoder outputs are paired: A and A B and B index and index
D.5 -5
Page 286
Servo Module Encoder
Figure D5-4. Wiring from an Encoder with Differential Drivers
9 VDC 55VDC ENCODER ENCODER POWER POWER SUPPLY SUPPLY
11
0V +V
13
Encoder Input Section TO SPG
15 17
A
-- ++ AA AA B B B index
ENCODER index
Shields
A
19
B B INDEX
Channel 1
21
INDEX
If an encoder has single-ended drivers, there are three single outputs: A, B, and index. Each output is referenced to the + V terminal of the encoder power supply. See Figure D5-5. Figure D5-5. Wiring from an Encoder with Single-Ended Drivers Encoder Input Section 9 5 VDC ENCODER POWER SUPPLY
11
0V +V
13
Shields
15 To SPG
A
-- ++
17
A AA A B B
ENCODER
B
19
B index INDEX INDEX
D.5 -6
21
Channel 1
Page 287
Servo Module Encoder
IMPORTANT The minimum width signal that can be accepted by the encoder section is 0.6 µ seconds. The signal at output A or B from the encoder has a frequency that is the product of the resolution of the encoder in pulses (lines) per revolution and the speed of the encoder in revolutions per second. Thus an encoder that generates 2,000 pulses (lines) per revolution and rotates at 10 revolutions per second generates 20,000 pulses (lines) per second. In a quadrature type encoder, the interface module would supply 80,000 Feedback Units per second. The fast input is connected as shown in Figure D5-6. Figure D5-6. Fast Input Connections
9 11 Shields 13 24 VDC POWER SUPPLY
15
Fast Input Switches
0V 24 V
Source
Fast Input Section FAST INPUT
35
FAST INPUT FAST INPUT
TO SPG
37 FAST INPUT
Sink
Channel 1 Channel 2
39
Incremental encoders
An incremental encoder is a position transducer. It transmits quadrature or pulse type signals through its "A" and "B" outputs with a frequency proportional to the rotational velocity of its shaft. It transmits a pulse through its index output once per revolution of the device. There are two types of incremental encoders, quadrature and pulse. Giddings & Lewis recommends quadrature type encoders, which are the most commonly used. D.5 -7
Page 288
Servo Module Encoder
A quadrature encoder sends square wave type signals. When the shaft rotates at a constant velocity, the A and B outputs are square waves and are at the same frequency. However they are out of phase with each other by 90°. When the encoder shaft rotates in one direction, each A pulse leads the corresponding B pulse by 90°. When it rotates the other direction each A pulse lags its B pulse by 90°. The signals illustrated in Figure D5-7 indicate that the encoder shaft rotates in one direction at first. Its speed of rotation decreases to 0 and then it starts rotating the other direction. The signals are shown as differential. A is the inverse of the signal A and B is the inverse of signal B. Figure D5-7. Signals Transmitted by a Quadrature Encoder with Differential Outputs ROTATION SPEED
OUTPUT
0 A A
B B AA71-2290
A pulse encoder sends pulses through output A for one direction of its shaft rotation, and output B for the other direction. When the shaft is not rotating, no pulse is generated. The signals illustrated in Figure D5-8 indicate that the encoder shaft rotates in one direction at first. Its speed of rotation decreases to 0 and then it starts rotating the other way. The signals are shown as differential, with the inverse of signal A and the inverse of signal B. A pulse encoder may alternate signals at its two outputs, but it cannot send signals from both outputs at the same time. Figure D5-8. Signals transmitted by a pulse encoder with differential outputs
OUTPUT
ROTATION SPEED 0
A A
B B AA70-1690
Analog Output Theory of Operation
The CPU sends the analog output section a 16-bit digital word for each analog output channel used. Each digital word is converted to a corresponding voltage within the range of ±11 V. The voltage is buffered and brought out to a pair of screw terminal connections as a differential type voltage output. This output is less subject to interference from electrical noise than a single-ended output would be. D.5 -8
Page 289
Servo Module Encoder
You can adjust each analog output channel in software for offset adjustments, gain scaling, and unipolar outputs. For safety reasons, all outputs are automatically reset to 0 V when a scan loss condition occurs. Encoder Theory of Operation
The encoder section uses differential type inputs to interface with up to three independent incremental encoders. These inputs are optically isolated and current limited. •
From a quadrature type, the maximum input frequency is 250,000 lines per second, which results in 1,000,000 Feedback Units (FUs) per second in the encoder module. Figure D5-9. Counting Quadrature Pulses
A B
•
The module counts positive and negative transitions at both channel A and channel B. One quadrature cycle in this case gives 4 Feedback Units.
From a pulse type, the module can accept up to 500,000 pulses per second at either input.
There is a 24-bit up/down counter on the module. It is incremented or decremented in accordance with the counting mode selected. There is also a 24-bit latch associated with each encoder channel. The module can be programmed so that the counter value is "latched" or stored under one of these conditions: an index pulse from the encoder • a positive or negative transition of the fast input • the next index pulse after the required transition of the fast input •
Each of the four 24-bit latches has a fast 24 VDC input associated with it. Each input is optically isolated. This input is intended to receive a signal from a device other than an encoder. It is typically used for referencing or synchronization purposes. Fast input characteristics include: the detection of a signal occurs faster than it does for the DC inputs in other modules, due to less filtering. Because of this there is also less noise immunity. • the response to a fast input signal is independent of ladder scan time. The module can be programmed to latch a position count as soon as this input is detected. •
D.5 -9
Page 290
Servo Module Encoder
Specification Table
Characteristic
Servo module encoder specifications
Function
Converts a 16-bit digital word into a ±11V analog output signal for each of two channels Counts pulses from up to three encoders Latches the counter value at an index or 24 VDC input event
Part number
Logic side power requirements (typical)
502-03840-04 502-03840-24 502-03840-44
4 Analog Outputs/3 Encoder Inputs 3 Analog Outputs/2 Encoder Inputs 2 Analog Outputs/1 Encoder Input
413 mA @ +5V 55 mA @ +15V 51 mA @ -15V Analog Output 1 mA per energized output 11 mA per energized output 11 mA per energized output
@ +5V @ +15V @ -15V
Encoder 21 mA per energized input 12 mA per fast input
@ +5V @ +5V
Field side connection
40 pin card edge connector, screw terminals
Field side power dissipation, worst case
7.4 W
Indicator light, module
DIAG LED goes off after the module passes its diagnostic tests
Indicator light, fast inputs
LED is lit when current flows into the fast input
Operating temperature range
7° C to 55° C (45° F to 131° F)
Storage temperature range
-40° C to 85° C (-40° F to 185° F)
Humidity
5 to 95%, non-condensing
D.5 -10
Page 291
Servo Module Encoder
CE Marked
Conforms to Directives 73/23/EEC, 89/336/EEC, 92/ 31/EEC, 93/68/EEC by conforming to the following standards: EN 50081-2:1993 EMC Generic Industrial Emissions EN 50082-2:1995 EMC Generic Industrial Immunity EN 61131-2:1994/A11:1996 Low voltage directive requirements for programmable controllers Operates with emissions below EN55011/ CISPR 11 Class A limits Immune to: • Electrostatic discharge (4K V contact mode, 8K V air discharge) per EN61000-4-2 • RF electromagnetic fields per EN61000-4-3, ENV 50141, and ENV50204 • Electrical fast transients per EN61000-4-4 • Magnetic fields per EN61000-4-8 Refer to the EMC Guidelines for more information.
UL and C/UL Listed
File No. E126417 NRAQ Programmable Controllers
Physical size
1.6" wide x 12" high x 8.4" deep (including latch) 41 mm x 305 mm x 213 mm
Analog Output section (4, 3, or 2 ch)
Resolution
16 bits, or 65536 steps over the full output range
Output voltage characteristics Nominal voltage range
± 11 VDC
Voltage accuracy @ 11 V
± 5%
Output current, max. @ ±10V
± 10 mA
Output update time increment
32 µsec
Output voltage after power up
0 V ± 20 mV
Response to "scan loss"
All outputs reset to 0 V ± 20 mV
Output ripple
< 10 mVRMS at 30 KHz
Short circuit protection
Current limited outputs
Response to scan loss
All outputs are reset to the OFF state
D.5 -11
Page 292
Servo Module Encoder
Encoder Input section (3, 2, or 1 ch)
Input Encoder (A, B, and index)
Differential or single ended; differential recommended
Guaranteed on, min
2.5 VDC @ 2.5 mA
Input voltage, max
7 VDC
Input current, max
22 mA @ 7 VDC
Signal pulse width, min
.6 µs(600 ns)
Quadrature signal frequency, max 250 KHz for A or B input (1 M FU count rate) Pulse encoder signal frequency, max
500 KHz for A or B input (500 KFU count rate)
Encoder device
1. Quadrature type incremental encoder (recommended) 2. Pulse type incremental encoder
Stored position value range
24-bit up/down counter 24-bit latch
Fast input
Nominal 24 VDC, switched externally to the module Active high or low Reverse polarity protected
Voltage max
30 VDC
Guaranteed on
15 VDC
Guaranteed off
5 VDC
Input impedance
2.7 K
On/off time, max
50 µs
Cable length, max
200 ft. @ 250 KHz and 45° quad error (with differential driver)
Vibration (per IEC 68-2-6)
10-57 Hz (constant amplitude .15 mm) 57 - 2000 Hz (acceleration 2 g)
Shock (per IEC 68-2-27)
D.5 -12
Four shocks per axis (15g/11 msec)