A motor controller, comprising: a converter for converting commercial single phase AC power from a commercial AC power source into DC power; DC terminal voltage detection means for detecting a DC terminal voltage of an output terminal of the converter; an inverter including a plurality of switching elements, the inverter arranged to receive the DC power, convert the DC power into AC power of a specific frequency through switching operations, and supply the AC power to a three-phase motor; and a noise filter unit connected between the commercial single phase AC power and the converter including normal mode inductors (Ln 1, Ln 2) connected to both terminals of the commercial AC power source, common mode inductors (Lc1, Lc2) for removing a high frequency current, a first capacitor connected between the normal mode inductors and the common mode inductors, and a second capacitor connected between the common mode inductors and the converter, input current detection means placed between the commercial AC power source and the noise filter unit and for detecting an input current (ii) input from the commercial single phase AC power; input voltage detection means placed between the commercial AC power source and the noise filter unit and for detecting an input voltage (vi) input from the commercial single phase AC power; and output current detection means for detecting an output current corresponding to current applied to the motor, wherein the converter is arranged to perform a switching operation in response to a converter switching control signal (Scc) generated based on the DC terminal voltage, the input current input, and the input voltage input, and wherein the inverter is arranged to perform a switching operation in response to an inverter switching control signal (Sic) generated based on the detected output current. a converter for converting commercial single phase AC power from a commercial AC power source into DC power; DC terminal voltage detection means for detecting a DC terminal voltage of an output terminal of the converter; an inverter including a plurality of switching elements, the inverter arranged to receive the DC power, convert the DC power into AC power of a specific frequency through switching operations, and supply the AC power to a three-phase motor; and a noise filter unit connected between the commercial single phase AC power and the converter including normal mode inductors (Ln 1, Ln 2) connected to both terminals of the commercial AC power source, common mode inductors (Lc1, Lc2) for removing a high frequency current, a first capacitor connected between the normal mode inductors and the common mode inductors, and a second capacitor connected between the common mode inductors and the converter, input current detection means placed between the commercial AC power source and the noise filter unit and for detecting an input current (ii) input from the commercial single phase AC power; input voltage detection means placed between the commercial AC power source and the noise filter unit and for detecting an input voltage (vi) input from the commercial single phase AC power; and output current detection means for detecting an output current corresponding to current applied to the motor, wherein the converter is arranged to perform a switching operation in response to a converter switching control signal (Scc) generated based on the DC terminal voltage, the input current input, and the input voltage input, and wherein the inverter is arranged to perform a switching operation in response to an inverter switching control signal (Sic) generated based on the detected output current.