DEVELOPMENT OF A HARDWARE/SOFTWARE FILTERING SYSTEM FOR DISPLACEMENT/ACCELERATION RESPONSE OF A 2ND ORDER DYNAMIC SYSTEM

Similar documents
Multidisciplinary Engineering Systems 2 nd and 3rd Year College-Wide Courses

Circuit Simulators: A Revolutionary E-Learning Platform

Application of Virtual Instruments (VIs) for an enhanced learning environment

Control Tutorials for MATLAB and Simulink

COMPUTER INTERFACES FOR TEACHING THE NINTENDO GENERATION

Phys4051: Methods of Experimental Physics I

AC : DESIGNING AN UNDERGRADUATE ROBOTICS ENGINEERING CURRICULUM: UNIFIED ROBOTICS I AND II

Design Of An Automatic Speaker Recognition System Using MFCC, Vector Quantization And LBG Algorithm

Project-Based-Learning: Outcomes, Descriptors and Design

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

Process to Identify Minimum Passing Criteria and Objective Evidence in Support of ABET EC2000 Criteria Fulfillment

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Human Emotion Recognition From Speech

Evidence for Reliability, Validity and Learning Effectiveness

Lecture 1: Machine Learning Basics

AGENDA LEARNING THEORIES LEARNING THEORIES. Advanced Learning Theories 2/22/2016

Timeline. Recommendations

SOFTWARE EVALUATION TOOL

On-Line Data Analytics

Major Milestones, Team Activities, and Individual Deliverables

Using Virtual Manipulatives to Support Teaching and Learning Mathematics

AC : FACILITATING VERTICALLY INTEGRATED DESIGN TEAMS

Science Fair Project Handbook

Abstractions and the Brain

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

Webshaker: Live Internet Shake-Table Experiment for Education and Research

Physics 270: Experimental Physics

Software Maintenance

10.2. Behavior models

Remote Control Laboratory Via Internet Using Matlab and Simulink

Team Dispersal. Some shaping ideas

How to Judge the Quality of an Objective Classroom Test

Math Pathways Task Force Recommendations February Background

EEAS 101 BASIC WIRING AND CIRCUIT DESIGN. Electrical Principles and Practices Text 3 nd Edition, Glen Mazur & Peter Zurlis

Robot manipulations and development of spatial imagery

Contact: For more information on Breakthrough visit or contact Carmel Crévola at Resources:

Computer Science. Embedded systems today. Microcontroller MCR

Radius STEM Readiness TM

Improving Conceptual Understanding of Physics with Technology

Shockwheat. Statistics 1, Activity 1

Using EEG to Improve Massive Open Online Courses Feedback Interaction

Using a PLC+Flowchart Programming to Engage STEM Interest

University of Toronto Physics Practicals. University of Toronto Physics Practicals. University of Toronto Physics Practicals

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

WHEN THERE IS A mismatch between the acoustic

Enduring Understandings: Students will understand that

ENEE 302h: Digital Electronics, Fall 2005 Prof. Bruce Jacob

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

Computer Organization I (Tietokoneen toiminta)

P-4: Differentiate your plans to fit your students

With guidance, use images of a relevant/suggested. Research a

Ansys Tutorial Random Vibration

Dynamic Pictures and Interactive. Björn Wittenmark, Helena Haglund, and Mikael Johansson. Department of Automatic Control

Extending Place Value with Whole Numbers to 1,000,000

REPORT ON CANDIDATES WORK IN THE CARIBBEAN ADVANCED PROFICIENCY EXAMINATION MAY/JUNE 2012 HISTORY

STA 225: Introductory Statistics (CT)

Leadership Development

Algebra 1, Quarter 3, Unit 3.1. Line of Best Fit. Overview

Lecturing Module

The Strong Minimalist Thesis and Bounded Optimality

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Designing a Rubric to Assess the Modelling Phase of Student Design Projects in Upper Year Engineering Courses

re An Interactive web based tool for sorting textbook images prior to adaptation to accessible format: Year 1 Final Report

ME 443/643 Design Techniques in Mechanical Engineering. Lecture 1: Introduction

