Advantech PCI DAQ Card Training

Slides:



Advertisements
Similar presentations
PV String Monitoring Solution
Advertisements

1 Series V4T 1/4 DIN Temperature Controllers. 2 3 Watlows Next Generation Styling Series 97 Matching 1/16 DIN Limit Controller Series F4S and F4D Ramping.
S o f t w a r e D e f i n e d R a d i o
TR6850系统介绍 TR-6850测试系统是针对电源管理和混合信号的集成电路测试所特别设计。
150 E. Arrow Hwy. San Dimas, CA
Schutzvermerk nach DIN 34 beachten XControl XC100 + XI/OC I/O-Modules + XVision Text-Display The convincing machine and system control by Moeller XControl.
D. Wei, Y. Huang, B. Garlepp and J. Hein
Crown XTi Control Click the Crown Logo at the top of any the screen to return to this Menu Interactive Main Menu Interactive Front Panel Display Updating.
AD-340 Universal Audio Delay Processor Compatible with Analog and a wide range of Digital Audio formats SPDIF (digital audio) input and output and Stereo.
MP200 Presentation MICRO-BIT TECHNOLOGY, INC..
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
ECE 495: Integrated System Design I
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 35 – Buses.
SPiiPlus Feedback Tuning
Lesson 2 Navigating LabVIEW
Crown CDi Series Control Click the Crown Logo at the top of any the screen to return to this Menu Interactive Main Menu Interactive Front Panel Display.
DAQmx下多點(Multi-channels)訊號量測
SITOP power facets A&D SE PS SITOP power Automation and Drives SITOP power flexi The power pack handles it all - from 3 to 52V SITOP power.
EEG Probe Project Grant G. Connell. EEG Probe Project Design Objectives –Investigate BCI for severely handicapped individuals –Use time, frequency, and.
Interfacing to the Analog World
Practical Considerations for Digital Design
Nokia 30 technical specification
CommentaryVideo Hi, my name is Edward Guillergan and I’m one of AMETEK Programmable Power’s Applications Engineers. I’m here to provide an overview of.
Supervisory Control & Data Acquisition DAQ Networking.
Multiplexed vs. Simultaneous Data Acquisition Using USB Devices Presented by: Rene Messier Company: Data Translation Company: Data Translation.
Seismic Octave Programming for Analog/Digital Converters Michael W. Siekman Electrical and Computer Engineering Senior Capstone Design Project 2007 Advisor:
PPT 206 Instrumentation, Measurement and Control SEM 2 (2012/2013) Dr. Hayder Kh. Q. Ali 1.
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
A new servo controller for a Materials Testing Machine - MTM Final Presentation B Students : Uri Goldfeld & David Schwartz Supervisor : Daniel Alkalay.
DP Cabinet.
Diamond D10 Test Platform
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
3D Micromanufacturing Lab. School of Mechatronics Gwangju Institute of Science and Technology 3D Micromanufacturing Lab. School of Mechatronics Gwangju.
Authors: Jarred Coulter Vishu Gupta Zane Sapp ARD, Carderock Division, Bayview,ID Project Professors: Dr. Herb Hess & Dr. Brian Johnson Summer Research.
CHAPTER 1 Transducers, Signals, and Signal Conditioning Topics Data Acquisition Overview Transducers Signals Signal Conditioning Lesson 8 Data.
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
AKR Sales Training For KOMAF Exhibition Kunyu Lee Product Manager
WaveBook, Personal Daq, and DaqBoard/3000 USB Overview John Rys Product Support Engineer.
USB DAQ Product USB DAQ Product Κώστας Γρηγορίου Sales Engineer Ιούνιος 26, 2007.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
Technical Training. 1 Configuration: 2558 Analog Input Module 1. Select voltage or current input mode for each channel 3. Select digital filtering, offset.
Data Acquisition Systems
A new class in PC Data Acquisition Delphin Technology AG Felix Ottofuelling V5.0.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
K.C.RAVINDRAN,GRAPES-3 EXPERIMENT,OOTY 1 Development of fast electronics for the GRAPES-3 experiment at Ooty K.C. RAVINDRAN On Behalf of GRAPES-3 Collaboration.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
Present Uses of the Fermilab Digital Signal Receiver VXI Module Brian Chase,Paul Joireman, Philip Varghese RF Embedded Systems (LLRF) Group.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
The labjack. WHAT IS A LABJACK? An interface box that allows a computer to interact with the real world by collecting data and passing out instructions.
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
Electronic instrumentation Digitization of Analog Signal in TD
MECH 373 Instrumentation and Measurements
SIGNAL CONDITIONING Signal conditioning is stage of instrumentation system used for modifying the transduced signal into a usable format for the final.
EET 2259 Unit 12 Data Acquisition
Intro to USB-6009 DAQ.
USB DAQ Product Introduction
SCADA for Remote Industrial Plant
Microcontroller Applications
FP-7 Programmable Controller Multi Input/Output unit
EET 2259 Unit 12 Data Acquisition
הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
הודעות ריענון מהיר והרחבות דגימת אות Low-Level
Lesson 8: Analog Signal Conversion
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Data Acquisition (DAQ)
724 Temperature Calibrator
Presentation transcript:

