DESIGN AND SIMULATION OF AUTOMATIC POWER FACTOR CORRECTION FOR INDUSTRY APPLICATION