Lab 2 Modeling from an observed response

Size: px
Start display at page:

Download "Lab 2 Modeling from an observed response"

Transcription

1 Lab 2 Modeling from an observed response Agenda Time Item 5 min Lab introduction The big picture of system modeling in the time domain 5 min The SEE, to quantify the goodness of fit 5 min Demonstration of collecting step response data for a mass-spring-damper apparatus 145 min Lab activity Modeling of a mass-spring-damper apparatus The big picture: Collect step response data for a mass-springdamper apparatus. Identify the physical parameters for an ideal mass-spring-damper system model from the data. Simulate the model response and compare it to the data graphically and by computing the SEE. Refine the original model to obtain a better fit of model response to data. k m x Compare the refined model response to the data graphically and by computing the SEE to demonstrate improvement. c Write a memo to present and interpret your results. ES 205 Lab 2 Page 1 of 11

2 The big picture of system modeling in the time domain From experiment From applying first principles Run experiment and collect data Draw system schematic, draw KD = FBD, and apply COLM rate to obtain DE model + + = Plot response data Use data to obtain model parameters Simulate and plot response of model Displacement (cm) Time (s) Displacement (cm) Time (s) Compare model to data No Good match between model and data? Improve model fidelity Yes Useable model ES 205 Lab 2 Page 2 of 11

3 The SEE, to quantify the goodness of fit The standard error of estimate (SEE): SEE=,, 2 where is the number of data points. Response (units) Response (units) Time (s) Quantifies the goodness of fit between a model response and data. Standard deviation of data with respect to a model prediction. Has the same units as and. Has little meaning by itself you need to compare it to another computed SEE value. Reminder about computing the SEE: The simulation time array needs to match the data time array tdata. Force Simulink to return the same times in tdata: Be sure to load the data before the running the simulation. In you Matlab script use: >> sim( model,tdata); ES 205 Lab 2 Page 3 of 11

4 Collect the step response data Set up the hardware: 1. If the computer is on, restart it. If the computer is off, turn it on. 2. Turn on the ECP box sitting above the workstation by pressing the black button. 3. Set up the mass-spring-damper system: Fix the middle and right carts. Remove any brass weights from the left cart. Attach a stiff (heavy gauge wire) spring to the cart. If your workstation has an AirPot damper, attach it to the cart. Remove the plug from the back. If not connected, connect the two power/signal cables to the apparatus. Set up the software: 1. Log in to the workstation computer. User name: student Password: student 2. Load the controller personality file for the apparatus. Open the program ECP32: Start > Programs > ECP > ECP32. In ECP32: Utility > Download Controller Personality File. Open m210_rtwt_3.pmc. Close ECP32 when the file is finished loading. 3. Open the files to run the experiment. Open MATLAB R2010a. Change the directory to C:\Documents and Settings\student\Desktop\ES205\Lab34. ES 205 Lab 2 Page 4 of 11

5 Open ECPDSPResetmdl.mdl. Click the Incremental Build button. You may need to make the window wider to find this button. A bunch of stuff will be written to the MATLAB command window, ending with something like ### Successful completion of Real-Time Workshop build procedure for model: ECPDSPResetmdl. Open lab_1_210.mdl. Click the Incremental Build button and wait for the build to complete. Run the experiment: 1. In ECPDSPResetmdl.mdl: Push the Connect to Target button. The Play button should become black. Push the Play button to reset the encoder (which measures the cart position) to zero. 2. In lab_1_210.mdl: Open the Step block. Record the software step amplitude ( final value ): = Calculate the magnitude of the step force applied to the cart: (69.5 N) = N Push the Connect to Target button. The Play button should become black. Push the Play button and watch the cart respond to the supplied step input force. You should see a plot of the measured cart displacement in the figure window that pops up. If the data are distorted in any way, rerun the experiment by repeating Steps 1 and 2. ES 205 Lab 2 Page 5 of 11

6 Call me over if you are having problems running the experiment. 3. Save and transfer the data. The time data is recorded in seconds and stored in the array time. The cart displacement data is recorded in centimeters and stored in the array x1. Save the data using the save command: save filename time x1 (replace filename with the actual file name) Transfer the data file to your laptop using a thumb drive. 4. Shut down the system. Close all programs and shut down the computer. Turn the ECP box off by pressing the red button. ES 205 Lab 2 Page 6 of 11

