I searched the forums for a bit looking for an answer to this problem with no luck. Hopefully someone here can help me out...
I am currently working on a gauge that will allow the pilot to trim his/her aircraft to a desired AOA while the aircraft is in Powered Approach Mode. By using the elevator trim up and elevator trim down functions, the pilot actually sets the indicated AOA that he/she wants the aircraft to maintain during approach, and the aircraft's flight control system actually controls the elevator trim to maintain indicated AOA.
The problem I am running into is that I can't seem to find a way to disconnect the elevator movement from what's indicated in the jet. I need the elevator trim indicator value to remain at what the pilot has set and not display the actual, real-time position of the trim.
XML coding would be something similar to this:
(A:AIRSPEED TRUE,knots) 250 <
(A:TRAILING EDGE FLAPS LEFT ANGLE,Degrees) 40 > &&
(A:GEAR CENTER POSITION,Percent) 30 > &&
if{ (A:ELEVATOR TRIM POSITION, degrees) (A:INCIDENCE ALPHA,Degrees) / } (>L:AOA Selector, number) } els{ }
(L:AOA Selector, number) 1 >
(A:GEAR CENTER POSITION,Percent) 30 > &&
(A:INCIDENCE ALPHA,Degrees) 22 < &&
(A:AIRSPEED TRUE,knots) 250 < &&
(A:SIM ON GROUND, bool) ! &&
(A:AUTOPILOT MASTER, bool) ! &&
if{ (>K:ELEV_TRIM_UP) } els{ }
(L:AOA Selector, number) 1 <
(A:GEAR CENTER POSITION,Percent) 30 > &&
(A:INCIDENCE ALPHA,Degrees) 22 < &&
(A:AIRSPEED TRUE,knots) 250 < &&
(A:SIM ON GROUND, bool) ! &&
(A:AUTOPILOT MASTER, bool) ! &&
if{ (>K:ELEV_TRIM_DN) } els{ }
The coding above assumes that the "ELEVATOR TRIM POSITION" would be the reinterpreted as the dialed or assigned AOA by the pilot (this number doesn't change unless done so by the pilot). From there, it gets compared to the actual (real-time) AOA of the aircraft. By dividing the Assigned AOA by the Actual AOA, you get a numerical value that is either greater than one (1) or less that one (1). This, in turn, determines whether the Flight Control System (FCS) should provide nose up trim or nose down trim in an attempt to keep the ratio 1/1.
As of now, I can dial in the AOA that I want the FCS to maintain, but as soon as it is dialed in, the FCS changes the elevator trim state as defined in the XML coding, thereby changing the indicated value, at this point the trim is like "a dog chasing its tail".
I hope I have explained my issue with sufficient details so that someone may be able to help. Thanks again.
I am currently working on a gauge that will allow the pilot to trim his/her aircraft to a desired AOA while the aircraft is in Powered Approach Mode. By using the elevator trim up and elevator trim down functions, the pilot actually sets the indicated AOA that he/she wants the aircraft to maintain during approach, and the aircraft's flight control system actually controls the elevator trim to maintain indicated AOA.
The problem I am running into is that I can't seem to find a way to disconnect the elevator movement from what's indicated in the jet. I need the elevator trim indicator value to remain at what the pilot has set and not display the actual, real-time position of the trim.
XML coding would be something similar to this:
(A:AIRSPEED TRUE,knots) 250 <
(A:TRAILING EDGE FLAPS LEFT ANGLE,Degrees) 40 > &&
(A:GEAR CENTER POSITION,Percent) 30 > &&
if{ (A:ELEVATOR TRIM POSITION, degrees) (A:INCIDENCE ALPHA,Degrees) / } (>L:AOA Selector, number) } els{ }
(L:AOA Selector, number) 1 >
(A:GEAR CENTER POSITION,Percent) 30 > &&
(A:INCIDENCE ALPHA,Degrees) 22 < &&
(A:AIRSPEED TRUE,knots) 250 < &&
(A:SIM ON GROUND, bool) ! &&
(A:AUTOPILOT MASTER, bool) ! &&
if{ (>K:ELEV_TRIM_UP) } els{ }
(L:AOA Selector, number) 1 <
(A:GEAR CENTER POSITION,Percent) 30 > &&
(A:INCIDENCE ALPHA,Degrees) 22 < &&
(A:AIRSPEED TRUE,knots) 250 < &&
(A:SIM ON GROUND, bool) ! &&
(A:AUTOPILOT MASTER, bool) ! &&
if{ (>K:ELEV_TRIM_DN) } els{ }
The coding above assumes that the "ELEVATOR TRIM POSITION" would be the reinterpreted as the dialed or assigned AOA by the pilot (this number doesn't change unless done so by the pilot). From there, it gets compared to the actual (real-time) AOA of the aircraft. By dividing the Assigned AOA by the Actual AOA, you get a numerical value that is either greater than one (1) or less that one (1). This, in turn, determines whether the Flight Control System (FCS) should provide nose up trim or nose down trim in an attempt to keep the ratio 1/1.
As of now, I can dial in the AOA that I want the FCS to maintain, but as soon as it is dialed in, the FCS changes the elevator trim state as defined in the XML coding, thereby changing the indicated value, at this point the trim is like "a dog chasing its tail".
I hope I have explained my issue with sufficient details so that someone may be able to help. Thanks again.



