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.

Switched Reluctance Machine Solver block - efs_xsgSwitchedReluctanceMachine

Block


Table of Contents

Description

The Switched Reluctance 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 supports up to 5phase machine topology. 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.

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

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

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

  • Flux: The machine flux of each phase in Wb, in single floating-point format (Xfloat8_24).
  • Theta_mec, Theta_elec: The machine mechanical and electrical angles, respectively, as a cycle ratio between 0 and 1 in the UFix24_24 format.
  • Current: The machine currents of each phase in Amps, in single floating-point format (Xfloat8_24).
  • Torque, Wm: The machine torque in N.m, in
  • Theta_abcde: The angles of phases a,b,c,d and e, in radians.


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