Pi Control plant cannot be linearized
조회 수: 15 (최근 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일 10:14
편집: MULI
2024년 12월 5일 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
참고 항목
카테고리
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!