Title: MECH 591: Lecture 1
1MECH 591Lecture 1
- Instrumentation and Measurements
- Introduction and Course Overview
2Today
- Who am I?
- General course information
- Objectives
- Tools
- Laboratory information
- What are your COOP experiences with Data
Acquisition? - Overview of different sensing systems
- Introduction to LabVIEW
3Contact information
- Anthony W. Duva
- Office Kingman 202a
- Office Hours Check Web (by appt.)
- http//myweb.wit.edu/duvaa
- E-mail duvaa_at_wit.edu (easiest)
- Phone 617-989-4235 (spotty)
4General Course Info
- Course Objectives
- Develop data acquisition and data reduction
skills - Refine the Mechanical design of experiments
process - Extend team building skills through laboratory
projects - Tools Used in This Course
- Excel, Word
- Lab View and ELVIS work station
- Your Mind
5Course Handouts
- All handouts are on Web CT and the web page
- http//myweb.wit.edu/duvaa
- MECH 591 Instrumentation
- You should have downloaded
- MECH591 Syllabus
- MECH591 Section (A) Handout Manual
- MECH591 Laboratory Information Package
6Laboratory Information
- Laboratory work will also be done in the lecture
from time to time. - Lab groups will be 2-3 students each and assigned
randomly - Exercises will utilize a variety of equipment and
software, primarily Lab View - Final project will include fabrication of the
test set up and validation testing.
7Data Acquisition COOP Experience
- Please introduce yourself
- Name
- Year
- Area of concentration
- Any experience with sensing systems?
- Any specific sensors of interest?
8Measurement Fundamentals
9Types of Measurements
- 2 Basic Types
- Direct comparison to a standard
- Indirect comparison thru a calibrated system
- Why do we have standards and calibrated systems?
- Measurements quantify physical observations in a
way that can be shared and duplicated by other
people in other places. - Standard Weights and Measures were first
introduced to facilitate trade - Standards were then applied to and by scientific
endeavors
10Units of Measure
- 1832 Treasury Department introduced Standard
Weights and Measures for the USCS - Facilitate customs and trade
- International System of Units or SI was
established during the French revolution - 1960 11th General Conference on Weights and
Measures formally established SI. - Included standards for length, mass, time,
electric current, thermodynamic temperature, and
luminous intensity. - 1971, 14th Conference add the mole as the unit
for amount of substance
11Standards
- Length
- The distance light travels in a vacuum in
1/299,792,458 of a second - Speed of light therefore 299,792,458 m/s
- Mass
- Only measure still relying on a prototype
- Platinum-iridium weight kept at International
Bureau of weights and Measures - Paris
12Standards
- Time
- Based on atomic research and the frequency of
electromagnetic radiations - Based on cesium 133 atomic radiation
- Temperature
- Primary reference was the triple point of water
and the boiling point - Current standards include fixed reference
temperatures based on properties of various
substances, Figure 2.1 and table 2.5 of text
13What is a sensor?
- Formal definition A device that receives and
responds to a signal or stimulus (American
Heritage Dictionary of the English Language) - Informally, a sensor is a device that takes in
information from the outside world. Based on the
information, the sensor creates a signal on which
a system can base a decision - A sensor, thus, has an input and an output
- Usually, a sensor is tailored to a specific task
14What is a sensor? (cont.)
- In our case, a sensor will measure some physical
quantity and convert it into some electrical
signal (e.g., voltage, current) - It is our job to select the proper sensor based
on the application or system requirements - In theory, you would also want to do something
intelligent based on the signal (turn on a
heater, sound an alarm, pass/fail an industrial
part, etc)
MECH 591
System
Sensor
15The human nose
- Humans have 347 different types of odor receptors
which respond to a single type of odorant - A given smell will be a combination of possibly
many different odorants - Dogs have several thousand types of odor
receptors and can resolve many different types of
odors
To brain
R1
R2
16Smell sensors
- Machines can sense smell by observing the
frequency of oscillation of a quartz crystal
covered in a special plastic coating - The coating absorbs certain chemicals (presumably
related to the desired smell) - The added mass changes
- the frequency of the
- quartz crystal
17The human eye
- The eye has a set of photoreceptor cells to
convert light into nerve signals interpreted by
the brain - Rods are very sensitive (night vision)
- Cones are less sensitive but we have three types
(color vision)
18Vision sensors
- Many types of vision sensors exist (CCDs,
photometer, PMTs, etc) - Operate on the same principle of transforming a
photon into an electrical current
19Characterizing sensors
- What are some important quantities to know about
a sensor? - Sensitivity
- Resolution
- Accuracy
- Repeatability
- Reliability
- Response function
- Dynamic range
- Noise characteristics
20Sensing systems
- What advantages do sensors have over using a
human? - Repeatability - a sensors output can be very
stable over time whereas a human may suffer from
fatigue - Reliability - a sensor usually wont need
bathroom breaks, vacations, etc - Harsh environments - a sensor can operate in many
environments that humans would complain about - Sensitivity - sensors can be significantly more
sensitive than the corresponding human sense
(although not always!)
21Machine vision for QC/QA
Decision FAIL
22Introduction to LabVIEW
GRAPHICAL PROGRAMMING
FOR ENGINEERS AND SCIENTISTS
23LabVIEW Goals
- Become comfortable with the LabVIEW environment
and data flow execution - Ability to use LabVIEW to solve problems
- LabVIEW Concepts
- Acquiring, saving and loading data
- Find and use math and complex analysis functions
- Work with data types, such as arrays and clusters
- Displaying and printing results
24Virtual Instrumentation Applications
A single graphical development platform
- Design
- Signal and Image Processing
- Embedded System Programming
- (PC, DSP, FPGA, Microcontroller)
- Simulation and Prototyping
- And more
- Control
- Automatic Controls and Dynamic Systems
- Mechatronics and Robotics
- And more
- Measurements
- Circuits and Electronics
- Measurements and Instrumentation
- And more
25The NI Approach Integrated Hardware Platforms
26Virtual Instrumentation With LabVIEW
27LabVIEW Module I Goals
- Understand the components of a Virtual Instrument
- Introduce LabVIEW and common LabVIEW functions
- Build a simple data acquisition application
- Create a subroutine in LabVIEW
28Section I
- LabVIEW terms
- Components of a LabVIEW application
- LabVIEW programming tools
- Creating an application in LabVIEW
29LabVIEW Programs Are Called Virtual Instruments
(VIs)
- Front Panel
- Controls Inputs
- Indicators Outputs
- Block Diagram
- Accompanying program for front panel
- Components wired together
30VI Front Panel
Front Panel Toolbar
Icon
Boolean Control
Graph Legend
Waveform Graph
Scale Legend
Plot Legend
31VI Block Diagram
Block Diagram Toolbar
Divide Function
SubVI
Graph Terminal
Wire Data
While Loop Structure
Numeric Constant
Timing Function
Boolean Control Terminal
32Controls and Functions Palettes
Controls Palette (Front Panel Window)
Functions Palette (Block Diagram Window)
33Tools Palette
- Floating Palette
- Used to operate and modify front panel and block
diagram objects.
Automatic Selection Tool
Scrolling Tool Breakpoint Tool Probe Tool Color
Copy Tool Coloring Tool
Operating Tool Positioning/Resizing Tool Labeling
Tool Wiring Tool Shortcut Menu Tool
34Status Toolbar
Run Button Continuous Run Button Abort
Execution Pause/Continue Button Text
Settings Align Objects Distribute
Objects Reorder Resize front panel objects
Additional Buttons on the Diagram Toolbar
Execution Highlighting Button Step Into
Button Step Over Button Step Out Button
35Creating a VI Block Diagram
36Wiring Tips Block Diagram
Wiring Hot Spot
Click To Select Wires
Use Automatic Wire Routing
Clean Up Wiring
37Dataflow Programming
- Block diagram executes dependent on the flow of
data block diagram does NOT execute left to
right - Node executes when data is available to ALL input
terminals - Nodes supply data to all output terminals when
done
38Help Options
- Context Help
- Online help
- Lock help
- Simple/Complex Diagram help
- Ctrl H
- Online reference
- All menus online
- Pop up on functions in diagram to access online
info directly
39Closing remarks
- Read Chapters 12
- Do Problems 2-1 thur 2-5, 2-8
- Lab Groups will be assigned randomly
- Go to the course website and familiarize yourself
with it - Copies of these slides will be available
- Additional On-line Resources At National
Instruments - http//zone.ni.com/devzone/cda/tut/p/id/6031teach
ing