Method for controlling three-phase brushless DC motor comprising single hall sensor

09774282 · 2017-09-26

Assignee

Inventors

Cpc classification

International classification

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) FIG. 1 is a schematic circuit diagram of a three-phase DC brushless motor in accordance with one embodiment of the invention;

(3) FIG. 2 is an installation diagram of a permanent rotor and a hall sensor in accordance with one embodiment of the invention;

(4) FIG. 3 is a flow chart of control of a three-phase DC brushless motor in accordance with one embodiment of the invention;

(5) FIG. 4 is a specific expended diagram of FIG. 2;

(6) FIG. 5 is a diagram of a first work state of electric switches of an inverter in accordance with one embodiment of the invention;

(7) FIG. 6 is a diagram of a second work state of electric switches of an inverter in accordance with one embodiment of the invention;

(8) FIG. 7 is a diagram of a third work state of electric switches of an inverter in accordance with one embodiment of the invention;

(9) FIG. 8 is a diagram of a fourth work state of electric switches of an inverter in accordance with one embodiment of the invention;

(10) FIG. 9 is a diagram of a fifth work state of electric switches of an inverter in accordance with one embodiment of the invention;

(11) FIG. 10 is a diagram of a sixth work state of electric switches of an inverter in accordance with one embodiment of the invention; and

(12) FIG. 11 is a sequence diagram of a connection time of electric switches in accordance with one embodiment of the invention.

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 FIGS. 1-4, a three-phase DC brushless motor comprising a single hall sensor comprises a motor body and a motor controller. The motor body comprises a permanent rotor assembly 1 and a stator assembly. The stator assembly comprises a stator core and a three-phase winding U, V, and W. The motor controller comprises: a microprocessor, an inverter, and a single hall sensor HALL IC. An output end of the inverter is connected to the three-phase winding U, V, and W. The single hall sensor HALL IC sends a signal of a rotor position to the microprocessor. The microprocessor outputs six-path PWM signals to control operation of the inverter. The inverter comprises three bridge arms formed by six electric switches Q1, Q2, Q3, Q4, Q5, and Q6. The microprocessor outputs six paths P1, P2, P3, P4, P5, and P6 PWM signals to control the opening or closing of the electric switches Q1, Q2, Q3, Q4, Q5, and Q6.

(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 FIG. 2, each poles pair comprises an N pole and an S pole, then if the rotor rotates for one circle, the hall sensor measures two sine waveforms, that is, the total electric angle =2×360°=720°. Assuming that an install position of the hall sensor HALL IC is not located at 0° but has some deviation, and assuming the position deviation angle of the installation of the hall sensor is θ=10°, assuming that the microprocessor measures a time segment 0.5 s of the hall sensor within the last 360° electric angle cycle, then rotating angular velocity ω=360°/T in a last 360° electric angle cycle is acquired. As shown in FIGS. 5-11, work states of the electric switches Q1, Q2, Q3, Q4, Q5, and Q6 within the present 360° electric angle cycle can be calculated.

(21) As shown in FIG. 5, when α=ωt+θ =0°, the electric switches Q1, Q3, and Q6 are connected while the electric switches Q2, Q4, and Q5 are disconnected, a current passing through the U-phase winding is from left to right, a current passing through the V-phase winding is from left to right, and a current passing through the W-phase winding is from right to left.

(22) As shown in FIG. 6, when α=ωt+θ =60°, the electric switches Q1, Q4, and Q6 are connected while the electric switches Q2, Q3, and Q5 are disconnected, a current passing through the U-phase winding is from left to right, a current passing through the V-phase winding is from right to left, and a current passing through the W-phase winding is from right to left.

(23) As shown in FIG. 7, when α=ωt+θ =120°, the electric switches Q1, Q4, and Q5 are connected while the electric switches Q2, Q3, and Q6 are disconnected, a current passing through the U-phase winding is from left to right, a current passing through the V-phase winding is from right to left, and a current passing through the W-phase winding is from left to right.

(24) As shown in FIG. 8, when α=ωt+θ =180°, the electric switches Q2, Q4, and Q5 are connected while the electric switches Q1, Q3, and Q6 are disconnected, a current passing through the U-phase winding is from right to left, a current passing through the

(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 FIG. 9, when α=ωt+θ =240°, the electric switches Q2, Q3, and Q5 are connected while the electric switches Q1, Q4, and Q6 are disconnected, a current passing through the U-phase winding is from right to left, a current passing through the V-phase winding is from left to right, and a current passing through the W-phase winding is from left to right.

(27) As shown in FIG. 10, when α=ωt+θ =300°, the electric switches Q2, Q3, and Q6 are connected while the electric switches Q1, Q4, and Q5 are disconnected, a current passing through the U-phase winding is from right to left, a current passing through the V-phase winding is from left to right, and a current passing through the W-phase winding is from right to left.

(28) The rotor then rotates for another 60°, and the electric angle returns to the state of FIG. 5.

(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.