Hazardous chemicals have the character of inflammability, explosion, toxicity and corrosion. Therefore, to design an efficient electromechanical feed control system instead of manual operation in the production and packaging process can reduce the risk greatly. In this paper, MATLAB software is used to establish a simulation model of an electromechanical feeding control system. Through simulation, the static and dynamic characteristics of the feeding system are tested, and a suitable correction device is selected to improve the performance of the system so as to obtain a satisfactory control scheme. The simulation model of a servo control system is established by an example, and the performance of the control system is analysed. The performance of the system is improved by PID correction, and the control system which meets the requirements of the design is obtained.