SlideShare a Scribd company logo
1 of 11
Velocity Estimation from noisy
                         Measurements

                  Sensor fusion using modified Kalman filter



                                  www.controltrix.com



copyright 2011 controltrix corp                            www. controltrix.com
Objective
     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



copyright 2011 controltrix corp                                     www. controltrix.com
Problem specifics
   • 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
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
Advantages
   •      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




copyright 2011 controltrix corp                                         www. controltrix.com
Advantages.
  • Can be modified easily to make tradeoff between drift
         performance (convergence) and noise reduction
  • Systematic technique for parameter calculations
  • No trial and error




copyright 2011 controltrix corp                             www. controltrix.com
Comparison
    Sl No metric                  Kalman Filter            Modified Filter
    1.             Drift       •Drift is a major problem   •Guaranteed automatic convergence.
                               (depends inversely on K)    •No prior measurement of offset and
                               •Needs considerable         characterization required.
                               characterization.(Offset,   •Not sensitive to temperature induced
                               temperature calibration     variable drift etc.
                               etc).
    2.             Convergence •Non-Zero measurement       •Always converges
                               and process noise           •No assumptions on variances required
                               covariance required else    •Never leads to a singular solution
                               leads to singularity
    3.             Method         •Two distinct phases:    •Can be implemented in a few single
                                  Predict and update.      difference equation or even in
                                                           continuum.


copyright 2011 controltrix corp                                                         www. controltrix.com
Comparison.
   Sl No metric                 Kalman Filter                   Modified Filter
   4.    Computation            •Need separate state            •Highly optimized computation.
                                variables for position,         •Only single state variable required
                                velocity, etc which adds more
                                computation.
   5.            Gain value     •In one dimension,              •Gains based on systematic design
                 /performance •K = process noise /              choices.
                                measurement noise. dt           •The gains are good though
                                • ‘termed as optimal’           suboptimal (based on tradeoff)
   6.            Processor req. •Needs 32 Bit floating point    •Easily implementable in 16 bit
                                computation for accuracy        fixed point processor 40
                                and plenty of MIPS/             MIPS/computation is sufficient
                                computation



     Note: The right column filter is a super set of a standard Kalman filter
copyright 2011 controltrix corp                                                            www. controltrix.com
Sim results std Kalman filter
   velocity estimation error (v^ - v) vs time




copyright 2011 controltrix corp                 www. controltrix.com
Sim results of proposed solution
   error = v^ – v vs time




copyright 2011 controltrix corp       www. controltrix.com
Thank You
                                  consulting@controltrix.com




copyright 2011 controltrix corp                                www. controltrix.com

More Related Content

Similar to Velocity Estimation from noisy Measurements - Sensor fusion using modified Kalman filter

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
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometeranusheel nahar
 
Trixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemsTrixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemscontroltrix
 
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
 
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 compensationcontroltrix
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drivescontroltrix
 
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
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesanusheel nahar
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive systemcontroltrix
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive systemanusheel nahar
 
Imac10 Component
Imac10 ComponentImac10 Component
Imac10 ComponentSDTools
 
Controltrix- We make control solutions easier
Controltrix- We make control solutions easierControltrix- We make control solutions easier
Controltrix- We make control solutions easiercontroltrix
 
Task group report 135 cyberknie
Task group report 135 cyberknie Task group report 135 cyberknie
Task group report 135 cyberknie Slidevikram
 
(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems
(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems
(BDT207) Real-Time Analytics In Service Of Self-Healing EcosystemsAmazon Web Services
 

Similar to Velocity Estimation from noisy Measurements - Sensor fusion using modified Kalman filter (20)

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
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometer
 
Trixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemsTrixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problems
 
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
 
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
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
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
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive system
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive system
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
SitrackVibes - Nuclear
SitrackVibes - NuclearSitrackVibes - Nuclear
SitrackVibes - Nuclear
 
Imac10 Component
Imac10 ComponentImac10 Component
Imac10 Component
 
Start MPC
Start MPC Start MPC
Start MPC
 
Controltrix- We make control solutions easier
Controltrix- We make control solutions easierControltrix- We make control solutions easier
Controltrix- We make control solutions easier
 
Matlab
MatlabMatlab
Matlab
 
KBMK AC Drive Sales Sheet
KBMK AC Drive Sales SheetKBMK AC Drive Sales Sheet
KBMK AC Drive Sales Sheet
 
Task group report 135 cyberknie
Task group report 135 cyberknie Task group report 135 cyberknie
Task group report 135 cyberknie
 
(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems
(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems
(BDT207) Real-Time Analytics In Service Of Self-Healing Ecosystems
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Velocity Estimation from noisy Measurements - Sensor fusion using modified Kalman filter

  • 1. Velocity Estimation from noisy Measurements Sensor fusion using modified Kalman filter www.controltrix.com copyright 2011 controltrix corp www. controltrix.com
  • 2. Objective 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 copyright 2011 controltrix corp www. controltrix.com
  • 3. Problem specifics • 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 copyright 2011 controltrix corp www. controltrix.com
  • 4. Measured velocity noisy data (True velocity is smooth sine wave of amp 10, period 20 s) copyright 2011 controltrix corp www. controltrix.com
  • 5. Advantages • 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 copyright 2011 controltrix corp www. controltrix.com
  • 6. Advantages. • Can be modified easily to make tradeoff between drift performance (convergence) and noise reduction • Systematic technique for parameter calculations • No trial and error copyright 2011 controltrix corp www. controltrix.com
  • 7. Comparison Sl No metric Kalman Filter Modified Filter 1. Drift •Drift is a major problem •Guaranteed automatic convergence. (depends inversely on K) •No prior measurement of offset and •Needs considerable characterization required. characterization.(Offset, •Not sensitive to temperature induced temperature calibration variable drift etc. etc). 2. Convergence •Non-Zero measurement •Always converges and process noise •No assumptions on variances required covariance required else •Never leads to a singular solution leads to singularity 3. Method •Two distinct phases: •Can be implemented in a few single Predict and update. difference equation or even in continuum. copyright 2011 controltrix corp www. controltrix.com
  • 8. Comparison. Sl No metric Kalman Filter Modified Filter 4. Computation •Need separate state •Highly optimized computation. variables for position, •Only single state variable required velocity, etc which adds more computation. 5. Gain value •In one dimension, •Gains based on systematic design /performance •K = process noise / choices. measurement noise. dt •The gains are good though • ‘termed as optimal’ suboptimal (based on tradeoff) 6. Processor req. •Needs 32 Bit floating point •Easily implementable in 16 bit computation for accuracy fixed point processor 40 and plenty of MIPS/ MIPS/computation is sufficient computation Note: The right column filter is a super set of a standard Kalman filter copyright 2011 controltrix corp www. controltrix.com
  • 9. Sim results std Kalman filter velocity estimation error (v^ - v) vs time copyright 2011 controltrix corp www. controltrix.com
  • 10. Sim results of proposed solution error = v^ – v vs time copyright 2011 controltrix corp www. controltrix.com
  • 11. Thank You consulting@controltrix.com copyright 2011 controltrix corp www. controltrix.com