In the photoelectric detection technology,Often encountered in the detection and control of temperature.If the use of photovoltaic cells,Photoresistor,When the photodiode as a measurement of original,Because temperature of the light current or sensitive resistor, Therefore, if the requirements of high accuracy,Need to build circuit for temperature compensation on many occasions,For temperature control,Or independent testing to the temperature signal into the microcontroller,Through the system mathematical model associated with the temperature and temperature compensation of software,The last one is common ways.