Lasting Magnet Control for DC Motors