主要内容

Hybrid Excitation PMSM (DQ0)

R2026b

Direct-quadrature-zero representation of hybrid-excitation synchronous machine with three-phase wye-wound stator

Since R2026b

  • Hybrid Excitation PMSM (DQ0) block

Libraries:
Simscape / Electrical / DQ0 Components / Machines

Description

The Hybrid Excitation PMSM (DQ0) block models the direct-quadrature-zero (dq0) frame representation of a hybrid-excitation synchronous machine with a three-phase wye-wound stator. Permanent magnets and excitation windings provide the machine excitation. Use this block to model hybrid-excitation permanent magnet synchronous motors (PMSMs), doubly-excited PMSMs, and synchronous motors.

If you set the Permanent magnet flux linkage parameter to 0, the Hybrid Excitation PMSM (DQ0) block operates as a magnet-free synchronous machine.

Note

Simscape™ Electrical™ includes several blocks that can model the same type of motor or actuator. Choose a block that has sufficient modeling detail for the engineering design questions that you need to answer. Do not use a block that has more modeling detail than you need, because higher-fidelity models slow down simulation and are more complex to parameterize.

Blocks like the Hybrid Excitation PMSM (DQ0) block model motors with fixed or parameter-dependent coefficients with a simple equivalent circuit. These models have an intermediate level of fidelity. Use this block to design controls or systems in actuation applications, such as robotics and mechatronics, and for efficiency predictions when saturation and harmonics only weakly impact losses. For more information about choosing the right block to model your motor at the right level of fidelity, see Choose Blocks to Model Motors or Actuators.

Equations

The block applies the Park transformation to its electrical defining equations, producing an expression for torque that is independent of rotor angle.

This equation defines the Park’s transformation:

P=23[cosθecos(θe−2π3)cos(θe+2π3)−sinθe−sin(θe−2π3)−sin(θe+2π3)0.50.50.5],

where θe is the electrical angle and is equal to Nθr. N is the number of pole pairs.

By applying the Park transformation to the first two electrical defining equations, the block produces equations that define its behavior:

vd=Rsid+Lddiddt+Lmfdifdt−N ω iqLqvq=Rsiq+Lqdiqdt+N ω (idLd+ψm+ifLmf)v0=Rsi0+L0di0dtvf=Rfif+Lfdifdt+32LmfdiddtT=32N[iq(idLd+ψm+ifLmf)−idiqLq]Jdωdt=T=TL−Bm ω

where:

  • vd, vq, and v0 are the d-axis, q-axis, and zero-sequence voltages:

    [vdvqv0]=P[vavbvc].

  • id, iq, and i0 are the d-axis, q-axis, and zero-sequence currents:

    [idiqi0]=P[iaibic].

  • Ld=Ls+Ms+32Lm is the stator d-axis inductance.

  • ω is the mechanical rotational speed.

  • Lq=Ls+Ms−32Lm is the stator q-axis inductance.

  • L0=Ls−2Ms is the stator zero-sequence inductance.

  • T is the rotor torque. In the Hybrid Excitation PMSM (DQ0) block, the torque flows from port C, which represents the machine case, to port R, which represents the machine rotor.

  • J is the rotor inertia.

  • TL is the load torque.

  • Bm is the rotor damping.

Model Thermal Effects

You can expose the thermal ports to model the effects of losses that convert power to heat. To expose the thermal ports, set the Modeling option parameter to one of these values:

  • No thermal port — The block contains the electrical conserving ports associated with the stator dq0 quantities but does not contain thermal ports.

  • Show thermal port — The block contains the electrical conserving ports associated with the stator dq0 quantities and the thermal conserving ports for the stator and for the rotor.

For more information about using thermal ports in actuator blocks, see Simulating Thermal Effects in Rotational and Translational Actuators.

Variables

To set the priority and initial target values for the block variables before simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. You can specify nominal values using different sources, including the Nominal Values section in the block dialog box or Property Inspector. For more information, see System Scaling by Nominal Values.

Ports

Conserving

expand all

Note

The d, q, and 0 ports are electrical conserving ports that represent three‑phase quantities expressed in the rotating reference (dq0) frame. Connecting these ports to components outside the dq0 domain requires appropriate transformations to avoid modeling inconsistencies.

Electrical conserving port associated with the d-axis component.

Electrical conserving port associated with the q-axis component.

Electrical conserving port associated with the zero-sequence component.

Dependencies

To enable this port, set Zero sequence to Include.

Mechanical rotational conserving port associated with the machine rotor.

Mechanical rotational conserving port associated with the machine case.

Electrical conserving port associated with the positive terminal of the field winding.

Electrical conserving port associated with the negative terminal of the field winding.

Thermal conserving port associated with the rotor.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Thermal conserving port associated with the stator windings.

Dependencies

To enable this port, set Modeling option to Show thermal port.

Parameters

expand all

Option to enable the thermal ports of the block and model the effects of generated heat and motor temperature.

Main

Select the modeling fidelity:

  • Constant Ld, Lq, Lmf, Lf, and PM — The Ld, Lq, Lmf, Lf, and PM values are constant. You define these values by specifying their respective parameters.

  • Tabulated Ld, Lq, Lmf, Lf, and PM — The block computes the Ld, Lq, Lmf, Lf, and PM values at each time step during the simulation from DQ and field currents lookup tables:

    Ld=f1(id,iq,if)Lq=f2(id,iq,if)Lmf=f3(id,iq,if)λPM=f4(id,iq,if)Lf=f5(if)

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0.

