How to make a Flip-flop

8 visualizzazioni (ultimi 30 giorni)
Syperia
Syperia il 7 Apr 2012
When I started modelling in Simulink simple SR latch according to a wiki page, I've got an error:
Cannot solve algebraic loop involving 'SRLatch/Subsystem/nor2'...
I know that there exists a nice Simulink Extas/Flip flops but want to do my own.
I've tried adding memory and delay (z^-1) block but the results were wrong.

Risposta accettata

K E
K E il 9 Apr 2012
If your question is "how to eliminate an algebraic loop if the Unit Delay changes my system's dynamics", this blog entry discusses reconsidering unphysical algebraic loops in your model. Simscape can be a workaround for loops, see Guy Rouleau's answer on this topic. If your time sampling is continuous you may want to try the Memory block instead of the Unit Delay block which is more appropriate for discrete sampling.

Più risposte (0)

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by