The temperature control system is increasingly playing an important role in industrial production. Recently, lots of research have been investigated for the temperature control system based on various control strategies. The temperature control system based on the Pan-Boolean algebra PID is proposed in this paper. The new algorithm based on the Pan-Boolean algebra PID can improve the performance of the system. Also, it’s fit for the complicated variable temperature control system. The simulation results show that the validity of the proposed strategy is more effective to control temperature.