Hello Syd,

> I did a DESCEND/CLIMB mode for the b1900d autopilot , and a few others
> that i never did commit , but have to admit I'm not sure what you mean
> by  decoupling the throttle ... is there a controller in the autopilot
> file that's taking control of the throttle at the same time ?My
> apologies if this sounds like a dumb question but i cant see your
> autopilot file ;)

You couldn't see my autopilot file, as I did not had any yet. That's why I 
asked here to get the needed autopilot file! And with help from Torsten I  have 
now the controller I needed. ;-)

Many thanks to Torsten for the help and the explnanations!

What I wanted to achieve is a FLC-Mode without Autothrottle.
How does it works?
I translate what Torsten wrote, he had a very good explanation for:

"It is a simple energy management. The total energy of the aircraft is the sum 
of kinetic energy (speed) and potential energy (altitude).
If we keep the speed constant via Pitch-Hold and add energy by increasing 
thrust more than needed, then this energy will be transformed into altitude, 
means the aircraft will climb."



So I wrote a controller which has the indicated-speed-kt as input; as reference 
I used "/autopilot/internal/target-speed-kt". I used that way, as the 
"autopilot/settings/target-speed" is always influenced by throttle setting. And 
finally as output "target-pitch-deg" (can be elevator as well, etc...).

About your questions:
Yes, throttles are coupled per default with autopilot/settings/target-speed. 
That's coded in Nasal/control.nas. I wasn't aware of it, but I found a way to 
deal with as written above.

Descend and Climb are some own modes and not really comparable with the 
FLC-Mode used in the real Citation X as the Citation X does not have any 
autothrust.

>From Smartcockpit.com about the FLC-Mode on the Citation X:
"To climb the airplane from present altitude to a preselected altitude, follow 
this
procedure: (1) use the altitude preset knob on the remote instrument controller 
to set the alert
altitude higher than the current altitude, (2) press the FLC button on the 
GC-810 flight
guidance controller; the airspeed current when FLC is pressed will be the 
target airspeed, (3)
advance the throttles to establish climb power. The system will climb the 
airplane to the
preselected altitude, and will maintain the speed reference. The amount of 
throttle applied will
vary the rate of climb achieved. The capture of any armed pitch mode will 
override the
selected FLC mode."

And here is my controller which does this, tested on the 737-300.


<pi-simple-controller>
    <name>Speed hold (vary pitch trim) Stage #1</name>
    <debug>false</debug>
    <enable>
      <prop>/autopilot/locks/flc</prop>
      <value>true</value>
    </enable>
    <input>
      <prop>/instrumentation/airspeed-indicator/indicated-speed-kt</prop>
    </input>
    <reference>
      <prop>/autopilot/internal/target-speed-kt</prop>
    </reference>
    <output>
      <prop>/autopilot/settings/target-pitch-deg</prop>
    </output>
    <config>
      <Kp>-1.0</Kp>       <!-- proportional gain -->
      <Ki>-0.1</Ki>
      <u_min>-15.0</u_min><!-- minimum output clamp -->
      <u_max>15.0</u_max> <!-- maximum output clamp -->
    </config>
  </pi-simple-controller>

<pi-simple-controller>
    <name>Speed hold (vary pitch trim) Stage #2</name>
    <debug>false</debug>
    <enable>
      <prop>/autopilot/locks/flc</prop>
      <value>true</value>
    </enable>
    <input>
      <prop>/orientation/pitch-deg</prop>
    </input>
    <reference>
      <prop>/autopilot/settings/target-pitch-deg</prop>
    </reference>
    <output>
      <prop>/controls/flight/elevator-trim</prop>
    </output>
    <config>
      <Kp>-0.05</Kp>      <!-- proportional gain -->
     <Ki>0.0</Ki>
      <u_min>-1.0</u_min> <!-- minimum output clamp -->
      <u_max>1.0</u_max>  <!-- maximum output clamp -->
    </config>
 </pi-simple-controller>


Hope it helps

Kind regards
Heiko




still in work: http://www.hoerbird.net/galerie.html
But already done: http://www.hoerbird.net/reisen.html

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to