In this paper,the artificial intelligence control technology is used in sewage treatment plants, we use fuzzy control method in the sewage treatment process, we use the dynamic fuzzy control in the water quality of the sewage treatment process parameters , on this basis, we completed the automatic control system software design, the upper control software we use the WinCC configuration ,the next bit control softwarewe use the STEP7 5.1. We use the object-oriented programming idea to improve the efficiency of automatic control software. We developed the application communication protocol between the upper and lower computer layer, the next crew and the host computer can run independently when they are not connected,when the communication connects again, you can pass the parameters of the system from each other to avoid the loss of valid data. The central control system monitors the plant process and equipment operation all the time, the remote control substitutes for the original analog console, it is important simulation parameters to trend display, allowing the operator to better control water quality.