Method for controlling three-phase brushless DC motor comprising single hall sensor
09774282 · 2017-09-26
Assignee
Inventors
Cpc classification
International classification
H02K29/08
ELECTRICITY
H02P6/08
ELECTRICITY
Abstract
A method for controlling a three-phase brushless DC motor including a single hall sensor, the method including: A) measuring a deviation angle θ of a mounting position of the single hall sensor and storing; B) starting the motor: outputting six-path PWM signals by the microprocessor to control the operation of the inverter and allowing the single hall sensor to continuously and stably measure a position signal; C) obtaining a rotating angular velocity ω=360°/T in the last 360° electric angle cycle by the microprocessor; D) calculating a real-time position angle α=ωt+θ of a present 360° electric angle cycle by the microprocessor; and E) outputting the six-path PWM signals by the microprocessor to control the operation of the inverter so as to simultaneously energize the three-phase winding (U, V, and W); and switching a current direction of each winding.
Claims
1. A method for controlling a three-phase brushless DC motor, the three-phase brushless DC motor comprising: a) a motor body, the motor body comprising: a permanent magnet rotor assembly and a stator assembly; the stator assembly comprising a stator core and a three-phase winding (U, V, and W); the permanent magnet rotor assembly comprising a rotor comprising a plurality of magnetic poles; and b) a motor controller, the motor controller comprising: a microprocessor, an inverter, and a single hall sensor; an output end of the inverter being connected to the three-phase winding (U, V, and W), the single hall sensor sending a signal of a rotor position to the microprocessor, and allowing the microprocessor to output six-path PWM signals to control operation of the inverter; the method comprising: A) measuring a deviation angle (θ) between a start position of the rotor and a next position of the rotor, wherein when the rotor rotates to the next position, the single hall sensor is aligned with a boundary surface of the plurality of magnetic poles, and the deviation angle θ is a fixed constant value; and storing the deviation angle; and B) outputting the six-path PWM signals by the microprocessor to control the operation of the inverter, whereby enabling the stator assembly to produce a rotating magnetic field, enabling the rotor to rotate for a plurality of cycles, each cycle having an electric angle of 360°, and enabling the single hall sensor to continuously measure a position signal, wherein for each cycle: 1) measuring a time period T of the each cycle by the microprocessor and obtaining a rotating angular velocity (ω) of the rotor according to an equation ω=360°/T; 2) creating a variable α as a function of time according to an equation α=ωt+θ by the microprocessor, in which t represents an arbitrary time in a next single cycle that follows the each cycle and is a variable, and α represents a real-time position angle of the rotor during the next single cycle; and 3) outputting the six-path PWM signals by the microprocessor to control the operation of the inverter so as to simultaneously energize the three-phase winding (U, V, and W); and switching a current direction of each winding according to the following equations:
U=Ev×sin α
V=Ev×sin(α+120°)
W=Ev×sin(α+240°) in which, Ev represents an average voltage of each energized phase winding; the U-phase winding is reversed at α=0° and 180° within the next single cycle, the V-phase winding is reversed at α=60° and 240° within the next single cycle, and the W-phase winding is reversed at α=120° and 300° within the next single cycle.
2. The method of claim 1, wherein in B) 3), Ev=Vdc×K, in which Vdc represents a bus supply voltage of the motor, K represents a duty ratio of the PWM signal output by the microprocessor.
3. The method of claim 1, wherein a phase advance angle (β) is introduced to B) 3) to eliminate influence of current lags; and a current direction of each phase of the three-phase winding is switched according to the following equations:
U=Ev×sin(α+β)
V=Ev×sin(α+β+120°)
W=Ev×sin(α+β+240°) the U-phase winding is reversed at α+β=0° and 180° within the next single cycle; the V-phase winding is reversed at α+β=60° and 240° within the next single cycle; and the W-phase winding is reversed at α+β=120° and 300° within the next single cycle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention is described hereinbelow with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(13) For further illustrating the invention, experiments detailing a method for controlling a three-phase DC brushless motor comprising a single hall sensor are described below. It should be noted that the following examples are intended to describe and not to limit the invention.
(14) As shown in
(15) A method for controlling a three-phase DC brushless motor comprising the single hall sensor comprises the following steps: A) measuring a deviation angle θ of a mounting position of the single hall sensor, and storing the deviation angle; B) outputting the six-path PWM signals by the microprocessor to control the operation of the inverter so that the stator produces a rotating magnetic field operating at a certain velocity and the rotor of the motor start to rotate at a certain rotational velocity V0, and the single hall sensor start to continuously and stably measure a position signal; C) measuring a time segment T of the hall sensor within a last 360° electric angle cycle by the microprocessor and obtaining a rotating angular velocity ω=360°/T in the last 360° electric angle cycle; D) calculating a real-time position angle α=ωt+θ of a present 360° electric angle cycle by the microprocessor, in which co represents the rotating angular velocity of the last 360° electric angle cycle and t represents a time; and E) outputting the six-path PWM signals by the microprocessor to control the operation of the inverter so as to simultaneously energize the three-phase winding (U, V, and W); and switching a current direction of each winding according to the following equations:
U=Ev×sin α
V=Ev×sin(α+120°)
W=Ev×sin(α+240°) in which, Ev represents an average voltage of each energized phase winding. That is, the U-phase winding is reversed at α=0° and 180° within the 360° electric angle cycle, the V-phase winding is reversed at α=60° and 240° within the 360° electric angle cycle, and the W-phase winding is reversed at α=120° and 300°.
(16) In step E), Ev=Vdc×K, in which Vdc represents a bus supply voltage of the motor, K represents a duty ratio of the PWM signal output by the microprocessor.
(17) A phase advance angle β is preferably introduced into step E) to eliminate influence of current lags. A current direction of each phase of the three-phase winding is switched according to the following equations:
U=Ev×sin(α+β)
V=Ev×sin(α+β+120°)
W=Ev×sin(α+β+240°)
(18) That is, the U-phase winding is reversed at α+β=0° and 180° within the 360° electric angle cycle; the V-phase winding is reversed at α+β=60° and 240° within the 360° electric angle cycle; and the W-phase winding is reversed at α+β=120° and 300°.
(19) Principle of the invention is as follows:
(20) The single hall sensor HALL IC is adopted to measure the rotor position, as known by persons skilled in the art, a rotor has a number P of pole-pairs, and when the rotor rotates for a circle, the hall sensor measures P sine waveform, that is, a total electric angle =P×360°. Two pairs of poles are illustrated in
(21) As shown in
(22) As shown in
(23) As shown in
(24) As shown in
(25) V-phase winding is from right to left, and a current passing through the W-phase winding is from left to right.
(26) As shown in
(27) As shown in
(28) The rotor then rotates for another 60°, and the electric angle returns to the state of
(29) While particular embodiments of the invention have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from the invention in its broader aspects, and therefore, the aim in the appended claims is to cover all such changes and modifications as fall within the true spirit and scope of the invention.