The problem with the Anti-Windup algorithm.

4 views (last 30 days)
Bao Nguyen
Bao Nguyen on 4 Nov 2023
Answered: Deep on 23 Aug 2024
There are some warnings and errors that appeared when I was trying to create 1 Anti-Windup algorithm for the PID controller.

Answers (1)

Deep
Deep on 23 Aug 2024
Hi Bao Ngyuyen,
It appears that your Simulink model is encountering an error due to the presence of algebraic loops. Algebraic loops occur when there is a circular dependency of signals between blocks without any delay elements, creating a situation where the output of a block directly or indirectly depends on its own input within the same simulation time step.
To help you understand the specific issue in your model, I have highlighted one of the algebraic loops below:
To address these issues, I suggest reviewing the following resources, which provide comprehensive guidance on identifying and resolving algebraic loops in Simulink models:
  1. What are algebraic loops in Simulink and how do I solve them? - https://www.mathworks.com/matlabcentral/answers/95310-what-are-algebraic-loops-in-simulink-and-how-do-i-solve-them
  2. Identify Algebraic Loops in Your Model - https://www.mathworks.com/help/simulink/ug/identify-algebraic-loops-in-your-model.html
  3. Remove Algebraic Loops - https://www.mathworks.com/help/simulink/ug/remove-algebraic-loops.html
Hope this helps!

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!