background image

www.omega.com  

e-mail: [email protected]

User’s Guide

OME-PCI-1002 

PCI Data Acquisition Board
Hardware Manual

Shop online at

Summary of Contents for OME-PCI-1002

Page 1: ...www omega com e mail info omega com User sGuide OME PCI 1002 PCI Data Acquisition Board Hardware Manual Shop online at ...

Page 2: ...ncourt France TEL 33 0 1 61 37 29 00 FAX 33 0 1 30 57 54 27 Toll Free in France 0800 466 342 e mail sales omega fr Germany Austria Daimlerstrasse 26 D 75392 Deckenpfronn Germany TEL 49 0 7056 9398 0 FAX 49 0 7056 9398 29 Toll Free in Germany 0800 639 7678 e mail info omega de United Kingdom One Omega Drive River Bend Technology Centre ISO 9002 Certified Northbank Irlam Manchester M44 5BD United Ki...

Page 3: ...HARDWARE CONFIGURATION 13 2 1 BOARD LAYOUT 13 2 2 JUMPER SETTING 14 2 3 AD CALIBRATION 14 2 4 SYSTEM BLOCK 15 2 5 DAUGHTER BOARDS 16 2 5 1 OME DB 1825 16 2 5 2 OME DB 8225 16 2 5 3 OME DB 37 16 2 5 4 OME DN 37 16 2 5 5 OME DB 16P Isolated Input Board 17 2 5 6 OME DB 16R Relay Board 18 2 6 ANALOG INPUT SIGNAL CONNECTION 19 2 7 JUMPER SETTING 23 2 8 THE CONNECTORS 24 3 I O REGISTERS 26 3 1 HOW TO FI...

Page 4: ...8 4 4 1 A D Conversion Trigger Modes 40 4 4 2 A D Transfer Modes 40 4 4 3 Software trigger and Polling technique 41 5 SOFTWARE AND DEMO PROGRAM 44 6 DIAGNOSTIC PROGRAM 45 6 1 POWER ON PLUG PLAY TEST 45 6 2 DRIVER PLUG PLAY TEST 45 6 3 D I O TEST 46 6 4 A D TEST 46 4 ...

Page 5: ...olution PGA with programmable gain control of 1 10 100 1000 There are 16 channels of TTL compatible digital output and 16 channels of TTL compatible digital input This series provides three programmable trigger methods software trigger pacer trigger and external trigger The external trigger can be configured as a post trigger pre trigger or external pacer trigger There are also several selectable ...

Page 6: ... 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 Mux Gain 4MHz Interrupt Figure 1 1 The OME PCI 1002 series block diagram 6 ...

Page 7: ... Three different A D trigger methods 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 timer for A D converter and interrupt Timer0 Timer1 7 ...

Page 8: ...6 differential inputs jumper selectable Gain control software programmable OME PCI 1002H Gains 1 10 100 1000 OME PCI 1002L Gains 1 2 4 8 Input signal range OME PCI 1002L Bipolar Range 10 5V 2 5V 1 25V OME PCI 1002H Bipolar Range 10 1V 0 1V 0 01V Input current 250 nA max 125 nA typical at 25 C Over voltage continuous single channel to 70Vp p Input impedance OME PCI 1002H L 1010 Ω 6pF 8 ...

Page 9: ...r Methods Trigger methods 1 Software trigger 2 Pacer trigger 16 bit programmable timer counter 3 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 t End Start External pacer trigger mode External trigger CHn Figure 1 2 Tri...

Page 10: ...upt 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 trigger 4 1 4 6 Programmable Timer Counter Type 82C54 8 programmable timer counter Timers 1 Timer 0 for Pacer trigger and interrupt 2 Timer 1 for External trigger and inte...

Page 11: ...alysis z Energy management z Industrial and laboratory measurement and control Figure 1 4 OME PCI 1002 series multifunction cards OME 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 11 ...

Page 12: ...st In addition to this manual the package includes the following items One OME PCI 1002 card One CD ROM Release Notes The release notes contain the latest information updates We strongly suggest that you read them first 12 ...

Page 13: ...2 Hardware Configuration 2 1 Board Layout JP1 VR1 VR2 VR3 OME PCI 1002L CON2 CON1 CON3 Figure 2 1 OME PCI 1002 board layout 13 ...

Page 14: ...JP1 1 2 2 1 5 6 6 5 Differential Inputs Single ended Inputs Default 2 3 A D Calibration A D Calibration for OME PCI 1002 card Step 1 Apply 10V to channel 0 Step 2 Apply 0V to channel 1 Step 3 Apply 10V to channel 2 Step 4 Run DEMO6 EXE 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 S...

Page 15: ...ace Controller A D Trigger Logic Dispatch controller NVRA A D Buffer D I D O 8254 Timer Multiplexers Gain Amp Scale Adj A D Converter External Trigger Interrupt controller Data Adr PCI BUS Figure 2 2 OME PCI 1002 System Function Block 15 ...

Page 16: ...erminal block for easy signal connection The CJC is connected to A D channel_0 The OME PCI 1002 can connect CON3 direct to the OME DB 8225 through a 37 pin D sub connector Refer to the OME DB 8225 user manual for details 2 5 3 OME DB 37 The OME DB 37 is a general purpose daughter board for boards with D sub 37 pin connectors It is designed for easy wiring 2 5 4 OME DN 37 The OME DN 37 is a DIN rai...

Page 17: ... of a bi directional optocoupler with a resistor for current sensing You can use the OME DB 16P to sense DC signal from TTL levels up to 24V or use the OME DB 16P to sense a wide range of AC signals You can use this board to isolate the computer from large common mode voltage ground loops and transient voltage spike that often occur in industrial environments 17 ...

Page 18: ...g 5 volts to the appropriate relay channel through the 20 pin flat connector can energize the relays Each relay has its own LED that will light when the relay is energized To avoid overloading your PC s power supply the board provides screw terminals for external power Note Channel 16 Form C Relay Relay Switching up to 0 5A at 110ACV or 1A at 24 DCV 18 ...

Page 19: ...p If the card is connected to a source with a common mode voltage greater than 70Vp p the input multiplexer will be permanently damaged When measuring common mode voltage it is best to use an oscilloscope rather than a multi meter Figure 2 3B shows a differential connection to a floating source In such cases a connection should be made between the low channel input and analog ground Figure 2 4 sho...

Page 20: ...Figure 2 3A Figure 2 3B If the source is grounded a second ground connection on the card could result in a ground loop 20 ...

Page 21: ...Figure 2 4 Figure 2 5 21 ...

Page 22: ...hunt resistor converts 4 20mA to 1 5Vdc Signal Shielding z The signal shielding connections in Figure 2 3 to Figure 2 6 are all the same z Use a single connection to frame ground not A GND or D GND Vin OME PCI 1002 A GND D GND Frame Ground 22 ...

Page 23: ... PCI 1002 JP1 is used to select the analog input type For single ended inputs users should connect Pin 1 3 and Pin 2 4 For differential inputs Pin 3 5 and Pin 4 6 should be connected JP1 JP1 1 2 2 1 5 6 6 5 Differential Inputs Single ended Inputs Default 23 ...

Page 24: ... 15 Digital output 14 16 Digital output 15 17 PCB ground 18 PCB ground 19 PCB 5V 20 PCB 12V 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CON2 Digital input connector pin assignment Pin Name Pin Name 1 Digital input 0 2 Digital input 1 3 Digital input 2 4 Digital input 3 5 Digital input 4 6 Digital input 5 17 Digital input 6 8 Digital input 7 9 Digital input 8 10 Digital input 9 11 Digital in...

Page 25: ...7 Analog input 23 7 9 Analog input 8 8 28 Analog input 24 8 10 Analog input 9 9 29 Analog input 25 9 11 Analog input 10 10 30 Analog input 26 10 12 Analog input 11 11 31 Analog input 27 11 13 Analog input 12 12 32 Analog input 28 12 14 Analog input 13 13 33 Analog input 29 13 15 Analog input 14 14 34 Analog input 30 14 16 Analog input 15 15 35 Analog input 31 15 17 Analog ground 36 N C 18 N C 37 D...

Page 26: ...er of OME PCI 1002 cards in the system wBoard 1 Æ only one OME PCI 1002 in this PC system wBoard 2 Æ there are two OME PCI 1002 in this PC system 2 P1002_GetConfigAddressSpace wBoardNo wBase wIrq wPLX Use this function to determine the resources for all cards installed in the system This is used when writing directly to the card s I O addresses wBoardNo 0 to N Æ totally N 1 cards of OME PCI 1002 w...

Page 27: ...gSpace i 1 wIrq save all resource of this card wConfigSpace i 2 wPLX save all resource of this card Step3 control the OME PCI 1002 directly wBase wConfigSpace 0 0 get base address the card_0 outpw wBase 0x20 wDoValue control the D O states of card_0 wDiValue inpw wBase 0x20 read the D I states of card_0 wBase wConfigSpace 1 0 get base address of card_1 outpw wBase 0x20 wDoValue control the D O sta...