Advantech PCI DAQ Card Training Jason Ng Advantech IAG Product Support Group

Agenda Knowing the signal Select the right tools Setup the DAQ card Setup the software Develop software

Step by Step Prepare: Understand various type of input and output needs. Understand with various data acquisition topologies and industrial technologies. Understand each DAQ card’s specification and specialties. Understand the connectivity. Selection: Select the right sensor. Select the appropriate signal conditioner and/or wiring terminal. Select the right DAQ card. Select the appropriate software tools.

Knowing the signal Input signal: Voltage Current Temperature Speed Pressure Sensors: Transducer /Conditioner Thermocouple / RTD Encoder Strain gauge Data type: Voltage Current Counter / Frequency

Knowing the signal – Cont. Analog Input Analog Output 25 KHz to 30 MHz 12 to 16 bits 8 to 32 channels Isolated input 12 to 16 bits Voltage output Current output Isolated Output Digital Input Digital Output 24 to 144 bits TTL and Isolated input Vector Interrupt Counter Function 01010 10111 10001 24 to 144 bits TTL, Relay and Isolated output Timer Function 10111 10011 00100 Here are the signals at a glance: Signal Conditioning Relay Output Amplifier gain up to 1000 Thermocouple, RTD Multiplex up to 256 channels Signal Isolation Rating form 30 VDC to 250 VAC Form A, Form C and SSR Opto-22 compatible

Analog Input More accurate Almost 16 times smaller!! A/D Resolution: 12 bits - 2resolution = 212 = 4,096 levels 16 bits - 2resolution = 216 = 65,536 levels Each level also known as Least Significant bit (LSB) represent how small a voltage level can be detect in a specific full scale range. For 12 bits AI, input range is +/-10V: Resolution = 20V / 4096 = 4.88 mV per division For 16 bits AI, input range is +/-10V: Resolution = 20V / 65,536 = 0.305 mV per division Input range is ±0.005V (PCI-1710HG): Resolution = 0.01 / 4096 = 2.44μV Almost 16 times smaller!! More accurate

Analog Input – Cont. ! Sampling rate: 1Hz, 100Hz, 1KHz, 100KHz, 250KHz, 1MHz, 30MHz Nyquist sampling theorem: Sampling rate >= 2 x signal bandwidth Measured signal Sampling rate ! Multiplexing means that the sampling rate is shared across all active input channels. For example, 100KS/s / 16 channels = 6.25KS/s per channel !!! But PCI-1714 is capable of up to 30MS/s per channel – 4 A/D converters

Analog Input – Cont. Differential has advantage of immune to Other spec: Number of channels – 4, 8,16, 32 Input Ranges - Bipolar (0-0.01, 0-2.5, 0-10, etc) - Unipolar (±10, ±5, ±1, ±0.005, etc) Gain – High gain ( PCI-1710HG/L) , programmable gain FIFO Buffer Size – 1K, 4K, 32K (PCI-1714) samples Data transfer mode – Software, Interrupt transfer, DMA transfer (BUS master) Trigger mode – Software, Pacer, Pre-Trigger, Post-Trigger, Delay-Trigger, About-Trigger Auto-calibration - The built-in calibration circuitry corrects gain and offset errors in analog input and analog output channels eliminating the need for external equipment and user adjustments. Board ID Single Ended / Differential: CH0 CH1 CH14 CH15 + - CH0H CH1H CH0L CH1L Differential has advantage of immune to induced noise on the two input terminals. Since these two signals are subtracted from each other, rather than one terminal to ground, hence, the term is differential.

Analog Input Card Selection Model Channel Resolution Sampling rate Special *PCI-1710/L 16 SE/8 Diff 12 bits 100 KS/s *PCI-1710HG/L With High Gain *PCI-1711/L 16 SE *PCI-1712/L 1 MS/s Bus Master *PCI-1716/L 16 bits 250 KS/s Hi Res., Bus Master PCI-1713 32 SE/16 Diff Isolation PCI-1714 4 SE 30 MS/s Adv. High Speed * Multi-function Card, /L means no Analog Output

Analog Input DAQ card - Quiz Which board has High Gain that can accept Thermocouple input directly, without a signal conditioner? Which board has the highest resolution of A/D converter? Which board is capable to sample up to 15MHz of sine wave? Model *PCI-1710/L *PCI-1710HG/L *PCI-1711/L *PCI-1712/L *PCI-1716/L PCI-1713 PCI-1714 Channel Resolution Sampling rate Special 16 SE/8 Diff 12 bits 100 KS/s 16 SE 1 MS/s Bus Master 32 SE/16 Diff Isolation 16 SE/8 Diff 12 bits 100 KS/s With High Gain 16 SE/8 Diff 16 bits 250 KS/s Hi Res., Bus Master 4 SE 12 bits 30 MS/s Adv. High Speed

Analog Output Analog Output Specs Number of Output Channels - 2, 4, 8, 24 channels Output Ranges - Bipolar (0-5V, 0-10V) - Unipolar (±5, ±10) - Current loop (0~20mA, 4~20mA) D/A Resolution - 12, 14, 16 (PCI-1723) bits Throughput - 15, 38, 250KHz and 10MHz Advanced Features – Retain last output setting after system reset (PCI-1720), Waveform output, Synchronized output FIFO Buffer Size – 1K samples Calibration – Auto calibrate and save settings Board ID

Analog Output Card Selection Model Channel Resolution Throughput Special PCI-1720 4 Isolated 12 bits 15 KS/s PCI-1721 4 10MHz update Bus master, Waveform output PCI-1723 8 16 bits Hi resolution PCI-1724U 32 14 bits

Analog Output Card – Quiz 1. Which board has the highest resolution of D/A converter? 2. Which board has highest number of Analog Output channel? Model PCI-1720 PCI-1721 PCI-1723 PCI-1724U Channel Resolution Throughput Special 4 Isolated 12 bits 15 KS/s 4 10MHz update Bus master, Waveform output 8 16 bits 15 KS/s Hi resolution 32 14 bits 15 KS/s

Digital Input / Output Specs: Number of channels – 16, 32, 48, 96, 192* channels / bits I/O types – TTL level, Opto-Isolated up to 2500VDC, Relay output (Form A /C), Dry / Wet Contact Transfer Rate – 10KB/s, 80MB/s (PCI-1755) FIFO Buffer Size – 16KB for DI & 16KB for DO Advance Features – Retain last output values when system hot reset, Pattern match and Change of state detection, PWM, Digital Filter Mixture of I/O type – 32 TTL level and 32 Isolated (PCI-1730) Universal PCI support – Support both 3.3V and 5V PCI slot (PCI-1760U) On-board diagnostic – LED indicators to show activated relays Board ID Relay Form A: NO Relay Form C: NC/NO * Total of 192 bits is possible by expand a PCI-1753E to a PCI-1753

