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.
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.
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.
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.
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.
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.
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.
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.
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...
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
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...
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.
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.
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.
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...
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.
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.
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.
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.
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.
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.
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...
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.
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.
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.
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 &...
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
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.
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.
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.
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.
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 .
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.
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...
Need help?
Do you have a question about the AD-593 and is the answer not in the manual?
Questions and answers