A motor driving apparatus, comprising: a dc-link capacitor configured to store direct current power; an inverter that includes a plurality of switching elements, and that is configured to convert the DC power stored in the dc-link capacitor into alternating current power and output the AC power to a motor; a dc-link resistor element (Rdc) located between the dc-link capacitor and the inverter; and a controller configured to control, based on a space vector pulse width variable control, operations of the inverter, wherein the controller is further configured to: calculate a phase difference between a first sampling point among a plurality of sampling points that are preset for the space vector and a voltage command vector, generate, based on the calculated phase difference, a switching frequency, characterized in that the controller is further configured to: determine, based on a level of the voltage command vector and the calculated phase difference, a first operating point located in a dead band in which a current flowing through the dc-link resistor (Rdc) is undetectable, and a second operating point located at a boundary or outside of the dead band, sequentially generate and output a switching control signal corresponding to the first operating point and a switching control signal corresponding to the second operating point in a switching cycle on the basis of the switching frequency and the voltage command vector, and control, based on the switching control signal, operations of the plurality of switching elements of the inverter. a dc-link capacitor configured to store direct current power; an inverter that includes a plurality of switching elements, and that is configured to convert the DC power stored in the dc-link capacitor into alternating current power and output the AC power to a motor; a dc-link resistor element (Rdc) located between the dc-link capacitor and the inverter; and a controller configured to control, based on a space vector pulse width variable control, operations of the inverter, wherein the controller is further configured to: calculate a phase difference between a first sampling point among a plurality of sampling points that are preset for the space vector and a voltage command vector, generate, based on the calculated phase difference, a switching frequency, characterized in that the controller is further configured to: determine, based on a level of the voltage command vector and the calculated phase difference, a first operating point located in a dead band in which a current flowing through the dc-link resistor (Rdc) is undetectable, and a second operating point located at a boundary or outside of the dead band, sequentially generate and output a switching control signal corresponding to the first operating point and a switching control signal corresponding to the second operating point in a switching cycle on the basis of the switching frequency and the voltage command vector, and control, based on the switching control signal, operations of the plurality of switching elements of the inverter. calculate a phase difference between a first sampling point among a plurality of sampling points that are preset for the space vector and a voltage command vector, generate, based on the calculated phase difference, a switching frequency, characterized in that the controller is further configured to: determine, based on a level of the voltage command vector and the calculated phase difference, a first operating point located in a dead band in which a current flowing through the dc-link resistor (Rdc) is undetectable, and a second operating point located at a boundary or outside of the dead band, sequentially generate and output a switching control signal corresponding to the first operating point and a switching control signal corresponding to the second operating point in a switching cycle on the basis of the switching frequency and the voltage command vector, and control, based on the switching control signal, operations of the plurality of switching elements of the inverter.