Digital Input / Output card selection Category Model Input Channel Output Channel Counter Channel Non-Isolated (TTL) PCI-1751 48 3 x 16 bits PCI-1753/E 96 / 192 PCI-1755 32 PCI-1757UP 24 PCI-1730 16 Isolated 16 (Sink) PCI-1733 32 (Sink) PCI-1734 PCI-1750 1 x 16 bits PCI-1752 64 (Sink) PCI-1754 PCI-1756 PCI-1760U 8 (Sink) 8 (Relay) 2 Up Counter (16 bits) PCI-1761 PCI-1762 16 (Relay) Question:

Digital Input / Output card - Quiz Which board can be extended for up to 192 bits? Which board can be plug in to both 3.3V and 5V PCI slot? Which board has low profile form factor? Category Model Non-Isolation (TTL) PCI-1751 PCI-1753/E PCI-1755 PCI-1757UP PCI-1730 Input Channel Output Channel Counter Channel 48 3 x 16 bits 32 16 96 / 192 24

Digital Input / Output card - Quiz Which board(s) is Relay output board? Which board has counter for interrupt purpose? Which board has both TTL and Isolated I/O? Category Model Input Channel Output Channel Counter Channel Isolated PCI-1730 PCI-1733 PCI-1734 PCI-1750 PCI-1752 PCI-1754 PCI-1756 PCI-1760U PCI-1761 PCI-1762 16 (Sink) 32 (Sink) 64 (Sink) 16 (Sink) 1 x 16 bits 8 (Sink) 8 (Relay) 2 Up Counter (16 bits) 16 (Sink) 16 (Relay)

Counter /Encoder Specification: Number of channels – 4, 8 channels Resolution – 16, 32 bits independent counters Input Frequency – 8, 20 MHz Quadruple Encoder – 4 axis AB phase w/ w/t index (PCI-1784) Digital filter – 4 stage with selectable sampling rate Board ID Model Resolution Channels Frequency I/O PCI-1780 16 bits 8 20 MHz 8 In 8 Out TTL PCI-1784 32 bits 4 8 MHz 4 In 4 Out Isolated

Counter /Encoder - Quiz Which board support quadrature input? Which board has maximum input frequency? Model Resolution Channels Frequency I/O PCI-1780 PCI-1784 16 bits 8 20 MHz 8 In 8 Out TTL 32 bits 4 4 In 4 Out Isolated 8 MHz

Think Now! You understand various type of input / output signal… You know each Advantech DAQ card’s specification and specialties… What else is needed in between the DAQ card and signal?

Signal Conditioning and Screw Terminal Board ADAM-3000 Modules Signal Conditioning (T/C, RTD, Strain Gauge, Amplifier) Wiring Terminal (20pin flat, DB-25,37,62, Relay, etc.) PCLD Signal Conditioning Boards Opto-Isolation, Relay, T/C CJC, Screw Terminal

ADAM-3000 Series - Signal Conditioning Module Thermocouple RTD DC Voltage / Current Strain Gauge ADAM-3011 J, K, T, E, S, R, B type ADAM-3013 Pt or Ni type ADAM-3014 ±10mV, ±10V, 0~10mV, 0~10V, ±20mA, 0~20mA ADAM-3016 ±10, 20, 30, 100mV Sensors ADAM-3000 Analog Input Card Platform

ADAM-3900 Series – Screw Wiring Terminal Wiring cable: Connector type is 68-pin SCSI-II female connector, also has 50, 37, 25 and 20 pin cable for different terminal board / configuration. Two cable length: 1m and 2m Wiring terminal boards: All DAQ Boards ADAM-3900 Series Pin-to-pin screw terminal board All Multi Function DAQ except PCI-1712 PCLD-8710 for PCI-1710/1711/1716 boards Ps. same pin assignments PCI-1712 ADAM-8712 for PCI-1712 boards

