6 808 mobile and sensor computing
play

6.808: Mobile and Sensor Computing Lecture 8: Introduction to - PowerPoint PPT Presentation

6.808: Mobile and Sensor Computing Lecture 8: Introduction to Inertial Sensing & Sensor Fusion Some material adapted from Gordon Wetzstein (Stanford) and Sam Madden (MIT) Example Application: Inertial Navigation GPS only GPS+INS Key Idea


  1. 6.808: Mobile and Sensor Computing Lecture 8: Introduction to Inertial Sensing & Sensor Fusion Some material adapted from Gordon Wetzstein (Stanford) and Sam Madden (MIT)

  2. Example Application: Inertial Navigation GPS only GPS+INS Key Idea #1: Integrate acceleration data over time to discover location (Inertial Sensing)

  3. Inertial Sensing alone is not enough for accurate positioning • Errors accumulate over time Reference INS-alone outputs Source: INS Face Off MEMS versus FOGs Key Idea #2: Fuse Data from Multiple Sensors (Sensor Fusion)

  4. This Lecture Key Idea #1: Integrate acceleration data over time to discover location (Inertial Sensing) Key Idea #2: Fuse Data from Multiple Sensors (Sensor Fusion)

  5. Let’s understand inertial sensing in the context of VR • Goal: track location and orientation of head or other device • Coordinates: Six degrees of freedom: • Cartesian frame of reference (x,y,z) • Rotations represented by Euler angles (yaw, pitch roll) Source: Oculus

  6. What does an IMU consist of? (Inertial Measurement Unit) • Gyroscope measures angular velocity ω in degrees/s • Accelerometer measures linear acceleration a in m/s 2 • Magnetometer measures magnetic field strength m in μ T (micro-Teslas). Why is it called IMU?

  7. History of IMUs • Earliest use of gyroscopes goes back to German ballistic missiles (V-2 rocket) in WW2 for stability • In the 1950s, MIT played a central role in the development of IMUs (Instrumentation Lab)

  8. Where are IMUs used today?

  9. Rest of this Lecture • Basic principles of operation of different IMU sensors: accelerometer, gyroscope, magnetometer • Understanding Sources of Errors • Dead reckoning by fusing multiple sensors

  10. How Accelerometers Work

  11. How Accelerometers Work What matters is the displacement

  12. k (spring constant) Hooke’s Law Newton’s Law F = ma F = kx = > a = k m x Why not simply use displacement to measure displacement?

  13. Measuring Displacement • How do we measure displacement? • Most common approach is to use capacitance and MEMS (Micro electro-mechanical systems)

  14. Measuring Displacement • How do we measure displacement? • Most common approach is to use capacitance and MEMS (Micro electro-mechanical systems)

  15. MEMS Accelerometer Mass

  16. MEMS Accelerometer Mass

  17. + - x Capacitor + - C = ϵ Area x

  18. How Gyroscopes Work? The Coriolis Effect • Assume Vx • Apply ω • Experiences a fictitious force F( ω , Vx) following right hand rule

  19. The Coriolis Effect •

  20. How Gyroscopes Work? The Coriolis Effect • Assume Vx • Apply ω • Experiences a fictitious force F( ω , Vx) following right hand rule Can measure F in a similar fashion and use it to recover ω

  21. How Magnetometers Work • E.g., Compass • Measure Earth’s magnetic field Measure voltage across the plate

  22. Rest of this Lecture • Basic principles of operation of different IMU sensors: accelerometer, gyroscope, magnetometer • Understanding Sources of Errors • Dead reckoning by fusing multiple sensors

  23. Gyroscope Measured angular velocity: Noise (Gaussian, True angular Bias zero mean) velocity • How to get from angular velocity to angle? • Integrate, knowing initial position • Linear integration? What are we missing?

  24. Gyro Integration Angle (degrees) • Let’s plot this for gyro measurement and for orientation • Let’s include ground truth and measured data for each time (s) Consider: • linear (angular) motion, no noise, no bias • linear (angular) motion, with noise, no bias • linear (angular) motion, no noise, bias • nonlinear motion, no noise, no bias

  25. Gyro integration: linear motion, no noise, no bias Gyro measurement (angular Actual orientation (angle vs velocity vs time) time)

  26. Gyro integration: linear motion, noise, no bias Gyro measurement (angular Actual orientation (angle vs velocity vs time) time)

  27. Gyro integration: linear motion, no noise, bias Gyro measurement (angular Actual orientation (angle vs velocity vs time) time)

  28. Gyro integration: nonlinear motion, no noise, no bias Gyro measurement (angular Actual orientation (angle vs velocity vs time) time)

  29. Gyro Integration aka Dead Reckoning • Works well for linear motion, no noise, no bias = unrealistic • Even if bias is known and noise is zero -> drift (from integration) • Bias and noise variance can be estimated, other sensor measurements used to correct for drift (sensor fusion) • Accurate in short term, but not reliable in long term due to drift

  30. Rest of this Lecture • Basic principles of operation of different IMU sensors: accelerometer, gyroscope, magnetometer • Understanding Sources of Errors • Dead reckoning by fusing multiple sensors

  31. Dead Reckoning • The process of calculating one's current position by using a previously determined position, and advancing that position based upon known or estimated speeds over elapsed time and course • Key things to keep in mind: • Frames of reference • Orientation change

  32. 2D Inertial Navigation in Strapdown System

  33. 2D Inertial Navigation in Strapdown System

  34. How about 3D Rotations? • Problems? Non-commutative = order matters!

  35. 3D Rotation Representations • Rotation Matrix – 3 orthonormal vectors = 9 numbers • Euler Angles (roll, pitch, yaw) – Symmetry problem, Gimbal lock • Axis-angle • Quaternions – Hard to understand

  36. Quaternions • 4-dimensional number

  37. Quaternions https://youtu.be/zjMuIxRvygQ

  38. ArmTrak (Tracking from Smart Watch) Also fuse over time through hidden markov models (HMM)

  39. Lecture Recap • Importance of IMUs for navigation and sensing • Coordinate systems and 6DOF • IMU history and current use cases • Basic principles of operation of different IMU sensors: accelerometer, gyroscope, magnetometer • Understanding Sources of Errors • Dead reckoning by fusing multiple sensors

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend