摘要 |
PROBLEM TO BE SOLVED: To obtain a motor control device that reduces to a minimum a possibility that a drive current is erroneously cut off by the generation of a ripple current, and also provide an electric mirror device. SOLUTION: In this electric door mirror device 10, a sampling cycle in a motor control program read by a CPU 14 is set at a prime number time, and the sampling cycle is changed every one cycle. By this, a possibility that the generation cycle of the ripple current and the sampling cycle coincide with each other can be reduced to a minimum, and as a result, the erroneous cut-off of the drive current caused by the generation of the ripple current is essentially prevented. COPYRIGHT: (C)2006,JPO&NCIPI
|