This phase locked loop works in the synchronous reference frame, also with varying frequency.
The input u[1..2] is the α-β-representation of a
threephase signal (after performing the Clarke-transformation), or
the cosine and sine signal of an angle sensor.
The output y[1..2] shows the d-q-representation of
the input signal.