background image

Series AVME9125                                                                                                     VMEbus 6U Analog Input Board
___________________________________________________________________________________________

- 13 -

Calibration Programming Example 1

Assume that channels 0 to  3 are connected differentially, and

corrected input channel data is desired.  The calibration
parameters (Count9.79V and Count0V) remain to be determined

before the gain and offset coefficients can be calculated.

Determination of the Count0V Value

1. 

Execute Write of 0420H to Control Register at Base
A 42H.
A. 

Select No Interrupt Level

B. 

Auto Zero Calibration Voltage

C. 

Burst Single Scan Mode

D. Timer 

Disabled

E. Interrupts 

Disabled

 

2. 

Execute Write of 1F00H to End/Start Channel Value
Register at Base A 48H.  This will permit 32
conversions of the Auto Zero value to be stored in the
32 Mail Box Buffers.

 

3. 

Execute Write 0001H to the Start Convert Bit at Base
A 52H.  This starts the burst single mode of
conversions.  Thirty two conversions of the Auto Zero
are implemented and stored in the 32 Mail Box Buffers.

 

4. 

Execute Read of the 32 Mail Box Buffers at Base
A 60H to 9EH.

 

5. 

Take the average of the 32 ADC values and save this
number as Count0V.

 

6. 

Determination of the Count9.79V Value

 

7. 

Execute Write of 0410H to Control Register at Base
A 42H.
A. 

Select No Interrupt Level

B. 

Select 9.79V Calibration Voltage

C. 

Burst Single Scan Mode

D. Timer 

Disabled

E. Interrupts 

Disabled

 

8. 

Writing the Start Channel Value, End Channel Value,
and the Gain Selects is not necessary if they have not
been changed from that programmed in steps above.

 

9. 

Execute Write 0001H to the Start Convert Bit at Base
A 48H.  This starts the burst single mode of
conversions.  Thirty two conversions of the 9.79 volt
calibration voltage are implemented and stored in the 32
Mail Box Buffers.

 

10. 

Execute Read of the 32 Mail Box Buffers at Base
A 60H to 9EH.

 

11. 

Take the average of the 32 ADC values and save this
number as Count9.79V.

 

12. 

Calculate Gain and Offset Coefficients and Write to
Corresponding Registers

 

13. 

Since all parameters are known, the gain and offset
coefficients can be determined.

A. 

The offset coefficient is the average of the 32
Count0V values measured.  An example,

illustrating how the offset coefficient value is
determined, is given in the Offset Coefficient
Register section.

B. 

The gain coefficient can be calculated using
the averaged Count9.79V and Count0V

values as shown in equation 3.  The
procedure for determining the coefficient,
down to 1/4 bit resolution, is given in the Gain
Coefficient Register section.

 

14. 

Execute Write of the least significant word of the Gain
Coefficient to board register at Base A 58H.

 

15. 

Execute Write of the most significant word of the Gain
Coefficient to board register at Base A 56H.

 

16. 

Execute Write of the Offset Coefficient to board register
at Base A 54H.

 

17. 

Measure Channels 0 to 3

 

18. 

Execute Write of 0400H to Control Register at Base
A 42H.

 

A. 

Select No Interrupt Level

B. 

Burst Single Scan Mode

C. Timer 

Disabled

D. Interrupts 

Disabled

 

19. 

Execute Write of 0300H to End/Start Channel Value
Register at Base A 48H.  This will permit
conversions of channels 0 to 3.

 

20. 

Execute Write 0001H to the Start Convert Bit at Base
A 52H.  This starts the burst single mode of
conversions. Conversions of channels 0 to 3 are
implemented and corresponding results are stored in the
first four Mail Box Buffer locations at Base A
60H to 66H.

 

21. 

Execute Read of the 4 Mail Box Buffers at Base Address
+ 60H to 66H.  The data represents the desired,
corrected value.

 

22. 

If channel response time requirements are not high
speed it is recommended that a running average (i.e. of
the last 8, 16, 32, etc.) of readings be maintained for
each channel.  This will minimize noise effects and
provide the best accuracy.

 

GENERATING INTERRUPTS

The AVME9125 board initiates interrupts and uses the

