Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW

26
Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW John Essick Reed College Reed Advanced Laboratory LabVIEW-Based Instruction Required Cost and Time for Instructi OUTLINE:

description

Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW. John Essick Reed College. OUTLINE :. Reed Advanced Laboratory LabVIEW-Based Instruction Required Cost and Time for Instruction. BASIC RESEARCH SKILLS. Apply Classroom Theory - PowerPoint PPT Presentation

Transcript of Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW

Page 1: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Teaching Computer-BasedData Acquisition and Analysis

Research Skills Using LabVIEWJohn Essick

Reed College

•Reed Advanced Laboratory•LabVIEW-Based Instruction•Required Cost and Time for Instruction

OUTLINE:

Page 2: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

BASIC RESEARCH SKILLSApply Classroom TheoryBackground Literature SearchesConsultation With ExpertsAdequate Level of PrecisionRange of an ApproximationSuppression of Competing Effects

ElectronicsComputer-Assisted Data AcquisitionOpticsVacuum TechnologyData Analysis TechniquesDesign of Sophisticated InstrumentationPatienceConsistency Checking

Outside Interest In ResultsBenefit Of Peer ReviewHonest, Timely, Concise Report of Results

PHYSICAL UNDERSTANDING

DATA-TAKING SKILLS

RESPONSIBILITY TO THE COMMUNITY

Page 3: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

BASIC RESEARCH SKILLSApply Classroom TheoryBackground Literature SearchesConsultation With ExpertsAdequate Level of PrecisionRange of an ApproximationSuppression of Competing Effects

ElectronicsComputer-Assisted Data AcquisitionOpticsVacuum TechnologyData Analysis TechniquesDesign of Sophisticated InstrumentationPatienceConsistency Checking

Outside Interest In ResultsBenefit Of Peer ReviewHonest, Timely, Concise Report of Results

PHYSICAL UNDERSTANDING

DATA-TAKING SKILLS

RESPONSIBILITY TO THE COMMUNITY

Page 4: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

REED JUNIOR-LEVEL ADVANCED LAB

Amplifier, Filter, Oscillator, Logic

A/D, D/A HardwareMicroprocessor

Assembly Language

Guided and Independent Experiments

NoviceStudent

ELECTRONICS

PHYSICS

COMPUTER(Low-Level)

AutonomousResearcher

Senior ThesisSummer Internship

Graduate SchoolCareer

Page 5: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

REED JUNIOR-LEVEL ADVANCED LAB

Amplifier, Filter, Oscillator, Logic

Guided and Independent Experiments

NoviceStudent

ELECTRONICS

PHYSICS

COMPUTER(High-Level)

AutonomousResearcher

Senior ThesisSummer Internship

Graduate SchoolCareer

Data Acquisition BoardCommunicate via Interface Bus

Symbolic LanguageData Analysis

Page 6: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

OCCIDENTAL SOLID STATE LAB EXPERIENCE

Require Students to Write GPIB Code (BASIC, FORTRAN, C):

10 REAL Rdg20 ASSIGN @Dmm TO 72230 OUTPUT @Dmm;

“MEASURE:VOLTAGE:DC? 10,0.003”40 ENTER @Dmm; Rdg50 PRINT Rdg60 END

Page 7: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

OCCIDENTAL SOLID STATE LAB EXPERIENCE

Require Students to Write GPIB Code (BASIC, FORTRAN, C):

10 REAL Rdg20 ASSIGN @Dmm TO 72230 OUTPUT @Dmm;

“MEASURE:VOLTAGE:DC? 10,0.003”40 ENTER @Dmm; Rdg50 PRINT Rdg60 END

Lesson Learned for Computer-Based Instruction:

Need to Teach a Programming Language (with Short Learning Curve)

Page 8: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

ADVANTAGES OF LABVIEW SYSTEM1. Well-Designed, Popular System

Computer Multi-Function Data Acquisition (DAQ)General Purpose Interface Bus (GPIB)

LabVIEWSoftware

National Instruments Products

LabVIEW System

Page 9: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

ADVANTAGES OF LABVIEW SYSTEM1. Well-Designed, Popular System

Computer Multi-Function Data Acquisition (DAQ)General Purpose Interface Bus (GPIB)

LabVIEWSoftware

National Instruments Products

•Integrated Hardware & Software

•Extensive Data Acquisition & Analysis Capabilities

•Widely Used in Research Labs

LabVIEW System

Page 10: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

ADVANTAGES OF LABVIEW SYSTEM2. LabVIEW Programming Language is Graphical Block Diagram (Program Code):

Front Panel (User Interface):

Page 11: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

ADVANTAGES OF LABVIEW SYSTEM2. LabVIEW Programming Language is Graphical Block Diagram (Program Code):

Front Panel (User Interface):

•Novel

•Intuitive

•Do Useful Things Quickly

Page 12: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

3. Express VIs for Streamlined Programming of Common TasksADVANTAGES OF LABVIEW SYSTEM

Page 13: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Digital Oscilloscope Using DAQ Assistant Express VI

Page 14: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Digital Oscilloscope Using DAQ Assistant Express VI

Page 15: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Digital Oscilloscope Using DAQ Assistant Express VI

Page 16: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Thermistor Calibration Using Curve Fit Express VI

Steinhart-Hart Equation:

Page 17: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Digital Thermometer

A/DOhm’s Law

Steinhart-Hart

Voltage Temperature

Software

Page 18: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

4. Flexibility is Ideal for Independent Projects

Digital OscilloscopeDAQ Assistant

ADVANTAGES OF LABVIEW SYSTEM

Page 19: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

4. Flexibility is Ideal for Independent Projects

Spectrum AnalyzerDAQ Assistant

ADVANTAGES OF LABVIEW SYSTEM

FFT

Page 20: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

OVERVIEW OF LABVIEW INSTRUCTIONWeek 1: Structures and Plotting (6 Hours)

While Loop and Waveform ChartFor Loop and Waveform GraphMathscript Node and XY Graph

Week 2: Data Acquisition and Generation with DAQ Assistant (3 Hours)Analog-to-Digital Conversion, Digital OscilloscopeDigital-to-Analog Conversion, Function Generator

Week 3: Data Files, Local Variables, Structures (6 Hours)Data Files and Character StringsShift RegistersCase StructureSequence Structure

Week 4: Data Analysis (3 Hours)Least-Squares Curve Fitting, Digital ThermometerFast Fourier Transform, Spectrum Analyzer

Week 5: PID Temperature Control System (3 Hours)

Spring Semester: Instrument Control via Interface Bus (4 Hours)GPIB/USB Control of Instrument

Oxford University Press

Page 21: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

DATA FILESSpreadsheet Format

DATA ANALYSISNumerical IntegrationNumerical DifferentiationCurve Fitting Fast Fourier Transform

DATA ACQUISITIONDigital OscilloscopeFunction GeneratorDigital ThermometerSpectrum AnalyzerPID Temperature Control System

GPIB/USB CONTROLAgilent 34410A Multimeter

Page 22: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

SPRING-SEMESTER PHYSICS EXPERIMENTS

•Optical Bandgap of Semiconductor (Monochromator)

•Doppler-Free Saturated Absorption Spectroscopy (Laser Diode)

•Temperature Dependence of Diode’s Saturation Current (Cryostat)

•Isotope Shift of Balmer Series in Hydrogen (Spectrometer)

•Mass of Cosmic Ray Muon (Fast-Timing Electronics)

•Fabrication of Fullerenes (Materials Fabrication)

•Proof of Existence of Photons (Single-Photon Detection)

Guided Experiments:

Page 23: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

Chaotic Circuit

LabVIEW

(Kiers et al, AJP 72, 503)

Page 24: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

High-Temperature Superconductor

Agilent 34410A

Four-Probe Resistance

Agilent 34410A

Thermocouple

Thermocouple Voltage

LabVIEW

GPIB

InsulatedSample

Page 25: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

COST

1. PCIe-6351: ($1400):

2. USB-6009: ($250):

3. myDAQ: ($199 for Students):

Limited Signal Generation

Analog Input 16-Bit, 1.25 MSample/sAnalog Output 16-Bit, 2.86 MSample/s

No Hardware Triggering

Analog Input 16-Bit, 200 kSample/sAnalog Output 16-Bit, 200 kSample/s

Analog Input 14-Bit, 48 kSample/sAnalog Output 12-Bit, 150 Sample/s

Page 26: Teaching Computer-Based Data Acquisition and Analysis  Research Skills Using LabVIEW

TIME

1. Seven-Week Intermediate Skill Level

2. Three-Week Introduction (Basic LabVIEW + DAQ Assistant)

3. Student Edition of LabVIEW $20 Learn Programming as HomeworkControl Hardware in Lab

4. myDAQ + Student Edition of LabVIEW $199

Learn Programming and Control Hardware as Homework