A Kalman filtering simulation

Similar documents
Average & instantaneous velocity and acceleration Motion with constant acceleration

1. Consider a PSA initially at rest in the beginning of the left-hand end of a long ISS corridor. Assume xo = 0 on the left end of the ISS corridor.

September 20 Homework Solutions

A 1.3 m 2.5 m 2.8 m. x = m m = 8400 m. y = 4900 m 3200 m = 1700 m

PHYSICS 1210 Exam 1 University of Wyoming 14 February points

Chapter 2. Motion along a straight line. 9/9/2015 Physics 218

Motion. Part 2: Constant Acceleration. Acceleration. October Lab Physics. Ms. Levine 1. Acceleration. Acceleration. Units for Acceleration.

Motion in a Straight Line

e t dt e t dt = lim e t dt T (1 e T ) = 1

2D Motion WS. A horizontally launched projectile s initial vertical velocity is zero. Solve the following problems with this information.

(b) 10 yr. (b) 13 m. 1.6 m s, m s m s (c) 13.1 s. 32. (a) 20.0 s (b) No, the minimum distance to stop = 1.00 km. 1.

Name: Per: L o s A l t o s H i g h S c h o o l. Physics Unit 1 Workbook. 1D Kinematics. Mr. Randall Room 705

Phys 110. Answers to even numbered problems on Midterm Map

Physics 2A HW #3 Solutions

Chapter Direct Method of Interpolation

Physics 101 Lecture 4 Motion in 2D and 3D

3 Motion with constant acceleration: Linear and projectile motion

Introduction to LoggerPro

Physics Worksheet Lesson 4: Linear Motion Section: Name:

ENGR 1990 Engineering Mathematics The Integral of a Function as a Function

Physic 231 Lecture 4. Mi it ftd l t. Main points of today s lecture: Example: addition of velocities Trajectories of objects in 2 = =

0 for t < 0 1 for t > 0

An object moving with speed v around a point at distance r, has an angular velocity. m/s m

Physics 100: Lecture 1

LAB # 2 - Equilibrium (static)

Contraction Mapping Principle Approach to Differential Equations

f t f a f x dx By Lin McMullin f x dx= f b f a. 2

ME 141. Engineering Mechanics

CHAPTER 2 KINEMATICS IN ONE DIMENSION ANSWERS TO FOCUS ON CONCEPTS QUESTIONS

Solutions to Problems from Chapter 2

1.0 Electrical Systems

Probability, Estimators, and Stationarity

Chapter 10. Simple Harmonic Motion and Elasticity. Goals for Chapter 10

4.8 Improper Integrals

t s (half of the total time in the air) d?

Lecture 3: 1-D Kinematics. This Week s Announcements: Class Webpage: visit regularly

RESPONSE UNDER A GENERAL PERIODIC FORCE. When the external force F(t) is periodic with periodτ = 2π

Brock University Physics 1P21/1P91 Fall 2013 Dr. D Agostino. Solutions for Tutorial 3: Chapter 2, Motion in One Dimension

Think of the Relationship Between Time and Space Again

MTH 146 Class 11 Notes

when t = 2 s. Sketch the path for the first 2 seconds of motion and show the velocity and acceleration vectors for t = 2 s.(2/63)

Version 001 test-1 swinney (57010) 1. is constant at m/s.

( ) ( ) ( ) ( ) ( ) ( y )

Physics for Scientists and Engineers I

Chapter 2: Evaluative Feedback

Chapter 2 PROBLEM SOLUTIONS

What distance must an airliner travel down a runway before reaching

5.1-The Initial-Value Problems For Ordinary Differential Equations

S Radio transmission and network access Exercise 1-2

FM Applications of Integration 1.Centroid of Area

Ch.4 Motion in 2D. Ch.4 Motion in 2D

Zürich. ETH Master Course: L Autonomous Mobile Robots Localization II

Chapter 3 Kinematics in Two Dimensions

Phys 221 Fall Chapter 2. Motion in One Dimension. 2014, 2005 A. Dzyubenko Brooks/Cole

Chapter 12: Velocity, acceleration, and forces

