In a preferred embodiment, the injected d-axis may be ahead of an estimated d-axis by the injection angle.
In a preferred embodiment, the motor control apparatus may further comprise a reference table storing unit for storing a corresponding relationship reference table of the torque command according to the position of the rotor of the motor and the injection angle.
In a preferred embodiment, the compensator may generate a second compensation signal on the basis of the corresponding relationship reference table stored in the reference table storing unit and a present torque command.
In a preferred embodiment, the injection angle may be determined within a range in which a first angular error is 0 and a second compensation current signal becomes 0 while having a positive slope on the basis of the first angular error.
According to an aspect of the present disclosure, a position of a rotor of a motor may be accurately estimated for any driving point by adding a compensation value to a current signal input to an angle estimator and using an axis (an injection axis) for injecting a high frequency voltage and detecting a current ripple and an axis (an estimation axis) for estimating the position of the rotor together.