Autopilot PID controller tuning resources: Difference between revisions

Jump to navigation Jump to search
m
Typo
m (Typo)
Line 9: Line 9:


[[Image:pid_controler.png|thumb|PID parameter's application]]
[[Image:pid_controler.png|thumb|PID parameter's application]]
[[Image:pid_cotroler_data_graph.png|thumb|Datas of an Auto-trim PID Controler displayed as graphs]]
[[Image:pid_cotroler_data_graph.png|thumb|Datas of an Auto-trim PID Controller displayed as graphs]]


You can find good explanations on how to practically tune the controller. [http://en.wikipedia.org/wiki/PID_controller Wikipedia's article on the PID Controler]
You can find good explanations on how to practically tune the controller. [http://en.wikipedia.org/wiki/PID_controller Wikipedia's article on the PID Controller]


=== Getting graphs of Controler action (Linux) ===
=== Getting graphs of Controller action (Linux) ===
While it's possible to tune a PID controller by testing directly the aircraft behaviour under the autopilot control, it can be really useful to get everything in graphical view.
While it's possible to tune a PID controller by testing directly the aircraft behaviour under the autopilot control, it can be really useful to get everything in graphical view.


Line 38: Line 38:


<pre>
<pre>
alexis@linear:~/fgfs$ /usr/local/bin/fgfs 2&gt;&1 | ./PIDcontroler_parser.pl &gt; my_file
alexis@linear:~/fgfs$ /usr/local/bin/fgfs 2&gt;&1 | ./PIDcontroller_parser.pl &gt; my_file
</pre>
</pre>


Line 46: Line 46:




=== Getting graphs of Controler action (Windows) ===
=== Getting graphs of Controller action (Windows) ===


Under Windows the script of the Linux chapter works (with some minor modifications) together with Live-Graph under Windows, too. Although the output to a logfile is not as fluently as you may experience it under Linux. To get an output you first need a slightly modificated version of the above mentioned Perl script:
Under Windows the script of the Linux chapter works (with some minor modifications) together with Live-Graph under Windows, too. Although the output to a logfile is not as fluently as you may experience it under Linux. To get an output you first need a slightly modificated version of the above mentioned Perl script:
172

edits

Navigation menu