ABC Transformation
- class gem_controllers.stages.abc_transformation.AbcTransformation[source]
This class calculates the transformation from the dq-coordinate system to the abc-coordinatesystem for three-phase motors. Optionally, an advanced factor can be added to the angle to take the dead time of the inverter and the sampling time into account.
- __call__(state, reference)[source]
- Parameters
state (np.array) – state of the environment
reference (np.array) – voltage reference values
- Returns
reference values for the input voltages
- Return type
np.array
- _angle_advance(state)[source]
Multiply the advance factor with the speed and the sampling time to calculate the advance angle
- property advance_factor
Advance factor of the angle.
- property tau
Sampling time of the system.