Strategic Practice: Career Practitioner Case Study

Unit 3. Design Activity. Overview. Purpose. Profile

Litterature review of Soft Systems Methodology

On-the-Fly Customization of Automated Essay Scoring

Design Project for Advanced Mechanics of Materials

Voice conversion through vector quantization

EQuIP Review Feedback

Course outline. Code: PHY202 Title: Electronics and Electromagnetism

B.S/M.A in Mathematics

Running Head: Implementing Articulate Storyline using the ADDIE Model 1. Implementing Articulate Storyline using the ADDIE Model.

Thesis-Proposal Outline/Template

Intermediate Computable General Equilibrium (CGE) Modelling: Online Single Country Course

Purdue Data Summit Communication of Big Data Analytics. New SAT Predictive Validity Case Study

learning collegiate assessment]

THE USE OF TINTED LENSES AND COLORED OVERLAYS FOR THE TREATMENT OF DYSLEXIA AND OTHER RELATED READING AND LEARNING DISORDERS

Moderator: Gary Weckman Ohio University USA

AC : HANDS ON PROGRAMMABLE LOGIC CONTROLLER (PLC) LABORATORY FOR AN INDUSTRIAL CONTROLS COURSE

STRETCHING AND CHALLENGING LEARNERS

AUTOMATED TROUBLESHOOTING OF MOBILE NETWORKS USING BAYESIAN NETWORKS

Integration of ICT in Teaching and Learning

What is PDE? Research Report. Paul Nichols

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

Scenario Design for Training Systems in Crisis Management: Training Resilience Capabilities

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Measurement & Analysis in the Real World

Office Hours: Mon & Fri 10:00-12:00. Course Description

Developing skills through work integrated learning: important or unimportant? A Research Paper

Multi-sensory Language Teaching. Seamless Intervention with Quality First Teaching for Phonics, Reading and Spelling

From practice to practice: What novice teachers and teacher educators can learn from one another Abstract

Measurement. When Smaller Is Better. Activity:

THE INFORMATION SYSTEMS ANALYST EXAM AS A PROGRAM ASSESSMENT TOOL: PRE-POST TESTS AND COMPARISON TO THE MAJOR FIELD TEST

Activities, Exercises, Assignments Copyright 2009 Cem Kaner 1

An Introduction to Simio for Beginners

Transcription:

Paper 2005-1180 DEVELOPMENT OF A HARDWARE/SOFTWARE FILTERING SYSTEM FOR DISPLACEMENT/ACCELERATION RESPONSE OF A 2ND ORDER DYNAMIC SYSTEM Dr. Peter Avitabile, Associate Professor Tiffini Johnson, Dereck Ouellet, Nels Wirkkala, Undergraduate Students Mechanical Engineering Department University of Massachusetts Lowell One University Avenue Lowell, Massachusetts USA Peter_Avitabile@uml.edu Abstract The numerical processing (integration/differentiation) of measured displacement and acceleration data can often be plagued with a variety of measurement problems. Drift, bias, offset, electrical noise and random effects can wreck havoc on the processing of data. In order to minimize these effects, a variety of different filtering schemes can be employed. A student-designed measurement system that integrates the salient features of first order filtering systems is used to extend the student s knowledge on filtering. The students design hardware and software modules to provide filtering to minimize effects that distort the numerical integration/differentiation of the measured signals. Example signals are filtered using analog hardware filtering as well as MATLAB and Labview software tools with graphical user interface to assist in the fine tuning of the filter characteristics. I. Introduction Students do not always understand the need for basic STEM (Science, Technology, Engineering, Mathematics) material that is critical to the solution of engineering problems. While this is true in many of their engineering courses, this lack of feeling comfortable with the STEM material is seriously highlighted especially when physical measurements are made and interpretation of results is needed.

