labview

Post on 06-May-2015

2.238 Views

Category:

Education

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

LabVIEWfor

Instrumentation & Control System

A Presentation on

Mr. SAJID NAEEMM.SC – Electronics (UOP)PG-DEP (C-DAC)

Contents

• Introduction to LabVIEW• LabVIEW Software Overview• Data Acquisition System• Instrumentation in LabVIEW• Control System in LabVIEW• Examples• Advantages• Applications• References

Introduction to

LabVIEW = Laboratory + Virtual Instrument Engineering Workbench

. Lab VIEW is a graphical programming language that uses icons instead of lines of text to create programs.

. LabVIEW program called Virtual Instrument produced by National Instruments in 1988.

. LabVIEW is a much loved tool of the scientist and engineer.

. Jeff Kodosky is the “Father of LabVIEW”.

Virtual Instruments:

. Lab VIEW programs are called virtual instruments, or VIs, because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters etc.

. After build the user interface, add code using VIs and structures to control the front panel objects. The block diagram contains this code.

LabVIEW Software: Overview

VI Front Panel:

VI Block Diagram:

Controls and Functions Palettes:

Tools Palette:

Status Toolbar:

Creating VI:

Terminals:

Wiring Tips:

Basic wires used in block diagramsand corresponding types:

.Each wire has different style or color, depending on the data type that flows through the wire:

Controls & Indicators:

Functions for Signals:

Help Options:

Basic Examples : LabVIEW is written on graphical structure.

While in LabVIEW summation is a function and it is represent by following symbol.

In LabVIEW, such mathematical and logical functions are represented graphically.

Add and multiply two given numbers and display the results

Converting ºC to ºF

°F = (1.8 * °C) + 32

Control

Indicator

Introduction to DAQ Card

DAQ System

The building blocks of a DAQ system:

1. Transducer: A device that converts a physical phenomenon such as light, temperature, pressure, or sound into a measurable electrical signal such as voltage or current.

2. Signal: The output of the transducer.3. Signal conditioning: Hardware that you can connect

to the DAQ device to make the signal suitable for measurement or to improve accuracy or reduce noise.

4. DAQ hardware: Hardware you use to acquire, measure, and analyze data.

5. Software: NI application software is designed to help you easily design and program your measurement and control application (LABVIEW).

Types of Data Acquisition & Control Devices:

DAQ Device Properties:

DAQ devices have four standard elements:

1. Analog input (AI)2. Analog output (AO)3. Digital I/O (DIO)4. Counter/Timers

Feature of DAQ 6009:

. Eight 14-bit analog inputs.

. 12 digital I/O lines.

. 2 analog outputs.

. 1 counter.

Analog Digital

1

32

17

16

How to Select DAQ Device & Accessories:

1. Open the Labview program, in the Block Diagram select functions, express input then select the DAQ Assistant icon.

2. Select “Analog Input” so as to input your analog data to the computer and Labview.

3. We have 16 physical input channels from ai0 to ai15, select a channel like ai0.

4. Select your input voltage setup

5. Now make the connections and select test then Run to see the input voltage.

Example

Result in Block Diagram:

Temperature ( oC) = Vout * (100 oC/V)

Convert from Dynamic Data

Result in Front Panel (heating)

XY Graph

Result in Front Panel (cooling)

XY Graph

Practical Set Up Temperature Measurement

LM35

Thermistor

PT100

Instrumentation Lab

Virtual InstrumentationLab

Instrumentation in LabVIEW

Industrial Control Panel

LabVIEW Control Panel

Control System in LabVIEW

Virtual System

Control System

Control System in LabVIEW

LabVIEW in Robotics:

LabVIEW interfacing to External Peripherals:

Advantages of LabVIEW

. Easy to learn, use, maintain, and upgrade

. One tool for design, prototyping and deployment . Multidisciplinary use (Instr. Elect. Control…)

. Multiplatform (Windows, Mac OS, Linux, RTOSs)

. Multicore-ready design and support for different hardware acceleration technologies.(DSP, FPGA…)

. Ability to solve and execute complex algorithms in real time.

.

Applications of LabView in Various Industries

. Instrumentation

. Process Control

. Electronics

. Communication

. Biomedical

. Robotics

. Image Processing

. Research…………………

LabView in Industries:

References:

•www.ni.com•www. forums.ni.com•www.labviewwiki.orgBooks:•LabVIEW Data Acquisition Basics Manual•LabVIEW for Data Acquisition by Bruce Mihura•LabVIEW based Advanced Instrumentation Systems•LabVIEW for Everyone by Jim Kring

top related