Control: Fix FBW Pitch CStar oscilation
This commit is contained in:
parent
9b265969b5
commit
aae575169b
2 changed files with 21 additions and 13 deletions
|
@ -6,7 +6,7 @@
|
||||||
##############################################
|
##############################################
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Airbus A320 FBW System -->
|
<!-- Airbus A3XX FBW System -->
|
||||||
<!-- Joshua Davidson (it0uchpods) -->
|
<!-- Joshua Davidson (it0uchpods) -->
|
||||||
<!-- I didn't see an easy way to do this controller in JSBsim, so I keep it here -->
|
<!-- 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>
|
<pi-simple-controller>
|
||||||
<name>FBW PITCH G PI</name>
|
<name>FBW PITCH G PI</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
<input>
|
<input>/fdm/jsbsim/fbw/pitch/g-error</input>
|
||||||
<property>/fdm/jsbsim/fbw/pitch/g-error</property>
|
<reference>0</reference>
|
||||||
</input>
|
<output>/fdm/jsbsim/fbw/pitch/g-pi</output>
|
||||||
<reference>
|
|
||||||
<value>0</value>
|
|
||||||
</reference>
|
|
||||||
<output>
|
|
||||||
<property>/fdm/jsbsim/fbw/pitch/g-pi</property>
|
|
||||||
</output>
|
|
||||||
<config>
|
<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>
|
<Ki>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
<and>
|
||||||
|
@ -45,7 +47,13 @@
|
||||||
</or>
|
</or>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</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>
|
||||||
<Ki>0.0</Ki>
|
<Ki>0.0</Ki>
|
||||||
<min>
|
<min>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4690
|
4691
|
Reference in a new issue