Frequency Control System with Digital Signal Processing Techniques