Zero-Crossing Detection Frequency Estimator Method Combined with a Kalman Filter for Non-ideal Power Grid