Students learn best with hands-on projects and problems with practical purpose [1]. Laboratory based, experimental problems are very good for demonstrating many aspects of engineering problem solving. Unfortunately, many laboratory environments are set up as exercises which typically have very clear, predetermined outcomes. This is done to reinforce lecture material that is presented in related courses [2]. The students are exposed to canned lab experiments and therefore, the laboratory becomes fairly well-defined and moderately deterministic. This forces the results to follow a fairly well-defined path. Experiments of this type are very good for demonstrating basic inherent skills that the students need to know. However, this does not exploit the laboratory experience to its fullest. Engineering problems rarely follow a cookbook approach. Students must be afforded the experience of problems that require them to formulate solutions to problems with no specific straight-line structure to the solution they must learn how to think outside the box [3]. Laboratory measurements pose the perfect opportunity for students to address real problems that do not follow a prescribed chapter in a text. They must bring to the problem all of their STEM skills to interrogate, decipher and analyze the phenomena observed in the laboratory measurement. Thus the laboratory environment becomes an excellent place for students to think on their own since there definitiely is no answer at the back of the book. While this is at times very frustrating to the students, they quickly learn that these are the problems they need to face as they transition from education to the workplace. Experiments play a very critical role in validating analytical models and hypotheses. Students must feel comfortable in a laboratory environment and must not feel foreign to lab equipment, instrumentation, etc. Students must also feel comfortable formulating solutions to real engineering problems using all of the STEM tools available to them. The STEM must become an integral part of their learning process throughout their entire educational and professional careers the students must, in essence, live the material every day and in every course. In the Mechanical Engineering Department at UMASS Lowell, the laboratory courses are taught in a two semester sequence. The first semester concentrates mainly on basic measurement tools (oscilloscopes, multimeters, digital data acquisition, etc), measuring devices (flow meters, manometers, pressure transducers/gages, pitot tubes, strain gages, thermocouples, accelerometers, LVDTs, etc) and methods for data collection/reduction (regression analysis, curvefitting, numerical processing). The first semester has many different labs which, in general, are intended to get the students exposed to the overall mechanical measurement world. However, there are a few labs which are intended to force the students to work through several difficult issues. The second semester is split into two halves. The first half continues the more structured lab environment but introduces more complicated labs and concepts including fourier domain processing techniques with FFT analyzers. The second half of the semester concentrates on the student development of a measurement system given only vague specification of the overall measurement requirements or problem to be addressed. The student must formulate a measurement system to achieve the require goals. This paper addresses one of the student projects during the second semester laboratory sequence.

One of the earlier laboratory exercises addresses the measurement of a second order mass, spring, dashpot system with the use of an LVDT (linear variable differential transformer) and an accelerometer to measure displacement and acceleration, respectively. Unfortunately, both signals are contaminated with noise, drift, bias and other uncontrollable factors which cause significant difficulty in processing the data. The students are required to integrate and differentiate the signals. Due to contamination of the signals, the resulting processed data has many irregularities that cause the students difficulty [4]. In order to alleviate this problem, the students are required to design both a hardware and software filtering system to properly treat the contaminated data observed during the earlier lab. Simple RC filtering circuits are designed to filter the drift, bias, offset and other effects observed on the signal. The raw signal is also processed using software filters designed in both Lablab/Simulink and Labview using the same RC filtering circuits designed. II Numerical Evaluation of a Simple Single DOF MCK System While most of the projects in the Mechanical Engineering Laboratory course involve specific, well-contained technical issues, there is one laboratory exercise which involves the majority of the topics addressed during the course of the semester. The numerical evaluation of a simple single degree of freedom (DOF) mass-spring-dashpot (MCK) system using acceleration and displacement measurements requires calibration, digital data acquisition and numerical processing of the data to compare the acceleration to the displacement data and compare the displacement to the measured acceleration data. The project involves multiple transducers, calibration, digital data acquisition, data cleansing, and numerical processing of the data. The specific lab addresses the displacement and acceleration response of a simple single DOF system using a noisy LVDT measuring device, a poorly selected accelerometer with drift, bias, sensitivity issues and a digital data acquisition system with poor accuracy which lacks sufficient features to adequately perform a decent measurement. The worst possible situation is used for the measurement (students can not appreciate the need for a good measurement system if they have never been exposed to a poor measurement system). The laboratory measurement exercise poses many problems. The simple MCK system is shown in Figure 1. The intent of the second semester laboratory project is to design a hardware and software filtering system to minimize the contamination of the measured signals. The students have already been exposed to the significant distortion that results when the raw data is processed numerically using integration and differentiation techniques. It is very clear to the students that the data must be cleansed prior to any numerical processing. The following sections describe the approaches taken to filter the raw data from both a hardware and software approach.