7 Identify the system parameters from the data Prepare for analysis: Locate your Simulink model and MATLAB m-file from the prelab. Create a copy of these files to use for Lab 2 analysis. Perform all calculations in your m-file. Download and open the Lab 2 memo template from the course website. Do the analysis: 1. Load and plot the step response data (Figure 1 in the Lab 2 memo template). Use the same plotting standards as in previous labs and prelabs (axis labels, markers for data, etc.). 2. Extract the following data from the step response plot and arrays: First peak value: Second peak value: Time to first peak: Time to second peak: Steady-state value: 3. Record,,,, and in Table 1 in the Lab 2 memo template, along with. Use no more than 4 significant digits. Include units. 4. Use the data in Table 1 to calculate the standard form parameters,, and. 5. Record,, and in Table 2 in the Lab 2 memo template, along with (which was calculated). Use no more than 4 significant digits. Include units. 6. Calculate the cart mass, damping coefficient, and spring stiffness from,, and. 7. Record,, and in Table 3 in the Lab 2 memo template. Use no more than 4 significant digits. Include units. ES 205 Lab 2 Page 7 of 11

8 Simulate the model and compare its response to the data Simulate the step response: 1. Use your calculated,, and values to simulate the step response of your mass-spring-damper model. Compare the model response to the data: 2. Plot the model step response and data on the same axes in centimeters (Figure 2 in the Lab 2 memo template). Use the same plotting standards as in previous labs and prelabs (axis labels, legend, markers for data, line for the model response, etc.). 3. Compute the SEE in centimeters to quantify the error in the model prediction. 4. Record the SEE value in Table 3 in the Lab 2 memo template. Use no more than 4 significant digits. Include units. ES 205 Lab 2 Page 8 of 11

9 Refine the model for a better fit of model response to data The model prediction does not quite match the data. The original mass-spring-damper system model is insufficient. Refine the model to better fit the step response data. Remember: the data are true and the model is an estimate. The model requires refinement, not reality. Refining the DE model: Account for Coulomb (dry) friction between the cart and rails: k x m c Modifying the simulation diagram and solver settings: 1. Use the Coulomb & Viscous Friction block: Discontinuities > Coulomb & Viscous Friction ES 205 Lab 2 Page 9 of 11

10 2. You need to change the solver settings in Simulink to solve this refined DE model: In Simulink: Simulation > Model Configuration Parameters > Solver Set Solver to ode15s (stiff/ndf) : Set Algorithm to Adaptive : Update the model: 1. Modify your simulation diagram to incorporate the Coulomb & Viscous Friction block. 2. Modify your m-file to incorporate the Coulomb friction parameters. 3. Run your simulation with =0. Check that you get the same response and SEE value as your original model. If you don t, find the problem and fix it before continuing. Determine refined model parameters: 1. Obtain a lower SEE and a better visual fit between the model and data by Gradually increasing. Making small tweaks to,, and (if necessary). 2. Record your best values for,,,, and the SEE in Table 3 in the Lab 2 memo template. Use no more than 4 significant digits. Include units. 3. Plot the refined model step response and data on the same axes in centimeters (Figure 3 in the Lab 2 memo template). Use the same plotting standards as in previous labs and prelabs (axis labels, legend, markers for data, line for the model response, etc.). ES 205 Lab 2 Page 10 of 11

11 Submit a memo detailing your results As a team, complete the Lab 2 memo: Complete all tables. Include units. Paste in all requested plots. Do NOT use the Snipping Tool. Provide descriptive captions for all tables and figures. For your plot of the original model response and data on the same axes (Figure 2), do the following: 1. Write a paragraph, positioned above the figure, describing what the graph is. What is graphed as a function of what? What is the reader seeing? Refer to the graph by its figure number. 2. Below the figure, write a second paragraph describing what the graph means. How does the model response compare to the data? Use technical language like peak time, settling time, overshoot, steady-state value, etc. What do you infer from comparing the model response to the data? For your plot of the refined model response and data on the same axes (Figure 3), do the following: 1. Write a paragraph, positioned above the figure, describing what the graph is. What is graphed as a function of what? What is the reader seeing? Refer to the graph by its figure number. 2. Below the figure, write a second paragraph describing what the graph means. How does the refined model response compare to the data? Use technical language like peak time, settling time, overshoot, steady-state value, etc. What do you infer from comparing the refined model response to the data? Attach printouts of your final Simulink model and MATLAB m-file (i.e., for the refined model). Submit your Lab 2 memo by the end of the lab period. ES 205 Lab 2 Page 11 of 11

Open Loop Step Response

Open Loop Step Response TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Open Loop Step Response by Sean Hendrix revised by Trevor Eckert 1 OBJECTIVE The objective is to find a first-order model for a DC motor using the open loop step

More information

Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET

Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET After reading through the Introduction, Purpose and Principles sections of the lab manual (and skimming through the procedures), answer the following

More information

Justin s Guide to Good Lab Writing

Justin s Guide to Good Lab Writing General Formatting: Justin s Guide to Good Lab Writing Different sections of the lab report should be easy to distinguish. (Just look at this document) o Section titles should NOT be separated from content

More information

Introduction to Simulink

Introduction to Simulink University College of Southeast Norway Introduction to Simulink Hans-Petter Halvorsen, 2016.11.01 http://home.hit.no/~hansha Preface Simulink, developed by The MathWorks, is a commercial tool for modeling,

More information

Lab 7: PID Control with Trajectory Following

Lab 7: PID Control with Trajectory Following Introduction ME460: INDUSTRIAL CONTROL SYSTEMS Lab 7: PID Control with Trajectory Following In Lab 6 you identified an approximate transfer function for both the X and Y linear drives of the XY stage in

More information

ECE-205 Lab 1. Introduction to Simulink and Matlab

ECE-205 Lab 1. Introduction to Simulink and Matlab ECE-205 Lab 1 Introduction to Simulink and Matlab Throughout this lab we will focus on determining the behavior of a first order system written in the standard form dy( t) y( t) Kx( t) dt where xt () is

More information

Figure 1: Control & Simulation Loop

Figure 1: Control & Simulation Loop Pre-Lab 4 LabVIEW Tutorial Overview In this tutorial, you will be using the Control & Simulation library in LabVIEW to simulate the step response for the transfer function of a system. ATTENTION : After

More information

Advanced Curve Fitting. Eric Haller, Secondary Occasional Teacher, Peel District School Board

Advanced Curve Fitting. Eric Haller, Secondary Occasional Teacher, Peel District School Board Advanced Curve Fitting Eric Haller, Secondary Occasional Teacher, Peel District School Board rickyhaller@hotmail.com In many experiments students collect two-variable data, make scatter plots, and then

More information

ADAMS Assignment 5. ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 6, 2013 Due: November 13, 2013

ADAMS Assignment 5. ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 6, 2013 Due: November 13, 2013 ADAMS Assignment 5 ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 6, 2013 Due: November 13, 2013 Turning in Your Assignment Create a single PDF file, named lastname_adams_05.pdf

More information

Closed Loop Step Response

Closed Loop Step Response TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Closed Loop Step Response by Sean Hendrix revised by Trevor Eckert 1 OBJECTIVE This experiment adds feedback to the Open Loop Step Response experiment. The objective

More information

Visual Physics Camera Parallax Lab 1

Visual Physics Camera Parallax Lab 1 In this experiment you will be learning how to locate the camera properly in order to identify and minimize the sources of error that are introduced by parallax and perspective. These sources of error

More information

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Part 1: Planar Analysis A Deterministic Analysis This exercise will demonstrate the basics of a deterministic limit equilibrium planar analysis

More information

Basic User Manual Maxwell 2D Student Version. Rick Hoadley Jan 2005

Basic User Manual Maxwell 2D Student Version. Rick Hoadley Jan 2005 1 Basic User Manual Maxwell 2D Student Version Rick Hoadley Jan 2005 2 Overview Maxwell 2D is a program that can be used to visualize magnetic fields and predict magnetic forces. Magnetic circuits are

More information

Android (A1000) Y4 Classrooms: User Guide

Android (A1000) Y4 Classrooms: User Guide Android (A1000) Y4 Classrooms: User Guide Provided by the SDUSD Ed Tech Team i21 2014 Teachers - Version 3.25.2014 Table of Contents Basic Functionality... Navigation Tips... Taking a Screenshot... Finding

More information

MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version

MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version 3.1415 ECP HARDWARE & SOFTWARE Turning on Hardware Turn on the ECP (model 205 or 210) control

More information

EN4 Dynamics and Vibrations Design Project Optimizing a dynamically tuned projectile launcher

EN4 Dynamics and Vibrations Design Project Optimizing a dynamically tuned projectile launcher EN4 Dynamics and Vibrations Design Project Optimizing a dynamically tuned projectile launcher Synopsis In this project you will use MATLAB simulations to design a simple system to launch a mass to the

More information

Math 408R: UT Fall 2016

Math 408R: UT Fall 2016 Mini-Project 2: SIR using Matlab, Due October 7 In this assignment, you will be asked to run, modify, discuss, and print output from the SIREulers program you have on Matlab (which may be found on our

More information

Hands-on Lab. Open-Loop Response: System Identification

Hands-on Lab. Open-Loop Response: System Identification Hands-on Lab Open-Loop Response: System Identification v r Motorized tethered cart A step or impulse response provides useful information that characterizes the system. With such data, one can then begin

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Introduction to Simulink. The Use of Mathematic Simulations in Electrical Engineering

Introduction to Simulink. The Use of Mathematic Simulations in Electrical Engineering Introduction to Simulink The Use of Mathematic Simulations in Electrical Engineering Lecture Outline 1) Introduction to Simulink 2) Modelling of dynamics systems 2 Simulink Tool for modeling, simulating,

