- Messages
- 204
- Country

Anyone ever tried to implement airspeed and altitude trend vectors on a PFD?
Theoretically we have
for airspeed:
v=v0+a.t
so for t=10s (assuming a 10 seconds prediction), we have
The 0.592484 constant was added to convert feet per second squared to knots per second, so the result is an airspeed in knots.
and for altitude:
s=s0+v.t+1/2.a.t^2
So for t=6s (assuming a 6 seconds prediction), we have
I remember I made some testing in the past, but couldn't test the results, and I suspect the ACCELERATION variables are related to east/west and north/south rather than longitudinal, lateral... anyway the BODY variables seem the way to go.
(Corrections already made to the code according to SkippyBing post below)
(Correction made to add missing units conversion on speed trend calculation)
(Correction made to add acceleration component to altitude trend calculation)
(Correction made to use VERTICAL SPEED on the altitude trend calculation)
Theoretically we have
for airspeed:
v=v0+a.t
so for t=10s (assuming a 10 seconds prediction), we have
Code:
(A:ACCELERATION BODY Z, Feet per second squared) 0.592484 * 10 *
(A:AIRSPEED INDICATED, Knots) +
(>L:PREDICTED AIRSPEED, Knots)
and for altitude:
s=s0+v.t+1/2.a.t^2
So for t=6s (assuming a 6 seconds prediction), we have
Code:
(A:ACCELERATION BODY Y, Feet per second squared) 0.5 * 6 * 6 *
(A:VERTICAL SPEED, Feet per second) 6 * +
(A:INDICATED ALTITUDE, Feet) +
(>L:PREDICTED ALTITUDE, Feet)
I remember I made some testing in the past, but couldn't test the results, and I suspect the ACCELERATION variables are related to east/west and north/south rather than longitudinal, lateral... anyway the BODY variables seem the way to go.
(Corrections already made to the code according to SkippyBing post below)
(Correction made to add missing units conversion on speed trend calculation)
(Correction made to add acceleration component to altitude trend calculation)
(Correction made to use VERTICAL SPEED on the altitude trend calculation)
Last edited:

