Real Time Frequency Detection of Power System Based on Synchronized Phasor Measurement