Resolving 'Model Structurally Singular' Error in Simulink for Voltage and Current PID Control Circuit
Show older comments
Hello MATLAB Community,
I am working on a Simulink model that implements a PID-based voltage and current control circuit for a "Fast electrochemical impedance spectroscopy of lithium-ion batteries based on the large square wave excitation signal". I have attached both my Simulink model diagram and the corresponding schematic for reference. However, when I run the simulation, I encounter the following error:
"This model is structurally singular. Check the equations."
I have double-checked my model to ensure that all components and connections match the schematic, but the issue persists. Here are the steps I have already tried:
- Ensured that there are no algebraic loops.
- Verified the proper initialization of the integrators within the PID controllers.
- Checked for any redundant or missing connections in the Simulink model.
The schematic involves a nested PID controller setup for current and voltage control, with feedback loops for both voltage and current sensing. I suspect the error might be related to either feedback connections or an incorrect modeling of dependent components.
Could anyone guide me on how to debug this issue or identify what typically causes a "structurally singular" error in such models? Any tips on diagnosing singularity in Simulink models would be greatly appreciated!
Thank you in advance for your help!
Attachments:
- Simulink Model Screenshot
- Circuit Schematic Diagram


Accepted Answer
More Answers (0)
Categories
Find more on Trimming and Linearization 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!