The text of a manual · part 33 of 60
PiC900 Hardware Manual: D.4 - Servo Module Encoder with Analog Input, pages 272 to 280
Pages 272 to 280 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 272
Servo Module Encoder with Analog Input
If the encoder has differential output drivers as shown in Figure D4-8, the three encoder outputs are paired: A and A B and B index and index Figure D4-8. Wiring from an Encoder with Differential Drivers
5 VDC ENCODER POWER SUPPLY
Encoder Input Section
0V +V
TO SPG
A
-- ++ ENCODER
AA AA B B B index index
B
19
B INDEX INDEX
D.4 -10
17
A
21
Channel 1
Page 273
Servo Module Encoder with Analog Input
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 D4-9. Figure D4-9. Wiring from an Encoder with Single-Ended Drivers
5 VDC ENCODER POWER SUPPLY
Encoder Input Section
0V +V
TO SPG
A
-- ++ ENCODER
17
A
AA A B
B
19
B index INDEX
Channel 1
21
INDEX
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.
D.4 -11
Page 274
Servo Module Encoder with Analog Input
Fast inputs should be connected as shown in Figure D4-10. Figure D4-10. Fast Input Connections
24 VDC POWER SUPPLY 0V 24 V
Fast Input Switches
Fast Input Section
Source FAST INPUT
35
Channel 1
37
Channel 2
FAST INPUT FAST INPUT
TO SPG
FAST INPUT
Sink
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. 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 D4-11 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 D4-11. Signals Transmitted by a Quadrature Encoder with Differential Outputs OUTPUT
ROTATION SPEED 0
A A
B B AA71-2290
D.4 -12
Page 275
Servo Module Encoder with Analog Input
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 D4-12 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 D4-12. 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. 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. Analog Input Theory of Operation
A 12 bit A/D converter samples each analog input channel in sequence at the input scan rate. These values are stored in memory on the module so that any channel value can be read while the A/D converter is processing another channel sample. Each channel can be set up for a maximum input sensitivity of .125 V to 10 V, bipolar or unipolar, or for 4 to 20 mA or 0 to 20 mA current input. To sense current the internal 250 Ω resistor must be connected as shown in Figures D4-5 or D46. All inputs are differential with the input signals electrically isolated from the logic side and filtered for a high degree of noise immunity.
D.4 -13
Page 276
Servo Module Encoder with Analog Input
The default noise filter time constant is 1 ms. If more noise filtering is required, two longer time constants, 10 ms and 100 ms, are software selectable. The longer time constants will improve noise immunity but lengthen signal response time. Using the longer time constants may reduce closed position loop performance if the input is used for position feedback. 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 module. Figure D4-13. 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.4 -14
Page 277
Servo Module Encoder with Analog Input
Specification Table
Characteristic
Servo Encoder module specifications
Function
Converts a 16-bit digital word into a ±11V analog output signal for each of two channels Converts an analog input signal into a 12-bit digital word for each of four channels. Counts pulses from up to three encoders Latches the counter value at an index or 24 VDC fast input event
Part number
502-03839-04
Logic side power requirements (typical)
482 mA @ +5V 42 mA @ +15V 62 mA @ -15V Analog Output 1 mA per energized output 11 mA per energized output 11 mA per energized output
@ +5V @ +15V @ -15V
Analog Input 120 mA 112 mA
@ +5V @ +15V
Encoder
Field side connection
21 mA per energized input @ +5V 12 mA per fast input @ +5V 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
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.4 -15
Page 278
Servo Module Encoder with Analog Input
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 (2 ch)
Output channels
2
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
D.4 -16
Page 279
Servo Module Encoder with Analog Input
Response to scan loss (present)
All outputs are reset to the OFF state
Response to scan loss (future)
Software selectable: All outputs reset to the OFF state All outputs retain their current state
Analog Input section (4 ch)
Input channels
4
Resolution
12 bits, or 4096 steps over the full input range
Input sensitivity (software selectable) Voltage ranges
Current range
Unipolar
Bipolar
0 to 10 V 0 to 5V 0 to 2.5V 0 to 1.25V 0 to 1V 0 to .5 V 0 to .25V 0 to .125V
±10 V ±5 V ±2.5 V ±1.25V ±1 V ±.5 V ±.25 V ±.125 V
0 to 20 mA, 4 to 20 mA
Common mode maximum voltage ±40V (The maximum voltage that can safely be applied between either input terminal and circuit common.) Common mode operating voltage ±11V (The maximum voltage that can be applied between either input terminal and circuit common with inputs still operating properly.) Internal current sense resistor
250 ohms
Maximum current sense resistor power
.12 W
Differential input resistance (each input to ground)
1 M Ohms
Filter time constant - software selection
1 ms, 10 ms, 100 ms
Accuracy
.5% of FSR at 25oC ± 100 PPM /oC
0 Offset
From ±2 counts @ 10V to ±8 counts @ .125V D.4 -17
Page 280
Servo Module Encoder with Analog Input
Encoder Input section (3 ch)
Input Encoder (3 ch) (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.4 -18
Four shocks per axis (15g/11 msec)