development of a software tool for use in university physics laboratories doug harper, scott...

33
Development of a software tool for use in University Physics Laboratories Doug Harper, Scott Bonham Western Kentucky University

Upload: heather-cameron

Post on 18-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Development of a software tool for use in University Physics Laboratories

Doug Harper, Scott Bonham Western Kentucky University

Page 2: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Development of a software tool for use in University Physics Laboratories

Doug Harper, Scott Bonham Western Kentucky University

Page 3: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

University Physics Laboratory at WKU

• Original curriculum developed in 1998• NSF Instrumentation and Laboratory Improvement Program:

“Transferable-Skills-Based University Physics Laboratories” Doug Humphrey and Doug Harper

• Experiments focus on verifying various physics principles and require students to use LabVIEW (National Instruments, www.ni.com) based software tools to acquire data.

• Data is often processed in Excel and analyzed in scientific graphing software called Igor Pro (Wavemetrics, www.wavemetrics.com).

• Detailed instructions for the experiment are provided to students in their laboratory manual.

Page 4: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

University Physics Laboratory at WKU

• New curriculum developed in 2012• NSF Course, Curriculum and Laboratory Improvement:

“Multidisciplinary Instructional Transformation in Science and Math Courses Supporting Teacher Preparation and Institutional Change” Scott Bonham (PI)

• Instructions to students in laboratory manual are more open ended and much less detailed.

• Pre-lab exercises are used to provide necessary background information to students prior to lab.

• New skills are introduced in a scaffolded manner to students throughout the semester.

Page 5: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Learning ObjectivesStudents completing WKU University Physics I Laboratory should be able to:

• Demonstrate improved conceptual understanding of foundational physics concepts on a conceptual assessment.

• Develop experimental procedures to carry out an investigation to test a hypothesis.

• Employ good measurement techniques, including calibration of sensors, reading scales, recording units and keeping good records.

• Collect data, produce standard formatted graphs, and interpret the data.• Prepare properly formatted graphs and analyze/interpret them. • Be able to identify, minimize and quantify uncertainty in measurements, estimate uncertainties in

calculated results, and compare with other results.• Carry out appropriate analysis of data using physical models (e.g. equations), including numerical

differentiation and integration.• Be able to write technical reports as assessed by an appropriate rubric.• Effectively function in teams to accomplish different tasks.• Students will be able to reproduce a result from a different science team.• Report having a positive learning experience in the course.

Page 6: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Software Design Goals

We wanted a software tool that would provide a user experience that would not get in the way of learning physics concepts and laboratory skills.

• Flexible – usable for many different experiment types.• Intuitive – easy for students to use.• Accurate – for both acquisition and analysis.• Efficient – students can acquire and analyze data.• Scalable – allows scaffolding of experimental design.

Page 7: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University
Page 8: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Experimental Setup Area

Students create and define• waveforms• constants• calculated values

in a custom fashion for different experiments.

Page 9: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Data Acquisition Control Area

Data acquisition can be easily started and stopped with the press of a front panel button or a key on the keyboard.

Page 10: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Waveform Data Export Area

Waveform data can be exported to:

• MS Word – images of graphs inserted in word document.• Igor Pro – waveform data as Igor text files.• Excel – waveform data in Excel compatible file.• Text – waveform data in tab-delimited form.

Page 11: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Calculations Export Area

• Calculations are single values such as a slope, average value, standard deviation, etc. calculated from a subset of a waveform.

• Result from multiple runs are tabulated and can be exported to Igor Pro, Excel, or a tab-delimited text file.

Page 12: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Experimental Setup File Area

• Definitions of waveforms, constants, and calculated values can be saved to an configuration file so that the experiment can be easily resumed/repeated.

• These setup files allow faculty to provide assistance early in the term and the students to have to define everything later in the term.

Page 13: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Tab Controls for Main Display

These tabs change the main display area to show:

