Pi position controller and fuzzy logic speed controller