background image

SERIES IP320 INDUSTRIAL I/O PACK                                     12-BIT HIGH DENSITY ANALOG INPUT BOARD
___________________________________________________________________________________________

- 11 -

1.   To prepare to measure CountCALLO, write to the Control

Register (@Base + 00H) to setup the CAL3 acquisition mode
and PGA gain = 8 by writing 00D7H.  Note that "not used" bits
are set to zero.

2.   Delay to allow for input settling.
3.   Execute ADC Convert Command (@Base + 10H).
4.   Execute Read ADC Data Command (@Base + 20H).  Note that

the 12-bit data is left-justified within the 16-bit word.

5.   Repeat steps 3 and 4 several times (e.g. 16) and take the

average of the ADC results.  Save this number as
CountCALLO.

6.   To prepare to measure CountCALHI, write to the Control

Register (@Base + 00H) to setup the CAL2 acquisition mode
and PGA gain = 8 by writing 00D6H.  Note that "not used" bits
are set to zero.

7.   Delay to allow for input settling.
8.   Execute ADC Convert Command (@Base + 10H).
9.   Execute Read ADC Data Command (@Base + 20H).  Note that

the 12-bit data is left-justified within the 16-bit word.

10. Repeat steps 8 and 9 several times (e.g. 16) and take the

average of the ADC results.  Save this number as CountCALHI.

11. Calculate m = actual_slope from equation 2, since all parameters

are known.

It is now possible to correct input channel data from any input
channel using the same input range (i.e. 0 to +1.25 volts with a
PGA gain = 8).  Repeat steps 1-11 periodically to re-measure
the calibration parameters (CountCALHI and CountCALLO) as

required.

12. To prepare to measure channel 39 single-ended, write to the

Control Register (@Base + 00H) to setup the single-ended input
channel 39 acquisition mode and PGA gain = 8 by writing
02D3H.  Note that "not used" bits are set to zero.

13. Delay to allow for input settling.
14. Execute ADC Convert Command (@Base + 10H).
15. Execute Read ADC Data Command (@Base + 20H).  Note that

the 12-bit data is left-justified within the 16-bit word.  This data
represents the uncorrected "Count_Actual" term in equation 1.
Since all parameters on the right hand side of equation 1 are
known.  Calculate the calibrated value "Corrected_Count".  This
is the desired, corrected value for input channel 39.

16. Repeat steps 12-15 to re-measure channel 39's data as desired.

Error checking should be performed on the "Corrected_Count"

value to make sure that calculated values below 0 or above 4095 are
restricted to those end points.  Note that the software calibration
cannot recover signals near the end points of each range which are
clipped off due to the uncalibrated hardware (e.g. PGA and ADC).

The maximum corrected (i.e. calibrated) error is summarized in

Table 3.6 as the worst case accuracy possible for each range.  It is
the sum of error components due to ADC quantization of the low and
high calibration signals, PGA and ADC linearity error, and the
absolute errors of the recommended calibration voltages at 25oC.
Typical accuracies are significantly better.

Table 3.6:  Maximum Overall Calibrated Error @25

°°°°

C

Input Range

(Volts)

PGA

Gain

ADC Range

(Volts)

Max Error

±±±±

 LSB(% Span)

-5 to +5

1

-5 to +5

1.8 (0.044)

-2.5 to +2.5

2

"

2.1 (0.051)

-1.25 to +1.25

4

"

2.5 (0.061)

-0625 to +0.625

8

"

2.9 (0.071)

-10 to +10

1

-10 to +10

2.8 (0.069)

-5 to +5

2

"

1.8 (0.044)

-2.5 to +2.5

4

"

2.1 (0.051)

-1.25 to +1.25

8

"

2.5 (0.061)

0 to +10

1

0 to +10

3.2 (0.078)

0 to +5

2

"

2.2 (0.055)

0 to +2.5

4

"

3.1 (0.076)

0 to +1.25

8

"

5.1 (0.125)

4.0 THEORY OF OPERATION

This section describes the functionality of the IP320 circuitry.

Refer to the block diagram of Drawing 4501-436 as you study the
following paragraphs.

ANALOG INPUTS

The field I/O interface (via the carrier board) is through

connector P2.  Field analog inputs are non-isolated.  This means
that the field analog return and logic common have a direct electrical
connection.  Care must be taken to avoid ground loops and
excessive common mode voltage (see Section 2 for connection
recommendations).  These can cause measurement error, and with
extreme abuse, circuit damage.

Analog inputs and calibration voltages are selected via CMOS

analog multiplexers (MUX's).  A software programmable control
register contains gain, acquisition mode (e.g. single-ended or
differential) and channel selection information to control the
multiplexers.  Up to 40 single-ended inputs can be monitored, where
each channel's +input is individually selected along with a single
sense lead for all channels.  Up to 20 differential inputs can be
monitored, where each channel's + and - inputs are individually
selected.  Single-ended and differential channels cannot be mixed
(i.e. they must all be single-ended or differentially wired).  A
Programmable Gain (Instrumentation) Amplifier (PGA) takes as
input the selected channel's + and - inputs (or + and sense) and
outputs a single-ended voltage proportional to it.  The gain can be 1,
2, 4, or 8, and is selected through the control register.

The output of the PGA feeds the Analog to Digital Converter

(ADC).  The ADC is a state of the art, 12-bit, successive
approximation converter with a built-in Sample and Hold (S/H)
circuit.  The S/H goes into the hold mode when a conversion is
initiated.  This maintains the selected channel's voltage constant
until the ADC has accurately digitized the input.  Then it returns to
the sample mode to acquire the next channel.  Once a conversion
has been started, the control register can be updated for the next
channel.  This allows the input to settle for the next channel while the
previous channel is converting, which gives rise to the pipelined
mode of operation (and maximum system throughput).

Summary of Contents for IP320 Series

Page 1: ...Board USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1994 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 484 F00J005 retired ...

Page 2: ... MECHANICAL ASSEMBLY 15 4501 435 ANALOG INPUT CONNECTION DIAGRAM 16 4501 436 BLOCK DIAGRAM 16 4501 462 CABLE 5025 550 NON SHIELDED 17 4501 463 CABLE 5025 551 SHIELDED 17 4501 464 TERMINATION PANEL 5025 552 18 4501 465 TRANSITION MODULE TRANS GP 18 IMPORTANT SAFETY CONSIDERATIONS It is very important for the user to consider the possible adverse effects of power wiring component sensor or software ...

Page 3: ...able Model 5025 550 X or 5025 551 X INDUSTRIAL I O PACK SOFTWARE LIBRARY Acromag provides an Industrial I O Pack Software Library diskette Model IPSW LIB M03 MSDOS format to simplify communication with the board All functions are written in the C programming language and can be linked to your application Refer to the README TXT file in the root directory and the INFO320 TXT file in the IP320 subdi...

Page 4: ...ol register is software configurable There are no hardware jumpers associated with it Control register bits are undefined at reset and must be programmed to the desired gain acquisition mode and channel configuration before starting ADC analog input acquisition refer to Section 3 for details Analog Input Data Format The analog input data will appear as Unipolar Straight Binary USB for unipolar inp...

Page 5: ...ame location e g printed circuit board The channel density doubles when using single ended inputs and this a powerful incentive for their use However caution must be exercised since the single sense lead references all channels to the same common which will induce noise and offset if they are different The IP320 is non isolated since there is electrical continuity between the logic and field I O g...

Page 6: ... not respond to addresses that are Not Used The function of each register noted in Table 3 1 will be discussed in the following sections IP Identification PROM Read Only 32 odd byte addresses Each IP module contains an identification ID PROM that resides in the ID space per the IP module specification This area of memory contains 32 bytes of information at most Both fixed and variable information ...

Page 7: ... per the following table Note that the SEL HIGH bit and MODE bits are also shown to completely define the channel selection When MODE 1 MODE 0 are both 0 differential channels 0 19 and calibration voltages 0 3 may be selected when MODE 1 is 0 and MODE 0 is 1 single ended channels 0 19 may be selected when MODE 1 is 1 and MODE 0 is 0 single ended channels 20 39 may be selected when both MODE 1 MODE...

Page 8: ...ates until it can deliver the data 7 Repeat steps 3 6 as required to acquire additional analog input samples Note that the input settling delay does not have to be inserted since writing to the control register to configure for the next acquisition immediately after initiating the previous conversion will allow the input to adequately settle before the next conversion is started The overlapping of...

Page 9: ...ur voltages and the analog ground reference are used to determine the endpoints of a straight line which defines the analog input characteristic The calibration voltages are precisely adjusted at the factory to provide optimum performance as detailed in the following table Calibration Signal Ideal Value Volts Maximum Tolerance 25oC Volts Maximum Temperature Drift ppm oC Auto Zero 0 0000 0 0002 0 C...

Page 10: ...ts are set to zero 2 Delay to allow for input settling 3 Execute ADC Convert Command Base 10H 4 Execute Read ADC Data Command Base 20H Note that the 12 bit data is left justified within the 16 bit word 5 Repeat steps 3 and 4 several times e g 16 and take the average of the ADC results Save this number as CountCALLO 6 To prepare to measure CountCALHI write to the Control Register Base 00H to setup ...

Page 11: ...y possible for each range It is the sum of error components due to ADC quantization of the low and high calibration signals PGA and ADC linearity error and the absolute errors of the recommended calibration voltages at 25oC Typical accuracies are significantly better Table 3 6 Maximum Overall Calibrated Error 25 C Input Range Volts PGA Gain ADC Range Volts Max Error LSB Span 5 to 5 1 5 to 5 1 8 0 ...

Page 12: ...nput circuitry The ID PROM control register and ADC data are all accessed through the 16 bit data bus interface to the carrier board 5 0 SERVICE AND REPAIR SERVICE AND REPAIR ASSISTANCE Surface Mounted Technology SMT boards are generally difficult to repair It is highly recommended that a non functioning board be returned to Acromag for repair The board can be damaged unless special SMT repair and...

Page 13: ...e programmable gain to determine the actual input range Input signal ranges may actually fall short of reaching the specified endpoints due to hardware limitations For example if an input may reach zero volts or less a bipolar input range should be selected 3 These ranges can only be achieved with 15 Volt external power supplies The input ranges will be clipped if 12 Volt supplies are used typical...

Page 14: ...n assignments Refer to the IP module manual for correct wiring connections to the termination panel Schematic and Physical Attributes See Drawing 4501 464 Field Wiring 50 position terminal blocks with screw clamps Wire range 12 to 26 AWG Connections to AVME9630 9660 P1 50 pin male header with strain relief ejectors Use Acromag 5025 550 x or 5025 551 x cable to connect panel to VME board Keep cable...

Page 15: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 15 ...

Page 16: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 16 ...

Page 17: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 17 ...

Page 18: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 18 ...

Reviews: