2 Collecting Data
In this lab you will compare measurements of acceleration from the accelerometer and wheel sensors to determine which one is the most accurate.
Lab 2 Worksheet Collecting Data
Learning Goals:
- Collect data from multiple sources.
- Compare data using mean, standard deviation, and standard error of the mean.
Part 1: Collecting Deceleration Data
- Calibrate the accelerometer to your computer.
- From the Sensor list, choose the Accelerometer sensor. You will only need to look at the y-axis so you can uncheck “Ax” and “Az“.
- Also from the Sensor list choose the Wheel sensor. You will only need to look at the Accelerometer vs time graph that the Wheel sensor displays so you can uncheck the “Position” and “Velocity” boxes.
- Place the iOLab device wheel side down on a flat surface. Then start Recording and apply a quick push to the Force sensor. The force should be strong enough that the iOLab can roll for a couple of seconds afterward.
- The iOLab software will save your data automatically so you can look at it later but you should label it so it is easy to find later. Above the Accelerometer graph you will see a folder icon. Click on this and the first “Acquisition” will be the data you just took. Click on the pencil icon and then write something in the “Comment” box. Write something that will make sense when you go back to look at the data later. Then be sure to click “Save”. See below.
- Zoom in so you can see the data in more detail. You can see below my Accelerometer data before and after zooming. Do the same for your Acceleration vs time graph.
- Determine the part of the graphs that represent the time when the iOLab device was slowing down. Use the data tool to highlight the part of the graph that represents the device slowing down. Record the times at the beginning and at the end of the highlighted section. This will show as “t” above the graph on the left.
- Record the average acceleration (μ) and standard deviation (σ) during this time from the Accelerometer graph and the Acceleration vs time graph. (You can see that the acceleration is negative so we could call this negative acceleration or deceleration.)
- Below the graph you will see an icon of a square with an arrow. Click on this and then click on “Export to CSV”.
- This will save your csv file to a folder in your Documents folder called “IOLab-WorkFiles”. Within this folder is another folder caled “export”. Here is where you will find your data. Open this data with a spreadsheet. You will use this to determine how many measurements the accelerometer sensor took during this time. The A column in this spreadsheet counts the number of measurements taken and the D column shows the time. Use the times you recorded in step 7 to determine how many measurements were taken. Call this “N”.
- In order to compare the data you collect in this lab, you will need to write it out in the following way: mean ± standard error of the mean. You already recorded the mean, μ, from the accelerometer graph. Standard error of the mean can be calculated by dividing the standard deviation, σ, by the square root of the number of measurements, N. Record your accelerometer data in the form of mean ± standard error of the mean.
- Interestingly, the wheel sensor and accelerometer sensor do not collect the same number of measurements. You will need to export the spreadsheet for the wheel sensor and find the number of measurements it took. Then record your wheel sensor acceleration data in the form of mean ± standard error of the mean.
- Compare the accelerometer and wheel sensor data. Which one do you think is more accurate? Why?
Part 2: Collecting Data at Rest and Falling
- Click “Reset” a couple times and this time only display Az on the Accelerometer sensor. Place the device on a flat surface wheel side up and begin recording. Record the average acceleration along the z-axis. What did you think it would read? Why?
- Now lift the iOLab device a couple feet in the air. Again, orient it so that the wheels are facing up. Then, with someone prepared to catch it, start recording data and drop the iOLab device. Record the average acceleration from the Accelerometer sensor while it is falling? What did you think it would read? Why?
Accelerometer sensors are tricky to understand. They don’t always do what we would expect them to do. When you pushed the device horizontally, the data you collected indicated that the sensor was measuring the rate at which the iOLab device was slowing down. But when you dropped it, it appeared to measure something different. The difference was that gravity was involved in the vertical direction and not in the horizontal direction. Whenever you are using an accelerometer sensor to determine actual changes in velocity, you have to consider whether or not gravity is affecting the measurement. If any part of your measurement involves the z-axis, or some portion of it, gravity has to be factored in. The calculation to factor gravity out is very complicated but if you want to measure acceleration with gravity factored out there are phone apps that do this.
Part 3: Noise
When you zoomed in on your graphs, you should have noticed that the line was not completely flat. Even in Part 2 where you just had the iOLab device sitting flat on the table and not moving, the line was not flat. If you didn’t notice that before, go zoom in now to see.
What you are seeing is called “Noise” or “Random Uncertainty”. This type of uncertainty is caused by unknown or unpredictable changes. They usually have a normal distribution. Export the data from the accelerometer when the iOLab device was at rest. You will need the data from Column J called “cal[2]”. Make a copy of this spreadsheet: Normal Distribution Spreadsheet. Paste your accelerometer sensor data into Column B of this spreadsheet. You should get a nice bell curve shape.
Grading Rubric:
Points are assigned for each worksheet question according to the following:
Lab 2 Grading Rubric 131 Manual
1 | 3 Points – ALL of the following are true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is slowing down.
2 Points – Only TWO of the following are true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is slowing down. 1 Point – Only ONE of the following is true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is slowing down. 0 Points – A screenshot is not included OR the screenshot is taken of the computer screen with a phone camera or similar. |
2 | 2 Points – BOTH of the following are true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used.
1 Point – Only ONE of the following is true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used. 0 Points – NEITHER of the following is true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used. |
3 | 2 Points – BOTH of the following are true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used.
1 Point – Only ONE of the following is true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used. 0 Points – NEITHER of the following is true: (1) the data is in the form of mean ± standard error of the mean, (2) appropriate units are used. |
4 | 3 Points – ALL of the following are true: (1) the accelerometer and wheel sensor data are effectively compared, (2) a statement is made regarding which sensor is believed to be more accurate, (3) there is a reasonable explanation of why one sensor is better.
2 Points – Only TWO of the following are true: (1) the accelerometer and wheel sensor data are effectively compared, (2) a statement is made regarding which sensor is believed to be more accurate, (3) there is a reasonable explanation of why one sensor is better. 1 Point – Only ONE of the following is true: (1) the accelerometer and wheel sensor data are effectively compared, (2) a statement is made regarding which sensor is believed to be more accurate, (3) there is a reasonable explanation of why one sensor is better. 0 Points – No attempt was made to compare the data. |
5 | 2 Points – BOTH of the following are true: (1) the average acceleration is recorded, (2) appropriate units are used.
1 Point – Only ONE of the following is true: (1) the average acceleration is recorded, (2) appropriate units are used. 0 Points – NEITHER of the following is true: (1) the average acceleration is recorded, (2) appropriate units are used. |
6 | 2 Points – BOTH of the following are true: (1) there is a statement of what the student thought the sensor would read, (2) there is an explanation of why the student thinks this.
1 Point – Only ONE of the following is true: (1) there is a statement of what the student thought the sensor would read, (2) there is an explanation of why the student thinks this. 0 Points – No attempt was made. |
7 | 3 Points – ALL of the following are true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is falling.
2 Points – Only TWO of the following are true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is falling. 1 Point – Only ONE of the following is true: (1) a professional looking screenshot is included, (2) the graph is zoomed in to show all the details, (3) the data tool highlights only the portion where the device is falling. 0 Points – A screenshot is not included OR the screenshot is taken of the computer screen with a phone camera or similar. |
8 | 2 Points – BOTH of the following are true: (1) the average acceleration is recorded, (2) appropriate units are used.
1 Point – Only ONE of the following is true: (1) the average acceleration is recorded, (2) appropriate units are used. 0 Points – NEITHER of the following is true: (1) the average acceleration is recorded, (2) appropriate units are used. |
9 | 2 Points – BOTH of the following are true: (1) there is a statement of what the student thought the sensor would read, (2) there is an explanation of why the student thinks this.
1 Point – Only ONE of the following is true: (1) there is a statement of what the student thought the sensor would read, (2) there is an explanation of why the student thinks this. 0 Points – No attempt was made. |
10 | 3 Points – ALL of the following are true: (1) a bell curve of the normal distribution is present, (2) a scatter type plot is used, (3) the bell curve has two tails at 0 on the y-axis.
2 Points – Only TWO of the following are true: (1) a bell curve of the normal distribution is present, (2) a scatter type plot is used, (3) the bell curve has two tails at 0 on the y-axis. 1 Point – Only ONE of the following is true: (1) a bell curve of the normal distribution is present, (2) a scatter type plot is used, (3) the bell curve has two tails at 0 on the y-axis. 0 Points – No attempt was made to make a normal distribution. |