| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
<PropertyList> |
| 43 |
|
| 44 |
<filter> |
| 45 |
<name>Weight Gain Scalar</name> |
| 46 |
<type>gain</type> |
| 47 |
<gain>0.0001</gain> |
| 48 |
|
| 49 |
<input> |
| 50 |
<condition> |
| 51 |
<equals> |
| 52 |
<property>/sim/flight-model</property> |
| 53 |
<value>jsb</value> |
| 54 |
</equals> |
| 55 |
</condition> |
| 56 |
<property>/fdm/jsbsim/inertia/weight-lbs</property> |
| 57 |
</input> |
| 58 |
<input> |
| 59 |
<condition> |
| 60 |
<equals> |
| 61 |
<property>/sim/flight-model</property> |
| 62 |
<value>yasim</value> |
| 63 |
</equals> |
| 64 |
</condition> |
| 65 |
<property>/fdm/yasim/gross-weight-lbs</property> |
| 66 |
</input> |
| 67 |
<input>50000</input> |
| 68 |
<output>/autopilot/internal/gain-factor</output> |
| 69 |
<min>1</min> |
| 70 |
<max>10</max> |
| 71 |
</filter> |
| 72 |
|
| 73 |
|
| 74 |
<logic> |
| 75 |
<input> |
| 76 |
<or> |
| 77 |
<equals> |
| 78 |
<property>/autopilot/locks/heading</property> |
| 79 |
<value>wing-leveler</value> |
| 80 |
</equals> |
| 81 |
<equals> |
| 82 |
<property>/autopilot/locks/heading</property> |
| 83 |
<value>dg-heading-hold</value> |
| 84 |
</equals> |
| 85 |
<equals> |
| 86 |
<property>/autopilot/locks/heading</property> |
| 87 |
<value>true-heading-hold</value> |
| 88 |
</equals> |
| 89 |
<equals> |
| 90 |
<property>/autopilot/locks/heading</property> |
| 91 |
<value>nav1-hold</value> |
| 92 |
</equals> |
| 93 |
</or> |
| 94 |
</input> |
| 95 |
<output>/autopilot/internal/roll-active</output> |
| 96 |
</logic> |
| 97 |
|
| 98 |
<logic> |
| 99 |
<input> |
| 100 |
<or> |
| 101 |
<equals> |
| 102 |
<property>/autopilot/locks/speed</property> |
| 103 |
<value>speed-with-pitch-trim</value> |
| 104 |
</equals> |
| 105 |
<equals> |
| 106 |
<property>/autopilot/locks/speed</property> |
| 107 |
<value>mach-with-pitch-trim</value> |
| 108 |
</equals> |
| 109 |
</or> |
| 110 |
</input> |
| 111 |
<output>/autopilot/internal/speed-on-pitch-active</output> |
| 112 |
</logic> |
| 113 |
|
| 114 |
<logic> |
| 115 |
<input> |
| 116 |
<and> |
| 117 |
<equals> |
| 118 |
<property>/autopilot/locks/altitude</property> |
| 119 |
<value>pitch-hold</value> |
| 120 |
</equals> |
| 121 |
<not><property>/autopilot/internal/speed-on-pitch-active</property></not> |
| 122 |
</and> |
| 123 |
</input> |
| 124 |
<output>/autopilot/internal/pitch-hold-active</output> |
| 125 |
</logic> |
| 126 |
|
| 127 |
<logic> |
| 128 |
<input> |
| 129 |
<or> |
| 130 |
<equals> |
| 131 |
<property>/autopilot/locks/altitude</property> |
| 132 |
<value>vertical-speed-hold</value> |
| 133 |
</equals> |
| 134 |
<equals> |
| 135 |
<property>/autopilot/locks/altitude</property> |
| 136 |
<value>pitch-hold</value> |
| 137 |
</equals> |
| 138 |
<equals> |
| 139 |
<property>/autopilot/locks/altitude</property> |
| 140 |
<value>fpa-hold</value> |
| 141 |
</equals> |
| 142 |
<equals> |
| 143 |
<property>/autopilot/locks/altitude</property> |
| 144 |
<value>altitude-hold</value> |
| 145 |
</equals> |
| 146 |
<equals> |
| 147 |
<property>/autopilot/locks/altitude</property> |
| 148 |
<value>agl-hold</value> |
| 149 |
</equals> |
| 150 |
<equals> |
| 151 |
<property>/autopilot/locks/altitude</property> |
| 152 |
<value>gs1-hold</value> |
| 153 |
</equals> |
| 154 |
<property>/autopilot/internal/speed-on-pitch-active</property> |
| 155 |
</or> |
| 156 |
</input> |
| 157 |
<output>/autopilot/internal/pitch-active</output> |
| 158 |
</logic> |
| 159 |
|
| 160 |
<logic> |
| 161 |
<input> |
| 162 |
<or> |
| 163 |
<equals> |
| 164 |
<property>/autopilot/locks/altitude</property> |
| 165 |
<value>vertical-speed-hold</value> |
| 166 |
</equals> |
| 167 |
<equals> |
| 168 |
<property>/autopilot/locks/altitude</property> |
| 169 |
<value>altitude-hold</value> |
| 170 |
</equals> |
| 171 |
<equals> |
| 172 |
<property>/autopilot/locks/altitude</property> |
| 173 |
<value>fpa-hold</value> |
| 174 |
</equals> |
| 175 |
<equals> |
| 176 |
<property>/autopilot/locks/altitude</property> |
| 177 |
<value>agl-hold</value> |
| 178 |
</equals> |
| 179 |
<equals> |
| 180 |
<property>/autopilot/locks/altitude</property> |
| 181 |
<value>gs1-hold</value> |
| 182 |
</equals> |
| 183 |
<property>/autopilot/internal/speed-on-pitch-active</property> |
| 184 |
</or> |
| 185 |
</input> |
| 186 |
<output>/autopilot/internal/vs-active</output> |
| 187 |
</logic> |
| 188 |
|
| 189 |
<logic> |
| 190 |
<input> |
| 191 |
<or> |
| 192 |
<equals> |
| 193 |
<property>/autopilot/locks/speed</property> |
| 194 |
<value>speed-with-throttle</value> |
| 195 |
</equals> |
| 196 |
<equals> |
| 197 |
<property>/autopilot/locks/speed</property> |
| 198 |
<value>mach-with-throttle</value> |
| 199 |
</equals> |
| 200 |
</or> |
| 201 |
</input> |
| 202 |
<output>/autopilot/internal/throttle-active</output> |
| 203 |
</logic> |
| 204 |
|
| 205 |
<logic> |
| 206 |
<input> |
| 207 |
<not> |
| 208 |
<or> |
| 209 |
<property>/autopilot/internal/pitch-active</property> |
| 210 |
<property>/autopilot/internal/roll-active</property> |
| 211 |
<property>/autopilot/internal/throttle-active</property> |
| 212 |
</or> |
| 213 |
</not> |
| 214 |
</input> |
| 215 |
<output>/autopilot/locks/passive-mode</output> |
| 216 |
</logic> |
| 217 |
|
| 218 |
<filter> |
| 219 |
<name>Bank Angle Max</name> |
| 220 |
<type>gain</type> |
| 221 |
<gain>1.0</gain> |
| 222 |
<input> |
| 223 |
<condition> |
| 224 |
<greater-than> |
| 225 |
<property>/autopilot/config/bank-limit</property> |
| 226 |
<value>0</value> |
| 227 |
</greater-than> |
| 228 |
</condition> |
| 229 |
<expression> |
| 230 |
<min> |
| 231 |
<property>/autopilot/config/bank-limit</property> |
| 232 |
<table> |
| 233 |
<property>/velocities/airspeed-kt</property> |
| 234 |
<entry><ind> 80</ind><dep>15</dep></entry> |
| 235 |
<entry><ind>200</ind><dep>25</dep></entry> |
| 236 |
<entry><ind>250</ind><dep>30</dep></entry> |
| 237 |
</table> |
| 238 |
</min> |
| 239 |
</expression> |
| 240 |
</input> |
| 241 |
<input> |
| 242 |
<expression> |
| 243 |
<table> |
| 244 |
<property>/velocities/airspeed-kt</property> |
| 245 |
<entry><ind> 80</ind><dep>15</dep></entry> |
| 246 |
<entry><ind>200</ind><dep>25</dep></entry> |
| 247 |
<entry><ind>250</ind><dep>30</dep></entry> |
| 248 |
</table> |
| 249 |
</expression> |
| 250 |
</input> |
| 251 |
<output>/autopilot/internal/max-bank</output> |
| 252 |
</filter> |
| 253 |
|
| 254 |
<filter> |
| 255 |
<name>Bank Angle Min</name> |
| 256 |
<type>gain</type> |
| 257 |
<gain>-1.0</gain> |
| 258 |
<input>/autopilot/internal/max-bank</input> |
| 259 |
<output>/autopilot/internal/min-bank</output> |
| 260 |
</filter> |
| 261 |
|
| 262 |
<filter> |
| 263 |
<name>Heading/Nav Error Deg</name> |
| 264 |
<type>gain</type> |
| 265 |
<gain>1.0</gain> |
| 266 |
<input> |
| 267 |
<condition> |
| 268 |
<equals> |
| 269 |
<property>/autopilot/locks/heading</property> |
| 270 |
<value>nav1-hold</value> |
| 271 |
</equals> |
| 272 |
</condition> |
| 273 |
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property> |
| 274 |
<offset> |
| 275 |
<property>/orientation/heading-deg</property> |
| 276 |
<scale>-1.0</scale> |
| 277 |
</offset> |
| 278 |
</input> |
| 279 |
<input> |
| 280 |
<condition> |
| 281 |
<equals> |
| 282 |
<property>/autopilot/locks/heading</property> |
| 283 |
<value>true-heading-hold</value> |
| 284 |
</equals> |
| 285 |
</condition> |
| 286 |
<property>/autopilot/settings/true-heading-deg</property> |
| 287 |
<offset> |
| 288 |
<property>/orientation/heading-deg</property> |
| 289 |
<scale>-1.0</scale> |
| 290 |
</offset> |
| 291 |
</input> |
| 292 |
<input> |
| 293 |
<condition> |
| 294 |
<equals> |
| 295 |
<property>/autopilot/locks/heading</property> |
| 296 |
<value>dg-heading-hold</value> |
| 297 |
</equals> |
| 298 |
</condition> |
| 299 |
<property>/autopilot/settings/heading-bug-deg</property> |
| 300 |
<offset> |
| 301 |
<property>/orientation/heading-magnetic-deg</property> |
| 302 |
<scale>-1.0</scale> |
| 303 |
</offset> |
| 304 |
</input> |
| 305 |
<input>0</input> |
| 306 |
<output>/autopilot/internal/heading-error-deg</output> |
| 307 |
<period> |
| 308 |
<min>-180</min> |
| 309 |
<max>180</max> |
| 310 |
</period> |
| 311 |
</filter> |
| 312 |
|
| 313 |
<filter> |
| 314 |
<name>Pitch Angle Min</name> |
| 315 |
<type>gain</type> |
| 316 |
<gain>1.0</gain> |
| 317 |
<input> |
| 318 |
<condition> |
| 319 |
<greater-than> |
| 320 |
<property>/autopilot/config/pitch-limit-min</property> |
| 321 |
<value>0</value> |
| 322 |
</greater-than> |
| 323 |
</condition> |
| 324 |
<property>/autopilot/config/pitch-limit-min</property> |
| 325 |
<scale>-1</scale> |
| 326 |
</input> |
| 327 |
<input>-15</input> |
| 328 |
<output>/autopilot/internal/min-pitch</output> |
| 329 |
</filter> |
| 330 |
|
| 331 |
<filter> |
| 332 |
<name>Pitch Angle Max</name> |
| 333 |
<type>gain</type> |
| 334 |
<gain>1.0</gain> |
| 335 |
<input> |
| 336 |
<condition> |
| 337 |
<greater-than> |
| 338 |
<property>/autopilot/config/pitch-limit-max</property> |
| 339 |
<value>0</value> |
| 340 |
</greater-than> |
| 341 |
</condition> |
| 342 |
<property>/autopilot/config/pitch-limit-max</property> |
| 343 |
</input> |
| 344 |
<input>30</input> |
| 345 |
<output>/autopilot/internal/max-pitch</output> |
| 346 |
</filter> |
| 347 |
|
| 348 |
<filter> |
| 349 |
<name>Internal Vertical Speed</name> |
| 350 |
<type>gain</type> |
| 351 |
<gain>60.0</gain> |
| 352 |
<input>/velocities/vertical-speed-fps</input> |
| 353 |
<output>/autopilot/internal/vertical-speed-fpm</output> |
| 354 |
</filter> |
| 355 |
|
| 356 |
<filter> |
| 357 |
<name>G/S FPM Calc</name> |
| 358 |
<type>gain</type> |
| 359 |
<gain>1.0</gain> |
| 360 |
<input>/instrumentation/nav[0]/gs-rate-of-climb-fpm</input> |
| 361 |
<output>/autopilot/internal/nav1-rate-of-climb-fpm</output> |
| 362 |
<min>-1500</min> |
| 363 |
<max>0</max> |
| 364 |
</filter> |
| 365 |
|
| 366 |
<filter> |
| 367 |
<name>Estimated True Speed Knots</name> |
| 368 |
<type>gain</type> |
| 369 |
<gain>1.0085</gain> |
| 370 |
<input> |
| 371 |
<expression> |
| 372 |
<product> |
| 373 |
<property>/velocities/mach</property> |
| 374 |
<table> |
| 375 |
<property>/position/altitude-ft</property> |
| 376 |
<entry><ind> 0</ind><dep>661</dep></entry> |
| 377 |
<entry><ind> 5000</ind><dep>650</dep></entry> |
| 378 |
<entry><ind>10000</ind><dep>638</dep></entry> |
| 379 |
<entry><ind>15000</ind><dep>626</dep></entry> |
| 380 |
<entry><ind>20000</ind><dep>614</dep></entry> |
| 381 |
<entry><ind>25000</ind><dep>602</dep></entry> |
| 382 |
<entry><ind>30000</ind><dep>589</dep></entry> |
| 383 |
<entry><ind>35000</ind><dep>574</dep></entry> |
| 384 |
<entry><ind>40000</ind><dep>573</dep></entry> |
| 385 |
</table> |
| 386 |
</product> |
| 387 |
</expression> |
| 388 |
</input> |
| 389 |
<output>/autopilot/internal/estimated-true-kt</output> |
| 390 |
</filter> |
| 391 |
|
| 392 |
<filter> |
| 393 |
<name>Internal FPA Computer</name> |
| 394 |
<type>gain</type> |
| 395 |
<gain>1.0</gain> |
| 396 |
<input> |
| 397 |
<expression> |
| 398 |
<difference> |
| 399 |
<property>/orientation/pitch-deg</property> |
| 400 |
<property>/orientation/alpha-deg</property> |
| 401 |
</difference> |
| 402 |
</expression> |
| 403 |
</input> |
| 404 |
<output>/autopilot/internal/fpa</output> |
| 405 |
</filter> |
| 406 |
|
| 407 |
<filter> |
| 408 |
<name>Current Knots</name> |
| 409 |
<type>gain</type> |
| 410 |
<gain>1.0</gain> |
| 411 |
<input> |
| 412 |
<property-path>/autopilot/config/current-kts-prop</property-path> |
| 413 |
</input> |
| 414 |
<input>/velocities/airspeed-kt</input> |
| 415 |
<output>/autopilot/internal/airspeed-kt</output> |
| 416 |
</filter> |
| 417 |
|
| 418 |
<filter> |
| 419 |
<name>Current Mach</name> |
| 420 |
<type>gain</type> |
| 421 |
<gain>1.0</gain> |
| 422 |
<input> |
| 423 |
<property-path>/autopilot/config/current-mach-prop</property-path> |
| 424 |
</input> |
| 425 |
<input>/velocities/mach</input> |
| 426 |
<output>/autopilot/internal/mach</output> |
| 427 |
</filter> |
| 428 |
|
| 429 |
<filter> |
| 430 |
<name>Knots Lag</name> |
| 431 |
<type>exponential</type> |
| 432 |
<input>/velocities/airspeed-kt</input> |
| 433 |
<output>/autopilot/internal/kts-input-lag</output> |
| 434 |
<filter-time>0.04</filter-time> |
| 435 |
</filter> |
| 436 |
|
| 437 |
<filter> |
| 438 |
<name>Knots Average</name> |
| 439 |
<type>moving-average</type> |
| 440 |
<input>/autopilot/internal/kts-input-lag</input> |
| 441 |
<output>/autopilot/internal/kts-input-avg</output> |
| 442 |
<samples>60</samples> |
| 443 |
</filter> |
| 444 |
|
| 445 |
<filter> |
| 446 |
<name>Knots Rate</name> |
| 447 |
<type>derivative</type> |
| 448 |
<input>/autopilot/internal/kts-input-avg</input> |
| 449 |
<output>/autopilot/internal/kts-rate-raw</output> |
| 450 |
<filter-time>1.0</filter-time> |
| 451 |
</filter> |
| 452 |
|
| 453 |
<filter> |
| 454 |
<name>Knots Rate Lag</name> |
| 455 |
<type>exponential</type> |
| 456 |
<input>/autopilot/internal/kts-rate-raw</input> |
| 457 |
<output>/autopilot/internal/kts-rate</output> |
| 458 |
<filter-time>0.04</filter-time> |
| 459 |
</filter> |
| 460 |
|
| 461 |
<filter> |
| 462 |
<name>Mach Lag</name> |
| 463 |
<type>exponential</type> |
| 464 |
<input>/velocities/mach</input> |
| 465 |
<output>/autopilot/internal/mach-input-lag</output> |
| 466 |
<filter-time>0.04</filter-time> |
| 467 |
</filter> |
| 468 |
|
| 469 |
<filter> |
| 470 |
<name>Mach Average</name> |
| 471 |
<type>moving-average</type> |
| 472 |
<input>/autopilot/internal/mach-input-lag</input> |
| 473 |
<output>/autopilot/internal/mach-input-avg</output> |
| 474 |
<samples>60</samples> |
| 475 |
</filter> |
| 476 |
|
| 477 |
<filter> |
| 478 |
<name>Mach Rate</name> |
| 479 |
<type>derivative</type> |
| 480 |
<input>/autopilot/internal/mach-input-avg</input> |
| 481 |
<output>/autopilot/internal/mach-rate-raw</output> |
| 482 |
<filter-time>1.0</filter-time> |
| 483 |
</filter> |
| 484 |
|
| 485 |
<filter> |
| 486 |
<name>Mach Rate Gain</name> |
| 487 |
<type>gain</type> |
| 488 |
<gain>650</gain> |
| 489 |
<input>/autopilot/internal/mach-rate-raw</input> |
| 490 |
<output>/autopilot/internal/mach-rate-gain</output> |
| 491 |
</filter> |
| 492 |
|
| 493 |
<filter> |
| 494 |
<name>Mach Rate Lag</name> |
| 495 |
<type>exponential</type> |
| 496 |
<input>/autopilot/internal/mach-rate-gain</input> |
| 497 |
<output>/autopilot/internal/mach-rate</output> |
| 498 |
<filter-time>0.04</filter-time> |
| 499 |
</filter> |
| 500 |
|
| 501 |
<filter> |
| 502 |
<name>Flch Acceleration Limit</name> |
| 503 |
<type>gain</type> |
| 504 |
<gain>1.0</gain> |
| 505 |
<input> |
| 506 |
<condition> |
| 507 |
<greater-than> |
| 508 |
<property>/autopilot/config/speed-by-pitch-accel</property> |
| 509 |
<value>0</value> |
| 510 |
</greater-than> |
| 511 |
</condition> |
| 512 |
<property>/autopilot/config/speed-by-pitch-accel</property> |
| 513 |
</input> |
| 514 |
<input>1.5</input> |
| 515 |
<output>/autopilot/internal/flch-accel</output> |
| 516 |
</filter> |
| 517 |
|
| 518 |
<filter> |
| 519 |
<name>Flch Knots Rate Command</name> |
| 520 |
<type>gain</type> |
| 521 |
<gain>1.0</gain> |
| 522 |
<input> |
| 523 |
<condition> |
| 524 |
<equals> |
| 525 |
<property>/autopilot/locks/speed</property> |
| 526 |
<value>mach-with-pitch-trim</value> |
| 527 |
</equals> |
| 528 |
</condition> |
| 529 |
<expression> |
| 530 |
<product> |
| 531 |
<difference> |
| 532 |
<property>/autopilot/settings/target-speed-mach</property> |
| 533 |
<property>/autopilot/internal/mach</property> |
| 534 |
</difference> |
| 535 |
<value>100</value> |
| 536 |
</product> |
| 537 |
</expression> |
| 538 |
</input> |
| 539 |
<input> |
| 540 |
<expression> |
| 541 |
<product> |
| 542 |
<difference> |
| 543 |
<property>/autopilot/settings/target-speed-kt</property> |
| 544 |
<property>/autopilot/internal/airspeed-kt</property> |
| 545 |
</difference> |
| 546 |
<value>0.1</value> |
| 547 |
</product> |
| 548 |
</expression> |
| 549 |
</input> |
| 550 |
<output>/autopilot/internal/flch-kts-error-cmd</output> |
| 551 |
<min> |
| 552 |
<property>/autopilot/internal/flch-accel</property> |
| 553 |
<scale>-1</scale> |
| 554 |
</min> |
| 555 |
<max>/autopilot/internal/flch-accel</max> |
| 556 |
</filter> |
| 557 |
|
| 558 |
<filter> |
| 559 |
<name>Flch Knots Rate Filter</name> |
| 560 |
<type>noise-spike</type> |
| 561 |
<feedback-if-disabled>true</feedback-if-disabled> |
| 562 |
<initialize-to>output</initialize-to> |
| 563 |
<input>/autopilot/internal/flch-kts-error-cmd</input> |
| 564 |
<output>/autopilot/internal/flch-kts-error</output> |
| 565 |
<max-rate-of-change> |
| 566 |
<condition> |
| 567 |
<and> |
| 568 |
<property>/autopilot/internal/speed-on-pitch-active</property> |
| 569 |
<not-equals> |
| 570 |
<property>/gear/gear[0]/wow</property> |
| 571 |
<value>1</value> |
| 572 |
</not-equals> |
| 573 |
</and> |
| 574 |
</condition> |
| 575 |
<value>1.5</value> |
| 576 |
</max-rate-of-change> |
| 577 |
<max-rate-of-change>100</max-rate-of-change> |
| 578 |
</filter> |
| 579 |
|
| 580 |
|
| 581 |
<filter> |
| 582 |
<name>IT-CONTROLLER: Roll Deg/Wings Level</name> |
| 583 |
<type>gain</type> |
| 584 |
<gain>1.0</gain> |
| 585 |
<enable> |
| 586 |
<condition> |
| 587 |
<equals> |
| 588 |
<property>/autopilot/locks/heading</property> |
| 589 |
<value>wing-leveler</value> |
| 590 |
</equals> |
| 591 |
</condition> |
| 592 |
</enable> |
| 593 |
<input>/autopilot/settings/target-roll-deg</input> |
| 594 |
<output>/autopilot/internal/target-roll-deg</output> |
| 595 |
</filter> |
| 596 |
|
| 597 |
<filter> |
| 598 |
<name>IT-CONTROLLER: Heading</name> |
| 599 |
<type>gain</type> |
| 600 |
<gain> |
| 601 |
<expression> |
| 602 |
<table> |
| 603 |
<property>/velocities/airspeed-kt</property> |
| 604 |
<entry><ind> 80</ind><dep>0.9</dep></entry> |
| 605 |
<entry><ind>600</ind><dep>5.4</dep></entry> |
| 606 |
</table> |
| 607 |
</expression> |
| 608 |
</gain> |
| 609 |
<enable> |
| 610 |
<condition> |
| 611 |
<or> |
| 612 |
<equals> |
| 613 |
<property>/autopilot/locks/heading</property> |
| 614 |
<value>dg-heading-hold</value> |
| 615 |
</equals> |
| 616 |
<equals> |
| 617 |
<property>/autopilot/locks/heading</property> |
| 618 |
<value>true-heading-hold</value> |
| 619 |
</equals> |
| 620 |
<equals> |
| 621 |
<property>/autopilot/locks/heading</property> |
| 622 |
<value>nav1-hold</value> |
| 623 |
</equals> |
| 624 |
</or> |
| 625 |
</condition> |
| 626 |
</enable> |
| 627 |
<input>/autopilot/internal/heading-error-deg</input> |
| 628 |
<reference>0</reference> |
| 629 |
<output>/autopilot/internal/target-roll-deg</output> |
| 630 |
<min>/autopilot/internal/min-bank</min> |
| 631 |
<max>/autopilot/internal/max-bank</max> |
| 632 |
</filter> |
| 633 |
|
| 634 |
<filter> |
| 635 |
<name>System Command: Roll Target Inactive Sync</name> |
| 636 |
<type>gain</type> |
| 637 |
<gain>1.0</gain> |
| 638 |
<enable> |
| 639 |
<condition> |
| 640 |
<not><property>/autopilot/internal/roll-active</property></not> |
| 641 |
</condition> |
| 642 |
</enable> |
| 643 |
<input>/orientation/roll-deg</input> |
| 644 |
<output>/autopilot/internal/target-roll-deg</output> |
| 645 |
<min>/autopilot/internal/min-bank</min> |
| 646 |
<max>/autopilot/internal/max-bank</max> |
| 647 |
</filter> |
| 648 |
|
| 649 |
<filter> |
| 650 |
<name>System Command: Target Roll Filter</name> |
| 651 |
<type>noise-spike</type> |
| 652 |
<input>/autopilot/internal/target-roll-deg</input> |
| 653 |
<output>/autopilot/internal/target-roll</output> |
| 654 |
<max-rate-of-change> |
| 655 |
<condition> |
| 656 |
<property>/autopilot/internal/roll-active</property> |
| 657 |
</condition> |
| 658 |
<value>6</value> |
| 659 |
</max-rate-of-change> |
| 660 |
<max-rate-of-change>1000</max-rate-of-change> |
| 661 |
</filter> |
| 662 |
|
| 663 |
<filter> |
| 664 |
<name>System Command: Roll Rate Target</name> |
| 665 |
<type>gain</type> |
| 666 |
<gain>-0.8</gain> |
| 667 |
<input>/orientation/roll-deg</input> |
| 668 |
<reference>/autopilot/internal/target-roll</reference> |
| 669 |
<output>/autopilot/internal/target-roll-rate</output> |
| 670 |
<min>-5</min> |
| 671 |
<max>5</max> |
| 672 |
</filter> |
| 673 |
|
| 674 |
<pid-controller> |
| 675 |
<name>System Command: Aileron</name> |
| 676 |
<enable> |
| 677 |
<condition> |
| 678 |
<property>/autopilot/internal/roll-active</property> |
| 679 |
</condition> |
| 680 |
</enable> |
| 681 |
<input>/orientation/roll-rate-degps</input> |
| 682 |
<reference>/autopilot/internal/target-roll-rate</reference> |
| 683 |
<output>/autopilot/internal/aileron-cmd</output> |
| 684 |
<config> |
| 685 |
<Kp> |
| 686 |
<expression> |
| 687 |
<product> |
| 688 |
<table> |
| 689 |
<property>/velocities/airspeed-kt</property> |
| 690 |
<entry><ind> 80</ind><dep>0.016</dep></entry> |
| 691 |
<entry><ind>360</ind><dep>0.007</dep></entry> |
| 692 |
<entry><ind>600</ind><dep>0.003</dep></entry> |
| 693 |
</table> |
| 694 |
<property>/autopilot/internal/gain-factor</property> |
| 695 |
</product> |
| 696 |
</expression> |
| 697 |
</Kp> |
| 698 |
<Ti> |
| 699 |
<expression> |
| 700 |
<sum> |
| 701 |
<value>0.6</value> |
| 702 |
<product> |
| 703 |
<table> |
| 704 |
<property>/autopilot/internal/gain-factor</property> |
| 705 |
<entry><ind>1</ind><dep>0</dep></entry> |
| 706 |
<entry><ind>5</ind><dep>1</dep></entry> |
| 707 |
</table> |
| 708 |
<value>0.4</value> |
| 709 |
</product> |
| 710 |
</sum> |
| 711 |
</expression> |
| 712 |
</Ti> |
| 713 |
<Td>0.0001</Td> |
| 714 |
<u_min>-1.0</u_min> |
| 715 |
<u_max>1.0</u_max> |
| 716 |
</config> |
| 717 |
</pid-controller> |
| 718 |
|
| 719 |
<filter> |
| 720 |
<name>System Command: Aileron Filter</name> |
| 721 |
<type>noise-spike</type> |
| 722 |
<feedback-if-disabled>true</feedback-if-disabled> |
| 723 |
<initialize-to>output</initialize-to> |
| 724 |
<enable> |
| 725 |
<condition> |
| 726 |
<property>/autopilot/internal/roll-active</property> |
| 727 |
</condition> |
| 728 |
</enable> |
| 729 |
<input>/autopilot/internal/aileron-cmd</input> |
| 730 |
<output>/controls/flight/aileron</output> |
| 731 |
<max-rate-of-change>1.2</max-rate-of-change> |
| 732 |
</filter> |
| 733 |
|
| 734 |
|
| 735 |
<filter> |
| 736 |
<name>IT-CONTROLLER: Altitude Capture/Hold</name> |
| 737 |
<type>gain</type> |
| 738 |
<gain>-5</gain> |
| 739 |
<input> |
| 740 |
<property-path>/autopilot/config/current-alt-prop</property-path> |
| 741 |
</input> |
| 742 |
<input>/position/altitude-ft</input> |
| 743 |
<reference>/autopilot/settings/target-altitude-ft</reference> |
| 744 |
<output>/autopilot/internal/target-fpm-alt</output> |
| 745 |
<min> |
| 746 |
<property-path>/autopilot/config/min-alt-vs</property-path> |
| 747 |
</min> |
| 748 |
<min>-1000</min> |
| 749 |
<max> |
| 750 |
<property-path>/autopilot/config/max-alt-vs</property-path> |
| 751 |
</max> |
| 752 |
<max>1000</max> |
| 753 |
</filter> |
| 754 |
|
| 755 |
<filter> |
| 756 |
<name>IT-CONTROLLER: AGL Capture/Hold</name> |
| 757 |
<type>gain</type> |
| 758 |
<gain>-5</gain> |
| 759 |
<input> |
| 760 |
<property-path>/autopilot/config/current-agl-prop</property-path> |
| 761 |
</input> |
| 762 |
<input>/position/altitude-agl-ft</input> |
| 763 |
<reference>/autopilot/settings/target-agl-ft</reference> |
| 764 |
<output>/autopilot/internal/target-fpm-agl</output> |
| 765 |
<min> |
| 766 |
<property-path>/autopilot/config/min-alt-vs</property-path> |
| 767 |
</min> |
| 768 |
<min>-1000</min> |
| 769 |
<max> |
| 770 |
<property-path>/autopilot/config/max-alt-vs</property-path> |
| 771 |
</max> |
| 772 |
<max>1000</max> |
| 773 |
</filter> |
| 774 |
|
| 775 |
<filter> |
| 776 |
<name>Vertical Speed Filter</name> |
| 777 |
<type>noise-spike</type> |
| 778 |
<input> |
| 779 |
<condition> |
| 780 |
<equals> |
| 781 |
<property>/autopilot/locks/altitude</property> |
| 782 |
<value>vertical-speed-hold</value> |
| 783 |
</equals> |
| 784 |
</condition> |
| 785 |
<property>/autopilot/settings/vertical-speed-fpm</property> |
| 786 |
</input> |
| 787 |
<input>/autopilot/internal/vertical-speed-fpm</input> |
| 788 |
<output>/autopilot/internal/target-fpm-vs</output> |
| 789 |
<max-rate-of-change> |
| 790 |
<condition> |
| 791 |
<equals> |
| 792 |
<property>/autopilot/locks/altitude</property> |
| 793 |
<value>vertical-speed-hold</value> |
| 794 |
</equals> |
| 795 |
</condition> |
| 796 |
<value>300</value> |
| 797 |
</max-rate-of-change> |
| 798 |
<max-rate-of-change>10000</max-rate-of-change> |
| 799 |
</filter> |
| 800 |
|
| 801 |
<filter> |
| 802 |
<name>IT-CONTROLLER: FPA</name> |
| 803 |
<type>gain</type> |
| 804 |
<gain>1.0</gain> |
| 805 |
<input> |
| 806 |
<condition> |
| 807 |
<equals> |
| 808 |
<property>/autopilot/locks/altitude</property> |
| 809 |
<value>fpa-hold</value> |
| 810 |
</equals> |
| 811 |
</condition> |
| 812 |
<expression> |
| 813 |
<product> |
| 814 |
<sin> |
| 815 |
<deg2rad> |
| 816 |
<property>/autopilot/settings/target-fpa-deg</property> |
| 817 |
</deg2rad> |
| 818 |
</sin> |
| 819 |
<property>/autopilot/internal/estimated-true-kt</property> |
| 820 |
<value>101.26859142607174</value> |
| 821 |
</product> |
| 822 |
</expression> |
| 823 |
</input> |
| 824 |
<input>/autopilot/internal/vertical-speed-fpm</input> |
| 825 |
<output>/autopilot/internal/target-fpm-fpa-raw</output> |
| 826 |
<min> |
| 827 |
<expression> |
| 828 |
<difference> |
| 829 |
<property>/autopilot/internal/vert-speed-fpm</property> |
| 830 |
<value>2000</value> |
| 831 |
</difference> |
| 832 |
</expression> |
| 833 |
</min> |
| 834 |
<max> |
| 835 |
<expression> |
| 836 |
<sum> |
| 837 |
<property>/autopilot/internal/vert-speed-fpm</property> |
| 838 |
<value>2000</value> |
| 839 |
</sum> |
| 840 |
</expression> |
| 841 |
</max> |
| 842 |
</filter> |
| 843 |
|
| 844 |
<filter> |
| 845 |
<name>FPA FPM Filter</name> |
| 846 |
<type>noise-spike</type> |
| 847 |
<input> |
| 848 |
<condition> |
| 849 |
<equals> |
| 850 |
<property>/autopilot/locks/altitude</property> |
| 851 |
<value>fpa-hold</value> |
| 852 |
</equals> |
| 853 |
</condition> |
| 854 |
<property>/autopilot/internal/target-fpm-fpa-raw</property> |
| 855 |
</input> |
| 856 |
<input>/autopilot/internal/vert-speed-fpm</input> |
| 857 |
<output>/autopilot/internal/target-fpm-fpa</output> |
| 858 |
<max-rate-of-change> |
| 859 |
<condition> |
| 860 |
<equals> |
| 861 |
<property>/autopilot/locks/altitude</property> |
| 862 |
<value>fpa-hold</value> |
| 863 |
</equals> |
| 864 |
</condition> |
| 865 |
<value>300</value> |
| 866 |
</max-rate-of-change> |
| 867 |
<max-rate-of-change>10000</max-rate-of-change> |
| 868 |
</filter> |
| 869 |
|
| 870 |
<filter> |
| 871 |
<name>IT-CONTROLLER: Speed By Pitch Delta</name> |
| 872 |
<type>gain</type> |
| 873 |
<gain> |
| 874 |
<expression> |
| 875 |
<table> |
| 876 |
<property>/velocities/airspeed-kt</property> |
| 877 |
<entry><ind>140</ind><dep> 700</dep></entry> |
| 878 |
<entry><ind>360</ind><dep>1400</dep></entry> |
| 879 |
<entry><ind>600</ind><dep>2100</dep></entry> |
| 880 |
</table> |
| 881 |
</expression> |
| 882 |
</gain> |
| 883 |
<input> |
| 884 |
<condition> |
| 885 |
<equals> |
| 886 |
<property>/autopilot/locks/speed</property> |
| 887 |
<value>mach-with-pitch-trim</value> |
| 888 |
</equals> |
| 889 |
</condition> |
| 890 |
<property>/autopilot/internal/mach-rate</property> |
| 891 |
</input> |
| 892 |
<input>/autopilot/internal/kts-rate</input> |
| 893 |
<reference>/autopilot/internal/flch-kts-error</reference> |
| 894 |
<output>/autopilot/internal/flch-raw</output> |
| 895 |
<min> |
| 896 |
<condition> |
| 897 |
<or> |
| 898 |
<equals> |
| 899 |
<property>/gear/gear[1]/wow</property> |
| 900 |
<value>1</value> |
| 901 |
</equals> |
| 902 |
<equals> |
| 903 |
<property>/gear/gear[2]/wow</property> |
| 904 |
<value>1</value> |
| 905 |
</equals> |
| 906 |
</or> |
| 907 |
</condition> |
| 908 |
<value>0</value> |
| 909 |
</min> |
| 910 |
<min>-2000</min> |
| 911 |
<max>2000</max> |
| 912 |
</filter> |
| 913 |
|
| 914 |
<filter> |
| 915 |
<name>Speed By Pitch Filter</name> |
| 916 |
<type>noise-spike</type> |
| 917 |
<input>/autopilot/internal/flch-raw</input> |
| 918 |
<output>/autopilot/internal/flch-filtered</output> |
| 919 |
<max-rate-of-change> |
| 920 |
<condition> |
| 921 |
<property>/autopilot/internal/speed-on-pitch-active</property> |
| 922 |
</condition> |
| 923 |
<value>1500</value> |
| 924 |
</max-rate-of-change> |
| 925 |
<max-rate-of-change>10000</max-rate-of-change> |
| 926 |
</filter> |
| 927 |
|
| 928 |
<filter> |
| 929 |
<name>Speed By Pitch Final</name> |
| 930 |
<type>gain</type> |
| 931 |
<gain>1.0</gain> |
| 932 |
<input> |
| 933 |
<expression> |
| 934 |
<sum> |
| 935 |
<property>/autopilot/internal/vert-speed-fpm</property> |
| 936 |
<property>/autopilot/internal/flch-filtered</property> |
| 937 |
</sum> |
| 938 |
</expression> |
| 939 |
</input> |
| 940 |
<output>/autopilot/internal/target-fpm-flch</output> |
| 941 |
<min> |
| 942 |
<condition> |
| 943 |
<or> |
| 944 |
<equals> |
| 945 |
<property>/gear/gear[1]/wow</property> |
| 946 |
<value>1</value> |
| 947 |
</equals> |
| 948 |
<equals> |
| 949 |
<property>/gear/gear[2]/wow</property> |
| 950 |
<value>1</value> |
| 951 |
</equals> |
| 952 |
</or> |
| 953 |
</condition> |
| 954 |
<value>0</value> |
| 955 |
</min> |
| 956 |
<min>-100000</min> |
| 957 |
<max>100000</max> |
| 958 |
</filter> |
| 959 |
|
| 960 |
<filter> |
| 961 |
<name>Target FPM Filter</name> |
| 962 |
<type>noise-spike</type> |
| 963 |
<input> |
| 964 |
<condition> |
| 965 |
<property>/autopilot/internal/speed-on-pitch-active</property> |
| 966 |
</condition> |
| 967 |
<property>/autopilot/internal/target-fpm-flch</property> |
| 968 |
</input> |
| 969 |
<input> |
| 970 |
<condition> |
| 971 |
<equals> |
| 972 |
<property>/autopilot/locks/altitude</property> |
| 973 |
<value>altitude-hold</value> |
| 974 |
</equals> |
| 975 |
</condition> |
| 976 |
<property>/autopilot/internal/target-fpm-alt</property> |
| 977 |
</input> |
| 978 |
<input> |
| 979 |
<condition> |
| 980 |
<equals> |
| 981 |
<property>/autopilot/locks/altitude</property> |
| 982 |
<value>agl-hold</value> |
| 983 |
</equals> |
| 984 |
</condition> |
| 985 |
<property>/autopilot/internal/target-fpm-agl</property> |
| 986 |
</input> |
| 987 |
<input> |
| 988 |
<condition> |
| 989 |
<equals> |
| 990 |
<property>/autopilot/locks/altitude</property> |
| 991 |
<value>fpa-hold</value> |
| 992 |
</equals> |
| 993 |
</condition> |
| 994 |
<property>/autopilot/internal/target-fpm-fpa</property> |
| 995 |
</input> |
| 996 |
<input> |
| 997 |
<condition> |
| 998 |
<equals> |
| 999 |
<property>/autopilot/locks/altitude</property> |
| 1000 |
<value>gs1-hold</value> |
| 1001 |
</equals> |
| 1002 |
</condition> |
| 1003 |
<property>/autopilot/internal/nav1-rate-of-climb-fpm</property> |
| 1004 |
</input> |
| 1005 |
<input>/autopilot/internal/target-fpm-vs</input> |
| 1006 |
<output>/autopilot/internal/target-fpm</output> |
| 1007 |
<max-rate-of-change> |
| 1008 |
<condition> |
| 1009 |
<property>/autopilot/internal/vs-active</property> |
| 1010 |
</condition> |
| 1011 |
<value>700</value> |
| 1012 |
</max-rate-of-change> |
| 1013 |
<max-rate-of-change>10000</max-rate-of-change> |
| 1014 |
</filter> |
| 1015 |
|
| 1016 |
<pid-controller> |
| 1017 |
<name>IT-CONTROLLER: FPM Hold</name> |
| 1018 |
<enable> |
| 1019 |
<condition> |
| 1020 |
<property>/autopilot/internal/vs-active</property> |
| 1021 |
</condition> |
| 1022 |
</enable> |
| 1023 |
<input>/autopilot/internal/vertical-speed-fpm</input> |
| 1024 |
<reference>/autopilot/internal/target-fpm</reference> |
| 1025 |
<output>/autopilot/internal/target-pitch-deg</output> |
| 1026 |
<config> |
| 1027 |
<Kp> |
| 1028 |
<expression> |
| 1029 |
<product> |
| 1030 |
<table> |
| 1031 |
<property>/velocities/airspeed-kt</property> |
| 1032 |
<entry><ind> 80</ind><dep>0.00350</dep></entry> |
| 1033 |
<entry><ind>410</ind><dep>0.00045</dep></entry> |
| 1034 |
<entry><ind>600</ind><dep>0.00035</dep></entry> |
| 1035 |
</table> |
| 1036 |
<table> |
| 1037 |
<property>/position/altitude-ft</property> |
| 1038 |
<entry><ind> 0</ind><dep>1.0</dep></entry> |
| 1039 |
<entry><ind>45000</ind><dep>0.5</dep></entry> |
| 1040 |
</table> |
| 1041 |
</product> |
| 1042 |
</expression> |
| 1043 |
</Kp> |
| 1044 |
<Ti>2.5</Ti> |
| 1045 |
<Td>0.0001</Td> |
| 1046 |
<u_min> |
| 1047 |
<expression> |
| 1048 |
<max> |
| 1049 |
<dif> |
| 1050 |
<property>/orientation/pitch-deg</property> |
| 1051 |
<value>5</value> |
| 1052 |
</dif> |
| 1053 |
<property>/autopilot/internal/min-pitch</property> |
| 1054 |
</max> |
| 1055 |
</expression> |
| 1056 |
</u_min> |
| 1057 |
<u_max> |
| 1058 |
<expression> |
| 1059 |
<min> |
| 1060 |
<sum> |
| 1061 |
<property>/orientation/pitch-deg</property> |
| 1062 |
<value>5</value> |
| 1063 |
</sum> |
| 1064 |
<property>/autopilot/internal/max-pitch</property> |
| 1065 |
</min> |
| 1066 |
</expression> |
| 1067 |
</u_max> |
| 1068 |
</config> |
| 1069 |
</pid-controller> |
| 1070 |
|
| 1071 |
<filter> |
| 1072 |
<name>IT-CONTROLLER: Pitch Deg</name> |
| 1073 |
<type>gain</type> |
| 1074 |
<gain>1.0</gain> |
| 1075 |
<enable> |
| 1076 |
<condition> |
| 1077 |
<property>/autopilot/internal/pitch-hold-active</property> |
| 1078 |
</condition> |
| 1079 |
</enable> |
| 1080 |
<input>/autopilot/settings/target-pitch-deg</input> |
| 1081 |
<output>/autopilot/internal/target-pitch-deg</output> |
| 1082 |
</filter> |
| 1083 |
|
| 1084 |
<filter> |
| 1085 |
<name>System Command: Pitch Target Inactive Sync</name> |
| 1086 |
<type>gain</type> |
| 1087 |
<gain>1.0</gain> |
| 1088 |
<enable> |
| 1089 |
<condition> |
| 1090 |
<not><property>/autopilot/internal/pitch-active</property></not> |
| 1091 |
</condition> |
| 1092 |
</enable> |
| 1093 |
<input>/orientation/pitch-deg</input> |
| 1094 |
<output>/autopilot/internal/target-pitch-deg</output> |
| 1095 |
<min>/autopilot/internal/min-pitch</min> |
| 1096 |
<max>/autopilot/internal/max-pitch</max> |
| 1097 |
</filter> |
| 1098 |
|
| 1099 |
<filter> |
| 1100 |
<name>System Command: Target Pitch Filter</name> |
| 1101 |
<type>noise-spike</type> |
| 1102 |
<input>/autopilot/internal/target-pitch-deg</input> |
| 1103 |
<output>/autopilot/internal/target-pitch</output> |
| 1104 |
<max-rate-of-change> |
| 1105 |
<condition> |
| 1106 |
<and> |
| 1107 |
<property>/autopilot/internal/pitch-active</property> |
| 1108 |
<not><property>/autopilot/internal/vs-active</property></not> |
| 1109 |
</and> |
| 1110 |
</condition> |
| 1111 |
<value>4</value> |
| 1112 |
</max-rate-of-change> |
| 1113 |
<max-rate-of-change>1000</max-rate-of-change> |
| 1114 |
</filter> |
| 1115 |
|
| 1116 |
<filter> |
| 1117 |
<name>System Command: Pitch Rate Target</name> |
| 1118 |
<type>gain</type> |
| 1119 |
<gain>-0.55</gain> |
| 1120 |
<input>/orientation/pitch-deg</input> |
| 1121 |
<reference>/autopilot/internal/target-pitch</reference> |
| 1122 |
<output>/autopilot/internal/target-pitch-rate</output> |
| 1123 |
<min>-1.5</min> |
| 1124 |
<max>1.5</max> |
| 1125 |
</filter> |
| 1126 |
|
| 1127 |
<pid-controller> |
| 1128 |
<name>System Command: Elevator</name> |
| 1129 |
<enable> |
| 1130 |
<condition> |
| 1131 |
<property>/autopilot/internal/pitch-active</property> |
| 1132 |
</condition> |
| 1133 |
</enable> |
| 1134 |
<input>/orientation/pitch-rate-degps</input> |
| 1135 |
<reference>/autopilot/internal/target-pitch-rate</reference> |
| 1136 |
<output>/autopilot/internal/elevator-cmd</output> |
| 1137 |
<config> |
| 1138 |
<Kp> |
| 1139 |
<expression> |
| 1140 |
<product> |
| 1141 |
<table> |
| 1142 |
<property>/velocities/airspeed-kt</property> |
| 1143 |
<entry><ind> 80</ind><dep>-0.019</dep></entry> |
| 1144 |
<entry><ind>360</ind><dep>-0.009</dep></entry> |
| 1145 |
<entry><ind>600</ind><dep>-0.004</dep></entry> |
| 1146 |
</table> |
| 1147 |
<property>/autopilot/internal/gain-factor</property> |
| 1148 |
</product> |
| 1149 |
</expression> |
| 1150 |
</Kp> |
| 1151 |
<Ti> |
| 1152 |
<expression> |
| 1153 |
<sum> |
| 1154 |
<value>0.3</value> |
| 1155 |
<product> |
| 1156 |
<table> |
| 1157 |
<property>/autopilot/internal/gain-factor</property> |
| 1158 |
<entry><ind>1</ind><dep>0</dep></entry> |
| 1159 |
<entry><ind>5</ind><dep>1</dep></entry> |
| 1160 |
</table> |
| 1161 |
<value>0.2</value> |
| 1162 |
</product> |
| 1163 |
</sum> |
| 1164 |
</expression> |
| 1165 |
</Ti> |
| 1166 |
<Td>0.001</Td> |
| 1167 |
<u_min>-1.0</u_min> |
| 1168 |
<u_max>1.0</u_max> |
| 1169 |
</config> |
| 1170 |
</pid-controller> |
| 1171 |
|
| 1172 |
<filter> |
| 1173 |
<name>System Command: Elevator Filter</name> |
| 1174 |
<type>noise-spike</type> |
| 1175 |
<feedback-if-disabled>true</feedback-if-disabled> |
| 1176 |
<initialize-to>output</initialize-to> |
| 1177 |
<enable> |
| 1178 |
<condition> |
| 1179 |
<property>/autopilot/internal/pitch-active</property> |
| 1180 |
</condition> |
| 1181 |
</enable> |
| 1182 |
<input>/autopilot/internal/elevator-cmd</input> |
| 1183 |
<output>/controls/flight/elevator</output> |
| 1184 |
<max-rate-of-change>1.2</max-rate-of-change> |
| 1185 |
</filter> |
| 1186 |
|
| 1187 |
<filter> |
| 1188 |
<name>System Command: Elevator Trim</name> |
| 1189 |
<type>noise-spike</type> |
| 1190 |
<feedback-if-disabled>true</feedback-if-disabled> |
| 1191 |
<initialize-to>output</initialize-to> |
| 1192 |
<enable> |
| 1193 |
<condition> |
| 1194 |
<and> |
| 1195 |
<not-equals> |
| 1196 |
<property>/gear/gear[0]/wow</property> |
| 1197 |
<value>1</value> |
| 1198 |
</not-equals> |
| 1199 |
<property>/autopilot/internal/pitch-active</property> |
| 1200 |
<or> |
| 1201 |
<greater-than> |
| 1202 |
<property>/autopilot/internal/elevator-cmd</property> |
| 1203 |
<value>0.01</value> |
| 1204 |
</greater-than> |
| 1205 |
<less-than> |
| 1206 |
<property>/autopilot/internal/elevator-cmd</property> |
| 1207 |
<value>-0.01</value> |
| 1208 |
</less-than> |
| 1209 |
</or> |
| 1210 |
</and> |
| 1211 |
</condition> |
| 1212 |
</enable> |
| 1213 |
<input> |
| 1214 |
<condition> |
| 1215 |
<greater-than> |
| 1216 |
<property>/autopilot/internal/elevator-cmd</property> |
| 1217 |
<value>0.01</value> |
| 1218 |
</greater-than> |
| 1219 |
</condition> |
| 1220 |
<value>1</value> |
| 1221 |
</input> |
| 1222 |
<input> |
| 1223 |
<condition> |
| 1224 |
<less-than> |
| 1225 |
<property>/autopilot/internal/elevator-cmd</property> |
| 1226 |
<value>-0.01</value> |
| 1227 |
</less-than> |
| 1228 |
</condition> |
| 1229 |
<value>-1</value> |
| 1230 |
</input> |
| 1231 |
<output>/controls/flight/elevator-trim</output> |
| 1232 |
<min>-1.0</min> |
| 1233 |
<max>1.0</max> |
| 1234 |
<max-rate-of-change> |
| 1235 |
<expression> |
| 1236 |
<table> |
| 1237 |
<abs><property>/autopilot/internal/elevator-cmd</property></abs> |
| 1238 |
<entry><ind>0.01</ind><dep>0.001</dep></entry> |
| 1239 |
<entry><ind>0.10</ind><dep>0.010</dep></entry> |
| 1240 |
</table> |
| 1241 |
</expression> |
| 1242 |
</max-rate-of-change> |
| 1243 |
</filter> |
| 1244 |
|
| 1245 |
|
| 1246 |
<filter> |
| 1247 |
<name>A/THR Knots Lag</name> |
| 1248 |
<type>exponential</type> |
| 1249 |
<input>/autopilot/internal/airspeed-kt</input> |
| 1250 |
<output>/autopilot/internal/airspeed-kt-lag</output> |
| 1251 |
<filter-time>0.04</filter-time> |
| 1252 |
</filter> |
| 1253 |
|
| 1254 |
<filter> |
| 1255 |
<name>A/THR Mach Lag</name> |
| 1256 |
<type>exponential</type> |
| 1257 |
<input>/autopilot/internal/mach</input> |
| 1258 |
<output>/autopilot/internal/mach-lag</output> |
| 1259 |
<filter-time>0.04</filter-time> |
| 1260 |
</filter> |
| 1261 |
|
| 1262 |
<filter> |
| 1263 |
<name>A/THR Knots Input Gain</name> |
| 1264 |
<type>gain</type> |
| 1265 |
<gain>1.0</gain> |
| 1266 |
<input>/autopilot/settings/target-speed-kt</input> |
| 1267 |
<output>/autopilot/internal/athr-kts-cmd</output> |
| 1268 |
<min> |
| 1269 |
<expression> |
| 1270 |
<difference> |
| 1271 |
<property>/autopilot/internal/airspeed-kt</property> |
| 1272 |
<value>25</value> |
| 1273 |
</difference> |
| 1274 |
</expression> |
| 1275 |
</min> |
| 1276 |
<max> |
| 1277 |
<expression> |
| 1278 |
<sum> |
| 1279 |
<property>/autopilot/internal/airspeed-kt</property> |
| 1280 |
<value>25</value> |
| 1281 |
</sum> |
| 1282 |
</expression> |
| 1283 |
</max> |
| 1284 |
</filter> |
| 1285 |
|
| 1286 |
<filter> |
| 1287 |
<name>A/THR Knots Input Filter</name> |
| 1288 |
<type>noise-spike</type> |
| 1289 |
<initialize-to>output</initialize-to> |
| 1290 |
<input>/autopilot/internal/athr-kts-cmd</input> |
| 1291 |
<output>/autopilot/internal/athr-kts</output> |
| 1292 |
<max-rate-of-change> |
| 1293 |
<condition> |
| 1294 |
<and> |
| 1295 |
<equals> |
| 1296 |
<property>/autopilot/locks/speed</property> |
| 1297 |
<value>speed-with-throttle</value> |
| 1298 |
</equals> |
| 1299 |
<not-equals> |
| 1300 |
<property>/gear/gear[0]/wow</property> |
| 1301 |
<value>1</value> |
| 1302 |
</not-equals> |
| 1303 |
</and> |
| 1304 |
</condition> |
| 1305 |
<value>10</value> |
| 1306 |
</max-rate-of-change> |
| 1307 |
<max-rate-of-change>200</max-rate-of-change> |
| 1308 |
</filter> |
| 1309 |
|
| 1310 |
<pid-controller> |
| 1311 |
<name>IT-CONTROLLER: Knots</name> |
| 1312 |
<enable> |
| 1313 |
<condition> |
| 1314 |
<equals> |
| 1315 |
<property>/autopilot/locks/speed</property> |
| 1316 |
<value>speed-with-throttle</value> |
| 1317 |
</equals> |
| 1318 |
</condition> |
| 1319 |
</enable> |
| 1320 |
<input>/autopilot/internal/airspeed-kt-lag</input> |
| 1321 |
<reference>/autopilot/internal/athr-kts</reference> |
| 1322 |
<output>/autopilot/internal/throttle-cmd-pid</output> |
| 1323 |
<config> |
| 1324 |
<Kp>0.055</Kp> |
| 1325 |
<Ti>9.0</Ti> |
| 1326 |
<Td>0.00001</Td> |
| 1327 |
<u_min>0.0</u_min> |
| 1328 |
<u_max>1.0</u_max> |
| 1329 |
</config> |
| 1330 |
</pid-controller> |
| 1331 |
|
| 1332 |
<filter> |
| 1333 |
<name>A/THR Mach Input Gain</name> |
| 1334 |
<type>gain</type> |
| 1335 |
<gain>1.0</gain> |
| 1336 |
<input>/autopilot/settings/target-speed-mach</input> |
| 1337 |
<output>/autopilot/internal/athr-mach-cmd</output> |
| 1338 |
<min> |
| 1339 |
<expression> |
| 1340 |
<difference> |
| 1341 |
<property>/autopilot/internal/mach</property> |
| 1342 |
<value>0.045</value> |
| 1343 |
</difference> |
| 1344 |
</expression> |
| 1345 |
</min> |
| 1346 |
<max> |
| 1347 |
<expression> |
| 1348 |
<sum> |
| 1349 |
<property>/autopilot/internal/mach</property> |
| 1350 |
<value>0.045</value> |
| 1351 |
</sum> |
| 1352 |
</expression> |
| 1353 |
</max> |
| 1354 |
</filter> |
| 1355 |
|
| 1356 |
<filter> |
| 1357 |
<name>A/THR Mach Input Filter</name> |
| 1358 |
<type>noise-spike</type> |
| 1359 |
<initialize-to>output</initialize-to> |
| 1360 |
<input>/autopilot/internal/athr-mach-cmd</input> |
| 1361 |
<output>/autopilot/internal/athr-mach</output> |
| 1362 |
<max-rate-of-change> |
| 1363 |
<condition> |
| 1364 |
<and> |
| 1365 |
<equals> |
| 1366 |
<property>/autopilot/locks/speed</property> |
| 1367 |
<value>mach-with-throttle</value> |
| 1368 |
</equals> |
| 1369 |
<not-equals> |
| 1370 |
<property>/gear/gear[0]/wow</property> |
| 1371 |
<value>1</value> |
| 1372 |
</not-equals> |
| 1373 |
</and> |
| 1374 |
</condition> |
| 1375 |
<value>0.08</value> |
| 1376 |
</max-rate-of-change> |
| 1377 |
<max-rate-of-change>2</max-rate-of-change> |
| 1378 |
</filter> |
| 1379 |
|
| 1380 |
<pid-controller> |
| 1381 |
<name>IT-CONTROLLER: Mach</name> |
| 1382 |
<enable> |
| 1383 |
<condition> |
| 1384 |
<equals> |
| 1385 |
<property>/autopilot/locks/speed</property> |
| 1386 |
<value>mach-with-throttle</value> |
| 1387 |
</equals> |
| 1388 |
</condition> |
| 1389 |
</enable> |
| 1390 |
<input> |
| 1391 |
<property>/autopilot/internal/mach-lag</property> |
| 1392 |
<scale>1000</scale> |
| 1393 |
</input> |
| 1394 |
<reference> |
| 1395 |
<property>/autopilot/internal/athr-mach</property> |
| 1396 |
<scale>1000</scale> |
| 1397 |
</reference> |
| 1398 |
<output>/autopilot/internal/throttle-cmd-pid</output> |
| 1399 |
<config> |
| 1400 |
<Kp>0.055</Kp> |
| 1401 |
<Ti>9.0</Ti> |
| 1402 |
<Td>0.00001</Td> |
| 1403 |
<u_min>0.0</u_min> |
| 1404 |
<u_max>1.0</u_max> |
| 1405 |
</config> |
| 1406 |
</pid-controller> |
| 1407 |
|
| 1408 |
<filter> |
| 1409 |
<name>System Command: Throttle</name> |
| 1410 |
<type>noise-spike</type> |
| 1411 |
<feedback-if-disabled>true</feedback-if-disabled> |
| 1412 |
<initialize-to>output</initialize-to> |
| 1413 |
<enable> |
| 1414 |
<condition> |
| 1415 |
<property>/autopilot/internal/throttle-active</property> |
| 1416 |
</condition> |
| 1417 |
</enable> |
| 1418 |
<input>/autopilot/internal/throttle-cmd-pid</input> |
| 1419 |
<output> |
| 1420 |
<property>/controls/engines/engine[0]/throttle</property> |
| 1421 |
<property>/controls/engines/engine[1]/throttle</property> |
| 1422 |
<property>/controls/engines/engine[2]/throttle</property> |
| 1423 |
<property>/controls/engines/engine[3]/throttle</property> |
| 1424 |
<property>/controls/engines/engine[4]/throttle</property> |
| 1425 |
<property>/controls/engines/engine[5]/throttle</property> |
| 1426 |
<property>/controls/engines/engine[6]/throttle</property> |
| 1427 |
<property>/controls/engines/engine[7]/throttle</property> |
| 1428 |
</output> |
| 1429 |
<max-rate-of-change>0.3</max-rate-of-change> |
| 1430 |
</filter> |
| 1431 |
|
| 1432 |
</PropertyList> |