# SynRM FeedForward Control

**Libraries:**

Motor Control Blockset /
Controls /
Control Reference

## Description

The SynRM FeedForward Control block decouples *d*-axis
and *q*-axis current controls and generates the corresponding feedforward
voltage gains to enable field-oriented control of a synchronous reluctance motor (SynRM)
and permanent magnet-assisted synchronous reluctance motor (PMaSynRM).

You can input feedback values of *d*-axis and *q*-axis
currents and the mechanical speed of the rotor.

The block generates feedforward gains from the specified motor parameters using one of these methods:

`Linear model with lumped parameters`

— Lumped parameters with*d*-axis and*q*-axis stator winding inductances and permanent magnet flux linkage.`Non-linear model with D,Q-flux linkage LUTs`

— Nonlinear model with*d*-axis and*q*-axis flux linkage lookup tables.`Non-linear model with Ld and Lq LUTs`

— Nonlinear model with*d*-axis and*q*-axis stator winding inductance lookup tables.`Non-linear model with Ld, Lq, and FluxPM LUTs`

— Nonlinear model with*d*-axis and*q*-axis stator winding inductances and permanent magnet flux linkage lookup tables.`Input port based Ld and Lq`

—*d*-axis and*q*-axis stator winding inductance values provided using separate input ports.`Input port based Ld, Lq, and FluxPM`

—*d*-axis and*q*-axis stator winding inductances and permanent magnet flux linkage values provided using separate input ports.

In addition, you can use the **Vsat input method** parameter to
configure the block to accept a fixed saturation voltage through the **Output
saturation (V)** parameter or a variable saturation voltage through a separate
input port **V _{sat}
**.

### Equations

If you select `Per-Unit (PU)`

in the **Input
units** parameter, the block scales down the internal parameters to match
the per-unit scale by default. You can also configure the block to convert the inputs to
SI units before performing any computation and convert them back to per-unit values
after calculating the output by using the **Allow scaled-down motor parameters
with CodeGen (higher precision with Fixed-Point data type)**
parameter.

These equations describe how the block computes feedforward gain.

**Note**

The following equations for SynRM and PMaSynRM follow a
*d*-*q* axis notation that is identical to
that of a permanent magnet synchronous motor (PMSM).

$${\omega}_{e}=p{\omega}_{m}$$

For both SynRM and PMaSynRM:

${V}_{d}^{FF}=-{\omega}_{\text{e}}{\psi}_{\text{q}}=-{\omega}_{\text{e}}{L}_{\text{q}}{I}_{\text{q}}$

For SynRM:

${V}_{q}^{FF}={\omega}_{\text{e}}{\psi}_{\text{d}}={\omega}_{\text{e}}{L}_{\text{d}}{I}_{\text{d}}$

For PMSynRM:

${V}_{q}^{FF}={\omega}_{\text{e}}{\psi}_{\text{d}}={\omega}_{\text{e}}{L}_{\text{d}}{I}_{\text{d}}+{\omega}_{\text{e}}{\psi}_{\text{m}}$

where:

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

${\omega}_{e}$ is the electrical speed corresponding to frequency of stator voltages (rad/s).

${L}_{\text{d}}$ and ${L}_{\text{q}}$ are the

*d*-axis and*q*-axis stator winding inductances (henries).${I}_{\text{d}}$ and ${I}_{\text{q}}$ are the

*d*-axis and*q*-axis currents (amperes).*ψ*and_{d}*ψ*are the magnetic fluxes along the_{q}*d-*and*q*-axes (weber).*ψ*is the permanent magnet flux linkage (weber)._{m}

For a detailed set of equations and assumptions that Motor Control Blockset™ uses for a synchronous reluctance machine, see Synchronous Reluctance Machine (Simscape Electrical).

## Examples

## Ports

### Input

### Output

## Parameters

## Extended Capabilities

## Version History

**Introduced in R2024a**