Abstract:To make the overhead crane positioning accurately and anti-swing quickly, this paper design a positioning and anti-swing controller based on PSO algorithm optimization PID parameter. Compile PSO algorithm procedures and the invoking procedures which link Matlab and Simulink in Matlab, combine with crane’s hanging weight system model in Simulink, and realize the PSO-PID control system of the hanging weight simulation. The simulation results show that the crane dolly can positioning accurately and the swing of hanging weight system can be restrained quickly and effectively. The simulation results prove that the controller is feasible and effective.