PCI-1720U 4-channel Isolated D/A Output Card with Universal PCI Bus User Manual
Copyright This documentation and the software included with this product are copyrighted 2004 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation.
CE Notification PCI-1720U has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information. Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage. 1.
Contents Chapter 1.1 1.2 1.3 1.4 1.5 Chapter 1 General Information ....................................... 2 Introduction ................................................................................. Features........................................................................................ Applications................................................................................. Specifications............................................................................... Block Diagram........
Table 4.3: Register for D/A Voltage Range and Polarity ..... 20 Table 4.4: Output Range of D/A Channel n ......................... 20 4.2.3 Synchronized Output Prompt Register ................................... 21 4.2.4 Synchronized Output Control Bitt .......................................... 21 Table 4.5: Synchronized Output Control Bit ........................ 21 4.3 Unipolar and Bipolar Binary Code Tables ................................ 22 Table 4.6: Unipolar Binary Code Table ......................
1 CHAPTER 2 General Information
Chapter 1 General Information 1.1 Introduction PCI-1720U is an isolated digital-to-analog output card for the Universal PCI bus. It provides four 12-bit analog output channels with isolation protection of 2,500 V DC between the outputs and the PCI bus. This is ideal for industrial applications where high-voltage protection is required.
1.3 Applications • Process control • Programmable voltage source • Programmable current sink • Servo control 1.4 Specifications D/A Output • Channels: 4 isolated D/A channels • Resolution: 12 bits • Output Ranges:Unipolar: 0 ~ +5 V, 0 ~ +10 V Bipolar: ±5 V, ±10 V Current loop (sink): 0 ~ 20 mA, 4 ~ 20 mA • Throughput: 500 kHz • Accuracy: ±0.024% • Isolation Voltage: 2,500 V DC between the outputs and the PCI bus • Output Current: ±5 mA max. • Current Loop Excitation Voltage: 50 V max.
Environment • Operating Temperature: 0 ~ 60° C (32 ~ 140° F) • Storage Temperature: -20 ~ 70° C (-4 ~ 158° F) • Operating Humidity: 5 ~ 95 % RH non-condensing (refer to IEC 68-2-3) • MTBF: over 71,280 hrs @ 25° C, grounded, fixed environment 1.
CHAPTER 2 2 Installation
Chapter 2 Installation 2.1 Initial Inspection Before installing PCI-1720U, check the card for visible damage. The card has been carefully inspected both mechanically and electrically before shipment. It should be free of marks and in perfect order upon receipt. As you unpack the PCI-1720U, check for signs of shipping damage (damaged box, scratches, dents, etc.). If it is damaged or fails to meet specifications, notify our service department or your local sales representative immediately.
2.3 Installation Instructions The PCI-1720U can be installed in any PCI slot in the computer. However, refer to the computer user's manual to avoid any mistakes and danger before you follow the installation procedure below: 1. Turn off your computer and any accessories connected to the computer.. Warning! TURN OFF your computer power supply whenever you install or remove any card, or connect and disconnect cables. 2. Disconnect the power cord and any other cables from the back of the computer. 3.
PCI-1720U User Manual 8
CHAPTER 3 2 Jumpers and I/O Connectors
Chapter 3 Jumpers and I/O Connectors The PCI-1720U is a Plug & Play compatible card, i.e. the system BIOS assigns the system resources such as the base address and the interrupt number automatically. There are only 2 functions with 5 jumpers to configure to your applications requirements. The following sections offer the necessary information for setting the PCI-1720U’s jumpers. You may need to refer to the figure below for help in identifying jumper locations. Figure 3.1: PCI-1720U Jumper Locations 3.
Note! In order to maintain accurate outputs for your field applications, it is important that you calibrate the PCI-1720U’s variable resistors (VRs) from time to time. Calibration instructions are provided in Appendix A. 3.1.2 Jumper JP5 Setting for the Reset State Jumper JP5 gives the PCI-1720U a new and valuable capability. With JP5 enabled, the PCI-1720U “memorizes” all D/A output settings and output values, and, in the event of a “hot” reset, i.e.
3.2 Connector and Pin Assignments The PCI-1720U uses one DB-37 female connector, which is located on the card at CN1 (see Figure 3-1) and connects D/A signals to external devices. The following figure shows the pin assignments of the connector.
3.2.1 Signal Descriptions of I/O Connector Signal Name Reference Direction VOUT<0...3> AGND Output Analog Voltage Output Channels 0 through 3. These pins supply the voltage outputs for the analog outputs. ISINK<0...3> AGND Input Current Sink Channels 0 through 3. These pins provide the current loop sink input. +12 V OUT AGND Output +12 VDC Source. This pin is a +12 V DC power supply (80mA max.) for current loop exciting voltage. AGND - - Analog Ground.
3.3 Setting the BoardID Switch (SW1) BoardID settings (0x20) are used to get the board’s unique identifier. The PCI-1720U has a built-in DIP switch (SW1), which is used to define each card's unique identifier. You can determine the unique identifier in the register as shown in Table 3.2. When there are multiple identical cards in the same chassis, the BoardID switch helps differentiating the boards by identifying each card's device number with the switch setting.
3.3.1 Identity Register You can determine the identity in the register as shown in the table below. Table 3.
PCI-1720U User Manual 16
4 CHAPTER 2 Register Structure and Format
Chapter 4 Register Structure and Format 4.1 Overview PCI-1720U is delivered with an easy-to-use 32-bit DLL driver for user programming under Windows 98, 2000 and XP operating systems. We advise users to program the PCI-1720U using the 32-bit DLL driver provided by Advantech to avoid the complexity of low-level programming by register. The most important consideration in programming the PCI-1720U card at register level is to understand the function of the card’s registers.
4.2 I/O Port Address Map PCI-1720U requires 12 addresses in the PC’s I/O space. The address of each register is specified as an offset from the card’s base address. For example, BASE + 0 is the card’s base address and BASE + 7 is the base address plus seven bytes. Table 4.1 shows the function of each register and its address relative to the card’s base address Table 4.
4.2.1 D/A Output Channel 0 to 3 The write-only registers of BASE + 2(n) and BASE + (2(n) + 1) accept data for D/A output channel n (n = 0, 1, 2, 3) Table 4.2: Register for D/A Data Base Address + decimal Data 7 6 5 4 3 2 1 0 +2(n) D7 D6 D5 D4 D3 D2 D1 D0 D11 D10 D9 D8 +(2(n)+1) Function Description R/W D/A output channel n W D11 ~ D0 Digital to Analog data. D0 is the LSB (Least Significant Bit) and D11 is the MSB (Most Significant Bit) of the D/A data.
4.2.3 Synchronized Output Prompt Register During normal operation, the PCI-1720U will accept digital values one at a time from the host PC, convert these values to analog values, and immediately output these analog values from the channels directed by the host PC. However, the PCI-1720U has the capability to store each analog value in its proper channel buffer as it is generated, then simultaneously output one analog value from each of its four channels on receipt of a synchronizing character.
4.3 Unipolar and Bipolar Binary Code Tables Table 4.6: Unipolar Binary Code Table Digital Input Code MSB Examples of Analog Output Voltage LSB 1111 1111 1000 0000 0001 Vref (2049/4096) 1000 0000 0000 Vref (2048/4096) 0111 1111 0000 0000 0001 Vref (1/4096) 0000 0000 0000 Vref (0/4096) Notes: 1111 Vref (4095/4096) 1111 Vref (2048/4096) 1. Vref is the reference source voltage that you selected. Vref is +5 V or +10 V. 2. Nominal full scale is given by FS = Vref ( (4095/4096). 3.
5 CHAPTER 2 Signal Connections
Chapter 5 Signal Connections 5.1 Overview Making correct signal corrections is important for accurate data transmissions. Since most data acquisition applications involve some form of voltage measurement, making a sound signal connection will also protect your equipment against possible damage. This chapter shows you how to make proper signal connections to use PCI-1720U. 5.2 D/A Voltage Output Connections PCI-1720U supports four channels of D/A voltage output.
Internal Side D/A External Side VOUT Grounded Load AGND Figure 5.2: Grounded-load Connection for D/A Voltage Output Internal Side External Side VOUT D/A Diff. Load with Ground AGND Figure 5.
5.3 Current Sink Connections The PCI-1720U's current loop output uses a 0 to +5 V (unipolar) voltage output as each channel’s driving source. Current drive circuits consist of a power field-effect transistor (FET). The current output’s voltage bias must be less then 50 V for accurate results. The card also provides an internal +12 V power source for current loop excitation. You can use three types of current sink connections: 1. Grounded load with a floating power supply. 2.
Internal Side External Side ISINK 0 ~ 20 mA or 4 ~ 20 mA Floating Load AGND +12 VDC Figure 5.6: Floating-load Conn. with an Internal +12 VDC Power Supply 5.4 Current Sink Load and Power Supply You have to select the current sink load and power supply carefully. The current sink circuitry of the PCI-1720U is as shown below. Internal Side 0~5V or 1~5V { + - External Side PD 0 ~ 20 mA or 4 ~ 20 mA 249 Ω AGND RL + - Vs Figure 5.
where VS: Power supply voltage of current sink. RL: Load of current sink. PD: Power dissipation of FET. When you determine VS and RL, three conditions must be satisfied. VS > (RL + 249) ( 0.02) VS £ 50 PD = (VS - (RL + 249) x 0.02) x 0.02 < 0.2 Example 1 If you use the internal power supply VS = +12 V, RL must be less than 351 W (12 / 0.02 - 249 > RL). Select RL = 200 W, PD = 0.0604 < 0.2 OK! Example 2 If you use the external power supply VS = +40 V, RL must be less than 1.75 kW (40 / 0.02 - 249 > RL).
APPENDIX A 2 Calibration
Appendix A Calibration A.1 Overview The PCI-1720U card uses eight variable resistors (VRs), two for each channel, which allow you to calibrate each of the card’s four output channels. The following information outlines the function of each VR. Refer to the illustration shown below for the locations of the PCI-1720U’s VRs. Figure A.1: PCI-1720U VR assignment VR1 Channel 0’s full scale (gain) adjustment. VR2 Channel 1’s full scale (gain) adjustment. VR3 Channel 2’s full scale (gain) adjustment.
A.2 Unipolar Output Calibration 1. Select an appropriate output range for the channel to be calibrated. 2. Set all digital input codes to 0. Then adjust VRn (n = 5, 6, 7, 8 depending on what channel is to be calibrated, see prior page) until your voltmeter’s reading is 0.000 volts. 3. Set all digital input codes to 1 (see Unipolar Binary Code Table in Section 4.3).
A.4 Current Sink Calibration 1. Select the 0 ~ +5 V (unipolar) output range for the channel to be calibrated. 2. Set all digital input codes to 0. Then adjust VRn (n = 5, 6, 7, 8 depending on what channel is to be calibrated, see prior page) until your ammeter’s reading is 0.00 mA or 4.00 mA (Depending on jumper setting JP1 to JP4, see Section 3.1.1). 3. Set all digital input codes to 1.