The invention provides a control method of a mixed flow electromagnetic valve. The control method is characterized by comprising the following steps of 1, initializing; 2, inputting a water outlet temperature T; 3, detecting whether equipment has a fault or not; 4, conducting the electromagnetic valve; 5, detecting T1, T2, 1 and v2; 6, calculating a rotation angle theta of a valve core; 7, rotating the valve core to a designated position; 8, detecting whether the equipment has the fault or not; 9, making water; 10, cutting off the power of the electromagnetic valve; 11, rotating the valve coreto an initial position, and returning to the step 2; 12, cutting off the power of the electromagnetic valve; and 13, prompting the fault. The control method has the advantages that the control methodis safer and more convenient, the reliability is higher, the electromagnetic valve has a function of automatically controlling a switch in a fault state, the control accuracy is high, and a control result is more accurate and effective.