A suitable controller needs to be designed in order to acquire the highest performance of the electro-hydraulic system. A classical PID controller for the model sattained has been introduced. The expert system is applied in the PID tunning. In contrast, the traditional tunning method is used. Both methods' simulation and experiment results are given.