Fixed file modes.
[fg:toms-fgdata.git] / Aircraft / 777-200 / Systems / 777-autothrottle.xml
1 <?xml version="1.0"?>
2
3 <!--
4  auto-thrust modes:
5  mode     /instrumentation/afds/inputs/autothrottle-index
6  OFF      0
7  THR      1
8  THR REF  2
9  HOLD     3
10  IDLE     4
11  SPD      5
12  -->
13
14 <PropertyList>
15
16     <filter>
17         <name>IAS speed limit</name>
18         <type>gain</type>
19         <gain>1.0</gain>
20         <input>
21             <condition>
22                 <greater-than>
23                     <property>/controls/flight/flaps</property>
24                     <value>0.0</value>
25                 </greater-than>
26             </condition>
27
28             <expression>
29                 <table>
30                     <property>/controls/flight/flaps</property> 
31                     <entry><ind>0.033</ind><dep>255</dep></entry>
32                     <entry><ind>0.166</ind><dep>235</dep></entry>
33                     <entry><ind>0.5</ind><dep>215</dep></entry>
34                     <entry><ind>0.666</ind><dep>195</dep></entry>
35                     <entry><ind>0.833</ind><dep>185</dep></entry>
36                     <entry><ind>1.0</ind><dep>170</dep></entry>
37                 </table>
38             </expression>
39         </input>
40
41         <input>
42             <condition>
43                 <greater-than>
44                     <property>/gear/gear/position-norm</property>
45                     <value>0.0</value>
46                 </greater-than>
47             </condition>
48             <value>270</value>
49         </input>
50
51         <input> 
52             <!-- basic IAS limit based upon diagram 7771003, Sec1.Page4 in the
53               continental manual -->
54             <expression>
55                 <table>
56                     <property>instrumentation/altimeter/indicated-altitude-ft</property> 
57                     <entry><ind>0</ind><dep>330</dep></entry> <!-- clean Vmo -->
58                     <entry><ind>30000</ind><dep>330</dep></entry>
59                     <entry><ind>43000</ind><dep>248</dep></entry>
60                 </table>
61             </expression>
62         </input>
63     
64         <output>instrumentation/afds/max-airspeed-kts</output>
65     </filter>
66
67     <filter>
68         <type>gain</type>
69         <gain>1.0</gain>
70
71         <input>
72             <expression>
73                 <min>
74                     <property>/autopilot/settings/target-speed-kt</property>
75                     <property>instrumentation/afds/max-airspeed-kts</property>
76                 </min>
77             </expression>
78         </input>
79
80         <output>instrumentation/afds/ias-target-kt</output>
81     </filter>
82
83     <!-- thrust mode: IDLE -->
84     <filter>
85         <type>gain</type>
86         <gain>1.0</gain>
87         <enable>
88             <condition>
89                 <property>/instrumentation/afds/inputs/at-armed[0]</property>
90                                 <not><property>gear/gear[1]/wow</property></not>
91                 <equals>
92                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
93                     <value>4</value>
94                 </equals>
95             </condition>
96         </enable>
97
98         <input>
99             <condition>
100                 <equals>
101                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
102                                         <value>FLARE</value>
103                 </equals>
104             </condition>
105             <value>0</value>
106         </input>
107         <input>
108             <value>0.125</value>
109         </input>
110         <output>
111             <prop>/controls/engines/engine[0]/throttle</prop>
112         </output>
113     </filter>
114
115     <filter>
116         <type>gain</type>
117         <gain>1.0</gain>
118         <enable>
119             <condition>
120                 <property>/instrumentation/afds/inputs/at-armed[1]</property>
121                                 <not><property>gear/gear[1]/wow</property></not>
122                 <equals>
123                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
124                     <value>4</value>
125                 </equals>
126             </condition>
127         </enable>
128
129         <input>
130             <condition>
131                 <equals>
132                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
133                                         <value>FLARE</value>
134                 </equals>
135             </condition>
136             <value>0</value>
137         </input>
138         <input>
139             <value>0.125</value>
140         </input>
141         <output>
142             <prop>/controls/engines/engine[1]/throttle</prop>
143         </output>
144     </filter>
145
146     <!-- thrust mode: SPD/ias -->
147     <pid-controller>
148         <name>Auto Throttle1 ias</name>
149         <debug>false</debug>
150         <enable>
151             <condition>
152                 <property>/instrumentation/afds/inputs/at-armed[0]</property>
153                 <equals>
154                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
155                     <value>5</value>
156                 </equals>
157                 <not>
158                     <property>/instrumentation/afds/inputs/ias-mach-selected</property>
159                 </not>
160                 <honor-passive>true</honor-passive>
161                                 <not-equals>
162                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
163                                         <value>VNAV PATH</value>
164                                 </not-equals>
165             </condition>
166         </enable>
167
168         <input>
169             <prop>/instrumentation/airspeed-indicator/indicated-speed-kt</prop>
170         </input>
171         <reference>
172             <prop>instrumentation/afds/ias-target-kt</prop>
173         </reference>
174         <output>
175             <prop>/controls/engines/engine[0]/throttle</prop>
176         </output>
177         <config>
178                         <Kp>
179                                 <condition>
180                                         <and>
181                                                 <eauals>
182                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
183                                                         <value>G/S</value>
184                                                 </eauals>
185                                                 <less-than>
186                                                         <property>position/gear-agl-ft</property>
187                                                         <value>400</value>
188                                                 </less-than>
189                                         </and>
190                                 </condition>
191                                 <value>0.0001</value>
192                         </Kp>
193                         <Kp>
194                 <condition>
195                                         <greater-than>
196                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
197                                                 <property>instrumentation/afds/ias-target-kt</property>
198                                         </greater-than>
199                 </condition>
200                                 <value>0.08</value>
201                         </Kp>
202                         <Kp>0.16</Kp>
203             <Td>0.0001</Td>
204             <Ti>
205                 <condition>
206                                         <greater-than>
207                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
208                                                 <property>instrumentation/afds/ias-target-kt</property>
209                                         </greater-than>
210                 </condition>
211                                 <value>20</value>
212             </Ti>
213             <Ti>10</Ti>
214             <u_min>
215                 <condition>
216                         <equals>
217                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
218                                                 <value>G/S</value>
219                         </equals>
220                 </condition>
221                                 <value>0.06</value>
222                         </u_min>
223             <u_min>0.125</u_min>
224                         <u_max>
225                 <condition>
226                         <equals>
227                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
228                                                 <value>FLARE</value>
229                         </equals>
230                                 </condition>
231                                 <prop>/controls/engines/engine[0]/throttle</prop>
232                         </u_max>
233             <u_max>1.0</u_max>
234         </config>
235     </pid-controller>
236
237     <pid-controller>
238         <name>Auto Throttle2 ias</name>
239         <debug>false</debug>
240         <enable>
241             <condition>
242                 <property>/instrumentation/afds/inputs/at-armed[1]</property>
243                 <equals>
244                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
245                     <value>5</value>
246                 </equals>
247                 <not>
248                     <property>/instrumentation/afds/inputs/ias-mach-selected</property>
249                 </not>
250                 <honor-passive>true</honor-passive>
251                                 <not-equals>
252                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
253                                         <value>VNAV PATH</value>
254                                 </not-equals>
255             </condition>
256         </enable>
257
258         <input>
259             <prop>/instrumentation/airspeed-indicator/indicated-speed-kt</prop>
260         </input>
261         <reference>
262             <prop>instrumentation/afds/ias-target-kt</prop>
263         </reference>
264         <output>
265             <prop>/controls/engines/engine[1]/throttle</prop>
266         </output>
267         <config>
268                         <Kp>
269                                 <condition>
270                                         <and>
271                                                 <eauals>
272                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
273                                                         <value>G/S</value>
274                                                 </eauals>
275                                                 <less-than>
276                                                         <property>position/gear-agl-ft</property>
277                                                         <value>400</value>
278                                                 </less-than>
279                                         </and>
280                                 </condition>
281                                 <value>0.0001</value>
282                         </Kp>
283                         <Kp>
284                 <condition>
285                                         <greater-than>
286                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
287                                                 <property>instrumentation/afds/ias-target-kt</property>
288                                         </greater-than>
289                 </condition>
290                                 <value>0.08</value>
291                         </Kp>
292                         <Kp>0.16</Kp>
293            <Td>0.0001</Td>
294             <Ti>
295                 <condition>
296                                         <greater-than>
297                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
298                                                 <property>instrumentation/afds/ias-target-kt</property>
299                                         </greater-than>
300                 </condition>
301                                 <value>20</value>
302                         </Ti>
303             <Ti>10</Ti>
304             <u_min>
305                 <condition>
306                         <equals>
307                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
308                                                 <value>G/S</value>
309                         </equals>
310                 </condition>
311                                 <value>0.06</value>
312                         </u_min>
313                         <u_max>
314                 <condition>
315                         <equals>
316                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
317                                                 <value>FLARE</value>
318                         </equals>
319                 </condition>
320                                 <prop>/controls/engines/engine[1]/throttle</prop>
321                         </u_max>
322             <u_min>0.125</u_min>
323             <u_max>1.0</u_max>
324         </config>
325     </pid-controller>
326
327     <!-- thrust mode: SPD/mach -->
328     <pid-controller>
329         <name>Auto Throttle1 mach</name>
330         <debug>false</debug>
331         <enable>
332             <condition>
333                 <property>/instrumentation/afds/inputs/at-armed[0]</property>
334                 <equals>
335                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
336                     <value>5</value>
337                 </equals>
338                 <property>/instrumentation/afds/inputs/ias-mach-selected</property>
339                 <honor-passive>true</honor-passive>
340                                 <not-equals>
341                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
342                                         <value>VNAV PATH</value>
343                                 </not-equals>
344             </condition>
345         </enable>
346
347         <input>
348             <prop>/instrumentation/airspeed-indicator/indicated-mach</prop>
349         </input>
350         <reference>
351             <prop>/autopilot/settings/target-speed-mach</prop>
352         </reference>
353         <output>
354             <prop>/controls/engines/engine[0]/throttle</prop>
355         </output>
356         <config>
357                         <Kp>
358                 <condition>
359                                         <greater-than>
360                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
361                                                 <property>/autopilot/settings/target-speed-mach</property>
362                                         </greater-than>
363                 </condition>
364                                 <value>20.00</value>
365                         </Kp>
366             <Kp>40.0</Kp>
367            <Ti>
368                 <condition>
369                                         <greater-than>
370                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
371                                                 <property>/autopilot/settings/target-speed-mach</property>
372                                         </greater-than>
373                 </condition>
374                                 <value>10.00</value>
375             </Ti>
376             <Ti>5.0</Ti>
377             <Td>0.00001</Td>
378             <u_min>0.125</u_min>
379             <u_max>1.0</u_max>
380         </config>
381     </pid-controller>
382
383     <pid-controller>
384         <name>Auto Throttle2 mach</name>
385         <debug>false</debug>
386         <enable>
387             <condition>
388                 <property>/instrumentation/afds/inputs/at-armed[1]</property>
389                 <equals>
390                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
391                     <value>5</value>
392                 </equals>
393                 <property>/instrumentation/afds/inputs/ias-mach-selected</property>
394                 <honor-passive>true</honor-passive>
395                                 <not-equals>
396                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
397                                         <value>VNAV PATH</value>
398                                 </not-equals>
399             </condition>
400         </enable>
401
402         <input>
403             <prop>/instrumentation/airspeed-indicator/indicated-mach</prop>
404         </input>
405         <reference>
406             <prop>/autopilot/settings/target-speed-mach</prop>
407         </reference>
408         <output>
409             <prop>/controls/engines/engine[1]/throttle</prop>
410         </output>
411         <config>
412                         <Kp>
413                 <condition>
414                                         <greater-than>
415                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
416                                                 <property>/autopilot/settings/target-speed-mach</property>
417                                         </greater-than>
418                 </condition>
419                                 <value>20.00</value>
420                         </Kp>
421             <Kp>40.0</Kp>
422            <Ti>
423                 <condition>
424                                         <greater-than>
425                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
426                                                 <property>/autopilot/settings/target-speed-mach</property>
427                                         </greater-than>
428                 </condition>
429                                 <value>10.00</value>
430             </Ti>
431             <Ti>5.0</Ti>
432             <Td>0.00001</Td>
433             <u_min>0.125</u_min>
434             <u_max>1.0</u_max>
435         </config>
436     </pid-controller>
437
438
439     <!-- thrust mode: SPD/ias -->
440     <pid-controller>
441         <name>Auto Throttle1 vnav ias</name>
442         <debug>false</debug>
443         <enable>
444             <condition>
445                 <property>/instrumentation/afds/inputs/at-armed[0]</property>
446                 <equals>
447                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
448                     <value>5</value>
449                 </equals>
450                 <not>
451                     <property>/instrumentation/afds/inputs/ias-mach-selected</property>
452                 </not>
453                 <honor-passive>true</honor-passive>
454                                 <equals>
455                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
456                                         <value>VNAV PATH</value>
457                                 </equals>
458             </condition>
459         </enable>
460
461         <input>
462             <prop>/instrumentation/airspeed-indicator/indicated-speed-kt</prop>
463         </input>
464         <reference>
465             <prop>autopilot/fmc/target_speed</prop>
466         </reference>
467         <output>
468             <prop>/controls/engines/engine[0]/throttle</prop>
469         </output>
470         <config>
471                         <Kp>
472                           <condition>
473                                         <and>
474                                                 <eauals>
475                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
476                                                         <value>G/S</value>
477                                                 </eauals>
478                                                 <less-than>
479                                                         <property>position/gear-agl-ft</property>
480                                                         <value>400</value>
481                                                 </less-than>
482                                         </and>
483                          </condition>
484                                 <value>0.0001</value>
485                         </Kp>
486                         <Kp>
487                 <condition>
488                                         <greater-than>
489                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
490                                                 <property>autopilot/fmc/target_speed</property>
491                                         </greater-than>
492                 </condition>
493                                 <value>0.08</value>
494                         </Kp>
495                         <Kp>0.16</Kp>
496             <Td>0.0001</Td>
497             <Ti>
498                 <condition>
499                                         <greater-than>
500                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
501                                                 <property>autopilot/fmc/target_speed</property>
502                                         </greater-than>
503                 </condition>
504                                 <value>20</value>
505             </Ti>
506             <Ti>10</Ti>
507             <u_min>
508                 <condition>
509                         <equals>
510                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
511                                                 <value>G/S</value>
512                         </equals>
513                 </condition>
514                                 <value>0.06</value>
515                         </u_min>
516             <u_min>0.125</u_min>
517             <u_max>1.0</u_max>
518         </config>
519     </pid-controller>
520
521     <pid-controller>
522         <name>Auto Throttle2 vnav ias</name>
523         <debug>false</debug>
524         <enable>
525             <condition>
526                 <property>/instrumentation/afds/inputs/at-armed[1]</property>
527                 <equals>
528                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
529                     <value>5</value>
530                 </equals>
531                 <not>
532                     <property>/instrumentation/afds/inputs/ias-mach-selected</property>
533                 </not>
534                 <honor-passive>true</honor-passive>
535                                 <equals>
536                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
537                                         <value>VNAV PATH</value>
538                                 </equals>
539             </condition>
540         </enable>
541
542         <input>
543             <prop>/instrumentation/airspeed-indicator/indicated-speed-kt</prop>
544         </input>
545         <reference>
546             <prop>autopilot/fmc/target_speed</prop>
547         </reference>
548         <output>
549             <prop>/controls/engines/engine[1]/throttle</prop>
550         </output>
551         <config>
552                         <Kp>
553                           <condition>
554                                         <and>
555                                                 <eauals>
556                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
557                                                         <value>G/S</value>
558                                                 </eauals>
559                                                 <less-than>
560                                                         <property>position/gear-agl-ft</property>
561                                                         <value>400</value>
562                                                 </less-than>
563                                         </and>
564                          </condition>
565                                 <value>0.0001</value>
566                         </Kp>
567                         <Kp>
568                 <condition>
569                                         <greater-than>
570                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
571                                                 <property>autopilot/fmc/target_speed</property>
572                                         </greater-than>
573                 </condition>
574                                 <value>0.08</value>
575                         </Kp>
576                         <Kp>0.16</Kp>
577            <Td>0.0001</Td>
578             <Ti>
579                 <condition>
580                                         <greater-than>
581                                                 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
582                                                 <property>autopilot/fmc/target_speed</property>
583                                         </greater-than>
584                 </condition>
585                                 <value>20</value>
586                         </Ti>
587             <Ti>10</Ti>
588             <u_min>
589                 <condition>
590                         <equals>
591                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
592                                                 <value>G/S</value>
593                         </equals>
594                 </condition>
595                                 <value>0.06</value>
596                         </u_min>
597             <u_min>0.125</u_min>
598             <u_max>1.0</u_max>
599         </config>
600     </pid-controller>
601
602     <!-- thrust mode: SPD/mach -->
603     <pid-controller>
604         <name>Auto Throttle1 vnav mach</name>
605         <debug>false</debug>
606         <enable>
607             <condition>
608                 <property>/instrumentation/afds/inputs/at-armed[0]</property>
609                 <equals>
610                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
611                     <value>5</value>
612                 </equals>
613                 <property>/instrumentation/afds/inputs/ias-mach-selected</property>
614                 <honor-passive>true</honor-passive>
615                                 <equals>
616                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
617                                         <value>VNAV PATH</value>
618                                 </equals>
619             </condition>
620         </enable>
621
622         <input>
623             <prop>/instrumentation/airspeed-indicator/indicated-mach</prop>
624         </input>
625         <reference>
626             <prop>autopilot/fmc/target_mach</prop>
627         </reference>
628         <output>
629             <prop>/controls/engines/engine[0]/throttle</prop>
630         </output>
631         <config>
632                         <Kp>
633                 <condition>
634                                         <greater-than>
635                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
636                                                 <property>autopilot/fmc/target_mach</property>
637                                         </greater-than>
638                 </condition>
639                                 <value>20.00</value>
640                         </Kp>
641             <Kp>40.0</Kp>
642            <Ti>
643                 <condition>
644                                         <greater-than>
645                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
646                                                 <property>autopilot/fmc/target_mach</property>
647                                         </greater-than>
648                 </condition>
649                                 <value>10.00</value>
650             </Ti>
651             <Ti>5.0</Ti>
652             <Td>0.00001</Td>
653             <u_min>0.125</u_min>
654             <u_max>1.0</u_max>
655         </config>
656     </pid-controller>
657
658     <pid-controller>
659         <name>Auto Throttle2 vnav mach</name>
660         <debug>false</debug>
661         <enable>
662             <condition>
663                 <property>/instrumentation/afds/inputs/at-armed[1]</property>
664                 <equals>
665                     <property>/instrumentation/afds/inputs/autothrottle-index</property>
666                     <value>5</value>
667                 </equals>
668                 <property>/instrumentation/afds/inputs/ias-mach-selected</property>
669                 <honor-passive>true</honor-passive>
670                                 <equals>
671                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
672                                         <value>VNAV PATH</value>
673                                 </equals>
674             </condition>
675         </enable>
676
677         <input>
678             <prop>/instrumentation/airspeed-indicator/indicated-mach</prop>
679         </input>
680         <reference>
681             <prop>autopilot/fmc/target_mach</prop>
682         </reference>
683         <output>
684             <prop>/controls/engines/engine[1]/throttle</prop>
685         </output>
686         <config>
687                         <Kp>
688                 <condition>
689                                         <greater-than>
690                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
691                                                 <property>autopilot/fmc/target_mach</property>
692                                         </greater-than>
693                 </condition>
694                                 <value>20.00</value>
695                         </Kp>
696             <Kp>40.0</Kp>
697            <Ti>
698                 <condition>
699                                         <greater-than>
700                                                 <property>/instrumentation/airspeed-indicator/indicated-mach</property>
701                                                 <property>autopilot/fmc/target_mach</property>
702                                         </greater-than>
703                 </condition>
704                                 <value>10.00</value>
705             </Ti>
706             <Ti>5.0</Ti>
707             <Td>0.00001</Td>
708             <u_min>0.125</u_min>
709             <u_max>1.0</u_max>
710         </config>
711     </pid-controller>
712
713 </PropertyList>