A new method to adjust weights of BP network is proposed. The new model is based on the weight adjustments of traditional BP algorithm by tuning the structure and connection weights of BP network and improved particle swarm optimization simultaneously. The result shows that the improved algorithm can not only overcome the limitations in both the slow convergence and the local extreme values of traditional BP algorithm,but also improve the precision of the result and the learning ability greatly.