Automatic Power Factor Correction System