Presentation is loading. Please wait.

Presentation is loading. Please wait.

P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington.

Similar presentations


Presentation on theme: "P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington."— Presentation transcript:

1 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 P. Venkataraman

2 Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 2 Todays Presentation 1.Problem Definition 2.Solution Steps 3.Recursive Bezier Filter 4.The Inverse Problem 5.Example with Low Noise 6.Example with High Noise 7.Things Learned 8.Conclusion 9.Future Work

3 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 3 Problem Definition Given Noisy Data (an ordered set of x and y values) Find : (i)the ordinary differential equation (ODE) that describes the data (ii)the boundary conditions associated with the data Some Assumptions:  ODE is determined from smooth data  Initial and final data are uncertain  Solution is compared by numerically integrating the ODE

4 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 4 Solution Steps The solution is established through the following steps 1.Step 1: Smooth the data using a recursive Bezier Filter. This establishes a smooth function of the data and also all its derivatives. 2.Step 2: Choose the generic form of the ODE. The specific ODE is determined through two kinds of unknowns. (i) exponents of the derivatives (integers) and (ii) the coefficients of the terms of the ODE (real numbers) 3.Use Discrete optimization establish the unknowns of the ODE through minimization. The objective function is the sum of the error in the residuals of ODE over the data points in the interior. 4.Integrate the ODE and compare the trajectory to the smooth data.

5 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 5 Recursive Bezier Filter The Bezier Filter (fit a smooth Bezier function to the data) 1. Choose a starting order for the Bezier function that will fit the data. 2. Find the Bezier coefficients using Least Squared Error (LSE) 3. Find the sum of the absolute error (LAS). 4. Increment the order by 1 and repeating Step 2, and calculate the change in the LAS. 5. If the LAS decreases, then the order is increased by one, and the processing is returned to Step 1. If it increases then this current order and coefficients will determine the best Bezier function. The Recursive Bezier Filter 1. Apply the Bezier Filter (with order at least 8 for nonlinear data) 2. Decrease the order of the Bezier function by 1 and fit the current filtered data (not the original noisy data) by applying the Bezier filter. 3. Return to Step 2 (for a prescribed number of applications- 4 or 5)

6 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 6 Recursive Bezier Filter Noisy data and Bezier filter First recursion Fifth recursion Effect on first derivatives Effect on second derivativesEffect on third derivatives

7 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 7 The Inverse Problem We assume the data represents a third order, homogenous, linear, constant coefficient differential equation Unknowns: (i) e 3, e 2, e 1, e 0 (integers) (ii) a 3, a 2, a 1, a 0 (real numbers) The unknowns are established by minimizing the sum of the residuals through optimization Objective function : Because of trivial solution we use discrete optimization Algorithm used: Basic Simulated Annealing (Bohachevsky) with new design vector generated heuristically MATLAB 2009, memory and time were not an issue

8 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 8 The Inverse Problem Objective function : In computing the objective function all of the derivatives are known from Step 1 Even if the ODE is established through optimization, it must be integrated to compare with the fitted smooth data. Often the residuals are not small enough to ensure that integration is not necessary. The integration uses state space methods. For data with large noise the residuals within a clipped region is used to identify the ODE. This ODE is integrated backwards to establish the BC at the initial point. It is integrated forward to establish the BC at the final point.

9 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 9 Example with Low Noise A known third order linear ODE is used to generate the noisy data The noisy data was created using random number No. of points: 31 Order of curve: 5 LSE : 6.1398e-004 LAS: 0.1226 No clipped region

10 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 10 Example with Low Noise Solution: e 3 = 1; e 2 = 1; e 1 = 1; e 0 = 1 a 3 = 1; a 2 = 0.75; a 1 = 0.75; a 0 = 0.5 Both ODEs are integrated using exact BC’s. All reruns of this example did not converge to a particular form of the differential equation even though their integration determined graphically similar and close trajectories.

11 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 11 Example with High Noise The same third order linear ODE is used to generate the noisy data The noisy data was created using random number No. of points: 31 Order of curve: 4 LSE : 0.1222 LAS: 1.657 Clipped region (ignore 5 data points from either end)

12 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 12 Example with High Noise Solution: e 3 = 1; e 2 = 1; e 1 = 1; e 0 = 1 a 3 = 0.5; a 2 = 0.25; a 1 = 0.5; a 0 = 0.25 Both ODEs are integrated using exact BC’s.

13 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 13 Example with High Noise Solution with New BC: Calculated Initial Conditions : Calculated Final Conditions : ODEs are integrated using proper BC’s.

14 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 14 Things Learned Some Existential Questions (not answered in the work) 1.Is there a unique, continuous, and smooth representation of the underlying data? – number of smooth representations is exhaustive! 2.Does there exist smooth and continuous derivatives of the uncertain data? – there are smooth derivatives based on the continuous representation of the data which is not unique 3.Is there a unique ODE corresponding to data? –even if the derivatives are not unique! 4.Is there unique trajectory if the boundary conditions are inexact? 5.How can distance between two different ODE’s be defined? (different coefficients but trajectory is close!) Additional Questions  What is the least number of data points to solve the inverse problem?  Do we need to use all of the data points to establish the solution? – Justification of the clipped region! (ODE represents the entire domain)  Are there additional constraints on the layout of the data?

15 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 15 1.A two-step approach is used to identify the ODE from noisy Step 1: Identify the best Bezier function that fits the data. This also determines the derivatives of the function. Step 2: Find the exponents and coefficients of an appropriate generic ODE by minimizing the sum of the residuals of the ODE 2. Discrete optimization is used to avoid trivial solution. 3. Simulated Annealing is used to identify the solution 5. No change in the procedure is anticipated for nonlinear ODE or coupled ODE’s. once a suitable nonlinear generic form is chosen. Conclusions 4. The discovered ODE is not unique

16 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 16 Future Work A hybrid approach using symbolic and numeric computation has been recently developed for the Inverse problem for ODE. It has the following features: Determining the Bezier functions o The Bezier description is symbolic/analytic o The coefficients are determined using unconstrained optimization Establishing the coefficients of the ODE o The form of the ODE is assumed and the exponents are considered known o The coefficients are symbolic o The coefficients are established using unconstrained minimization based on the minimization of the residuals Reestablishing the coefficients of the ODE o The coefficients are numeric and are determined through unconstrained optimization o The objective is the error between the original data and the numerical integration of the ODE over points in the trajectory o The previous known solution is used to start the unconstrained optimization

17 P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington DC, Aug 2011 17 Questions ?


Download ppt "P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2011 –47658 Determining ODE from Noisy Data 31 th CIE, Washington."

Similar presentations


Ads by Google