Abstract:In an automotive lidar system, when an avalanche diode (APD) detects a weak light signal, its gain and sensitivity are affected by temperature shifts, which will cause distortion of the output signal, which will affect ranging accuracy, real-time performance and stability. This article designs this kind of APD driving circuit with temperature control and temperature compensation function. The temperature control module is composed of TEC cooler, TMP117 temperature and other devices. The temperature compensation module uses DS1841 chip. This design is based on temperature control, supplemented by temperature compensation. Due to the thermal inertia of the TEC, the temperature control mode cannot immediately bring the temperature to the set target value, and the temperature compensation mode will be triggered to automatically compensate for the appropriate APD bias to achieve the temperature compensation purpose. Through experimental tests, the control accuracy of the temperature control mode is ±0.3℃, the relative error of the bias voltage in the temperature compensation mode is less than 0.5%, and the accuracy and stability of distance measurement are significantly improved.