Interrupt Level data of the Control register to map the request to
the desired VMEbus interrupt level.  The board then waits for an
interrupt acknowledge from the VMEbus host after asserting the
appropriate VMEbus interrupt request.

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

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

Страница 1: ...ess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demo...

Страница 2: ...South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1998 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500...

Страница 3: ...CONTROL LOGIC 15 ANALOG INPUTS 15 Power Supply Filters 15 5 0 SERVICE AND REPAIR 15 SERVICE AND REPAIR ASSISTANCE 15 PRELIMINARY SERVICE PROCEDURE 16 6 0 SPECIFICATIONS 16 PHSICAL 16 VMEbus COMPLIANC...

Страница 4: ...or upon completion of conversion of the group of all scanned channels Software Programmable Interrupt Level The VMEbus interrupt level is software programmable Additional registers are associated wit...

Страница 5: ...rs for different base address locations is shown in Table 2 1 IN means that the pins are shorted together with a shorting clip OUT indicates that the clip has been removed The jumper locations are sho...

Страница 6: ...ME9125 The EXP9125 will pull CHSel0 high when present Lastly the AVME9125 provides 15 volts to the EXP9125 via the P2 connector Pin assignments for the P2 connectors of the AVME9125 are shown in Table...

Страница 7: ...Identification Space Not Used Card Identification Space Low Byte 01 3F 40 Status Register 41 42 Control Register 43 44 Timer Prescaler Interrupt Vector Register 45 46 Conversion Timer 47 48 End Channe...

Страница 8: ...is set to 0 Reset condition Set to 0 Bit 0 EXP9125 Board Present Status Read This bit will be 1 when the EXP9125 Expander board is present in a slot adjacent to the AVME9125 A set bit indicates that 3...

Страница 9: ...gister The resulting frequency can be used to generate periodic triggers for precisely timed intervals between conversions The Timer Prescaler has a minimum allowed value restriction of 5A hex or 90 d...

Страница 10: ...tiated with the Software Start Convert command This is done to avoid mistaking data from an old scan cycle with that of a new scan cycle The New Data registers can be read via 16 bit or 8 bit data tra...

Страница 11: ...e an offset of 10 Bit D2 can not be set since an offset of 9 would result and 9 is greater then 9 25 Finally bits D1 and D0 are also set The value written to the offset coefficient must be 3DB hex as...

Страница 12: ...econds after the programmed interval has lapsed If interrupt upon completion of a group of channels is selected an interrupt will be issued 10 5 seconds after the interval time of the last selected ch...

Страница 13: ...tal Signal Processing logic for real time calibration of digitized values The on board hardware implements the required multiplication to adjust the gain and also the summation to correct the offset T...

Страница 14: ...Corresponding Registers 13 Since all parameters are known the gain and offset coefficients can be determined A The offset coefficient is the average of the 32 Count0V values measured An example illus...

Страница 15: ...cally 800ns for accesses to the AVME9125 board registers The board s FPGA monitors the base address jumper setting which is jumperable on 256 byte boundaries in the VMEbus Short I O A16 Address Space...

Страница 16: ...o Table 2 3 Field I O signals are NON ISOLATED This means that the field return and logic common have a direct electrical connection to each other As such care must be taken to avoid ground loops see...

Страница 17: ...al 600mA Maximum VMEbus COMPLIANCE Specification This device meets or exceeds all written VME specifications per revision C 1 dated October 1985 IEC 821 1987 and IEEE 1014 1987 Data Transfer Bus A16 D...

Страница 18: ...the uniform single sample mode A 3 foot shielded analog input ribbon was used ENVIRONMENTAL Operating Temperature 0 to 70 C Relative Humidity 5 95 non condensing The printed circuit board is coated w...

Страница 19: ...VMEbus 6U Analog Input Board ___________________________________________________________________________________________ 18 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE ww...

Страница 20: ...VMEbus 6U Analog Input Board ___________________________________________________________________________________________ 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE ww...

Страница 21: ...SHIELDED CABLE IS RECOMMENDED FOR LOWEST NOISE SHIELD IS CONNECTED TO GROUND REFERENCE AT ONE END ONLY TO PROVIDE SHIELDING WITHOUT GROUND LOOPS NOTES CH16 31 EXT SOURCE 16 31 SEE NOTE 2 SEE NOTE 1 SH...

Страница 22: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Отзывы: