soft4pes.control.lin.im_foc_curr_ctr#

Field-oriented control (FOC) for the current control of an induction machine (IM).

Classes#

FOCCurrCtr

Field-oriented control (FOC) for the current control of a induction machine (IM).

Module Contents#

class soft4pes.control.lin.im_foc_curr_ctr.FOCCurrCtr(sys)[source]#

Bases: soft4pes.control.common.controller.Controller

Field-oriented control (FOC) for the current control of a induction machine (IM).

Parameters:

sys (object) – System model.

iS_ii_dq[source]#

Integrator state of the PI-controller.

Type:

ndarray (2,)

sys[source]#

System model.

Type:

object

ctr_pars[source]#

Controller parameters.

Type:

SimpleNamespace

set_sampling_interval(Ts)[source]#

Set the sampling interval and compute controller parameters.

Magnitude optimum criterion based on: J. W. Umland and M. Safiuddin, “Magnitude and symmetric optimum criterion for the design of linear control systems: what is it and how does it compare with the others?,” in IEEE Transactions on Industry Applications, vol. 26, no. 3, pp. 489-497, May-June 1990, doi: 10.1109/28.55967

Parameters:

Ts (float) – Sampling interval [s].

execute(sys, kTs)[source]#

Execute the Current Controller (CC) and save the controller data.

Parameters:
  • sys (object) – System model.

  • kTs (float) – Current discrete time instant [s].

Returns:

Three-phase modulating signal.

Return type:

1 x 3 ndarray of floats