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?

回答(1 个)

Jack
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.
  1 个评论
Zhixin Zhao
Zhixin Zhao 2023-3-23
To restrict the speed of UAV, I can only think of giving a maximum threshold to the V_c input. But this is too simple and crude to me in the sense that it ignores the fact the UAV can achieve larger speed when diving than that when elevating. How can I simulate this effect?
And can you elavorate on the PID implementation? I think it is just for stablize the state, say speed, to some reference rather than make it reasonalbe. If you give a unreasonable reference to PID controller, the system still can behave insanely. I don't know how can it restrict the UAV state variable, say speed.

请先登录,再进行评论。

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by