Main Content

IM Controller

Internal torque-based, field-oriented controller for an induction motor with an optional outer-loop speed controller

  • Library:
  • Powertrain Blockset / Propulsion / Electric Motor Controllers

  • IM Controller block

Description

The IM Controller block implements an internal torque-based, field-oriented controller for an induction motor (IM) with an optional outer-loop speed controller. The torque control implements a strategy to control the motor flux. You can specify either speed or torque control.

The IM Controller implements equations for speed control, torque determination, regulators, transforms, and motors.

The figure illustrates the information flow in the block.

The block implements equations that use these variables.

ω

Rotor speed

ω*

Rotor speed command

T*

Torque command

id

i*d

d-axis current

d-axis current command

iq

i*q

q-axis current

q-axis current command

vd,

v*d

d-axis voltage

d-axis voltage command

vq

v*q

q-axis voltage

q-axis voltage command

va, vb, vc

Stator phase a, b, c voltages

ia, ib, ic

Stator phase a, b, c currents

Speed Controller

To implement the speed controller, select the Control Type parameter Speed Control. If you select the Control Type parameter Torque Control, the block does not implement the speed controller.

The speed controller determines the torque command by implementing a state filter, and calculating the feedforward and feedback commands. If you do not implement the speed controller, input a torque command to the IM Controller block.

State Filter

The state filter is a low-pass filter that generates the acceleration command based on the speed command. On the Speed Controller tab:

  • To make the speed-command lag time negligible, specify a Bandwidth of the state filter parameter.

  • To calculate a Speed regulation time constant, Ksf gain based on the state filter bandwidth, select Calculate Speed Regulator Gains.

The discrete form of characteristic equation is given by:

z+KsfTsm1

The filter calculates the gain using this equation.

Ksf=1exp(Tsm2πEVsf)Tsm

The equation uses these variables.

EVsf

Bandwidth of the speed command filter

Tsm

Motion controller sample time

Ksf

Speed regulator time constant

State Feedback

To generate the state feedback torque, the block uses the filtered speed error signal from the state filter. The feedback torque calculation also requires gains for speed regulator.

On the Speed Controller tab, select Calculate Speed Regulator Gains to compute:

  • Proportional gain, ba

  • Angular gain, Ksa

  • Rotational gain, Kisa

For the gain calculations, the block uses the inertia from the Physical inertia, viscous damping, static friction parameter value on the Motor Parameter tab.

The gains for the state feedback are calculated using these equations.

CalculationEquations
Discrete forms of characteristic equation

z3+(3Jp+Tsba+ Ts2Ksa+Ts3Kisa)Jpz2+(3Jp 2Tsba Ts2Ksa)Jpz+Jp+TsbaJp

(zp1)(zp2)(zp3)=z3+(p1+p2+p3)z2+(p1p2+p2p3+p13)z2p1p2p3

Speed regulator proportional gain

ba=JpJpp1p2p3Tsm

Speed regulator integral gain

Ksa=Jp(p1p2+p2p3+p3p1)3Jp+2baTsmTsm2

Speed regulator double integral gain

Kisa=Jp(p1+p2+p3)+3JpbaTsmKsaTsm2Tsm3

The equations use these variables.

P

Motor pole pairs

ba

Speed regulator proportional gain

Ksa

Speed regulator integral gain

Kisa

Speed regulator double integral gain

Jp

Motor inertia

Tsm

Motion controller sample time

Command Feedforward

To generate the state feedforward torque, the block uses the filtered speed and acceleration from the state filter. Also, the feedforward torque calculation uses the inertia, viscous damping, and static friction. To achieve zero tracking error, the torque command is the sum of the feedforward and feedback torque commands.

Selecting Calculate Speed Regulator Gains on the Speed Controller tab updates the inertia, viscous damping, and static friction with the Physical inertia, viscous damping, static friction parameter values on the Motor Parameter tab.

The feedforward torque command uses this equation.

Tcmd_ff= Jpω˙m+Fvωm+Fs ωm|ωm|

The equation uses these variables.

Jp

Motor inertia

Tcmd_ff

Torque command feedforward

Fs

Static friction torque constant

Fv

Viscous friction torque constant

Fs

Static friction torque constant

ωm

Rotor mechanical speed

Torque Determination

The block uses a quadrature current to determine the base speed and the current commands. The motor ratings determine the rated electrical speed.

CalculationEquations
Current commands

iqref=Tcmdisq_0P(L2mLr)

If |ωe|ωrated
		idref= isd_0	
