Main Content

VbyF Controller

R2026b

Implement V/F (open-loop or scalar) control for three-phase motors

Since R2023b

Libraries:
Motor Control Blockset / Control / Induction Machine / Controllers
Motor Control Blockset / Control / Synchronous Machine / Controllers

Description

The VbyF Controller block implements V/F (open-loop or scalar) control for a three-phase permanent magnet synchronous motor (PMSM) or an AC induction motor (ACIM).

You can specify reference speed, motor rated speed, number of motor pole pairs, motor rated voltage, minimum block output voltage, and number of discrete time steps for initial ramp up via the block parameters dialog (default) or as input ports by setting the Parameters input method parameter to Input ports.

When you start up the motor, the block uses the NRamp input to identify the number of block samples that it needs to gradually ramp up the motor speed to the reference speed.

NRamp=TrampDiscretestepsize(s)

The block's output voltage amplitude varies according to the reference motor speed (ωref), while keeping the ratio of rated voltage to rated frequency constant.

Vabc_amplitude=  (Vratedfrated)fref=(Vratedωrated)ωref

where:

  • Vabc_amplitude is the amplitude of the output voltage Vabc.

  • Vrated is the amplitude of rated phase voltage of the motor.

  • frated is the rated frequency of the motor.

  • fref is the reference frequency of the motor.

  • ωrated is the rated speed of the motor.

  • ωref is the reference speed of the motor.

The V/F control technique does not require any feedback from the motor. This control technique ensures a constant stator magnetic flux by keeping the motor phase voltage proportional to its frequency. For more information about this technique, see Open-Loop Motor Control.

Note

  • It is recommended that you use this block to start the motor and run it at lower speeds and then switch to other control methods, such as field-oriented control (FOC), to operate the motor at higher speeds.

  • If you specify 16-bit fixed-point inputs, the block might not produce an accurate output due to insufficient resolution.

Examples

Ports

Input

expand all

Reference mechanical speed for V/F control.

Data Types: single | double | fixed point

Rated mechanical speed of the motor.

Dependencies

To enable this port, set Parameters input method to Input ports.

Data Types: single | double | fixed point

Number of pole pairs available in the three-phase motor.

Dependencies

To enable this port, set Parameters input method to Input ports.

Data Types: single | double | fixed point | uint | int

Amplitude (peak value) of the rated phase voltage of the motor corresponding to the rated speed of the motor.

Dependencies

To enable this port, set Parameters input method to Input ports.

Data Types: single | double | fixed point

Minimum amplitude (peak value) of the block output voltage that should be applied to the motor.

Dependencies

To enable this port, set Parameters input method to Input ports.

Data Types: single | double | fixed point

Number of discrete time steps used for initial ramp up of motor speed.

Dependencies

To enable this port, set Parameters input method to Input ports.

Data Types: uint

Signal that enables block outputs:

  • 1 — Enables block outputs.

  • 0 — Reset internal integrators.

Changing the Enable signal value from 1 to 0 stops the V/F control being implemented using internal integrators; however, the Vabc output of the block may retain the previously calculated value.

Data Types: single | double | fixed point

Output

expand all

Stator phase a, b, and c voltages that drive the motor.

Data Types: single | double | fixed point

Estimated rotor electrical position, in per-unit.

Dependencies

To enable this port, select the Output electrical position (PU) parameter.

Data Types: single | double | fixed point

Parameters

expand all

Units of the ωmref and ωmrated inputs.

Select Per unit based on dialog to use per-unit system for the two speed inputs. For more information about the per-unit system, see Per-Unit System.

Rated speed of the motor (in rpm) that the block uses in the per-unit computations. For more information about the per-unit system, see Per-Unit System.

Dependencies

To enable this parameter, set Speed unit to Per unit based on dialog.

The fixed time interval (in seconds) between two consecutive instances of block execution.

Method by which you provide motor parameters to the block.

  • Specify via dialog — Specify motor parameters using the block parameters dialog. The block exposes two input ports: ωmref and Enable.

  • Input ports — Provide motor parameters through input ports. The block exposes seven input ports: ωmref, ωmrated, Npp, Vrated, Vmin, NRamp, and Enable.

Rated mechanical speed of the motor, in RPM.

Dependencies

To enable this parameter, set Parameters input method to Specify via dialog.

Number of pole pairs in the three-phase motor.

Dependencies

To enable this parameter, set Parameters input method to Specify via dialog.

Amplitude (peak value) of the rated phase voltage of the motor corresponding to the rated speed, in volts.

Dependencies

To enable this parameter, set Parameters input method to Specify via dialog.

Minimum amplitude (peak value) of the block output voltage applied to the motor, in volts.

Dependencies

To enable this parameter, set Parameters input method to Specify via dialog.

Number of discrete time steps that the block uses for the initial ramp-up of motor speed at startup.

Dependencies

To enable this parameter, set Parameters input method to Specify via dialog.

Select this parameter to enable the θe output port, which provides the estimated rotor electrical position in per-unit.

Method that the block applies to limit the rate of change of the reference speed input.

  • Disabled — No speed reference limiting is applied.

  • Lowpass filter — The block applies an IIR lowpass filter to the reference speed input.

  • Acceleration limit — The block limits the rate of speed change to the value specified by the Acceleration limit (RPM/sample) parameter.

Since R2026b

Maximum allowable rate of change of the reference speed per sample. The unit of this parameter matches the unit selected in Speed unit.

Dependencies

To enable this parameter, set Reference speed limit mode to Acceleration limit.

Since R2026b

Coefficient of the IIR lowpass filter that the block applies to the reference speed input.

Dependencies

To enable this parameter, set Reference speed limit mode to Lowpass filter.

Extended Capabilities

expand all

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

Version History

Introduced in R2023b

expand all