LUT based PMSM Control Reference
Generate lookup-table-based control reference currents for field oriented control of permanent magnet synchronous motor
- Library:
Motor Control Blockset / Controls / Control Reference
Description
The LUT based PMSM Control Reference block generates the d-axis and q-axis reference currents for field-oriented control and field-weakening control of a permanent magnet synchronous motor (PMSM). The block accepts reference torque and feedback mechanical speed and outputs the corresponding reference current values.
The block uses id(T,ω) and iq(T,ω) lookup tables (LUTs) to generate reference current values. Depending on the input method you use to specify the motor parameters, the block can either generate LUTs or use the data you provide.
You can specify the motor parameters using one of these methods.
Lumped parameters with Ld, Lq, and FluxPM
This method uses the lumped parameters to compute the id and iq LUTs. The block obtains id and iq for the given ω and T inputs by solving the equations associated with the following curves.
Maximum torque per ampere (MTPA) line (IPMSM),
MTPA line (SPMSM), id = 0.
Constant torque trajectory
Current limit curve
Voltage limit curve
When the motor is operating within the voltage constraints, the block solves for the intersection of MTPA line and constant torque trajectory.
When the motor is operating beyond the voltage constraints, the block solves for the intersection of voltage constraint curve and the constant torque trajectory.
After computing the id and iq tables from a grid of ω and T values, the block uses interpolation to find idref and iqref for any ω and T inputs that lie within the range of table values. The table values are clipped for ω and T values beyond the boundaries.
Nonlinear model with d-axis and q-axis stator winding inductances and permanent magnet flux linkage lookup tables
This method uses an approach similar to the previous method, except that the block updates the values for Ld(id,iq), Lq(id,iq), and FluxPM(id,iq) with every iteration it computes id and iq. The block iterates these computations until the id and iq values converge.
Nonlinear model with d-axis and q-axis flux linkage lookup tables
Use this option when you want to manually provide the id(T,ω) and iq(T,ω) tables. Typically, you obtain these tables through simulations or dyno tests. You can also generate these tables using the
mcbGenerateTables
function provided with the Motor Control Blockset™ software.
For a detailed set of equations and assumptions that Motor Control Blockset uses for a PMSM, see Mathematical Model of PMSM.
Ports
Input
Output
Parameters
Model Examples
Extended Capabilities
Version History
Introduced in R2022b