soft4pes.control.modulation.common_mode_injection#

Common-mode injection for modulating signal.

Classes#

CommonModeInjection

Common-mode injection for modulating signal. The selected common-mode injection method

Module Contents#

class soft4pes.control.modulation.common_mode_injection.CommonModeInjection(mode='MinMax')[source]#

Bases: soft4pes.control.common.controller.Controller

Common-mode injection for modulating signal. The selected common-mode injection method computes a common-mode voltage component that is added to the three-phase modulating signal. Common-mode injection is applicable for carrier-based PWM schemes and for modulating-signal feedforward.

Available common-mode injection methods: - MinMax: Adds a common-mode component u_cm = -0.5 * (max(u_ref_abc) + min(u_ref_abc)) to the

modulating signal. For a two level converter, this method is equivalent to space-vector modulation (SVM).

Parameters:

mode (str, optional) – Common-mode injection method. Default is ‘MinMax’, which is the only available method.

mode[source]#

Common-mode injection method.

Type:

str

execute(sys, kTs)[source]#

Apply common-mode injection.

Parameters:
  • sys (system object) – The system model (not used).

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

Returns:

u_ref_abc_cm – Three-phase modulating signal with common-mode injection.

Return type:

3 x 1 ndarray