The PMSM BLDC model implements three motor types which provide parametrization for different machine types (Permanent Magnet Synchronous Machine and Brushless DC Motor) and allow for different levels of model fidelity (Constant or Variable parametrization) : PMSM Constant Ld/Lq, PMSM Variable Ld/Lq, and BLDC Constant Ls. The PMSM Constant Ld/Lq and BLDC Constant Ls motor modes simulate a machine with constant inductance and magnetic flux parameters. The PMSM Variable Ld/Lq motor type simulates a PMSM whose inductance and magnetic flux parameters are variable based on the operating state of the simulation (in this case, based on Id and Iq), which allows for greater model fidelity.
Configuration Page
In the System Explorer window configuration tree, expand the Power Electronics Add-On custom device and select Circuit Model >> PMSM BLDC to display this page. Use this page to configure the PMSM BLDC machine model.
This page includes the following components, configurable at edit-time only:
Machine Model Settings | |
Name | Specifies the name of the machine model. |
Description | Specifies a description for the machine model. |
Motor Configuration | |
Motor Type | Choose from one of the following types. The motor configuration parameters automatically populate depending on the selected Motor Type. |
Input Mapping Configuration | |
Use the Input Mapping Configuration to route signals to the Voltage Phase A, Voltage Phase B, and Voltage Phase C inputs of the machine model. Available routing options may vary depending on the selected Hardware Configuration. | |
Group | Specifies the group that will be routed to the input voltages of the machine. The available routing options are defined by the selected Hardware Configuration, however it is typical to see the following options by default:
|
Element | Specifies the index of the measurement in the group that has been selected as the input voltage of the machine. |
Section Channels
This section includes the following custom device channels:
Channel Name | Symbol | Type | Units | Default Value | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Current Phase A | Ia | Output | Ampere | 0 A | Phase A current measured at the stator | |||||||
Current Phase B | Ib | Output | Ampere | 0 A | Phase B current measured at the stator | |||||||
Current Phase C | Ic | Output | Ampere | 0 A | Phase C current measured at the stator | |||||||
Average Voltage A | Va,avg | Output | Volts | 0 V | Averaged Phase A voltage measured at the stator. The voltage is processed through a low-pass filter with a cutoff frequency of 159 Hz
| |||||||
Average Voltage B | Vb,avg | Output | Volts | 0 V | Averaged Phase B voltage measured at the stator. The voltage is processed through a low-pass filter with a cutoff frequency of 159Hz. | |||||||
Average Voltage C | Vc,avg | Output | Volts | 0 V | Averaged Phase C voltage measured at the stator. The voltage is processed through a low-pass filter with a cutoff frequency of 159Hz | |||||||
Three-Phase Active Power | P | Output | Watts | 0 W | Three-phase instantaneous active electrical power in Watts See Power Equations for more information on how this is calculated. | |||||||
Three-Phase Reactive Power | Q | Output | Volt-ampere reactive | 0 var | Three-phase instantaneous reactive electrical power in vars See Power Equations for more information on how this is calculated. | |||||||
Direct Axis Stator Current | Id | Output | Ampere | 0 A | Direct-axis stator current in the reference frame aligned with the rotor For a description of the DQ-transform used to compute this value, see | D-Q |||||||
Quadrature Axis Stator Current | Iq | Output | Ampere | 0 A | Quadrature-axis stator current in the reference frame aligned with the rotor For a description of the DQ-transform used to compute this value, see | D-Q |||||||
Back-EMF Phase A | Vbemf,a | Output | Volts | 0 V | Phase A to neutral voltage induced by the electromotive force | |||||||
Back-EMF Phase B | Vbemf,b | Output | Volts | 0 V | Phase B to neutral voltage induced by the electromotive force | |||||||
Back-EMF Phase C | Vbemf,c | Output | Volts | 0 V | Phase C to neutral voltage induced by the electromotive force | |||||||
Permanent Magnet Flux Linkage | ψM | Output | Weber | 0 Wb | Latest-value measurement of the Permanent Magnet Flux Linkage used at the input of the electrical model In Constant mode, this will return the constant value input by the user in the Motor Configuration settings In Variable mode, this will be the value that is looked-up in the 2D Flux Linkage table. | |||||||
Direct Axis Inductance | Ld | Output | Henry | 0 H | Direct-axis inductance. This value is fed back from the input of the electrical model and describes only the latest value. In Constant mode, this will return the constant value input by the user in the Motor Configuration settings In Variable mode, this will be the value that is looked-up in the 2D Ld table. | |||||||
Quadrature Axis Inductance | Lq | Output | Henry | 0 H | Quadrature-axis inductance. This value is fed back from the input of the electrical model and describes only the latest value. In Constant mode, this will return the constant value input by the user in the Motor Configuration settings In Variable mode, this will be the value that is looked-up in the 2D Lq table. | |||||||
Direct Axis Stator Voltage | Vd | Output | Volts | 0 V | Direct-axis stator voltage in the reference frame aligned with the rotor For a description of the DQ-transform used to compute this value, see | D-Q |||||||
Quadrature Axis Stator Voltage | Vq | Output | Volts | 0 V | Quadrature-axis stator voltage in the reference frame aligned with the rotor For a description of the DQ-transform used to compute this value, see | D-Q Transform
Model Description
Permanent Magnet Synchronous Machines are common electrical machines in the the automotive and transportation industry. The PMSM is usually chosen because of its excellent power density (produced power over size or weight) or its capability to reach higher speed than others motor types. However, controlling a PMSM is usually more challenging when compared to other machine types. Since it is a synchronous machine, the controller must be aware of the rotor position at all times in order to properly control the torque. In addition, there is a chance of de-fluxing the magnet if the control is not stable, which would lead to a modification of the machineElectrical Angle | θe | Output | Degrees | -90° | Position of the rotating magnetic field, defined by the electrical angle equation
| ||
Electromagnetic Torque | Te | Output | Nm | 0 Nm | Torque generated through power at the stator. Refer to the Torque Equation of this model for more information. |
Model Description
Permanent Magnet Synchronous Machines are common electrical machines in the the automotive and transportation industry. The PMSM is usually chosen because of its excellent power density (produced power over size or weight) or its capability to reach higher speed than others motor types. However, controlling a PMSM is usually more challenging when compared to other machine types. Since it is a synchronous machine, the controller must be aware of the rotor position at all times in order to properly control the torque. In addition, there is a chance of de-fluxing the magnet if the control is not stable, which would lead to a modification of the machine properties.
The following figures illustrate the equivalent circuits of the PMSM motor model in the abc - frame and in the D-Q DQ frame.
Figure 1. Electrical Model for PMSM
Figure 2. Electrical Model for PMSM in the
D-QDQ frame
Excerpt | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
General EquationThe equation of the PMSM model can be expressed as follows:
where Labc is the time-varying inductance matrix (global inductance for Constant Ld/Lq and Variable Ld/Lq models), Iabc is the stator current inside the winding, Rabc are the stator resistances and Vabc is the voltage across the stator windings. ψabc defines the magnet flux linked into the stator windings.
| DQtransform | D-Q TransformIn normal conditions, the ideal sinusoidal
|
The electrical angle is expressed as follows:
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
\theta_e= pp * \theta_m + \theta_{offset} |
Anchor | ||||
---|---|---|---|---|
|
In normal conditions, the ideal stator voltages of the PMSM, back-EMFs, and inductances all have sinusoidal shapes. In the case of the BLDC, the back-EMFs are considered to be trapezoidal. One can transform the equation using the Park transformation with a referential locked on the rotor position θr using
and LaTeX Math Block Reference anchor TransformEquations
. LaTeX Math Block Reference anchor Transform
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
\left[\begin{array}{l} {V_{d s}} \\ {V_{q s}} \end{array}\right]=\mathrm{T}\left[\begin{array}{l} {V_{a s}} \\ {V_{b s}} \\ {V_{c s}} \end{array}\right] |
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
\mathrm{T}=\sqrt{2 / 3}\left[\begin{array}{cc} {\cos (\theta_r)} & {\sin (\theta_r)} \\ {-\sin (\theta_r)} & {\cos (\theta_r)} \end{array}\right]\left[\begin{array}{ccc} {1} & {-0.5} & {-0.5} \\ {0} & {\sqrt{3} / 2} & {-\sqrt{3} / 2} \end{array}\right] |
The D-Q DQ Transform (also called Park-Clarke transform) reduces sinusoidal varying quantities of inductances, flux, current, and voltage to constant values in the D-Q DQ frame thus greatly facilitating the analysis and control of the device under study.
It is important to note that there are many different types of D-Q transforms DQ transforms and this often leads to confusion when interpreting the motor states inside the D-Q DQ frame. The one used here (which is typically standard in Japan) presents the advantage of being orthonormal (notice the sqrt(3/2) factor). This particular D-Q DQ orthonormal transform is power-invariant which means that the power computed in the D-Q DQ frame by performing a dot product of currents and voltages will be numerically equal to the one computed in the phase domain, namely:
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
V_{abc}I_{abc} = V_{dq}I_{dq} |
Anchor | ||||
---|---|---|---|---|
|
With this transform (and only this transform), the machine torque can be expressed by
, where pp is the number of pole pairspairs and LaTeX Math Block Reference anchor Torque
is the partial derivative of the instantaneous permanent magnet flux. LaTeX Math Inline body --uriencoded--\frac%7B\partial\psi_%7Babc%7D%7D%7B\partial\theta_r%7D
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
T_{e}=p p\left[ \sqrt{I_{abc}\cdot\frac{3}{2\partial\psi_{abc}} {\; partial\psitheta_{Mr} \; i_{q}+\left(L_{d}-L_{q}\right) i_{d} i_{q}\right] |
In the
absence of the 3/2 factor incase of the PMSM Constant Ld/Lq and PMSM Variable Ld/Lq motor types, the back EMF shape is sinusoidal and the torque can be further simplified into LaTeX Math Block Reference anchor Torque
This is easy to see for the Back-EMF voltage Vbemf that directly follows the Q-axis (because the magnet flux is on the D-axis by definition). In Figure 3, I leads and the Q-axis by an angle called β (beta). The modulus of the vector I is called Iamp. In the figure below, θ is the rotor angle, aligned with the D-axis.
Figure 3. Park Transform with angle definitions for θ and β
The instantaneous active and reactive power, P and Q are calculated as follows:
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
P = V_a I_a + V_b I_b + V_c I_c = V_d I_d + V_q I_q\\
Q = \frac {1} {\sqrt 3} [(V_b - V_c) I_a + (V_c - V_a) I_b + (V_a - V_b) I_c ] = V_q I_d - V_d I_q |
where Va, Vb, and Vc are the instantaneous stator voltages
The active and reactive power are processed through low-pass filters dependent on the timestep of the machine and are calculated as follows. When Ts is set to the minimum of 120ns, the cutoff frequencies are 133Hz:
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
f_{c} = \frac{1}{\SI{1e4} \times Ts \times 2\pi} = \frac{1}{\SI{1e4} \times \SI{120e-9} \times 2\pi} = 133Hz |
When set to the PMSM Constant Ld/Lq motor type, the machine model uses constant values for Direct Inductance, Quadrature Inductance, Magnetic Flux, Phase [A, B, C] Resistance, and Pole Pairs.
Configuration Parameters
The following parameters are available:
One may notice the absence of the 3/2 factor in This is easy to see for the Back-EMF voltage Vbemf that directly follows the Q-axis (because the magnet flux is on the D-axis by definition). In Figure 3, I leads and the Q-axis by an angle called β (beta). The modulus of the vector I is called Iamp. In the figure below, θ is the rotor angle, aligned with the D-axis. Figure 3. Park Transform with angle definitions for θ and β
Anchor |
|
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
P = V_a I_a + V_b I_b + V_c I_c = V_d I_d + V_q I_q\\
Q = \frac {1} {\sqrt 3} [(V_b - V_c) I_a + (V_c - V_a) I_b + (V_a - V_b) I_c ] = V_q I_d - V_d I_q |
where Va, Vb, and Vc are the instantaneous stator voltages
The active and reactive power are processed through low-pass filters dependent on the timestep of the machine and are calculated as follows. When Ts is set to the minimum of 120ns, the cutoff frequencies are 133Hz:
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
f_{c} = \frac{1}{\SI{1e4} \times Ts \times 2\pi} = \frac{1}{\SI{1e4} \times \SI{120e-9} \times 2\pi} = 133Hz |
Anchor | ||||
---|---|---|---|---|
|
When set to the PMSM Constant Ld/Lq motor type, the machine model uses constant values for Direct Inductance, Quadrature Inductance, Magnetic Flux, Phase [A, B, C] Resistance, and Pole Pairs.
Configuration Parameters
The following parameters are available. They are modifiable at edit-time only:
Motor Configuration | ||||
Symbol | Units | Default Value | Description | |
---|---|---|---|---|
Direct Axis Inductance | Ld | Henry | 0.002984 H | Direct-axis inductance of the machine |
Quadrature Axis Inductance | Lq | Henry | 0.004576 H | Quadrature-axis inductance of the machine |
Permanent Magnet Flux Linkage | ψM | Weber | 0.25366 Wb | Peak permanent magnet flux linkage |
Phase A Resistance | Ra | Ohm | 0.12 Ω | Phase A Resistance of the machine |
Phase B Resistance | Rb | Ohm | 0.12 Ω | Phase B Resistance of the machine |
Phase C Resistance | Rc | Ohm | 0.12 Ω | Phase C Resistance of the machine |
Pole Pairs | pp | 3 | Number of pole pairs | |
Direct Quadrature Transform Angle Offset | θoffset | Aligned | Aligned - Indicates that the D Describes the electrical angle offset as described by the Electrical Angle equation
| |
Initial Angle (Deg) | θ0 | Degrees | 0° | Initial Angle of the machine This may be useful when simulating two separate 3-phase machines that require a phase shift between them. |
Solver Timestep | Ts | Second | 1.2E-7 s | The timestep at which the machine model executes Every Ts, new outputs are computed by the FPGA machine model. By default, this is set to the minimum achievable timestep. |
Torque Equation
The machine torque for the PMSM Constant Ld/Lq motor type can be expressed by
. LaTeX Math Block Reference anchor I73ID
LaTeX Math Block | ||||
---|---|---|---|---|
| ||||
T_{e}=p p\left[ \sqrt{\frac{3}{2}} \; \psi_{M} \; i_{q}+\left(L_{d}-L_{q}\right) i_{d} i_{q}\right] |
When set to the PMSM Variable Ld/Lq motor type, the inductance and magnetic flux parameters are variable based on the operating state of the simulation, as defined in the JSON Motor Model File.
Configuration Parameters
The following parameters are available:
Allows certain parameters to be exposed as tunable VeriStand Channels. See the Advanced Channels section below for more details.
This checkbox is only available when a Motor Model File has been specified. Otherwise, the option is greyed out.
Initial Angle of the machine
This may be useful when simulating two separate 3-phase machines that require a phase shift between them.
The timestep at which the machine model executes
Every Ts, new outputs are computed by the FPGA machine model. By default, this is set to the minimum achievable timestep.
The following VeriStand channels are displayed under the Advanced section when the Enable Advanced Channels option is enabled on the PMSM Variable Ld/Lq configuration page.
Channel Name | Symbol | Type | Units | Default Value | Description |
---|---|---|---|---|---|
Direct Axis Inductance Override | Ld | Input | Henry | 0.002984 H | Direct-axis inductance of the machine When Enable Inductance Override is True, this value overrides the direct axis inductance value defined in the JSON Motor Model File table. When Enable Inductance Override is False, this channel is not used. This |
Anchor | ||||
---|---|---|---|---|
|
When set to the PMSM Variable Ld/Lq motor type, the inductance and magnetic flux parameters are variable based on the operating state of the simulation, as defined in the JSON Motor Model File.
Configuration Parameters
The following parameters are available. They are modifiable at edit-time only:
Motor Configuration | ||||
Symbol | Units | Default Value | Description | |
---|---|---|---|---|
Model File | Specifies the path to the JSON Motor Model file on disk. Refer to Motor Model File [JSON] for details regarding the file format. | |||
Enable Advanced Channels | False | Allows certain parameters to be exposed as tunable VeriStand Channels. See the Advanced Channels section below for more details. This checkbox is only available when a Motor Model File has been specified. Otherwise, the option is greyed out. | ||
Initial Angle (Deg) | θ0 | Degrees | 0° | Initial Angle of the machine This may be useful when simulating two separate 3-phase machines that require a phase shift between them. |
Solver Timestep | Ts | Second | 1.2E-7 s | The timestep at which the machine model executes Every Ts, new outputs are computed by the FPGA machine model. By default, this is set to the minimum achievable timestep. |
Anchor | ||||
---|---|---|---|---|
|
The following VeriStand channels are displayed under the Advanced section when the Enable Advanced Channels option is enabled on the PMSM Variable Ld/Lq configuration page. Channel values can be modified dynamically at execution time.
Channel Name | Symbol | Type | Units | Default Value | Description | ||||
---|---|---|---|---|---|---|---|---|---|
Direct Axis Inductance Override | Ld | Input | Henry | 0.002984 H | Direct-axis inductance of the machine When Enable Inductance Override is True, this value overrides the direct axis inductance value defined in the JSON Motor Model File table. When Enable Inductance Override is False, this channel is not used. This value can be modified while the simulation is running. | ||||
Enable Permanent Magnet Flux Linkage Override | Input | False | Enables the Flux Linkage Override channel, allowing the user to modify the permanent magnet flux linkage of the machine while the simulation is running. When True, the flux linkage of the machine is read from the Flux Linkage Override channel. When False, the flux linkage is read from the table in the JSON Motor Model File. | ||||||
Enable Inductance Override | Input | False | Enables the Direct Inductance Override and Quadrature Inductance Override channels, allowing the user to modify the inductances of the machine while the simulation is running. When True, the inductances of the machine are read from the Direct Inductance Override and Quadrature Inductance Override channels. When False, the direct axis and quadrature axis inductances are read from the table in the JSON Motor Model File. | ||||||
Enable Resistance Override | Input | False | Enables the Resistance Phase A Override, Resistance Phase B Override, and Resistance Phase C Override channels, allowing the user to modify the phase resistances of the machine while the simulation is running. When True, the phase resistances of the machine are read from the Resistance Phase A Override, Resistance Phase B Override, and Resistance Phase C Override channels. When False, the phase resistances are read from the table in the JSON Motor Model File. | ||||||
Permanent Magnet Flux Linkage Override | ψM | Input | Weber | 0.25366 Wb | Permanent magnet flux linkage of the machine When the Enable Flux Linkage Override channel is set to True, instead of reading the Flux Linkage from the 2D ψM lookup table defined in the Model File, the motor model will use the following scalar channel value as an input. When Enable Flux Linkage Override is True, this value overrides the flux linkage value defined in the JSON Motor Model File table. When Enable Flux Linkage Override is False, this channel is not used. This channel value can be modified while the simulation is running. Enable Permanent Magnet Flux Linkage | ||||
Quadrature Axis Inductance Override | Lq | Input | False | Enables the Flux Linkage Override channel, allowing the user to modify the permanent magnet flux linkage of the machine while the simulation is running. When True, the flux linkage of the machine is read from the Flux Linkage Override channel. When False, the flux linkage is read from the table Henry | 0.004576 H | Quadrature-axis inductance of the machine When Enable Inductance Override is True, this value overrides the direct axis inductance value defined in the JSON Motor Model File table. When Enable Inductance Override | Input | False | Enables the Direct Inductance Override and Quadrature Inductance Override channels, allowing the user to modify the inductances of the machine is False, this channel is not used. This value can be modified while the simulation is running. |
Resistance Phase A Override | Ra | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase A resistance of the machine When Enable Resistance Override is True, this value overrides the Phase A resistance value defined in the JSON Motor Model File. When Enable Resistance Override | Input | False | Enables the Resistance Phase A Override, Resistance Phase B Override, and Resistance Phase C Override channels, allowing the user to modify the phase resistances of the machine while the simulation is running. When True, the phase resistances of the machine are read from the Resistance Phase A Override, Resistance Phase B Override, and Resistance Phase C Override channels. When False, the phase resistances are read from the table in the JSON Motor Model File. | |
Permanent Magnet Flux Linkage Override | ψM | Input | Weber | 0.25366 Wb | Permanent magnet flux linkage of the machine When the Enable Flux Linkage Override channel is set to True, instead of reading the Flux Linkage from the 2D ψM lookup table defined in the Model File, the motor model will use the following scalar channel value as an input. When Enable Flux Linkage Override is True, this value overrides the flux linkage value defined in the JSON Motor Model File table. When Enable Flux Linkage Override is False, this channel is not used. This channel value can be modified while the simulation is running. | ||||
Quadrature Axis Inductance Override | Lq | Input | Henry | 0.004576 H | Quadrature-axis inductance of the machine When Enable Inductance Override is True, this value overrides the direct axis inductance value defined in the JSON Motor Model File table. When Enable Inductance Override is False, this channel is not used. This value can be modified while the simulation is running. | ||||
Resistance Phase A Override | Ra | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase A resistance of the machine When Enable Resistance Override is True, this value overrides the Phase A resistance value defined in the JSON Motor Model File. When Enable Resistance Override is False, this channel is not used. This channel value can be modified while the simulation is running. | ||||
Resistance Phase B Override | Rb | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase B resistance of the machine When Enable Resistance Override is True, this value overrides the Phase B resistance value defined in the JSON Motor Model File. When Enable Resistance Override is False, this channel is not used. This channel value can be modified while the simulation is running. | ||||
Resistance Phase C Override | Rc | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase C resistance of the machine When Enable Resistance Override is True, this value overrides the Phase C resistance value defined in the JSON Motor Model File. When Enable Resistance Override is False, this channel is not used. This channel value can be modified while the simulation is running. |
Torque Equation
The machine torque for the PMSM Variable Ld/Lq motor type can be expressed by
. LaTeX Math Block Reference anchor 5OZ0X
anchor | 5OZ0X |
---|---|
alignment | center |
is False, this channel is not used. This channel value can be modified while the simulation is running. | |||||
Resistance Phase B Override | Rb | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase B resistance of the machine When Enable Resistance Override is True, this value overrides the Phase B resistance value defined in the JSON Motor Model File. When Enable Resistance Override is False, this channel is not used. This channel value can be modified while the simulation is running. |
Resistance Phase C Override | Rc | Input | Ohm | Read from JSON Model File when Advanced Channels are enabled | Phase C resistance of the machine When Enable Resistance Override is True, this value overrides the Phase C resistance value defined in the JSON Motor Model File. When Enable Resistance Override is False, this channel is not used. This channel value can be modified while the simulation is running. |
Anchor | ||||
---|---|---|---|---|
|
When set to the BLDC Constant LS motor type, the machine model uses constant values for Stator Inductance, Magnetic Flux, Phase [A, B, C] Resistance, and Pole Pairs. The main difference between the PMSM and the BLDC motor types lies in the shape of the back EMF voltage, which is trapezoidal in the case of the BLDC.
Configuration Parameters
The following parameters are available. They are modifiable at edit-time only:
Motor Configuration | ||||
Symbol | Units | Default Value | Description | |
---|---|---|---|---|
Stator Inductance | Ls | Henry | 0.002984 H | Stator inductance of the machine |
Back EMF Flat Area | H | Degrees | 0 | Describes the length of the flat area in degrees of the trapezoidal back-EMF wave Please see Trapezoidal Back-EMF Characteristics for a description of the wave. |
Initial Angle (Deg) | θ0 | Degrees | 0° | Initial Angle of the machine This may be useful when simulating two separate 3-phase machines that require a phase shift between them. |
Permanent Magnet Flux Linkage | ψM | Weber | 0.25366 Wb | Peak permanent magnet flux linkage |
Phase A Resistance | Ra | Ohm | 0.12 Ω | Phase A Resistance of the machine |
Phase B Resistance | Rb | Ohm | 0.12 Ω | Phase B Resistance of the machine |
Phase C Resistance | Rc | Ohm | 0.12 Ω | Phase C Resistance of the machine |
Pole Pairs | pp | 3 | Number of pole pairs | |
Direct Quadrature Transform Angle Offset | θoffset | Aligned | Describes the electrical angle offset as described by the Electrical Angle equation
| |
Solver Timestep | Ts | Second | 1.2E-7 s | The timestep at which the machine model executes Every Ts, new outputs are computed by the FPGA machine model. By default, this is set to the minimum achievable timestep. |
Torque Equation
anchor | J2Q5O |
---|---|
alignment | center |
Ts, new outputs are computed by the FPGA machine model. By default, this is set to the minimum achievable timestep. |
AnchorBLDCgraph BLDCgraph
Trapezoidal Back-EMF Characteristics
BLDCgraph | |
BLDCgraph |
The BLDC has a trapezoidal back EMF shape that is parametrized with calculated using λm the , the permanent magnet flux linkage and H the back EMF flat area , and H,the length of the flat portion of the trapezoid in degrees.
The electromotive force is constructed from a cosine table as described in the following equation:
LaTeX Math Block | ||
---|---|---|
| ||
\Large\frac{\partial \psi_{a}}{\partial \theta_r \psilambda_M}\normalsize= max(min(\Large\frac{cos(\theta_r)}{cos(\frac{H}{2})}\normalsize,1),-1) |
...