Pi Control plant cannot be linearized
10 次查看(过去 30 天)
显示 更早的评论
I try to tune my PI controller but I always get the error message "Subscript no. 2 is out of range" and "Plant cannot be linearized"

1 个评论
回答(1 个)
MULI
2024-12-4
编辑:MULI
2024-12-5
The errors "Subscript no. 2 is out of range" and "Plant cannot be linearized" occur because your model includes switching components (e.g., the Universal Bridge and PWM signals), which can introduce discontinuities that prevent successful linearization.
You can follow the three suggestions below to resolve the issue:
Identify the Plant Using System Identification:
- Since direct linearization fails, you can use system identification with a perturbation signal (e.g., step or sine wave) to estimate the plant dynamics.
- You can refer to the below link for detailed implementation related to this: https://www.mathworks.com/help/slcontrol/ug/design-controller-for-power-electronics-model-using-simulated-io-data.html
Frequency Response Estimation:
- Apply a sinusoidal signal to the system and measure the frequency response.
- Use the frequency response data to identify the plant model.
- You can refer to this link more detailed implementation of frequency response estimation: https://www.mathworks.com/help/slcontrol/ug/design-controller-for-power-electronics-model-using-frequency-response-data.html
Simplify the Model for Linearization:
- Replace the switching components (e.g., the Universal Bridge) with averaged switching models or linear approximations.
- This will smooth out discontinuities and allow the model to be linearized.
- You can refer to the below link for any further information on linearisation of electrical components: https://www.mathworks.com/help/sps/linearization_techniques.html
After identifying the plant model, load it into the PID Tuner App and then use the app to design and tune the PID controller for desired performance. You can refer to below link for more information on this:
You may refer to the below answer where similar query is addressed
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!