A motor driving apparatus comprising: an inverter to convert DC voltage into AC voltage and to output the AC voltage to a motor; an output voltage detection unit to detect output voltage applied to the motor; and an inverter controller to control the inverter to drive the motor based on the output voltage, wherein the output voltage detection unit comprises: a first resistor electrically connected to any one (Uo) of output terminals (Uo, Vo, Wo) of the inverter; a second resistor electrically connected between the first resistor and a ground, wherein the first resistor and the second resistor are connected in series to each other; and a comparator (Op) connected between a node and the inverter controller 430, wherein the node is located between the first resistor and the second resistor, and configured to compare voltage detected by the second resistor with reference voltage and to detect PWM-based pulse type output voltage, wherein the inverter controller includes a capturing unit for capturing the pulse width modulation -based pulse type output voltage from the comparator, and is configured to determine a duty of the detected PWM-based pulse type output voltage using the capturing unit and calculate phase voltage of the motor based on the calculated duty. an inverter to convert DC voltage into AC voltage and to output the AC voltage to a motor; an output voltage detection unit to detect output voltage applied to the motor; and an inverter controller to control the inverter to drive the motor based on the output voltage, wherein the output voltage detection unit comprises: a first resistor electrically connected to any one (Uo) of output terminals (Uo, Vo, Wo) of the inverter; a second resistor electrically connected between the first resistor and a ground, wherein the first resistor and the second resistor are connected in series to each other; and a comparator (Op) connected between a node and the inverter controller 430, wherein the node is located between the first resistor and the second resistor, and configured to compare voltage detected by the second resistor with reference voltage and to detect PWM-based pulse type output voltage, wherein the inverter controller includes a capturing unit for capturing the pulse width modulation -based pulse type output voltage from the comparator, and is configured to determine a duty of the detected PWM-based pulse type output voltage using the capturing unit and calculate phase voltage of the motor based on the calculated duty. a first resistor electrically connected to any one (Uo) of output terminals (Uo, Vo, Wo) of the inverter; a second resistor electrically connected between the first resistor and a ground, wherein the first resistor and the second resistor are connected in series to each other; and a comparator (Op) connected between a node and the inverter controller 430, wherein the node is located between the first resistor and the second resistor, and configured to compare voltage detected by the second resistor with reference voltage and to detect PWM-based pulse type output voltage, wherein the inverter controller includes a capturing unit for capturing the pulse width modulation -based pulse type output voltage from the comparator, and is configured to determine a duty of the detected PWM-based pulse type output voltage using the capturing unit and calculate phase voltage of the motor based on the calculated duty.