Else
		idref= isd_0|ωe|
End
Inductance Lr=Llr+LmLs=Lls+Lm

The equations use these variables.

idref

d-axis reference current

iqref

q-axis reference current

isd_0

d-axis rated current

isq_0

q-axis rated current

ωe

Rotor electrical speed

ωrated

Rated electrical speed

Llr

Rotor leaking inductance

Lr

Rotor winding inductance

Lls

Stator leaking inductance

Ls

Stator winding inductance

Lm

Motor magnetizing inductance

P

Motor pole pairs

Tcmd

Commanded motor maximum torque

Current Regulators

The block regulates the current with an anti-windup feature. Classic proportional-integrator (PI) current regulators do not consider the d-axis and q-axis coupling or the back-electromagnetic force (EMF) coupling. As a result, transient performance deteriorates. To account for the coupling, the block implements the complex vector current regulator (CVCR) in the scalar format of the rotor reference frame. The CVCR decouples:

  • d-axis and q-axis current cross-coupling

  • Back-EMF cross-coupling

The current frequency response is a first-order system, with a bandwidth of EVcurrent.

The block implements these equations.

CalculationEquations
Motor voltage, in the stator reference frameσ=1L2mLsLrvsd=Rsisd+σLsdisddt+LmLrdλrddtPωmσLsisqvsq=Rsisq+σLsdisqdt+ωdLmLrdλrddt+PωmσLsisd
Current regulator gainsωb=2πEVcurrentKp=σLdωbKi=Rsωb
Transfer functionsididref= ωbs+ωbiqiqref= ωbs+ωb

The equations use these variables.

EVcurrent

Current regulator bandwidth

id

d-axis current

iq

q-axis current

isq

Stator q-axis current

isd

Stator d-axis current

vsd

Stator d-axis voltage

vsq

Stator q-axis voltage

Kp

Current regulator d-axis gain

Ki

Current regulator integrator gain

Ls

Stator winding inductance

Lm

Motor magnetizing inductance

Lr

Rotor winding inductance

Rs

Stator phase winding resistance

λrd

Rotor d-axis magnetic flux

σ

Leakage factor

p

Motor pole pairs

Transforms

To calculate the voltages and currents in balanced three-phase (a, b) quantities, quadrature two-phase (α, β) quantities, and rotating (d, q) reference frames, the block uses the Clarke and Park Transforms.

In the transform equations.

ωe=Pωmdθedt= ωe

TransformDescriptionEquations

Clarke

Converts balanced three-phase quantities (a, b) into balanced two-phase quadrature quantities (α, β).

xα= 23xa 13xb 13xcxβ= 32xb 32xc

Park

Converts balanced two-phase orthogonal stationary quantities (α, β) into an orthogonal rotating reference frame (d, q).

xd= xαcosθe+ xβsinθexq= xαsinθe+ xβcosθe

Inverse Clarke

Converts balanced two-phase quadrature quantities (α, β) into balanced three-phase quantities (a, b).

xa= xaxb= 12xα+ 32xβxc= 12xα 32xβ

Inverse Park

Converts an orthogonal rotating reference frame (d, q) into balanced two-phase orthogonal stationary quantities (α, β).

xα= xdcosθe xqsinθexβ= xdsinθe+ xqcosθe

The transforms use these variables.

ωm

Rotor mechanical speed

P

Motor pole pairs

ωe

Rotor electrical speed

Θe

Rotor electrical angle

x

Phase current or voltage

Motor

The block uses the phase currents and phase voltages to estimate the DC bus current. Positive current indicates battery discharge. Negative current indicates battery charge. The block uses these equations.

Load power

LdPwr=va ia+ vb ib+ vc ic

Source power

SrcPwr= LdPwr+PwrLoss

DC bus current

ibus= SrcPwrvbus

Estimated rotor torque

MtrTrqest=PλrdisqLmLr

Power loss for single efficiency source to load

PwrLoss=100EffEffLdPwr

Power loss for single efficiency load to source

PwrLoss=100Eff100|LdPwr|

Power loss for tabulated efficiency

PwrLoss= f(ωm,MtrTrqest)

The equations use these variables.

va, vb, vc

Stator phase a, b, c voltages

vbus

Estimated DC bus voltage

ia, ib, ic

Stator phase a, b, c currents

ibus

Estimated DC bus current

Eff

Overall inverter efficiency

ωm

Rotor mechanical speed

Lr

Rotor winding inductance

Lm

Motor magnetizing inductance

λrd

Rotor d-axis magnetic flux

