Adaptive Control of a DC Motor Using a Microcomputer