+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 4
    Points: 1,164, Level: 7

    Join Date
    Sep 2010
    Posts
    5
    Helped
    0 / 0
    Points
    1,164
    Level
    7

    How to construct a ring oscillator using inverters (NOT gates) in simulink ?

    I would like to see how the phases of each inverter stage in the ring changes with time. If i connect odd number of inverter stages and probe the last stage with a scope, I am getting this error "Cannot solve algebraic loop involving 'untitled/Logical Operator' because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop."

    •   Alt17th November 2016, 10:05

      advertising

        
       

  2. #2
    Super Moderator
    Points: 24,476, Level: 38
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Portugal
    Posts
    7,350
    Helped
    917 / 917
    Points
    24,476
    Level
    38
    Blog Entries
    5

    Re: How to construct a ring oscillator using inverters (NOT gates) in simulink ?

    I would recommend you attach a snapshot of the diagram that you're trying to simulate, as well to post the exact error message reported.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



    •   Alt17th November 2016, 15:44

      advertising

        
       

  3. #3
    Super Moderator
    Points: 236,290, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    40,849
    Helped
    12488 / 12488
    Points
    236,290
    Level
    100

    Re: How to construct a ring oscillator using inverters (NOT gates) in simulink ?

    According to the error message you are trying to build a ring oscillator with delay-less inverters. That's not possible.



--[[ ]]--