labview

49
LabVIEW for Instrumentation & Control System A Presentation on Mr. SAJID NAEEM M.SC – Electronics (UOP)

Upload: esys-india-malegaon

Post on 06-May-2015

2.238 views

Category:

Education


5 download

TRANSCRIPT

Page 1: LabVIEW

LabVIEWfor

Instrumentation & Control System

A Presentation on

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

Page 2: LabVIEW

Contents

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

Page 3: LabVIEW

Introduction to

Page 4: LabVIEW

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”.

Page 5: 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.

Page 6: LabVIEW

LabVIEW Software: Overview

Page 7: LabVIEW

VI Front Panel:

Page 8: LabVIEW

VI Block Diagram:

Page 9: LabVIEW

Controls and Functions Palettes:

Page 10: LabVIEW

Tools Palette:

Page 11: LabVIEW

Status Toolbar:

Page 12: LabVIEW

Creating VI:

Page 13: LabVIEW

Terminals:

Page 14: LabVIEW

Wiring Tips:

Page 15: LabVIEW

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:

Page 16: LabVIEW

Controls & Indicators:

Page 17: LabVIEW

Functions for Signals:

Page 18: LabVIEW

Help Options:

Page 19: LabVIEW

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.

Page 20: LabVIEW

Add and multiply two given numbers and display the results

Page 21: LabVIEW

Converting ºC to ºF

°F = (1.8 * °C) + 32

Control

Indicator

Page 22: LabVIEW

Introduction to DAQ Card

Page 23: LabVIEW

DAQ System

Page 24: LabVIEW

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).

Page 25: LabVIEW

Types of Data Acquisition & Control Devices:

Page 26: LabVIEW

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

Page 27: LabVIEW

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

Page 28: LabVIEW

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.

Page 29: LabVIEW

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

Page 30: LabVIEW

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

Page 31: LabVIEW

4. Select your input voltage setup

Page 32: LabVIEW

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

Page 33: LabVIEW

Example

Page 34: LabVIEW

Result in Block Diagram:

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

Convert from Dynamic Data

Page 35: LabVIEW

Result in Front Panel (heating)

XY Graph

Result in Front Panel (cooling)

XY Graph

Page 36: LabVIEW

Practical Set Up Temperature Measurement

LM35

Thermistor

PT100

Page 37: LabVIEW

Instrumentation Lab

Virtual InstrumentationLab

Instrumentation in LabVIEW

Page 38: LabVIEW

Industrial Control Panel

LabVIEW Control Panel

Control System in LabVIEW

Page 39: LabVIEW

Virtual System

Control System

Control System in LabVIEW

Page 40: LabVIEW

LabVIEW in Robotics:

Page 41: LabVIEW

LabVIEW interfacing to External Peripherals:

Page 42: LabVIEW

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.

.

Page 43: LabVIEW
Page 44: LabVIEW
Page 45: LabVIEW
Page 46: LabVIEW

Applications of LabView in Various Industries

. Instrumentation

. Process Control

. Electronics

. Communication

. Biomedical

. Robotics

. Image Processing

. Research…………………

Page 47: LabVIEW

LabView in Industries:

Page 48: LabVIEW

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

Page 49: LabVIEW