ACCELEROMETER MASS SPRING FIXED SUPPORT LVDT Figure 1 Photo of MCK System along with Schematic of Configuration II.1 Original Raw Data Integration and Differentiation In order to understand the need for filtering of the signals, the raw data of the accelerometer and LVDT are integrated and differentiated, respectively so that each of the signals can be compared to each other. The displacement data obtained from the LVDT and the integrated accelerometer data is shown in Figure 2. The acceleration data obtained for the accelerometer and from the differentiated LVDT is shown in Figure 3. From these two figures, it is very clear that there is significant data contamination issues that need to be addressed. In fact, many students make attempts to rectify the problem to improve the situation. In general, some improvements can be made but the solution to the problem is beyond the abilities of the students at that point in the first laboratory sequence. But, general improvements can be seen that forces the students to rethink their approach and helps to define their stategy better.

Integrated Accelerometer Data Compared to LVDT Data 4.5000 4.0000 Integrated Accelerometer Data LVDT Data 3.5000 3.0000 Displacement (in) 2.5000 2.0000 1.5000 1.0000 0.5000 0.0000 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6-0.5000 Time (sec) Figure 2 Displacement Comparison between Integrated Accelerometer Data and LVDT Data Differentiated LVDT Data Compared to Accelerometer Data 8000 6000 Differentiated LVDT Data Accelerometer Data 4000 Acceleration (in/sec^2) 2000 0-2000 -4000-6000 -8000 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 Time (sec) Figure 3 Acceleration Comparison of Differentiated LVDT Data and Accelerometer Data

II.2 Hardware Filtering An RC circuit is designed to address the issues pertaining to DC offset, bias error and higher frequency noise. Knowing the natural frequescy of the system to be measured and the desired frequency range of interest, the students start to design both a high pass and low pass filter. Design parameters such as signal attenuation and phase shift are important considerations in order to select appropriate cutoff frequencies. The simple low pass and high pass filter schematics are shown in Figure 4 and the hardware circuits are shown in Figure 5. These were used for actual filtering during data collection. (a) Figure 4 (a) Low-pass (RC) filter circuit diagram and (b) high-pass (CR) filter circuit diagram (b) Low-Pass Circuit High-Pass Circuit Figure 5 Hardware Circuit for a Band-Pass Filter

II.3 Analytical Filtering with Simulink and Labview In addition to hardware filtering, software filtering was performed on the raw data collected. This was performed by developing the companion RC and CR circuits in both Simulink and LabVIEW. In addition, a band pass filter was also simulated by putting the low pass and high pass filters in series as was also done in the hardware configuration. A typical block diagram showing the low pass filter is shown in Figure 6. In addition, another block diagram of the low pass, high pass and band pass filters are shown in Figure 7. As was done with the hardware configuration, appropriate cutoff frequencies were selected to minimize the amplitude attenuation and phase shift. Figure 6 SIMULINK RC Filter Using Transfer Function High Pass 1 In1 66s 66s+1 High Pass Transfer signal1 signal2 High Pass High_Pass To Workspace 1 0.01s+1 1 0.01s+1 Low Pass Transfer1 signal1 signal2 Band Pass Band Pass Band_Pass To Workspace1 Low Pass Low Pass Transfer signal1 Low_Pass signal2 To Workspace2 Low Pass Final Project ME Lab II Fall 2004 High Cutoff = 15.92 Hz Low Cutoff = 0.0022 Hz Clock Raw_Data To Workspace3 Figure 7 SIMULINK Low Pass, High Pass and Band Pass Filters

