Control: Fix FBW Pitch CStar oscilation

This commit is contained in:
Joshua Davidson 2018-11-07 00:01:11 -05:00
parent 9b265969b5
commit aae575169b
2 changed files with 21 additions and 13 deletions

View file

@ -6,7 +6,7 @@
##############################################
-->
<!-- Airbus A320 FBW System -->
<!-- Airbus A3XX FBW System -->
<!-- Joshua Davidson (it0uchpods) -->
<!-- I didn't see an easy way to do this controller in JSBsim, so I keep it here -->
@ -15,17 +15,19 @@
<pi-simple-controller>
<name>FBW PITCH G PI</name>
<debug>false</debug>
<input>
<property>/fdm/jsbsim/fbw/pitch/g-error</property>
</input>
<reference>
<value>0</value>
</reference>
<output>
<property>/fdm/jsbsim/fbw/pitch/g-pi</property>
</output>
<input>/fdm/jsbsim/fbw/pitch/g-error</input>
<reference>0</reference>
<output>/fdm/jsbsim/fbw/pitch/g-pi</output>
<config>
<Kp>-1.5</Kp>
<Kp>
<expression>
<table>
<property>/fdm/jsbsim/velocities/vc-kts</property>
<entry><ind>140</ind><dep>-1.5</dep></entry>
<entry><ind>350</ind><dep>-0.6</dep></entry>
</table>
</expression>
</Kp>
<Ki>
<condition>
<and>
@ -45,7 +47,13 @@
</or>
</and>
</condition>
<value>-1.5</value>
<expression>
<table>
<property>/fdm/jsbsim/velocities/vc-kts</property>
<entry><ind>140</ind><dep>-1.5</dep></entry>
<entry><ind>350</ind><dep>-0.6</dep></entry>
</table>
</expression>
</Ki>
<Ki>0.0</Ki>
<min>

View file

@ -1 +1 @@
4690
4691