摘要 |
Provided is a motor controller that controls a motor system including: a power converter (13), a smoothing capacitor (12), a three-phase AC motor (14), and a current sensor (14v, 14w). The motor controller is provided with an electronic control unit (15). The electronic control unit specifies (156) a target phase that is a phase of a second phase voltage command signal having a largest difference from a first phase voltage command signal having a signal level that is neither a maximum nor a minimum signal level, based on three phase voltage command signals (Vu, Vv, Vw) generated from the detection value (Iv*, Iw*) of the current sensor, and corrects (157v, 157w, 158v, 158w) the detection value of the current sensor, which detects the phase current of the target phase, such that a terminal voltage (VH) of the smoothing capacitor matches the desired voltage value. |