Design of an advanced PLL for accurate phase angle extraction under grid voltage HIHs and DC offset. Issue 6 (26th April 2018)