View Single Post
  #3  
Old 12-06-2011, 08:47 PM
Bassnut's Avatar
Bassnut (Fred)
Narrowfield rules!

Bassnut is offline
 
Join Date: Nov 2006
Location: Torquay
Posts: 5,065
Thanks Rally, the sigmoid formula I used in exell to build the table was 1/(1+EXP(-x)), buts its irrelavent , now its just a simple look up table in the PIC mem I need to scale. An integer PIC cant do any of the functions you describe to recalculate the curve live.

The problem exactly is I need to ramp from a given speed to zero in a set time and distance. This means a non linear speed profile hence the need to distort the lookup table curve. Lookup tables for every distance variation is not viable.

Im thinking a simple non linear offset to the vertical scale would be the go, but I just cant find it testing in excel, Im missing something very basic...................
Reply With Quote