CCD dark current is an important index of CCD properties effect, which emerges temperature drift phenomenon with the increasing temperatures. Because of the increasing temperature, CCD noise will increase exponentially. A temperature control device is designed based on DSP and fuzzy PID theory, which is composed of core control chip DSP320F28335, temperature control chip Thermal Electronic Cooler and temperature collecting chip DS18B20. Experiments show that the system can collect temperature timely and adjust temperature effectively. At the same time the system reach predetermined temperature in 2 minutes and error range is about 0.1°C.