Guide To Signal Connections: Revision 4, October, 2006
Guide To Signal Connections: Revision 4, October, 2006
Guide To Signal Connections: Revision 4, October, 2006
Lifetime warranty: Every hardware product manufactured by Measurement Computing Corporation is warranted against defects in materials or workmanship for the life of the product. Products found defective are repaired or replaced promptly. Lifetime Harsh Environment Warranty: We will replace any product manufactured by Measurement Computing Corporation that is damaged (even due to misuse) for only 50% of the current list price. I/O boards face some tough operating conditions, some more severe than the boards are designed to withstand. When a board becomes damaged, just return the unit with an order for its replacement at only 50% of the current list price. We dont need to profit from your misfortune. By the way, we honor this warranty for any manufacturers board that we have a replacement for. 30 Day Money Back Guarantee: You may return any Measurement Computing Corporation product within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it. Please call for an RMA number first. No credits or returns accepted without a copy of the original invoice. Some software products are subject to a repackaging fee. These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyers sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
Signals.doc
ii
Trademark and Copyright Information TracerDAQ, Universal Library, Harsh Environment Warranty, Measurement Computing Corporation, and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation. Windows, Microsoft, and Visual Studio are either trademarks or registered trademarks of Microsoft Corporation LabVIEW is a trademark of National Instruments. CompactFlash is a registered trademark of SanDisk Corporation. XBee is a trademark of MaxStream, Inc. All other trademarks are the property of their respective owners. Information furnished by Measurement Computing Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Measurement Computing Corporation neither for its use; nor for any infringements of patents or other rights of third parties, which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of Measurement Computing Corporation. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise without the prior written permission of Measurement Computing Corporation.
Notice Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without prior written consent from Measurement Computing Corporation. Life support devices/systems are devices or systems which, a) are intended for surgical implantation into the body, or b) support or sustain life and whose failure to perform can be reasonably expected to result in injury. Measurement Computing Corporation products are not designed with the components required, and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
iii
Contents
Chapter 1
Analog Input Types........................................................................................................................... 1-1 Single-ended inputs ........................................................................................................................................ 1-1 Differential inputs........................................................................................................................................... 1-2
Chapter 2
System Grounds and Isolation ........................................................................................................ 2-1 Ground type determination ............................................................................................................................. 2-1 Systems with common grounds ...................................................................................................................... 2-2 Systems with common mode (ground offset) voltages................................................................................... 2-2 Small common mode voltages........................................................................................................................ 2-2 Large common mode voltages........................................................................................................................ 2-2 Card and signal source already have isolated grounds ................................................................................... 2-2
Chapter 3
Wiring Configurations ...................................................................................................................... 3-1 Common ground / single-ended inputs........................................................................................................... 3-1 Common ground / differential inputs.............................................................................................................. 3-2 Common mode voltage < 10 V / single-ended inputs .................................................................................. 3-2 Common mode voltage < 10 V / differential inputs ..................................................................................... 3-2 Isolated grounds / single-ended inputs............................................................................................................ 3-3 Isolated grounds / differential inputs .............................................................................................................. 3-4 Analog output current configuration............................................................................................................... 3-4
Chapter 4
Digital I/O Techniques ...................................................................................................................... 4-1 TTL to solid state relays ................................................................................................................................. 4-2 Voltage dividers.............................................................................................................................................. 4-2
Equation for dissipation of power in the divider ............................................................................................................ 4-3
iv
Chapter 1
Single-ended inputs
A single-ended input measures the voltage between the input signal and ground. In single-ended mode the board measures the voltage between the input channel and low-level ground (LLGND see Figure 1-1). The singleended input configuration requires only one physical connection (wire) per channel and allows the board to monitor more channels than the 2-wire differential configuration using the same connector and onboard multiplexer. For clarity, the input multiplexers are not shown in the following diagrams.
CH IN
+ -
Input Amp
To A/D
LL GND
I/O Connector
Because the board is measuring the input voltage relative to its own LLGND, single-ended inputs are more susceptible to both electromagnetic interference (EMI) and any ground noise at the signal source. Figure 1-2 shows an input having a common mode voltage.
CH IN
~
g1
Vs
Vs + Vg2 - Vg1
LL GND
+ -
Input Amp
To A/D
g2 Any voltage differential between grounds g1 and g2 shows up as an error signal at the input amplifier
1-1
Differential inputs
Differential inputs measure the voltage between two distinct input signals. Within a certain range called the common mode range the measurement is almost independent of signal source to board ground variations. A differential input is also more immune to EMI than a single-ended one. Most EMI noise induced in one lead is also induced in the other. The input measures only the difference between the two leads, and the EMI common to both is ignored. This effect is a major reason for twisted pair wiring, because the twisting ensures that both wires are subject to virtually identical external influence. Figure 1-3 shows the basic differential input configuration.
CH High
+ -
Input Amp
To A/D
CH Low LL GND
I/O Connector
Figure 1-3. differential input concept
Before describing grounding and isolation, it is important to explain the concepts of common mode voltage and common mode range. Common mode voltage is shown in Figure 1-4 as Vcm.
~
g1
Vs
CH High
+ -
Vs
CH Low
Input Amp
To A/D
LL GND
g2
Common Mode Voltage (Vcm) is ignored by differential input configuration. However, note that Vcm + Vs must remain within the amplifiers common mode range of 10V
Differential Input
Although differential inputs measure the voltage between two signals almost without respect to the either signals voltages relative to ground there is a voltage limit on the signal. Although the board has differential inputs, it cannot measure the difference between 100 V and 101 V as 1 Volt (in the first place, 100 V would destroy the board!). The common mode voltage range of 10 Volts is shown graphically in Figure 1-5. Even in differential mode, an input signal cannot be measured if it is more than 10 V from the boards LLGND.
1-2
+13V +12V +11V +10V +9V +8V +7V +6V +5V +4V +3V +2V +1V
Gray area represents common mode range Both V+ and V- must always remain within the common mode range relative to LL Gnd
With Vcm= +5VDC, +Vs must be less than +5V, or the common mode range will be exceeded (>+10V) Vcm
-1V -2V -3V -4V -5V -6V -7V -8V -9V -10V -11V -12V -13V
1-3
Chapter 2
2-1
2-2
Chapter 3
Wiring Configurations
All grounding and input type combinations are summarized in Table 3-1. These combinations and our recommended uses are given in the table.
Table 3-1.Input configuration recommendations Ground Category Common Ground Common Ground Common Mode Voltage >0 V, < 10 V Common Mode Voltage < 10 V Common Mode Voltage > 10 V Common Mode Voltage > 10 V Already Isolated Grounds Already Isolated Grounds Input Configuration Single-ended inputs Differential inputs Single-ended inputs Differential inputs Single-ended inputs Differential inputs Single-ended inputs Differential inputs Our Recommendation Recommended Acceptable Not recommended Recommended Unacceptable without adding Isolation Unacceptable without adding Isolation Acceptable Recommended
The following sections contain recommended input wiring schemes for each of the acceptable input configuration/grounding combinations.
3-1
Wiring Configurations
- +
CH High
+ -
Input Amp
To A/D
CH Low Optional wire since signal source and A/D board share common ground LL GND
I/O Connector
Required connection of LL GND to CH Low
A/D Board
Signal source and A/D board sharing common ground connected to differential input.
GND
- +
CH High
+ -
Input Amp
To A/D
CH Low LL GND
The voltage differential between these grounds, added to the maximum input signal must stay within +/-10V
I/O Connector
A/D Board
Signal source and A/D board with common mode voltage connected to a differential input.
Figure 3-3. Common mode / differential inputs (<10 V) common mode voltage > 10 V
The board cannot directly monitor signals with common mode voltages greater than 10 V. You must alter the system ground configuration to reduce the overall common mode voltage, or add isolated signal conditioning between the source and the board (Figure 3-4 and Figure 3-5).
3-2
Wiring Configurations
Isolation Barrier
Large cde voltage
mo n ommo l n signa oard betwee rce & A/D b sou
GND
- +
CH IN
+ -
Input Amp
To A/D
LL GND
When the voltage difference between signal source and A/D board ground is large enough so the A/D boards common mode range is exceeded, isolated signal conditioning must be added.
I/O Connector
A/D Board
- +
10 K
CH
+ -
Input Amp
To A/D
CH LL I/O Connector
When the voltage between signal source A/D board ground is enough so the A/D common mode range exceeded, isolated conditioning must be added.
A/D Board
10K is a recommended value. You may short LL GND to CH instead, but this will reduce your systems noise immunity.
- +
CH IN
+ -
Input Amp
To A/D
LL GND
I/O Connector
A/D Board
3-3
Wiring Configurations
GND
- +
10 K
CH High
+ -
Input Amp
To A/D
CH Low LL GND
I/O Connector
A/D Board
10K is a recommended value. You may short LL GND to CH Low instead, but this will reduce your systems noise immunity.
Already isolated signal source and A/D board connected to a differential input.
Figure 3-7. Isolated grounds / differential inputs
+
IOUTn+2
IOUTn+2
Floating Load
IOUTn+2
+
IOUTn+1
IOUTn+1
Floating Load
IOUTn+1
+
IOUTn
Floating Load
IOUTn
+
Grounded External Supply
AGND
AGND
Refer to the manufacturer's information for the device being controlled for additional details. 3-4
Chapter 4
4-1
Pull-down resistors accomplish similar tasks except that the I/O lines are connected to logic ground through resistors. When the board is reset, and enters high impedance input mode, the lines are pulled low. If the board is in output mode, it has enough power to override the pull-down resistor's low signal and drive the lines high.
Pull-Down Current Sourcing = R GND Controlled Device 5V R
A0
Voltage dividers
If you need to detect a signal that varies over a range greater than the maximum input specification of a digital input, you must use a voltage divider or some other external device to reduce the voltage of the input signal to a safe level. Ohm's law states: Voltage = Current x Resistance In a voltage divider, the voltage across one of the resistors in a circuit is proportional to the resistance to the total resistance in the circuit. The object in using a voltage divider is to choose two resistors with the proper proportions relative to the full value of the input voltage to the desired output voltage to the board input.
4-2
Signal High
R1
V1
Board Input
Signal Low
Groundt
Dropping the voltage proportionally is called attenuation. The formula for attenuation is shown here:
Table 4-2. Attenuation formula Attenuation = R1+R2 R2 2 = 10K+10K 10K R1 = (A-1) x R2 The variable Attenuation is the proportional difference between the desired output voltage (max. input board input voltage) and the full input voltage from the field device. For example, if the field voltage varies between 0 and 10 volts and you wish to detect that with a maximum board input voltage of 5 volts, the Attenuation must be 2:1 or simply 2. For a given attenuation, pick a handy resistor and call it R2, then use this formula to calculate R1.
Digital inputs often require voltage dividers. For example, if you wish to detect a field signal that is at 0 volts when OFF and 24 volts when ON, you cannot connect that directly to the boards digital inputs. The voltage must be dropped to 5 volts maximum when ON. The Attenuation required is 24:5 or 4.8. Use the equation above to find an appropriate R1 if R2 is 1K. Remember that a TTL input is "ON" when the input voltage is greater than 2.5 volts.
4-3
1 2RC
Figure 4-4. Low-pass filter schematic
4-4
Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton, Massachusetts 02766 (508) 946-5100 Fax: (508) 946-9500 E-mail: [email protected] www.mccdaq.com