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.
Sending a Measurement to an Analog Output Channel
To send a measurement to analog output:
To send measurements to the physical analog output channels of the simulator, you first need to add blocks to measure voltage or current in your circuit model.
Note: A Simulator Setup with a firmware must be in use in order to add connections. See Configuring a Setup for Your Simulation.
- Select the block to be used for measurement (in the example below, a Voltmeter).
- In the Parameters sidebar, hover over the parameter to be used for measurement.
- An arrow appears on the right.
- Click that arrow to open the Deep Panel.
- The Deep Panel includes a list of connections. For most blocks, you will already find a connection to Simulink, added by default when dropping the block onto the diagram.
- Click the '+' card to add a new connection.
- Next, click the Analog Output button to add a new analog output to the block.
- The destination pin along with other features can be edited once the new connection card shows up.
The example below shows an alternate way of accessing the Deep Panel from the block on the diagram.
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.
To convert measured signals to an analog output voltage level:
- Users can convert the measured values to the voltage/current level of the analog output channel selected using the following formula:
output y = Gain * Measurement + Offset
- You can change the Gain or the Offset of the measured value, so that the output signal respects, for example, the +/- 16 V rating limits of the channel.
- Depending on the hardware used, these limits may vary, therefore users should consult their hardware documentation, along with the configuration of the hardware in the HYPERSIM or RT-LAB software.
- In the Parameters sidebar, change the Gain of the measured voltage or current.
- Entering a Gain of 2, for example, doubles the value sent to the analog output channel.
- Then, change the Offset values as required. Users can also limit (or truncate) the output values sent to the analog output channel by adding Min and Max values.
- These two parameters can be used to prevent the analog output from reaching a specific limit – or from falling below a certain threshold – if the hardware has some particular constraints or may be potentially damaged.
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