This paper presents a fuzzy modified PID controller that uses linear fuzzy inference method. In this structure, the proportional and derivative gains vary with the output of the system under control. 2-input PD type fuzzy controller is designed to obtain the varying gains. The proposed fuzzy PID structure maintains the same performance as the general-purpose linear PID controller, and enhances the tracking performance over a wide range of input. Numerical simulations and experimental results show the effectiveness of the fuzzy PID controller in comparison with the conventional PID controller.