REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Issue with the SAT block

    REXYGEN Studio
    2
    5
    204
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stepan.ozana
      last edited by

      Hi,
      I am facing some troubles with the SAT block.
      It should respect either variable limits or fixed limits, based on HLD signal.
      However, in my project, only inner fixed limits (+0.75 , -0.75) are considered no matter if HLD is on or off.
      3097a4d8-4da6-48f9-9e20-eccb1c47f56c-image.png
      de7acc7b-b4bd-4835-8038-e4affeb2b21d-image.png

      J 1 Reply Last reply Reply Quote 0
      • J
        Jan Reitinger @stepan.ozana
        last edited by

        @stepan-ozana Hello,
        thank you for your report.

        Please, what version of REXYGEN are you using? I've tested it now on 3.0.4.17197 and everything seems to work. I'm attaching a printscreen and the project.
        327187a5-26b0-4640-99c3-20348af4e7b4-image.png myproject_exec.mdl myproject_task.mdl

        Best regards,
        Jan

        S 1 Reply Last reply Reply Quote 0
        • S
          stepan.ozana @Jan Reitinger
          last edited by

          @Jan-Reitinger

          Thanks. I tried both 3.00.2 rev. 16743 and 3.04 17159. Check out the video recording:

          https://drive.google.com/file/d/1-A4vBMiOb91N9w5tX6H8bUDGmSjGPXCG/view?usp=sharing

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan Reitinger @stepan.ozana
            last edited by

            @stepan-ozana
            The problem is caused by a large value in the parameters tn and tp. The change occurs, but it is very slow. For a faster transition between values, set lower parameter values. For an immediate change, set 0.

            S 1 Reply Last reply Reply Quote 0
            • S
              stepan.ozana @Jan Reitinger
              last edited by stepan.ozana

              @Jan-Reitinger Thanks for explanation! I promise I will study the documentation in more details next time. However, still I have some remarks here.

              Regarding SAT documentation:
              "The maximal rate at which the active limits may vary is given by time constants tp (positive slope) and tn (negative slope)."
              This statement is ambigous for me.
              If we say maximal rate of the signal is affected by some parameter rate_max, then from technical point of view, higher
              rate_max means higher allowable rate (1st derivative), thus indicating being close to immediate changes of the signal.
              So if rate_max reaches infinity, immediate changes are allowed.

              Then we should say the maximal rate at which the active limits may vary is given by INVERSE OF time constants tp,
              and rate_max = 1/tp, meaning that the meaning of logic in choice of parameters tp and tn is actually inverse.

              This is actually declared in the documentation of RLIM block as the steepest rise per second, and should be also repeated for for documentation of SAT to keep documentation consistent.

              I tried series connection of CNR and RLIM, and changing CNR on the fly. If tp=0.1, then maximal slope is 10, and the new value of CNR is
              reached in 0.1s, following linear ramp signal. This is OK, and similar functionality works for SAT block.

              Also, reading "time constants tp and tn" may indicate presence of some dynamics like first-order system 1/(tp*s+1) or 1/(tn*s+1), because this technical term is ususally used
              when talking about dynamic systems. It would be much better to simply use "parameters tp and tn" instead to make things clear.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

              There is also an outdated REXYGEN community forum.

              Powered by NodeBB.