Control Method of System Voltage and Wattless Current by Means of Logic Circuit