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.

Induction Machine Solver block - efs_xsgInductionMachine

Block


Table of Contents

Description

The Induction Machine 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.

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

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

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

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

DataInSofMTX: 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

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

  • IA_stator, IB_stator, IC_stator: The machine stator currents in Amps, in single floating-point format (Xfloat8_24).
  • IA_rotor, IB_rotor, IC_rotor: The machine rotor currents in Amps, in single floating-point format (Xfloat8_24).
  • Id_stator, Id_stator: The machine D/Q-transformed stator currents in Amps, in single floating-point format (Xfloat8_24).
  • Id_rotor, Id_rotor: The machine D/Q-transformed rotor currents in Amps, in single floating-point format (Xfloat8_24).
  • phid_stator, phid_stator: The machine D/Q-transformed stator flux in Wb, in single floating-point format (Xfloat8_24).
  • phid_rotor, phid_rotor: The machine D/Q-transformed rotor flux in Wb, in single floating-point format (Xfloat8_24).
  • vd_stator, vd_stator: The machine D/Q-transformed stator voltage in Volts, in single floating-point format (Xfloat8_24).
  • vd_rotor, vd_rotor: The machine D/Q-transformed rotor voltage in Volts, in single floating-point format (Xfloat8_24).
  • Theta_mec, Theta_elec_dq: The machine mechanical and electrical angles in Turn ratio, respectively, as a cycle ratio between 0 and 1 in the UFix24_24 format.
  • Power P/Q 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/.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323