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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Block


Table of Contents

Description

The dual Permanent-Magnet Synchronous Machine - SH solver is used to model the behavior of such machine on FPGA with floating-point precision and very short simulation steps size (see help file for details). It can be used in conjunction with the eHS solver or with the FPGA-based Inverter solver in order to have high sampling precision on its voltage inputs.


Mask


Inputs

Sync: This input is used to provide an external synchronization for the solver. The solver step size must be between 125ns and 4us, as set in the solver configuration block (in the real-time simulation model).

RstEhs: This input is used to connect the reset output of the eHS to Machines Mapping Interface. It should be connected to the EhsRst output of the mapping block.

vABC1/2: This input is used to provide the stator voltages Va, Vb and Vc of the respective PMSM model. It should be a 3-elements vector, each element with the single floating-point (Xfloat8_24 format).

DataIn: This input is to allow communication between the CPU model and FPGA during the Real-Time Simulation. It has to be connected to a DataIn port in asynchronous mode.

DataInSof: This port must be connected to the associated Start of Frame of the previous DataIn.

LoadIn: This input is to configure the FPGA model prior to the Real-Time Simulation. It has to be connected to a LoadIn port in asynchronous mode.

loadInSof: This port must be connected to the associated Start of Frame of the previous LoadIn.


Outputs

Out: This output is a Simulink composite signal containing all outputs from the resolvers and encoders emulated by the block.These signals are:

    • ia{i}mot,ib{i}mot,ic{i}mot: The machine stator currents, in single floating-point format (Xfloat8_24).
    • Va{i}mean,Vb{i}mean,Vc{i}mean: The machine stator voltages, filtered, in single floating-point format (Xfloat8_24).
    • Vn{i}mot: The machine stator neutral-point voltage [currently unsupported].
    • Id{i}mot, Iq{i}mot: The machine D/Q-transformed stator currents, in single floating-point format (Xfloat8_24).
    • Theta{i}_mec, Theta{i}_elec: The machine mechanical and electrical angles, respectively, as a cycle ratio between 0 and 1 in the UFix24_24 format.
    • Torque{i}mot: The machine electrical torque, in single floating-point format (Xfloat8_24).
    • Power P/Q {i} The machine instantaneous power (P=active / Q=reactive), in single floating-point format (Xfloat8_24).

ToDataOut: This outport helps streaming the model data to the CPU through a DataOut port.


Characteristics and limitations

This block has no special characteristics.

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
Work offlineNO


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

  • No labels