Evaluation of px4 Fixed Wing Aircraft Controller
이전 댓글 표시
This is a PID controller for use with Pixhawk, and I referred to an example in MATLAB. I will only control roll and pitch.
The concept is as follows:
- The RC signal, except for the throttle, is normalized to a range of -1 to 1.
- The maximum roll and pitch angles are set to 0.8 rad.
- The pitch and roll inputs from the sensor are also limited to 0.8 rad using saturation, and the error is calculated.
- A P controller is applied to this error.
Next, the output of the P controller is used as the angular velocity input, with a maximum limit of 3 rad/s. This process follows the same approach as the angle control.
- A PID controller is applied for angular velocity control.
- To normalize the output, it is scaled by 1/3.
- Finally, this signal is converted into PWM signals for the motors.
Can you evaluate whether this control system is well-designed and provide feedback?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Real-Time PID Autotuning에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!