Motor speed monitoring based on 51 single chip microcomputer