To avoid condition of setting the phase synchronism during starting PMSM Motor again (For quick operation), phase angle needs to be zero while turning the PMSM off..
No, it's not necessary to zero the rotor possition before turning the drive off. You can use an absolute position sensor (i.e. resolver or absolute encoder) or implement a position estimator for sensorless control.
Thank you Lukasz Niewiara for your response but to implement initial angle auto adjustment feature in my variable frequency drive , I need to find initial rotor angle position to avoid harm and repel of shaft situation for angle adjustment in automation plants.
Thank you brother, But I am using incremental encoder so system is closed loop. And I know Extended Kalman , Six Step Pulse Methods Theoretically but Practically it is next to impossible Because of their Low Bandwidth Requirement (Higher Time Requirement) and another reason is because you get one fixed angle value as a reference but whenever I turnoff my motor, it will change position next time , so rotor shaft position is not fixed. Even Current minima value is same for 6 different positions in my 8 pole PMSM Motors. So need to figure out the method which can solve this problem within 6 ms (in 18ticks) and with different rotor positions and one main problem is that I can not afford to adjust initial rotor angle zero by rotating my shaft anticlockwise, because it can cause dangerous conditions in automation.