PCLD Series – Multifunction DAQ Wiring Solution Model Type Channel Description PCLD-782/B Opto-Isolated DI 16/24 Provide isolation up to 24VDC to TTL level signal PCLD-785/B Relay Output Provide relay output from TTL level control signal PCLD-786 SSR Carrier Board 8 Hold up to 8 SSR I/O Modules PCLD-788 Relay Multiplexer 16 Multiplex 16 AI channel to 1 AI PCLD-885 Power Relay Output Provide high power relay output from TTL level control signal PCLD-7216 Hold up to 16 SSR I/O Modules

Ready? Now we are going to look at a project and we will select appropriate components from what we had gone through to do measure and control of signals.

Criteria… Need to: Measure 4 channels of 5VDC analog signals Control 2 channel of 5VDC analog signals Input 8 digital signals and output 8 digital signals 16 bit of resolution What do we need? 4 AI – 5VDC 2 AO – 5VDC 8 DI - TTL 8 DO – TTL A multifunction DAQ card with 16-bit resolution

Select the DAQ card Criteria: 4 AI – 5VDC, 2 AO – 5VDC, 8 DI – TTL, 8 DO – 24VDC, 16 bits Type Mode Name Resolution AI Max. Gain Speed AO/DI/DO /CTR Low Cost PCI-1711 12 bits 16SE 1,2,4,8,16 100 KS/s 2AO,16DI, 16DO,1CTR General PCI-1710 16SE/8DI 0.5, 1,2,4,8 High Gain PCI-1710HG 0.5 ~ 1000 High Speed PCI-1712 0.5,1,2,4,8 1 MS/s 16DO,3CTR High Resolution PCI-1716 16 bits 250 KS/s 16DO, 1CTR

Select the terminal board Model Type Channel Description PCLD-8710 Wiring terminal 68 Basic wiring terminal for PCI DAQ cards PCLD-782/B Opto-Isolated DI 16/24 Provide isolation up to 24VDC to TTL level signal PCLD-785/B Relay Output Provide relay output from TTL level control signal PCLD-788 Relay Multiplexer 16 Multiplex 16 AI channel to 1 AI output PCLD-789D Amp. & Multiplexer Multiplex 16 AI channel to 1 AI with gain PCLD-885 Power Relay Output Provide high power relay output from TTL level control signal

The selected DAQ card and Terminal board PCI-1716 – 16 bits, 16SE/8Diff, 16DI, 16 DO PCLD-8710 – Basic wiring terminal for PCI DAQ cards

Software driver support LabVIEW MATLAB Linux Application Windows Application LabVIEW Driver Data Acquisition Tool Box Windows Utility ActiveX OCX Windows 95/98/NT/2000/ME/XP DLL Driver Linux Driver VC Example VB Example BCB Example Delphi Example In this presentation, I want to focus on two topics. 1st topic is our solution for test and measurement applications 2nd topic is to introduce detail about Advantech’s multifunction DAQ products including key specifications, signal conditioning modules and software driver support. GPIB Data Acquisition Motion Comm. Signal Conditioning How to get up-to-date driver support status: Please visit www.advantechdirect.com/60DayTrial/Products.htm for detail

Setup the DAQ card Hardware and software: Install Advantech Device Manager Install individual DLL driver Configure any DIP switches or jumpers Install the DAQ card in the platform Connect any daughter board and signal conditioner Launch Advantech Device manager Configure DAQ card’s configuration – Input range, Output range, Daughter board

How to connect: PCL-10168 68 pin SCSI-II cable to connect from PCI-1716 to PCLD-8710

Additional wiring On PCLD-8710: Wire DA0 OUT to AI0 Wire AI2 to AI GND next to it Plug the 20-pin ribbon cable on CN2 (DIG OUT) and CN3 (DIG IN) Wire PACER OUT to DI15 for Counter test Wire +5V to AI1

Advantech Device Manager

