ICPDAS PCI-1002H, PCI-1002L User Manual

PCI-1002
User’s Manual
Warranty
All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, nor for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright ©1998~1999 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their
respective companies.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 1
Table of Contents
1. INTRODUCTION.................................................................................................................................4
1.1 GENERAL DESCRIPTION ...................................................................................................4
1.2 THE BLOCK DIAGRAMS ...................................................................................................... 5
1.3 FEATURES......................................................................................................................... 6
1.4 SPECIFICATIONS................................................................................................................7
1.4.1 Power Consumption:............................................................................................................7
1.4.2 Analog Inputs.........................................................................................................................7
1.4.3 D/I and D/O............................................................................................................................ 8
1.4.4 A/D Trigger Methods.............................................................................................................8
1.4.5 Interrupt Channel .................................................................................................................. 9
1.4.6 Programmable Timer/Counter............................................................................................. 9
1.5 APPLICATIONS.................................................................................................................10
1.6 PRODUCT CHECKLIST...................................................................................................... 11
2. HARDWARE CONFIGURATION................................................................................................... 12
2.1 BOARD LAYOUT...............................................................................................................12
2.2 JUMPER SETTINGS .......................................................................................................... 13
2.3 AD CALIBRATION.............................................................................................................13
2.4 SYSTEM BLOCK ...............................................................................................................14
2.5 DAUGHTER BOARDS ........................................................................................................ 15
2.5.1 DB-1825 ............................................................................................................................... 15
2.5.2 DB-8225 ............................................................................................................................... 15
2.5.3 DB-37....................................................................................................................................15
2.5.4 DN-37.................................................................................................................................... 15
2.5.5 DB-16P Isolated Input Board............................................................................................. 16
2.5.6 DB-16R Relay Board.......................................................................................................... 17
2.6 ANALOG INPUT SIGNAL CONNECTIONS.............................................................................. 18
2.7 THE CONNECTORS ..........................................................................................................22
3. I/O REGISTER ADDRESS..............................................................................................................24
3.1 HOW TO FIND THE I/O ADDRESS.......................................................................................24
3.2 THE I/O ADDRESS MAP.................................................................................................... 26
3.2.1 Section 1............................................................................................................................... 27
3.2.2 Section 2............................................................................................................................... 28
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 2
4. FUNCTION OPERATIONS..............................................................................................................33
4.1 DIGITAL I/O..................................................................................................................... 33
4.2 THE 8254 TIMER............................................................................................................. 34
4.3 THE A/D TRIGGER ........................................................................................................... 34
4.4 A/D CONVERSION............................................................................................................ 36
4.4.1 A/D Conversion Trigger Modes......................................................................................... 38
4.4.2 A/D Transfer Modes............................................................................................................ 38
4.4.3 Software triggers and Polling techniques........................................................................39
5. SOFTWARE AND DEMO PROGRAM.......................................................................................... 42
6. DIAGNOSTIC PROGRAM............................................................................................................... 43
6.1 POWER-ON PLUG & PLAY TEST....................................................................................... 43
6.2 DRIVER PLUG & PLAY TEST .............................................................................................43
6.3 D I/O TEST......................................................................................................................44
6.4 A/D TEST........................................................................................................................ 44
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 3
1. Introduction
The PCI-1002H/L card provides 12-bit ADC and two 16-bit digital I/O ports.
1.1 General Description
The PCI-1002L and PCI-1002H are high performance multifunction cards, with both A/D and digital I/Os in a 5V PCI slot. This family features one 12-bit 125K A/D converter, 16-channel D/I, 16-channel D/O, a programmable interrupt source and support truly “Plug and Play”. PCI-1002H/L provides either 32-channel, single-ended analog inputs or 16-channel differential analog inputs which are jumper selectable. The input channel number is also easily programmable with our software. The PCI-1002L, Our low-gain model, is equipped with a high speed PGA (programmable gain amp.) featuring programmable gain control (1,2,4,8). PCI-1002H is our high-gain model, equipped with a high-gain/high-resolution PGA with programmable gain control (1,10,100,1000). There are 16 channels of TTL­compatible digital output ports and 16 channel of TTL-compatible digital input ports. This series provides three programmable trigger methods: software trigger, pacer trigger and external trigger. The external trigger control can also be programmed into a post-trigger, pre-trigger, or external pacer trigger mode. There are also several interrupt sources: A/D conversion interrupt, pacer interrupt, external interrupt. This multifunction card also provides an A/D buffer and a high data transfer rate: 2.7M words per second in non-burst mode. This powerful A/D control mechanism offers the largest flexibility for various kinds of usage and the least I/O overhead for your system!! PCI-1002 series fully support “Plug and Play” under your system, and can operate even on full speed of a PCI bus (33MHz). This important feature fits the latest version of computer I/O system and yields the best performance. The low cost and extensive features of this series make it especially useful for any cost-effective application.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 4
1.2 The Block Diagrams
Here’s the block diagram of PCI-1002:
X86 System
P
C
I
B
U
S
PCI Interface System
EPROM
Local System Controller
Status
Control
16 bits DI 16 bits DO
Pacer
Generator
A/D
Data
Buffer
Analog Inputs
Digital Outputs
Digital Inputs
A/D control logic
12-bit A/D Converter
MuxGain
4MHz
Interrupt
Figure 1-1. The PCI-1002 series block diagram.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 5
1.3 Features
The following is a list of general features for the PCI-1002 series. Check section 1.4 for more details.
Bus: 5V PCI (Peripherals Component Interface) bus.
1. A/D:
One A/D converter with maximum 110Ksamples/second.
32 single-ended / 16 differential programmable inputs for PCI-1002L/H.
Provides three different A/D trigger methods.
Provides three different external trigger methods.
Programmable gain control, programmable offset control.
2. DIO:
16 digital inputs and 16 digital outputs (TTL compatible) .
High speed data transfer rate: 2.7M word/sec (non-burst mode).
3. Timer:
One 16-bit machine independent timer for software (Timer 2).
Two 16-bit pacer timers for A/D converter and interrupt (Timer0, Timer1).
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 6
1.4 Specifications
1.4.1 Power Consumption:
+5V @960mA maximum, PCI-1002L/H
Operating temperature: 0°C ~ +70°C
1.4.2 Analog Inputs
Channels:( software programmable)
32 single-ended inputs/16 differential inputs, jumper selectable.
Gain control: (software programmable)
PCI-1002H: 1,10,100,1000.
PIC-1002L: 1,2,4,8.
Input signal ranges:
PCI-1002L: Bipolar, with range of ±10V, ±5V, ±2.5V, ±1.25V PCI-1002H: Bipolar, with range of ±10V, ±1V, ±0.1V, ±0.01V
Input current: 250 nA max (125 nA typical) at 25 °C.
Maximum voltage: continuous single channel to 70Vp-p
Input impedance:
PCI-1002H/L: 1010Ω // 6pF
Settling time
1002L --> 3 us for all input range 1002H -->23 us for +/- 10V input range
28 us for +/- 1V input range 140us for +/-0.1V input range 1300us for +/-0.01V input range
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 7
1.4.3 D/I and D/O
Channels: 16-channel DI, 16-channel DO.
DO: Digital output port
Output level: TTL compatible
Output current: Ioh = 0.5mA,Iol = 8mA
DI: Digital input port
Input level: TTL compatible
Input current: 50uA (max).
1.4.4 A/D Trigger Methods
Trigger methods:
Software trigger. Pacer trigger: 16-bit programmable timer/counter. External trigger: Pre-trigger, Post-trigger, external Pacer trigger.
External trigger
t
Start End
Post-trigger mode
CHn
External trigger
Start End
CHn
Pre-trigger mode
t
t
Start End
Normal trigger mode
CHn
Pacer or software trigger
CHn
External trigger
End Start
External pacer trigger mode
t
Figure 1-2. Trigger methods of PCI-1002.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 8
1.4.5 Interrupt Channel
Interrupt: INTA (Automatically assigned by PCI-initiator).
Enable/Disable: Via PCI control register and add-on control register.
Interrupt source: (Selected by on-board control register)
1. A/D conversion interrupt.
2. Pacer 0 interrupt (Timer 0).
3. Pacer 1 interrupt (Timer 1).
4. External interrupt.
Figure 1-3. Programmable interrupt source.
A/D busy
IRQ
End of Conversion
1.
Pacer 0
IRQ
Falling edge of Pacer 0
2.
Pacer 1
IRQ
Falling edge of Pacer 1
3.
External
Trigger
IRQ
Falling edge of
External tri
gger
4.
1.4.6 Programmable Timer/Counter
Type: 82C54 -8 programmable timer/counter.
Timers: Timer 0 for Pacer trigger and interrupt.
Timer 1 for External trigger and interrupt.
Timer 2 for software machine independent timer.
Input Clock: 4 M Hz.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 9
1.5 Applications
z Signal analysis. z FFT & frequency analysis. z Transient analysis. z Speech analysis. z Temperature monitor. z Vibration analysis. z Energy management. z Other industrial and laboratory measurement and control.
Figure 1-4. PCI-1002 series multifunction cards.
PCI-1002 series
Signal Analysis
Temperature
Speech Analysis
Transition
Frequency
Vibration
Process Monitor
Other Laboratory
use
Multi-I/O signals
PCI interface
Single-task or multitask
Process Control
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 10
1.6 Product Checklist
In addition to this manual, the package includes the following items:
One PCI-1002 card
One ICP-DAS floppy diskette or CD-ROM
One release note
It is recommended to read the release note first. The following important information will be given in the release note:
1. Where you can find the software driver & utility
2. How to install software & utility
3. Location of the diagnostic program
4. FAQ
Attention!
If any of these items are missing or damaged, please contact
your local field agent. Save the shipping materials and carton in
case you want to ship or store the product in the future.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 11
2. Hardware Configuration
2.1 Board Layout
JP1
VR1
VR2
VR3
CON3
CON1 CON2
PCI-1002L REV:B
Figure 2-1. PCI-1002 board layout.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 12
2.2 Jumper Settings
The PCI-1002 has only one jumper. JP1 is used to select the analog input type. For single-ended inputs, users should connected Pins 1&3 and Pins 2&4. For differential inputs, Pins 3&5 and Pins 4&6 should be connected.
JP1
Single-ended
Inputs (Default
JP1
2.3 AD Calibration
)
2
6
1
5
Differential
Inputs
1
5
6
2
AD Calibration for PCI-1002 card
Step 5: Adjust VR1 until channel 0 = fff or ffe Step 6: Adjust VR2 until channel 1 = 800 or 801 Step 7: Adjust VR3 until channel 2 = 000 or 001 Step 8: Repeat Step 4, Step 5, Step 6 until all are Ok.
VR1, VR2, VR3
Step 4: Run DEMO6.EXE.
Step 3: Apply -10V to channel 2.
Step 2: Apply +0V to channel 1.
Step 1: Apply +10V to channel 0.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 13
2.4 System Block
D/I
D/O
8254 Tim
A/D Buffer
er
A/D
Trigger
Logic
PCI
Interface
Controller
Dispatch
controller
NVRA
Multiplexers,
Gain Amp.
Scale Adj.
A/D
Converter
External Trigger
Interrupt
controller
Data
Ad
r
PCI BUS
Figure 2-2. PCI-1002 System Function Block.
PCI-1002 User’s Manual (Ver. 2.4, Mar./2004, PPH-015-24) ---- 14
Loading...
+ 30 hidden pages