Text this: An advanced hybrid pre-filtering/in-loop-filtering based PLL under adverse grid conditions