I was wondering if there are already written algorithms for the calculation of the lateral and longitudinal acceleration from the GPS coordinates? I believe that lot of other people have faced with similar problem so I was wondering if someone could point me to the good source.

I was wondering if there are already written algorithms for the calculation of the lateral and longitudinal acceleration from the GPS coordinates? I believe that lot of other people have faced with similar problem so I was wondering if someone could point me to the good source.

Thanks a lot!

Fedja

So you have the GPS signal coming in at 1hz, and want to get a lat and long acceleration from that data? Do you want the units of the acceleration in degrees/seconds^2 or in meters/seconds^2? If the former, the above answer is right on. If the latter, it gets a bit more complicated - you'd have to convert the changes in lat and long into changes in position (there are formulas for this, of varying accuracy and complexity) and then you'd take the acceleration from that data.

NleahciM:
So you have the GPS signal coming in at 1hz, and want to get a lat and long acceleration from that data? Do you want the units of the acceleration in degrees/seconds^2 or in meters/seconds^2? If the former, the above answer is right on. If the latter, it gets a bit more complicated - you’d have to convert the changes in lat and long into changes in position (there are formulas for this, of varying accuracy and complexity) and then you’d take the acceleration from that data.

Well, speed of the incoming signal is not an issue here since it depends of the receiver that is used for it.

Yes, I would like to get the numbers in meters/sec*s so it can be converted into the G units. The thing is that I know the logic and the math required, but instead of writing my own algorithm I was hoping that there is one available somewhere so I could use my discrete input points and get the calculation right out.

You will not get good velocity by differentiating position, but you can get good velocity readout direct from the GPS, and you can get reasonably good acceleration numbers by differentiating the velocity. Just take two successive velocity readings, in the directions you want, subtract them, divide by the time diff ( also from the GPS ) and that is the acceleration, not much of an algorithm.