More information

Use the slope of a graph of the cart s acceleration versus sin to determine the value of g, the acceleration due to gravity.

Use the slope of a graph of the cart s acceleration versus sin to determine the value of g, the acceleration due to gravity. Name Class Date Activity P03: Acceleration on an Incline (Acceleration Sensor) Concept DataStudio ScienceWorkshop (Mac) ScienceWorkshop (Win) Linear motion P03 Acceleration.ds (See end of activity) (See

More information

ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel

ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel Overview: In this lab we will utilize the dspic30f6015 to model a DC motor that is used to control the speed of a wheel. Most of

More information

ENED 1090: Engineering Models I Homework Assignment #2 Due: Week of September 16 th at the beginning of your Recitation Section

ENED 1090: Engineering Models I Homework Assignment #2 Due: Week of September 16 th at the beginning of your Recitation Section ENED 1090: Engineering Models I Homework Assignment #2 Due: Week of September 16 th at the beginning of your Recitation Section Instructions: 1. Before you begin editing this document, you must save this

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000 University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Spring 2000 Lab 1 Introduction to Xilinx Design Software 1 Objectives In this

More information

How to Model Friction in SIMPACK

How to Model Friction in SIMPACK How to Model Friction in SIMPACK 1. General Modelling friction in multi-body systems is somewhat challenging. The friction law itself is a simple function, see figure. However, if the relative velocity

More information

Tutorial 1 Getting Started

Tutorial 1 Getting Started by Tutorial 1 Getting Started Objective The following tutorial is a step-by-step introduction to the basics of SimulationX. You will first get an overview of the graphical user interface (GUI) with the

More information

Velocity: A Bat s Eye View of Velocity

Velocity: A Bat s Eye View of Velocity Name School Date Purpose Velocity: A Bat s Eye View of Velocity There are a number of ways of representing motion that we ll find useful. Graphing position, velocity, and acceleration vs. time is often

More information

From Motion diagrams to Position and Velocity Graphs

From Motion diagrams to Position and Velocity Graphs From Motion diagrams to Position and Velocity Graphs Name: Group Members: Date: TA s Name: Apparatus: Aluminum track and a support, cart, plastic ruler, tape timer, and pencil Objectives: 1) To be familiar

More information

A casual approach to numerical modeling

A casual approach to numerical modeling A casual approach to numerical modeling Spring-Mass-Damper System - part 2. by George Lungu It contains a tutorial about the implementation of a static SMD model in Excel

More information

Lab Assignment #10: Mechanisms

Lab Assignment #10: Mechanisms Lab Assignment #10: Mechanisms Instructor: Mike Philpott (email: mphilpot@illinois.edu) Date Due: One week from Start Day of Lab (turn in deadline 11pm night before next lab) Part 0. Configure Creo. Apply

More information

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual Rotary Motion Servo Plant: SRV02 Rotary Experiment #00: QuaRC Integration Using SRV02 with QuaRC Student Manual SRV02 QuaRC Integration Instructor Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1

More information

Graphical Analysis of Kinematics

Graphical Analysis of Kinematics Physics Topics Graphical Analysis of Kinematics If necessary, review the following topics and relevant textbook sections from Serway / Jewett Physics for Scientists and Engineers, 9th Ed. Velocity and

More information

Lab Assignment 5: Haptic Rendering

Lab Assignment 5: Haptic Rendering Haptics: Engineering Touch Allison Okamura Stanford University Autumn 2017 Lab Assignment 5: Haptic Rendering In this week's lab assignment, you will modify your program from last week in order to achieve

More information

Utilizing Student Computers for Laboratory Data Acquisition in a University-Wide Laptop Environment

Utilizing Student Computers for Laboratory Data Acquisition in a University-Wide Laptop Environment Utilizing Student Computers for Laboratory Data Acquisition in a University-Wide Laptop Environment Lewis G. Frasch, P.E. Lawrence Technological University Session 2559 Abstract Laptop computers are being

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Fall 2000 Original Lab By: J.Wawrzynek and N. Weaver Edited by B. Choi, R.

More information

Matlab Handout Nancy Chen Math 19 Fall 2004

Matlab Handout Nancy Chen Math 19 Fall 2004 Matlab Handout Nancy Chen Math 19 Fall 2004 Introduction Matlab is a useful program for algorithm development, numerical computation, and data analysis and visualization. In this class you will only need

More information

Single Candidate Methods

Single Candidate Methods Single Candidate Methods In Heuristic Optimization Based on: [3] S. Luke, "Essentials of Metaheuristics," [Online]. Available: http://cs.gmu.edu/~sean/book/metaheuristics/essentials.pdf. [Accessed 11 May

More information

