摘要 |
A motor controller includes a reference signal generator; an A/D converter performing A/D conversion of the cosine and the sine signals outputted from a resolver; a first amplitude calculator calculating cosine and sine signal amplitudes based on twice-A/D converted cosine and sine signals respectively; a second amplitude calculator calculating averages of the cosine and the sine signals, and that calculates the amplitude of the cosine signal from a difference between the cosine signal average and a latest A/D converted cosine signal, and that calculates the amplitude of the sine signal from a difference between the sine signal average and a latest A/D converted sine signal; a synthesizer synthesizing the cosine and sine signal amplitudes obtained by the first and the second amplitude calculators respectively; a rotational angle calculator calculating a rotational angle based on the synthesized cosine and sine signal amplitudes; and a PWM controller.
|