Brainboxes AD-593 User Manual

1200 series interface board
Table of Contents

Advertisement

Quick Links

a
d
1200 Series
2.1 EDITION Feb 1995

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AD-593 and is the answer not in the manual?

Questions and answers

Summary of Contents for Brainboxes AD-593

  • Page 1 1200 Series 2.1 EDITION Feb 1995...
  • Page 2 Thank You For Buying We proudly present the PC AD1200 Interface Board. The PC AD1200 Interface allows the PC user to measure and control ’Real World’ analogue signals. AD1200 is 100% compatible with the widely available DT2811 card and yet has features that surpass and out perform that product.
  • Page 3: The Layout Of This Manual

    PC AD1200 Reference ___________________ _ PC AD1200 MANUAL The Layout Of This Manual. ________________________ _ This manual is a complete description of how to install, configure and use the PC AD1200 interface board. The PC AD1200 card, like our other PC add on boards, is an extremely easy to use and understand implementation of Analogue interfacing for IBM PC and compatible computers.
  • Page 4 Chapter 3, The AD1200 Register Map programmable status and control registers on the card. Whilst most users will use the bundled driver software and so find this information be be unnecessary it is included to make this manual as complete as possible, to allow you to cover every eventuality. Chapter 4, Calibration calibration of the AD1200 analogue circuitry.
  • Page 5: Table Of Contents

    PC AD1200 Reference Outline Contents. _______________ _ Chapter 1. Introduction To The Analogue World. Chapter 2. Installation Guide. Chapter 3. The AD1200 Register Map. Chapter 4. Calibration. Chapter 5. Technical Specification. Cumulative Index. Chapter 1 Introduction To The Analogue World. __________________________________________ _ Introduction.
  • Page 6 D/A Interrupts and DMA. AD1200 Card Only. Digital I/O Ports. Digital Port Programmed I/O. Digital Port Interrupts and DMA. AD1200 Only. Screw Terminal Board. 4-20mA Current Conversion Options. _______________________ Chapter 1 List Of Figures. Figure 1-1. AD1200 Series Common Properties. Figure 1-2.
  • Page 7 PC AD1200 Reference Shielded Cables. Input Voltage. Overvoltage Warning! Problems! Chapter 2 List Of Figures. _______________________ Figure 2-1. AD1200 Card Layout. Figure 2-2. AD1210 AD1211 Card Layout. Figure 2-3. AD1220 AD1221 Card Layout. Figure 2-4a. AD1200 Factory Set DIP Switches. Figure 2-4b.
  • Page 8 Bit 5 A/D Busy, Read Only. Bit 4 Clear A/D Error, Write Only. Bit 3 DMA Enable, Read / Write. AD1200 Only Bit 2 Interrupt Enable, Read / Write. Bits 0 & 1. Mode Bit 0 & 1. Read / Write. Initialising The A/D Converter.
  • Page 9 PC AD1200 Reference Figure 3-14. DAC1 High Byte Output Register. Figure 3-15. DIGOUT Output Register. Figure 3-16. DIGIN Output Register. Figure 3-17. TIMEREX Register. Figure 3-18. Pacer Clock Divisor Figure 3-19. AD1200 Extended Mode Bits. Figure 3-20. AD1210-21 Extended Mode Bit. Figure 3-21.
  • Page 10: Introduction

    Introduction INTRODUCTION TO THE ANALOGUE Introduction. ___________ _ This chapter describes the features of the range of AD1200 cards highlighting the differences between them, discusses the fundamentals of Analogue to Digital conversion, Digital to Analogue conversion and explains exactly how the AD1200 range implements these.
  • Page 11: The Pc Ad1200 Range Of Cards

    AD1200 Reference The PC AD1200 Range Of Cards. _____________________________ The AD1200 series is a family of 12 bit analogue interface cards. Currently 6 different cards are available. Each card has all the base features of the range, the distinguishing features of each card being variations in A/D throughput, Programmable Gain ranges and DMA capabilities.
  • Page 12: From Ad1221 Up To Ad1200

    Introduction ______________________________ _ Figure 1-2. AD1200 Series Options. Card A/D Throughput. 30kHz: 100kHz: Programmable Gain Input. None: 1-2-4-8: 1-10-100-1000: DMA Capabilities. None: A/D Done: Pacer Clocked DMA. DAC0 Output: DAC1 Output: DIG Output: DIG Input: From AD1221 Up To AD1200. __________________________ So progressing from the entry level AD1221 to the fully featured AD1200 card we have the following.
  • Page 13: Dt2811 Superset

    AD1200 Reference AD1210 AD1210H 100kHz A/D throughput. Programmable Gain of 1-2-4-8 for High level input signals. Faster DT2811 improved equivalent. AD1210L 100kHz A/D throughput. Programmable Gain of 1-10-100-1000 for Low level input signals. Faster DT2811 improved equivalent. AD1200 AD1200H DMA input from A/D converter or Digital Input port. DMA output to D/A converter or Digital Output port.
  • Page 14: Introduction To Analogue

    Introduction Figure 1-3. AD1200 card Vs DT2811. _______________________________ _ Feature Analog Input: Bipolar Input: Unipolar Input: Throughput: Gains 1 - 10 Gain 100 Gain 1000 Analog Output: Bipolar Output: Unipolar Output: Throughput: Programmable Gain Maximum Gain: Interrupts A/D Done Interrupt DAC0 Interrupt DAC1 Interrupt Digital In Interrupt...
  • Page 15: Intro

    AD1200 Reference levels of illumination. This is not so with computers. A computer uses numbers to represent physical quantities, storing the values using bit patterns. Each bit in a computer’s memory is either off or on, it cannot be half way on or nearly on.
  • Page 16: Intro

    Introduction the light intensity level there is a doubling in the number of different states of illumination. We are able to resolve the light intensity to smaller intervals to provide greater detail or information about the light intensity. Figure 1-6. Three Bit A/D Conversion. _________________________________ BIT PATTERN As the number of bits used increases the number of states...
  • Page 17: Intro

    AD1200 Reference __________________________________ _ Figure 1-7. Bit Weights And Resolution. BITS STATES 1,024 2,048 4,096 8,192 16,384 32,768 65,536 131,072 262,144 524,288 1,048,576 _______________________________ _ Unipolar Vs Bipolar Voltage Ranges. A Unipolar voltage is a positive only voltage, it can vary between zero volts and a maximum positive value.
  • Page 18: The Analogue To Digital Converter

    Introduction carried on only one wire, the analogue voltage required is the difference between the voltage on the wire and the Analogue Ground, that is the signal is measured with respect to the interface cards analogue ground. The advantage of using single ended inputs to the A/D converter is that 16 input channels are available.
  • Page 19: Intro

    AD1200 Reference PC cards using them far ahead of any competition. The ADS574 has a conversion time of 25 microseconds and the ADS774 a conversion time of 8 microseconds. The AD converter takes an analog input voltage and represents it as a 12 bit digital value. The analogue input signal may be produced by vibration, pressure or temperature sensors but as long as it is within +/-10 Volts the AD1200 series of cards can convert the voltage to a 12 bit digital value.
  • Page 20: Analogue Input Ranges

    Introduction Programmable Gain. __________________ _ Note The AD1221 and AD1220 do NOT have programmable gain, the input gain is fixed at 1. Before the selected input channel is routed to the A/D converter it passes through the PGA, Programmable Gain Amplifier.
  • Page 21: Programmed I/O, Interrupts And Dma

    AD1200 Reference gain of 1000 otherwise a 10 Volt signal will be fed from the PGA into the A/D converter, four times over scale! __________________________________ _ Programmed I/O, Interrupts and DMA. The A/D conversion may be performed under programmed i/o, interrupt driven input or via DMA, direct memory access. _______________ _ Programmed I/O.
  • Page 22: Dma, Direct Memory Access

    Introduction The users software, built from the Real World driver, thus sets up the interrupt hardware, starts the first conversion. The separate ISR services each conversion whenever it happens and finally disables the conversion. In between conversions the PC and the program are free to perform other tasks, eg updating a graph on the screen.
  • Page 23: A/D Throughput And Pipelining

    AD1200 Reference next conversion but also the burden OF starting the conversion. In addition, input signals can be regularly sampled at known intervals thus providing information not only about the magnitude of the input but also about how it changes with time. pacer clock conversions, this concept is explained below.
  • Page 24 Introduction will perform considerably worse than a 50MHz 486. The efficiency of the code plays an important part in throughput especially in the slower computers. In general it is almost impossible to exceed 30,000 A/D conversion samples a second. With the interrupt driven i/o, the time taken by the PC to service the interrupt becomes the critical factor.
  • Page 25: A/D Operating Modes

    AD1200 Reference ___________________ _ A/D Operating Modes. The whole of the AD1200 range can be programmed to perform its A/D conversions using one of four modes. These modes select between conversions, choose whether the continuous conversions should be paced via the built in 600kHz oscillator or via an external user supplied clock and determine what starts the pacer clock running.
  • Page 26: Mode 0, Single Conversions

    Introduction Figure 1-9. Extended Mode Bits. ____________________________ TIMER Extended Mode Bits BIT 7 BIT 6 Continuous Conversion Performed On A/D Converter DAC0 DAC1 DIGITAL I/O PORT The AD1200 card only has the ability to use the DAC0, DAC1, DIGIN and DIGOUT ports with interrupt driven or DMA outputs modes.
  • Page 27 AD1200 Reference Mode 1, Continuous Conversions, Internal Trigger & Clock. ___________________________________________________ _ In Mode 1, the pacer clock generates each A/D strobe, the clock is started, triggered, by a write to the ADGCR, the A/D Gain Channel Register, register 1. The following method should be used.
  • Page 28 Introduction IDC connector pin 49, starts the pacer clock running. The first A/D strobe is generated one clock period later. When the A/D Done bit is set the ADCLO and ADCHI data bytes may be read, either by programmed i/o, an interrupt service routine or by the DMA controller.
  • Page 29: The Analogue To Digital Converter

    AD1200 Reference The Analogue To Digital Converter. _______________________________ AD1200 independent Burr Brown DAC667 D/A converters. The D/A converter takes a 12 bit digital input code and turns it into an analogue output voltage. Each DAC can be configured for unipolar, positive only, 0~10V and 0~5V outputs or bipolar, negative and positive, 10V, 5V and 2.5V outputs.
  • Page 30: Digital Port Programmed I/O

    Introduction the pacer clock at the chosen rate, based on the 600kHz oscillator or external clock input as selected by the ADCSR Mode bits. The pacer clock strobes the converters at precisely timed intervals. The pacer clock also causes an interrupt or DMA cycle which then updates the DACLO and DACHI registers ready for the next pacer clock strobe.
  • Page 31: Screw Terminal Board

    AD1200 Reference selecting the digital i/o ports instead of the ADC as the recipient of the interrupt or DMA data, at the same time, the pacer clock source and divisor is selected, determining the frequency of the pacer clock strobes. iii) A write to the ADGCR register or an negative edge on the external trigger input starts the pacer clock as selected by...
  • Page 32: Ma Current Conversion Options

    Introduction tidy layout. Order one now! Part number: Analogue Screw Terminal Board. ATB 4-20Xmtr 4-20mA Transmitter option for the terminal board. ATB 4-20Rxvr 4-20mA Receiver option for the terminal board. ________________________________ _ 4-20mA Current Conversion Options. The primary reason for for using 4-20mA currents in the transmission of analogue signals is because currents can be sent a long way without loss and without being greatly degraded by noise.
  • Page 33: Configuring The Pc Ad1200 Board

    AD1200 Reference PC AD1200 INSTALLATION Introduction. ___________ _ This chapter explains how to configure and install the PC AD1200 board into a PC compatible computer. Detailed instructions are given how to set the i/o address select DIP switches as well as how to set the IRQ, DMA jumper blocks. In addition, the jumpers configuring the Analogue to Digital input and the two Digital to Analogue outputs are explained.
  • Page 34 Installation Guide may be present in the PC, your PC AD1200 board may need adjusting to suit your setup. The seven configurable options are factory set to following defaults. Default Settings. I/O address: Interrupt Jumper: DMA Jumper: DAC0 settings: DAC1 settings: ADC settings: Figure 2-1.
  • Page 35: Setting The Pc Ad1200 I/O Address

    AD1200 Reference Figure 2-2. AD1210 AD1211 Card Layout. ____________________________________ _ DAC1 DAC0 -5/+5V -5/+5V BIPOLAR BIPOLAR OUTPUT OUTPUT 8254 Counter Timer . OUT0 Not Connected To Output PIN36 Figure 2-3. AD1220 AD1221 Card Layout. ____________________________________ _ DAC1 DAC0 -5/+5V -5/+5V BIPOLAR BIPOLAR OUTPUT...
  • Page 36: Figure 2-4A. Ad1200 Factory Set Dip Switches

    Installation Guide set the DIP switches according to Figure 2-7. The PC AD1200 board can reside at any address on an 8 byte boundary within the range 0200H-03F8H, giving the 64 possible combinations. The AD1210/11 and AD1220/21 boards occupy 16 bytes of i/o address space and can be set to reside at one of 48 base addresses within the range 0100H-03F0H.
  • Page 37: Figure 2-4B. Ad1210-21 Factory Set Dip Switches

    AD1200 Reference ___________________________________________ _ Figure 2-4b. AD1210-21 Factory Set DIP Switches. 123456 8254 Counter Timer Address PC AD1210-21 Factory Set Default Address = 0218 Hex, 536 Decimal Figure 2-5. I/O Addresses To Avoid. _______________________________ I/O ADDRESS ___________ ___________ NORMAL USE. 01F0H- 01F7H Fixed Disk Controller #1 for AT/386/486 0201H-...
  • Page 38: Figure 2-7A. Ad1200 Base Addresses

    Installation Guide The i/o addresses that are likely to be good for the PC AD1200 are shown in Figure 2-6. However, we cannot guarantee that they are not already in use by some other adapter that may be installed in your PC. ___________________________ Figure 2-6.
  • Page 39: Installation Guide

    AD1200 Reference Page 30 0388 Hex 0380 Hex 0378 Hex 0370 Hex 0368 Hex 0360 Hex 0358 Hex 0350 Hex 0348 Hex 0340 Hex 0338 Hex 0330 Hex 0328 Hex 0320 Hex 0318 Hex 0310 Hex 0308 Hex 0300 Hex 02F8 Hex 02F0 Hex 02E8 Hex...
  • Page 40: Figure 2-7B. Ad1210-21 Base Addresses

    Installation Guide ___________________________________ Figure 2-7b. AD1210-21 Base Addresses. The 8254 counter timer occupies the lower 8 i/o address. The PCAD1200 occupies the upper 8 i/o address. ____ ____ ____ ____ ____ ____ ____ _________ DIP1 DIP2 DIP3 DIP4 DIP5 DIP6 8254 AD1210/21 Chapter 2 0298 Hex 0290 Hex...
  • Page 41 AD1200 Reference Page 32 0380 0388 Hex 0370 0378 Hex 0360 0368 Hex 0350 0358 Hex 0340 0348 Hex 0330 0338 Hex 0320 0328 Hex 0310 0318 Hex 0300 0308 Hex 02F0 02F8 Hex 02E0 02E8 Hex 02D0 02D8 Hex 02C0 02C8 Hex 02B0 02B8 Hex 02A0 02A8 Hex...
  • Page 42: Using More Than One Pc Ad1200 Board

    Installation Guide If you have set the board at a different address then you will need to inform the software that you intend to run about the new i/o address. Using More Than One PC AD1200 Board. ____________________________________ _ Since each PC AD1200 card, can measure up to 16 Analogue inputs and drive 2 analogue outputs, with 8 digital i/p and 8 digital output lines it is not generally necessary to have more than one board installed in the PC at any one time.
  • Page 43: Setting The Interrupt Jumper Block

    AD1200 Reference controlled D to A converter timed out, pacer controlled digital i/o timed out etc. The appropriate signal must be enabled in software and the irq signal generated must be physically connected to one of the processor Interrupt ReQuest lines by placing the jumper on the IRQ block in the correct place.
  • Page 44: Figure 2-8. The Irq Jumper Block

    Installation Guide ______________________________ _ Figure 2-8. The IRQ Jumper Block. DMA Selection. _____________ _ The AD1200 card can perform its input or output under DMA control, that is the data moves between the PC and the Chapter 2 AD1200 Reference NORMAL USE OF INTERRUPT.
  • Page 45: Setting The Dma Channel Jumper Block

    AD1200 Reference converter in the background whilst the computer is apparently busy doing another job. DMA is ideal for moving large amounts of data very quickly. The DMA hardware requires that the DMA channel jumper settings should be set for DMA operation to be performed.
  • Page 46: D/A Output Range Selection

    Installation Guide Figure 2-9. The DMA Jumper Block. _______________________________ _ DMA CHANNEL SELECTION. ______________________ DMA CHANNEL 1. DMA CHANNEL 2. DMA CHANNEL 3. Select the DMA channel line required by placing the pair of jumpers across the appropriate pins. If in doubt leave in the jumpers in the factory set condition, DMA 1.
  • Page 47: A/D Configuration

    AD1200 Reference Figure 2-10. D/A Output Range Selection. ___________________________________ _ _________________ DAC OUTPUT RANGE. BUCBA 0 to +10 Volts 0 to +5 Volts -10 to +10 Volts -5 to +5 Volts -2.5 to +2.5 Volts A/D Configuration. ________________ _ The gain of the AD converter, the input channel type and the input voltage range can all be independently selected.
  • Page 48: Figure 2-11. A/D Channel Input Select

    Installation Guide Figure 2-11. A/D Channel Input Select. _________________________________ _ ADC CHANNEL INPUT SELECT. _________________________ 8 Channel Differential Inputs 16 Pseudo Channel Differential Inputs 16 Channel Single Ended Inputs Input Voltage Range. The 4 input voltage range selection jumpers are in the centre top of the AD1200 card, two select input span, two select uni or bipolar ranges.
  • Page 49: Figure 2-12. Ad1200 A/D Input Range Selection

    AD1200 Reference Figure 2-12. AD1200 A/D Input Range Selection. _________________________________________ _ AD1200 card - software selectable gain. 1 BU 05PN ________ AD 20Vin VV I Note: at each of the jumper selectable input ranges, the software selectable gains of 1-2-4-8 or 1-10-100-1000 may be applied. Thus on the AD1200PGL card when jumper set for -2.5 to +2.5 bipolar input, software selectable input ranges are: gain =1...
  • Page 50: Figure 2-13. Ad1210 A/D Input Range Selection

    Installation Guide Figure 2-13. AD1210 A/D Input Range Selection. _________________________________________ _ AD1210 & AD1211 - software selectable gain. 1 BU 05PN ________ AD 20Vin VV I Note: at each of the jumper selectable input ranges, the software selectable gains of 1-2-4-8 or 1-10-100-1000 may be applied. Thus on the AD1211PGL card when jumper set for -2.5 to +2.5 bipolar input, software selectable input ranges are: gain =1...
  • Page 51: Figure 2-14. Ad1220 A/D Input Range Selection

    AD1200 Reference Figure 2-14. AD1220 A/D Input Range Selection. _________________________________________ _ AD1220 and AD1221 cards only. 1 BU 05PN ________ ADC GAIN VV I Remember: Calibration should be performed whenever the input ranges are changed, to ensure that the AD1200 remains in specification, and that your analogue measurements are traceable back to nationally and internationally recognised standards.
  • Page 52: Counter Timer Pinouts

    Installation Guide _________________________ 8254 Counter Timer Pinouts. The AD1210, AD1211, AD1220 and AD1221 all have a 16 bit counter timer chip on board. This counter timer greatly increases the functionality of the A/D cards. The 8254 has consists of 3 16 bit counters, Counter 0, Counter 1 and Counter 2.
  • Page 53: Installing The Pc Ad1200 Board In The Computer

    AD1200 Reference ____________________________________________ _ Installing The PC AD1200 Board In The Computer. Note: Always turn the computer OFF before installing or ____ _ removing any interface board..!!! After having made sure that the i/o address is correctly set, now is the time to insert the PC AD1200 board into the i/o connector slots in the computer.
  • Page 54: Figure 2-19. Inserting The Pc Ad1200 Card

    Installation Guide Figure 2-18. Removing Blanking Cover. __________________________________ ______________________________________ _ Figure 2-19. Inserting The PC AD1200 Card. Use the screw kept back from the blanking cover to screw the PC AD1200 retaining bracket into the PC back panel housing. Chapter 2 AD1200 Reference STEP 4 Choose an empty expansion...
  • Page 55: Ad1200 Backplane Signals

    AD1200 Reference STEP 7 Now replace the system units cover by carefully sliding it down and back over the system unit. Replace the cover mounting screws. STEP 8 After attaching all the monitor and keyboard cables, power up the PC. Do not forget the mains power cable! The PC should power on in the normal way.
  • Page 56: Signal Types

    Installation Guide The PC AD1200 board connects to the real world devices using a 50 way IDC ribbon cable or a 50 pin D connector cable, available from your dealer or via the HELP line on Intro page 2. The 50 way IDC connector is arranged as two parallel rows of 25 pins on a 0.1 inch pitch, the pin outs are given above.
  • Page 57 AD1200 Reference AD1200 card. Maximum permissible output current is 20 milliamps. The Maximum output current is largely determined by the capacity of the power supply installed in the PC. Check its rating. Power ground is internally connected to analogue ground, AGND. Digital Lines.
  • Page 58: Twisted Pair Cables

    Installation Guide Wiring Guidelines. ________________ _ The AD1200 system is designed to accurately measure low voltage signals thus noisy input signals will tend to render the advanced design features useless. In particular, the performance of the Programmable Gain Amplifier feature, available on the boards, can be greatly effected by noise if signals are incorrectly connected.
  • Page 59: Problems

    AD1200 Reference Single Ended inputs and outputs, having a common ground, should be arranged to ensure that ground loops are avoided. Also prevent significant voltages being induced in ground return leads returning to the single point ground. Differential outputs from DAC0 and DAC1, similarly should be shielded tied to AGND at the PC card end.
  • Page 60: I/O Address Map

    Register Map PC AD1200 REGISTER Introduction. ___________ _ This chapter explains the AD1200 Register Map, it details the programmable status and control registers on the card. Whilst most users will use the bundled driver software and so find this information be be unnecessary it is included to make this manual as complete as possible, to cover every eventuality.
  • Page 61: Read Write Assignments

    AD1200 Reference Register Types. _____________ _ The registers fall into two types:- Control registers such as the ADCSR, ADGCR and the TIMERXM register. The registers contain mainly read and write bits. These registers determine the SOURCE of the A/D converter input and the RATE at which data can be read from, or written to, the other ports.
  • Page 62: The A/D Control Status Register

    Register Map Power Up Conditions. ___________________ On power up all registers are set to zero. ____________________________ _ The A/D Control Status Register. The most important register in the AD1200 series of cards is the control status register. It is the primary control register for the AD Converter, it holds the A/D Busy and A/D Done bits which indicate whether an A/D conversion is in progress or finished, its A/D Error and Clear Error bits are used to detect...
  • Page 63: Bit 6 A/D Error, Read Only

    AD1200 Reference Reset By: Reading the ADC data high byte at Register 3. This bit is automatically cleared at power up. Bit 6 A/D Error, Read Only. ________________________ _ This bit is indicates that an error has occurred during the A/D conversion.
  • Page 64: Bit 2 Interrupt Enable, Read / Write

    Register Map clock DMA requests and TTL i/o port pacer DMA requests when the Extended Mode bits are set in the Timer Control Register. When the Extended Mode bits are set the Pacer clock is used to initiate the DMA cycle, the data is read from the TTL input port or written to the TTL output port or the DAC0 or DAC1 registers.
  • Page 65: Figure 3-3. Mode 0 & 1 Bits

    AD1200 Reference This bit is automatically cleared at power up. Bits 0 & 1. Mode Bit 0 & 1. Read / Write. ___________________________________ _ These bit are used to control the four modes of the A/D converter and function according to the following table. Figure 3-3.
  • Page 66: Figure 3-5. Ad1210-21 Extended Mode Bit

    Register Map the A/D converter. ___________________________________ _ Figure 3-4. AD1200 Extended Mode Bits. AD1200 Card Only TIMER Extended Mode Bits BIT 7 BIT 6 Continuous Conversion Performed On A/D Converter DAC0 DAC1 DIGITAL I/O PORT _____________________________________ Figure 3-5. AD1210-21 Extended Mode Bit. AD1210-AD1221 TIMER Extended Mode Bits BIT 7 BIT 6...
  • Page 67: Figure 3-6. A/D Gain Channel Register

    AD1200 Reference The A/D Gain Channel Register. ____________________________ The A/D Gain Channel Register, ADGCR, is used to select the input channel to the A/D converter and the gain applied to the input signal by the programmable gain amplifier. Note: The AD1221 programmable gain and ADGCR bits 6 &...
  • Page 68: Bits 0, 1, 2 & 3. Channel Select. Read / Write

    Register Map before it is fed to the A/D converter. The L suffix cards can take LOW input signals, 2.5 milli Volts full scale, and boost them by a factor of up to 1000, ie 2.5 Volts full scale. Please ensure that the boosted input voltage does not exceed the jumper selected input range.
  • Page 69: The A/D Converter Input Registers. Read Only

    AD1200 Reference the A/D converter. For Single Ended or Pseudo Differential operation all 4 bits are used to select one of the 16 possible channels. For Differential operation only bits 0, 1 & 2 effect the channel selection, bit 3 is a "don’t care" bit. Set By: These bits are set under program control.
  • Page 70: Figure 3-9. Adc Low Byte Input Register

    Register Map Reading the ADCHI register resets the A/D Done bit and so the A/D converter can be retriggered to start performing its next conversion. Reading the ADCLO register does not effect the A/D Done bit. Since reading ADCHI clears A/D Done and another reading may be triggered it is best to read ADCLO first and then read ADCHI.
  • Page 71: The Dac0 D/A Converter Output Registers

    AD1200 Reference ______________________________________ Figure 3-10. ADC High Byte Input Register. ADCHI Input Register. BIT 7 BIT 6 021B Read Read The DAC0 D/A Converter Output Registers. ______________________________________ The DAC0 D/A Converter takes a 12 bit value that is the digital representation of the required analogue output voltage. This 12 bit value is written to two adjacent 8 bit, write only, registers.
  • Page 72: Figure 3-12. Dac0 High Byte Output Register

    Register Map For Unipolar signals, ie 0 to +FULL_SCALE_VOLTS, the actual 12 bit DAC0DATA value is obtained from:- DAC0DATA= (DACVOLT *4096 ) /FULL_SCALE_VOLTS Bipolar signals, +FULL_SCALE_VOLTS, the actual 12 bit DAC0DATA value is obtained from:- DAC0DATA= ( DACVOLT*2048 / FULL_SCALE_VOLTAGE ) + 2048 Figure 3-11.
  • Page 73 AD1200 Reference most 4 bits written to the DAC1HI register are "don’t care" bits but should always be set to 0 for compatibility with 16 bit D/A software and data formats. The DAC1HI and DAC1LO registers are WRITE ONLY, data cannot be read back from them, instead a read of these registers returns garbage since there is no corresponding read registers at these addresses.
  • Page 74: Figure 3-13. Dac1 Low Byte Output Register

    Register Map Figure 3-13. DAC1 Low Byte Output Register. ________________________________________ DAC1LO Output Register. BIT 7 BIT 6 021C DAC1 DAC1 Write Write ________________________________________ _ Figure 3-14. DAC1 High Byte Output Register. DAC1HI Output Register. BIT 7 BIT 6 021D used used _____________________________ The Digital Output Port Register.
  • Page 75: Figure 3-16. Digin Output Register

    AD1200 Reference TTL output logic level high is 2.4 ~5.0 Volts. The Digital Input Port Register. ___________________________ _ The Digital Input Port Register, DIGIN, is an 8 bit read only register. The bit values read represent the logic levels present on the 8 TTL input lines. Thus lines that are high cause the corresponding DIGIN bit to read high, those lines that are low cause the corresponding DIGIN bit to read low.
  • Page 76: Figure 3-17. Timerex Register

    Register Map ____________________________ _ Figure 3-17. TIMEREX Register. TIMEREX Timer Counter Extended Mode Register. BIT 7 BIT 6 021F XMODE XMODE Bits 0-5, TIMER Pacer Clock Divisor Bits. ____________________________________ _ The lower 6 bits of the TIMEREX register, TIMER 0-5, are used to select the pacer clock frequency.
  • Page 77: Figure 3-18. Pacer Clock Divisor

    AD1200 Reference Figure 3-18. Pacer Clock Divisor ____________________________ TIMEREX Bits 0-5 Pacer Clock Frequency Selection. TIMER Bit Pattern Page 68 Base Frequency Value Divisor 1000 10000 100000 1000000 10000000 1000 10000 100000 1000000 10000000 100000000 2000 20000 200000 2000000 20000000 3000 30000 300000...
  • Page 78 Register Map TIMEREX Bits 0-5 Pacer Clock Frequency Selection. TIMER Bit Pattern _______________________________ _ Bits 6 & 7 XMODE, Extended Mode For AD1200 card only the top 2 bits of the TIMEREX register, XMODE 6 & 7, in conjunction with MODE 0 & 1 bits in the ADCSR, determine which port is paced by the clock.
  • Page 79: Figure 3-20. Ad1210-21 Extended Mode Bit

    AD1200 Reference The AD1210-21 cards, with the 8254 counter timer chip on board, uses the TIMER register bits 7 as a method of selecting the 8254 counter timer INSTEAD on the on board 600kHz pacer clock as the source of the A/D converter strobe pulses. Bit 6 has no function and reads back as 0.
  • Page 80: Figure 3-21. 8254 Counter Timer Register Map

    Register Map _________________________________________ Figure 3-21. 8254 Counter Timer Register Map. ADDRESS DEFAULT OFFSET ADDRESS 0000 R/W 0210 Hex COUNTER 0 REGISTER 0001 R/W 0211 Hex COUNTER 1 REGISTER 0002 R/W 0212 Hex COUNTER 2 REGISTER 0003 0213 Hex CONTROL WORD REGISTER Counter 0 is not used on the A/D board.
  • Page 81: Calibrating The Digital To Analogue Output

    AD1200 Reference CALIBRATION. Introduction. ___________ _ This chapter describes how to perform a calibration of the AD1200 analogue circuitry. The use of the calibration software, the position and function of the onboard trimmer pots and use of ancillary equipment are all described. Calibration should be performed at regular intervals, at least twice a year, and whenever the input or output ranges are changed, to ensure that the AD1200 remains in specification, and that your analogue...
  • Page 82: Equipment Required

    Calibration Outline. _______ The calibration is simple. It consists of only two steps. Set the D/A converter to its LOWEST output, then using an accurate voltmeter check the output voltage, adjust the OFFSET trim potentiometer to get the desired value. Set the D/A converter to its HIGHEST output, then using an accurate voltmeter check the output voltage, adjust the GAIN trim potentiometer to get the desired value.
  • Page 83: Dac0 Calibration Procedure

    AD1200 Reference DAC0 Calibration Procedure. __________________________ Set up the DAC0 output jumpers for the output range required, make a note of the output range. Using leads as short as possible connect up the digital voltmeter as in Figure 4-2 iii) Set DAC0 to its LOWEST output value by writing the digital code 000 hex to the converter.
  • Page 84: Figure 4-2. Dac0 Calibration Wiring Diagram

    Calibration Figure 4-2. DAC0 Calibration Wiring Diagram. _________________________________________ DAC0 OUTPUT DAC0 GROUND _______________________________ _ Figure 4-3. DAC Calibration Values. DIGITAL OUTPUT UNIPOLAR CODE 0 to +5V FFF hex +4.9987V 000 hex 0.0000V 1 LSB 1.22mV 1/10LSB 0.122mV 1/10LSB 0.0001V __________________________ DAC1 Calibration Procedure.
  • Page 85: Figure 4-4. Dac1 Calibration Wiring Diagram

    AD1200 Reference required. This is the OFFSET adjustment. For BIPOLAR ranges adjust trim pot 8 for minus full scale value. eg for range -5 to +5 bipolar the ideal offset voltage is -5.0000 Volts +/- 0.0002 Volt. For UNIPOLAR ranges adjust trim pot 9 for zero volts. eg for range 0 to +5 unipolar the ideal offset voltage is 0.0000 Volts +/- 0.0001 Volt.
  • Page 86: Calibrating The Analogue To Digital Input

    Calibration Calibrating The Analogue To Digital Input. _____________________________________ _ There is only one analogue to digital converter on the AD1200 card. The 8 or 16 channels of analogue input are provided by using a multiplexer to switch one of the possible inputs to the ADS774/574 chip, thus the calibration need only be performed on one input channel.
  • Page 87: Figure 4-6. Adc Calibration Wiring Diagram

    AD1200 Reference FE to FF hex. Provided the calibration is performed in the correct order, OFFSET adjust then GAIN adjust, there should be no interaction between the two adjustments. __________________ _ Equipment Required. A precision voltage source capable of a stable output and resolution of 1/10th of LSB at both ends of the range of the converter .
  • Page 88: Figure 4-7. Unipolar Adc Calibration Values

    Calibration Adjust the OFFSET trimpot so that the input code from the A/D converter flickers evenly between 00hex and 01hex. This is the OFFSET adjustment. For BIPOLAR ranges adjust trim pot 2 for 00hex to 01hex transition. eg for range -5 to +5 bipolar the 000+1/2LSB voltage is -4.9988 Volt.
  • Page 89: Figure 4-8. Bipolar Adc Calibration Values

    AD1200 Reference Figure 4-8. Bipolar ADC Calibration Values. ______________________________________ _ DIGITAL OUTPUT CODE +/-0.625V +/-1.25V +0.6250V FSR-1LSB +0.6247V FSR-1.5LSB +0.6245V 000 hex -0.6250V 1 LSB 0.305mV 1/2 LSB 0.153mV 000+1/2LSB -0.6249V Page 80 ANALOGUE INPUT RANGE BIPOLAR +/-2.5V +1.2500V +2.5000V +1.2494V +2.4988V +1.2491V...
  • Page 90: Analogue Inputs

    Technical Specification TECHNICAL SPECIFICATION. Introduction. ___________ _ This chapter gives the complete technical specification for the AD1200 range of cards. Analogue Inputs. _______________ Input Impedance Maximum Common Mode Input Voltage Common Mode Rejection Ratio Maximum Input Voltage Resolution Nonlinearity Differential nonlinearity Quantised Uncertainty Offset drift Gain drift...
  • Page 91: Analog Outputs

    AD1200 Reference Throughput Conversion Time System Accuracy Monotonicity ______________ Analog Outputs Resolution Bipolar Output Unipolar Output Nonlinearity Differential nonlinearity Quantised Uncertainty Offset drift Gain drift Offset Error Gain Error Settling Time to 0.01% Throughput System Accuracy Monotonicity Digital I/O _________ _ TTL output TTL input Page 82...
  • Page 92: Power Consumption

    Technical Specification Throughput Fan in Fan out Pacer Clock. ___________ Pacer Clock Divisor External Clock External Trigger Power Consumption. __________________ +5 Volts 5% +12 Volts 5% -12 Volts 5% Dimensions. Chapter 5 AD1200 Reference 1MHz 1 LS load 10 LS loads 0.005Hz-600kHz 1 to 120,000,000 TTL compatible.
  • Page 93 Index Index. _____ _ +12/-12... 47, 83 12 bit...2, 4, 7, 10, 11, 20, 60, 61, 62, 63, 64 16 bit...7, 24, 43, 45, 62, 64 4-20mA...22, 23 8 bit...2, 7, 21, 24, 45, 60, 62, 63, 65, 66, 82 A/D control status reg...16, 17, 18, 19, 20, 21, 51, 52, 53, 56 A/D Done ...
  • Page 94 AD1200 Reference Base address... 27, 29, 70 Binary... 28, 61, 62, 64, 77 Bipolar... 2, 5, 8, 10, 20, 25-26, 37-42, 61, 63, Bit weights...8 Bits...6-8, 12, 16-22, 52-53, 55-60, 62-65, Cable...22, 23, 46, 47 Cables... 9, 23, 46, 49, 72 Calibration...
  • Page 95 Index DMA enable... 16, 36, 53, 54 DMA jumper ... 24, 25, 36, 37 DMAJMP ... 36 Drift... 81, 82 DT2811...1, 3, 4, 5, 52 Error...9, 15, 52, 53, 54, 55, 57, 81, 82 Extended mode... 17, 20, 51, 55, 56, 57, 66, 67, 69, 70 Extended modes...67 External clock...2, 16, 19, 21, 22, 46, 48, 56, 67, 83 External trigger...2, 18, 19, 20, 22, 46, 48, 83...
  • Page 96 AD1200 Reference Justified...61, 62, 64 Logic level... 65, 66 Low byte...12, 51, 61, 63, 65 LSB...73, 74, 75, 76, 77, 78, 79, 80, 81, 82 Maximum throughput...67 Memory... 6, 10, 12, 13, 15, 36 Mode 0...16, 17, 56, 58, 67, 69 Mode 1...18, 20, 21 Mode 2...18 Mode 3...19...
  • Page 97 Index Programmable gain...1, 2, 3, 4, 5, 10, 11, 14, 49, 50, 58, 59 Programmable gain amp...10, 11, 14, 49, 50, 58 Programmed i/o... 10, 12, 14, 17, 18, 19, 20, 21 Pseudo differential...10, 38, 47, 60 Reference...1 Register map...51, 52, 71 Resolution...6, 7, 8, 10, 73, 78, 81, 82 Sample and hold...

This manual is also suitable for:

Ad-604Ad-923Pc ad1200

Table of Contents