Considering that the neural network of Proportion Integration Differentiation (PID)can adjust online self-learning and has no static errors
it proposed an improved algorithm for classification of errors by analyzing the defects of the control method. Simulation was done for this improved algorithm. The results indicate that the improved algorithm can improve the performance of the network effectively.