This application claims the benefit under 35 U.S.C. Section 119 of Korean Patent Application Serial No. 10-2012-0021016, entitled “Motor Driving Circuit, Motor Driving Apparatus Having The Same, and Motor Driving Method” filed on Feb. 29, 2012, which is hereby incorporated by reference in its entirety into this application.
1. Technical Field
The present invention relates to a motor driving circuit capable of controlling a motor at a desired speed, a motor driving apparatus having the same, and a motor driving method.
2. Description of the Related Art
Generally, a motor means a device that is used in various fields from home appliances such as a refrigerator, an air conditioner, or the like, to an information processing device such as a disk driver. A motor capable of controlling speed such as a brushless direct current (BLDC) motor can control speed by controlling a duty ratio of a pulse-width-modulation (PWM) signal.
Meanwhile, a speed control scheme of a motor may be largely classified into a closed loop control scheme and an open loop control scheme. The open loop control scheme does not include the feedback circuit and therefore, may be implemented in a simple structure, but cannot compensate for errors occurring due to external operating environments such as electrical noise, change in temperature, or the like.
On the other hand, the closed loop control scheme includes a feedback circuit to detect current revolution per minute (RPM), speed, and surrounding operating environments, or the like, of the motor and controls an input signal from the detection to control errors occurring during the operation of the motor. Consequently, the closed loop control scheme needs to include a circuit for detecting the current RPM, speed, or the like, of the motor and needs to additionally include a voltage detection circuit and an error compensation circuit for coping with external operating environments, or the like.
Therefore, complexity of a motor driving circuit is increased and when the voltage detection circuit, the error compensation circuit, or the like, are excluded from the circuit configuration, it is difficult to accurately reflect the changes according to the external operating environments upon detecting the RPM and speed of the motor.
Korean Patent Laid-Open Publication No. 2006-0070257
An object of the present invention is to provide a motor driving circuit capable of accurately controlling a speed of a motor according to external operating environments without adding or changing separate circuits by using relationship data between a duty ratio of input pulse-width-modulation and a targeted speed that are stored in the motor driving circuit, a motor driving apparatus having the same, and a motor driving method.
According to an exemplary embodiment of the present invention, there is provided a motor driving circuit, including: a duty ratio detection unit that detects a duty ratio of input pulse-width-modulation applied to control a speed of a motor; a speed detection unit that detects the speed of the motor; and a driving control unit that detects a targeted speed corresponding to the duty ratio of the input pulse-width-modulation by using relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed that are previously stored and controls a driving of the motor so that the speed of the motor is equal to the targeted speed.
The motor driving circuit may further include: a storage unit in which the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed are stored.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a look up table form.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a linear function form of the targeted speed with respect to the duty ratio of the input pulse-width-modulation.
The linear function of the targeted speed with respect to the duty ratio of the input pulse-width-modulation may be represented by the following <Equation>.
Targeted speed=Duty ratio of input pulse-width-modulation×Slope a+Constant b, <Equation>
where b is a minimum value of the targeted speed.
The relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed may be configured in a form in which a plurality of linear functions having different slopes for each section of the duty ratio of the input pulse-width-modulation are combined with one another.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a form in which the look up table and the linear function of the targeted speed with respect to the duty ratio of the input pulse-width-modulation are combined with each other.
The driving control unit may include: a detector that detects the targeted speed corresponding to the duty ratio of the input pulse-width-modulation by using the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed; and a comparator that compares the speed of the motor with the targeted speed to ouput the comparison results.
The driving control unit may further include: a controller that controls a duty ratio of a driving signal applied to the motor by using the comparison results; and a driver that controls the driving of the motor so that the speed of the motor becomes the targeted speed by using the duty ratio of the driving signal.
The controller may perform a control to reduce the duty ratio of the driving signal when the speed of the motor is faster than the targeted speed in the comparison results and perform a control to increase the duty ratio of the driving signal when the speed of the motor is slower than the targeted speed in the comparison results.
The relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed may be stored by previously reflecting error information for compensating for errors of the speed of the motor detected by the speed detection unit or the duty ratio of the input pulse-width-modulation detected by the duty detection unit.
According to another exemplary embodiment of the present invention, there is provided a motor driving apparatus, including: an external control circuit that generates and outputs input pulse-width-modulation as a command for controlling a motor at a desired speed; and a motor driving circuit that receives the input pulse-width-modulation to detect a duty ratio of the input pulse-width-modulation, detects a speed of the motor, detects a targeted speed corresponding to the duty ratio of the input pulse-width-modulation by using relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed that are previously stored, and controls a driving of the motor so that the speed of the motor is equal to the targeted speed.
The motor driving circuit may include: a storage unit in which the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed are stored.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a look up table form.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a linear function form of the targeted speed with respect to the duty ratio of the input pulse-width-modulation.
The linear function of the targeted speed with respect to the duty ratio of the input pulse-width-modulation is represented by the following <Equation>.
Targeted speed=Duty ratio of input pulse-width-modulation×Slope a+Constant b, <Equation>
where b is a minimum value of the targeted speed.
The relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed may be formed in a form in which a plurality of different linear function having different slopes for each section of the duty ratio of the input pulse-width-modulation are combined with one another.
The storage unit may store the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed in a form in which the look up table and the linear function of the targeted speed with respect to the duty ratio of the input pulse-width-modulation are combined with each other.
According to another exemplary embodiment of the present invention, there is provided a motor driving method, including: detecting a duty ratio of input pulse-width-modulation applied to control a speed of a motor; detecting the speed of the motor; detecting a targeted speed corresponding to the duty ratio of the input pulse-width-modulation by using relationship data between the duty ratio of the input pulse-width-modulation and a targeted speed that are previously stored; and controlling a driving of the motor so that the speed of the motor is equal to the targeted speed.
The motor driving method may further include: after the detecting of the targeted speed, comparing the speed of the motor with the targeted speed to output the comparison results.
At the controlling of the driving of the motor, the duty ratio of the driving signal applied to the motor may be controlled by using the comparison results.
At the controlling of the duty ratio of the driving signal, a control may be performed to reduce the duty ratio of the driving signal when the speed of the motor is faster than the targeted speed in the comparison results and a control may be performed to increase the duty ratio of the driving signal when the speed of the motor is slower than the targeted speed in the comparison results.
The terms and words used in the present specification and claims should not be interpreted as being limited to typical meanings or dictionary definitions, but should be interpreted as having meanings and concepts relevant to the technical scope of the present invention based on the rule according to which an inventor can appropriately define the concept of the term to describe most appropriately the best method he or she knows for carrying out the invention.
Therefore, the configurations described in the embodiments and drawings of the present invention are merely most preferable embodiments but do not represent all of the technical spirit of the present invention. Thus, the present invention should be construed as including all the changes, equivalents, and substitutions included in the spirit and scope of the present invention at the time of filing this application.
Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
As shown in
First describing a motor, a motor 30 may be a brushless direct current (BLDC) motor, or the like. The BLDC motor is a brushless motor among direct current (DC) motors, wherein a rotator may be configured of a permanent magnet and a stator at the outside of the motor may be configured of an electromagnet.
The external control circuit 50 is a unit that generates input pulse-width-modulation that is a command for controlling the motor 30 at a desired speed and transmits the generated input pulse-width-modulation to the motor driving circuit 100. In this case, the input pulse-width-modulation Ipwm is generated regardless of driving environment of the motor and thus, the motor is not affected by a change in external operating environments such as a change in temperature, or the like.
The motor driving circuit 100, which is a unit of controlling the motor 30 at a desired speed, is configured to include a duty detection unit 110, a speed detection unit 130, a driving control unit 150, and a storage unit 170.
The duty detection unit 110, which is a unit of detecting a duty ratio of the input pulse-width-modulation Ipwm, detects turn-on time at which a signal has a high value within one period of the input pulse-width-modulation Ipwm and turn-off time at which a signal has a low value, thereby detecting the duty ratio of the input pulse-width-modulation Ipwm.
In other words, the duty detection unit 110 can detect the duty ratio of the input pulse-width-modulation Ipwm that is a ratio of the turn-on time having the high value within one period of the input pulse-width-modulation-signal Ipwm from a period of the input pulse-width-modulation Ipwm and the timing having the high value.
The speed detection unit 130 detects the speed of the motor 30 from the RPM of the motor 30. In more detail, the speed detection unit 130 is configured to include a Hall sensor, or the like, to use a rotation position of a rotator of the motor 30 varying over time, thereby making it possible to detect a current speed of the motor 30.
In this case, the speed of the motor 30 needs to be maintained at a targeted speed designated by a user and therefore, the general operation of the motor driving circuit 100 needs to detect the speed of the motor 30. Herein, when the detected speed is faster than the targeted speed, the driving control unit 150 controls a driving signal SD output to the motor 30 to reduce the speed of the motor 30, while when the detected speed of the motor 30 is slower than the targeted speed, the driving control unit 150 increases the speed of the motor 30.
The driving control unit 150, which is a microcomputer that generally controls the motor driving circuit 100, is configured to include a detector 152, a comparator 154, a controller 156, and a driver 158.
Among others, the detector 152 detects the targeted speed corresponding to the duty ratio of the input pulse-width-modulation Ipwm by using relationship data between the duty ratio of the input pulse-width-modulation Ipwm and the targeted speed that are stored in the storage unit 170.
That is, the detector 152 can read the targeted speed of the motor 30 corresponding to the duty ratio of the input pulse-width-modulation Ipwm by referring to corresponding relationship between the duty ratio of the input pulse-width-modulation Ipwm and the targeted speed of the motor 30 that are previously prepared in a data table, or the like, or can detect the targeted speed of the motor 30 according to the duty ratio of the input pulse-width-modulation Ipwm by performing direct operation according to a specific formula.
Describing in detail the storage unit 170 prior to describing an operation of the detector 152, the storage unit 170 is a unit in which the relationship data between the duty ratio of the input pulse-width-modulation Ipwm and the targeted speed are stored and may be configured to include a volatile memory or a non-volatile memory. In addition, the storage unit 170 may be configured of a flip flop. In this case, the flip flop, which is a memory used for a sequential logic circuit, may be configured to determine an output in response to a clock signal.
Referring to
Further, as shown in
In this case, the linear function of the targeted speed with respect to the duty ratio of the input pulse-width-modulation Ipwm may be represented by the following <Equation>.
Targeted speed=Duty ratio of input pulse-width-modulation×Slope a+Constant b <Equation>
In the above Equation, the slope a represents an increment Y of the targeted speed/an increment X of the duty ratio of the input pulse-width-modulation and the constant b represents a minimum value min rpm of the targeted speed.
As such, in order to detect the targeted speed corresponding to the duty ratio of the input pulse-width-modulation Ipwm, the storage unit 170 may store the slope a and the minimum value b of the targeted speed as shown in
Meanwhile, the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed that are stored in the storage unit 170 may previously reflect the error information for compensating for the errors of the speed of the motor detected by the speed detection unit 130 or the duty ratio Ipwm of the input pulse-width-modulation detected by the duty detector 110.
Describing in more detail, the speed of the motor is controlled by the current speed of the motor detected by the speed detection unit 130 or the duty ratio of the input pulse-width-modulation detected by the duty detection unit 110, such that errors may occur in the speed control of the motor when there are errors in the speed detection unit 130 and the duty detection unit 110. Therefore, the exemplary embodiment of the present invention sets or stores the relationship data between the duty ratio Ipwm of the input pulse-width-modulation and the targeted speed in the storage unit 170 or when the targeted speed to be described below is detected, the errors occurring in the speed detection unit 130 and the duty detection unit 110 may be reflected.
That is, when the current speed of the motor detected by the speed detection unit 130 is faster by 10% than the actual speed, the targeted speed corresponding to the duty ratio of the input pulse-width-modulation Ipwm may be set by reducing approximately 10%.
Meanwhile, again describing components of the driving control unit 150 with reference to
That is, when both of the speed detection unit 130 and the detector 152 transfer data in the speed format of the motor 30, the comparator 154 simply compares the data and transfers the compared data to the controller 156 whether the speed detected b the speed detection unit 130 is larger than the targeted speed of the detector 152.
The controller 156 controls the duty ratio of the driving signal SD applied to the motor 30 so as to control the speed of the motor to be set to the targeted speed using the comparison results in the comparator 154. In this case, the driving signal SD may be also generated in the pulse-width-modulation. In this case, the current speed of the motor 30 is determined by the duty ratio of the driving signal SD. Herein, when the duty ratio of the driving signal SD is increased, the current speed of the motor 30 is increased and when the duty ratio of the driving signal SD is reduced, thee current speed of the motor 30 is reduced.
That is, the controller 156 performs a control to reduce the duty ratio of the driving signal SD when the current speed of the motor 30 is faster than the targeted speed in the comparison results and performs a control to increase the duty ratio of the driving signal SD when the current speed of the motor 30 is slower than the targeted speed in the comparison results.
A driver 158, which is a unit controling the driving of the motor by using the duty ratio of the driving signal SD, controls the on/off operation of a plurality of switches P1, P2, N1, and N2 that controls the driving of the motor 30.
At first and third sections t1 and t3, the first p switch P1 and the second N switch N2 are turned-on and at second and fourth section t2 and t4, the second P switch P2 and the first N switch N1 are turned-on. The driver 158 serves to turn-on/off the plurality of switches P1, P2, N1, and N2 according to a sequence so as to rotate the motor 30.
That is, the first and second PMOS signals are turned-on/off by the driver 158. When they are turned-on, the driving signal is output according to the duty ratio controlled by the controller 156 and when the duty ratio is 100%, the first and second PMOS signals show the same waveform as the first and second NMOS signals.
When the duty ratio is 50% in a first section t1, only 50% of current may flow for a turn-on section of the first PMOS signal and therefore, the current speed of the motor 30 is reduced as current flows in the motor 30. The current speed of the motor 30 can be controlled according to the duty ratio to which the first and second PMOS signals are applied.
Hereinafter, a process of driving the motor in accordance with the exemplary embodiment of the present invention will be described.
Next, the targeted speed corresponding to the duty ratio of the input pulse-width-modulation are detected by using relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed that are previously stored (S710).
In this case, it can read the targeted speed of the motor 30 corresponding to the duty ratio of the input pulse-width-modulation Ipwm by referring to corresponding relationship between the duty ratio of the input pulse-width-modulation Ipwm and the targeted speed of the motor 30 that are previously prepared in a data table, or the like, or can detect the targeted speed of the motor 30 according to the duty ratio of the input pulse-width-modulation Ipwm by performing direct operation according to a specific formula.
Next, the comparison results are output by comparing the speed of the motor with the targeted speed (S720) and the duty ratio of the driving signal SD applied to the motor 30 is controlled by using the comparison results.
Describing in more detail, when the current speed of the motor is faster than the targeted speed in the comparison results (‘Yes’ at S720), a control is performed to reduce the duty ratio of the driving signal (S730) and when the current speed of the motor is slower than the targeted speed in the comparison results (‘No’ at S720), a control is performed to increase the duty ratio of the driving signal (S740).
Next, a control is performed to drive the motor so that the current speed of the motor is equal to the targeted speed (S750).
As set forth above, according to the motor driving circuit, the motor driving apparatus having the same, and the motor driving method in accordance with the exemplary embodiments of the present invention, the speed of the motor can be accurately controlled according to the external operating environments (voltage, load, or the like) without adding or changing separate circuits by using the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed that are stored in the motor driving circuit.
In addition, the speed of the motor can be accurately controlled without the error compensation circuit by previously detecting the errors occurring in the circuit of detecting the duty ratio of the input pulse-width-modulation or detecting the speed of the motor to reflect the relationship data between the duty ratio of the input pulse-width-modulation and the targeted speed.
Therefore, the manufacturing costs of the motor driving circuit and the motor driving apparatus having the same can be saved.
The above detailed description exemplifies the present invention. Further, the above contents just illustrate and describe preferred embodiments of the present invention and the present invention can be used under various combinations, changes, and environments. That is, it will be appreciated by those skilled in the art that substitutions, modifications and changes may be made in these embodiments without departing from the principles and spirit of the general inventive concept, the scope of which is defined in the appended claims and their equivalents. Although the exemplary embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. Therefore, the detailed description of the present invention does not intend to limit the present invention to the disclosed embodiments. Further, it should be appreciated that the appended claims include even another embodiment.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0021016 | Feb 2012 | KR | national |