Self-Correcting Projectile Launcher. Josh Schuster Yena Park Diana Mirabello Ryan Kindle

Self-Correcting Projectile Launcher. Josh Schuster Yena Park Diana Mirabello Ryan Kindle Self-Correcting Projectile Launcher Josh Schuster Yena Park Diana Mirabello Ryan Kindle Motivation & Applications Successfully reject disturbances without use of complex sensors Demonstrate viability of

More information

Introduction to Matlab Simulink. Control Systems

Introduction to Matlab Simulink. Control Systems Introduction to Matlab Simulink & their application in Control Systems ENTC 462 - Spring 2007 Introduction Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB

More information

Lab 12: Joint Driver and Force Creation Lab

Lab 12: Joint Driver and Force Creation Lab Page 1 Lab 12: Joint Driver and Force Creation Lab Objective This lab will continue to introduce the definition of Joint Drivers. These drivers will prescribe the motion in the three translational degrees

More information

Assignment 3: Robot Design and Dynamics ME 328: Medical Robotics Stanford University w Autumn 2016

Assignment 3: Robot Design and Dynamics ME 328: Medical Robotics Stanford University w Autumn 2016 Assignment 3: Robot Design and Dynamics ME 328: Medical Robotics Stanford University w Autumn 2016 Due to submission box outside Okamura s office by :00 pm on Monday, October 2 (revised) Note: You can

More information

Programming Exercise 1: Linear Regression

Programming Exercise 1: Linear Regression Programming Exercise 1: Linear Regression Machine Learning Introduction In this exercise, you will implement linear regression and get to see it work on data. Before starting on this programming exercise,

More information

ELEC 341 Project Selective Laser Sintering 3D Printer The University of British Columbia

ELEC 341 Project Selective Laser Sintering 3D Printer The University of British Columbia ELEC 341 Project 2017 - Selective Laser Sintering 3D Printer The University of British Columbia In selective laser sintering (SLS), 3D parts are built by spreading a thin layer of metallic powder over

More information

Objectives. Part 1: forward kinematics. Physical Dimension

Objectives. Part 1: forward kinematics. Physical Dimension ME 446 Laboratory #1 Kinematic Transformations Report is due at the beginning of your lab time the week of February 20 th. One report per group. Lab sessions will be held the weeks of January 23 rd, January

More information

Real-Time Simulation of Simscape Models

Real-Time Simulation of Simscape Models 2010 The MathWorks, Inc. Real-Time Simulation of Simscape Models Vehicle Dynamics Motor Planetary Gear Electric Motor Electric Generator DC-DC Converter Battery Controller Hybrid Electric Vehicle Wit ursilo

More information

Android (A7-40) Y5 Classrooms: User Guide

Android (A7-40) Y5 Classrooms: User Guide Android (A7-40) Y5 Classrooms: User Guide Provided by the SDUSD Ed Tech Team i21 2015 Teachers - Version 1.20.2015 Table of Contents Basic Functionality... Navigation Tips... Taking a Screenshot... Finding

More information

Chemistry 30 Tips for Creating Graphs using Microsoft Excel

Chemistry 30 Tips for Creating Graphs using Microsoft Excel Chemistry 30 Tips for Creating Graphs using Microsoft Excel Graphing is an important skill to learn in the science classroom. Students should be encouraged to use spreadsheet programs to create graphs.

More information

Graphical Analysis of Kinematics

Graphical Analysis of Kinematics Physics Topics Graphical Analysis of Kinematics If necessary, review the following topics and relevant textbook sections from Serway / Jewett Physics for Scientists and Engineers, 9th Ed. Velocity and

More information

Spectroscopic Analysis: Peak Detector

Spectroscopic Analysis: Peak Detector Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.

More information

School Date. Velocity: A Bat s Eye View of Velocity

School Date. Velocity: A Bat s Eye View of Velocity Name School Date Velocity: A Bat s Eye View of Velocity PURPOSE There are a number of useful ways of modeling (representing) motion. Graphing position, velocity, and acceleration vs. time is a good choice

More information

Introduction to Simulink

Introduction to Simulink Introduction to Simulink Mikael Manngård Process Control Laboratory, Åbo Akademi University February 27, 2014 Simulink is an extension to MATLAB that is used for modeling and simulation of dynamic systems.

More information

Spring Pendulum * Muhammad Umar Hassan and Muhammad Sabieh Anwar

Spring Pendulum * Muhammad Umar Hassan and Muhammad Sabieh Anwar Spring Pendulum * Muhammad Umar Hassan and Muhammad Sabieh Anwar Center for Experimental Physics Education, Syed Babar Ali School of Science and Engineering, LUMS V. 2017-1; May 3, 2017 Oscillations are

More information