Number of permanent magnet pole pairs on the rotor.

Peak permanent magnet flux linkage for each of the stator windings.

If you set this parameter to 0, this block operates as a magnet-free synchronous machine.

Dependencies

To enable this parameter, set Modeling fidelity to Constant Ld, Lq, Lmf, Lf, and PM.

Parameterization option for the stator.

Direct-axis inductance of the machine stator.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Constant Ld, Lq, Lmf, Lf, and PM.

Quadrature-axis inductance of the machine stator.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Constant Ld, Lq, Lmf, Lf, and PM.

Direct-axis current vector.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Quadrature-axis current vector.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Excitation current vector.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Lookup table to calculate the stator d-axis inductance as a function of the d-axis, q-axis, and excitation currents.

The first dimension of this matrix must be equal to the number of columns of the Direct-axis current vector, iD parameter. The second dimension of this matrix must be equal to the number of columns of the Quadrature-axis current vector, iQ parameter. The third dimension of this matrix must be equal to the number of columns of the Excitation current vector, iF parameter.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Lookup table to calculate the stator q-axis inductance as a function of the d-axis, q-axis, and excitation currents.

The first dimension of this matrix must be equal to the number of columns of the Direct-axis current vector, iD parameter. The second dimension of this matrix must be equal to the number of columns of the Quadrature-axis current vector, iQ parameter. The third dimension of this matrix must be equal to the number of columns of the Excitation current vector, iF parameter.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Mutual field armature inductance as a function of the d-axis, q-axis, and excitation currents.

The first dimension of this matrix must be equal to the number of columns of the Direct-axis current vector, iD parameter. The second dimension of this matrix must be equal to the number of columns of the Quadrature-axis current vector, iQ parameter. The third dimension of this matrix must be equal to the number of columns of the Excitation current vector, iF parameter.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Permanent magnet flux linkage as a function of the d-axis, q-axis, and excitation currents.

The first dimension of this matrix must be equal to the number of columns of the Direct-axis current vector, iD parameter. The second dimension of this matrix must be equal to the number of columns of the Quadrature-axis current vector, iQ parameter. The third dimension of this matrix must be equal to the number of columns of the Excitation current vector, iF parameter.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Vector of field winding inductances as a function of the excitation current. The length of this vector must be equal to the length of the Excitation current vector, iF parameter.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and Modeling fidelity to Tabulated Ld, Lq, Lmf, Lf, and PM.

Zero-axis inductance of the machine stator.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq and L0 and Zero sequence to Include.

Average self-inductance of the three stator windings.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ls, Lm, and Ms.

Fluctuation in the self-inductance and mutual inductance of the stator windings, with respect to the rotor angle.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ls, Lm, and Ms.

Average mutual inductance between the stator windings.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ls, Lm, and Ms.

Inductance of the field winding.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and the Modeling fidelity parameter to Constant Ld, Lq, Lmf, Lf, and PM. Alternatively, set Stator parameterization to Specify Ls, Lm, and Ms.

Armature-field mutual inductance.

Dependencies

To enable this parameter, set Stator parameterization to Specify Ld, Lq, and L0 and the Modeling fidelity parameter to Constant Ld, Lq, Lmf, Lf, and PM. Alternatively, set Stator parameterization to Specify Ls, Lm, and Ms.

Resistance of each of the stator windings.

Resistance of the field winding.

Option to include or exclude zero-sequence terms.

  • Include — Include zero-sequence terms. To prioritize model fidelity, use this default setting. Using this option:

  • Exclude — Exclude zero-sequence terms. To prioritize simulation speed for desktop simulation or real-time deployment, select this option.

Mechanical

Inertia of the rotor that attaches to the mechanical rotational port R.

Rotary damping.

Thermal

Temperature at which the block quotes the stator resistance.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

Temperature at which the block quotes the permanent magnet flux linkage.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

Coefficient α in the equation relating resistance to temperature, as described in Thermal Model for Actuator Blocks. The default value is for copper.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

Fractional rate of change of permanent magnet flux density with temperature. The block uses this value to linearly reduce the torque and induced back EMF as the temperature rises.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

Thermal mass for each of the stator windings. The thermal mass is the energy required to raise the temperature of the stator windings by one degree.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

Thermal mass of the rotor. The thermal mass is the energy required to raise the temperature of the rotor by one degree.

Dependencies

To enable this parameter, set Modeling option to Show thermal port.

References

[1] Kundur, Prabha. Power System Stability and Control. New York: McGraw‑Hill, 1993.

[2] Anderson, Paul M. Analysis of Faulted Power Systems. Hoboken, NJ: Wiley-IEEE Press, 1995.

[3] Mbayed, Rachid. Contribution to the Control of the Hybrid Excitation Synchronous Machine for Embedded Applications. PhD diss., Université de Cergy-Pontoise, 2012.

[4] Luo, Xiaodong, and Thomas A. Lipo. “A Synchronous/Permanent Magnet Hybrid AC Machine.” IEEE Transactions of Energy Conversion. Vol. 15, No 2 (2000), pp. 203–210.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2026b