A headlamp leveling device, comprising: a control voltage generator configured to generate a control voltage based on a width of a pulse; a control integrated circuit, IC, configured to control a rotation direction of a motor by comparing a voltage level of a feedback voltage with a voltage level of the control voltage; a shaft position detector configured to generate a voltage corresponding to a position of the shaft moving with rotation of the motor; and a feedback voltage generator configured to generate the feedback voltage based on the voltage generated to correspond to the position of the shaft, characterized in that the control IC is configured to: control the motor so as to rotate in a first direction when the voltage level of the control voltage is higher than a voltage level of the feedback voltage, and control the motor so as to rotate in a second direction when the voltage level of the control voltage is lower than the voltage level of the feedback voltage, and wherein the control IC includes: a comparator configured to compare the voltage level of the control voltage and the voltage level of the feedback voltage, and a motor driver configured to control rotation of the motor based on a result of comparison by the comparator. a control voltage generator configured to generate a control voltage based on a width of a pulse; a control integrated circuit, IC, configured to control a rotation direction of a motor by comparing a voltage level of a feedback voltage with a voltage level of the control voltage; a shaft position detector configured to generate a voltage corresponding to a position of the shaft moving with rotation of the motor; and a feedback voltage generator configured to generate the feedback voltage based on the voltage generated to correspond to the position of the shaft, characterized in that the control IC is configured to: control the motor so as to rotate in a first direction when the voltage level of the control voltage is higher than a voltage level of the feedback voltage, and control the motor so as to rotate in a second direction when the voltage level of the control voltage is lower than the voltage level of the feedback voltage, and wherein the control IC includes: a comparator configured to compare the voltage level of the control voltage and the voltage level of the feedback voltage, and a motor driver configured to control rotation of the motor based on a result of comparison by the comparator. control the motor so as to rotate in a first direction when the voltage level of the control voltage is higher than a voltage level of the feedback voltage, and control the motor so as to rotate in a second direction when the voltage level of the control voltage is lower than the voltage level of the feedback voltage, and wherein the control IC includes: a comparator configured to compare the voltage level of the control voltage and the voltage level of the feedback voltage, and a motor driver configured to control rotation of the motor based on a result of comparison by the comparator. a comparator configured to compare the voltage level of the control voltage and the voltage level of the feedback voltage, and a motor driver configured to control rotation of the motor based on a result of comparison by the comparator.