An Introduction to Data Analysis, Statistics, and Graphing

An Introduction to Data Analysis, Statistics, and Graphing An Introduction to Data Analysis, Statistics, and Graphing What is a Graph? Present processes, relationships, and changes in a visual format that is easily understandable Attempts to engage viewers by

More information

ECE383: Microcomputers Lab 2 PIC24 System Schematic Creation in PCB Artist

ECE383: Microcomputers Lab 2 PIC24 System Schematic Creation in PCB Artist ECE383: Microcomputers Lab 2 PIC24 System Schematic Creation in PCB Artist Goals: The goals of this lab are to introduce students to the creation of a partial PIC24-based schematic and printed circuit

More information

Computer Setup Guide for SEC301

Computer Setup Guide for SEC301 Computer Setup Guide for SEC301 This document identifies the steps you need to take to make sure that your computer is ready for the lab exercises for SEC301. Prior to coming to class you need to ensure

More information

There is no need to submit any report and you just need to finish the three tutorials as well as the example.

There is no need to submit any report and you just need to finish the three tutorials as well as the example. The first three tutorials are selected from the MATLAB/Simulink help. The fourth example is a simple SimMechanics example which can help you learn the SimMechanics more. You can find more detailed information

More information

Verification of Laminar and Validation of Turbulent Pipe Flows

Verification of Laminar and Validation of Turbulent Pipe Flows 1 Verification of Laminar and Validation of Turbulent Pipe Flows 1. Purpose ME:5160 Intermediate Mechanics of Fluids CFD LAB 1 (ANSYS 18.1; Last Updated: Aug. 1, 2017) By Timur Dogan, Michael Conger, Dong-Hwan

More information

How do you roll? Fig. 1 - Capstone screen showing graph areas and menus

How do you roll? Fig. 1 - Capstone screen showing graph areas and menus How do you roll? Purpose: Observe and compare the motion of a cart rolling down hill versus a cart rolling up hill. Develop a mathematical model of the position versus time and velocity versus time for

More information

Simulation of Laminar Pipe Flows

Simulation of Laminar Pipe Flows Simulation of Laminar Pipe Flows 57:020 Mechanics of Fluids and Transport Processes CFD PRELAB 1 By Timur Dogan, Michael Conger, Maysam Mousaviraad, Tao Xing and Fred Stern IIHR-Hydroscience & Engineering

More information

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset Mid Sweden University Revised: 2013-11-12 Magnus Eriksson Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset You are expected to conclude

More information

GIAC Introduction to Security Fundamentals. Laptop and External Drive Configuration Guide Version 1.1 SEC301

GIAC Introduction to Security Fundamentals. Laptop and External Drive Configuration Guide Version 1.1 SEC301 GIAC Introduction to Security Fundamentals Laptop and External Drive Configuration Guide Version 1.1 SEC301 SEC301 - Hands-on Exercises Addendum Page 1 Table of Contents Background... 3 Create a local

More information

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc.

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc. MATLAB Examples Simulink Hans-Petter Halvorsen, M.Sc. What is Simulink? Simulink is an add-on to MATLAB. You need to have MATLAB in order to use Simulink Simulink is used for Simulation of dynamic models

More information

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window. EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses

More information

ECE 3793 Matlab Project 1

ECE 3793 Matlab Project 1 ECE 3793 Matlab Project 1 Spring 2017 Dr. Havlicek DUE: 02/04/2017, 11:59 PM Introduction: You will need to use Matlab to complete this assignment. So the first thing you need to do is figure out how you

More information

1) Click Here to access our article How To Set Up Your Wix Personal Website In Under 15 Minutes.

1) Click Here to access our article How To Set Up Your Wix Personal Website In Under 15 Minutes. 1) Click Here to access our article How To Set Up Your Wix Personal Website In Under 15 Minutes. 2) Go to Step One and watch the video How To See If My Domain Name Is Available 3) Click the link directly

More information

Spring Pendulum. Muhammad Umar Hassan and Muhammad Sabieh Anwar

Spring Pendulum. Muhammad Umar Hassan and Muhammad Sabieh Anwar Spring Pendulum Muhammad Umar Hassan and Muhammad Sabieh Anwar Center for Experimental Physics Education, Syed Babar Ali School of Science and Engineering, LUMS V. 2016-1; April 28, 2016 Oscillations are

More information

Experiment 8 SIMULINK

Experiment 8 SIMULINK Experiment 8 SIMULINK Simulink Introduction to simulink SIMULINK is an interactive environment for modeling, analyzing, and simulating a wide variety of dynamic systems. SIMULINK provides a graphical user

More information

AMS 27L LAB #2 Winter 2009

AMS 27L LAB #2 Winter 2009 AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles

More information

