This paper proposes the compound approach of fuzzy control and fuzzy feedforward compensation. This approach solves the problem of optimal control while the dynamic plants are under varying loads. The approach is realized by MCS-51 microprocessors and the result is satisfactory.