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...................
|