Method for increasing resolution by N bits performed by processing circuit of motor driving system and associated motor driving system
AssigneeElite Semiconductor Microelectronics Technology Inc.
InventorMing-Fu Tsai
Life of this patent
Estimating the term…
Abstract
A method for increasing a resolution by N bits performed by a processing circuit of a motor driving system, where N is a positive integer, and the method includes: performing a conversion upon an analog command, to generate a command count value; performing a first N-bit right-shifting operation upon the command count value, to generate an initial output value; performing a logical operation upon the command count value, to generate a low bit value; generating an overflow value according to the low bit value; and determining a final output value according to the initial output value and the overflow value.
Claims14
A method for increasing a resolution by N bits performed by a processing circuit of a motor driving system, where N is a positive integer, and the method comprises:
- performing a conversion upon an analog command, to generate a command count value;
- performing a first N-bit right-shifting operation upon the command count value, to generate an initial output value;
- performing a logical operation upon the command count value, to generate a low bit value;
- generating an overflow value according to the low bit value;
- and
- determining a final output value according to the initial output value and the overflow value;
- wherein the motor driving system comprises the processing circuit, a driving circuit, and a brushless direct current (DC) motor, each of a plurality of pulse width modulation (PWM) signals is output from the processing circuit to the driving circuit according to the final output value, and a driving voltage is generated by the driving circuit according to the plurality of PWM signals, for driving the brushless DC motor.
A motor driving system, comprising:
- a brushless direct current (DC) motor;
- a driving circuit, coupled to the brushless DC motor, and arranged to generate a driving voltage according to a plurality of pulse width modulation (PWM) signals, wherein the driving voltage is arranged to drive the brushless DC motor;
- and
- a processing circuit, coupled to the driving circuit, and arranged to increase a resolution by N bits by:
- performing a conversion upon an analog command, to generate a command count value;
- performing a first N-bit right-shifting operation upon the command count value, to generate an initial output value;
- performing a logical operation upon the command count value, to generate a low bit value;
- generating an overflow value according to the low bit value;
- determining a final output value according to the initial output value and the overflow value;
- and
- outputting each of the plurality of PWM signals to the driving circuit according to the final output value;
- wherein N is a positive integer;
- wherein the resolution and the analog command are a PWM resolution and a PWM command, respectively, and the PWM command is arranged to control a voltage value of the driving voltage;
- or the resolution and the analog command are a rotational speed resolution and a rotational speed command, respectively, and the rotational speed command is arranged to control rotational speed of the brushless DC motor.
Dependencies are inferred from the claim text.