Need example of Simulink Relay import in to the VisSim7

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by vinayak on Fri, 10/16/2009 - 00:23 

 

Please post example of a Simulink Relay on Import in to VisSim

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2020

    Submitted by a_a on Fri, 10/16/2009 - 02:36.

    Simulink's relay block is a little different from visSim's relay. If you apply the existing Simulink translator to a simple diagram: sine->relay->plot, you'll get the attached file. The differences are that Simulink lets you set the upper and lower values of the relay. VisSim is fixed at +1/-1. VisSim provides a zero value output when in a symmetric deadband zone, Simulink simply has a turn on value and turn off value. The trick to get similar results from both is to choose turn on and turn off values that fit into the symmetric band of VisSim's relay.

    Unable to find an attachment - read this blog