With the monochromatic and the directional capability of the laser, laser detection system is confidential in anti-jamming. Detection accuracy is improved significantly as the result of laser's good orientation ability. Sensitivity is enhanced as laser's high-brightness characteristic. With the development of laser technology and laser devices, laser detections are developed both in civilian and military areas. In the military field, laser detection system has been widely applied in various types of tactical missiles, the technique is more mature.Because photo detectors receive the backscattering echo signal of target in laser detection system, they are required sensitive enough to weak signal. With APD's salient features of high sensitivity, rapid response speed, high response frequency and low noise equivalent power, etc.; PIN is replaced by APD to improve sensitivity of laser detection system in recent years. The signal magnification is inadequate in laser detection system, the detector output is usually amplified by multistage amplifiers. And then the system noise includes detector noise and latter amplifiers noise. With its high internal gain, APD becomes the primary noise source of receiving system. This point can be attested by analyzing the transfer function of laser detection system receiver. To ensure the system detecting ability, APD noise must be mitigated as low as possible. According to a large number of experiments, the power signal-to-noise (SNR) and the best multiplication factor of APD are mostly affected by background radiation and temperature. In order to make APD operate at state of the best multiplication factor, the optimum bias must be selected due to the actual operating circumstance. Therefore, APD realtime compensation must be adopted.The existing APD compensation includes the constant false alarm rate compensation, the noise compensation and the temperature compensation. The features of these compensations are obtained by analyzing their operating principles. The constant false alarm rate compensation can't detect the pulse signal which comes randomly. Therefore real-time performance can't be realized. The noise compensation can meet the request of real-time performance. If it is used in the environment where background light is intense or changes acutely, there is a better effect. The temperature compensation can also achieve the real-time performance request. If it is used in the environment where temperature changes acutely, there is also a better effect. Aim at such problems, this paper presents that different APD real-time compensations should be adopt to adapt to different environments. The exiting temperature compensation adjusts output voltage by using variable resistance to regulate input voltage. Its structure is complex; the real-time performance is worse. In order to remedy these defects, a real-time temperature compensation which is based on switch on-off time of switching power supply is designed. Its feasibility and operating stability are confirmed by plate making and experiment.At last, the comparison experiments between the real-time noise compensation and the real-time temperature compensation is carried out in the environments where temperature is almost invariant and background light acutely changes from5lux to150lux . The result shows that the operating effect of the real-time noise compensation is better here, the noise minifies to a sixth of original noise. The comparison experiments between the real-time noise compensation and the real-time temperature compensation is carried out in darkroom where background light is 5lux and temperature almost rapidly changes from −20°C to 80°C. The result shows that the operating effect of the real-time temperature compensation is better here, the noise minifies to a seventh of original noise. Moreover, these methods can be applied to other type detection systems of weak photoelectric signal; they have high actual application value.