PMSM Torque Estimator

Estimate electromechanical torque and power

  • Library:
  • Motor Control Blockset / Controls / Control Reference

Description

The PMSM Torque Estimator block generates electromechanical torque and power estimates to enable field-oriented control of Permanent Magnet Synchronous Motor (PMSM).

The block accepts feedback values of d- and q-axis current and mechanical speed as inputs.

Equations

If you select Per-Unit (PU) in the Input units parameter, the block converts the inputs to SI units before performing any computation. After calculating the output, the block converts the output back to per unit values.

These equations describe the computation of electromechanical torque and power estimates by the block.

Te=32p{λmIq+(LdLq)IdIq}

Pe=Te×ωm

where:

  • Ld and Lq are the d-axis and q-axis stator winding inductances (Henry).

  • Id and Iq are the d-axis and q-axis current (Amperes).

  • λm is the permanent magnet flux linkage (Weber).

  • p is the number of pole pairs available in the motor.

  • ωm is the mechanical speed of the rotor (Radians/ sec).

Ports

Input

expand all

Current along the d-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Current along the q-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Mechanical speed of the rotor.

Data Types: single | double | fixed point

Output

expand all

Electromechanical torque of the rotor.

Data Types: single | double | fixed point

Electromechanical power of the rotor.

Data Types: single | double | fixed point

Parameters

expand all

Number of pole pairs available in the motor.

Stator winding inductance (henry) along the direct-axis of the rotating dq reference frame.

Stator winding inductance (henry) along the quadrature-axis of the rotating dq reference frame.

Peak permanent magnet flux linkage (weber).

Unit of the input values.

Base voltage (in Volts) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Base current (in Amperes) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Base speed (in rpm) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Extended Capabilities

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

Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.

Introduced in R2020a