The technique of Sine Pulse Width Modulation (SPWM) which has fine dynamic characteristic can increase the motor efficiency obviously,so it has been used in the motor control widely. A closed-loop temperature control system based on the Digital Signal Processor (DSP) SM320LF2407A is introduced in this paper,and the variable voltage control strategy has been implemented with SPWM. The results on the tests show that the temperature control system with SPWM has many merits such as simple realization,good running performance and safety.