Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/03 11:53
Read: times


 
#48291 - RE: An issue on maths
Responding to: ???'s previous message
Hi all:
Interactive discussion,.....this is good.

I have looked at interpolation algorithms on lower performance processors that have limited math capability. The various algorithms such as polynomial fitting and spline curve fitting and so forth may give better results on tables of data that represent significant curves, but the computational requirements can bring an 8051 to its knees.

Linear interpolation works better when your data table represents a much more gentle type of curve.

A nice technigue is to plug the data table that you have into a spreadsheet and try the linear interpolation out and see if you get satisfactory results as compared to a 3 or 4 point curve fit algorithm of some type. (MathCad is also a nice tool to use for this analysis).

In the past I have had situations where the sensor data table really needed to have a better scheme than linear interpolation becasue the simpler scheme let to too much error. So what I did was to expand the size of the table to 4x the original by using a polynomial curve fit in MathCad to define new data points. I was then able to plug the new data table into the microcontroller application and use linear interpolation for the sensor and achieve the results I desired.

Michael Karas


List of 80 messages in thread
TopicAuthorDate
An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
            RE: An issue on maths            01/01/70 00:00      
               RE: An issue on maths            01/01/70 00:00      
                  RE: An issue on maths            01/01/70 00:00      
               RE: An issue on maths            01/01/70 00:00      
                  RE: An issue on maths            01/01/70 00:00      
                     RE: An issue on maths            01/01/70 00:00      
                     RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths- Kai & Mike            01/01/70 00:00      
            RE: An issue on maths- Kai & Mike            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
             Success & Thanks            01/01/70 00:00      
               RE: Success & Thanks            01/01/70 00:00      
                  RE: Success & Thanks            01/01/70 00:00      
                     RE: Success & Thanks            01/01/70 00:00      
                     RE: Success & Thanks - Mike            01/01/70 00:00      
                        RE: Success & Thanks            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
   2-order polynomial fit            01/01/70 00:00      
      RE: 2-order polynomial fit            01/01/70 00:00      
         RE: 2-order polynomial fit            01/01/70 00:00      
      RE: 2-order polynomial fit - Kai & Steve            01/01/70 00:00      
   RE: An issue on maths / More            01/01/70 00:00      
      RE: An issue on maths / More            01/01/70 00:00      
         RE: An issue on maths / More            01/01/70 00:00      
      RE: An issue on maths / Addition            01/01/70 00:00      
         RE: An issue on maths / Addition            01/01/70 00:00      
            RE: An issue on maths / Addition            01/01/70 00:00      
               RE: An issue on maths / Addition            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
            RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths - Nelson            01/01/70 00:00      
         RE: An issue on maths - Nelson            01/01/70 00:00      
            RE: An issue on maths - Nelson            01/01/70 00:00      
               RE: An issue on maths - Nelson            01/01/70 00:00      
                  RE: An issue on maths - Kai            01/01/70 00:00      
                     RE: An issue on maths - Kai            01/01/70 00:00      
                  RE: An issue on maths - Nelson            01/01/70 00:00      
                     RE: An issue on maths - Steve            01/01/70 00:00      
                        RE: An issue on maths - Steve            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: somemore here            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
            RE: An issue on maths            01/01/70 00:00      
               RE: An issue on maths            01/01/70 00:00      
                  Elastic hysteresis            01/01/70 00:00      
                     RE: Elastic hysteresis            01/01/70 00:00      
                     RE: Elastic hysteresis            01/01/70 00:00      
                        RE: Elastic hysteresis            01/01/70 00:00      
                           RE: Elastic hysteresis            01/01/70 00:00      
                        RE: Elastic hysteresis            01/01/70 00:00      
                           RE: Elastic hysteresis            01/01/70 00:00      
                        RE: Elastic hysteresis            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      
   RE: An issue on maths            01/01/70 00:00      
      RE: An issue on maths            01/01/70 00:00      
         RE: An issue on maths            01/01/70 00:00      

Back to Subject List