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

6 808 mobile and sensor computing
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 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)

slide-2
SLIDE 2

Example Application: Inertial Navigation

GPS only GPS+INS

Key Idea #1: Integrate acceleration data over time to discover location (Inertial Sensing)

slide-3
SLIDE 3

Inertial Sensing alone is not enough for accurate positioning

  • Errors accumulate over time

Source: INS Face Off MEMS versus FOGs

Key Idea #2: Fuse Data from Multiple Sensors (Sensor Fusion)

Reference

INS-alone

  • utputs
slide-4
SLIDE 4

This Lecture

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

slide-5
SLIDE 5

Let’s understand inertial sensing in the context of VR

  • Goal: track location and
  • rientation 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

slide-6
SLIDE 6

What does an IMU consist of? (Inertial Measurement Unit)

  • Gyroscope measures angular velocity ω in degrees/s
  • Accelerometer measures linear acceleration a in m/s2
  • Magnetometer measures magnetic field strength m in

μT (micro-Teslas). Why is it called IMU?

slide-7
SLIDE 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)

slide-8
SLIDE 8

Where are IMUs used today?

slide-9
SLIDE 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
slide-10
SLIDE 10

How Accelerometers Work

slide-11
SLIDE 11

How Accelerometers Work

What matters is the displacement

slide-12
SLIDE 12

Newton’s Law

F = ma

Hooke’s Law

F = kx = > a = k m x k (spring constant)

Why not simply use displacement to measure displacement?

slide-13
SLIDE 13
  • How do we measure displacement?
  • Most common approach is to use capacitance

and MEMS (Micro electro-mechanical systems)

Measuring Displacement

slide-14
SLIDE 14
  • How do we measure displacement?
  • Most common approach is to use capacitance

and MEMS (Micro electro-mechanical systems)

Measuring Displacement

slide-15
SLIDE 15

MEMS Accelerometer

Mass

slide-16
SLIDE 16

MEMS Accelerometer

Mass

slide-17
SLIDE 17

x + +

  • C = ϵ Area

x

Capacitor

slide-18
SLIDE 18

How Gyroscopes Work?

  • Assume Vx
  • Apply ω
  • Experiences a

fictitious force F(ω, Vx) following right hand rule

The Coriolis Effect

slide-19
SLIDE 19

The Coriolis Effect

slide-20
SLIDE 20

How Gyroscopes Work?

  • Assume Vx
  • Apply ω
  • Experiences a fictitious

force F(ω, Vx) following right hand rule

The Coriolis Effect

Can measure F in a similar fashion and use it to recover ω

slide-21
SLIDE 21

How Magnetometers Work

  • E.g., Compass
  • Measure Earth’s magnetic field

Measure voltage across the plate

slide-22
SLIDE 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
slide-23
SLIDE 23

Gyroscope

  • How to get from angular velocity to angle?
  • Integrate, knowing initial position

True angular velocity Measured angular velocity: Bias Noise (Gaussian, zero mean)

  • Linear integration? What are we missing?
slide-24
SLIDE 24

Gyro Integration

Angle (degrees) time (s)

  • Let’s plot this for gyro

measurement and for

  • rientation
  • Let’s include ground truth

and measured data for each 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
slide-25
SLIDE 25

Gyro integration: linear motion, no noise, no bias

Gyro measurement (angular velocity vs time) Actual orientation (angle vs time)

slide-26
SLIDE 26

Gyro integration: linear motion, noise, no bias

Gyro measurement (angular velocity vs time) Actual orientation (angle vs time)

slide-27
SLIDE 27

Gyro integration: linear motion, no noise, bias

Gyro measurement (angular velocity vs time) Actual orientation (angle vs time)

slide-28
SLIDE 28

Gyro integration: nonlinear motion, no noise, no bias

Gyro measurement (angular velocity vs time) Actual orientation (angle vs time)

slide-29
SLIDE 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

slide-30
SLIDE 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
slide-31
SLIDE 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

  • ver elapsed time and course
  • Key things to keep in mind:
  • Frames of reference
  • Orientation change
slide-32
SLIDE 32

2D Inertial Navigation in Strapdown System

slide-33
SLIDE 33

2D Inertial Navigation in Strapdown System

slide-34
SLIDE 34
  • Problems?

How about 3D Rotations?

Non-commutative = order matters!

slide-35
SLIDE 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

slide-36
SLIDE 36

Quaternions

  • 4-dimensional number
slide-37
SLIDE 37

Quaternions

https://youtu.be/zjMuIxRvygQ

slide-38
SLIDE 38

ArmTrak (Tracking from Smart Watch)

Also fuse over time through hidden markov models (HMM)

slide-39
SLIDE 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