Slide Ruler. ? X 5" On today’s menu...  What happened with Gravity  Noise  The tool today  Fundamental Limitations  Magical Christmas Land  (Where.

Slides:



Advertisements
Similar presentations
Ch. 2 Conceptual Practice
Advertisements

You and your dog go for a walk to the park. On the way, your dog takes many side trips to chase squirrels or examine fire hydrants. When you arrive at.
Position-Time graphs.
ConcepTest 2.1 Walking the Dog
Chapter 2: Describing Motion in 1-D
Chapter 4: Kinematics in 2D  Motion in a plane, vertical or horizontal  But, the motion in the x- and y-directions are independent, except that they.
Use it Free: Instantly Knowing Your Phone Attitude Pengfei Zhou*, Mo Li Nanyang Technological University Guobin (Jacky) Shen Microsoft Research.
Use it Free: Instantly Knowing Your Phone Attitude Pengfei Zhou*, Mo Li Nanyang Technological University Guobin (Jacky) Shen Microsoft Research.
Module 2, Recitation 4 Concept Problems. ConcepTestAcceleration I If the velocity of a car is non- zero (v  0), can the acceleration of the car be zero?
Aim: How can we approach projectile problems?
ConcepTest 2.1 Walking the Dog
Conservation of Energy
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
ConcepTest 3.4aFiring Balls I ConcepTest 3.4a Firing Balls I A small cart is rolling at constant velocity on a flat track. It fires a ball straight up.
Flashbacks Monday 1 Walking the Dog
-Baljeet Aulakh -Arnold Csok -Jared Shepherd -Amandeep Singh EEC 490 Spring 2012 Kinect Fitness Trainer 1.
Physics of Rolling Ball Coasters Cross Product Torque Inclined Plane Inclined Ramp Curved Path Examples.
Projectile Motion Lecturer: Professor Stephen T. Thornton.
Free Fall Lecture 3.
Unit 8 POE Ballistic Device
Montwood High School Physics R. Casao
CS378 - Mobile Computing Sensing and Sensors. Sensors "I should have paid more attention in Physics 41" Most devices have built in sensors to measure.
Acceleration Based Pedometer
KINEMATICS OF PARTICLES PLANE CURVILINEAR MOTION
Lecture 4: More kinematics. Displacement and change in displacement Position vector points from the origin to a location. The displacement vector points.
A Study of Speed, Velocity and Acceleration
Attendance! Click any number if you are here!! You just earned 3 points for coming to class!
Motion in One Dimension
Return to Table of Contents Acceleration What is constant speed? If the speed of an object does not change, the object is traveling at a constant speed.
1) more than its weight 2) equal to its weight 3) less than its weight but more than zero 4) depends on the speed of the puck 5) zero A hockey puck slides.
AP Physics Monday Standards: 1)a. Students should understand the general relationships between position velocity & acceleration for a particle.
Kinematics in One Dimension We will focus today on problem- solving. Note: some problems are hard, some are not so hard. Part of the learning is recognizing.
Karman filter and attitude estimation Lin Zhong ELEC424, Fall 2010.
Chapter 3 Acceleration Lecture 1
PREVIOUS QUIT NEXT START SLIDE Quiz by Dr. John Dayton Physics Quiz MOTION IN ONE DIMENSION Each question is multiple choice. Select the best response.
Sensors in android. App being more applicable Keeping track of your heart beat while jogging. Pointing the phone camera towards the night sky to know.
Projectile Motion The motion of an object that is thrown and moves along a curved path through the influence of gravity, only.
Current Works Corrected unit conversions in code Found an error in calculating offset (to zero sensors) – Fixed error, but still not accurately integrating.
Current Works Determined drift during constant velocity test caused by slight rotation which results in gravity affecting accelerometers Analyzed data.
Objective: To develop a fully-autonomous control system for the Q-ball based on onboard IMU/Magnetometer/Ultrasound sensory information Summer Internship.
Projectile Motion 10/16/12 Yes, There are Notes… After Bellwork.
Chapter 3 Motion in a line (linear motion). Motion Vocabulary A cat moves a distance of 10 meters (how far?) in 5 seconds. What information do you KNOW.
Projectile Motion 10/16/12 Yes, There are Notes… After Bellwork.
Chapter 2: Describing Motion in 1-D. Frame of Reference Whether or not you are moving depends on your point-of-view. From inside the box car, the woman.
Chapter 4 Linear Motion. Position, Distance, and Displacement Position: being able to describe an object’s location is important when things start to.
Physics: Principles with Applications, 7th edition
ConcepTest 2.1 Walking the Dog
ConcepTest Clicker Questions
Ch 2 notes.
Chapter 11 The Physics of Motion.
AP Physics I Kinematics in 2D.
Motion in 2D (Projectiles!!) Test Friday October 7th
Dead Reckoning, a location tracking app for Android™ smartphones Nisarg Patel Mentored by Adam Schofield and Michael Caporellie Introduction Results (cont.)
Inertial Measurement Unit (IMU) Basics
Navigation In Dynamic Environment
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
Projectile Motion.
Concept Test Questions College Physics, 7th Edition
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
Motion and Force. Motion and Force Chapter Twelve: Distance, Time, and Speed 12.1 Distance, Direction, and Position 12.2 Speed 12.3 Graphs of Motion.
ConcepTest Clicker Questions
Android Topics Sensors Accelerometer and the Coordinate System
Motion in 2D (Projectiles!!) Test Monday October 15th
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
Basics of graphing motion And studying their slopes S.Caesar
AP Physics C Work, Energy, and Power.
One Dimensional Kinematics
Chapter 4 Linear Motion.
Motion and Force. Motion and Force Chapter Three: Motion 3.1 Position and Velocity 3.2 Graphs of Motion 3.3 Acceleration.
Human Gait Analysis using IMU Sensors
Presentation transcript:

