Effacer les filtres
Effacer les filtres

please help me to this error "Derivative of state '1' in block 'ex/Integrator1' at time 1.3765443114784894 is not finite. The simulation will be stopped. There may be a sing

1 vue (au cours des 30 derniers jours)

Réponses (1)

Sam Chak
Sam Chak le 26 Nov 2023
Hi, your system is unstable and it grows without bound, thus making the simulation stops. Check the formulas of each Gain block. This is a linear system, so you can check its stability before simulating the system.
  1 commentaire
DOMIDE
DOMIDE le 27 Nov 2023
this is my code in matlab: R1=6.8e+3;
R2=6.8e+3;
R3=4.7e+3;
C1=68e-9;
C2=10e-9;
u=5;
and these are my derivatives depending on x1 and x2
x1' = (-1/C1)*(1/R1-1/R3) *x1 + (-1/C1)*(1/R2-1/R3) ;1/(C2*R3) * x2 + 1/(C1 * R1) *u
x2'=1/(R3*C2)* x1 -1/(R3*C2)* x2
y=x1-x2
how will I have to make the connections?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Power and Energy Systems dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by