ECE 102 Engineering Computation Chapter 9 LabJack Introduction Dr. Herbert G. Mayer, PSU Status 10/2/2015 For use at CCUT Fall 2015.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

Jordan Barry Victor Brzeski
ECE 480 Design Team 3 Technical Lecture
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
Industrial Automation and Control
PPT 206 Instrumentation, Measurement and Control SEM 2 (2012/2013) Dr. Hayder Kh. Q. Ali 1.
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
Data Acquisition Risanuri Hidayat.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Lecture 9: D/A and A/D Converters
Unit 4 Sensors and Actuators
EUT 1040 Lecture 10: Programmable Logic Controllers.
STARLight PDR 3 Oct ‘01I.1 Miller STARLight Control Module Design Ryan Miller STARLight Electrical Engineer (734)
Bradley University Department of Electrical and Computer Engineering 2011 Wind Tunnel Control (WEBWIND) By: Adam Green Advisor: Dr. Aleksander Malinowski.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
FOLLOWER SENSORS AND ACTUATORS EE 552 INTSTRUCTOR :Dr MOHAN KRISNAN BY MOHAMMED KASHIF IQBAL ANESH BODDAPATTI UNIVERSITY OF DETROIT MERCY.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
CR1000s are only one part of a data acquisition system. To get good data, suitable sensors and a reliable data retrieval method are required. A failure.
“Power Supply” Controls Voltage Difference in Voltage is set Output Current is “as requested” by attached device.
Chapter 8 Output Modules.
Digital I/O Connecting to the Outside World
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
T IMERS - 2. O UTPUT U NIT Each capture/compare block contains an output unit. The output unit is used to generate output signals such as PWM signals.
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
AKR Sales Training For KOMAF Exhibition Kunyu Lee Product Manager
ARM Timers.
WaveBook, Personal Daq, and DaqBoard/3000 USB Overview John Rys Product Support Engineer.
USB DAQ Product USB DAQ Product Κώστας Γρηγορίου Sales Engineer Ιούνιος 26, 2007.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Basics of data acquisition systems
ELN5622 Embedded Systems Class 7 Spring, 2003 Aaron Itskovich
A new class in PC Data Acquisition Delphin Technology AG Felix Ottofuelling V5.0.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
James Crosetto BS (Computer Science and Computer Engineering) Jeremy Ellison BS (Computer Science and Computer Engineering) Seth Schwiethale BS (Computer.
Programmable Logic Controller (PLC)
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 1P. 1Winter Quarter Data Acquisition System Fundamentals Lab 1.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
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.
ECE 102 Engineering Computation Chapter 10 LabJack LED Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT Fall 2015.
ECE 102 Engineering Computation Chapter 11 LabJack Photo Resistor & Mechanical Switch Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Programmable Logic Controller & Distributed Control System Yoon-Je Choi 17 th June 2006.
ACT20X Ex isolator/ amplifier. Page 2 ACT20X (Ex isolators family) Overview - Connects to process equipment in Class/Div, or Zone 0 - Zone 2 areas - ACT20X.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Application Case Study Christmas Lights Controller
Lecture 10: Programmable Logic Controllers
Why are Timer Functions Important?
Intro to USB-6009 DAQ.
Timers and Event Counters
SCADA for Remote Industrial Plant
Haiwell PLC Modules Introduce
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Data Acquisition (DAQ)
Maker Education Manipulator
Presentation transcript:

ECE 102 Engineering Computation Chapter 9 LabJack Introduction Dr. Herbert G. Mayer, PSU Status 10/2/2015 For use at CCUT Fall 2015

Syllabus LabJack HW Overview LabJack Features LabJack HW Control Input & Output Channels Digital Input Output\Analog Input Analog Output Summary

2 LabJack Hardware Overview The LabJack U3 is a basic external DAQ unit that is used to interface a computer to the physical world. Company website: General tech support: U3-specific support:

3 What can a LabJack do? Read the output of sensors which measure:  voltage, current, power, temperature  humidity, wind speed, force, pressure, strain  acceleration, RPM, light intensity, sound intensity  gas concentration, position, and many more A LabJack brings this data into a computer where it can be stored and processed. Control things like motors, lights, solenoids, relays, valves, and more.

4 LabJack Features Model U3-LV (Low Voltage) 16 flexible I/O (digital input, digital output, or analog input) Up to bit analog inputs (0 → 2.4 V or 0 → 3.6 V, SE or Diff) Maximum input stream rate of 2.5 → 50 kHz 2 analog outputs (10-bit, 0-5 V, 16 Hz) 4 additional digital I/O Up to 2 timers (pulse timing, PWM output, quadrature input) Up to 2 counters (32 bit each) USB 2.0/1.1 interface → Connect to computer via USB cable Windows, Linux, Mac drivers Model U3-HV (High Voltage) First 4 FIO are replaced by dedicated HV analog inputs The HV inputs have ±10 V or -10/+20 V range

5 Model U3-LV Pinouts: VS = +5 V DC GND = ground FIOxx = flexible I/O AINx = analog input DACx = analog output DB15 Port USB Port DAC1 FIO0 FIO1 FIO2 FIO3 SGND SPC DAC0SGND GND VS GND FIO7 FIO6 GND VS GND VSFIO5 FIO4 GND VS DB15 Port USB Port DAC1 AIN0 AIN1 AIN2 AIN3 SGND SPC DAC0SGND GND VS GND FIO7 FIO6 GND VS GND VSFIO5 FIO4 GND VS Model U3-HV Pinouts:

6 DB15 & USB Ports screw terminals status LED USB (type B) DB15 (EIO & CIO) DB15 Female Connector Pinout EIO2 CIO1GND VSCIO3 EIO0EIO4 EIO6 EIO1 CIO0EIO7 CIO2 GNDEIO3 EIO VS = +5 V DC GND = ground EIOxx = 8 flexible I/O CIOx = 4 dedicated digital I/O

7 LabJack HW Control  LabJack company-supplied software Windows configuration utility: LJControlPanel  3 rd party software e.g., DAQFactory Express  User developed software Supported languages include: C/C++, VC6,.NET, Java Python, VB6, PureBasic MATLAB LabVIEW, VEE

8 Ground & VS  GND is an electrical ground point. (USB → PC → AC mains)  VS is a fixed +5 V DC output voltage. These can be used to power external circuits. Maximum current: 450 mA DAC1 FIO0 FIO1 FIO2 FIO3 SGND SPC DAC0SGND GND VS GND FIO7 FIO6 GND VS GND VSFIO5 FIO4 GND VS

9 Input & Output Channels An I/O channel is a hardware circuit inside the LabJack that can  Sense an input signal  Generate an output signal Supported signals:  Digital (binary levels)  Analog (continuous levels)

10 LabJack Channels (U3-LV model) FIO (16: FIO0-FIO7 terminals EIO0-EIO7 DB15)  Flexible - can be any one of the following: Digital input or output Analog input Timer Counter DAC (2: DAC0-DAC1 terminals)  Analog output only CIO (4: CIO-CIO3 DB15)  Digital input or output only DAC1 FIO0 FIO1 FIO2 FIO3 SGND SPC DAC0SGND GND VS GND FIO7 FIO6 GND VS GND VSFIO5 FIO4 GND VS

11 Digital Input Output Input → Sense a low or high input voltage Output-Low → Force a low output voltage Output-High → Force a high output voltage FIO: R = 550 Ω EIO/CIO: R = 180 Ω GND Output = 0 V R +3.3 V Output = +3.3 V (no load) R FIO: R = 550 Ω EIO/CIO: R = 180 Ω +3.3 V Maximum Input Limit FIO: -10 V to +10 V EIO: -6 V to +6 V Sense 100K Ω Sense: 0 = Low, 1 = High

12 Analog Input Single-ended  One analog input is required  Input voltage is measured with respect to ground Differential  Two analog inputs are required  The voltage difference between the input and the reference is measured (i.e., V Input – V Reference ) AINx GND Input Ground AINx AINy Input Reference Maximum Input Limit FIO: -10 V to +10 V EIO: -6 V to +6 V Sense: 0 to Input values < 0 V are reported as 0 V. Input values > V are reported as V

13 Analog Input Sampling Modes  Command/Response (Software based timing) Program initiates an input request LabJack measures a single sample Program reads the sample data value Easy to set up but slow sampling rate  Stream (Hardware based timing) Program initiates an input request LabJack hardware continuously samples the input Program reads an entire block of sample data Complicated to set up but fast sampling rate

14 Analog Output The DAC can generate an output voltage with a specified amplitude (within limits). The output filter limits the output sampling rate to approximately 16 Hz. Output Range DAC: V to V DACx GND Output Ground

15 Timer & Counter The timer is for applications that require accurate hardware-based timing. A counter accumulates the number of falling edges (H- to-L signal transition) detected on an FIO. Timer FIO 123 Counter (32-bit register) = 3 10 FIO This keeps track of the number of times an event has occurred. In PWM mode, the timer generates a pulse width modulated output signal.

16 Summary Screw Terminals FIO (8: FIO0-FIO7) Digital input (-10 V to +10 V) Digital output (L: 0 V, H: +3.3 V) Analog input (-10 V to +10 V) [Usable range: 0 V to V] Timer / Counter DAC (2: DAC0-DAC1) Analog output (0 V to V) VS (6) Fixed DC voltage (+5 V) GND (5) Ground reference (0 V) DB15 Port EIO (8: EIO0-EIO7) Digital input (-6 V to +6 V) Digital output (L: 0 V, H: +3.3 V) Analog input (-6 V to +6 V) [Usable range: 0 V to V] Timer / Counter CIO (4: CIO0-CIO3) Digital input (-6 V to +6 V) Digital output (L: 0 V, H: +3.3 V) VS (1) Fixed DC voltage (+5 V) GND (2) Ground reference (0 V) Warnings Do not exceed rated voltage limits for inputs. Never apply an external voltage into an output. Do not short-circuit the LabJack. Do not overtighten screw terminals.

17 REFERENCE: I/O Specifications The following tables contain more detailed specifications for the LabJack's hardware. VS ParameterConditionsMinTypMaxUnits Output VoltageSelf-Powered V Bus-Powered V Maximum CurrentSelf-Powered450mA Bus-Powered50mA

18 Digital I/O ParameterConditionsMinTypMaxUnits Low Level Input Voltage V High Level Input Voltage25.8V Maximum Input VoltageFIO-1010V EIO/CIO-66V Output Low VoltageNo Load0V FIOSinking 1 mA0.55V EIO/CIOSinking 1 mA0.18V EIO/CIOSinking 5 mA0.9V Output High VoltageNo Load3.3V FIOSourcing 1 mA2.75V EIO/CIOSourcing 1 mA3.12V EIO/CIOSourcing 5 mA2.4V Short Circuit CurrentFIO6mA EIO/CIO18mA Output ImpedanceFIO550Ω EIO/CIO180Ω

19 Analog Input Parameter ConditionsMinTypMaxUnits Typical Input RangeSingle-Ended, LV02.44V Differential, LV V Special, LV03.6V Max AIN Voltage to GNDValid Readings, LV V Max AIN Voltage to GNDNo Damage, FIO-1010V No Damage, EIO-66V Resolution12bits Integral Linearity Error±0.05% FS Differential Linearity Error±1 counts Effective Resolution ( RMS )QuickSample Off>12bits Noise-free ResolutionQuickSample Off11.0bits Single-Ended, LV1.2mV Diff., Special, LV2.4mV Input ImpedanceLV40MΩMΩ Source ImpedanceLongSettling Off, LV10kΩkΩ LongSettling On, LV200kΩkΩ

20 Analog Output Parameter ConditionsMinTypMaxUnits Nominal Output RangeNo ±2.5 mA V Slew Rate0.4V/ms Resolution20bits Absolute Accuracy5% to 95% FS±5.0% FS Short Circuit CurrentMax to GND45mA Source Impedance50Ω Output frequencySinusoidal16Hz

21 Timer & Counter Modes Allowed channels: FIO4-FIO7, EIO0-EIO3 ModeDescriptionModeDescription 016-bit PWM output7Frequency output 18-bit PWM output8Quadrature input 2Period input (32-bit, rising edges)9Timer stop input (odd timers only) 3Period input (32-bit, falling edges)10System timer low read (default) 4Duty cycle input11System timer high read 5Firmware counter input12Period input (16-bit, rising edges) 6Firmware counter input (debounced)13Period input (16-bit, falling edges)