background image

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

- 8 -

D15...D00

FFFF

NOTE: "FFFF" means that all bits are programmed as ones.

Read ADC Data - (Read, Base + 20H)

Use the Read ADC Data command to read the results of the last

ADC conversion.  This command should be used following the ADC
Convert command or an external trigger input.  Bit 15 (CTRIG) in the
Control Register can be used to determine if a conversion has been
triggered, either by software command or external trigger input.  If
the Read ADC Data command is executed while the ADC
conversion is taking place, then the IP320 will institute wait states
until the data is available (up to 8.5 uS.) before providing the ADC
data and completing the cycle.  Execution of the read command
requires 3 wait states, if the ADC conversion completed prior to
initiating the read command.  The execution of this command will
reset the CTRIG bit in the Control Register.

The 12-bits of data are left-justified within the 16-bit word (D16).

The four LSB's are not driven by the ADC and are undefined
(typically passive pull-ups on the carrier board will cause undriven
bits to read high).  Data format, is either Bipolar Offset Binary (BOB)
or Unipolar Straight Binary (USB); see Section 2 for details.

MSB   _    _    _   _     _   _       _          _     _     _   LSB   X   X   X   X
    15  14  13  12  11  10  9       8          7     6     5        4   3   2   1    0
    

←

   DATA 

→

  X   X   X   X

"X" means “Don’t Care” - the bit value does not matter.

PROGRAMMING CONSIDERATIONS FOR ACQUIRING
ANALOG INPUTS

The IP320 provides two different methods of analog input

acquisition to give the user maximum flexibility for each application.
The following sections describe the features of each and how to best
use them.

Using the Separate ADC Convert and Read Commands

Use of the separate convert and read commands is a

straighforward and accurate way to acquire data.   This method is
useful for most applications.

Programming Example (Separate ADC Convert & Read)

NOTE:  For this example it is assumed that the external trigger input

is NOT being used to trigger conversions.

1.   Write to the control register to configure the acquisition mode,

gain, and channel selections.

2.   Delay to allow for input settling.
3.   Execute the ADC Convert command.
4.   Write to the control register to configure the acquisition mode,

gain, and channel selections for the next acquisition - if they are
different.  This may be done while the conversion is in progress
because the ADC is in the hold mode.

5.   The ADC conversion takes several microseconds.  This time

can be put to use for other purposes (e.g. calibration of ADC
channel data).

6.   Read ADC Data - if the conversion is still in progress, the read

command will generate wait states 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 these tasks with
the ADC conversion cycle is what gives rise to "pipelined"
operation and maximum system throughput.

Using External Conversion Triggers

External hardware triggers are generated by the user via an

external TTL compatible input through the field I/O connector (see
Section  2) - make sure that all pertinent voltage and pulse width
constraints are met.  The conversion is initiated on the falling edge of
the external trigger signal.  This type of conversion triggering is
useful for synchronizing the ADC conversion of analog inputs (e.g.
several IP320's) to external events.  Precise time intervals between
conversions can be achieved with an external timing device.

Programming Example (External Conversion Trigger)

NOTE:  For this example it is assumed that the external trigger input

is being used to trigger conversions.

1.   Write to the control register to setup the acquisition mode, gain,

and channel selections.

2.   Delay to allow for input settling.
3.   Poll Bit 15 (CTRIG) in the control register to determine when an

ADC conversion has been triggered (this assumes some prior
knowledge in the application program that a hardware external
trigger will occur for a particular channel's conversion).

4.   Read ADC Data - if the conversion is still in progress, the read

command will generate wait states until it can deliver the data.
The Read ADC Data command will reset the CTRIG bit in the
control register to prepare for the next external trigger.

5.   Repeat steps 3-4 for acquisition of the same input.  Otherwise,

repeat steps 1-4 as required.

USE OF CALIBRATION SIGNALS

Reference signals for analog input calibration have been

provided to improve the accuracy over the uncalibrated state.  The
use of software calibration allows the elimination of hardware
calibration potentiometers traditionally used in precision analog front
ends.   A comparison of the uncalibrated and software calibrated
performance is shown to illustrate the importance of the software
calibration.

Software calibration uses some fairly complex equations.

Acromag provides you with the Industrial I/O Pack Software Library
diskette to make communication with the board and calibration easy.
It relieves you from having to turn the equations of the following
sections into debugged software calibration code.  The functions are
written in the “C” programming language and can be linked into your
application.  Refer to the “README.TXT” file in the root directory
and the “INFO320.TXT” file in the “IP320” subdirectory on the
diskette for details.

Содержание IP320 Series

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 15: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 15 ...

Страница 16: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 16 ...

Страница 17: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 17 ...

Страница 18: ...SERIES IP320 INDUSTRIAL I O PACK 12 BIT HIGH DENSITY ANALOG INPUT BOARD ___________________________________________________________________________________________ 18 ...

Отзывы: