Application of Phasor Measurement Method to Frequency Detection of Power System