Page 28: ...bits 04h 8254 timer2 R W 8 16 32 bits 08h 8254 timer3 R W 8 16 32 bits 0Ch 8254 control register W 8 16 32 bits 10h Analog input channel control register W 8 16 32 bits 10h Status register R 8 16 32 bits 14h Analog input gain control register W 8 16 32 bits 18h General control register W 8 16 32 bits 1Ch A D software trigger W 8 16 32 bits 1Ch Clear Interrupt R 8 16 32 bits 20h Digital output regi...

Page 29: ... Bit3 Bit2 Bit1 Bit0 Not used Interrupt Enable Not used Interrupt Flag Interrupt Select Bit 6 Write an 1 to enable the PCI interrupt and a 0 to disable PCI interrupt Bit 2 This bit is read only A 1 indicates that the Add on has generated an interrupt 0 means that Add on did not generate an interrupt Bit1 0 Always write 1 to these two bits Note 1 Since the OME PCI 1002 supports Plug and Play the in...

Page 30: ... machine independent timer P1002_Dealy function Refer to Intel s Microsystem Components Handbook for detailed programming information 3 2 2 2 The DI DO Register Address 20h is used for DI DO ports Write to this port to send data to the DO register Read from this port to input DI data 3 2 2 3 The A D Buffer Address 30h is used for the A D buffer This is a read only address Reading from this port wi...

Page 31: ...erved Used for hardware testing Bit 1 Analog input type 1 indicated that analog input type is single ended and 0 indicated analog input is differential Bit 0 A D busy signal 0 indicates busy A D is under conversion 1 indicates not busy A D is complete conversion and is idle now 3 2 2 5 The A D Software Trigger Register Writing to port 1Ch will generate an A D trigger signal Note Since the user can...

Page 32: ...te 1 For single ended inputs channels 0 31 are available For differential inputs channels 0 15 are available If you enter a channel number greater than the number available those channels will be ignored Thus for single ended inputs only the last 5 bits are taken as the channel number And for differential inputs only the last 4 bits are taken as the channel number 2 Only the last two digits are us...

Page 33: ...n register A D trigger method selection register 3 2 2 8 1 Interrupt Source Selection There are four interrupt sources selectable for the OME PCI 1002 see section 1 4 4 Bit4 Bit3 Bit2 Description 0 0 0 No interrupt source disable all interrupts 0 0 1 Interrupt after A D conversion completes 0 1 0 Interrupt after 8254 timer 0 falling 0 1 1 Interrupt after external trigger falling 1 0 0 Interrupt af...

Page 34: ...ling edge of the external trigger will generate a single A D trigger 3 The pre trigger mode employs the 8254 timer 1 The user should first configure timer 1 then set the trigger mode to pre trigger Once the pre trigger mode has been activated it will automatically turn on timer 1 and start the A D trigger This will continue until a falling edge from an external trigger signal is received Any chang...

Page 35: ...s 16 digital input channels and 16 digital output channels All signals are TTL compatible The connector and block diagrams are given below CN2 BaseAddr 20h write signal BaseAddr 20h read signal DI port DO port CN1 Local Data Bus D0 D15 Figure 4 1 DIO function diagram 35 ...

Page 36: ...block diagram is given as follows Figure 4 2 8254 Block Diagram 4 3 The A D trigger The block diagram of the A D trigger is shown below Timer 0 Timer 1 Timer Local Data Bus D0 D7 EN EN EN User CLK CLK CLK 4 M Hz OUT1 OUT2 OUT3 VCC Pacer 0 Pacer 1 8254 Status Mux 8254 Timer 1 EN CLK 4M Hz PR RS Q D External Trigger Software Trigger 8254 Timer 0 External Trigger 0 1 Figure 4 3 A D Trigger Controller...

Page 37: ...l Name Minimum Maximum Tdu Duration time 40ns Tre Recover time 100ns Note The OME PCI 1002 is designed only for time sensitive triggers trigger is dependent only on the time of the falling edge of signal For a level sensitive external trigger trigger is dependent on the level of the input signal the user can build the following external circuit the OME PCI 1002 DAC OME PCI 1002 D O Input Signal Co...

Page 38: ...data z A D data register BASE 30h stores the A D conversion data z A D data conversion ready register BASE 10h Check if A D data is ready z A D gain control register BASE 14h select gain z A D multiplexer control register BASE 10h select analog input channel z A D mode control register BASE 0Ch select trigger type and transfer type z A D software trigger control register BASE 1Ch z JP1 select sing...

