- 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.
plant cannot be linearized for PID tune
13 次查看(过去 30 天)
显示 更早的评论
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 ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249828/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249829/image.jpeg)
0 个评论
采纳的回答
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:
Hope this can help to solve your question.
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!