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 Next »

Block


Table of Contents

Description

This block is used to initialize, monitor and control the FPGA-based switched-reluctance motor (SRM) solver.


Mask Parameters

Motor Parameters tab

SRM Type: The solver is compatible with several types of 3/4/5 phases SRM models. Select the type of SRM motor you want to simulate in the list.

Flux table [Wb] : Magnetization characteristic table: a 2-D look-up table containing the SRM flux linkage as a function of stator current (row) and rotor position (column). The table size is not sized constrained but will be reformatted to fit in FPGA memory space dedicated to it.

Theta Axis [Deg] : Flux table breakpoint values of theta axis in degrees. Theta is the mechanical or rotor angle. Verify the first breakpoint is 0deg and the last is 180/(number of rotor poles).

Current Axis [Amps] : Flux table breakpoint values of Current axis in Amps. Verify the first breakpoint is 0 Amps and the last is maximum current amplitude.

Important : During the simulation, the current can exceed the table maximum value. In this case, the lookup table output will be saturated to its value at maximum current. To avoid this approximation, you can still specify a larger table with extrapolated values.

Stator Resistance [Ohm] : Value of the stator resistance. Same value is use for all phases.

Mechanical Mode : This parameter lets you activate the embedded mechanical equation of the solver. If you prefer use an external mechanical equation, please select the force speed mode. In that case, you set the motor speed in RPM. In the other hand, you set the torque load.

Inertia [kg·m²] : Motor inertia. This data is used to process the embedded mechanical equation.

Friction [Nm · s / rad] : Motor friction. This data is used to process the embedded mechanical equation.

Plot my tables : This option allows you to see the table formatting results of your table.

Communication Settings tab

Controller Name : Motor friction. This data is used to process the embedded mechanical equation.

DataIn/LoadIn/DataOut port number: : Communication ports number to and from the FPGA to send and receive solver data. Port numbers are bitstream dependant (See bitstream technical documentation to know the right port numbers). If your bitstream was changed, see the technical notes that accompanied the bitstream to know which port numbers are linked to the block.


Inputs

Fixedspeedmode: This input is used to select the mode of Tload/RPM input. If the input value is greater or equal than 1, the FPGA SRM solver use the fix speed specified by the RPM input. Else the FPGA SRM solver will use the Tload value as Torque load input to process the mecanichal equation. The mechanical parameter as Inertia and Friction can be tuned in the block mask. This input is slow to process so it can generate overruns. Prefer to load it with a constant or a static signal.

Tload/RPM: This input is used as the Torque load in N.m or RPM speed of the motor depending on the Fixspeedmode input state.

rst: Solver rst signal. If rst = 1, the FPGA solver stop the current calculation sequence and reset all ouputs and internal states to 0.


Outputs

MotorOut: This output is a composite signal combining all monitoring information from the SRM FPGA-based solver.

  • CurrentA/B/C/D/E: Entrant Current in motor phase a/b/c/d/e. d/e currents are used only with 4- and 5-phase motors, in Amperes.
  • FluxA/B/C/D/E:Flux of phase a/b/c/d/e. d/e flux are used only with 4- and 5-phase motors, in Webers.
  • Theta Mec/Elec: Angle of the rotor / Angle in the current referential, in degrees.
  • Torque: Torque generated by the motor, in Newton-meters.
  • Wm: Motor Rotor Speed, in radians per second.
  • SaturationFlags: able saturation flags, used to determine if the model hit the limit of the table.


Note: These signals are subject to aliasing (particularly switching signals). To have a high fidelity acquisition of these signals, it is recommended to use the hardware outputs of your simulator and an external scope.


Characteristics and limitations

This block has no special characteristics.

Direct FeedthroughNo
Discrete sample timeYES
XHP supportYES
Work offlineNO


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

  • No labels