plant cannot be linearized for PID tune

15 ビュー (過去 30 日間)
Minjae Yoo
Minjae Yoo 2019 年 11 月 24 日
コメント済み: Sam Chak 2022 年 10 月 28 日
Hello, MATLAB users.
I am using 2014a version Matlab.
I have build quadcopter linear dynamics model include state-space model of 4 motors.
input is 4. attitude phi theta psi, position z. therefore, PID also 4 and I have used PID block that simulink provide.
output is 6. attitude phi theta psi and position xyz.
but, PID tuner always give unstable response that gain not working or show the message that plant cannot be linearized.
Dynamics's equations is totally fine. there have no any errors.
If, I try re-linearize close loop, result is as follow. please, see the attached screenshot.
in this case, how could I get the good stable gains of PID contorollers ?
Could you provide some similar situation or experience, docs for me ?

採用された回答

Jesús Zambrano
Jesús Zambrano 2019 年 12 月 2 日
Hi Minjae,
Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possible way is to use data to estimate a model of the system.
The workflow is as follows:
  • In the PID Tuner tab, select Identify New Plant.
  • The Plant Identification tab will open. Select Get I/O Data, then Simulate Data so to generate identification data by simulating the model.
  • It will open the Simulate I/O Data tab, where you specify the input data (for example a step function) used for the plant identification.
  • Click Run Simulation. Then, click Apply and Close.
  • Then, the Plant Identification tab will open showing the results of the plant identification. Once in there you can modify the response by moving or adding factors (for example delay, zero, integrator).
  • Select Apply. It will create a new variable in the Data Browser section of the PID Tuner.
  • Go to the PID Tuner tab, select Step Plot: reference tracking plot. Here the PID is using the new identified plant. You can still improve the system response by moving the sliders.
  • Click Update Block and simulate the model with the new PID parameters.
Hope this can help to solve your question.
  4 件のコメント
佳玮 聂
佳玮 聂 2022 年 10 月 28 日
simulation failed,update the profile or the model to try again...why
Sam Chak
Sam Chak 2022 年 10 月 28 日
@佳玮 聂, Are you working on the quadcopter as well? If so, please show the mathematical model.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by