PCI-1713 User Manual

PCI-1713
32-ch Isolated Analog Input Card
User Manual
Copyright
The documentation and the software included with this product are copyrighted 2006 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. However, Advantech Co., Ltd. assumes no responsibility for its use,
nor for any infringements of the rights of third parties, which may result
from its use.
Acknowledgements
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of
Microsoft Corp.
All other product names or trademarks are properties of their respective
owners.
Part No. 2003171300
2nd Edition
Printed in Taiwan
January 2006
PCI-1713 User Manual
ii
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. Advantech assumes no liability under the terms of this warranty as
a consequence of such events.
Because of Advantech’s high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an
Advantech product is defective, it will be repaired or replaced at no
charge during the warranty period. For out-of-warranty repairs, you will
be billed according to the cost of replacement materials, service time and
freight. Please consult your dealer for more details.
If you think you have a defective product, follow these steps:
1.
Collect all the information about the problem encountered. (For
example, CPU speed, Advantech products used, other hardware
and software used, etc.) Note anything abnormal and list any
onscreen messages you get when the problem occurs.
2.
Call your dealer and describe the problem. Please have your manual, product, and any helpful information readily available.
3.
If your product is diagnosed as defective, obtain an RMA (return
merchandize authorization) number from your dealer. This allows
us to process your return more quickly.
4.
Carefully pack the defective product, a fully-completed Repair and
Replacement Order Card and a photocopy proof of purchase date
(such as your sales receipt) in a shippable container. A product
returned without proof of the purchase date is not eligible for warranty service.
5.
Write the RMA number visibly on the outside of the package and
ship it prepaid to your dealer.
iii
Declaration of Conformity
CE
This product 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.
Technical Support and Assistance
Step 1. Visit the Advantech web site at www.advantech.com/support
where you can find the latest information about the product.
Step 2. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional
assistance. Please have the following information ready before
you call:
- Product name and serial number
- Description of your peripheral attachments
- Description of your software (operating system, version, application software, etc.)
- A complete description of the problem
- The exact wording of any error messages
PCI-1713 User Manual
iv
Safety Instructions
1.
Read these safety instructions carefully.
2.
Keep this User's Manual for later reference.
3.
Disconnect this equipment from any AC outlet before cleaning.
Use a damp cloth. Do not use liquid or spray detergents for cleaning.
4.
For plug-in equipment, the power outlet socket must be located
near the equipment and must be easily accessible.
5.
Keep this equipment away from humidity.
6.
Put this equipment on a reliable surface during installation. Dropping it or letting it fall may cause damage.
7.
The openings on the enclosure are for air convection. Protect the
equipment from overheating. DO NOT COVER THE OPENINGS.
8.
Make sure the voltage of the power source is correct before connecting the equipment to the power outlet.
9.
Position the power cord so that people cannot step on it. Do not
place anything over the power cord.
10.
All cautions and warnings on the equipment should be noted.
11.
If the equipment is not used for a long time, disconnect it from the
power source to avoid damage by transient overvoltage.
12.
Never pour any liquid into an opening. This may cause fire or electrical shock.
13.
Never open the equipment. For safety reasons, the equipment
should be opened only by qualified service personnel.
14.
If one of the following situations arises, get the equipment checked
by service personnel:
a. The power cord or plug is damaged.
b. Liquid has penetrated into the equipment.
c. The equipment has been exposed to moisture.
d. The equipment does not work well, or you cannot get it to work
according to the user's manual.
e. The equipment has been dropped and damaged.
f. The equipment has obvious signs of breakage.
15.
DO NOT LEAVE THIS EQUIPMENT IN AN ENVIRONMENT
WHERE THE STORAGE TEMPERATURE MAY GO BELOW v
20° C (-4° F) OR ABOVE 60° C (140° F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A
CONTROLLED ENVIRONMENT.
16.
CAUTION: DANGER OF EXPLOSION IF BATTERY IS
INCORRECTLY REPLACED. REPLACE ONLY WITH THE
SAME OR EQUIVALENT TYPE RECOMMENDED BY THE
MANUFACTURER, DISCARD USED BATTERIES ACCORDING TO THE MANUFACTURER'S INSTRUCTIONS.
The sound pressure level at the operator's position according to IEC 7041:1982 is no more than 70 dB (A).
DISCLAIMER: This set of instructions is given according to IEC 704-1.
Advantech disclaims all responsibility for the accuracy of any statements
contained herein.
PCI-1713 User Manual
vi
Contents
Chapter
1 Overview .......................................................... 2
1.1
1.2
1.3
1.4
Chapter
2 Installation ....................................................... 8
2.1
2.2
2.3
Chapter
Chapter
Introduction ....................................................................... 2
Features ............................................................................. 3
Specifications .................................................................... 3
Block Diagram .................................................................. 5
Initial Inspection................................................................ 8
Unpacking ......................................................................... 8
Installation Instructions ..................................................... 9
3 Signal Connections ........................................ 12
3.1
3.2
Overview ......................................................................... 12
I/O Connector.................................................................. 12
3.3
Analog Input Connections............................................... 14
3.4
Field Wiring Considerations ........................................... 17
Figure 3.1:I/O Connector Pin Assignments ................. 13
Figure 3.2:Single-ended Input Ch. ............................... 14
Figure 3.3:Differential Input Ch. - Grounded .............. 15
Figure 3.4:Differential Input Ch. - Floating ................ 16
4 Calibration ..................................................... 20
4.1
4.2
Introduction ..................................................................... 20
VR Assignments.............................................................. 20
4.3
A/D Calibration ............................................................... 21
Figure 4.1:PCL-1713 VR Assignments ....................... 20
vii
Table of Contents
PCI-1713 User Manual
viii
CHAPTER
1
2
Overview
Sections include:
• Introduction
• Features
• Specifications
• Block Diagram
Chapter 1 Overview
1.1 Introduction
The PCI-1713 is a 12-bit 32-channel analog input card for the PCI bus. It
provides 32 analog input channels with a sampling rate up to 100k samples/s, 12-bit resolution and isolation protection of 2500 VDC.
PCI-bus Plug and Play
The PCI-1713 uses a PCI controller to interface the card with the PCI bus.
The controller fully implements the PCI bus specification Rev 2.1. All
bus relative configurations, such as base address and interrupt assignment, are automatically controlled by software.
Flexible Input Types and Range Settings
The PCI-1713 features an automatic channel/gain scanning circuit. The
circuit, rather than your software, controls multiplexer switching during
sampling. The on-board SRAM stores different gain values and configurations for each channel. This design lets you perform multi-channel
sampling with different gains for each channel and with free combination
of single-ended and differential inputs.
High-speed Data Acquisition
The PCI-1713 provides a sampling rate up to 100k samples/s. It has an
on-board FIFO buffer, which can store up to 4K A/D samples and generates an interrupt signal when the FIFO is half full. This feature provides
continuous high-speed data transfer and more predictable performance on
Windows systems.
Supports S/W, Internal and External Pacer Triggering
The PCI-1713 supports three kinds of trigger modes for A/D conversion:
software triggering, internal pacer triggering and external pacer triggering. The software trigger allows users to acquire a sample when it is
needed; the internal pacer triggers continuous high-speed data acquisition. The PCI-1713 also accepts external trigger sources, allowing synchronous sampling with external devices.
PCI-1713 User Manual
2
Satisfies the Need for Isolation Protection
The PCI-1713 provides optical isolation protection of 2500 VDC
between the inputs and the PC bus to protect the PC and peripherals from
damage due to high voltages on the input lines. It is ideal for the situations where budget-conscious users require flexibility, stability and a high
level of isolation protection for their data acquisition system.
1.2 Features
• 32 single-ended or 16 differential analog inputs, or a combination
• 12-bit A/D converter, with up to 100 kHz sampling rate
• Programmable gain for each input channel
• Automatic channel/gain scanning
• Onboard 4K samples FIFO buffer
• Programmable pacer
1.3 Specifications
Analog Input:
• Channels: 32 single-ended or 16 differential (software programmable)
• Resolution: 12-bit
• Onboard FIFO: 4K samples
• Conversion time: 2.5 µs
Input Range:
• Bipolar: ±10 V, ±5 V, ±2.5 V, ±1.25 V, ±0.625 V
• Unipolar: 0 ~10 V, 0 ~ 5 V, 0 ~ 2.5 V, 0 ~ 1.25 V
• Maximum Input Overvoltage: ±30 V
• Common Mode Rejection Ratio (CMRR)
Gain
CMRR
0.5, 1
75dB
2
80dB
4
84dB
8
84dB
• Maximum sampling rate: 100 kHz
3
Chapter 1
• Accuracy: (depending on gain)
Gain
Accuracy
0.5, 1
0.01% of FSR±1LSB
2
0.02% of FSR±1LSB
4
0.02% of FSR±1LSB
8
0.04% of FSR±1LSB
• Linearity error: ±1 LSB
• Drift: Typical 30 PPM / °C ( 0 ~ 60 °C )
• Input impedance: 1 GW
• Trigger mode: Software, on-board programmable pacer or external
• Trigger Input: TTL level
Programmable Timer/Counter
• Counter chip: 82C54 or equivalent
• Counters: 3 channels, 16 bits
2 channels are permanently configured as programmable pacers;
1 channel is un-used.
• Time base:
Channel 1: 10 MHz
Channel 2: Takes input from output of channel 1
Channel 0: un-used.
General:
• I/O Connector: 37-pin D-type female connector
• Dimensions: 175 mm x 100 mm (6.9” x 3.9”)
• Power consumption:+5 V @ 850 mA (Typical),
• +5 V @ 1.0 A (Max.)
• Operating temperature: 0 ~ +60 °C (32 ~ 140 °F)
• Storage temperature: -20 ~ +70 °C (-4 ~ 158 °F)
• Operating humidity: 5 ~ 95%RH non-condensing
• MTBF: over 85,310 hrs @ 25 °C, grounded, fixed environment
PCI-1713 User Manual
4
1.4 Block Diagram
5
Chapter 1
PCI-1713 User Manual
6
CHAPTER
2
2
Installation
Sections include:
• Initial Inspection
• Unpacking
• Installation Instructions
Chapter 2 Installation
2.1 Initial Inspection
Before installing the PCI-1713, check the card for visible damage. We
have carefully inspected the card both mechanically and electrically
before shipment. It should be free of marks and in perfect order upon
receipt.
As you unpack the PCI-1713, check it 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. Also, call the carrier immediately and retain the shipping carton and packing materials for inspection by the carrier. We will
then make arrangements to repair or replace the unit.
2.2 Unpacking
The PCI-1713 contains components that are sensitive and vulnerable to
static electricity. Discharge any static electricity on your body to ground
by touching the back of the system unit (grounded metal) before you
touch the board.
Remove the PCI-1713 card from its protective packaging by grasping the
card's rear panel. Handle the card only by its edges to avoid static discharge which could damage its integrated circuits. Keep the antistatic
package. Whenever you remove the card from the PC, protect the card by
storing it in this package.
You should also avoid contact with materials that hold static electricity
such as plastic, vinyl and styrofoam.
Check the product contents inside the packing. There should be one card,
one CD-ROM, and this manual. Make sure nothing is missing.
PCI-1713 User Manual
8
2.3 Installation Instructions
The PCI-1713 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 /other cables from the back of the computer.
3. Remove the cover of the computer.
4. Select an empty +5 V PCI slot. Remove the screw that secures the
expansion slot cover to the system unit. Save the screw to secure the
interface card retaining bracket.
5. Carefully grasp the upper edge of the PCI-1713. Align the hole in the
retaining bracket with the hole on the expansion slot and align the gold
striped edge connector with the expansion slot socket. Press the card
into the socket gently but firmly. Make sure the card fits the slot
tightly.
6. Secure the PCI-1713 by screwing the mounting bracket to the back
panel of the computer.
7. Attach any accessories (D-type cable, terminal board, etc.) to the card.
8. Replace the cover of your computer. Reconnect any cables.
9. Turn the computer power on.
9
Chapter 2
PCI-1713 User Manual
10
CHAPTER
3
2
Signal Connections
Sections include:
• Overview
• I/O Connector
• Analog Input Connections
• Field Wiring Considerations
Chapter 3 Signal Connections
3.1 Overview
Correct signal connections are one of the most important factors in ensuring that your application system is sending and receiving data correctly.
A good signal connection can avoid much unnecessary and costly damage to your valuable PC and other hardware devices. This chapter will
provide some useful information about how to connect analog input signals to the PCI-1713 card via the I/O connector.
3.2 I/O Connector
The I/O connector for the PCI-1713 card is a 37-pin D-type connector
which you can connect to 37-pin D-type accessories with Advantech's
PCL-10137 cable.
Note!: The PCI-1713 does not include the PCL-10137 cable assembly.
The following figure shows the pin assignments for the 37-pin I/O connector on the PCI-1713 card.
PCI-1713 User Manual
12
Figure 3.1: I/O Connector Pin Assignments
13
Chapter 3
I/O Connector Signal Descriptions
A/D code
Mapping Voltage
Hex.
Dec.
Bipolar ±5V
Unipolar 0 to
10V
000h
0
-4.9971V
0V
7FFh
2047
-0.0024V
4.9947V
800h
2048
0V
4.9971V
FFFh
4095
+4.9947V
9.9918V
3.3 Analog Input Connections
This section continues to describe how to make analog input signal connections to the PCI-1713 card via the I/O connector.
Single-ended Channel Connections
The single-ended input configuration has only one signal wire for each
channel, and the measured voltage (Vm) is the voltage of the wire
referred to the common ground.
A signal source without a local ground is also called a “floating source”.
It is fairly simple to connect a single-ended channel to a floating signal
source. In this mode, the PCI-1713 card provides a reference ground for
external floating signal sources.
Internal
External
AI0
AI1
+
Multiplexers
AI31
+
PGIA
+
_
Measured
Vm
Voltage
GND
_
I/O Connector
Figure 3.2: Single-ended Input Ch.
PCI-1713 User Manual
14
Vs
_
Floating
Signal
Source
Differential Channel Connections
The differential input configuration has two signal wires for each channel, and the differential input responds only to voltage differences
between High and Low inputs. On the PCI-1713 card, when all channels
are configured to differential input, up to 16 analog channels are available.
Internal
External
AI0
AI2
Multiplexer
+
PGIA
Measured
Voltage
GroundReferenced
Signal
Source
AI30
AI1
_
AI3
Multiplexer
AI31
GND
I/O Connector
Figure 3.3: Differential Input Ch. - Grounded
If one side of the signal source is connected to a local ground, the signal
source is ground-referenced. The ground of the signal source and the
ground of the PCI-1713 will not be at exactly the same voltage, as they
are connected through the ground return of the equipment and building
wiring. The difference between the ground voltages forms a commonmode voltage (Vcm).
To avoid the ground loop noise effect caused by common-mode voltages,
you can connect the signal ground to the Low input. Figure 3-3 shows a
differential channel connection between a ground-referenced signal
source and an input channel on the PCI-1713 card. With this connection,
the PGIA rejects a common-mode voltage Vcm between the signal source
and the PCI-1713 ground, shown as Vcm in Figure 3-3.
15
Chapter 3
Figure 3.4: Differential Input Ch. - Floating
If a floating signal source is connected to the differential input channel,
the signal source may exceed the common-mode signal range of the
PGIA, and the PGIA will be saturated with erroneous voltage-readings.
You must therefore reference the signal source to the AIGND.
Figure 3-4 shows a differential channel connection between a floating
signal source and an input channel on the PCI-1713 card. In this figure,
each side of the floating signal source is connected through a resistor to
the AIGND. This connection can reject the common-mode voltage
between the signal source and the PCI-1713 card ground.
PCI-1713 User Manual
16
External Trigger Source Connection
In addition to pacer triggering, the PCI-1713 card also allows external
triggering for A/D conversions. A low-to-high edge coming from
EXT_TRG will trigger an A/D conversion on the PCI-1713 board.
Note!:Don't connect any signal to the EXT_TRG pin when the external
trigger function is not being used.
Note!: If you use external triggering for A/D conversions, we recommend you choose differential mode for all analog input signals, so as to
reduce the cross-talk noise caused by the external trigger source.
3.4 Field Wiring Considerations
When you use the PCI-1713 card to acquire outside data, environmental
noise can seriously affect the accuracy of your measurements if you don’t
provide any protection. The following suggestions will be helpful when
running signal wires between signal sources and the PCI-1713 card.
•
Please make sure that you have carefully routed signal cables to the
card. You must separate the cabling from noise sources. Try to keep
video monitors far away from the analog signal cables, because
these are a common noise source in a PCI data acquisition system.
•
If you want to reduce common-mode noise, try to use differential
analog input connections.
•
If you do not want your signals to be affected when travelling
through areas with high electromagnetic interference or large magnetic fields, try the following routing techniques: Use
individually shielded, twisted-pair wires to connect analog input
signals to the board, i.e. the signals connected to the High and Low
inputs aretwisted together and covered with a shield. Finally,
connect the shield only to one point at the signal source ground.
•
Make sure that your signal lines do not travel through conduits,
because these may contain power lines. Also, keep your signals far
from electric motors, breakers or welding equipment, as these can
create magnetic fields.
•
Keep a reasonable distance between high-voltage (or high-current)
lines and signal cables connected to the PCI-1713 card if the cables
run parallel, or route signal cables at right angles to high voltage/
current cables.
17
Chapter 3
PCI-1713 User Manual
18
CHAPTER
4
2
Calibration
Sections include:
• Introduction
• VR Assignments
• A/D Calibration
Chapter 4 Calibration
4.1 Introduction
Regular calibration checks are important to maintain accuracy in data
acquisition and control applications. To assist users in the A/D calibration process, we provide the Advantech Device Manager, on the PCI1713 software CD-ROM.
The Advantech Device Manager makes A/D calibrations easy. It leads
you through the calibration and setup procedure with a variety of prompts
and graphic displays, showing you all of the correct settings and adjustments. This chapter offers a brief guide to these calibration programs.
To perform a satisfactory calibration, you need a 41/2-digit digital multimeter and a voltage calibrator or a stable, noise free D. C. voltage source.
4.2 VR Assignments
There are four variable resistors (VRs) on the PCL-1713 card. They help
you to make accurate adjustments on all A/D channels. Please refer to the
following figure for VR positions.
VR4
VR1 VR2 VR3
PCI-1713
TP1
REV.A1
01-6
CN1
Figure 4.1: PCL-1713 VR Assignments
PCI-1713 User Manual
20
The following list shows the function of each VR:
VR
Function
VR1 A/D full scale (gain)
VR2 A/D bipolar offset
VR3 A/D unipolar offset
VR4 PGIA initial offset
TP1 PGIA output
4.3 A/D Calibration
1.
Connect Pin1 to Pin9 and measure the output as "V1" from TP1.
21
Chapter 4
2.
Adjust VR4 until | V1 – V2 | < 0.05mV. For example, if the V1 is
0.1mV in the beginning and you get V2 as 0.02mV after adjusting
the VR4, you have to adjust the VR4 again.
3.
Input -5V to AI0 by signal generator and check if the "Decimal"
flickers between 0 and 1. For example, it is 3 for my calibration, so
I have to adjust the VR2.
PCI-1713 User Manual
22
4.
Input 5V to AI0 by signal generator and check if the "Decimal"
flickers between 4094 and 4095.
5.
Input 5V to AI1 by signal generator and check if the "Decimal"
flickers between 2047 and 2048.
Calibration finished.
23
Chapter 4
A/D code
Mapping Voltage
Hex.
Dec.
Bipolar ±5V
Unipolar 0 to
10V
000h
0
-4.9971V
0V
7FFh
2047
-0.0024V
4.9947V
800h
2048
0V
4.9971V
FFFh
4095
+4.9947V
9.9918V
PCI-1713 User Manual
24