The hardware and software of humidifying equipment have been designed for ship compressor on the base of ultrasonic and Atmel 89C 51,and intelligent control of humidifying equipment has been also achieved.The system can be operated by manual and automatic control method.The number of working vibration generator and their orientation can be controlled by relay,and this control method can optimize flow field of air inflow and satisfy the actual needs of the marine diesel engine well.