Dq0ToAbcTransform

class Dq0ToAbcTransform : public vslib::Component

Public Functions

inline  Dq0ToAbcTransform (std::string_view name, Component &parent, const uint64_t number_points=10 '000)

Creates the Dq0ToAbcTransform Component.

Parameters:
std::tuple<double, double, double> transform(const double d, const double q, const double zero, const double wt, const double offset = 0) noexcept

Performs d-q-0 to a-b-c transform from a dq0 rotating reference frame to three-phase (abc). Angular position of the rotating frame is given by input wt. By default, the a-phase to q-axis alignment is assumed but this can be modified with the manual offset parameter.

Parameters:
  • d – d value

  • q – q value

  • zero – zero value

  • wt – angle (in radians) between q and a

  • offset – Offset angle alignment (in radians): 0 is q alignment, pi/2 for d and a alignment

Returns:

Tuple of a, b, c values