Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

eHS Gen3s Solver for XSG - efs_xsgeHSGen3s

Block


Table of Contents

Description

This block contains the eHS Gen3s Solver core, a powerful floating-point solver, which enables the user to simulate a power electronics circuit on FPGA automatically without having to program the mathematical equations. This block solves the current and voltages within the circuit on an Opal-RT FPGA based simulator with sample times below 1us.

This FPGA block requires the use of the "eHS Gen3s Unpacking" block which is contained inside the efs_packing_lib. Moreover in order to use the solver, the stream which contains the configuration data needs to be sent from the CPU model by the eHS Gen3 CommBlk.

In the 3rd generation of this solver, internals of the solver have been optimized to support more inputs, outputs & switches. This has been made possible by converting formerly parallel data buses to a streaming based architecture. Please refer to Opal-RT eHS User Guide for specifications.


Mask Parameters

eHS Solver form factor: This option selects the solver computational unit form factor.

Provide external SW input port for control from digital inputs: When this option is selected, an input will be provided for feeding the eHS solver with explicit gating signals originating from digital inputs.

Provide external SW input port for control from PWM generators: When this option is selected, an input will be provided for feeding the eHS solver with explicit gating signals originating from RT-XSG-based Pulse-Width-Modulation (PWM) generators [PWMO blocks].

Provide external SW input port for control from TSDO generators: When this option is selected, an input will be provided for feeding the eHS solver with explicit gating signals originating from RT-XSG-based Time-stamped Digital Output (TSDO) generators [TSDO blocks].

Provide external SW input port for control from static switches: When this option is selected, an input will be provided for feeding the eHS solver with explicit gating signals originating from RT-LAB-based static switches. [Digital Out blocks].

Provide external U input port for source from a rescaled analog input: When this option is selected, an input will be provided for feeding the eHS solver with source input signals originating from analog inputs (rescaled by an Analog Input Differential Rescaling Block).

Provide external U input port for source from another eHS core: When this option is selected, an input will be provided for feeding the eHS solver with source input signals originating from another eHS core.

Provide Y output port for sourcing analog outputs or another eHS core: When this option is selected, an output will be provided for feeding to another eHS solver or controlling analog outputs (rescaled by an Analog Output Mapping & Rescaling Block).

Provide Sine Wave Generator output: When this option is selected, an output from the internal sine wave generators will be provided.


Inputs

Config

From CPU: This input should be connected to the DataIN and LoadIN blocks through an eHS Gen3s Unpacking block. It receives all necessary info from the RT-LAB model.


Switches

External SW (DIn): If this option is selected in the CPU block, this port enables the use of explicit gating signals coming from digital inputs by eHS. The effective number of bits of this input depends upon the solver form factor. Consult the table below for the expected data types depending on the solver form-factor.

External SW (Static): If this option is selected in the CPU block, this port enables the use of explicit gating signals coming from static swtiches by eHS. The effective number of bits of this input depends upon the solver form factor. Consult the table below for the expected data types depending on the solver form-factor.

External SW (PWM): If this option is selected in the CPU block, this port enables the use of explicit gating signals generated inside the FPGA by eHS. The effective number of bits of this input depends upon the solver form factor. Consult the table below for the expected data types depending on the solver form-factor.

External SW (TSDO): If this option is selected in the CPU block, this port enables the use of explicit gating signals generated inside the FPGA by eHS. The effective number of bits of this input depends upon the solver form factor. Consult the table below for the expected data types depending on the solver form-factor.

The table below lists the supported data types for various inputs:


Form-factorExternal SW (DIn)External SW (Static | PWM | TSDO)
x32UFix64_0UFix48_0
x64UFix96_0UFix72_0
x128UFix_160_0UFix_144_0


Inputs (OPAL-RT FLWS protocol)

External U (AIn): If this option is selected in the CPU block, this port enables the use of rescaled analog inputs as sources to the eHS. It should be connected to the serial output of an Analog Input Differential Rescaling Block. This signal should follow the OPAL-RT FLWS protocol.

External U (Cst): If this option is selected in the CPU block, this port enables the use of an output originating from another eHS core to control a current or voltage source within the solver. This signal should follow the OPAL-RT FLWS protocol


Outputs

Out : This output provides serially streamed eHS outputs for use in the RT-XSG model. It is provided as a Bus following the OPAL-RT FLWS protocol.

Sine Wave Generator: Like the streamed output, this output provides the generated sine waves used internally in a streamed fashion.


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

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