Slide Ruler

? X 5"

On today’s menu...  What happened with Gravity  Noise  The tool today  Fundamental Limitations  Magical Christmas Land  (Where everything is ideal, and money grows on trees)

Gravity Conquered at last

Gravity Earth Coordinates: [0,-g] Phone Coordinates: [0,-g] Earth Coordinates: [0,-g] Phone Coordinates: [-g * cosθ, -g * sinθ] G ⃗ θ G ⃗ G ⃗x⃗x G ⃗y⃗y (Two-Dimensional Example) Sensor.TYPE_ORIENTATION Returns phone orientation with respect to Earth: θ,φ,ψ Define Rotation Matrix R (θ,φ,ψ) R (θ,φ,ψ)  G earth = G phone Acceleration – G phone = True Acceleration Problem: Sensor.TYPE_ORIENTATION uses the accelerometer to find angles Therefore, It is impossible to find orientation when phone is in motion. The sensor assumes accelerometer is gravity. But during motion, the accelerometer is the sum of both motion and gravity. We need gravity to determine the orientation, and we need the orientation to determine gravity.

Final Gravity Solution Notice: When the phone is flat, gravity is confined to the z-axis If gravity is known and constant the entire time, we may simple subtract this gravity from each measurement Solution: Only measure x-axis, theoretically gravity free Because the table may be a little slanted, there may be some tiny component of gravity in x-axis. Observe what this value is at rest, then subtract it from each measurement to “zero” gravity out G ⃗ Push ⃗ A = [P, 0, -G] G ⃗ Push ⃗ A = [P] Measuring A = [A X, A Y, A Z ] Measuring A = [A X ]

Tilt Problem Started off with no tilt Slight tilt of degrees Steep tilt of degrees

The Impact Need gravity to be constant User may not carry the device. It must be slid. Introducing: Slide Ruler May only measure 1-dimensional distances X These changes improved accuracy significantly X Did the tool work?

No Where does it come from? ise