22.615, MHD Theory of Fusion Systems Prof. Freidberg Lecture 9: The High Beta Tokamak

Differential Geometry: Numerical Integration and Surface Flow

Robotics I. April 11, The kinematics of a 3R spatial robot is specified by the Denavit-Hartenberg parameters in Tab. 1.

One-Dimensional Kinematics

MATH 124 AND 125 FINAL EXAM REVIEW PACKET (Revised spring 2008)

Unit 1 Test Review Physics Basics, Movement, and Vectors Chapters 1-3

The order of reaction is defined as the number of atoms or molecules whose concentration change during the chemical reaction.

Two Coupled Oscillators / Normal Modes

Equations of motion for constant acceleration

Some Basic Information about M-S-D Systems

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

2/5/2012 9:01 AM. Chapter 11. Kinematics of Particles. Dr. Mohammad Abuhaiba, P.E.

NEWTON S SECOND LAW OF MOTION

Magnetostatics Bar Magnet. Magnetostatics Oersted s Experiment

CHAPTER 2: Describing Motion: Kinematics in One Dimension

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

1 jordan.mcd Eigenvalue-eigenvector approach to solving first order ODEs. -- Jordan normal (canonical) form. Instructor: Nam Sun Wang

Physics 201, Lecture 5

INTEGRALS. Exercise 1. Let f : [a, b] R be bounded, and let P and Q be partitions of [a, b]. Prove that if P Q then U(P ) U(Q) and L(P ) L(Q).

P441 Analytical Mechanics - I. Coupled Oscillators. c Alex R. Dzierba

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Green s Functions and Comparison Theorems for Differential Equations on Measure Chains

Physics 101: Lecture 03 Kinematics Today s lecture will cover Textbook Sections (and some Ch. 4)

MAT 266 Calculus for Engineers II Notes on Chapter 6 Professor: John Quigg Semester: spring 2017

Observability of flow dependent structure functions and their use in data assimilation

rank Additionally system of equation only independent atfect Gawp (A) possible ( Alb ) easily process form rang A. Proposition with Definition

I. OBJECTIVE OF THE EXPERIMENT.

3. Renewal Limit Theorems

Kinematics of Wheeled Robots

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Flow Networks Alon Efrat Slides courtesy of Charles Leiserson with small changes by Carola Wenk. Flow networks. Flow networks CS 445

A Simple Method to Solve Quartic Equations. Key words: Polynomials, Quartics, Equations of the Fourth Degree INTRODUCTION

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

REAL ANALYSIS I HOMEWORK 3. Chapter 1

