This patent application is based on and claims priority pursuant to 35 U.S.C. §119 to Japanese Patent Application No. 2014-081930, filed on Apr. 11, 2014, in the Japan Patent Office, the entire disclosure of which is hereby incorporated by reference herein.
Technical Field
The present invention relates to rotation detector and a rotation detection method, and particularly to reduction of detection error due to eccentricity of a rotor.
Description of the Related Art
As a method of detecting an angle of a rotor such as a brushless motor, there is a method of using a magetoelectric transducer such as hall elements producing a signal having an amplitude in accordance with a magnetic field applied. Japanese published unexamined application No. JP-2013-002835-A discloses a method of determining an angle of a rotor generating a magnetic field with a magetoelectric transducer, based on an amplitude of a signal produced in accordance with a rotational angle of the rotor.
In order to reduce an angle error due to due to eccentricity of a rotor, Japanese published unexamined application No. JP-2013-002835-A also discloses a rotor including a magnet having a maximum length in a magnetization direction shorter than a maximum length in a direction perpendicular to a rotational axis of the rotor and the magnetization direction.
In detecting a rotational position of a rotor, it is important to consider an error of the rotor. When the method disclosed in Japanese published unexamined application No. JP-2013-002835-A is used, a design of the rotor is limited. Particularly, the brushless motor is required to increase the number of poles. However, the method disclosed in Japanese published unexamined application No. JP-2013-002835-A limits the number to two.
Accordingly, one object of the present invention is to provide detection of rotational position of a rotor in consideration of an error due to eccentricity thereof without a limit on the design thereof.
Another object of the present invention is to provide a method of the detection.
These objects and other objects of the present invention, either individually or collectively, have been satisfied by the discovery of a rotation detector detecting rotation of a rotor, based on a signal produced according to rotation of the rotor, having a waveform according to a rotational cycle thereof, including a signal obtaining unit to obtain two signals having phases different from each other; a vector operating unit to determine a vector according to a rotational angle of the rotor, based on the two signals; and a rotation detecting unit to detect rotation of the rotor, based on the vector, wherein the two signals are produced from two elements located at positions farthest in a rotational angle of the rotor among plural rotation detecting elements located at positions different from each other.
These and other objects, features and advantages of the present invention will become apparent upon consideration of the following description of the preferred embodiments of the present invention taken in conjunction with the accompanying drawings.
Various other objects, features and attendant advantages of the present invention will be more fully appreciated as the same becomes better understood from the detailed description when considered in connection with the accompanying drawings in which like reference characters designate like corresponding parts throughout and wherein:
The present invention provides detection of rotational position of a rotor in consideration of an error due to eccentricity thereof without a limit on the design thereof.
Exemplary embodiments of the present invention are described in detail below with reference to accompanying drawings. In describing exemplary embodiments illustrated in the drawings, specific terminology is employed for the sake of clarity. However, the disclosure of this patent specification is not intended to be limited to the specific terminology so selected, and it is to be understood that each specific element includes all technical equivalents that operate in a similar manner and achieve a similar result.
In the embodiment, a rotation detector detecting a rotational position of a rotor in a 3-phase 12-electrode brushless motor is explained. The rotation detector reduces detection error due to eccentricity of the rotor when detecting an angle, based on a signal produced by a magnetic sensor located according to a rotational position of the rotor.
The hall elements are located at every 40° over a round, which is one of embodiments. The 3-phase brushless motor has only to include U-phase, W-phase and V-phase hall elements located at positions shifted by 2π/3 each relative to an angle of one cycle of the S poles and N poles. However, in the embodiment, among the hall elements, outputs of the hall elements located at an angle shifted by as close as possible to 180° in a mechanical angle of the rotor. This is mentioned later.
In
One cycle of sine curves produced by the hall elements 201, 202 and 203 is one cycle of the S poles and N poles of the magnets included in the rotor 200, i.e., equivalent to a rotational angle of 60° of the rotor. Therefore, when the rotor rotates once, the sine curves produced by the hall elements 201, 202 and 203 are 6 cycles as shown in
The sine curve of the hall element according to a rotational position of the rotor 200 is ideally the same sine curve when the rotor rotates once. When the rotor 200 eccentrically rotes or includes magnets having magnetization eccentricity, an error according to one cycle when the rotor rotates once.
As
When a rotational angle of the rotor 200 is detected, based on the sine curve having the error in
An embodiment of the rotation detector 100 of the present invention is explained, referring to
The sensor signals HA to HI entered in the rotation detector 100 are entered in mux (multiplexer) 101X and 101Y. Namely, the mux 101X and 101Y work as signal obtainers. The multiplexer 101X and 101Y select signals having phases different from each other, i.e., signals having different U-phase, V-phase and W-phase, based on select signals sel. The mux 101X and 101Y produce sensor signals H1 and H2 to a summing amplifier 102X and a differential gain amplifier 102Y. The select signals sel are set and entered by an outer CPU (Central Processing Unit) by means of register setting.
The summing amplifier 102X produces X0 signal from the following formula (1).
X0=H1+H2 (1)
The differential gain amplifier 102Y produces Y0 signal from the following formula (2).
Y0=K×(H2−H1) (2)
wherein K is determined from a phase difference between H1 and H2 and a coefficient of a gain set such that X0 and Y0 have the same amplitude. The thus produced X0 and Y0 are orthogonal each other.
The X0 signal produced by the summing amplifier 102X is entered in a gain multiplier 105X and an amplitude detector 103X. The amplitude detector 103X detects an amplitude Ax of the X0 signal and enters the amplitude Ax in a gain generator 104X. The amplitude detector 103X is realized by a peak detection circuit. The peak detection is made by positive and negative peak of a signal, and the negative peak is converted to an absolute value.
The gain generator 104X determines a gain Gx from the following formula (3) to accord the amplitude of the signal X0 to a predetermined amplitude Atgt. The gain Gx is entered in the gain multiplier 105X. The gain multiplier 105X makes multiplication of the signal X0 and the gain Gx, and produces a signal X according the amplitude to the predetermined amplitude Atgt.
Gx=Atgt/Ax (3)
The Y0 signal produced by the differential gain amplifier 102Y is entered in a gain multiplier 105Y and an amplitude detector 103Y. The amplitude detector 103Y detects an amplitude Ay of the Y0 signal and enters the amplitude Ay in a gain generator 104Y. The amplitude detector 103Y is realized by a peak detection circuit. The peak detection is made by positive and negative peak of a signal, and the negative peak is converted to an absolute value.
The gain generator 104Y determines a gain Gy from the following formula (4) to accord the amplitude of the signal Y0 to a predetermined amplitude Atgt. The gain Gy is entered in the gain multiplier 105Y. The gain multiplier 105Y makes multiplication of the signal Y0 and the gain Gy, and produces a signal Y according the amplitude to the predetermined amplitude Atgt.
Gy=Atgt/Ay (4)
The thus produced signals X and Y are orthogonal each other as the X0 and Y0, and gain-operated to accord a peak of amplitude. Therefore, an angle of vector denoted by X and Y can denote a rotational position θ of the rotor 200 as shown in
Namely, the summing amplifier 102X, the differential gain amplifier 102Y, the amplitude detectors 103X and 103Y, the gain generators 104X and 104Y, and the gain multipliers 105X and 105Y are connected with each other to work as a vector operator. The signals X and Y are entered in a detective angle multiplier 106.
In the detective angle multiplier 106, the signal X is entered in a sine wave multiplier 106a and a cosine wave multiplier 106b, and the signal Y is entered in a cosine wave multiplier 106c and a sine wave multiplier 106d. sinθp and cosθp based on a detective angle θp set according to an operation of the rotation detector 100 are entered in the detective angle multiplier 106.
The sine wave multiplier 106a multiplies sin θp with the signal X. The cosine wave multiplier 106b multiplies cosθp with the signal X. The cosine wave multiplier 106c multiplies cosθp with the signal Y. The sine wave multiplier 106d multiplies sin θp with the signal Y.
Signals produced from the sine wave multiplier 106a and the cosine wave multiplier 106b are entered in a subtraction amplifier 107. The subtraction amplifier 107 produces Y′ signal from the following formula (5).
Y′=−X×sin θp+Y×cos θp (5)
Signals produced from the cosine wave multiplier 106c and the sine wave multiplier 106d are entered in a summing amplifier 114. The summing amplifier 114 produces X′ signal from the following formula (6).
X′=X×cos θp+Y×sin θp (6)
The formulae (5) and (6) rotate vectors denoted by X and Y clockwise by θp.
Therefore, the vectors denoted by X and Y are rotated clockwise by θp to be vectors denoted by X′ and Y′ as shown in
Namely, when θ=θp, Y′ is zero and X′ is the amplitude Atgt in the formulae (3) and (4). In the present embodiment, while θp is controlled such that X′ and Y′ are constantly Atgt and 0, respectively, the detective angle of the rotor is determined, based on θp.
In the present embodiment, a case in which θ=θp, i.e., a case in which the standard angle is 0° is an example. However, angles in
The signal Y′ is entered in a comparator 108. The comparator 108 judges whether the signal Y′ is 0, and produces a signal to change θp according to the judgment. The operation of the comparator 108 is explained, referring to
As
In order to avoid this, when Y′ is within a tolerance of the threshold a from zero, it is regarded as zero. α is fixed according to the Atgt, e.g., in a range of 1 to 5% of the Atgt.
When Y′ has an absolute value not greater than α (S702/NO), the comparator 108 judges the present θp precisely denotes a rotational position of the rotor, and finishes operation. On the other hand, when Y′ has an absolute value greater than α (S702/YES), the comparator 108 judges whether Y′ is a positive or a negative value (S703).
When Y′ is a positive value (S703/YES), θp is smaller than θ in a rotation of vector as
When Y′ is a negative value (S703/NO), θp is larger than θ in a rotation of vector as
The signal X′ produced from the summing amplifier 114 is entered in an angle adjustor 115. The angle adjustor 115 is a block assisting to set θp according to the signal Y′. In
Accordingly, the angle adjustor 115 observes X′ to resolve the error of θp. An operation of the angle adjustor 115 is explained, referring to
When X′ is positive (S802/NO), the operation in
When X′ is negative (S802/YES), a vector after rotation in
The angle setter 109 refers to θstep, based on the UP and DN signals entered from the comparator 108 and the +180° signal entered from the angle adjustor 115 to adjust θp. An operation of the angle setter 109 is explained, referring to
As
Meanwhile, instead of the UP signal (S903/NO), the angle setter 109 obtains the DN signal produced by the comparator 108 in
After S904 or S906, or when neither of the UP and the DN signals is obtained (S905/NO), the angle adjustor 115 produces a +180° signal in
Then, the angle setter 109 judges whether θp is not less than 360° (S909). When less than 360° (S907/NO), the angle setter 109 repeats process from S903. When not less than 360° (S907/YES), the angle setter 109 reduces 360° from θp (S910) and produces a cycle count signal T as well (S911). The cycle count signal is explained in detail later.
The angle setter 109 repeats this process to adjust θp according to the operations of the comparator 108 and the angle adjustor 115 and produce θp according to the rotational position of the rotor 200. Namely, the detective angle multiplier 106, the subtraction amplifier 107, the comparator 108, the angle setter 109 and a sine wave generator 113 are connected with each other to work as a rotation detector. The detective angle multiplier 106 and the subtraction amplifier 107 are connected with each to work as a rotation operator, and the comparator 108 and the angle setter 109 are connected with each to work as a detective angle setter.
According to
The θstep adjustor 110 is to solve this problem. The operation of the θstep adjustor 110 is explained, referring to
After starting count, without obtaining the same signal obtained in S1001 (S1003/NO), when the count reaches a specific value in a predetermined period (S1006/YES), the θstep adjustor 110 stops and clears count (S1007). The θstep adjustor 110 memorizes θstep in the θstep memory 111 as θstep_def (S1008) which is a default, and repeats process from S1001.
Meanwhile, after starting count, when obtaining the same signal obtained in S1001 (S1003/YES) before counting a specific value equivalent to a predetermined period (S1006/NO), the θstep adjustor 110 clears count and adds θstep_def which is a default to θstep to be memorized in the θstep memory 111 (S1005), and repeats process from S1003.
When the UP signals and DN signals are continuously entered in a predetermined periods, the θstep adjustor 110 judges a difference between the rotational position θ of the rotor and the present θp is large and adjust θstep memorized in the θstep memory 111 to enlarge θstep which is a unit of adjusting θp. This avoid inefficient process of repeating adjustment of θp when a difference between the rotational position θ of the rotor and the present θp is large. Namely, the θstep adjustor 110 works as a unit angle adjustor.
θp produced from the angle setter 109 is entered in the sine wave generator 113 and an angle convertor 112. The sine wave generator 113 produces sinθp and cosθp according to θp, based on sine and cosine lookup table covering various angles. The sinθp and the cosθp are entered in the detective angle multipliers. Multiplication processes in the sine wave multiplier 106a, the cosine wave multiplier 106b, the cosine wave multiplier 106c and the sine wave multiplier 106d are executed.
In addition to θp, the cycle count signal T is entered in the angle convertor 112 from the angle setter 109. The angle convertor 112 converts θp into a rotational angle θR of the rotor 200. As explained in
Therefore, the angle convertor 112 counts the cycle count signal T with a counter counting 0 to 5 to determine to which cycle of the six sine curve cycles the rotational position of the rotor 200 is equivalent and the detailed rotational position thereof considering θp.
Specifically, when the cycle count signal T is Tcount, the angle convertor 112 converts θp into a rotational angle θR from the following formula (7). Thus, the rotation detector 100 detects and produces the rotational angle θR of the rotor 200.
θR=(360°×Tcount+θp)/6 (7)
In the embodiment of the rotation detector 100, as
The signals produced from the hall elements are theoretically sine curves as
The distortion of the signal due to the eccentricity is a cyclic error having cyclicity for one cycle of the rotor 200. When the two hall elements located at a shift of 180° in the rotational position of the rotor 200 are selected, θR including an error can be cancelled.
However, in
Therefore, in the embodiment of the rotation detector 100, when the two hall elements having phases different from each other are selected, the hall elements located at a shift of an angle as close to 180° as possible are selected. In other words, the two hall elements located as far as possible from each other are selected.
In
When there is an error in as shown in
Error of amplitude in
In the embodiment of the rotation detector 100, the error of amplitude is corrected by the amplitude detectors 103X and 103Y, the gain generators 104X and 104Y, and the gain multipliers 105X and 105Y in
In order to further improve effect of reducing the cyclic error, the selected two hall elements are preferably shifted at least 90° or more relative to the rotational position of the rotor 200. In other words, the selected two hall elements preferably have an angle of from 90 to 270°, more preferably from 120 to 240°, and furthermore preferably from 150 to 210° in the rotational angle of the rotor 200.
On the other hand, the hall elements 201, 202 and 203 as shown in
As mentioned above, the embodiment of the rotation detector 100 can detect a rotational position of a rotor in consideration of an error due to eccentricity thereof without a limit on the design thereof.
In the embodiment, the vector rotates anticlockwise in
On the contrary, the vector possibly rotates clockwise in
In the embodiment, as explained in
The two signals having phases different from each other need selecting from U-phase, W-phase and V-phase. Namely, in
In
On the other hand, when a signal used for detecting the rotational position is previously fixed, the two signal may be directly entered in the summing amplifier 102X and the differential gain amplifier 102Y. This can reduce the circuit scale.
In the embodiment, the maximum value of θp produced by the angle setter 109 is 360°. When beyond 360°, the cycle count signal T is produced. As an angle representing one cyclic angle of the rotor 200 in
In this case, the angle convertor 112 simply divides θp with 6 to determine the rotational angle θR of the rotor. On the other hand, the sine wave generator 113 reduces 360° from θp to be less than 360°, and produces sine and cosine of the extra angle, based on a lookup table. Thus, the same effect as above can be obtained.
In the embodiment, the functions after the detective angle multiplier 106 in the signal flow explained in
Based on signals X and Y produced by the gain multipliers 105X and 105Y, respectively, θp can also be determined by the following formula (8).
θp=tan−1(Y/X) (8)
As shown in
However, a high clock process is needed to execute the operation of the formula (8) in real time, following the rotation of the rotor 200. In
In the embodiment, the angle steer 109 and the angle convertor 112 determine and produce the rotational angle θR. However, this is an example, and the rotation detector 100 detects the rotation of the rotor. Namely, the detector does not produce an angle, but may produce a pulse every time when detecting rotation having a predetermined angle. In this case, the number of bit produced can effectively be reduced.
When a pulse is produced every time when a rotation at a predetermined angle, the angle convertor 112 is not needed and the angle setter 109 suffices. The operation of the angle setter 109 in this case is explained according to a flowchart in
In
At the beginning of starting operation of the rotation detector 100, a difference between the vector angle θ X and Y produce according to the rotational position of the rotor and θp by is large, and +180° signal, UP signal and DN signal are thought to continuously be produced.
When θp follows the vector angle θ X and Y produce, every time when the vector angle θ X and Y produce rotates by θstep according to the rotation of the rotor 200, UP signals are produced. When the rotor 200 rotates reverse, DN signals are produced. This is thought to be a stable status.
Namely, the angle setter 109 judges θp follows the rotation of the rotor 200 and the signal is stabilized (S1211/YES) when obtaining neither of +180° signal, UP signal and DN signal for a predetermined period or more since an UP signal or a DN signal is produced in S1211.
When judging the signal is stabilized, the angle setter 109 produces a pulse (S1213) every time when obtaining an UP signal or a DN signal from the comparator 108 (S1212/YES). In the module having received a pulse, it can be detected that the rotor 200 has rotated by a predetermined angle. θstep is an angle relevant to the phase of a sine curve. Therefore, an angle detecting rotation with a pulse is six times of θstep in the embodiment.
In the embodiment, as explained in
In a 3-phase brushless motor, magnets for 2 poles located according to the number of poles are one cycle, and at least each one of hall elements of U-phase, W-phase and V-phase may be located so as to be shifted at an electric angle of 120° each other. When the number of poles is determined, θhall which is as close to 180° as possible for one cycle of the rotor 200, and a mounting angle of the hall elements of the U-phase, W-phase and V-phase can be determined by the following formula (9).
θhall=180°−360°/(n/2×3) (9)
Therefore, mounting angles of the two hall elements from the U-phase, W-phase and V-phase are selected, based on the formula (9), preferable signals can be obtained in the embodiment of the rotation detector 100 of the present invention, and the cyclic error can be more efficiently reduced.
In the embodiment, detection of the rotation of the rotor 200 on a brushless motor is explained. However, this is an example, and when a waveform in
Even in that case, based on the two waveforms having phases different from each other, which have been produced from detection result at a position they are shifted at almost 180°, the above process is executed to precisely detect an angle, reducing a cyclic error due to eccentricity of the rotor.
The rotor may be a magnetic material, and instead of the hall element, a TMR (Tunnel Magneto-Resistance) effect element, a Wheatstone Bridge Circuit using GMR (Giant Magneto Resistive) effect element, or an AMR (Anisotropic-Magneto-Resistive) effect element may be used as a magnetic sensor.
As an example of producing a waveform according to the rotational cycle of a rotor, a rotation detector with an optical encoder can be used. Specifically, a marking formed at a predetermined angle over a circumference of a rotor is optically detected to produce a pulse according to the detection thereof. The pulse is converted into a sine curve according to the cycle of the rotor to similarly apply the embodiment and reduce a cyclic error according thereto.
As another example of producing a waveform according to the rotational cycle of a rotor, a rotation detector with a slit rotation disc, a light source and an optical sensor can be used as well. Specifically, quantity of light from the light source is changed through the slit of the rotation disc to produce a sine curve according to the cycle of the rotor.
Having now fully described the invention, it will be apparent to one of ordinary skill in the art that many changes and modifications can be made thereto without departing from the spirit and scope of the invention as set forth therein.
Number | Date | Country | Kind |
---|---|---|---|
2014-081930 | Apr 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
7231325 | Motz | Jun 2007 | B2 |
8860346 | Shimizu | Oct 2014 | B2 |
20140347040 | Kawase | Nov 2014 | A1 |
20140354271 | Kawase | Dec 2014 | A1 |
Number | Date | Country |
---|---|---|
2005-168280 | Jun 2005 | JP |
2008-082739 | Apr 2008 | JP |
2012-083236 | Apr 2012 | JP |
2013-002835 | Jan 2013 | JP |
2014-211353 | Nov 2014 | JP |
2014-240875 | Dec 2014 | JP |
Number | Date | Country | |
---|---|---|---|
20150292907 A1 | Oct 2015 | US |