isq

q-axis current

P

Motor pole pairs

Electrical Losses

To specify the electrical losses, on the Electrical Losses tab, for Parameterize losses by, select one of these options.

SettingBlock Implementation
Single efficiency measurement

Electrical loss calculated using a constant value for inverter efficiency.

Tabulated loss data

Electrical loss calculated as a function of motor speeds and load torques.

Tabulated efficiency data

Electrical loss calculated using inverter efficiency that is a function of motor speeds and load torques.

  • Converts the efficiency values you provide into losses and uses the tabulated losses for simulation.

  • Ignores efficiency values you provide for zero speed or zero torque. Losses are assumed zero when either torque or speed is zero.

  • Uses linear interpolation to determine losses. Provide tabulated data for low speeds and low torques, as required, to get the desired level of accuracy for lower power conditions.

  • Does not extrapolate loss values for speed and torque magnitudes that exceed the range of the table.

For best practice, use Tabulated loss data instead of Tabulated efficiency data:

  • Efficiency becomes ill defined for zero speed or zero torque.

  • You can account for fixed losses that are still present for zero speed or torque.

Ports

Input

expand all

Rotor mechanical speed command, ω*m, in rad/s.

Dependencies

To create this port, select Speed Control for the Control Type parameter.

Torque command, T*, in N·m.

Dependencies

To create this port, select Torque Control for the Control Type parameter.

DC bus voltage vbus, in V.

Stator current phase a, ia, in A.

Stator current phase b, ib, in A.

Rotor mechanical speed, ωm, in rad/s.

Output

expand all

Bus signal containing these block calculations.

SignalDescriptionUnits

SrcPwr

Source power

W

LdPwr

Load power

W

PwrLoss

Power loss

W

MtrTrqEst

Estimated motor torque

N·m

Estimated DC bus current, ibus, in A.

Stator terminal voltages, Va, Vb, and Vc, in V.

Parameters

expand all

Block Options

If you select Torque Control, the block does not implement the speed controller.

This table summarizes the port configurations.

Port ConfigurationCreates Ports
Speed Control

SpdReq

Torque Control

TrqCmd

Motor

Stator phase winding resistance, Rs, in ohm.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Stator resistance, Rs

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

D and Q axis integral gain, Ki

Current Controller

Stator leakage inductance, Lls, in H.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Stator leakage inductance, Lls

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

D and Q axis proportional gain, Kp

D and Q axis integral gain, Ki

Current Controller

Rotor resistance, Rr, in ohm.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rotor resistance, Rr

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

Rotor leakage inductance, Llr, in H.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rotor leakage inductance, Llr

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

D and Q axis proportional gain, Kp

Current Controller

Rotor magnetizing inductance, Lm, in H.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rotor leakage inductance, Llr

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

D and Q axis proportional gain, Kp

Current Controller

Motor pole pairs, P.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rotor leakage inductance, Llr

Torque at rated current, Tem

Id and Iq Calculation

Mechanical properties of the motor:

  • Motor inertia, Fv, in kgm^2

  • Viscous friction torque constant, Fv, in N·m/(rad/s)

  • Static friction torque constant, Fs, in N·m

Dependencies

To enable this parameter, set the Control Type parameter to Speed Control.

For the gain calculations, the block uses the inertia from the Physical inertia, viscous damping, static friction parameter value that is on the Motor Parameters tab.

ParameterUsed to Derive
ParameterTab

Physical inertia, viscous damping, static friction, Mechanical

Proportional gain, ba

Angular gain, Ksa

Rotational gain, Kisa

Inertia compensation, Jcomp

Viscous damping compensation, Fv

Static friction, Fs

Speed Controller
Id and Iq Calculation

Motor-rated electrical frequency, Frate, in Hz.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rated synchronous speed, Frate

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

Motor-rated line-to-line voltage, Vrate, in V.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rated synchronous speed, Frate

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

Motor-rated slip speed, Srate, dimensionless.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Rated slip, Srate

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Id and Iq Calculation

Click to derive parameters.

Dependencies

On the Id and Iq Calculation tab, when you select Calculate Rated Stator Flux Current, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Id and Iq Calculation tabDependency
ParameterTab

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Rated synchronous speed, Frate

Rated line to line voltage RMS, Vrate

Rated slip, Srate

Id and Iq Calculation

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Derived d-axis rated current, in A.

Dependencies

On the Id and Iq Calculation tab, when you select Calculate Rated Stator Flux Current, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Id and Iq Calculation tabDependency
ParameterTab

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Rated synchronous speed, Frate

