How to make a Flip-flop

8 Ansichten (letzte 30 Tage)
Syperia
Syperia am 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.

Akzeptierte Antwort

K E
K E am 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.

Weitere Antworten (0)

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by