Analysis and design of a microcomputer- based observer for an induction machine