.PLL.UsersGuide.Concept

Concept

Information

The phase locked loops (PLL) demonstrated in this library are intended to be used in power electronic inverters to synchronize with grid voltage, such as feeding power from solar panels, windmills or electrical energy storages like batteries to the grid, but also active line modules of frequency inverters for electric drives. Another application is the determination of rotor angle of a permanent magnet excited synchronous machine using a sin-cos-resolver. Problems arise when the grid voltage - either single phase or three phase - is distorted or imbalanced. The PLLs are based on the publications of Masoud Karimi-Ghartemani with some modifications described as follows.

In this library the representation of signals (i.e. AC voltages) is based on cosine: u(t) = û⋅cos(2πf⋅t + φ) where φ is the angle measured from the maximum of the cosine function to the origin.

Threephase voltages with positive sequence are defined as:
u1(t) = û⋅cos(2πf⋅t + φ - 0/3⋅π)
u2(t) = û⋅cos(2πf⋅t + φ - 2/3⋅π)
u3(t) = û⋅cos(2πf⋅t + φ - 4/3⋅π)

The Clarke - Parke - Transformation results in a space phasor u = ud + j⋅uq, i.e. the real axis is aligned with the d-axis.
To perform the Park - Transformation, the phasor has to be rotated by the angle ϑ measured from α-axis to d-axis:
ud + j⋅uq = (uα + j⋅uβ)⋅e-jϑ


Generated at 2025-05-05T18:20:13Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos