Documentation Home Page OPAL-RT Schematic Editor Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Driving Switches with One or More Digital Input Channels

All switch blocks of a model, such as breakers and IGBT, can be driven by digital input channels.

To assign a digital input to a switch block:

  • Hover over the port of the desired switch block. When the mouse is over the port, the pointer changes to a hand.
  • Click the port.

SelectedPort

OR

  • Click the block to open the Parameters sidebar.
  • Then, click the arrow of the gate parameter to open the Deep Panel of the desired parameter.
  • The Deep Panel is where to find the list of connections.
    • For most blocks, you will already have a connection to Simulink, added by default when dropping the block onto the diagram.
    • This means that the block is driven by Simulink or HYPERSIM.
  • Click the + card to add a new connection.
  • Next, click the Digital Input button to add a new digital input to the block.
  • The source pin, along with the polarity, can be edited once the new connection card shows up.

EditSource


  • Note that two connections can have the same digital input, as below. If you do so, be careful with the polarity of each switch.

2SameInput

To remove a connection:

  • Open the Deep Panel to display the connections of a parameter.
  • Hover over the card of the connection to be removed. A Delete icon appears.
  • Click the icon to remove the connection.

DeleteConnection


To select the Polarity of a digital input channel:

In digital circuits, when a signal is:

  • Active low, this means that the signal will be performing its function when its logic level is 0.
  • Active high, this means that the signal will be performing its function when its logic level is 1.

The user can change the polarity of the digital input channels.

  • HIGH indicates that the switch is active when a low voltage is provided to the physical pin.
  • LOW indicates that the switch is open when a low voltage is provided to the physical pin.



OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter