plant cannot be linearized for PID tune

조회 수: 13 (최근 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 CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by