Rated line to line voltage RMS, Vrate

Rated slip, Srate

Id and Iq Calculation

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Derived q-axis rated current, in A.

Dependencies

On the Id and Iq Calculation tab, when you select Calculate Rated Stator Flux Current, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Id and Iq Calculation tabDependency
ParameterTab

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Rated synchronous speed, Frate

Rated line to line voltage RMS, Vrate

Rated slip, Srate

Id and Iq Calculation

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Torque at rated current, in N·m.

Dependencies

On the Id and Iq Calculation tab, when you select Calculate Rated Stator Flux Current, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Id and Iq Calculation tabDependency
ParameterTab

D-axis rated current, Isd_0

Q-axis rated current, Isq_0

Torque at rated current, Tem

Rated synchronous speed, Frate

Rated line to line voltage RMS, Vrate

Rated slip, Srate

Id and Iq Calculation

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Current Controller

Current regulator bandwidth, in Hz.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Bandwidth of the current regulator, EV_current

D and Q axis integral gain, Ki

D and Q axis proportional gain, Kp

Current Controller

Torque control sample time, in s.

Dependencies

This table summarizes the parameter dependencies.

ParameterUsed to Derive
ParameterTab

Sample time for the torque control, Tst

Speed regulation time constant, Ksf

Speed Controller

Click to derive parameters.

Dependencies

On the Current Controller tab, when you select Calculate Current Regulator Gains, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Current Controller tabDependency
ParameterTab

D and Q axis proportional gain, Kp

D and Q axis integral gain, Ki

Bandwidth of the current regulator, EV_current

Current Controller

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Derived proportional gain, in V/A.

Dependencies

On the Current Controller tab, when you select Calculate Current Regulator Gains, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Current Controller tabDependency
ParameterTab

D and Q axis proportional gain, Kp

D and Q axis integral gain, Ki

Bandwidth of the current regulator, EV_current

Current Controller

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Derived integral gain, in V/A*s.

Dependencies

On the Current Controller tab, when you select Calculate Current Regulator Gains, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Current Controller tabDependency
ParameterTab

D and Q axis proportional gain, Kp

D and Q axis integral gain, Ki

Bandwidth of the current regulator, EV_current

Current Controller

Stator resistance, Rs

Stator leakage inductance, Lls

Rotor resistance, Rr

Rotor leakage inductance, Llr

Rotor magnetizing inductance, Lm

Motor Parameters

Speed Controller

Motion controller bandwidth, in Hz. Set the first element of the vector to the desired cutoff frequency. Set the second and third elements of the vector to the higher-order cut off frequencies. You can set the value of the next element to 1/5 the value of the previous element. For example, if the desired cutoff frequency is 20 Hz, specify [20 4 0.8].

Dependencies

The parameter is enabled when the Control Type parameter is set to Speed Control.

ParameterUsed to Derive
ParameterTab

Bandwidth of the motion controller, EV_motion

Proportional gain, ba

Angular gain, Ksa

Rotational gain, Kisa

Speed Controller

State filter bandwidth, in Hz.

Dependencies

The parameter is enabled when the Control Type parameter is set to Speed Control.

ParameterUsed to Derive
ParameterTab

Bandwidth of the state filter, EV_sf

Speed regulation time constant, Ksf

Speed Controller

Click to derive parameters.

Dependencies

On the Speed Controller tab, when you select Calculate Speed Regulator Gains, the block calculates derived parameters. The table summarizes the derived parameters that depend on other block parameters.

Derived Parameter on Speed Controller tabDepends On
ParameterTab

Proportional gain, ba

ba=JpJpp1p2p3Tsm

Bandwidth of the motion controller, EV_motion

Bandwidth of the state filter, EV_sf

Speed Controller

Angular gain, Ksa

Ksa=Jp(p1p2+p2p3+p3p1)3Jp+2baTsmTsm2

Sample time for the torque control, Tst

Current Controller

Rotational gain, Kisa

Kisa=Jp(p1+p2+p3)+3JpbaTsmKsaTsm2Tsm3Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Speed regulation time constant, Ksf

Ksf=1exp(Tsm2πEVsf)Tsm

Inertia compensation, Jcomp

Jcomp = JpPhysical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Viscous damping compensation, Fv

Fv

Static friction, Fs

Fs

The equations use these variables.

P

Motor pole pairs

ba

Speed regulator proportional gain

Ksa

Speed regulator integral gain

Kisa

Speed regulator double integral gain