Device Manager Test Utility

Setup the software Install programming examples file – All_Examples.exe Install Advantech ActiveDAQ driver for ActiveX control – ActiveDAQ.exe Install Advantech LabView driver – LabVIEW.exe Now we are going to prepare the environment for the programming tools that we will use later today. Advantech programming examples, ActiveDAQ driver and examples, and LabVIEW driver You can find all three file on your desktop Now install All_Example first, then ActiveDAQ, and lastly LabVIEW driver

Testing the DAQ card Step 1: Open MS Studio.NET Step 2: Open an Analog Input example at C:\Program Files\Advantech\ActiveDAQ\Examples\VBNET\AI\AI.sln Step 3: Press F5 to run the example and select the PCI-1716 card. Step 4: Configure the channels and input range. Click on Start and then Get buffer to read values from channels. Now we can run a quick example on analog input using ActiveX control

Auto-Calibration What if the ADC is offset and cause the reading is not accurate? Install the Auto-Calibration utility from the DAC CD’s utility folder – Utility.exe

Auto-Calibration – Cont. Follow the step by step method on the utility to finish the calibration. Note: Remember to configure the DA Voltage Ref as Internal and the range as +/-5V.

Now we are ready for the real programming hands on We will exercise: 1. ActiveDAQ LabVIEW C++ DRV_DeviceOpen Function Group DRV_DeviceClose All 3 programming method are no difference than one another, Open Device, Read, and Close Device

ActiveDAQ – Intro. Advantech ActiveDAQ is a collection of ActiveX controls that allows you to perform versatile I/O operations easily through the control properties, methods, and events. It significantly reduces the complexity and effort of the programming. First is the ActiveDAQ… Note: ActiveDAQ 1.6.1 only support PCI DAQ cards, for PCL ISA DAQ card support please install ActiveDAQ 1.56.

Exercise… ActiveDAQ Create a simple analog read program by using ActiveDAQ in VB.NET. You can refer to the C:\Program Files\Advantech\ActiveDAQ\ActiveDAQ User Manual.chm Step 1: Add PCI-1716 card in Advantech Device Manager Step 2: Open a new Visual Basic project in Visual Studio.NET Step 3: On Tools menu | Add/Remove Toolbox Items…| COM Components | Check all (6 components) Advantech ActiveDAQ Controls. All the components can be found in Windows Forms of the Toolbox. Step 4: Design the Form by referring to the ActiveDAQ hand out Step 5: Configure AI Control in the Properties Window Step 6: Writing Code for the ActiveDAQ Controls – Code can be find in here. Step 7: Test Your Program with PCI-1716 card

Exercise… ActiveDAQ – Cont. ! Now we want to read it continuously. Step 1: Add a Timer and 3 buttons control to the form and configure it Step 2: Writing code for the additional ActiveDAQ controls Step 3: Test your new program

LabVIEW driver – Intro. The LabVIEW driver forms an interface between Advantech DAC device (DLL) drivers, which contain all the relevant functions to control the DA&C device, and the LabVIEW software.

Exercise… LabView Create a simple analog read program by using LabView, follow the instructions on the LabVIEW handouts. You can refer to the C:\Program Files\National Instruments\LabVIEW 7.0\LabVIEW Driver Manual.chm for description on Advantech LabVIEW VI’s functions.

C++ Programming- Intro Free DLL drivers available in all Advantech DAQ cards. Lower software development cost. Provide a flexible low level programming environment.

Exercise… C++ Create a simple analog read program by using VC++. You can refer to the C:\Program Files\Advantech\ADSAPI\Examples\Console\AD_SOFT Create a new project in Win32 Application Name the project Add the source codes (file) to the project Add the resource library file to the project Compile the project

Projects Based on your choice of programming tools, try to add a Analog Output (AO) to the existing program so that you can read back the output values. If you have time left, add a Digital I/O function as well.

Questions?

Wet Contact: 5~40VDC – High 0~2VDC – Low Dry Contact: Open – High Close – Low