The statistical analyses in the past showing the important properties of the electrohydraulic actuator (EHA) system, especially in the growth of the world economy. Dealing with the existing drawback in the EHA system, various types of control schemes have been introduced in the past. In this paper, to produce a more insightful view of the performance and the capabilities of the controller, three different types of controllers have been designed and compared. The favourite controller in the industry field, which is the proportional-integral-derivative (PID) controller will be first introduced. Follow by the improved PID controller, named Fractional Order (FO-PID) controller will be designed. Then, the prominent robust controller in the control field, called sliding mode controller (SMC) will be established. Instead of obtaining the controller’s parameters without any appropriate technique, the well-known tuning technique in computer science, named particle swarm optimization (PSO) will be utilized. Referring to the performances produced by these controllers, it can be concluded that the SMC is capable to generate most desired control performance that produced the highest accuracy with the smallest error in the analyses.