Ksf

Speed regulator time constant

Jp

Motor inertia

EVsf

State filter bandwidth

EVmotion

Motion controller bandwidth

Derived proportional gain, in N·m/(rad/s).

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Proportional gain, ba

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Bandwidth of the motion controller, EV_motion

Speed Controller

Derived angular gain, in N·m/rad.

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Angular gain, Ksa

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Bandwidth of the motion controller, EV_motion

Speed Controller

Derived rotational gain, in N·m/(rad*s).

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Rotational gain, Kisa

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Bandwidth of the motion controller, EV_motion

Speed Controller

Derived speed regulation time constant, in 1/s.

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Speed regulation time constant, Ksf

Sample time for the torque control, Tst

Current Controller

Bandwidth of the state filter, EV_sf

Speed Controller

Derived inertia compensation, in kg·m^2.

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Inertia compensation, Jcomp

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Viscous damping compensation, Fv

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters

Derived static friction, in N·m/(rad/s).

Dependencies

This table summarizes the parameter dependencies.

ParameterDependency
ParameterTab

Static friction, Fs

Physical inertia, viscous damping, static friction, Mechanical

Motor Parameters
Electrical Losses

SettingBlock Implementation
Single efficiency measurement

Electrical loss calculated using a constant value for inverter efficiency.

Tabulated loss data

Electrical loss calculated as a function of motor speeds and load torques.

Tabulated efficiency data

Electrical loss calculated using inverter efficiency that is a function of motor speeds and load torques.

  • Converts the efficiency values you provide into losses and uses the tabulated losses for simulation.

  • Ignores efficiency values you provide for zero speed or zero torque. Losses are assumed zero when either torque or speed is zero.

  • Uses linear interpolation to determine losses. Provide tabulated data for low speeds and low torques, as required, to get the desired level of accuracy for lower power conditions.

  • Does not extrapolate loss values for speed and torque magnitudes that exceed the range of the table.

For best practice, use Tabulated loss data instead of Tabulated efficiency data:

  • Efficiency becomes ill defined for zero speed or zero torque.

  • You can account for fixed losses that are still present for zero speed or torque.

Overall inverter efficiency, Eff, in %.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated loss data.

Speed breakpoints for lookup table when calculating losses, in rad/s.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated loss data.

Torque breakpoints for lookup table when calculating losses, in N·m.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated loss data.

Array of values for electrical losses as a function of M speeds and N torques, in W. Each value specifies the losses for a specific combination of speed and torque. The matrix size must match the dimensions defined by the speed and torque vectors.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated loss data.

Speed breakpoints for lookup table when calculating efficiency, in rad/s.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated efficiency data.

Torque breakpoints for lookup table when calculating efficiency, in N·m.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated efficiency data.

Array of efficiency as a function of M speeds and N torque, in %. Each value specifies the efficiency for a specific combination of speed and torque. The matrix size must match the dimensions defined by the speed and torque vectors.

The block ignores efficiency values for zero speed or zero torque. Losses are zero when either torque or speed is zero. The block uses linear interpolation.

To get the desired level of accuracy for lower power conditions, you can provide tabulated data for low speeds and low torques.

Dependencies

To enable this parameter, for Parameterize losses by, select Tabulated efficiency data.

References

[1] Lorenz, Robert D., Thomas Lipo, and Donald W. Novotny. “Motion control with induction motors.” Proceedings of the IEEE®, Vol. 82, Issue 8, August 1994, pp. 1215–1240.

[2] Shigeo Morimoto, Masayuka Sanada, Yoji Takeda. “Wide-speed operation of interior permanent magnet synchronous motors with high-performance current regulator.” IEEE Transactions on Industry Applications, Vol. 30, Issue 4, July/August 1994, pp. 920–926.

[3] Muyang Li. “Flux-Weakening Control for Permanent-Magnet Synchronous Motors Based on Z-Source Inverters.” Master’s Thesis, Marquette University, e-Publications@Marquette, Fall 2014.

[4] Briz, Fernando, Michael W. Degner, and Robert D. Lorenz. "Analysis and design of current regulators using complex vectors." IEEE Transactions on Industry Applications, Vol. 36, Issue 3, May/June 2000, pp. 817–825.

[5] Briz, Fernando, et al. "Current and flux regulation in field-weakening operation [of induction motors]."IEEE Transactions on Industry Applications, Vol. 37, Issue 1, Jan/Feb 2001, pp. 42–50.

Extended Capabilities

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

Introduced in R2017a