SlideShare a Scribd company logo
1 of 40
Download to read offline
copyright 2011 controltrix corp www. controltrix.com
Hand held motion tracking using
MEMS gyros and accelerometer for
gaming applications
www.controltrix.com
copyright 2011 controltrix corp www. controltrix.com
• Accelerometers (acc) measure acceleration
• Gyroscopes (gyro) measure angular velocity
• Integrated MEMS may have 3 axis gyro + 3 axis acc
• MEMS have low cost compared to other types of gyro /acc
• The MEMS device is Clamped to the object (strap down)
(Unlike gyro stabilized system which give direct values)
• Measurements are with respect to object and not with earth
• Complex/Vector /coordinate computation for absolute values
Intro
copyright 2011 controltrix corp www. controltrix.com
• Objective : Measure angles(orientation) in 3D in real time
• 3D Angle (orientation) is mapped to screen object motion
• Integrating(accumulating) angular velocity gives angular
displacement
• Integration causes drift
• Accumulation errors  diverging results to ∞  loss of sync
Example
MPU 6000 has angular velocity error of 20 degrees/s .
After 9 sec, the object may point opposite !!!
Intro.
copyright 2011 controltrix corp www. controltrix.com
• Essentially an inertial measurement system
• Attitude Heading Reference systems (AHRS) used in aircraft
• Best systems drift ~ 1Km /hr and few degrees/hr
• Cost ~ US$ 100K ,weight ~ few Kg
• Aircraft has auxillary systems like GPS, magnetometer
• Augment inertial measurements (keep drift negligible)
• Objective : emulate AHRS in a few US$ , < 100 gm
Intro..
copyright 2011 controltrix corp www. controltrix.com
• To overcome drift filtering is used
• Filtering removes DC offset in measurement but….
Creates a side effect of homing
• A Stationary object the measured angles
drift towards 0 with time. (still better than drifting to ∞)
• To fix homing some thresholding is done but……
It causes slow movements not accurately tracked…..
Approach and limits
copyright 2011 controltrix corp www. controltrix.com
• Only relative motion tracked ..screen object and handheld.
Example
The directionality of motion is correct, but
A 90 degree counter clockwise followed by 90 degree clockwise
is never initial position.
• Cannot Track pure translation motion
• Slow movements are not properly tracked.
• Below a certain limit the system essentially rejects data as noise
Limits
copyright 2011 controltrix corp www. controltrix.com
• Auxiliary angular position data to periodically recalibrate
(accelerometer and magnetometer)
• Remove unbounded drift
• Even noisy, jumpy, low bandwidth, low sample rate data is good
• Real time data fusion
• Sensor data fusion algorithm to compute best estimate
• Kalman filter or Modified Kalman filter
What is required ?
copyright 2011 controltrix corp www. controltrix.com
• Accelerometer measures gravity ‘g’ (always down) when stationary
• Gravity is absolute reference direction and magnitude
Accelerometer features
Fig: The accelerometer
measures the component of
the acceleration due to
gravity acting on each of the
three axes. These
components are
trigonometrically related to
the angle of inclination
copyright 2011 controltrix corp www. controltrix.com
• 3 components provide crude estimate
for roll and pitch
• Simple vector math required
• Doesn’t help with Yaw
Example
North and east pointing is indistinguishable / give same
readings
Accelerometer features.
copyright 2011 controltrix corp www. controltrix.com
• Magnetometer (mag) measures axial magnetic field strength (B)
• 3 axis magnetometer measures in all 3
dimensions
• Absolute reference is local earth
magnetic field
• 2 Angles (pitch and yaw) can be measured
(assuming 0 magnetic dip/perfectly horizontal)
• Doesn’t help with roll
e.g. any roll about the magnetic line axis will give same readings
Magnetometer features and utility
copyright 2011 controltrix corp www. controltrix.com
• Combining both acc and mag all 3 angles can be found but…
• Earths magnetic field is rarely horizontal dip is non 0
• More computation required to account for dip
• Calibration of magnetometer to get local dip initially
Magnetometer features and utility.
copyright 2011 controltrix corp www. controltrix.com
• One to one mapping of all rotational motion
• Extremely intuitive gaming experience for role playing game
• Perfect synch /small tracking error (ref: simulation)
• Accurate tracking of slowest possible movements (No drift)
• Inspite of noise/ jumpy acc /mag based angle sensing
• Very smooth operation (limited by display frame rate)
Proposed method advantages
copyright 2011 controltrix corp www. controltrix.com
• Future of gaming
• Auto calibration for acc and mag
• Unlike filtering , method acts like a filter but without the lag
• Virtually 0 lag filter
• Performance can be easily tweaked (ref. appendix)
• Minimal tuning/ trial and error
• Tracking Pure translation is still not possible but…..
• Hand movements are seldom pure translation
Proposed method advantages.
copyright 2011 controltrix corp www. controltrix.com
• Acceleration and velocity are measured using noisy sensor
• Direct velocity measurement is noisy ( v m/s)
• Acceleration is measured with
a = 0.1 m/s2
offset = 0.2 m/s2 (DRIFT)
Superposed sine wave drive
Amplitude A = 3 m/s2,
frequency f = 0.05 Hz
Sample time Ts = 0.1 s
Problem specifics
copyright 2011 controltrix corp www. controltrix.com
• Example from a different problem , but math is same
• Replace Velocity with angle (from acc and mag )in deg
• Replace Acceleration with angular velocity (gyro data in deg/s)
• Sample time is 0.01 s  timescale units change to 0.1s
• Total simulated time  20 s (instead of 200 as shown)
Mapping to our system
copyright 2011 controltrix corp www. controltrix.com
Measured velocity noisy data
(True velocity is smooth sine wave of amp 10, period 20 s/ 10 cycles
 (2 s for our handheld system)
copyright 2011 controltrix corp www. controltrix.com
velocity estimation error (v^ - v) vs time
Sim results std Kalman filter
copyright 2011 controltrix corp www. controltrix.com
error = v^ – v vs time
Sim results of proposed solution
copyright 2011 controltrix corp www. controltrix.com
• Velocity estimation techniques using sensor fusion
• MEMS -Accelerometer
• MEMS gyro
Appendix
copyright 2011 controltrix corp www. controltrix.com
Velocity Estimation from noisy
Measurements
Sensor fusion using modified Kalman filter
copyright 2011 controltrix corp www. controltrix.com
Consider a vehicle moving
• Desired to measure the velocity accurately
• Velocity is directly measured but is noisy
• Acceleration also measured using onboard accelerometers
• Integrating acceleration data gives velocity
• Offset errors in acc./random walk cause drift in velocity
Standard solution
• Kalman filter with optimal gain K for sensor data fusion
• Estimate by combining velocity and acc. Measurement
Objective
copyright 2011 controltrix corp www. controltrix.com
• Acceleration and velocity are measured using noisy sensor
• Direct velocity measurement is noisy
( v m/s)
• Acceleration is measured with
a = 0.1 m/s2
offset = 0.2 m/s2 (DRIFT)
Superposed sine wave drive
Amplitude A = 3 m/s2,
frequency f = 0.05 Hz
Sample time Ts = 0.1 s
• Simulated time = 200s - 400s
Problem specifics
copyright 2011 controltrix corp www. controltrix.com
Measured velocity noisy data
(True velocity is smooth sine wave of amp 10, period 20 s)
copyright 2011 controltrix corp www. controltrix.com
• No matrix calculations
• Easier computation, can be easily scaled
• Equivalent to Kalman filter structure (easily proven)
• No drift (the error converges to 0)
• Estimate accelerometer drift in the system by default
• Drift est. for calib. and real time comp. of accelerometers
Advantages
copyright 2011 controltrix corp www. controltrix.com
• Can be modified easily to make tradeoff between drift
performance (convergence) and noise reduction
• Systematic technique for parameter calculations
• No trial and error
Advantages.
copyright 2011 controltrix corp www. controltrix.com
Sl No Metric Kalman Filter Modified Filter
1. Drift •Drift is a major problem
(depends inversely on K)
•Needs considerable
characterization.(Offset,
temperature calibration
etc).
•Guaranteed automatic convergence.
•No prior measurement of offset and
characterization required.
•Not sensitive to temperature induced
variable drift etc.
2. Convergence •Non-Zero measurement
and process noise
covariance required else
leads to singularity
•Always converges
•No assumptions on variances required
•Never leads to a singular solution
3. Method •Two distinct phases:
Predict and update.
•Can be implemented in a few single
difference equation or even in
continuum.
Comparison
copyright 2011 controltrix corp www. controltrix.com
Comparison.
Note: The right column filter is a super set of a standard Kalman filter
Sl No Metric Kalman Filter Modified Filter
4. Computation •Need separate state
variables for position,
velocity, etc which adds more
computation.
•Highly optimized computation.
•Only single state variable required
5. Gain value
/performance
•In one dimension,
•K = process noise /
measurement noise. dt
• ‘termed as optimal’
•Gains based on systematic design
choices.
•The gains are good though
suboptimal (based on tradeoff)
6. Processor req. •Needs 32 Bit floating point
computation for accuracy
and plenty of MIPS/
computation
•Easily implementable in 16 bit
fixed point processor 40
MIPS/computation is sufficient
copyright 2011 controltrix corp www. controltrix.com
velocity estimation error (v^ - v) vs time
Sim results std Kalman filter
copyright 2011 controltrix corp www. controltrix.com
error = v^ – v vs time
Sim results of proposed solution
copyright 2011 controltrix corp www. controltrix.com
• MEMS - Micro electro-mechanical systems
• Simplest MEMS devices possible, consisting of little more than
a cantilever beam with a proof mass (also known as seismic mass).
• Under the influence of external accelerations the proof mass
deflects from its neutral position. This deflection is measured in an
analog or digital manner.
MEMS ACCELEROMETER
copyright 2011 controltrix corp www. controltrix.com
MEMS ACCELEROMETER.
copyright 2011 controltrix corp www. controltrix.com
• Most commonly, the capacitance between a set of fixed beams
and a set of beams attached to the proof mass is measured.
This method is simple, reliable, and inexpensive.
• Integrating piezo-resistors in the springs to detect spring
deformation, and thus deflection, is a good alternative
• For very high sensitivities Quantum tunneling is also used;
this requires a dedicated process making it very expensive.
MEMS ACCELEROMETER..
copyright 2011 controltrix corp www. controltrix.com
• Most micromechanical accelerometers operate in-plane,
i.e. they are designed to be sensitive only to a direction in the
plane of the die.
• By integrating two devices perpendicularly on a single die a 2-axis
accelerometer can be made
• By adding an additional out-of-plane device 3-axes can be
measured. Such a combination may have much lower
misalignment error than 3 discrete models combined after
packaging.
MEMS ACCELEROMETER...
copyright 2011 controltrix corp www. controltrix.com
MEMS GYROSCOPE
• Almost all reported micro machined
gyroscopes use vibrating mechanical
elements (proof-mass) to sense rotation
• They have no rotating parts that require bearings, and hence they
can be easily miniaturized and batch fabricated using
micromachining techniques
• All vibratory gyroscopes are based on the transfer of energy
between two vibration modes of a structure caused by
Coriolis acceleration
copyright 2011 controltrix corp www. controltrix.com
• Coriolis acceleration is an apparent acceleration that arises
in a rotating reference frame and is proportional to the rate of
rotation
MEMS GYROSCOPE.
copyright 2011 controltrix corp www. controltrix.com
MEMS GYROSCOPE..
• In general, gyroscopes can be classified into
three different categories based on their
performance: inertial grade, tactical - grade, and rate-grade
devices.
• Tuning fork gyroscopes contain a pair of masses that are driven
to oscillate with equal amplitude but in opposite directions.
When rotated, the Coriolis force creates an orthogonal vibration
that can be sensed by a variety of mechanisms.
copyright 2011 controltrix corp www. controltrix.com
• The Draper Lab gyro, figure 2, uses comb-type structures to drive
the tuning fork into resonance, and rotation about either in-
plane axis results in the moving masses to lift, a change that can
be detected with capacitive electrodes under the mass.
MEMS GYROSCOPE...
copyright 2011 controltrix corp www. controltrix.com
MEMS GYROSCOPE….
• Vibrating-Wheel Gyroscopes have a wheel that is driven to vibrate
about its axis of symmetry, and rotation about either in-plane axis
results in the wheel’ s tilting, a change that can be detected with
capacitive electrodes under the wheel, Figure 3. It is possible to
sense two axes of rotation with a single vibrating wheel.
copyright 2011 controltrix corp www. controltrix.com
• Wine Glass Resonator Gyroscopes. A third type of gyro is the wine
glass resonator. Fabricated from fused silica, this device is also
known as a hemispherical resonant gyro.
• Researchers at the University of Michigan have fabricated
resonant-ring gyros in planar form.
• In a wine glass gyro, the resonant ring is driven to resonance and
the positions of the nodal points indicate the rotation angle.
• The input and output modes are nominally degenerate, but due to
imperfect machining some tuning is required.
MEMS GYROSCOPE.....
copyright 2011 controltrix corp www. controltrix.com
Thank You
www.controltrix.com

More Related Content

What's hot

Inertial Navigation System
Inertial Navigation SystemInertial Navigation System
Inertial Navigation Systemaerobuddy
 
Microelectromechanical Systems(MEMS) Gyroscope
Microelectromechanical Systems(MEMS) Gyroscope Microelectromechanical Systems(MEMS) Gyroscope
Microelectromechanical Systems(MEMS) Gyroscope Pratik Nabriya
 
Android sensors
Android sensorsAndroid sensors
Android sensorsdatta_jini
 
Use of mems based motion sensors in embedded
Use of mems  based motion sensors in embeddedUse of mems  based motion sensors in embedded
Use of mems based motion sensors in embeddedPallav Jha
 
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015Nemish Kanwar
 
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot IJECEIAES
 
MEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeMEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeNemish Kanwar
 
3 axis accelorometer- ADXL345
3 axis accelorometer- ADXL3453 axis accelorometer- ADXL345
3 axis accelorometer- ADXL345Raghav Shetty
 
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout Circuit
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout CircuitB.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout Circuit
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout CircuitAhmed El-Sayed
 
Accelerometer sensor
Accelerometer sensorAccelerometer sensor
Accelerometer sensorINTAKHAB KHAN
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 

What's hot (20)

Inertial Navigation System
Inertial Navigation SystemInertial Navigation System
Inertial Navigation System
 
Lecture 10: Summary
Lecture 10: SummaryLecture 10: Summary
Lecture 10: Summary
 
Microelectromechanical Systems(MEMS) Gyroscope
Microelectromechanical Systems(MEMS) Gyroscope Microelectromechanical Systems(MEMS) Gyroscope
Microelectromechanical Systems(MEMS) Gyroscope
 
Inertial navigation systems
Inertial navigation systemsInertial navigation systems
Inertial navigation systems
 
Android sensors
Android sensorsAndroid sensors
Android sensors
 
Use of mems based motion sensors in embedded
Use of mems  based motion sensors in embeddedUse of mems  based motion sensors in embedded
Use of mems based motion sensors in embedded
 
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015
Mems vibratory gyroscope simulation and sensitivity analysis kanwar 2015
 
Imu sensors
Imu sensorsImu sensors
Imu sensors
 
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot
Modeling, Simulation, and Optimal Control for Two-Wheeled Self-Balancing Robot
 
invertedpendulum
invertedpenduluminvertedpendulum
invertedpendulum
 
MEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeMEMS Pressure difference based Gyroscope
MEMS Pressure difference based Gyroscope
 
Accelerometer
AccelerometerAccelerometer
Accelerometer
 
final project
final projectfinal project
final project
 
3 axis accelorometer- ADXL345
3 axis accelorometer- ADXL3453 axis accelorometer- ADXL345
3 axis accelorometer- ADXL345
 
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout Circuit
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout CircuitB.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout Circuit
B.Sc. Thesis 1 - MEMS Vibratory Gyroscope and Readout Circuit
 
Accelerometer sensor
Accelerometer sensorAccelerometer sensor
Accelerometer sensor
 
Pid
PidPid
Pid
 
report_komal
report_komalreport_komal
report_komal
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
accelerometer
accelerometeraccelerometer
accelerometer
 

Viewers also liked

Learn Working of Accelerometer using Micro Python
Learn Working of Accelerometer using Micro PythonLearn Working of Accelerometer using Micro Python
Learn Working of Accelerometer using Micro PythonRengaraj D
 
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING MEMS TECHNOLOGY
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING  MEMS TECHNOLOGY MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING  MEMS TECHNOLOGY
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING MEMS TECHNOLOGY JOLLUSUDARSHANREDDY
 
User Input in a multi-touch, accelerometer, location aware world.
User Input in a multi-touch, accelerometer, location aware world.User Input in a multi-touch, accelerometer, location aware world.
User Input in a multi-touch, accelerometer, location aware world.John Wilker
 
Spectral approach to image projection with cubic b spline interpolation
Spectral approach to image projection with cubic b spline interpolationSpectral approach to image projection with cubic b spline interpolation
Spectral approach to image projection with cubic b spline interpolationiaemedu
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesanusheel nahar
 
Embedded system and development
Embedded system and developmentEmbedded system and development
Embedded system and developmentRajani Bhandari
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scopeArshit Rai
 
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...Yole Developpement
 
Accelerometer and gyroscope
Accelerometer and gyroscopeAccelerometer and gyroscope
Accelerometer and gyroscopeYASH TILVA
 
Path Planning And Navigation
Path Planning And NavigationPath Planning And Navigation
Path Planning And Navigationguest90654fd
 
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...Yole Developpement
 
MEMS Laser Scanning, the platform for next generation of 3D Depth Sensors
MEMS Laser Scanning, the platform for next generation of 3D Depth SensorsMEMS Laser Scanning, the platform for next generation of 3D Depth Sensors
MEMS Laser Scanning, the platform for next generation of 3D Depth SensorsMicroVision
 

Viewers also liked (20)

Learn Working of Accelerometer using Micro Python
Learn Working of Accelerometer using Micro PythonLearn Working of Accelerometer using Micro Python
Learn Working of Accelerometer using Micro Python
 
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING MEMS TECHNOLOGY
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING  MEMS TECHNOLOGY MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING  MEMS TECHNOLOGY
MOTION OPERATED SCROLLING DISPLAY FOR LED PANEL USING MEMS TECHNOLOGY
 
User Input in a multi-touch, accelerometer, location aware world.
User Input in a multi-touch, accelerometer, location aware world.User Input in a multi-touch, accelerometer, location aware world.
User Input in a multi-touch, accelerometer, location aware world.
 
[Download] rev chapter-5-june26th
[Download] rev chapter-5-june26th[Download] rev chapter-5-june26th
[Download] rev chapter-5-june26th
 
Real-Time Bezier Trajectory Deformation
Real-Time Bezier Trajectory DeformationReal-Time Bezier Trajectory Deformation
Real-Time Bezier Trajectory Deformation
 
Spectral approach to image projection with cubic b spline interpolation
Spectral approach to image projection with cubic b spline interpolationSpectral approach to image projection with cubic b spline interpolation
Spectral approach to image projection with cubic b spline interpolation
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
Embedded system and development
Embedded system and developmentEmbedded system and development
Embedded system and development
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
MEMS
MEMSMEMS
MEMS
 
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...
MEMS & Sensors Market: Current Challenges & Future Opportunities presentation...
 
Kalman Filter | Statistics
Kalman Filter | StatisticsKalman Filter | Statistics
Kalman Filter | Statistics
 
Accelerometer and gyroscope
Accelerometer and gyroscopeAccelerometer and gyroscope
Accelerometer and gyroscope
 
Introduction to MEMS and MEMS PRO
Introduction to MEMS and MEMS PROIntroduction to MEMS and MEMS PRO
Introduction to MEMS and MEMS PRO
 
hermite cubic spline curve
hermite cubic spline curvehermite cubic spline curve
hermite cubic spline curve
 
Sensors
SensorsSensors
Sensors
 
Path Planning And Navigation
Path Planning And NavigationPath Planning And Navigation
Path Planning And Navigation
 
curve two
curve twocurve two
curve two
 
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...
Gas Sensors, Detection of Particles, 3D Images…: What are the Next opportunit...
 
MEMS Laser Scanning, the platform for next generation of 3D Depth Sensors
MEMS Laser Scanning, the platform for next generation of 3D Depth SensorsMEMS Laser Scanning, the platform for next generation of 3D Depth Sensors
MEMS Laser Scanning, the platform for next generation of 3D Depth Sensors
 

Similar to Handheld device motion tracking using MEMS gyros and accelerometer

Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...anusheel nahar
 
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...controltrix
 
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionGlobal Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionanusheel nahar
 
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusionGlobal Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusioncontroltrix
 
Filtering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking errorFiltering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking erroranusheel nahar
 
Servo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorServo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorcontroltrix
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drivescontroltrix
 
Quadrocopter
QuadrocopterQuadrocopter
Quadrocopterbeak90
 
Automatic agriculture assistance
Automatic agriculture assistanceAutomatic agriculture assistance
Automatic agriculture assistanceSurajkumar Lal
 
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4   session 3 - st dev con 2016 - pedestrian dead reckoningTrack 4   session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoningST_World
 
Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor drivecontroltrix
 
Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveanusheel nahar
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentationfarhan_naseer_1
 
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...BellamMaheshBabu
 
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...BellamMaheshBabu
 
Symposium Poster Final
Symposium Poster FinalSymposium Poster Final
Symposium Poster FinalWasseem Bel
 
Caged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsCaged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsArwa Abougharib
 

Similar to Handheld device motion tracking using MEMS gyros and accelerometer (20)

Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
 
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
 
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionGlobal Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusion
 
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusionGlobal Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
 
Filtering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking errorFiltering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking error
 
Servo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorServo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking error
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
Quadrocopter
QuadrocopterQuadrocopter
Quadrocopter
 
Automatic agriculture assistance
Automatic agriculture assistanceAutomatic agriculture assistance
Automatic agriculture assistance
 
WRAIR
WRAIRWRAIR
WRAIR
 
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4   session 3 - st dev con 2016 - pedestrian dead reckoningTrack 4   session 3 - st dev con 2016 - pedestrian dead reckoning
Track 4 session 3 - st dev con 2016 - pedestrian dead reckoning
 
Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor drive
 
Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor drive
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
 
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
 
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...3-Robot drive system, functions of drive systems, pneumatic systems, electric...
3-Robot drive system, functions of drive systems, pneumatic systems, electric...
 
Dc servo motor
Dc servo motorDc servo motor
Dc servo motor
 
Symposium Poster Final
Symposium Poster FinalSymposium Poster Final
Symposium Poster Final
 
Caged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsCaged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC Ducts
 
Lecture 2 Wind Energy Course
Lecture 2  Wind Energy Course Lecture 2  Wind Energy Course
Lecture 2 Wind Energy Course
 

More from anusheel nahar

3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)anusheel nahar
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive systemanusheel nahar
 
Digitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationDigitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationanusheel nahar
 
High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback anusheel nahar
 
Digital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casesDigital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casesanusheel nahar
 
controltrix - we make control solutions easier
controltrix - we make control solutions easiercontroltrix - we make control solutions easier
controltrix - we make control solutions easieranusheel nahar
 
Projects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comProjects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comanusheel nahar
 

More from anusheel nahar (7)

3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive system
 
Digitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationDigitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensation
 
High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback
 
Digital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casesDigital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner cases
 
controltrix - we make control solutions easier
controltrix - we make control solutions easiercontroltrix - we make control solutions easier
controltrix - we make control solutions easier
 
Projects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comProjects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.com
 

Recently uploaded

Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...DianaGray10
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud DataEric D. Schabell
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxSatishbabu Gunukula
 
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveKeep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveIES VE
 
UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1DianaGray10
 
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechProduct School
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTopCSSGallery
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and businessFrancesco Corti
 
Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationKnoldus Inc.
 
Patch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 updatePatch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 updateadam112203
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfInfopole1
 
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxEmil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxNeo4j
 
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Alkin Tezuysal
 
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0DanBrown980551
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2DianaGray10
 
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdfThe Good Food Institute
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Muhammad Tiham Siddiqui
 
How to become a GDSC Lead GDSC MI AOE.pptx
How to become a GDSC Lead GDSC MI AOE.pptxHow to become a GDSC Lead GDSC MI AOE.pptx
How to become a GDSC Lead GDSC MI AOE.pptxKaustubhBhavsar6
 

