Text this: Study on Digital Phase-Locked Loop for Grid-connected Power Electronic Device