• Acquired waveforms in a real-time graph.• A data table of all waveform values.• A set of waveform graphs grouped by units.• An x-y graph of one waveform versus another.• A table of calculated values tabulated from repeated runs.

Page 14: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Waveforms, Constants, and Calculations

• Tabbed interface separates common waveform types• acquired waveforms: sonic ranger, analog input, encoder• derived waveforms• constants• formula waveforms• calculated values

Page 15: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Waveforms, Constants, and Calculations

• Acquired Waveforms• sonic ranger waveforms: position.• analog input waveforms: force, pressure, temperature (anything that

outputs a voltage signal).• encoder waveforms: Pasco rotary motion sensor.

• Each acquired waveform channel is associated with• a descriptive name.• a unique variable (used for calculations).• physical channel information.• calibration factors (gain and offset).

Page 16: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Waveforms, Constants, and Calculations

• Buttons control basic waveform operations • Add waveform• Delete waveform• Move up or down in list• Calibrate waveform• Check waveform• Set timing parameters.

Page 17: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Calibration Wizard: Sonic Ranger

Page 18: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Calibration: Sonic Ranger

• Students calibrate using a wizard that guides them through measuring the sensor output at two widely separated values and then verifying the calibration at an intermediate value.

• Calibration factors (gain and offset) are stored with the channel information and in the experiment file if the student saves the experimental setup.

Page 19: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Sensor Check: Sonic Ranger

• Useful for checking proper operation of sensor.

Page 20: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Timing Parameters

Independently control the data collection rate for the• sonic ranger, • analog input, and • encoder waveform channels, along with the total collection time.

Page 21: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Derived Waveforms

• Used to compute the derivative, integral, or power spectrum of any previously defined waveform.

Page 22: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Constants

• Students define variable names to be associated with any constant values that will be required in further calculations.

• Variable names must be unique and cannot collide with previously used variables for the acquired or derived waveforms.

Page 23: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Formula Waveforms

• Waveforms can be computed from algebraic formulas involving any previously defined waveforms or constants.• In this example:• Gravitational Potential Energy – depends on position, mass and

inclination angle,• Kinetic Energy – depends on mass and velocity,• Total Energy – depends on GPE and KE.

Page 24: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Acquisition

• During data acquisition all acquired waveforms are updated on the main graph in real time.

Page 25: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Data Table

• Waveforms can be inspected in tabular form.

Page 26: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Waveform Graphs

• Waveforms are grouped by their units into separate graphs.

Page 27: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Zooming on Area of Interest• Once an region of interest has been identified the student

can calculate something specific from that region.

Page 28: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Calculated Values

• The system can calculate single values from any waveform.• Start and stop time based upon the zoom level of the

waveform graph.• Items that can be calculated include:• average value• standard deviation • slope• frequency• amplitude

Page 29: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Building Tables from Repeated Trials

• Repeating experiments to obtain multiple results that can be compared becomes very easy.

Page 30: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Experiments WKU University Physics I Laboratory

1. Measurement2. Position and Velocity3. Acceleration4. Free Fall5. Forces6. Friction7. Momentum and Impulse

8. Conservation of Energy9. Rotational Motion10. Simple Harmonic Motion11. Damped Harmonic Motion12. Ideal Gas Law13. Thermodynamic Cycle

Page 31: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Thermodynamic Cycle Experiment

Page 32: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Thermodynamic Cycle Experiment

Page 33: Development of a software tool for use in University Physics Laboratories Doug Harper, Scott BonhamWestern Kentucky University

Summary

• Physics Lab Assistant has proved to be a flexible and powerful yet easy to master software tool for acquiring and analyzing data in our University Physics Laboratories.• Students can use the software to design their own

experiments by defining what they want to measure and what that wish to calculate from these measurements allowing opportunity for repeated trials under different conditions.• We are working toward releasing an open-source version of

this software that can be used with your own sensors or sensors purchased from National Instruments. Contact [email protected] for more information.