How to make a Flip-flop

8 次查看(过去 30 天)
Syperia
Syperia 2012-4-7
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.

采纳的回答

K E
K E 2012-4-9
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by