Make guidance model control command rational
1 次查看(过去 30 天)
显示 更早的评论
I have read the tutorial UAV Toolbox guidance model
I tried `openExample('uav/SimulateAFixedWingControlCommandExample')`. If I change the air speed to some big number, say 1000, the aircraft really can achieve this insane speed, which is not expected.
So I have 2 questions:
How is the control command height related to the pitch control variable in the `UAV Fixed-Wing Guidance Model Equations`? What is the machanism behind?
What is the maximum(thresold) of control command in guidance model? and how to regulate the control command input to get reasonable simulation result?
0 个评论
回答(1 个)
Jack
2023-3-22
Hi,
In the UAV Fixed-Wing Guidance Model Equations, the pitch control variable is related to the altitude through the equation theta_c = -k_h*(h_c-h)+theta_trim, where theta_c is the commanded pitch angle, k_h is the altitude hold gain, h_c is the desired altitude, h is the current altitude, and theta_trim is the trimmed pitch angle. The altitude hold gain k_h is a tuning parameter that determines how strongly the aircraft should respond to deviations from the desired altitude.
The maximum threshold for the control command will depend on the specific control system being used and the physical limitations of the aircraft. It is important to ensure that the control command input is within the range of the physical capabilities of the aircraft. In general, it is recommended to use reasonable values for the control command input that are within the range of expected operating conditions for the aircraft being simulated.
To regulate the control command input to get reasonable simulation results, you can use a feedback control loop to adjust the control input based on the current state of the aircraft. This can be done using a proportional-integral-derivative (PID) controller or other control algorithms. The tuning parameters of the controller can be adjusted to achieve the desired performance of the control system.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!