Page 39: ...s suggested for all ranges of the OME PCI 1002L The settling time for the OME PCI 1002H is based on the analog input range The table below shows the suggested settling times for each range OME PCI 1002L Settling Time 33 µseconds for all ranges OME PCI 1002H Settling Time Input Range Settling Time 10V 23 µS 5V 28 µS 0 1V 140 µS 0 01V 1300 µS The software driver provides a machine independent timer ...

Page 40: ...is applied an A D conversion will be performed The external trigger source comes from Pin 17 of CON3 4 4 2A D Transfer Modes OME PCI 1002 supports two transfer modes 1 polling transfer This mode can be used with all trigger modes You must disable timer 0 before polling The A D data can be read from the register at BASE 30h Before reading the data first check the A D ready bit at register BASE 10h ...

Page 41: ...igh byte data until READY 0 6 Read the 12 bits A D data 7 Convert the 12 bits binary data to the floating point value For example DEMO 3 AdPolling Compiler Borland C 3 1 Mode Large Output Code HEX code include P1002 H WORD wBaseAddr wIrq WORD P1002_Delay WORD wDownCount WORD h l int count wDownCount 0x7fff if wDownCount 1 wDownCount 1 Clock in 4M count 4000 1 ms count 1 0 25 us l wDownCount 0xff w...

Page 42: ...UCHAR gain WORD delay outp wBaseAddr 0x18 0 Select Mode 0 outp wBaseAddr 0x10 channel outp wBaseAddr 0x14 gain P1002_Delay delay outp wBaseAddr 0x1c 01 A D software tirgger void SetupTimer WORD wChannel WORD wCoef WORD cmd wChannel wChannel 0x03 cmd 0x34 wChannel 6 outpw wBaseAddr 3 4 cmd outp wBaseAddr wChannel 4 UCHAR wCoef 0xff outp wBaseAddr wChannel 4 UCHAR wCoef 8 void main int i j WORD wBoa...

Page 43: ...aseAddr wIrq wPLX printf n Card_ d wBaseAddr x wIrq x wPLX x i wBaseAddr wIrq wPLX P1002_GetConfigAddressSpace 0 wBaseAddr wIrq wPLX select card_0 printf n 3 Card_0 wBaseAddr x n wBaseAddr SetupTimer 0 1 AdPolling have to disable timer 0 AdPolling 0 0 23 channel 0 gain 10 delay 23us for i 0 i 10 i outp wBaseAddr 0x1c 01 A D software tirgger while 1 if inpw wBaseAddr 0x10 0x01 1 check A D busy brea...

Page 44: ...ry and driver DEMO1 Digital output DEMO2 Digital output and Digital input test by itself DEMO3 A D Polling for channel 0 DEMO4 A D Polling for channel 0 1 2 3 and defferent gain 1 2 4 8 DEMO5 A D Pacer trigger DEMO6 A D Calibration DEMO7 Find card number 2 Demo program for Windows95 98 NT Refer to CD ROM 44 ...

Page 45: ...ll be a PCI device with vendor_ID 1234 device_ID 1002 OME PCI 1002 If the Plug Play ROM BIOS successfully detects the OME PCI 1002 card during the power on state the DOS and Windows software driver will also be able to detect the card If the Plug Play ROM BIOS can not find the OME PCI 1002 the software driver will not function Therefore the user must make sure that the power on detection is correc...

Page 46: ...ble between CON1 CON2 Step 3 Power on the PC then run DEMO2 EXE Step 4 The DO and DI are displayed as TEST OK or TEST ERROR 6 4 A D Test A D Test for OME PCI 1002 card Step 1 Power off the PC Step 2 Install one OME PCI 1002 card Step 3 Power on PC run DEMO6 EXE Step 4 Apply 10V to channel 0 Step 5 Apply 0V to channel 1 Step 6 Apply 10V to channel 2 Step 7 Run DEMO6 EXE Step 8 Check channel 0 fff o...

Page 47: ...e shall not exceed the purchase price of the component upon which liability is based In no event shall OMEGA be liable for consequential incidental or special damages CONDITIONS Equipment sold by OMEGA is not intended to be used nor shall it be used 1 as a Basic Component under 10 CFR 21 NRC used in or with any nuclear installation or activity or 2 in medical applications or used on humans Should ...

Page 48: ...ocity Indicators Turbine Paddlewheel Systems Totalizers Batch Controllers pH CONDUCTIVITY pH Electrodes Testers Accessories Benchtop Laboratory Meters Controllers Calibrators Simulators Pumps Industrial pH Conductivity Equipment DATA ACQUISITION Data Acquisition Engineering Software Communications Based Acquisition Systems Plug in Cards for Apple IBM Compatibles Datalogging Systems Recorders Print...

Reviews: