Abstract:The program was designed, according to the different engine operating conditions. though adjusting the PID parameters, the fast stabilization, collection and treatment of common rail pressure were realized. The measurement method combining high precision constant gate continuous measurement method with the quantized time delay method was designed, the error formula was calculated, the program design in complex programmable logic device(CPLD) was completed. The simulation shows that it can meet the design requirements.