Presentation is loading. Please wait.

Presentation is loading. Please wait.

P ROJECT : N UMERICAL S OLUTIONS TO O RDINARY D IFFERENTIAL E QUATIONS IN H ARDWARE Joseph Schneider EE 800 March 30, 2010.

Similar presentations


Presentation on theme: "P ROJECT : N UMERICAL S OLUTIONS TO O RDINARY D IFFERENTIAL E QUATIONS IN H ARDWARE Joseph Schneider EE 800 March 30, 2010."— Presentation transcript:

1 P ROJECT : N UMERICAL S OLUTIONS TO O RDINARY D IFFERENTIAL E QUATIONS IN H ARDWARE Joseph Schneider EE 800 March 30, 2010

2 O RDINARY D IFFERENTIAL E QUATIONS Function with one independent variable and derivatives of the dependent variable Eg. y’ = 1 + y/x Requires some initial condition in order to be solved Eg. y(1) = 2

3 O RDINARY D IFFERENTIAL E QUATIONS Found in many areas of engineering Radioactive decay, heat equation, motion… In electrical engineering, charge, flux, voltage, current, all intertwined by differential equations

4 O RDINARY D IFFERENTIAL E QUATIONS In some cases, original equation can be derived with relative ease; Exact solutions are then available In other cases, we will only have the ODE to work with Numerical solutions have been developed to deal with these cases

5 O RDINARY D IFFERENTIAL E QUATIONS Most basic case: Euler’s Method Selecting a step size h, iterate from initial value to desired value using the derivative function

6 O RDINARY D IFFERENTIAL E QUATION Euler’s Method most basic case – Simple, but inaccurate Variety of other methods that have been developed

7 O RDINARY D IFFERENTIAL E QUATIONS

8

9 Error directly linked with step size As step size decreases, error decreases; However, takes longer for process to complete Implemented in software (eg. Matlab), more accurate methods take several seconds to complete for smaller scale cases; Several minutes for larger cases

10 O RDINARY D IFFERENTIAL E QUATIONS Original project goal: Implement the Runge- Kutta 4 th order method in hardware for improved speed

11 P ROJECT Euler’s method also implemented for comparisons on area, timing, and accuracy. Current implementation: Uses fixed-point number representation, state machine Further steps on this implementation Variable-point number representation to improve accuracy Modify for parallelism to examine impacts on area, timing

12 P ROJECT Second implementation: Error-controlled design of Runge-Kutta method Error is specified at beginning of process, step size is varied to ensure final result meets error specifications

13 M ATLAB I MPLEMENTATIONS

14 P ROJECT For second implementation, desired to use a hardware design to improve on bottleneck of software design Comparisons to software on time vs. error threshold


Download ppt "P ROJECT : N UMERICAL S OLUTIONS TO O RDINARY D IFFERENTIAL E QUATIONS IN H ARDWARE Joseph Schneider EE 800 March 30, 2010."

Similar presentations


Ads by Google