II.4 Differentiation of the Displacement Signal The LVDT signal is plagued by DC offset, drift, and noise as seen earlier. Using the hardware and software filtering techniques described above, the LVDT signal was cleansed. This signal was then differentiated to obtain an acceleration signal and compared to the accelerometer signal. This is shown in Figure 8. Since differentiation will always amplify any noise on the signal, any remaining noise will be amplified. This is seen on the data in Figure 8. While the data still has some noise, a significant improvement is seen over the unfiltered data. Additional filtering could be explored but the goal is to show the students that filtering may be a necessary part of the data processing. 2000 1500 Comparison of Accelerometer Data and Filtered, Differentiated LVDT Data Filtered, Differentiated LVDT Data Accelerometer Data Acceleration (in/sec^2) 1000 500 0-500 -1000-1500 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 Time (sec) Figure 8 Filtered LVDT Data Differentiated and Compared to Accelerometer Data II.5 Integration of the Accelerometer Signal The accelerometer signal is also plagued by DC offset, drift, and quantization errors as seen earlier. Using the hardware and software filtering techniques described above, the accelerometer signal was also cleansed. This signal was then integrated to obtain a displacement signal and compared to the LVDT signal. This is shown in Figure 9. While there is still some distortion on the data, improvements can be seen. Again, the intent is to clearly show that signal filtering may be an important consideration when processing data.

Comparison of Unfiltered to Filtered Accelerometer Data 0.4 0.3 Filtered Accelerometer Data LVDT Data 0.2 Displacement (in) 0.1 0.0-0.1-0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 Time (sec) Figure 9 Filtered Accelerometer Data Integrated and Compared to LVDT Data III Observations Mechanical engineering students often process data for comparisons of acceleration and displacement data. In a pristine analytical world, these signals are fairly easy to manipulate using standard numerical techniques. However, when collecting real data, many issues pertaining to the measured data must be addressed. The reality of measured data and common issues of drift, offset, bias and other random noise effects, distort the data. Numerical processing of this raw data will often yield very confusing results to the student. However, once the typical measurement issues are identified, the students can filter the data with very simple hardware and software tools. This helps to reinforce the generic underlying principles of first order systems but applied in a very different situation than typically seen by most mechanical engineering students. The students take charge of identifying the problem and defining solutions which forces them to think outside the box and employ many of the their STEM skills in order to solve this problem.

IV Summary A typical laboratory measurement system that is plagued with common measurement issues is used to illustrate the application of simple first order filtering schemes. The students employ basic first order theory to design appropriate hardware circuits and then also build those same circuits using Simulink and LabVIEW. While additional filtering will improve the situation further, the students gain first hand knowledge of the need for filtering in an environment which forces them to fully understand the theoretical aspects of the filters themselves. These filters are then both implemented in hardware and software configurations to show the application of these tools. The students gain significant benefit from having to develop each piece of this project. V Acknowledgement Some of the work presented herein was partially funded by the NSF Engineering Education Division Grant EEC-0314875 entitled Multi-Semester Interwoven Project for Teaching Basic Core STEM Material Critical for Solving Dynamic Systems Problems. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation The authors are grateful for the support obtained from NSF to further engineering education. VI References 1 Davis,B.G., Tools for Teaching, Jossey-Bass Publishers, San Francisco, 1993, p100. 2 Piaget,J., To Understand is to Invent, Grossman, New York, 1973. 3 Vygotsky,L., Mind in Society: The Development of Higher Psychological Processes, Harvard University Press, MA, 1978. 4 Avitabile,P., Hodgkins,J., Numerical Evaluation of Displacement and Acceleration for a Mass, Spring, Dashpot System, Proceedings of the American Society of Engineering Education, June 2004, Salt Lake City, Utah Peter Avitabile is an Associate Professor in the Mechanical Engineering Department and the Director of the Modal Analysis and Controls Laboratory at the University of Massachusetts Lowell. He is a Registered Professional Engineer with a BS, MS and Doctorate in Mechanical Engineering and a member of ASEE, ASME, IES and SEM. Tiffini Johnson, Dereck Ouellet, Nels Wirkkala are Undergraduate Students in the Mechanical Engineering Department at the University of Massachusetts.