In this paperthe application of a digital PID control in the spectrum stabilization is introduced. The energy spectrum peak stabilization technique combines hardware and software technologyit sets the target peak values which meet the requirements as system reference peak valuesputting the deviation between the measured peak value and the reference peak in the running process of the system and digital PID algorithm together to adjust programmable gain amplifier to stabilize the peak. The experimental results show that the energy spectrum peak stabilization technique has the advantages of stabl...