Recently uploaded (20)

Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
 
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES LiveKeep Your Finger on the Pulse of Your Building's Performance with IES Live
Keep Your Finger on the Pulse of Your Building's Performance with IES Live
 
UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1
 
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development Companies
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and business
 
Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its application
 
Patch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 updatePatch notes explaining DISARM Version 1.4 update
Patch notes explaining DISARM Version 1.4 update
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdf
 
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxEmil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
 
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
 
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
 
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
 
How to become a GDSC Lead GDSC MI AOE.pptx
How to become a GDSC Lead GDSC MI AOE.pptxHow to become a GDSC Lead GDSC MI AOE.pptx
How to become a GDSC Lead GDSC MI AOE.pptx
 

Handheld device motion tracking using MEMS gyros and accelerometer

  • 1. copyright 2011 controltrix corp www. controltrix.com Hand held motion tracking using MEMS gyros and accelerometer for gaming applications www.controltrix.com
  • 2. copyright 2011 controltrix corp www. controltrix.com • Accelerometers (acc) measure acceleration • Gyroscopes (gyro) measure angular velocity • Integrated MEMS may have 3 axis gyro + 3 axis acc • MEMS have low cost compared to other types of gyro /acc • The MEMS device is Clamped to the object (strap down) (Unlike gyro stabilized system which give direct values) • Measurements are with respect to object and not with earth • Complex/Vector /coordinate computation for absolute values Intro
  • 3. copyright 2011 controltrix corp www. controltrix.com • Objective : Measure angles(orientation) in 3D in real time • 3D Angle (orientation) is mapped to screen object motion • Integrating(accumulating) angular velocity gives angular displacement • Integration causes drift • Accumulation errors  diverging results to ∞  loss of sync Example MPU 6000 has angular velocity error of 20 degrees/s . After 9 sec, the object may point opposite !!! Intro.
  • 4. copyright 2011 controltrix corp www. controltrix.com • Essentially an inertial measurement system • Attitude Heading Reference systems (AHRS) used in aircraft • Best systems drift ~ 1Km /hr and few degrees/hr • Cost ~ US$ 100K ,weight ~ few Kg • Aircraft has auxillary systems like GPS, magnetometer • Augment inertial measurements (keep drift negligible) • Objective : emulate AHRS in a few US$ , < 100 gm Intro..
  • 5. copyright 2011 controltrix corp www. controltrix.com • To overcome drift filtering is used • Filtering removes DC offset in measurement but…. Creates a side effect of homing • A Stationary object the measured angles drift towards 0 with time. (still better than drifting to ∞) • To fix homing some thresholding is done but…… It causes slow movements not accurately tracked….. Approach and limits
  • 6. copyright 2011 controltrix corp www. controltrix.com • Only relative motion tracked ..screen object and handheld. Example The directionality of motion is correct, but A 90 degree counter clockwise followed by 90 degree clockwise is never initial position. • Cannot Track pure translation motion • Slow movements are not properly tracked. • Below a certain limit the system essentially rejects data as noise Limits
  • 7. copyright 2011 controltrix corp www. controltrix.com • Auxiliary angular position data to periodically recalibrate (accelerometer and magnetometer) • Remove unbounded drift • Even noisy, jumpy, low bandwidth, low sample rate data is good • Real time data fusion • Sensor data fusion algorithm to compute best estimate • Kalman filter or Modified Kalman filter What is required ?
  • 8. copyright 2011 controltrix corp www. controltrix.com • Accelerometer measures gravity ‘g’ (always down) when stationary • Gravity is absolute reference direction and magnitude Accelerometer features Fig: The accelerometer measures the component of the acceleration due to gravity acting on each of the three axes. These components are trigonometrically related to the angle of inclination
  • 9. copyright 2011 controltrix corp www. controltrix.com • 3 components provide crude estimate for roll and pitch • Simple vector math required • Doesn’t help with Yaw Example North and east pointing is indistinguishable / give same readings Accelerometer features.
  • 10. copyright 2011 controltrix corp www. controltrix.com • Magnetometer (mag) measures axial magnetic field strength (B) • 3 axis magnetometer measures in all 3 dimensions • Absolute reference is local earth magnetic field • 2 Angles (pitch and yaw) can be measured (assuming 0 magnetic dip/perfectly horizontal) • Doesn’t help with roll e.g. any roll about the magnetic line axis will give same readings Magnetometer features and utility
  • 11. copyright 2011 controltrix corp www. controltrix.com • Combining both acc and mag all 3 angles can be found but… • Earths magnetic field is rarely horizontal dip is non 0 • More computation required to account for dip • Calibration of magnetometer to get local dip initially Magnetometer features and utility.
  • 12. copyright 2011 controltrix corp www. controltrix.com • One to one mapping of all rotational motion • Extremely intuitive gaming experience for role playing game • Perfect synch /small tracking error (ref: simulation) • Accurate tracking of slowest possible movements (No drift) • Inspite of noise/ jumpy acc /mag based angle sensing • Very smooth operation (limited by display frame rate) Proposed method advantages
  • 13. copyright 2011 controltrix corp www. controltrix.com • Future of gaming • Auto calibration for acc and mag • Unlike filtering , method acts like a filter but without the lag • Virtually 0 lag filter • Performance can be easily tweaked (ref. appendix) • Minimal tuning/ trial and error • Tracking Pure translation is still not possible but….. • Hand movements are seldom pure translation Proposed method advantages.
  • 14. copyright 2011 controltrix corp www. controltrix.com • Acceleration and velocity are measured using noisy sensor • Direct velocity measurement is noisy ( v m/s) • Acceleration is measured with a = 0.1 m/s2 offset = 0.2 m/s2 (DRIFT) Superposed sine wave drive Amplitude A = 3 m/s2, frequency f = 0.05 Hz Sample time Ts = 0.1 s Problem specifics
  • 15. copyright 2011 controltrix corp www. controltrix.com • Example from a different problem , but math is same • Replace Velocity with angle (from acc and mag )in deg • Replace Acceleration with angular velocity (gyro data in deg/s) • Sample time is 0.01 s  timescale units change to 0.1s • Total simulated time  20 s (instead of 200 as shown) Mapping to our system
  • 16. copyright 2011 controltrix corp www. controltrix.com Measured velocity noisy data (True velocity is smooth sine wave of amp 10, period 20 s/ 10 cycles  (2 s for our handheld system)
  • 17. copyright 2011 controltrix corp www. controltrix.com velocity estimation error (v^ - v) vs time Sim results std Kalman filter
  • 18. copyright 2011 controltrix corp www. controltrix.com error = v^ – v vs time Sim results of proposed solution
  • 19. copyright 2011 controltrix corp www. controltrix.com • Velocity estimation techniques using sensor fusion • MEMS -Accelerometer • MEMS gyro Appendix
  • 20. copyright 2011 controltrix corp www. controltrix.com Velocity Estimation from noisy Measurements Sensor fusion using modified Kalman filter
  • 21. copyright 2011 controltrix corp www. controltrix.com Consider a vehicle moving • Desired to measure the velocity accurately • Velocity is directly measured but is noisy • Acceleration also measured using onboard accelerometers • Integrating acceleration data gives velocity • Offset errors in acc./random walk cause drift in velocity Standard solution • Kalman filter with optimal gain K for sensor data fusion • Estimate by combining velocity and acc. Measurement Objective
  • 22. copyright 2011 controltrix corp www. controltrix.com • Acceleration and velocity are measured using noisy sensor • Direct velocity measurement is noisy ( v m/s) • Acceleration is measured with a = 0.1 m/s2 offset = 0.2 m/s2 (DRIFT) Superposed sine wave drive Amplitude A = 3 m/s2, frequency f = 0.05 Hz Sample time Ts = 0.1 s • Simulated time = 200s - 400s Problem specifics
  • 23. copyright 2011 controltrix corp www. controltrix.com Measured velocity noisy data (True velocity is smooth sine wave of amp 10, period 20 s)
  • 24. copyright 2011 controltrix corp www. controltrix.com • No matrix calculations • Easier computation, can be easily scaled • Equivalent to Kalman filter structure (easily proven) • No drift (the error converges to 0) • Estimate accelerometer drift in the system by default • Drift est. for calib. and real time comp. of accelerometers Advantages
  • 25. copyright 2011 controltrix corp www. controltrix.com • Can be modified easily to make tradeoff between drift performance (convergence) and noise reduction • Systematic technique for parameter calculations • No trial and error Advantages.
  • 26. copyright 2011 controltrix corp www. controltrix.com Sl No Metric Kalman Filter Modified Filter 1. Drift •Drift is a major problem (depends inversely on K) •Needs considerable characterization.(Offset, temperature calibration etc). •Guaranteed automatic convergence. •No prior measurement of offset and characterization required. •Not sensitive to temperature induced variable drift etc. 2. Convergence •Non-Zero measurement and process noise covariance required else leads to singularity •Always converges •No assumptions on variances required •Never leads to a singular solution 3. Method •Two distinct phases: Predict and update. •Can be implemented in a few single difference equation or even in continuum. Comparison
  • 27. copyright 2011 controltrix corp www. controltrix.com Comparison. Note: The right column filter is a super set of a standard Kalman filter Sl No Metric Kalman Filter Modified Filter 4. Computation •Need separate state variables for position, velocity, etc which adds more computation. •Highly optimized computation. •Only single state variable required 5. Gain value /performance •In one dimension, •K = process noise / measurement noise. dt • ‘termed as optimal’ •Gains based on systematic design choices. •The gains are good though suboptimal (based on tradeoff) 6. Processor req. •Needs 32 Bit floating point computation for accuracy and plenty of MIPS/ computation •Easily implementable in 16 bit fixed point processor 40 MIPS/computation is sufficient
  • 28. copyright 2011 controltrix corp www. controltrix.com velocity estimation error (v^ - v) vs time Sim results std Kalman filter
  • 29. copyright 2011 controltrix corp www. controltrix.com error = v^ – v vs time Sim results of proposed solution
  • 30. copyright 2011 controltrix corp www. controltrix.com • MEMS - Micro electro-mechanical systems • Simplest MEMS devices possible, consisting of little more than a cantilever beam with a proof mass (also known as seismic mass). • Under the influence of external accelerations the proof mass deflects from its neutral position. This deflection is measured in an analog or digital manner. MEMS ACCELEROMETER
  • 31. copyright 2011 controltrix corp www. controltrix.com MEMS ACCELEROMETER.
  • 32. copyright 2011 controltrix corp www. controltrix.com • Most commonly, the capacitance between a set of fixed beams and a set of beams attached to the proof mass is measured. This method is simple, reliable, and inexpensive. • Integrating piezo-resistors in the springs to detect spring deformation, and thus deflection, is a good alternative • For very high sensitivities Quantum tunneling is also used; this requires a dedicated process making it very expensive. MEMS ACCELEROMETER..
  • 33. copyright 2011 controltrix corp www. controltrix.com • Most micromechanical accelerometers operate in-plane, i.e. they are designed to be sensitive only to a direction in the plane of the die. • By integrating two devices perpendicularly on a single die a 2-axis accelerometer can be made • By adding an additional out-of-plane device 3-axes can be measured. Such a combination may have much lower misalignment error than 3 discrete models combined after packaging. MEMS ACCELEROMETER...
  • 34. copyright 2011 controltrix corp www. controltrix.com MEMS GYROSCOPE • Almost all reported micro machined gyroscopes use vibrating mechanical elements (proof-mass) to sense rotation • They have no rotating parts that require bearings, and hence they can be easily miniaturized and batch fabricated using micromachining techniques • All vibratory gyroscopes are based on the transfer of energy between two vibration modes of a structure caused by Coriolis acceleration
  • 35. copyright 2011 controltrix corp www. controltrix.com • Coriolis acceleration is an apparent acceleration that arises in a rotating reference frame and is proportional to the rate of rotation MEMS GYROSCOPE.
  • 36. copyright 2011 controltrix corp www. controltrix.com MEMS GYROSCOPE.. • In general, gyroscopes can be classified into three different categories based on their performance: inertial grade, tactical - grade, and rate-grade devices. • Tuning fork gyroscopes contain a pair of masses that are driven to oscillate with equal amplitude but in opposite directions. When rotated, the Coriolis force creates an orthogonal vibration that can be sensed by a variety of mechanisms.
  • 37. copyright 2011 controltrix corp www. controltrix.com • The Draper Lab gyro, figure 2, uses comb-type structures to drive the tuning fork into resonance, and rotation about either in- plane axis results in the moving masses to lift, a change that can be detected with capacitive electrodes under the mass. MEMS GYROSCOPE...
  • 38. copyright 2011 controltrix corp www. controltrix.com MEMS GYROSCOPE…. • Vibrating-Wheel Gyroscopes have a wheel that is driven to vibrate about its axis of symmetry, and rotation about either in-plane axis results in the wheel’ s tilting, a change that can be detected with capacitive electrodes under the wheel, Figure 3. It is possible to sense two axes of rotation with a single vibrating wheel.
  • 39. copyright 2011 controltrix corp www. controltrix.com • Wine Glass Resonator Gyroscopes. A third type of gyro is the wine glass resonator. Fabricated from fused silica, this device is also known as a hemispherical resonant gyro. • Researchers at the University of Michigan have fabricated resonant-ring gyros in planar form. • In a wine glass gyro, the resonant ring is driven to resonance and the positions of the nodal points indicate the rotation angle. • The input and output modes are nominally degenerate, but due to imperfect machining some tuning is required. MEMS GYROSCOPE.....
  • 40. copyright 2011 controltrix corp www. controltrix.com Thank You www.controltrix.com