How to make a Flip-flop

조회 수: 5 (최근 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