PHY2048 Exam 1 Formula Sheet Vectors. Motion. v ave (3 dim) ( (1 dim) dt. ( (3 dim) Equations of Motion (Constant Acceleration)

Physics Notes - Ch. 2 Motion in One Dimension

ECE Microwave Engineering

Two Dimensional Dynamics

6. Gas dynamics. Ideal gases Speed of infinitesimal disturbances in still gas

A new model for limit order book dynamics

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Two Dimensional Dynamics

Motion along a Straight Line

Minimum Squared Error

An integral having either an infinite limit of integration or an unbounded integrand is called improper. Here are two examples.

Transcription:

A Klmn filering simulion The performnce of Klmn filering hs been esed on he bsis of wo differen dynmicl models, ssuming eiher moion wih consn elociy or wih consn ccelerion. The former is epeced o beer predic he rjecory when he moion is long srigh line, while he ler should work beer in cse of winding ph. Model A: consn elociy Consider one-dimensionl cse. A moion wih consn elociy is ruled by he following lw: ) cons ( where () is he posiion of he body ime, is he sring posiion of he sysem nd he consn elociy. Considering discree sysem, he dynmicl model becomes where is he ime spn beween wo epochs. For he ske of simpliciy, ssume so h In oher words, defining he se ecor of he discree sysem s X he rnsiion mri resuls T so h X T X Gien he iniil se X (which howeer hs o be modelled s rndom rible), posiions nd elociies eery ime re sricly deermined by his dynmicl model. In order o inroduce higher leel of fleibiliy, i is ssume h he elociy cn slighly chnge from one epoch o noher. This is obined by dding, epoch by epoch, whie noise o he elociy. All in ll, he dynmics of he sysem cn be represened s follows X X T X ε X ε

where X is he men lue of he iniil se-ecor nd he model error ε cn be sochsiclly described s { } E ε, { } ε E ε ε ' δ C ' Noe h for > he noise cs only on he elociy, i.e. σ ε ε C > while for een he posiion hs o rndomly modelled, i.e. C σ σ ε ε As for he obserions y, ypiclly only posiions re ilble (bsed on GPS/GLONASS sysem), i.e. y ν or in mri noion Y H X ν where he design mri H (from he se o he oupu of he sysem) is gien by H nd he obserion noise ν cn be sochsiclly described s { } ν E ν, E { ν ν } δ C ' ' Since he obserion process is no reled o he eoluion of he sysem, he wo error ypes cn be considered independen, i.e. E { ε ν } ' I could be ineresing o underline h he sysem dynmics cn be epressed only in erms of posiions, in fc ε From he firs equion, i holds

nd similrly Using he second equion of he sysem, he dynmics cn be wrien s ε The preious model cn be esily generlized o he wo-dimensionl cse (e.g. moion on plne), wih se ecor X,,,, rnsiion mri T nd design mri H Model B: consn ccelerion Consider one-dimensionl cse. Repeing he sme resoning of he preious model, bu ssuming now h he ccelerion is consn (pr from n dded whie noise), he sysem dynmics cn be modelled s follows ε or in mri noion ε ε X X T X X where he se ecor is defined s

X nd he rnsiion mri is gien by T Only posiions re supposed o be mesured, i.e. Y H X ν wih design mri H Agin i is possible o epress he dynmics in erms of posiions only. Wih some lgebr, i holds 3 ε ε 3 ( ) ε 3 3 3 In he wo-dimensionl cse (e.g. moion on plne), he se ecor becomes X,,,,,,

while he rnsiion mri T nd he design mri H re respeciely gien by T H Emple The body is cully moing long srigh line wih consn elociy m/s, m/s. The noise of he posiion obserions hs sndrd deiion of m (see Fig..). In he cse of model A he error dded o he elociy hs sndrd deiion of. m/s, while in he cse of model B he error dded o he ccelerion hs sndrd deiion of. m/s. I is cler h using he Klmn filer bsed on model A he esimed rjecory is closer o srigh line since higher leel of regulriy is imposed (see Fig..). Consequenly, fer rnsiion ime of bou 5 seconds, he posiion errors deried from he model A (rms.6 m) re smller hn hose deried from he model B (rms.6 m) (see Fig..3). 45 4 35 3 5 5 5 5 5 5 Fig.: Idel rjecory (in blck) nd posiion obserions (in grey) smpling re of sec.

6 4 8 6 4 3 4 5 6 7 Fig.: Esimed rjecory using Klmn filer wih he dynmicl model A (in blck) nd he dynmicl model B (in grey). 8 6 4 error 8 6 4 4 6 8 4 6 8 ime [s] Fig.3: Absolue lue of he posiion errors using Klmn filer wih he dynmicl model A (in blck) nd he dynmicl model B (in grey).

Emple The body is now moing long circulr rjecory wih rdius R m nd consn ngulr elociy ω.5 rd/s. This mens h in seconds (obserion ime) he body coers bou 3 lps of he circui. The noise of he posiion obserions hs sndrd deiion of.5 m (see Fig..). In he cse of model A he error dded o he elociy hs sndrd deiion of. m/s, while in he cse of model B he error dded o he ccelerion hs sndrd deiion of. m/s. In his emple, fer rnsiion ime due o he fc h he sring poin is no on he circulr ph, he Klmn filer bsed on he model B is ble o follow he curiliner rjecory (where he elociy chnges), while he soluion wih he model A is oo rigid, predicing circulr rjecory wih lrger rdius (see Fig..). This resuls in posiion error wih sysemic bis. The error rms for he model A is of he order of 5 m gins n error rms of. m for he model B (see Fig..3). 5 5-5 - -5 - -5 - -5 - -5 5 5 5 Fig.: Idel rjecory (in blck) nd posiion obserions (in grey) smpling re of sec.

5 5-5 - -5 - -5 - -5 - -5 5 5 5 Fig.: Esimed rjecory using Klmn filer wih he dynmicl model A (in blck, solid line) nd he dynmicl model B (in grey, solid line). True rjecory in blck dsh line. 5 4.5 4 3.5 3 error.5.5.5 4 6 8 4 6 8 ime [s] Fig.3: Absolue lue of he posiion errors using Klmn filer wih he dynmicl model A (in blck) nd he dynmicl model B (in grey).

Emple 3 The body is moing long he ph shown in Fig. 3.. The obserion noise hs sndrd deiion of.5 m. In he cse of model A he error dded o he elociy hs sndrd deiion of.5 m/s, while in he cse of model B he error dded o he ccelerion hs sndrd deiion of.5 m/s. This emple emphsizes he pros nd cons of he wo models (see Fig. 3.). In he srigh sreches he soluion A is more regulr, bu in he curiliner secions i runs wy from he rue ph; i needs some ddiionl ime o correc he rjecory when he rod reurns o be srigh. On he oher hnd, he soluion B is more nerous eerywhere, bu i is cpble o follow he rue rjecory een in he curiliner secions. As consequence, fer he iniil rnsiion ime, he error leel become sble in he cse of model B, while i oscilles in he cse of model A, depending on he fc h he body is coering srigh or curiliner secion (noe h wo of he four srigh lines re no long enough o llow he body o come bck on he righ rjecory). The error rms for he model A is. m, while for he model B i is bou. m (see Fig. 3.3). Emple 4 The Emple 3 is repeed long he sme ph nd wih he sme obserions, bu now he error dded o he elociy in he model A hs sndrd deiion of.5 m/s. In oher words, higher model errors re cceped. The corresponding soluion becomes much more recie, following eery chnge of direcion. On he oher hnd, he min dnge of model A is definiiely los, since he rjecory hs he sme regulriy of he one compued by using he model B. Therefore he wo soluions re ery similr (see Fig. 4.), boh wih n error rms of. m (see Fig. 4.). 7 6 5 4 3 - -8-7 -6-5 -4-3 - - Fig 3.: Idel rjecory (in blck) nd posiion obserions (in grey) smpling re of sec.

7 6 5 4 3 - - -8-6 -4 - Fig 3.: Esimed rjecory using Klmn filer wih he dynmicl model A (in blck, solid line) nd he dynmicl model B (in grey, solid line). True rjecory in blck dsh line. 7 6 5 error 4 3 5 5 5 3 ime [s] Fig 3.3: Absolue lue of he posiion errors using Klmn filer wih he dynmicl model A (in blck) nd he dynmicl model B (in grey).

7 6 5 4 3 - -8-7 -6-5 -4-3 - - Fig 4.: Esimed rjecory using Klmn filer wih he dynmicl model A (in blck, solid line) nd he dynmicl model B (in grey, solid line). True rjecory in blck dsh line. 3.5 3.5 error [s].5.5 5 5 5 3 ime [s] Fig 4.: Absolue lue of he posiion errors using Klmn filer wih he dynmicl model A (in blck) nd he dynmicl model B (in grey).

Emple 5 In his eperimen he body is kep sill he sme locion. Is posiion is mesured eery second wih n obserion noise of.5 m (see Fig. 5.). When Klmn filering is pplied, he esimed posiion howeer chnges in ime nd he resuling rjecory winds round he rue locion boh in he cse of model A nd of model B (see Fig 5.). Noe h, due o he rndomness of he iniil se, he esimed rjecory cn sr fr from he rue posiion nd een moe in he wrong direcion; howeer, fer rnsiion ime, i ends o come bck owrds he rue locion..5.5 -.5 - -.5 -.5 - -.5.5.5 Fig 5.: Body locion (blck cross) nd posiion obserions (in grey) smpling re of sec..5.5 -.5 - - -.5.5.5 Fig 5.: Esimed rjecory using Klmn filer. The blck cross indices he rue posiion of he body