A control apparatus for a brushless DC motor for rotating a brushless DC motor including a rotor provided with a permanent magnet and a multiphase stator having stator windings which generate a rotating field for rotating the rotor, using an electric switching device including a plurality of switching elements for sequentially commuting electricity to said stator windings, comprises:
- a phase voltage detecting device for detecting the phase angle and the effective value of the phase voltage of said brushless DC motor and a phase current detecting device for detecting the phase angle and the effective value of the phase current;
- a position detecting device for detecting the phase angle of the induced voltage from the magnetic pole position of said rotor and a rotation number detecting device for detecting the number of rotations;
- a phase resistance value calculating device for calculating the phase resistance value and an induced voltage constant calculating device for calculating the induced voltage constant, based on the temperature of said brushless DC motor;
- a phase difference calculating device for calculating the voltage phase difference comprising the difference between the phases of said induced voltage and said phase current and the current phase difference comprising the difference between the phases of the induced voltage and phase current;
- a phase compensating value calculating device for calculating the phase compensating value that compensates said voltage phase difference and said current phase difference based on said number of rotations;
- an iron loss calculating device for calculating the iron loss of said brushless DC motor during rotation;
- an effective phase current calculating device for calculating the effective phase current based on said iron loss by subtracting the iron loss component from said phase current;
- an inductance calculating device for calculating the magnetic field axis inductance and the torque axis inductance based on said phase resistance value, said number of rotations, said induced voltage constant, said voltage phase difference, said current phase difference, said phase compensating value, and said effective phase current;
- a torque command input device that inputs the torque command value;
- a current command value calculating device for calculating the magnetic field axis current command value and the torque axis current command value based on said induced voltage constant, said magnetic field axis inductance, said torque axis inductance, and said torque command value;
- and
- a pulse width modulated signal output device that outputs a pulse width modulated signal to said electric switching device based on said magnetic field axis current command value and said torque axis current command value.