Noise WHY the noise? WHAT did we do about it? Many factors could be responsible Phone twists as it slides Not all measurements count Sometimes silly measurements appear in accelerometer Gravity changes per measurement Straighten Trim Flatten “Raygun” Calibration

Straighten XX X X X Phone should move in a straight line, without rotating...but sometimes, the user may twist the phone as it moves X θ Using the geomagnetic sensor, this angle can be sensed. (This is the only angle that can be sensed while the phone is in motion). Each measurement, X, is straightened into X’: X’ = X * secant(θ) XXX DEPRECATED

Trim After Calibration, the accelerometer is taking measurements, but the phone is not in motion yet These measurements, below a certain threshold, can be discarded, because they only exist to propagate error through the calculation process After collection, Trim goes through the list of measurements and removes all values before the first measurement that is above some threshold (5% of the peak value)

Flatten (but wait!) Some runs generate data points that are extremely large (i.e. physically impossible) Cap values at a reasonable value HOWEVER, the source of extremely large data points was found!

Raygun Calibration Visual cue Quicker calibrate Calibrate on each run

In spite of these efforts, Noise remained

Noise Handling How do we remove it?

Noise Handling HOW to measure the noise?WHAT do we do with this? If we can somehow “measure” the noise, we can try to remove it. Jitters in data Smoothing Algorithms The phone ends at rest. Zero the Velocity The less smooth the data appears, the more noise present in each measurement The calculated ending velocity gives a measure of noise

Smoothing Algorithms Thought data was erroneous and needed to be smoothed out Implemented a moving average with m=3 algorithm Ended up “deadening” data

Zero Velocity X Phone should start and stop at rest Start! Stop! X Start! Stop! Wait! Come back!...but, due to noise, the phone will actually calculate some final velocity that is non-zero V = 0 V = V* V* = Total noise in velocity N = Number of measurements V* / N = Avg. noise acquired per measurement //Simple Remove Noise: //for each measurement v { //v -= (V*/N); //} Assumption: small measurements are noisier f = factor close to 0 for large v close to 1 for small v //Better Remove Noise: //for each measurement v { //v -= f *(V*/N); //}

The Tool Today

Step Right Up! Demo! Findings from testing: Accurate to ±2 inches for every foot of the actual object Can only measure in a straight line

Fundamental Constraints

Unavoidable Sources of Error Gravity Small tilt of phone causes gravity to spill into an axis Jittery hands Not a problem for Slide Ruler! Carrying the phone introduces significant noise Hardware Constraints -- Accelerometer Sampling rate is too slow Measurements are noisy This chip was designed for app feedback—not data analysis

Left vs Right Sliding the phone to the left vs sliding the phone to the right

Ideal Conditions Gyroscope Would allow us to monitor orientation independent of accelerometer Allow for perfect removal of gravity Significant noise reduction Phone can move in 3-D Industrial-quality Accelerometer Better sampling rate More accurate measurements Even more time Bug testing Algorithm development

Conclusion

Success? 1. The app utilizes the mobile device’s accelerometer. 2. The app accurately estimates (within ±1% accuracy) the distance traveled along any path shorter than 5 meters. 3. The app has the ability to calculate the enclosed area of a 2 dimensional shape whose perimeter is less than 5 meters. 4. The app has the ability to measure distance traveled along a path. 5. The app shall have the ability to measure the cartesian distance between a starting and ending point. 6. The app can store measurements between sessions. 7. The app displays measurements in both English and S.I. units. 8. The app works with the Android 2.2 (froyo) OS and newer releases. Technical Requirements Specification ✔ ✔ X (Closer to ±10%) X X ✔ ✔ ✔ Real Question: Can it measure a couch? Answer: More or less!

It can be done! Using accelerometer and gyroscope, can create an IMU to track the motion of an object Actual application Difference is quality of sensors and gyroscope Direction Cosine Matrix IMU: Theory William Premerlani and Paul Bizard