Pi Control plant cannot be linearized
15 views (last 30 days)
Show older comments
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 Comment
Answers (1)
MULI
on 4 Dec 2024 at 10:14
Edited: MULI
on 5 Dec 2024 at 5:48
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 Comments
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!