Research on Speed Loop PI Oscillation Detection Method