In the electro-hydraulic servo control system, there are some problems, such as low position control accuracy, uncontrollable speed, speed impact, and asymmetric control due to the asymmetry of hydraulic cylinder. To solve the above problems, this paper proposes a Fuzzy PID control algorithm with load force compensation based on improved PSO optimization. This improved particle swarm optimization algorithm introduces crossover and mutation operations in genetic algorithm to improve the optimization performance of traditional particle swarm optimization algorithm. The mathematical model of valve controlled asymmetric cylinder is established, and the Amesim linearization analysis function is used to identify the system, establish the transfer function, and build the control system. The joint simulation and test results of Amesim and MATLAB show that the proposed control strategy can realize the simultaneous control of speed and position. Under different loads, different speeds, and different input follow signals, it does not need to adjust any parameters. Regardless of forward or reverse operation, the optimal dynamic performance and minimum steady-state error are obtained, which greatly improves the response speed of the system. The effectiveness and superiority of the improved PSO compound control strategy are verified.