Physics 1020 Experiment 3. Acceleration of Falling Objects

Physics 1020 Experiment 3. Acceleration of Falling Objects 1 2 Part I: Introduction In this experiment you will study the motion of a falling ball which experiences constant acceleration. You will use a Motion Detector to measure the position of the ball as a

More information

Figure 1. Figure 2. The BOOTSTRAP

Figure 1. Figure 2. The BOOTSTRAP The BOOTSTRAP Normal Errors The definition of error of a fitted variable from the variance-covariance method relies on one assumption- that the source of the error is such that the noise measured has a

More information

CHEMINSTRUMENTS DYNAMIC SHEAR TESTER MODEL DS-1000 OPERATING INSTRUCTIONS

CHEMINSTRUMENTS DYNAMIC SHEAR TESTER MODEL DS-1000 OPERATING INSTRUCTIONS CHEMINSTRUMENTS DYNAMIC SHEAR TESTER MODEL DS-1000 OPERATING INSTRUCTIONS Overview...3 Operation...4 Load Cell Calibration...5 Units...5 Speed...5 Offset...5 Auto Return...6 Break Percent...6 Help...6

More information

Matlab OTKB GUI Manual:

Matlab OTKB GUI Manual: Matlab OTKB GUI Manual: Preface: This is the manual for the OTKB GUI. This GUI can be used to control stage position as well as perform sensitivity and stiffness calibrations on the trap. This manual will

More information

SIMULINK A Tutorial by Tom Nguyen

SIMULINK A Tutorial by Tom Nguyen Introduction SIMULINK A Tutorial by Tom Nguyen Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB to offer modeling, simulating, and analyzing of dynamical

More information

Workshop 15. Single Pass Rolling of a Thick Plate

Workshop 15. Single Pass Rolling of a Thick Plate Introduction Workshop 15 Single Pass Rolling of a Thick Plate Rolling is a basic manufacturing technique used to transform preformed shapes into a form suitable for further processing. The rolling process

More information

Lab 4: Trajectory Following 1

Lab 4: Trajectory Following 1 Lab 4: Trajectory Following 1 Prelab Familiarize yourself with how the LabVIEW program works It is XYposition_control1.4.vi Located in Lab4_LabVIEW.zip on the Stellar page 2 Optional prelab: create your

More information

*What s your name? *What s happening in your life today? *(can you say it in forty words or less?)

*What s your name? *What s happening in your life today? *(can you say it in forty words or less?) Write a story using Word - Class http://www.mudie.info/class/index.php?title=write_a_story_using_word Page 1 of 2 6/9/2017 Write a story using Word From Class Session 8 of the computer training course

More information

[ MATLAB ] [ Resources ] PART TWO: SIMULINK

[ MATLAB ] [ Resources ] PART TWO: SIMULINK Página 1 de 15 [ MATLAB ] [ Resources ] PART TWO: SIMULINK Contents Introduction Getting Started Handling of Blocks and Lines Annotations Some Examples NOTE: This tutorial is based on Simulink Version

More information

NENS 230 Assignment 4: Data Visualization

NENS 230 Assignment 4: Data Visualization NENS 230 Assignment 4: Data Visualization Due date: Tuesday, October 20, 2015 Goals Get comfortable manipulating figures Familiarize yourself with common 2D and 3D plots Understand how color and colormaps

More information

Calibration of Nonlinear Viscoelastic Materials in Abaqus Using the Adaptive Quasi-Linear Viscoelastic Model

Calibration of Nonlinear Viscoelastic Materials in Abaqus Using the Adaptive Quasi-Linear Viscoelastic Model Calibration of Nonlinear Viscoelastic Materials in Abaqus Using the Adaptive Quasi-Linear Viscoelastic Model David B. Smith *, Uday Komaragiri **, and Romil Tanov ** ** * Ethicon Endo-Surgery, Inc., Cincinnati,

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB SECTION: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures

More information

Simulation of Turbulent Flow over the Ahmed Body

Simulation of Turbulent Flow over the Ahmed Body 1 Simulation of Turbulent Flow over the Ahmed Body ME:5160 Intermediate Mechanics of Fluids CFD LAB 4 (ANSYS 18.1; Last Updated: Aug. 18, 2016) By Timur Dogan, Michael Conger, Dong-Hwan Kim, Maysam Mousaviraad,

More information

Warm-Up Exercises. Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; y = 2x + 7 ANSWER ; 7

Warm-Up Exercises. Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; y = 2x + 7 ANSWER ; 7 Warm-Up Exercises Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; 3 2. y = 2x + 7 7 2 ANSWER ; 7 Chapter 1.1 Graph Quadratic Functions in Standard Form A quadratic function is a function that

More information

xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at:

xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at: xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at: www.mathworks.com Control Hardware Connect to your experiment through the network. xpc

More information

motcom loganalyser User Manual

motcom loganalyser User Manual User Manual Part No. 2 900 04 10000 Release 07.03.2016 English revision 160825 Kurt-Schumacher-Str. 28-30 66130 Saarbrücken, Germany e-mail: info@motcomgmbh.com web: www.motcomgmbh.com Contents Introduction...

More information

Simulation of Turbulent Flow around an Airfoil

Simulation of Turbulent Flow around an Airfoil 1. Purpose Simulation of Turbulent Flow around an Airfoil ENGR:2510 Mechanics of Fluids and Transfer Processes CFD Lab 2 (ANSYS 17.1; Last Updated: Nov. 7, 2016) By Timur Dogan, Michael Conger, Andrew

More information

Polarization of Light

Polarization of Light Purpose: To study the following aspects of polarization: Polarizer-analyzer Rotation of the plane of polarization by a solution Brewster s angle Equipment: Optical bench, component carriers, angular translator

More information

Learn to grip objects using the UR5 robot and a ROBOTIQ adaptive robot gripper and perform some simple gripping tasks.

Learn to grip objects using the UR5 robot and a ROBOTIQ adaptive robot gripper and perform some simple gripping tasks. ME 5286 Robotics Labs Lab 3: Gripper Control Duration: 1 Week (2/12 2/16) Note: Two people must be present in the lab when operating the UR5 robot. Read all warnings and cautions in the manual. Once you

More information

Multicore Computer, GPU 및 Cluster 환경에서의 MATLAB Parallel Computing 기능

Multicore Computer, GPU 및 Cluster 환경에서의 MATLAB Parallel Computing 기능 Multicore Computer, GPU 및 Cluster 환경에서의 MATLAB Parallel Computing 기능 성호현 MathWorks Korea 2012 The MathWorks, Inc. 1 A Question to Consider Do you want to speed up your algorithms? If so Do you have a multi-core

More information

Computing and Programming

Computing and Programming Computing and Programming Notes for CSC 100 - The Beauty and Joy of Computing The University of North Carolina at Greensboro Reminders: What you should be doing! Before Lab on Friday: Read handout on pair

More information

Introduction to Simulink

Introduction to Simulink Introduction to Simulink There are several computer packages for finding solutions of differential equations, such as Maple, Mathematica, Maxima, MATLAB, etc. These systems provide both symbolic and numeric

More information

Two Axis Virtual. Click & Move. Two Axis Motion Project 4/15/2016

Two Axis Virtual. Click & Move. Two Axis Motion Project 4/15/2016 Click & Move Two Axis Virtual 4/15/2016 1 Two Axis Motion Project New Two Axis Project Start C&M, close the currently open project (if any) then click File, New Project, Two Axis With Can Open. Two Axis

More information

Supersonic Flow Over a Wedge

Supersonic Flow Over a Wedge SPC 407 Supersonic & Hypersonic Fluid Dynamics Ansys Fluent Tutorial 2 Supersonic Flow Over a Wedge Ahmed M Nagib Elmekawy, PhD, P.E. Problem Specification A uniform supersonic stream encounters a wedge

More information

Here is the probability distribution of the errors (i.e. the magnitude of the errorbars):

Here is the probability distribution of the errors (i.e. the magnitude of the errorbars): The BOOTSTRAP Normal Errors The definition of error of a fitted variable from the variance-covariance method relies on one assumption- that the source of the error is such that the noise measured has a

More information

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path BIOE 98MI Biomedical Data Analysis. Spring Semester 09. Dynamic programming: finding the shortest path Page Problem Statement: we re going to learn how to convert real life problem into a graphical diagram

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB TIME: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures in

More information

Example: Modeling a Cruise Control System in Simulink

Example: Modeling a Cruise Control System in Simulink Example: Modeling a Cruise Control System in Simulink Physical setup and system equations Building the model Open-loop response Extracting the Model Implementing PI control Closed-loop response Physical

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

Fitting data with Matlab

Fitting data with Matlab Fitting data with Matlab 1. Generate a delimited text file (from LabVIEW, a text editor, Excel, or another spreadsheet application) with the x values (time) in the first column and the y values (temperature)

More information

CSCI 204 Introduction to Computer Science II

CSCI 204 Introduction to Computer Science II CSCI 04 Introduction to Computer Science II Lab Quicksort and Efficiency Objectives The objectives of this lab are to: Examine program efficiency Improve a program s efficiency Become familiar with Quicksort

More information

2 Lab 2: LabVIEW and Control System Building Blocks

2 Lab 2: LabVIEW and Control System Building Blocks 2 Lab 2: LabVIEW and Control System Building Blocks 2.1 Introduction Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to

More information