Error while running Simulink

1 Ansicht (letzte 30 Tage)
Janani Baskar
Janani Baskar am 16 Dez. 2016
Beantwortet: Joel Van Sickel am 13 Okt. 2023
Hi I encountered the Following error when i tried simulating a basic stepper motor Circuit. Is there any way to solve it?
Trouble solving algebraic equations in differential-algebraic system. Singular iteration matrix encountered with step size 3.3203915450030131E-9 at time 0.0. Try tightening the error tolerances. If the problem persists, check the model structure and values of parameters.

Antworten (1)

Joel Van Sickel
Joel Van Sickel am 13 Okt. 2023
This happens when a model has extermely small time constants or challenging equations to solve. That usually means the model isn't realistic enough yet for the solver to deal with. In your case, the most likely scenario would be a parameterization of the motor or the stepper driver block. Are you able the share the model instead of a screen shot?
Here is a simple example that is close to what you are doing that should work: https://www.mathworks.com/help/sps/ug/stepper-motor-with-control.html

Kategorien

Mehr zu Simscape finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by