A Design of Intelligent Controller for Direct Current Motor