WO2018214979A1 - Control method for brushless dc motor, control device, and electric tool - Google Patents

Control method for brushless dc motor, control device, and electric tool Download PDF

Info

Publication number
WO2018214979A1
WO2018214979A1 PCT/CN2018/088520 CN2018088520W WO2018214979A1 WO 2018214979 A1 WO2018214979 A1 WO 2018214979A1 CN 2018088520 W CN2018088520 W CN 2018088520W WO 2018214979 A1 WO2018214979 A1 WO 2018214979A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
brushless
phase
rotor
current value
Prior art date
Application number
PCT/CN2018/088520
Other languages
French (fr)
Chinese (zh)
Inventor
张传兵
朱行
Original Assignee
苏州宝时得电动工具有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201710818620.XA external-priority patent/CN108964531B/en
Application filed by 苏州宝时得电动工具有限公司 filed Critical 苏州宝时得电动工具有限公司
Priority to CN201880013393.6A priority Critical patent/CN110622410B/en
Publication of WO2018214979A1 publication Critical patent/WO2018214979A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • H02P6/18Circuit arrangements for detecting position without separate position detecting elements

Definitions

  • the invention relates to the technical field of electromechanical integration, in particular to a brushless DC motor control method, a control device and a power tool.
  • Brushless DC motor is composed of motor main body and driver. It is a typical mechatronic product. It has the advantages of good speed regulation performance, small size and high efficiency. It has been widely used in many fields.
  • the position sensor plays an important role in the normal operation of the brushless DC motor. It provides basic commutation information for the motor, but the position sensor signal is susceptible to interference in some high precision and complex environments, and increases the cost and motor structure. The complexity, so the study of sensorless brushless DC motors has become one of the hot spots in the field of brushless DC motors.
  • the key is to detect the rotor position, and then obtain the commutation point according to the position information, the corresponding winding conducts the commutation, and the conduction current is synchronized with the phase of the back electromotive force of the winding.
  • the acquisition and dynamic adjustment of the commutation timing is particularly important.
  • Hall sensor mode There are currently two ways to get the position of the rotor: Hall sensor mode and sensorless mode. Since the installation accuracy of the sensor directly affects the use effect of the brushless DC motor and the cost is high, the sensorless method is the goal pursued by the brushless controller. At present, most motors only use the back-EMF zero-crossing method in the whole process. The circuit is simple and the cost is low. However, the motor is in a static or low-speed phase. There is no back EMF or back EMF in this stage, which makes the timing of commutation usually not optimal. Timing, which can easily lead to startup failure.
  • the technical problem to be solved by the present invention is how to improve the inaccurate timing of the commutation timing of the brushless DC motor of the conventional position sensorless.
  • the present invention provides a brush position detection method for a brushless DC motor, control method and control thereof. Devices and power tools.
  • a brushless DC motor rotor position detecting method for controlling a three-phase (A, B, C) brushless DC motor without a position sensor comprising the following steps:
  • the size of the obtained Ia, Ib, Ic is compared to obtain the initial position of the rotor.
  • a brushless DC motor control method for controlling a three-phase (A, B, C) brushless DC motor without a position sensor comprising the following steps:
  • a specific step of applying the first direction pulse of the first time and the second direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia when the first direction pulse is applied to the phase A is performed.
  • a specific step of applying the first direction pulse of the first time and the second direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia when the first direction pulse is applied to the phase A is performed. Also includes:
  • control method further comprises the steps of:
  • the size of the obtained Ia, Ib, Ic, Ia', Ib', Ic' is compared to determine the initial position of the rotor.
  • control method is specifically:
  • control method is specifically:
  • control method comprises:
  • Controlling the A phase of the brushless DC motor to be forwarded, B is oppositely conducting (A+B-), and applying a voltage pulse of the first time to the AB phase to obtain a corresponding bus current value Iab, and the control A is oppositely guided.
  • phase B is forward-conducting (A-B+), and a voltage pulse of a second time is applied to the BA phase;
  • Controlling the B-phase forward conduction of the brushless DC motor, C is oppositely conducting (B+C-), and applying a voltage pulse of the first time to the BC phase to obtain a corresponding bus current value Ibc, and the control B is oppositely guided.
  • phase C is forward-guided (B-C+), and a voltage pulse of a second time is applied to the CB phase;
  • Controlling the C-phase of the brushless DC motor to be forwarded, A is oppositely conducting (C+A-), and applying a voltage pulse of the first time to the CA phase to obtain a corresponding bus current value Ica, and the control C is oppositely guided.
  • phase A is forward-conducting (C-A+), and a voltage pulse of a second time is applied to the AC phase;
  • Controlling the C-phase of the brushless DC motor to be forwarded, B is opposite to the conduction (C+B-), and applying a voltage pulse of the first time to the CB phase to obtain a corresponding bus current value Icb, and the control C is oppositely guided.
  • phase B is forward-conducting (C-B+), and a voltage pulse of a second time is applied to the BC phase;
  • Controlling the A phase of the brushless DC motor is forward-conducting, C is oppositely conducting (A+C-), and applying a voltage pulse of the first time to the AC phase to obtain a corresponding bus current value Iac;
  • the comparing Iab, Ibc, Ica, Iba, Icb, Iac size, determining the initial position of the rotor comprises:
  • the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0°60°), (240°300°), and (300°360°), respectively. , (120 ° 180 °), (60 ° 120 °), (180 ° 240 °).
  • the steps of the control method comprise:
  • B and C are oppositely conducting (A+BC-), applying a voltage pulse of the first time to the ABC phase, acquiring a corresponding bus current value Ia, and controlling the The brush A of the DC motor is oppositely turned on, and the B and C phases are forwardly guided (A-B+C+), and a voltage pulse of the second time is applied to the BCA phase;
  • Controlling the A of the brushless DC motor is reversed, and the B and C phases are forward-conducting (A-B+C+), and a voltage pulse of the first time is applied to the BCA phase to obtain a corresponding bus current value Ia', and the control station
  • the phase A of the brushless DC motor is forwardly guided, and B and C are oppositely connected (A+BC-), and a voltage pulse of the second time is applied to the ABC phase;
  • Controlling the C of the brushless DC motor to conduct the opposite direction, and the A and B phases are forward-conducting (C-A+B+), and applying a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ic';
  • the comparing the Ia, Ib, Ic, Ia', Ib', Ic' size, the step of determining the initial position of the rotor comprises:
  • the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0°60°), (240°300°), and (300°360°), respectively. , (120°180°), (60°120°), (180°240°)
  • the second time is equal to the first time.
  • the invention also provides a method for detecting a rotor position of a brushless DC motor, the detection method comprising:
  • short-time voltage pulses are sequentially applied to the three phases of the brushless DC motor to obtain corresponding voltage values and current values;
  • the voltage value and current value of each of the above phases are brought into a flux linkage function for processing, and the rotor position is determined.
  • a brushless DC motor control method characterized in that the control method comprises:
  • the voltage value includes a voltage value of a conducting phase of the brushless DC motor and a voltage value of a non-conducting phase.
  • the current value comprises any one of a bus current value or a phase current value.
  • the back electromotive force zero-crossing point is a stable back electromotive force zero-crossing point, and the number of times of the counter electromotive force zero-crossing point reaches a preset value or the slope of the terminal voltage rise reaches a preset value.
  • the above method further comprises the steps of:
  • the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
  • the invention also provides a method for detecting a rotor position of a brushless DC motor, the method comprising the following steps:
  • the position of the rotor is determined by a flux linkage function to perform commutation
  • the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
  • a brushless DC motor control method comprising:
  • the sensorless control of the full speed range of the brushless DC motor is divided into three stages according to a preset condition, and each stage acquires an electrical signal of the brushless DC motor, and the rotor position of the brushless DC motor is obtained according to the electrical signal.
  • the brushless DC motor is commutated according to the rotor position.
  • control method comprises:
  • the brushless DC motor when the brushless DC motor is stationary, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the brushless DC motor rotor is obtained according to the current value.
  • the initial position, and the control signal is sent according to the initial position to control the commutation of the brushless DC motor;
  • the rotor position of the brushless DC motor is obtained according to the method of the flux linkage function, according to the The rotor position transmission control signal controls the commutation of the brushless DC motor;
  • the rotor position of the brushless DC motor is obtained by the zero-crossing point of the back electromotive force, and the commutation of the brushless DC motor is controlled according to the sending position control signal of the rotor position.
  • a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and an initial position of the rotor of the brushless DC motor is obtained according to the current value, and according to the
  • the step of the initial position transmission control signal controlling the commutation of the brushless DC motor includes the steps of the brushless DC motor control method according to any of the above.
  • the method of the flux linkage function comprises the above brushless DC motor control method.
  • the present invention also provides a control device for detecting a rotor position of a brushless DC motor to control motor commutation, the control device being configured to perform the brushless DC motor control method according to any of the above.
  • the invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the The control device and the motor provide electrical energy; wherein, after the switch is closed, the first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain the phase A
  • the bus current value Ia when the first direction pulse is applied the above operation is repeated for the B and C phases, and the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase; Comparing the obtained sizes of Ia, Ib, Ic, determining the initial position of the rotor; and transmitting a control signal according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • the invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the
  • the control device and the motor provide electrical energy; after the switch is closed, the control device obtains a current value flowing through the motor and a voltage value of the motor after obtaining an initial position of the rotor until a zero-crossing point of the back electromotive force is detected, The rotor position is obtained according to the method of the flux linkage function, and the motor commutation is controlled according to the rotor position transmitting control signal.
  • the invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the
  • the control device and the motor provide electric energy; the sensorless control of the brushless DC motor in the full speed range is divided into three stages according to a preset condition, and after the switch is closed, the electric signal of the brushless DC motor is obtained in each stage, according to the The electrical signal obtains the rotor position of the brushless DC motor, and the brushless DC motor is commutated according to the rotor position.
  • the switch is closed, and further comprising: after the switch is closed, the control device receives the trigger signal from the switch and determines whether the trigger signal meets a preset condition, and if yes, the motor starts.
  • the preset condition includes that the voltage signal set at different positions of the switch is greater than a preset voltage value previously stored in the control device.
  • the motor is a brushless DC motor.
  • the first direction is opposite to the second direction.
  • control device comprises the control device described above.
  • the above brushless DC motor control method, control device and power tool have the beneficial effects that the brushless DC motor uses different methods to detect the position of the rotor according to different states of the motor during operation, and the detection effect is more accurate.
  • the position of the rotor is detected by pulse injection method, and a positive pulse and a negative pulse of the same time are sequentially input to a certain phase of the motor, wherein the negative pulse is mainly used to cancel the current generated by the positive pulse to the next phase.
  • the effect of the current detection result so that the detection of the current is more accurate by the cancellation of the negative pulse, and the commutation of the rotor is more accurate.
  • the motor is running at low speed, the zero-crossing point of the back electromotive force cannot be detected.
  • the position of the rotor is detected by the method of flux linkage function; when it is judged that the zero-crossing point of the back electromotive force can be detected, the speed of the brushless DC motor reaches the medium-high speed.
  • the use of the flux linkage function method to stop the rotor seat by the back electromotive force method is reduced, and the calculation amount is reduced to improve the accuracy of the commutation, thereby increasing the probability of successful startup.
  • FIG. 1 is a flow chart of a first embodiment of a control method of a brushless DC motor according to the present invention
  • FIG. 2 is a circuit diagram of a brushless DC motor control circuit of the present invention.
  • Figure 3 is a flow chart showing a second embodiment of the brushless DC motor control method of the present invention.
  • FIG. 4 is a flow chart showing a fourth embodiment of the brushless DC motor control method of the present invention.
  • Figure 5 is a flow chart showing a fifth embodiment of the brushless DC motor control method of the present invention.
  • Figure 6 is a flow chart showing a seventh embodiment of the brushless DC motor control method of the present invention.
  • Figure 7 is a diagram showing the position of a sector of a brushless DC motor of the present invention.
  • Figure 8 is a flow chart showing an eighth embodiment of the brushless DC motor control method of the present invention.
  • Figure 9 is a flow chart showing a ninth embodiment of the brushless DC motor control method of the present invention.
  • Figure 10 is a diagram showing the back electromotive force waveform of the brushless DC motor control method of the present invention.
  • FIG. 1 is a flow chart of a first embodiment of a brushless DC motor control method according to the present invention, including the steps of:
  • Step S1 The first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor, and the bus current value Ia when the first phase pulse is applied to the phase A is obtained;
  • Step S2 Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
  • Step S4 The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • steps S1, S0, S3 are used to detect the initial position of the rotor.
  • the accurate detection and positioning of the initial position of the rotor is directly related to the smooth start of the motor.
  • FIG. 2 is a schematic diagram of a commutation drive circuit of a brushless DC motor.
  • Ud is the DC power supply voltage
  • g is the reference point of the DC voltage
  • Q1-Q6 is the high power MOSFET
  • D1-D6 is the parasitic body diode in the MOSFET.
  • the invention adopts the pulse method to detect the initial position angle of the rotor, and applies a short time positive and negative voltage pulse to the motor winding, then calculates the pulse current value, and queries the defined relationship table to determine the current position of the rotor and the conduction phase of the next state. sequence.
  • the first direction is opposite to the second direction, and the two are different by 180°, that is, the present invention sequentially applies positive and negative pulses to each phase of the brushless DC motor to compare the positive pulses when each phase is applied.
  • the magnitude of the bus current value is obtained, or the position of the rotor of the motor is obtained, or a negative pulse and a positive pulse are sequentially applied to each phase of the brushless DC motor, and the magnitude of the bus current when each phase is applied with a negative pulse is compared to obtain the position of the rotor of the motor.
  • FIG. 3 is a flowchart of a second embodiment of a method for controlling a brushless DC motor according to the present invention.
  • the three pairs of positive and negative pulses are used to detect the rotor position and then control the rotor commutation, including:
  • Step S10 Control the A phase of the brushless DC motor to be forwarded, and apply a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, control the A of the brushless DC motor to be oppositely directed, and to the A phase. Applying a voltage pulse of a second time;
  • Step S20 Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
  • Step S30 Comparing the obtained sizes of Ia, Ib, and Ic, and determining the initial position of the rotor;
  • Step S40 The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • the difference from the second embodiment is that the step S10 in the first embodiment specifically includes: controlling the A of the brushless DC motor in the embodiment. Conversely, the conduction is performed, and a voltage pulse of the first time is applied to the phase A to obtain a corresponding bus current value Ia', and the phase A of the brushless DC motor is controlled to be forwarded, and the second phase is applied to the phase A. The voltage pulse of time.
  • the present embodiment uses six pairs of positive and negative pulses to determine The initial position of the rotor, which in turn controls the commutation of the brushless DC motor.
  • the specific steps include:
  • Step S100 The first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain the bus current value Ia when the first phase pulse is applied to the phase A;
  • Step S200 Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase applies the first direction pulse and the bus current value Ic when the C phase applies the first direction pulse;
  • Step S300 sequentially applying a second direction pulse of the first time and a first direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia' when the second direction pulse is applied to the phase A;
  • Step S400 Repeat the above operations for the B and C phases to obtain the bus current value Ib' to which the B phase applies the second direction pulse and the bus current value Ic' when the C phase applies the pulse in the second direction.
  • Step S500 Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
  • Step S600 The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • the above embodiment can first input a negative pulse to the three phases of the motor, and then input a positive pulse, compare the magnitudes of the obtained six current values, and determine the initial position of the rotor, which will not be described in detail herein.
  • the driving method of the brushless DC motor may be: the control device performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to the inverter for each power.
  • the switch tube switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
  • the three windings of the three-phase motors A, B, and C have two combinations (AB, BC, CA), (BA, AC, CB), and the above embodiments are for the brushless DC motor A.
  • the phase sequentially applies the first direction pulse of the first time and the second direction pulse of the second time, and repeats the above operations for the B and C phases, wherein one specific manner is to apply the positive pulse and the second time of the first time to the AB phase.
  • Negative pulse the positive pulse of the first time and the negative pulse of the second time are applied to the BC phase, the positive pulse of the first time of the CA phase time and the negative pulse of the second time; another specific way is to apply the phase of the BA
  • the negative pulse of the first time and the positive pulse of the second time apply a positive pulse of the first time and a negative pulse of the second time to the AC phase, and a positive pulse of the first time and a negative pulse of the second time are applied to the CB phase.
  • Step S101 controlling the A-phase forward conduction (A+) of the brushless DC motor, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the opposite direction of the brushless DC motor A (A -), and apply a voltage pulse of the second time to phase A.
  • step S201 the above operations are repeated for the B and C phases, and the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded are obtained.
  • Step S301 controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase, obtaining a corresponding bus current value Ia', controlling the A phase of the brushless DC motor to be forwarded, and to A The phase applies a voltage pulse of a second time.
  • step S401 the above operation is repeated for the B and C phases, and the bus current value Ib' when B is reversely turned on and the bus current value Ic' when C is turned on in the opposite direction are obtained.
  • step S501 the sizes of the acquired Ia, Ib, Ic, Ia', Ib', Ic' are compared to determine the initial position of the rotor.
  • Step S601. The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • the difference from the fifth embodiment is that the first control A, B, and C are oppositely turned on, and a voltage pulse of a certain time is applied to obtain a corresponding bus current, and then in the control A.
  • the B and C phases are forwarded, and a voltage pulse is applied for a certain period of time to obtain a corresponding bus current.
  • the initial position of the rotor is obtained by comparing the obtained bus currents.
  • steps S301 and S401 are performed first. Steps S101, S201, S501, and S601 are performed.
  • the phase A is forward-conducted, and the MOSFET of the upper arm of the corresponding driving circuit of A is turned on, specifically, the Q1 in FIG. 2 is turned on, and the other two phases are used.
  • the lower arm of one phase is turned on, that is, Q2 or Q6 is turned on;
  • A is opposite to the MOSFET of the lower arm of the corresponding driving circuit of A, specifically, Q4 is turned on in FIG. 2, Q3 or Q5 is turned on.
  • FIG. 6 is a flow chart of a seventh embodiment of a control method of a brushless DC motor according to the present invention, specifically adopting a three-phase two-two conduction manner, and the steps of the method include:
  • Step S110 Control the A phase of the brushless DC motor to be forwarded, B to conduct the opposite direction, and apply a voltage pulse of the first time to the AB phase to obtain the corresponding bus current value Iab, and the control A is oppositely guided, and the B phase is guided. Passing, and applying a voltage pulse of a second time to the BA phase;
  • the voltage pulse Vab of the first time is applied to the stator winding through the Q1 and Q6 power tube conduction (A+B-) of the driving circuit shown in FIG. 2, that is, the current flows from the A-phase winding, and the B-direction winding Flow out, detect the corresponding bus current value Iab; pass the Q3 and Q4 power tube conduction (A-B+) of the drive circuit, and apply a second time voltage pulse Vba to the stator winding, that is, the current flows from the B-phase winding, by A The winding flows out to cancel the interference of the current Iab to the next detected current, so that the detection accuracy of the initial position of the rotor can be improved.
  • Step S210 Control the B-phase forward conduction of the brushless DC motor, C reversely conducts, and applies a voltage pulse of the first time to the BC phase to obtain a corresponding bus current value Ibc, and the control B is oppositely guided, and the C phase is guiding. Passing, applying a voltage pulse of a second time to the CB phase;
  • the voltage pulse Vbc of the first time is applied to the stator winding through the Q3 and Q2 power tube conduction (B+C-) of the driving circuit, that is, the current flows from the B-phase winding, and the C flows out to the winding, and the corresponding detection is performed.
  • the bus current value Ibc is applied by the driving current Q5 and the Q6 power tube (B-C+), and the second time voltage pulse Vcb is applied to the stator winding, that is, the current flows in from the C-phase winding and flows out from the B to the winding. It is used to cancel the interference of the current Ibc to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
  • Step S310 controlling the C-phase of the brushless DC motor to be forwarded, A is oppositely turned on, and applies a voltage pulse of the first time to the CA phase to obtain a corresponding bus current value Ica, and the control C is oppositely guided, and the A phase is positively guided. Passing, and applying a voltage pulse of a second time to the AC phase;
  • the voltage pulse Vca of the first time is applied to the stator winding through the Q5 and Q4 power tube conduction (C+A-) of the driving circuit, that is, the current flows in from the C-phase winding, and flows out from the A to the winding, and the corresponding detection is performed.
  • the bus current value Ica is applied by the driving current Q1 and the Q2 power tube (C-A+), and the second time voltage pulse Vac is applied to the stator winding, that is, the current flows in from the A-phase winding and flows out from the C to the winding. It is used to cancel the interference of the current Ica to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
  • Step S410 Control the B phase of the brushless DC motor to be forwarded, A is oppositely turned on, and applies a voltage pulse of the first time to the BA phase to obtain a corresponding bus current value Iba, and the control B is oppositely guided, and the A phase is positively guided. Passing, and applying a voltage pulse of a second time to the AB phase;
  • the voltage pulse Vba of the first time is applied to the stator winding through the Q3 and Q4 power tube conduction (B+A-) of the driving circuit, that is, the current flows from the B-phase winding, and the A-direction winding flows out, and the corresponding detection is performed.
  • the bus current value Iba is applied to the stator winding through the Q1 and Q6 power tube conduction (B-A+) of the driving circuit, and the second time voltage pulse Vab is applied to the stator winding, that is, the current flows in from the A-phase winding and flows out from the B-to-winding. It is used to cancel the interference of the current Iba to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
  • Step S510 Control the C-phase of the brushless DC motor to be forwarded, B to conduct the opposite direction, and apply a voltage pulse of the first time to the CB phase to obtain a corresponding bus current value Icb, and the control C is oppositely guided, and the B phase is guided. Passing, and applying a voltage pulse of a second time to the BC phase;
  • the voltage pulse Vcb of the first time is applied to the stator winding by the driving current Q5 and the Q6 power tube conducting (C+B-), that is, the current flows from the C-phase winding, and the B flows out to the winding, and the corresponding detection is performed.
  • the bus current value Icb is applied to the stator winding through the Q3 and Q2 power tube conduction (C-B+) of the driving circuit, and the second time voltage pulse Vbc is applied to the stator winding, that is, the current flows in from the B-phase winding and flows out from the C to the winding. It is used to cancel the interference of the current Icb to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
  • Step S610 controlling the A phase of the brushless DC motor to be forwarded, C is oppositely turned on, and applying a voltage pulse of the first time to the AC phase to obtain a corresponding bus current value Iac, and the control A is oppositely guided, and the C phase is guiding. Passing, and applying a pulse of the second time to the CA phase;
  • a voltage pulse Vac of the first time is applied to the stator winding, that is, the current flows in from the A-phase winding, and flows out from the C to the winding, and the corresponding detection is performed.
  • Bus current value Iac Bus current value
  • Step S710 Comparing the Iab, Ibc, Ica, Iba, Icb, and Iac sizes, and determining the initial position of the rotor, that is, the sector in which the rotor is located. For the specific six sectors, please refer to FIG.
  • the BC phase is 0°
  • the counterclockwise rotation is performed, and the electrical angle ranges of the first sector to the sixth sector are respectively (0°60°), (240°300°), and (300°360). °), (120°180°), (60°120°), (180°240°).
  • A, B, and C three phases are three AC circuits with the same frequency, the same amplitude, and 120° phase difference.
  • the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
  • Step S810 The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
  • a forward voltage for example, Uab
  • a reverse voltage Uba
  • the reverse voltage is used to cancel the current generated by the forward voltage at the second time to avoid the next input voltage Ubc.
  • the current Ibc causes interference, making the detection result inaccurate.
  • the first time is equal to the second time, and the time is shorter, and the voltage pulse that is input at the second time is used to cancel the interference of the current generated by the voltage applied at the first time to the next detection current, thereby improving The accuracy of the detection of the initial position of the rotor.
  • the three phases A, B, and C are three alternating current circuits having the same frequency, the same amplitude, and 120° phase difference.
  • the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
  • FIG. 8 is a flow chart showing an eighth embodiment of the brushless DC motor control method of the present invention.
  • the brushless DC motor of this embodiment adopts a three-phase three-tube conduction mode, and the brushless DC motor adopts a full-bridge drive, that is, six MOSFETs respectively constitute an upper bridge arm and a lower bridge arm, and specifically includes:
  • Step S111 Control the A phase of the brushless DC motor to be forwarded, B and C are oppositely connected, and apply a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ia, and control the opposite direction of the brushless DC motor A. Passing, B, C phase forward conduction, applying a voltage pulse of the second time to the BCA phase;
  • the Q2 and the C-phase winding corresponding to the Q1 and B-phase windings of the A-phase winding of the brushless DC motor are controlled to be connected to the Q2 (A+BC-), and the first time voltage pulse is applied to the stator winding.
  • Detecting the corresponding bus current value Ia controlling the Q4 and B phase windings corresponding to the A phase winding of the brushless DC motor to be connected to the corresponding Q5 according to the Q3 and C phases, and applying a voltage pulse of the second time to the stator winding,
  • the detection of the current detected by the voltage pulse of the first time cancels the current detected by applying the forward voltage to the next B phase, thereby improving the detection accuracy of the initial position of the rotor.
  • Step S211 Control the B phase of the brushless DC motor to be forwarded, and A and C are oppositely connected, and apply a voltage pulse of the first time to the BAC phase to obtain a corresponding bus current value Ib, and control the opposite direction of the brushless DC motor B. Pass, the A and C phases are forwarded, and a voltage pulse of the second time is applied to the ACB phase;
  • the Q3 corresponding to the B-phase winding of the brushless DC motor is controlled, the Q4 corresponding to the A-phase winding is turned on, the Q2 corresponding to the C-phase winding is turned on (B+AC-), and the voltage of the first time is applied to the stator winding.
  • Pulse detecting the corresponding bus current value Ib, controlling the Q6 corresponding to the B-phase winding of the brushless DC motor, the Q1 corresponding to the A-phase winding is turned on, the Q5 corresponding to the C-phase winding is turned on, and applying the second time to the stator winding
  • the voltage pulse is used to cancel the interference of the current generated by the voltage pulse of the first time to the current detected when the forward voltage is applied to the next C phase, thereby improving the detection accuracy of the initial position of the rotor.
  • Step S311 Control the C-phase of the brushless DC motor to be forwarded, and A and B are oppositely connected, and apply a voltage pulse of the first time to the CAB phase to obtain a corresponding bus current value Ic; and control the opposite direction of the brushless DC motor C Pass, the A and B phases are forwarded, and a voltage pulse of the second time is applied to the ABC phase;
  • the Q4 of the C-phase winding of the brushless DC motor is controlled, and the Q6 of the A-phase winding corresponding to the Q-phase winding is turned on (C+AB-), and the voltage pulse of the first time is applied to the stator winding.
  • Step S411 Control A of the brushless DC motor to conduct the opposite direction, and the B and C phases are forwarded to each other, and apply a voltage pulse of the first time to the BCA phase to obtain a corresponding bus current value Ia', and control the phase A of the brushless DC motor. Positive conduction, B and C are oppositely connected, and a voltage pulse of the second time is applied to the ABC phase;
  • the Q3 and C phases corresponding to the Q4 and B phase windings of the A-phase winding of the brushless DC motor are controlled to be connected to the corresponding Q5 (A-B+C+), and the voltage of the first time is applied to the stator winding.
  • Pulse detecting the corresponding bus current value Ia', controlling the Q2 corresponding to the Q1 and C phase windings corresponding to the Q1 and B phase windings of the A-phase winding of the brushless DC motor, and applying the second time voltage to the stator winding
  • the pulse is used to cancel the interference of the current generated by the voltage pulse Ubca at the first time on the current detected when the next voltage is applied, thereby improving the detection accuracy of the initial position of the rotor.
  • Step S511 Control B of the brushless DC motor to conduct the opposite direction, and the phases A and C are forwarded, and the voltage pulse of the first time is applied to the ACB phase to obtain the corresponding bus current value Ib', and the phase B of the brushless DC motor is controlled. Positive conduction, A and C are oppositely connected, and a voltage pulse of a second time is applied to the BAC phase;
  • the Q1 and C phases corresponding to the Q6 and A phase windings of the B-phase winding of the brushless DC motor are controlled to be connected to the corresponding Q5 (B-A+C+), and the voltage of the first time is applied to the stator winding.
  • Pulse, detecting the corresponding bus current value Ib', controlling the Q3 of the B-phase winding of the brushless DC motor, and the Q4 and C phases corresponding to the A-phase winding are turned on around the corresponding Q2, and applying the second time to the stator winding
  • the voltage pulse is used to cancel the interference of the current generated by the voltage pulse Ubac of the first time on the current detected when the forward voltage is applied, thereby improving the detection accuracy of the initial position of the rotor.
  • Step S611 Control the brushless DC motor C to conduct the opposite direction, and the A and B phases are forwardly connected, and apply a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ic';
  • the Q1 and the C-phase winding corresponding to the Q2 winding of the brushless DC motor are controlled to correspond to the Q3 conduction (C-A+B+), and the first time voltage pulse is applied to the stator winding. , the corresponding bus current value Ic' is detected.
  • Step S711 Compare the sizes Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor. That is, the magnitude of the six current values obtained is compared to determine the 600 electrical angle interval (sector) where the rotor is located.
  • FIG. 7 Please refer to FIG. 7 for a schematic diagram of six sectors.
  • the BC phase is 0°
  • the counterclockwise rotation is performed, and the electrical angle ranges of the first sector to the sixth sector are respectively (0°60°), (240°300°), and (300°360). °), (120°180°), (60°120°), (180°240°).
  • A, B, and C three phases are three AC circuits with the same frequency, the same amplitude, and 120° phase difference.
  • the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
  • the bus current value refers to the current sampling value on the DC side of the inverter.
  • a short-time voltage pulse of different width and direction is applied to the stator windings respectively, the saturation state of the stator core is different, and the inductance of the magnetic circuit is different, so that the current response is different, so according to each current response
  • the relationship between the two determines the position information of the rotor.
  • the amplitude of each voltage pulse is less than the minimum of the safety thresholds that all power devices in the brushless DC motor can withstand.
  • the width of each pulse is smaller than the corresponding width of the brushless DC motor when the inductance reaches saturation, and the width of each pulse needs to ensure that the pulses can be distinguished and the position of the rotor can be determined.
  • the width of each pulse should be as short as possible to improve the response speed of the whole machine.
  • the mode of driving the brushless DC motor can be: the controller performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to Each power switch tube of the inverter further switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
  • a ninth embodiment of the control method of the brushless DC motor of the present invention before the brushless DC motor starts to operate until the zero point of the back electromotive force is detected, the current value flowing through the brushless DC motor and the voltage value of the motor are detected; The value, voltage value and flux linkage function are used to calculate the rotor position; the drive signal is sent according to the calculated rotor position to drive the brushless DC motor commutation.
  • the brushless DC motor obtains the initial position and starts to run until the zero point of the back electromotive force is detected. At this time, the motor has started to rotate, and the controller controls the two phases to be turned on and the other phase is not turned on by the closed loop control mode. Detecting the current value of the motor, the voltage value of the conduction phase, and the voltage value of the non-conduction phase, and calculating in the flux linkage function according to the detected current value, the conduction phase voltage value, and the non-conduction phase voltage value, according to the calculation result The position of the rotor is determined, and the drive signal is sent according to the position of the rotor to drive the commutation of the brushless DC motor.
  • the basic idea of the flux linkage function method is: construct a function related to the flux linkage to describe the rotor position, estimate the flux linkage by using the measured voltage applied to the stator winding and the detected bus current, and then The relationship between the flux linkage and the rotor position estimates the position of the rotor.
  • the specific implementation manner may be: writing a phase voltage equation, and writing the phase voltage as a function of phase current, resistance, inductance, mutual inductance, rotor position, and flux linkage.
  • the flux linkage function is the flux linkage generated on the rotor permanent magnet and is a function of the rotor position.
  • the line voltage expression is derived by using the three-phase windings with the same mutual inductance and the sum of the three-phase currents to zero.
  • the line voltage expression is a function of resistance, current, self-inductance, mutual inductance, and line flux linkage function, wherein the line voltage is replaced by the voltage applied to the stator winding, and the line flux function is the difference between the two flux linkage functions.
  • the differential of the linear flux linkage function is positioned as a line function, and the expression of the function is derived from the expression of the voltage, and the function also has the amount of rotation, which is further transformed in order to eliminate the amount of rotation.
  • the ratio of the two line functions is defined as an estimation function.
  • This estimation function is independent of the rotational speed. It is only a function of the rotor position.
  • the estimated function value can be used to estimate the rotor position to achieve stator commutation. Therefore, the flux linkage function method can estimate the rotational speed from near zero (e.g., 1.5% of the rated rotational speed) to the high-speed commutation instant by the application of the rotational speed independent estimation function, and because the form of the estimation function is in the entire speed range. The same is true, so accurate commutation pulses can be provided in both transient and steady state.
  • phase A is the commutation phase
  • phase B is the non-conducting phase
  • phase C is the non-commutation phase
  • U an is the phase voltage of the conducting phase A, i a — - Phase A current, R a - phase resistance, ⁇ - rotor position angle
  • U ab - motor line voltage, ⁇ - motor instantaneous angular velocity, U a is the motor's conduction phase terminal voltage, defines a new line-to-line flux function
  • U BC is the voltage value when the BC phase winding is turned on
  • U AB is the voltage value when the AB phase winding is turned on
  • the current value includes any one of a bus current value or a phase current value.
  • the above G( ⁇ ) function is independent of the speed and includes a continuous position signal.
  • G( ⁇ ) tends to be infinite, it is a commutation point.
  • G( ⁇ ) is greater than a preset value, Reversing point. Since the motor's expression is the same when the motor is running at any speed, a precise commutation pulse can be obtained in both the transient and steady state of the motor.
  • the above method of flux linkage function detects the position of the rotor.
  • the expression of the function is the same, that is, the control method is applicable to the entire rotational speed range of the brushless DC motor, but the method of obtaining the flux linkage function Calculating the position of the rotor is relatively large.
  • the position of the rotor is calculated by the method of flux linkage function. Will result in inaccurate calculation results.
  • the brushless DC motor control method provided by the embodiment of the present invention can detect the position of the rotor by using a flux linkage function in a low speed stage, thereby being capable of commutating according to the position information of the rotor, and improving the commutation. Accuracy and increased starting torque, which increases the probability of successful startup.
  • a stable back-EMF zero-crossing point can be detected.
  • the position of the rotor can be determined by the back-EMF zero-crossing point.
  • the opposite potential method, the terminal voltage method, and the line voltage can be used.
  • the difference method, the third harmonic method, etc. are used to determine the position of the rotor, and then the commutation control of the stator winding is performed to drive the rotor to rotate.
  • the brushless DC motor operates in a self-synchronizing state, indicating that the rotor has been successfully started.
  • the stable back electromotive force zero-crossing point includes the number of times the back electromotive force zero-crossing reaches a preset value or the slope of the terminal voltage rise reaches a preset value.
  • the sensorless control of the full speed range of the brushless DC motor is divided into three stages according to the preset conditions.
  • the electric signals of the brushless DC motor are obtained in each stage, and the brushless DC is obtained according to the electric signal.
  • the rotor position of the motor controls the commutation of the brushless DC motor according to the rotor position.
  • the brushless DC motor is divided into three stages according to the speed in the full speed range, and the motor is separately controlled by different methods. include:
  • Step S01 In the first stage, when the brushless DC motor is stationary, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the rotor of the brushless DC motor is obtained according to the current value. The initial position, and the control signal is sent according to the initial position to control the commutation of the brushless DC motor;
  • Step S02 In the second stage, after the brushless motor rotates, the current value flowing through the brushless DC motor and the voltage value of the brushless DC motor are obtained, and the rotor position of the brushless DC motor is obtained according to the method of the flux linkage function, according to the rotor
  • the position transmission control signal controls the commutation of the brushless DC motor; the second stage is mainly when the motor is running at low speed, the back electromotive force is not obvious or the back electromotive force cannot be detected, and the position of the rotor can be accurately obtained by the method of flux linkage function.
  • Step S03 In the third stage, when the brushless DC motor detects the zero-crossing of the back electromotive force, the rotor position of the brushless DC motor is obtained by the zero-crossing point of the back electromotive force, and the commutation of the brushless DC motor is controlled according to the rotor position transmission control signal.
  • the third stage mainly refers to the motor running at medium and high speeds.
  • the back electromotive force is relatively obvious.
  • the position of the motor rotor can be obtained according to the method of zero-crossing of the back electromotive force, and the motor is commutated according to the position of the rotor.
  • the motor runs at a relatively high speed. If the flux linkage function is used, the calculation amount will increase, and the commutation delay may occur, which makes the commutation inaccurate. Therefore, the back electromotive force method can be used to obtain the rotor position accurately.
  • the step S01 may be the method of any one of the first to eighth embodiments.
  • the driving method of the brushless DC motor may be: the control device performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to the inverter for each power.
  • the switch tube switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
  • the present invention S02 may be the flux linkage function method described in the above embodiment 9, that is,
  • UBC is the voltage when the BC phase winding is turned on
  • UAB is the voltage when the AB phase winding is turned on.
  • the above G( ⁇ ) function is independent of speed and includes a continuous position signal.
  • G( ⁇ ) tends to be infinite, it is a commutation point.
  • G( ⁇ )) is greater than a preset value. Extremely commutating point. Since the motor's expression is the same when the motor is running at any speed, a precise commutation pulse can be obtained in both the transient and steady state of the motor.
  • the above method of flux linkage function detects the position of the rotor.
  • the expression of the function is the same, that is, the detection method is applicable to the entire rotational speed range of the brushless DC motor, but the method of obtaining the flux linkage function Calculating the position of the rotor is relatively large.
  • the position of the rotor is calculated by the method of flux linkage function. Will result in inaccurate calculation results.
  • the S03 of the present invention includes the back electromotive force zero-crossing method described in one embodiment of the above-described brushless DC motor control method for detecting the initial position of the rotor.
  • the zero-crossing point of the back electromotive force is a stable zero-electrode zero-crossing point, and the number of times of the zero-crossing of the counter electromotive force reaches a preset value or the slope of the terminal voltage rise reaches a preset value.
  • the zero-crossing of the back EMF can be detected by the terminal voltage detection method.
  • the basic principle is: by detecting the terminal voltage and performing passive filtering, filtering out the influence of the switching noise on the low-frequency back EMF, and estimating the phase shift caused by the filtering. Then compensated by software, after comparing with the neutral point voltage of the brushless DC motor, the zero-crossing point of the obtained difference is the zero-crossing point of the back electromotive force. After finding the zero-crossing point of the back electromotive force, the 30° electrical angle is the commutation moment of the brushless DC motor.
  • the back electromotive force of each phase has two zero crossing points in one electric cycle, and six commutation positions in three opposite electromotive force waveforms.
  • the back electromotive force corresponding to these positions is not special, it is not easy to detect.
  • the rotor position detecting method for the zero-crossing point of the back electromotive force of the present invention is to obtain the key position of the rotor of the motor by detecting the zero-crossing point of the counter electromotive force of the suspended phase when the two motors are turned on, and then perform the commutation.
  • the Q1-Q6 power tube is turned on, A+B- is turned on, and the C phase is suspended.
  • the opposite electromotive force conditions are as shown in the interval 1 of FIG. 10, so after running 30 degrees, C
  • the back electromotive force of the phase winding will cross the zero point S1, and then run 30 degrees to reach the b position, which is the key position that can be commutated. It is conceivable that by detecting the back electromotive force zero crossing point S1-S6, the position of the relevant key can be known.
  • the position of S1 is determined by detecting the bus current value of phase C.
  • the initial position of the rotor is detected by the short-time pulse positioning method in the initial stage, and the rotor position is detected by the flux linkage method before the back electromotive force cannot be detected, and when the counter electromotive force is detected, according to the counter electromotive force method Detect the rotor position.
  • the detection method adopts closed-loop control in the whole process, which makes the motor start more stable, avoids the phenomenon of jitter, and improves the accuracy of the commutation.
  • the flux position is detected by the flux linkage method, and the detection result is more Accurate, and improve the starting torque, which increases the probability of successful start-up.
  • the high-speed phase uses the back electromotive force method instead of the flux linkage method, which can accurately obtain the rotor position and avoid the use of the flux linkage method in high-speed operation. Large problems that may result in inaccurate commutation.
  • the present invention also provides a control device for closed-loop communication with a brushless DC motor and for detecting a position of a brushless DC motor rotor without a position sensor, the control device being configured to include the one described in any of the above embodiments Brushless DC motor rotor position detection method or control method.
  • the control device of the present invention integrates the brushless DC motor rotor position detecting method in the above embodiment into a controller, so that the motor is detected by pulse injection at different speeds, that is, when the motor is stationary.
  • the initial position when the motor is running at low speed, the position of the rotor is detected by the flux linkage function method.
  • the position of the rotor is calculated by the flux linkage function method, the calculation amount is large, and the calculation speed is slow.
  • the calculation result of the rotor position is not accurate.
  • the back electromotive force is obvious at this time, and the position of the rotor is detected by the back electromotive force method, and the commutation is better and more accurate.
  • the invention detects the position of the rotor in different ways by the motor at different speeds, and fully utilizes the characteristics of the motor itself, and the detection effect is better and more accurate.
  • the invention also protects a power tool, comprising a casing; a control device; a motor, located in the casing; a power source for supplying electric energy to the motor; a switch for controlling the power source to supply electric power to the control device and the motor; the trigger switch triggering, the power source is given
  • the control device and the motor provide electrical energy, and the control device receives the voltage signal from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than the preset voltage value And the control device sequentially applies a first direction pulse of the first time and a second direction pulse of the second time to each of the three phase motors, and the controller compares the bus current value when the first direction pulse is applied to each phase. Size, obtain the position of the motor rotor and control the motor commutation.
  • a power tool includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; a switch for controlling power to supply power to the control device and the motor; and a trigger switch Triggering, the power supply supplies power to the control device and the motor, the control device receives the voltage signal set from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than Presetting the voltage value, and controlling the current value flowing through the brushless DC motor and the phase voltage value of the motor after obtaining the initial position without the motor until the zero point of the back electromotive force is detected, according to the voltage value and the current value and the flux linkage
  • the relationship of the function calculates the rotor position and sends a drive signal to drive the motor commutation based on the calculated rotor position.
  • the voltage value includes a voltage value of the conduction phase of the brushless DC motor and a voltage value of the non-conduction phase.
  • a power tool includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; a switch for controlling power to supply power to the control device and the motor; and a trigger switch Triggering, the power supply supplies power to the control device and the motor, the control device receives the voltage signal set from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than The preset voltage value is sequentially applied to the three-phase of the brushless DC motor to detect the initial position of the rotor of the brushless DC motor; after obtaining the initial position of the brushless DC motor until the zero-crossing point of the back electromotive force is detected, according to the function of the flux linkage
  • the method determines the position of the rotor for commutation; when the brushless DC motor detects the zero-crossing of the back electromotive force, the position of the rotor is determined by
  • a power tool includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor;
  • the switch triggers, the power supply supplies power to the control device and the motor, and the control device sequentially applies a first direction pulse of the first time and a second direction pulse of the second time to each phase of the motor, and compares the phases when the first direction pulse is applied.
  • the magnitude of the bus current value is obtained by taking the position of the motor rotor and controlling the motor commutation.
  • a power tool includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor;
  • the switch triggers, the power supply supplies power to the control device and the motor, and controls the current value flowing through the brushless DC motor and the phase voltage value of the motor after obtaining the initial position without the motor until the back electromotive force is detected; according to the current value and phase
  • the relationship between the voltage value and the flux linkage function calculates the rotor position; the drive signal is transmitted according to the calculated rotor position to drive the brushless DC motor commutation.
  • a power tool includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor;
  • the switch triggers, the power supply supplies power to the control device and the motor, and the three phases of the brushless DC motor sequentially pass pulses to detect the initial position of the rotor of the brushless DC motor; after obtaining the initial position of the brushless DC motor, the zero-crossing point of the back electromotive force is detected.
  • the position of the rotor was determined according to the method of the flux linkage function for commutation; when the brushless DC motor detected the zero-crossing of the back electromotive force, the position of the rotor was determined by the zero-crossing point of the counter electromotive force.
  • the motor of each of the above embodiments is a brushless DC motor, and the first direction is opposite to the second direction.
  • the voltage value includes a voltage value of the conduction phase of the brushless DC motor and a voltage value of the non-conduction phase
  • the current value includes any one of a bus current value or a phase current value
  • the counter electromotive force zero crossing point is a stable back electromotive force.
  • the zero-crossing point including the number of zero-crossings of the back electromotive force, reaches a preset value or the slope of the terminal voltage rises to a preset value.
  • the electric tool of the invention comprises an electric wrench, the electric wrench is provided with a trigger switch, the trigger switch is used for controlling the starting of the electric wrench, when the user triggers the trigger switch, the electric wrench is energized, the above control device is activated, and the position of the motor rotor is detected, And control the motor commutation according to the test result.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The present invention relates to a control method for a brushless DC motor, a control device, and an electric tool, for controlling a brushless DC motor lacking a position sensor and having three phases (A, B, C). The method comprises: sequentially applying a pulse in a first direction for a first duration and a pulse in a second direction for a second duration to phase A of the brushless DC motor, so as to obtain a bus current value Ia when the pulse is applied in the first direction to phase A; repeating the above operation for phases B and C, so as to obtain a bus current value Ib when applying a pulse in the first direction to phase B and a bus current value Ic when applying a pulse in the first direction to phase C; and comparing the values of the obtained Ia, Ib, and Ic, so as to determine an initial position of a rotor, and transmitting, according to the initial position of the rotor, a drive signal to drive phase commutation of the brushless DC motor. The method for detecting the position of a rotor of a brushless DC motor, the control device, and the electric tool as described above use a pulse method to detect the position of a rotor in a rest position, and enable phase commutation according to the position of the rotor, thus improving accuracy of phase commutation and probability of a successful start.

Description

无刷直流电机控制方法、控制装置和电动工具Brushless DC motor control method, control device and power tool 技术领域Technical field
本发明涉及机电一体化技术领域,特别是涉及一种无刷直流电机控制方法、控制装置和电动工具。The invention relates to the technical field of electromechanical integration, in particular to a brushless DC motor control method, a control device and a power tool.
背景技术Background technique
无刷直流电机由电动机主体和驱动器组成,是一种典型的机电一体化产品,其具有调速性能好、体积小、效率高等优势,在很多领域得到了广泛的应用。位置传感器对于无刷直流电机正常工作具有十分重要的作用,它为电机提供基本的换相信息,但是位置传感器的信号在一些高精度及环境复杂的场合容易受到干扰,并且增加了成本和电机结构的复杂性,因此研究无位置传感器的无刷直流电机成为无刷直流电机领域的热点之一。Brushless DC motor is composed of motor main body and driver. It is a typical mechatronic product. It has the advantages of good speed regulation performance, small size and high efficiency. It has been widely used in many fields. The position sensor plays an important role in the normal operation of the brushless DC motor. It provides basic commutation information for the motor, but the position sensor signal is susceptible to interference in some high precision and complex environments, and increases the cost and motor structure. The complexity, so the study of sensorless brushless DC motors has become one of the hot spots in the field of brushless DC motors.
在无刷直流电机的控制中,关键在于检测转子位置,然后根据位置信息,获得换相点,相应绕组导通换相,导通电流与绕组的反电动势相位同步。对于电动工具,大多数的应用场合,都需要全扭矩启动,所以对于换相时机的获得和动态调节显得格外的重要。In the control of the brushless DC motor, the key is to detect the rotor position, and then obtain the commutation point according to the position information, the corresponding winding conducts the commutation, and the conduction current is synchronized with the phase of the back electromotive force of the winding. For power tools, most applications require full torque start-up, so the acquisition and dynamic adjustment of the commutation timing is particularly important.
目前有两种方式可以获得转子的位置:霍尔传感器方式和无传感器方式。由于传感器的安装精度直接影响无刷直流电机的使用效果,且成本也高,无传感器方式是无刷控制器追求的目标。目前大多数电机在整个过程中只采用反电动势过零法,电路简单,成本低,但电机处于静止或低速阶段,此阶段没有反电动势或反电动势不明显,导致换相的时机通常不是最佳时机,从而容易导致启动失败。There are currently two ways to get the position of the rotor: Hall sensor mode and sensorless mode. Since the installation accuracy of the sensor directly affects the use effect of the brushless DC motor and the cost is high, the sensorless method is the goal pursued by the brushless controller. At present, most motors only use the back-EMF zero-crossing method in the whole process. The circuit is simple and the cost is low. However, the motor is in a static or low-speed phase. There is no back EMF or back EMF in this stage, which makes the timing of commutation usually not optimal. Timing, which can easily lead to startup failure.
发明内容Summary of the invention
本发明要解决的技术问题是如何改善传统无位置传感器的无刷直流电机换相时机不准确的问题,为解决上述问题,本发明提供一种无刷直流电机转子位置检测方法,控制方法、控制装置和电动工具。The technical problem to be solved by the present invention is how to improve the inaccurate timing of the commutation timing of the brushless DC motor of the conventional position sensorless. To solve the above problem, the present invention provides a brush position detection method for a brushless DC motor, control method and control thereof. Devices and power tools.
一种无刷直流电机转子位置检测方法,用于控制无位置传感器的具有三相(A、B、C)的无刷直流电机,所述方法包括下列步骤:A brushless DC motor rotor position detecting method for controlling a three-phase (A, B, C) brushless DC motor without a position sensor, the method comprising the following steps:
对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时 间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;Applying a first direction pulse of a first time and a second direction pulse of a second time to the phase A of the brushless DC motor to obtain a bus current value Ia when the first direction pulse is applied to the phase A;
对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Repeating the above operations for the B and C phases, obtaining the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
比较获取的Ia,Ib,Ic的大小,得出转子的初始位置。The size of the obtained Ia, Ib, Ic is compared to obtain the initial position of the rotor.
一种无刷直流电机控制方法,用于控制无位置传感器的具有三相(A、B、C)的无刷直流电机,所述方法包括下列步骤:A brushless DC motor control method for controlling a three-phase (A, B, C) brushless DC motor without a position sensor, the method comprising the following steps:
对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;Applying a first direction pulse of a first time and a second direction pulse of a second time to the phase A of the brushless DC motor to obtain a bus current value Ia when the first direction pulse is applied to the phase A;
对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Repeating the above operations for the B and C phases, obtaining the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, and Ic to determine the initial position of the rotor;
根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
优选的,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia的具体步骤包括:Preferably, a specific step of applying the first direction pulse of the first time and the second direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia when the first direction pulse is applied to the phase A is performed. include:
控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲。Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and A voltage pulse of a second time is applied to the phase A.
优选的,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia的具体步骤还包括:Preferably, a specific step of applying the first direction pulse of the first time and the second direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia when the first direction pulse is applied to the phase A is performed. Also includes:
控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲。Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A.
优选的,所述控制方法还包括步骤:Preferably, the control method further comprises the steps of:
对所述无刷直流电机的A相依次施加第一时间的第二方向脉冲和第二时间的第一方向脉冲,获取A相施加第二方向脉冲时的母线电流值Ia’;Applying a second direction pulse of the first time and a first direction pulse of the second time to the phase A of the brushless DC motor to obtain a bus current value Ia' when the second direction pulse is applied to the phase A;
对B、C相重复上述操作,获取B相施加第二方向脉冲的母线电流值Ib’和C相施加第二方向的脉冲时母线电流值Ic’;Repeating the above operations for the B and C phases, obtaining the bus current value Ib' of the B phase applied with the second direction pulse and the bus current value Ic' when the C phase applying the pulse of the second direction;
比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置。The size of the obtained Ia, Ib, Ic, Ia', Ib', Ic' is compared to determine the initial position of the rotor.
优选的,所述控制方法具体为:Preferably, the control method is specifically:
控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and Applying a voltage pulse of a second time to the phase A;
对B、C相重复上述操作,获取B相正向导通时的母线电流值Ib和C相正向导通时的母线电流值Ic;Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded;
控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲;Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A;
对B、C相重复上述操作,获取B相反向导通时的母线电流值Ib’和C相反向导通时的母线电流值Ic’;Repeat the above operations for the B and C phases to obtain the bus current value Ib' when B is oppositely turned on and the bus current value Ic' when C is oppositely turned on;
比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
优选的,所述控制方法具体为:Preferably, the control method is specifically:
控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲;Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A;
对B、C相重复上述操作,获取B相反向导通时的母线电流值Ib’和C相反向导通时的母线电流值Ic’;Repeat the above operations for the B and C phases to obtain the bus current value Ib' when B is oppositely turned on and the bus current value Ic' when C is oppositely turned on;
控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and Applying a voltage pulse of a second time to the phase A;
对B、C相重复上述操作,获取B相正向导通时的母线电流值Ib和C相正向导通时的母线电流值Ic;Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded;
比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
优选的,所述控制方法包括:Preferably, the control method comprises:
控制所述无刷直流电机的A相正向导通,B相反向导通(A+B-),并向AB相施加第一时间的电压脉冲,获取对应的母线电流值Iab,控制A相反向导通,B相正向导通(A-B+),并向BA相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, B is oppositely conducting (A+B-), and applying a voltage pulse of the first time to the AB phase to obtain a corresponding bus current value Iab, and the control A is oppositely guided. , phase B is forward-conducting (A-B+), and a voltage pulse of a second time is applied to the BA phase;
控制所述无刷直流电机的B相正向导通,C相反向导通(B+C-),并向BC相施加第一时间的电压脉冲,获取对应的母线电流值Ibc,控制B相反向导通,C相正向导通(B-C+),并向CB相施加第二时间的电压脉冲;Controlling the B-phase forward conduction of the brushless DC motor, C is oppositely conducting (B+C-), and applying a voltage pulse of the first time to the BC phase to obtain a corresponding bus current value Ibc, and the control B is oppositely guided. , phase C is forward-guided (B-C+), and a voltage pulse of a second time is applied to the CB phase;
控制所述无刷直流电机的C相正向导通,A相反向导通(C+A-),并向CA相施加第一时间的电压脉冲,获取对应的母线电流值Ica,控制C相反向导通,A相正向导通(C-A+),并向AC相施加第二时间的电压脉冲;Controlling the C-phase of the brushless DC motor to be forwarded, A is oppositely conducting (C+A-), and applying a voltage pulse of the first time to the CA phase to obtain a corresponding bus current value Ica, and the control C is oppositely guided. , phase A is forward-conducting (C-A+), and a voltage pulse of a second time is applied to the AC phase;
控制所述无刷直流电机的B相正向导通,A相反向导通(B+A-),并向BA相施加第一时间的电压脉冲,获取对应的母线电流值Iba,控制B相反向导通,A相正向导通(B-A+),并向AB相施加第二时间的电压脉冲;Controlling the B-phase forward conduction of the brushless DC motor, A is oppositely conducting (B+A-), and applying a voltage pulse of the first time to the BA phase to obtain a corresponding bus current value Iba, and the control B is oppositely guided. , phase A is forward-conducting (B-A+), and a voltage pulse of a second time is applied to the AB phase;
控制所述无刷直流电机的C相正向导通,B相反向导通(C+B-),并向CB相施加第一时间的电压脉冲,获取对应的母线电流值Icb,控制C相反向导通,B相正向导通(C-B+),并向BC相施加第二时间的电压脉冲;Controlling the C-phase of the brushless DC motor to be forwarded, B is opposite to the conduction (C+B-), and applying a voltage pulse of the first time to the CB phase to obtain a corresponding bus current value Icb, and the control C is oppositely guided. , phase B is forward-conducting (C-B+), and a voltage pulse of a second time is applied to the BC phase;
控制所述无刷直流电机的A相正向导通,C相反向导通(A+C-),并向AC相施加第一时间的电压脉冲,获取对应的母线电流值Iac;Controlling the A phase of the brushless DC motor is forward-conducting, C is oppositely conducting (A+C-), and applying a voltage pulse of the first time to the AC phase to obtain a corresponding bus current value Iac;
比较Iab,Ibc,Ica,Iba,Icb,Iac大小,判断转子的初始位置;Compare the Iab, Ibc, Ica, Iba, Icb, Iac size to determine the initial position of the rotor;
根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
优选的,所述比较Iab,Ibc,Ica,Iba,Icb,Iac大小,判断转子的初始位置的步骤包括:Preferably, the comparing Iab, Ibc, Ica, Iba, Icb, Iac size, determining the initial position of the rotor comprises:
若Ibc>Iab>Ica,且Iba>Icb>Iac,则转子位于第一扇区;If Ibc>Iab>Ica, and Iba>Icb>Iac, the rotor is located in the first sector;
若Ibc>Ica>Iab,且Iac>Icb>Iba,则转子位于第三扇区;If Ibc>Ica>Iab, and Iac>Icb>Iba, the rotor is located in the third sector;
若Iab>Ica>Ibc,且Iac>Iba>Icb,则转子位于第二扇区;If Iab>Ica>Ibc, and Iac>Iba>Icb, the rotor is located in the second sector;
若Iab>Ibc>Ica,且Icb>Iba>Iac,则转子位于第六扇区;If Iab>Ibc>Ica, and Icb>Iba>Iac, the rotor is located in the sixth sector;
若Ica>Ibc>Iab,且Icb>Iac>Iba,则转子位于第四扇区;If Ica>Ibc>Iab, and Icb>Iac>Iba, the rotor is located in the fourth sector;
若Ica>Iab>Ibc,且Iba>Iac>Icb,则转子位于第五扇区;If Ica>Iab>Ibc, and Iba>Iac>Icb, the rotor is located in the fifth sector;
其中,以BC相为0°逆时针旋转,所述第一扇区至第六扇区的电角度范 围依次分别为(0°60°)、(240°300°)、(300°360°)、(120°180°)、(60°120°)、(180°240°)。Wherein, the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0°60°), (240°300°), and (300°360°), respectively. , (120 ° 180 °), (60 ° 120 °), (180 ° 240 °).
优选的,所述控制方法的步骤包括:Preferably, the steps of the control method comprise:
控制所述无刷直流电机的A相正向导通,B、C相反向导通(A+B-C-),向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,B、C相正向导通(A-B+C+),向BCA相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, B and C are oppositely conducting (A+BC-), applying a voltage pulse of the first time to the ABC phase, acquiring a corresponding bus current value Ia, and controlling the The brush A of the DC motor is oppositely turned on, and the B and C phases are forwardly guided (A-B+C+), and a voltage pulse of the second time is applied to the BCA phase;
控制所述无刷直流电机的B相正向导通,A、C相反向导通(B+A-C-),向BAC相施加第一时间的电压脉冲,获取对应的母线电流值Ib,控制所述无刷直流电机的B相反向导通,A、C相正向导通(B-A+C+),向ACB相施加第二时间的电压脉冲;Controlling the B phase of the brushless DC motor to be forwarded, and A and C are oppositely conducting (B+AC-), applying a voltage pulse of the first time to the BAC phase, acquiring a corresponding bus current value Ib, and controlling the B of the brush DC motor is oppositely turned on, and the A and C phases are forwardly guided (B-A+C+), and a voltage pulse of the second time is applied to the ACB phase;
控制所述无刷直流电机的C相正向导通,A、B相反向导通(C+A-B-),向CAB相施加第一时间的电压脉冲,获取对应的母线电流值Ic,控制所述无刷直流电机的C相反向导通,A、B相正向导通(C-A+B+),向ABC相施加第二时间的电压脉冲;Controlling the C phase of the brushless DC motor to be forwarded, and A and B are oppositely conducting (C+AB-), applying a voltage pulse of the first time to the CAB phase, acquiring a corresponding bus current value Ic, and controlling the The C of the brush DC motor is oppositely turned on, and the A and B phases are forwardly guided (C-A+B+), and a voltage pulse of the second time is applied to the ABC phase;
控制所述无刷直流电机的A相反向导通,B、C相正向导通(A-B+C+),向BCA相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,B、C相反向导通(A+B-C-),向ABC相施加第二时间的电压脉冲;Controlling the A of the brushless DC motor is reversed, and the B and C phases are forward-conducting (A-B+C+), and a voltage pulse of the first time is applied to the BCA phase to obtain a corresponding bus current value Ia', and the control station The phase A of the brushless DC motor is forwardly guided, and B and C are oppositely connected (A+BC-), and a voltage pulse of the second time is applied to the ABC phase;
控制所述无刷直流电机的B相反向导通,A、C相正向导通(B-A+C+),向ACB相施加第一时间的电压脉冲,获取对应的母线电流值Ib’,控制所述无刷直流电机的B相正向导通,A、C相反向导通(B+A-C-),向BAC相施加第二时间的电压脉冲;Controlling the brushless DC motor B to conduct the opposite direction, and the A and C phases are forward-conducting (B-A+C+), applying a voltage pulse of the first time to the ACB phase, and obtaining a corresponding bus current value Ib', the control station The B phase of the brushless DC motor is forwardly guided, and A and C are oppositely connected (B+AC-), and a voltage pulse of the second time is applied to the BAC phase;
控制所述无刷直流电机的C相反向导通,A、B相正向导通(C-A+B+),向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ic’;Controlling the C of the brushless DC motor to conduct the opposite direction, and the A and B phases are forward-conducting (C-A+B+), and applying a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ic';
比较Ia,Ib,Ic,Ia’,Ib’,Ic’大小,判断转子的初始位置;Comparing the sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
优选的,所述比较Ia,Ib,Ic,Ia’,Ib’,Ic’大小,判断转子的初始位置的步 骤包括:Preferably, the comparing the Ia, Ib, Ic, Ia', Ib', Ic' size, the step of determining the initial position of the rotor comprises:
若Ia>Ib,Ia>Ic,Ia<Ia’,则转子位于第一扇区;If Ia>Ib, Ia>Ic, Ia<Ia’, the rotor is located in the first sector;
若Ib>Ia,Ib>Ic,Ib<Ib’,则转子位于第三扇区;If Ib>Ia, Ib>Ic, Ib<Ib', the rotor is located in the third sector;
若Ic>Ia,Ic>Ib,Ic<Ic’,则转子位于第二扇区;If Ic>Ia, Ic>Ib, Ic<Ic', the rotor is located in the second sector;
若Ia>Ib,Ia>Ic,Ia>Ia’,则转子位于第六扇区;If Ia>Ib, Ia>Ic, Ia>Ia’, the rotor is located in the sixth sector;
若Ib>Ia,Ib>Ic,Ib>Ib’,则转子位于第四扇区;If Ib>Ia, Ib>Ic, Ib>Ib’, the rotor is located in the fourth sector;
若Ic>Ia,Ic>Ib,Ic>Ic’,则转子位于第五扇区;If Ic>Ia, Ic>Ib, Ic>Ic’, the rotor is located in the fifth sector;
其中,以BC相为0°逆时针旋转,所述第一扇区至第六扇区的电角度范围依次分别为(0°60°)、(240°300°)、(300°360°)、(120°180°)、(60°120°)、(180°240°)Wherein, the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0°60°), (240°300°), and (300°360°), respectively. , (120°180°), (60°120°), (180°240°)
优选的,所述第二时间等于第一时间。Preferably, the second time is equal to the first time.
本发明还提供一种无刷直流电机转子位置检测方法,所述检测方法包括:The invention also provides a method for detecting a rotor position of a brushless DC motor, the detection method comprising:
获得所述无刷直流电机初始位置后至检测到反电动势过零点之前,对所述无刷直流电机的三相依次施加短时电压脉冲,获取各相对应的电压值和电流值;After obtaining the initial position of the brushless DC motor and before detecting the zero-crossing point of the back electromotive force, short-time voltage pulses are sequentially applied to the three phases of the brushless DC motor to obtain corresponding voltage values and current values;
将上述各相的电压值和电流值带入磁链函数中进行处理,进而判断转子位置。The voltage value and current value of each of the above phases are brought into a flux linkage function for processing, and the rotor position is determined.
一种无刷直流电机控制方法,其特征在于,所述控制方法包括:A brushless DC motor control method, characterized in that the control method comprises:
获得所述无刷直流电机初始位置后至检测到反电动势过零点之前,获取流过所述无刷直流电机的电流值和所述无刷直流电机的电压值;Obtaining a current value flowing through the brushless DC motor and a voltage value of the brushless DC motor after obtaining the initial position of the brushless DC motor until a zero-crossing point of the back electromotive force is detected;
根据磁链函数的方法获得转子位置;根据获得的转子位置发送控制信号Obtaining the rotor position according to the method of the flux linkage function; transmitting a control signal according to the obtained rotor position
控制所述无刷直流电机换相。Controlling the brushless DC motor commutation.
优选的,所述电压值包括所述无刷直流电机的导通相的电压值和非导通相的电压值。Preferably, the voltage value includes a voltage value of a conducting phase of the brushless DC motor and a voltage value of a non-conducting phase.
优选的,所述电流值包括母线电流值或相电流值中任一个。Preferably, the current value comprises any one of a bus current value or a phase current value.
优选的,所述反电动势过零点为稳定的反电动势过零点,包括反电动势过零点的次数达到预设值或者端电压上升的斜率达到预设值中任一个。Preferably, the back electromotive force zero-crossing point is a stable back electromotive force zero-crossing point, and the number of times of the counter electromotive force zero-crossing point reaches a preset value or the slope of the terminal voltage rise reaches a preset value.
优选的,上述方法还包括步骤:Preferably, the above method further comprises the steps of:
判定所述无刷直流电机检测到反电动势过零点时,通过反电动势过零点 来确定所述转子的位置。When it is determined that the brushless DC motor detects the zero-crossing of the back electromotive force, the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
本发明还提供一种无刷直流电机转子位置检测方法,所述方法包括下列步骤:The invention also provides a method for detecting a rotor position of a brushless DC motor, the method comprising the following steps:
对所述无刷直流电机的三相依次通入脉冲,检测所述无刷直流电机转子的初始位置;And sequentially inputting a pulse to the three phases of the brushless DC motor to detect an initial position of the rotor of the brushless DC motor;
获得所述无刷直流电机初始位置后至检测到反电动势过零点之前,采用磁链函数的方法确定所述转子的位置以进行换相;After obtaining the initial position of the brushless DC motor until the zero-crossing point of the back electromotive force is detected, the position of the rotor is determined by a flux linkage function to perform commutation;
判定所述无刷直流电机检测到反电动势过零点时,通过反电动势过零点来确定所述转子的位置。When it is determined that the brushless DC motor detects the zero-crossing point of the back electromotive force, the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
一种无刷直流电机控制方法,所述控制方法包括:A brushless DC motor control method, the control method comprising:
所述无刷直流电机全速范围的无传感器控制根据预设条件分为三个阶段,每一阶段均获取无刷直流电机的电信号,根据所述电信号获得所述无刷直流电机的转子位置,根据转子位置控制无刷直流电机换相。The sensorless control of the full speed range of the brushless DC motor is divided into three stages according to a preset condition, and each stage acquires an electrical signal of the brushless DC motor, and the rotor position of the brushless DC motor is obtained according to the electrical signal. The brushless DC motor is commutated according to the rotor position.
优选的,所述控制方法包括:Preferably, the control method comprises:
第一阶段,无刷直流电机静止时,对所述无刷直流电机的三相依次通入脉冲,获取流过无刷直流电机的电流值,根据所述电流值获得所述无刷直流电机转子的初始位置,并根据所述初始位置发送控制信号控制无刷直流电机换相;In the first stage, when the brushless DC motor is stationary, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the brushless DC motor rotor is obtained according to the current value. The initial position, and the control signal is sent according to the initial position to control the commutation of the brushless DC motor;
第二阶段,无刷电机转动后,获取流过无刷直流电机的电流值和无刷直流电机的电压值,根据磁链函数的方法中获得所述无刷直流电机的转子位置,根据所述转子位置发送控制信号控制无刷直流电机换相;In the second stage, after the brushless motor rotates, the current value flowing through the brushless DC motor and the voltage value of the brushless DC motor are obtained, and the rotor position of the brushless DC motor is obtained according to the method of the flux linkage function, according to the The rotor position transmission control signal controls the commutation of the brushless DC motor;
第三阶段,判定所述无刷直流电机检测到反电动势过零点时,通过反电动势过零点来获得所述无刷直流电机转子位置,根据所述转子位置发送控制信号控制无刷直流电机换相。In the third stage, when it is determined that the brushless DC motor detects the zero-crossing point of the back electromotive force, the rotor position of the brushless DC motor is obtained by the zero-crossing point of the back electromotive force, and the commutation of the brushless DC motor is controlled according to the sending position control signal of the rotor position. .
优选的,对所述无刷直流电机的三相依次通入脉冲,获取流过无刷直流电机的电流值,根据所述电流值获得所述无刷直流电机转子的初始位置,并根据所述初始位置发送控制信号控制无刷直流电机换相的步骤包括上述任一项所述的无刷直流电机控制方法的步骤。Preferably, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and an initial position of the rotor of the brushless DC motor is obtained according to the current value, and according to the The step of the initial position transmission control signal controlling the commutation of the brushless DC motor includes the steps of the brushless DC motor control method according to any of the above.
优选的,所述磁链函数的方法包括上述无刷直流电机控制方法。Preferably, the method of the flux linkage function comprises the above brushless DC motor control method.
本发明还提供一种控制装置,其用于检测无刷直流电机转子位置以控制电机换相,所述控制装置被配置为执行上述任一项所述的无刷直流电机控制方法。The present invention also provides a control device for detecting a rotor position of a brushless DC motor to control motor commutation, the control device being configured to perform the brushless DC motor control method according to any of the above.
本发明还提供一种电动工具,包括壳体;控制装置;电机,位于所述壳体内;电源,用于给所述电机提供电能;开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;其特征在于,开关闭合后,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。The invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the The control device and the motor provide electrical energy; wherein, after the switch is closed, the first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain the phase A The bus current value Ia when the first direction pulse is applied; the above operation is repeated for the B and C phases, and the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase; Comparing the obtained sizes of Ia, Ib, Ic, determining the initial position of the rotor; and transmitting a control signal according to the initial position of the rotor to control the commutation of the brushless DC motor.
本发明还提供一种电动工具,包括壳体;控制装置;电机,位于所述壳体内;电源,用于给所述电机提供电能;开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;开关闭合后,所述控制装置在获得转子的初始位置后至检测到反电动势过零点之前,获取流过所述电机的电流值和所述电机的电压值,根据磁链函数的方法获得转子位置,根据所述转子位置发送控制信号控制电机换相。The invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the The control device and the motor provide electrical energy; after the switch is closed, the control device obtains a current value flowing through the motor and a voltage value of the motor after obtaining an initial position of the rotor until a zero-crossing point of the back electromotive force is detected, The rotor position is obtained according to the method of the flux linkage function, and the motor commutation is controlled according to the rotor position transmitting control signal.
本发明还提供一种电动工具,包括壳体;控制装置;电机,位于所述壳体内;电源,用于给所述电机提供电能;开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;所述无刷直流电机全速范围的无传感器控制根据预设条件分为三个阶段,开关闭合后,每一阶段均获取无刷直流电机的电信号,根据所述电信号获得所述无刷直流电机的转子位置,根据转子位置控制无刷直流电机换相。The invention also provides a power tool comprising a housing; a control device; a motor located in the housing; a power source for supplying electrical power to the motor; and a switch, optionally opening and closing, for controlling the power source to the The control device and the motor provide electric energy; the sensorless control of the brushless DC motor in the full speed range is divided into three stages according to a preset condition, and after the switch is closed, the electric signal of the brushless DC motor is obtained in each stage, according to the The electrical signal obtains the rotor position of the brushless DC motor, and the brushless DC motor is commutated according to the rotor position.
优选的,所述开关闭合,还包括,开关闭合后,控制装置接收来自开关的触发信号并判断所述触发信号是否满足预设条件,若满足,则电机启动。Preferably, the switch is closed, and further comprising: after the switch is closed, the control device receives the trigger signal from the switch and determines whether the trigger signal meets a preset condition, and if yes, the motor starts.
优选的,所述预设条件包括开关的不同位置设置的电压信号大于预先存储在控制装置内的预设电压值。Preferably, the preset condition includes that the voltage signal set at different positions of the switch is greater than a preset voltage value previously stored in the control device.
优选的,所述电机为无刷直流电机。Preferably, the motor is a brushless DC motor.
优选的,所述第一方向与第二方向相反。Preferably, the first direction is opposite to the second direction.
优选的,所述控制装置包括上述所述的控制装置。Preferably, the control device comprises the control device described above.
上述无刷直流电机控制方法、控制装置及电动工具具有的有益效果为:无刷直流电机在运行过程中,根据电机不同的状态,采用不同的方法检测转子的位置,其检测效果更加准确。当电机静止时,采用脉冲注入法检测转子的位置,通过对电机的某一相依次通入相同时间的正脉冲和负脉冲,其中,负脉冲主要用于抵消正脉冲产生的电流对下一相电流检测结果的影响,如此,通过负脉冲的抵消作用,使电流的检测结果更加准确,转子的换相更加准确。当电机在低速运行时,无法检测到反电动势过零点,此时,采用磁链函数的方法检测转子的位置;当判定能够检测到反电动势过零点时,即无刷直流电机的转速达到中高速阶段,停止使用磁链函数法而通过反电动势法来确定转子的位子,减少了计算量提高了换相的准确性,进而提高了启动成功的概率。The above brushless DC motor control method, control device and power tool have the beneficial effects that the brushless DC motor uses different methods to detect the position of the rotor according to different states of the motor during operation, and the detection effect is more accurate. When the motor is stationary, the position of the rotor is detected by pulse injection method, and a positive pulse and a negative pulse of the same time are sequentially input to a certain phase of the motor, wherein the negative pulse is mainly used to cancel the current generated by the positive pulse to the next phase. The effect of the current detection result, so that the detection of the current is more accurate by the cancellation of the negative pulse, and the commutation of the rotor is more accurate. When the motor is running at low speed, the zero-crossing point of the back electromotive force cannot be detected. At this time, the position of the rotor is detected by the method of flux linkage function; when it is judged that the zero-crossing point of the back electromotive force can be detected, the speed of the brushless DC motor reaches the medium-high speed. In the stage, the use of the flux linkage function method to stop the rotor seat by the back electromotive force method is reduced, and the calculation amount is reduced to improve the accuracy of the commutation, thereby increasing the probability of successful startup.
附图说明DRAWINGS
以上所述的本发明的目的、技术方案以及有益效果可以通过下面附图实现:The objects, technical solutions, and advantageous effects of the present invention described above can be achieved by the following figures:
图1是本发明无刷直流电机控制方法的第一实施例的流程图,1 is a flow chart of a first embodiment of a control method of a brushless DC motor according to the present invention,
图2是本发明的无刷直流电机控制电路图。2 is a circuit diagram of a brushless DC motor control circuit of the present invention.
图3是本发明无刷直流电机控制方法的第二实施例的流程图。Figure 3 is a flow chart showing a second embodiment of the brushless DC motor control method of the present invention.
图4是本发明无刷直流电机控制方法的第四实施例的流程图。4 is a flow chart showing a fourth embodiment of the brushless DC motor control method of the present invention.
图5是本发明无刷直流电机控制方法的第五实施例的流程图。Figure 5 is a flow chart showing a fifth embodiment of the brushless DC motor control method of the present invention.
图6是本发明无刷直流电机控制方法的第七实施例的流程图。Figure 6 is a flow chart showing a seventh embodiment of the brushless DC motor control method of the present invention.
图7是本发明无刷直流电机扇区位置图。Figure 7 is a diagram showing the position of a sector of a brushless DC motor of the present invention.
图8是本发明无刷直流电机控制方法的第八实施例的流程图。Figure 8 is a flow chart showing an eighth embodiment of the brushless DC motor control method of the present invention.
图9是本发明无刷直流电机控制方法的第九实施例的流程图。Figure 9 is a flow chart showing a ninth embodiment of the brushless DC motor control method of the present invention.
图10是本发明无刷直流电机控制方法的反电动势波形图。Figure 10 is a diagram showing the back electromotive force waveform of the brushless DC motor control method of the present invention.
具体实施方式detailed description
为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的较佳实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully hereinafter with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the understanding of the present disclosure will be more fully understood.
除非另有定义,本文所使用的所有的技术和科学术语与属于发明的技术领域的技术人员通常理解的含义相同。本文中在发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本发明。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning meaning meaning The terminology used herein is for the purpose of describing the particular embodiments, The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
如图1为本发明无刷直流电机控制方法的第一实施例的流程图,包括步骤:1 is a flow chart of a first embodiment of a brushless DC motor control method according to the present invention, including the steps of:
步骤S1.对无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;Step S1. The first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor, and the bus current value Ia when the first phase pulse is applied to the phase A is obtained;
步骤S2.对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Step S2. Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
步骤S3.比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;Step S3. Comparing the obtained sizes of Ia, Ib, and Ic, and determining the initial position of the rotor;
步骤S4.根据转子的初始位置发送控制信号控制无刷直流电机换相。Step S4. The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
其中,步骤S1、S0、S3用于检测转子的初始位置,在实际应用中,转子初始位置的准确检测和定位直接关系到电机能够正常实现平滑启动。Among them, steps S1, S0, S3 are used to detect the initial position of the rotor. In practical applications, the accurate detection and positioning of the initial position of the rotor is directly related to the smooth start of the motor.
具体的,如图2为无刷直流电机换相驱动电路原理图。图中Ud为直流电源电压,g为直流电压的参考点,Q1-Q6为大功率MOSFET,D1-D6为MOSFET内的寄生体二极管。Specifically, FIG. 2 is a schematic diagram of a commutation drive circuit of a brushless DC motor. In the figure, Ud is the DC power supply voltage, g is the reference point of the DC voltage, Q1-Q6 is the high power MOSFET, and D1-D6 is the parasitic body diode in the MOSFET.
在无刷直流电机换相控制中,通常采用两两导通方式和三三导通方式。在两两导通方式中,在一个旋转周期里,为了使电机绕一个方向旋转,绕组通电状态变换了六次,每次换相都是依赖转子的位置情况。因此只有准确获取这些位置才能够正确的换相。In the commutation control of brushless DC motor, two-way conduction mode and three-three conduction mode are usually adopted. In the two-conduction mode, in one rotation cycle, in order to rotate the motor in one direction, the winding energization state is changed six times, and each commutation is dependent on the position of the rotor. Therefore, only accurate access to these positions can be correctly commutated.
本发明采用脉冲法检测转子初始位置角,通过给电机绕组施加短时间正反电压脉冲,然后计算脉冲电流值,通过查询定义的关系表,从而判断转子现在的位置以及下一个状态的导通相序。其中,步骤S1中,第一方向与第二方向相反,二者相差180°,即本发明通过对无刷直流电机的每一相依次施加正脉冲和负脉冲,比较各相施加正脉冲时的母线电流值的大小,获取电机转子的位置,或者对无刷直流电机的每一相依次施加负脉冲和正脉冲,比较各相施加负脉冲时的母线电流值的大小,获取电机转子的位置。The invention adopts the pulse method to detect the initial position angle of the rotor, and applies a short time positive and negative voltage pulse to the motor winding, then calculates the pulse current value, and queries the defined relationship table to determine the current position of the rotor and the conduction phase of the next state. sequence. Wherein, in step S1, the first direction is opposite to the second direction, and the two are different by 180°, that is, the present invention sequentially applies positive and negative pulses to each phase of the brushless DC motor to compare the positive pulses when each phase is applied. The magnitude of the bus current value is obtained, or the position of the rotor of the motor is obtained, or a negative pulse and a positive pulse are sequentially applied to each phase of the brushless DC motor, and the magnitude of the bus current when each phase is applied with a negative pulse is compared to obtain the position of the rotor of the motor.
请参考图3所示,为本发明无刷直流电机控制方法的第二实施例的流程图,Please refer to FIG. 3, which is a flowchart of a second embodiment of a method for controlling a brushless DC motor according to the present invention.
采用3对正反脉冲检测转子位置进而控制转子换相,具体包括:The three pairs of positive and negative pulses are used to detect the rotor position and then control the rotor commutation, including:
步骤S10.控制无刷直流电机的A相正向导通,并向A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制无刷直流电机的A相反向导通,并向A相施加第二时间的电压脉冲;Step S10. Control the A phase of the brushless DC motor to be forwarded, and apply a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, control the A of the brushless DC motor to be oppositely directed, and to the A phase. Applying a voltage pulse of a second time;
步骤S20.对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Step S20. Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
步骤S30.比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;Step S30. Comparing the obtained sizes of Ia, Ib, and Ic, and determining the initial position of the rotor;
步骤S40.根据转子的初始位置发送控制信号控制无刷直流电机换相。Step S40. The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
在本发明无刷直流电机控制方法的第三实施例中,与第二实施例的不同之处在于,第一实施例中S10步骤在本实施中具体包括:控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲。In the third embodiment of the brushless DC motor control method of the present invention, the difference from the second embodiment is that the step S10 in the first embodiment specifically includes: controlling the A of the brushless DC motor in the embodiment. Conversely, the conduction is performed, and a voltage pulse of the first time is applied to the phase A to obtain a corresponding bus current value Ia', and the phase A of the brushless DC motor is controlled to be forwarded, and the second phase is applied to the phase A. The voltage pulse of time.
在本发明无刷直流电机控制方法的第四实施例中,具体如图4所示,在上述第一实施例三对正反脉冲的基础上,本实施例采用六对正反脉冲,来确定转子的初始位置,进而控制无刷直流电机换相。具体步骤包括:In the fourth embodiment of the brushless DC motor control method of the present invention, as shown in FIG. 4, on the basis of the three pairs of positive and negative pulses in the first embodiment, the present embodiment uses six pairs of positive and negative pulses to determine The initial position of the rotor, which in turn controls the commutation of the brushless DC motor. The specific steps include:
步骤S100.对无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;Step S100. The first phase pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain the bus current value Ia when the first phase pulse is applied to the phase A;
步骤S200.对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Step S200. Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase applies the first direction pulse and the bus current value Ic when the C phase applies the first direction pulse;
步骤S300.对无刷直流电机的A相依次施加第一时间的第二方向脉冲和第二时间的第一方向脉冲,获取A相施加第二方向脉冲时的母线电流值Ia’;Step S300. sequentially applying a second direction pulse of the first time and a first direction pulse of the second time to the phase A of the brushless DC motor to obtain the bus current value Ia' when the second direction pulse is applied to the phase A;
步骤S400.对B、C相重复上述操作,获取B相施加第二方向脉冲的母线电流值Ib’和C相施加第二方向的脉冲时母线电流值Ic’Step S400. Repeat the above operations for the B and C phases to obtain the bus current value Ib' to which the B phase applies the second direction pulse and the bus current value Ic' when the C phase applies the pulse in the second direction.
步骤S500.比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置;Step S500. Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
步骤S600.根据转子的初始位置发送控制信号控制无刷直流电机换相。Step S600. The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
当然,上述实施例可以对电机的三相先通入负脉冲,再通入正脉冲,比较获取的六个电流值的大小,判断转子的初始位置,此处不再详细描述。Of course, the above embodiment can first input a negative pulse to the three phases of the motor, and then input a positive pulse, compare the magnitudes of the obtained six current values, and determine the initial position of the rotor, which will not be described in detail herein.
上述实施例,在运行过程中,驱动无刷直流电机运行的方式可以为:控制装置根据转子位置的变化进行逻辑变换后产生脉宽调制信号,再经过驱动电路放大后送至逆变器各功率开关管,进而按一定的逻辑关系对定子绕组的电流进行切换,以驱动转子开始加速运行。In the above embodiment, during the operation, the driving method of the brushless DC motor may be: the control device performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to the inverter for each power. The switch tube, in turn, switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
上述三个实施例中,A、B、C三相电机三个绕组有两种组合方式(AB,BC,CA),(BA,AC,CB),上述各实施例对无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,对B、C相重复上述操作,其中一种具体方式为对AB相施加第一时间的正脉冲和第二时间的负脉冲,对BC相施加第一时间的正脉冲和第二时间的负脉冲,对CA相时间第一时间的正脉冲和第二时间的负脉冲;另一种具体方式为对BA相施加第一时间的负脉冲和第二时间的正脉冲,对AC相施加第一时间的正脉冲和第二时间的负脉冲,对CB相施加第一时间的正脉冲和第二时间的负脉冲。In the above three embodiments, the three windings of the three-phase motors A, B, and C have two combinations (AB, BC, CA), (BA, AC, CB), and the above embodiments are for the brushless DC motor A. The phase sequentially applies the first direction pulse of the first time and the second direction pulse of the second time, and repeats the above operations for the B and C phases, wherein one specific manner is to apply the positive pulse and the second time of the first time to the AB phase. Negative pulse, the positive pulse of the first time and the negative pulse of the second time are applied to the BC phase, the positive pulse of the first time of the CA phase time and the negative pulse of the second time; another specific way is to apply the phase of the BA The negative pulse of the first time and the positive pulse of the second time apply a positive pulse of the first time and a negative pulse of the second time to the AC phase, and a positive pulse of the first time and a negative pulse of the second time are applied to the CB phase.
其中,在本发明的第五实施例中,对上述第四实施例中的各步骤进行具体细化,具体如图5所示:In the fifth embodiment of the present invention, the steps in the fourth embodiment are specifically refined, as shown in FIG. 5:
步骤S101,控制无刷直流电机的A相正向导通(A+),并向A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制无刷直流电机的A相反向导通(A-),并向A相施加第二时间的电压脉冲。Step S101, controlling the A-phase forward conduction (A+) of the brushless DC motor, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the opposite direction of the brushless DC motor A (A -), and apply a voltage pulse of the second time to phase A.
步骤S201,对B、C相重复上述操作,获取B相正向导通时的母线电流值Ib和C相正向导通时的母线电流值Ic。In step S201, the above operations are repeated for the B and C phases, and the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded are obtained.
步骤S301,控制无刷直流电机的A相反向导通,并向A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制无刷直流电机的A相正向导通,并向A相施加第二时间的电压脉冲。Step S301, controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase, obtaining a corresponding bus current value Ia', controlling the A phase of the brushless DC motor to be forwarded, and to A The phase applies a voltage pulse of a second time.
步骤S401,对B、C相重复上述操作,获取B相反向导通时的母线电流值Ib’和C相反向导通时的母线电流值Ic’。In step S401, the above operation is repeated for the B and C phases, and the bus current value Ib' when B is reversely turned on and the bus current value Ic' when C is turned on in the opposite direction are obtained.
步骤S501,比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始 位置。In step S501, the sizes of the acquired Ia, Ib, Ic, Ia', Ib', Ic' are compared to determine the initial position of the rotor.
步骤S601.根据转子的初始位置发送控制信号控制无刷直流电机换相。Step S601. The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
在本发明的第六实施例中,与上述第五实施例的不同之处在于,先控制A、B、C相反向导通,施加一定时间的电压脉冲,获取对应的母线电流后,在控制A、B、C相正向导通,施加一定时间的电压脉冲,获取对应的母线电流,根据获得的母线电流进行比较,获取转子的初始位置,即第六实施例中,先执行步骤S301,S401,再执行步骤S101,S201,S501,步骤S601。In the sixth embodiment of the present invention, the difference from the fifth embodiment is that the first control A, B, and C are oppositely turned on, and a voltage pulse of a certain time is applied to obtain a corresponding bus current, and then in the control A. The B and C phases are forwarded, and a voltage pulse is applied for a certain period of time to obtain a corresponding bus current. The initial position of the rotor is obtained by comparing the obtained bus currents. In the sixth embodiment, steps S301 and S401 are performed first. Steps S101, S201, S501, and S601 are performed.
其中上述第五,第六实施例中,A相正向导通,指的是A相对应的驱动电路的上桥臂的MOSFET导通,具体为图2中的Q1导通,其他两相中任一相的下桥臂导通,即Q2或Q6导通;A相反向导通指的是A相对应的驱动电路的下桥臂的MOSFET导通,具体为图2中的Q4导通,Q3或者Q5导通。In the fifth and sixth embodiments, the phase A is forward-conducted, and the MOSFET of the upper arm of the corresponding driving circuit of A is turned on, specifically, the Q1 in FIG. 2 is turned on, and the other two phases are used. The lower arm of one phase is turned on, that is, Q2 or Q6 is turned on; A is opposite to the MOSFET of the lower arm of the corresponding driving circuit of A, specifically, Q4 is turned on in FIG. 2, Q3 or Q5 is turned on.
图6是本发明无刷直流电机控制方法的第七实施例的流程图,具体采用三相两两导通的方式,该方法的步骤包括:6 is a flow chart of a seventh embodiment of a control method of a brushless DC motor according to the present invention, specifically adopting a three-phase two-two conduction manner, and the steps of the method include:
步骤S110:控制无刷直流电机的A相正向导通,B相反向导通,并向AB相施加第一时间的电压脉冲,获取对应的母线电流值Iab,控制A相反向导通,B相正向导通,并向BA相施加第二时间的电压脉冲;Step S110: Control the A phase of the brushless DC motor to be forwarded, B to conduct the opposite direction, and apply a voltage pulse of the first time to the AB phase to obtain the corresponding bus current value Iab, and the control A is oppositely guided, and the B phase is guided. Passing, and applying a voltage pulse of a second time to the BA phase;
具体的,通过图2所示驱动电路的Q1和Q6功率管导通(A+B-),向定子绕组施加第一时间的电压脉冲Vab,即电流由A相绕组流进,由B向绕组流出,检测相应的母线电流值Iab;通过驱动电路的Q3和Q4功率管导通(A-B+),向定子绕组施加第二时间的电压脉冲Vba,即电流由B相绕组流进,由A向绕组流出,用以抵消电流Iab对下一检测电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the voltage pulse Vab of the first time is applied to the stator winding through the Q1 and Q6 power tube conduction (A+B-) of the driving circuit shown in FIG. 2, that is, the current flows from the A-phase winding, and the B-direction winding Flow out, detect the corresponding bus current value Iab; pass the Q3 and Q4 power tube conduction (A-B+) of the drive circuit, and apply a second time voltage pulse Vba to the stator winding, that is, the current flows from the B-phase winding, by A The winding flows out to cancel the interference of the current Iab to the next detected current, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S210:控制无刷直流电机的B相正向导通,C相反向导通,并向BC相施加第一时间的电压脉冲,获取对应的母线电流值Ibc,控制B相反向导通,C相正向导通,向CB相施加第二时间的电压脉冲;Step S210: Control the B-phase forward conduction of the brushless DC motor, C reversely conducts, and applies a voltage pulse of the first time to the BC phase to obtain a corresponding bus current value Ibc, and the control B is oppositely guided, and the C phase is guiding. Passing, applying a voltage pulse of a second time to the CB phase;
具体的,通过驱动电路的Q3和Q2功率管导通(B+C-),向定子绕组施加第一时间的电压脉冲Vbc,即电流由B相绕组流进,由C向绕组流出,检测相应的母线电流值Ibc,通过驱动电流的Q5和Q6功率管导通(B-C+), 向定子绕组施加第二时间的电压脉冲Vcb,即电流由C相绕组流进,由B向绕组流出,用以抵消电流Ibc对下一检测电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the voltage pulse Vbc of the first time is applied to the stator winding through the Q3 and Q2 power tube conduction (B+C-) of the driving circuit, that is, the current flows from the B-phase winding, and the C flows out to the winding, and the corresponding detection is performed. The bus current value Ibc is applied by the driving current Q5 and the Q6 power tube (B-C+), and the second time voltage pulse Vcb is applied to the stator winding, that is, the current flows in from the C-phase winding and flows out from the B to the winding. It is used to cancel the interference of the current Ibc to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S310:控制无刷直流电机的C相正向导通,A相反向导通,并向CA相施加第一时间的电压脉冲,获取对应的母线电流值Ica,控制C相反向导通,A相正向导通,并向AC相施加第二时间的电压脉冲;Step S310: controlling the C-phase of the brushless DC motor to be forwarded, A is oppositely turned on, and applies a voltage pulse of the first time to the CA phase to obtain a corresponding bus current value Ica, and the control C is oppositely guided, and the A phase is positively guided. Passing, and applying a voltage pulse of a second time to the AC phase;
具体的,通过驱动电路的Q5和Q4功率管导通(C+A-),向定子绕组施加第一时间的电压脉冲Vca,即电流由C相绕组流进,由A向绕组流出,检测相应的母线电流值Ica,通过驱动电流的Q1和Q2功率管导通(C-A+),向定子绕组施加第二时间的电压脉冲Vac,即电流由A相绕组流进,由C向绕组流出,用以抵消电流Ica对下一检测电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the voltage pulse Vca of the first time is applied to the stator winding through the Q5 and Q4 power tube conduction (C+A-) of the driving circuit, that is, the current flows in from the C-phase winding, and flows out from the A to the winding, and the corresponding detection is performed. The bus current value Ica is applied by the driving current Q1 and the Q2 power tube (C-A+), and the second time voltage pulse Vac is applied to the stator winding, that is, the current flows in from the A-phase winding and flows out from the C to the winding. It is used to cancel the interference of the current Ica to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S410:控制无刷直流电机的B相正向导通,A相反向导通,并向BA相施加第一时间的电压脉冲,获取对应的母线电流值Iba,控制B相反向导通,A相正向导通,并向AB相施加第二时间的电压脉冲;Step S410: Control the B phase of the brushless DC motor to be forwarded, A is oppositely turned on, and applies a voltage pulse of the first time to the BA phase to obtain a corresponding bus current value Iba, and the control B is oppositely guided, and the A phase is positively guided. Passing, and applying a voltage pulse of a second time to the AB phase;
具体的,通过驱动电路的Q3和Q4功率管导通(B+A-),向定子绕组施加第一时间的电压脉冲Vba,即电流由B相绕组流进,由A向绕组流出,检测相应的母线电流值Iba,通过驱动电路的Q1和Q6功率管导通(B-A+),向定子绕组施加第二时间的电压脉冲Vab,即电流由A相绕组流进,由B向绕组流出,用以抵消电流Iba对下一检测电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the voltage pulse Vba of the first time is applied to the stator winding through the Q3 and Q4 power tube conduction (B+A-) of the driving circuit, that is, the current flows from the B-phase winding, and the A-direction winding flows out, and the corresponding detection is performed. The bus current value Iba is applied to the stator winding through the Q1 and Q6 power tube conduction (B-A+) of the driving circuit, and the second time voltage pulse Vab is applied to the stator winding, that is, the current flows in from the A-phase winding and flows out from the B-to-winding. It is used to cancel the interference of the current Iba to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S510:控制无刷直流电机的C相正向导通,B相反向导通,并向CB相施加第一时间的电压脉冲,获取对应的母线电流值Icb,控制C相反向导通,B相正向导通,并向BC相施加第二时间的电压脉冲;Step S510: Control the C-phase of the brushless DC motor to be forwarded, B to conduct the opposite direction, and apply a voltage pulse of the first time to the CB phase to obtain a corresponding bus current value Icb, and the control C is oppositely guided, and the B phase is guided. Passing, and applying a voltage pulse of a second time to the BC phase;
具体的,通过驱动电流的Q5和Q6功率管导通(C+B-),向定子绕组施加第一时间的电压脉冲Vcb,即电流由C相绕组流进,由B向绕组流出,检测相应的母线电流值Icb,通过驱动电路的Q3和Q2功率管导通(C-B+),向定子绕组施加第二时间的电压脉冲Vbc,即电流由B相绕组流进,由C向 绕组流出,用以抵消电流Icb对下一检测电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the voltage pulse Vcb of the first time is applied to the stator winding by the driving current Q5 and the Q6 power tube conducting (C+B-), that is, the current flows from the C-phase winding, and the B flows out to the winding, and the corresponding detection is performed. The bus current value Icb is applied to the stator winding through the Q3 and Q2 power tube conduction (C-B+) of the driving circuit, and the second time voltage pulse Vbc is applied to the stator winding, that is, the current flows in from the B-phase winding and flows out from the C to the winding. It is used to cancel the interference of the current Icb to the next detection current, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S610:控制无刷直流电机的A相正向导通,C相反向导通,并向AC相施加第一时间的电压脉冲,获取对应的母线电流值Iac,控制A相反向导通,C相正向导通,并向CA相施加第二时间的脉冲;Step S610: controlling the A phase of the brushless DC motor to be forwarded, C is oppositely turned on, and applying a voltage pulse of the first time to the AC phase to obtain a corresponding bus current value Iac, and the control A is oppositely guided, and the C phase is guiding. Passing, and applying a pulse of the second time to the CA phase;
具体的,通过驱动电流的Q1和Q2功率管导通(A+C-),向定子绕组施加第一时间的电压脉冲Vac,即电流由A相绕组流进,由C向绕组流出,检测相应的母线电流值Iac。Specifically, by driving the current Q1 and Q2 power tube conduction (A+C-), a voltage pulse Vac of the first time is applied to the stator winding, that is, the current flows in from the A-phase winding, and flows out from the C to the winding, and the corresponding detection is performed. Bus current value Iac.
步骤S710:比较Iab,Ibc,Ica,Iba,Icb,Iac大小,判断转子的初始位置,即转子所在的扇区,具体六个扇区示意图请参考图7所示,Step S710: Comparing the Iab, Ibc, Ica, Iba, Icb, and Iac sizes, and determining the initial position of the rotor, that is, the sector in which the rotor is located. For the specific six sectors, please refer to FIG.
若Ibc>Iab>Ica,且Iba>Icb>Iac,则转子位于第一扇区;If Ibc>Iab>Ica, and Iba>Icb>Iac, the rotor is located in the first sector;
若Ibc>Ica>Iab,且Iac>Icb>Iba,则转子位于第三扇区;If Ibc>Ica>Iab, and Iac>Icb>Iba, the rotor is located in the third sector;
若Iab>Ica>Ibc,且Iac>Iba>Icb,则转子位于第二扇区;If Iab>Ica>Ibc, and Iac>Iba>Icb, the rotor is located in the second sector;
若Iab>Ibc>Ica,且Icb>Iba>Iac,则转子位于第六扇区;If Iab>Ibc>Ica, and Icb>Iba>Iac, the rotor is located in the sixth sector;
若Ica>Ibc>Iab,且Icb>Iac>Iba,则转子位于第四扇区;If Ica>Ibc>Iab, and Icb>Iac>Iba, the rotor is located in the fourth sector;
若Ica>Iab>Ibc,且Iba>Iac>Icb,则转子位于第五扇区。If Ica>Iab>Ibc and Iba>Iac>Icb, the rotor is in the fifth sector.
上述实施例中,以BC相为0°,逆时针旋转,第一扇区至第六扇区的电角度范围依次分别为(0°60°)、(240°300°)、(300°360°)、(120°180°)、(60°120°)、(180°240°)。其中,A、B、C三相是三个频率相同、幅值相同、相位互差120°的交流电路。具体的,上述A、B、C也可以为U相、V相、W相;或者可以为L1、L2、L3相。In the above embodiment, the BC phase is 0°, and the counterclockwise rotation is performed, and the electrical angle ranges of the first sector to the sixth sector are respectively (0°60°), (240°300°), and (300°360). °), (120°180°), (60°120°), (180°240°). Among them, A, B, and C three phases are three AC circuits with the same frequency, the same amplitude, and 120° phase difference. Specifically, the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
步骤S810:根据转子的初始位置发送控制信号控制所述无刷直流电机换相。Step S810: The control signal is sent according to the initial position of the rotor to control the commutation of the brushless DC motor.
本发明中在通入正向电压(例如Uab)后,再通入反向电压(Uba),反向电压用来抵消正向电压在第二时间产生的电流,避免下一次通入电压Ubc,在检测电流Ibc时,电流Ibc对其造成干扰,使其检测结果不准确。In the present invention, after a forward voltage (for example, Uab) is applied, a reverse voltage (Uba) is applied, and the reverse voltage is used to cancel the current generated by the forward voltage at the second time to avoid the next input voltage Ubc. When the current Ibc is detected, the current Ibc causes interference, making the detection result inaccurate.
在本发明中,第一时间等于第二时间,且时间较短,第二时间通入的电压脉冲用以抵消第一时间通入得电压产生的电流对下一检测电流的干扰,从 而可以提高转子初始位置的检测精确度。In the present invention, the first time is equal to the second time, and the time is shorter, and the voltage pulse that is input at the second time is used to cancel the interference of the current generated by the voltage applied at the first time to the next detection current, thereby improving The accuracy of the detection of the initial position of the rotor.
本发明实施例中,A、B、C三相是三个频率相同、幅值相同、相位互差120°的交流电路。具体的,上述A、B、C也可以为U相、V相、W相;或者可以为L1、L2、L3相。In the embodiment of the present invention, the three phases A, B, and C are three alternating current circuits having the same frequency, the same amplitude, and 120° phase difference. Specifically, the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
图8是本发明无刷直流电机控制方法的第八实施例的流程图。该实施例的无刷直流电机采用三相三管导通的方式,并且无刷直流电机采用全桥驱动,即6个MOSFET分别构成上桥臂和下桥臂,具体包括:Figure 8 is a flow chart showing an eighth embodiment of the brushless DC motor control method of the present invention. The brushless DC motor of this embodiment adopts a three-phase three-tube conduction mode, and the brushless DC motor adopts a full-bridge drive, that is, six MOSFETs respectively constitute an upper bridge arm and a lower bridge arm, and specifically includes:
步骤S111.控制无刷直流电机的A相正向导通,B、C相反向导通,向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制无刷直流电机的A相反向导通,B、C相正向导通,向BCA相施加第二时间的电压脉冲;Step S111. Control the A phase of the brushless DC motor to be forwarded, B and C are oppositely connected, and apply a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ia, and control the opposite direction of the brushless DC motor A. Passing, B, C phase forward conduction, applying a voltage pulse of the second time to the BCA phase;
具体的,控制无刷直流电机的A相绕组对应的Q1、B相绕组对应的Q6及C相绕组对应的Q2导通(A+B-C-),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ia,控制无刷直流电机的A相绕组对应的Q4、B相绕组对应Q3及C相绕着对应的Q5导通,并向定子绕组施加第二时间的电压脉冲,用于抵消第一时间的电压脉冲所产生的电流对下一项B相施加正向电压时检测的电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the Q2 and the C-phase winding corresponding to the Q1 and B-phase windings of the A-phase winding of the brushless DC motor are controlled to be connected to the Q2 (A+BC-), and the first time voltage pulse is applied to the stator winding. Detecting the corresponding bus current value Ia, controlling the Q4 and B phase windings corresponding to the A phase winding of the brushless DC motor to be connected to the corresponding Q5 according to the Q3 and C phases, and applying a voltage pulse of the second time to the stator winding, The detection of the current detected by the voltage pulse of the first time cancels the current detected by applying the forward voltage to the next B phase, thereby improving the detection accuracy of the initial position of the rotor.
步骤S211.控制无刷直流电机的B相正向导通,A、C相反向导通,向BAC相施加第一时间的电压脉冲,获取对应的母线电流值Ib,控制无刷直流电机的B相反向导通,A、C相正向导通,向ACB相施加第二时间的电压脉冲;Step S211. Control the B phase of the brushless DC motor to be forwarded, and A and C are oppositely connected, and apply a voltage pulse of the first time to the BAC phase to obtain a corresponding bus current value Ib, and control the opposite direction of the brushless DC motor B. Pass, the A and C phases are forwarded, and a voltage pulse of the second time is applied to the ACB phase;
具体的,控制无刷直流电机的B相绕组对应的Q3,A相绕组对应的Q4导通,C相绕组对应的Q2导通(B+A-C-),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ib,控制无刷直流电机的B相绕组对应的Q6,A相绕组对应的Q1导通,C相绕组对应的Q5导通,并向定子绕组施加第二时间的电压脉冲,用于抵消第一时间的电压脉冲所产生的电流对下一项C相施加正向电压时检测的电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the Q3 corresponding to the B-phase winding of the brushless DC motor is controlled, the Q4 corresponding to the A-phase winding is turned on, the Q2 corresponding to the C-phase winding is turned on (B+AC-), and the voltage of the first time is applied to the stator winding. Pulse, detecting the corresponding bus current value Ib, controlling the Q6 corresponding to the B-phase winding of the brushless DC motor, the Q1 corresponding to the A-phase winding is turned on, the Q5 corresponding to the C-phase winding is turned on, and applying the second time to the stator winding The voltage pulse is used to cancel the interference of the current generated by the voltage pulse of the first time to the current detected when the forward voltage is applied to the next C phase, thereby improving the detection accuracy of the initial position of the rotor.
步骤S311.控制无刷直流电机的C相正向导通,A、B相反向导通,向CAB相施加第一时间的电压脉冲,获取对应的母线电流值Ic;控制无刷直流电机的C相反向导通,A、B相正向导通,向ABC相施加第二时间的电压脉冲;Step S311. Control the C-phase of the brushless DC motor to be forwarded, and A and B are oppositely connected, and apply a voltage pulse of the first time to the CAB phase to obtain a corresponding bus current value Ic; and control the opposite direction of the brushless DC motor C Pass, the A and B phases are forwarded, and a voltage pulse of the second time is applied to the ABC phase;
具体的,控制无刷直流电机的C相绕组对应的Q5、A相绕组对应的Q4及B相绕组对应的Q6导通(C+A-B-),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ic,控制无刷直流电机的C相绕组对应的Q2,A相绕组对应的Q1导通,B相绕组对应的Q3导通,并向定子绕组施加第二时间的电压脉冲,用于抵消第一时间的电压脉冲所产生的电流对下一项施加正向电压时检测的电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the Q4 of the C-phase winding of the brushless DC motor is controlled, and the Q6 of the A-phase winding corresponding to the Q-phase winding is turned on (C+AB-), and the voltage pulse of the first time is applied to the stator winding. Detecting the corresponding bus current value Ic, controlling the Q2 corresponding to the C-phase winding of the brushless DC motor, the Q1 corresponding to the A-phase winding is turned on, the Q3 corresponding to the B-phase winding is turned on, and applying the voltage pulse of the second time to the stator winding It is used to cancel the interference of the current generated by the voltage pulse of the first time to the current detected when the forward voltage is applied, so that the detection accuracy of the initial position of the rotor can be improved.
步骤S411.控制无刷直流电机的A相反向导通,B、C相正向导通,向BCA相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制无刷直流电机的A相正向导通,B、C相反向导通,向ABC相施加第二时间的电压脉冲;Step S411. Control A of the brushless DC motor to conduct the opposite direction, and the B and C phases are forwarded to each other, and apply a voltage pulse of the first time to the BCA phase to obtain a corresponding bus current value Ia', and control the phase A of the brushless DC motor. Positive conduction, B and C are oppositely connected, and a voltage pulse of the second time is applied to the ABC phase;
具体的,控制无刷直流电机的A相绕组对应的Q4、B相绕组对应的Q3及C相绕着对应的Q5导通(A-B+C+),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ia’,控制无刷直流电机的A相绕组对应的Q1、B相绕组对应的Q6及C相绕组对应的Q2导通,并向定子绕组施加第二时间的电压脉冲,用于抵消第一时间的电压脉冲Ubca所产生的电流对下一项施加正向电压时检测的电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the Q3 and C phases corresponding to the Q4 and B phase windings of the A-phase winding of the brushless DC motor are controlled to be connected to the corresponding Q5 (A-B+C+), and the voltage of the first time is applied to the stator winding. Pulse, detecting the corresponding bus current value Ia', controlling the Q2 corresponding to the Q1 and C phase windings corresponding to the Q1 and B phase windings of the A-phase winding of the brushless DC motor, and applying the second time voltage to the stator winding The pulse is used to cancel the interference of the current generated by the voltage pulse Ubca at the first time on the current detected when the next voltage is applied, thereby improving the detection accuracy of the initial position of the rotor.
步骤S511.控制无刷直流电机的B相反向导通,A、C相正向导通,向ACB相施加第一时间的电压脉冲,获取对应的母线电流值Ib’,控制无刷直流电机的B相正向导通,A、C相反向导通,向BAC相施加第二时间的电压脉冲;Step S511. Control B of the brushless DC motor to conduct the opposite direction, and the phases A and C are forwarded, and the voltage pulse of the first time is applied to the ACB phase to obtain the corresponding bus current value Ib', and the phase B of the brushless DC motor is controlled. Positive conduction, A and C are oppositely connected, and a voltage pulse of a second time is applied to the BAC phase;
具体的,控制无刷直流电机的B相绕组对应的Q6、A相绕组对应的Q1及C相绕着对应的Q5导通(B-A+C+),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ib’,控制无刷直流电机的B相绕组对应的Q3、A相绕组对应的Q4及C相绕着对应的Q2导通,并向定子绕组施加第二时间 的电压脉冲,用于抵消第一时间的电压脉冲Ubac所产生的电流对下一项施加正向电压时检测的电流的干扰,从而可以提高转子初始位置的检测精确度。Specifically, the Q1 and C phases corresponding to the Q6 and A phase windings of the B-phase winding of the brushless DC motor are controlled to be connected to the corresponding Q5 (B-A+C+), and the voltage of the first time is applied to the stator winding. Pulse, detecting the corresponding bus current value Ib', controlling the Q3 of the B-phase winding of the brushless DC motor, and the Q4 and C phases corresponding to the A-phase winding are turned on around the corresponding Q2, and applying the second time to the stator winding The voltage pulse is used to cancel the interference of the current generated by the voltage pulse Ubac of the first time on the current detected when the forward voltage is applied, thereby improving the detection accuracy of the initial position of the rotor.
步骤S611.控制无刷直流电机的C相反向导通,A、B相正向导通,向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ic’;Step S611. Control the brushless DC motor C to conduct the opposite direction, and the A and B phases are forwardly connected, and apply a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ic';
具体的,控制无刷直流电机的C相绕组对应的Q2、A相绕组对应的Q1及C相绕组对应的Q3导通(C-A+B+),并向定子绕组施加第一时间的电压脉冲,检测相应的母线电流值Ic’。Specifically, the Q1 and the C-phase winding corresponding to the Q2 winding of the brushless DC motor are controlled to correspond to the Q3 conduction (C-A+B+), and the first time voltage pulse is applied to the stator winding. , the corresponding bus current value Ic' is detected.
步骤S711.比较Ia,Ib,Ic,Ia’,Ib’,Ic’大小,判断转子的初始位置。即比较获取的六次电流值的大小,可确定转子所在的600电角度区间(扇区)。Step S711. Compare the sizes Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor. That is, the magnitude of the six current values obtained is compared to determine the 600 electrical angle interval (sector) where the rotor is located.
请参考图7所示为六个扇区的示意图,Please refer to FIG. 7 for a schematic diagram of six sectors.
若Ia>Ib,Ia>Ic,Ia<Ia’,则转子位于第一扇区;If Ia>Ib, Ia>Ic, Ia<Ia’, the rotor is located in the first sector;
若Ib>Ia,Ib>Ic,Ib<Ib’,则转子位于第三扇区;If Ib>Ia, Ib>Ic, Ib<Ib', the rotor is located in the third sector;
若Ic>Ia,Ic>Ib,Ic<Ic’,则转子位于第二扇区;If Ic>Ia, Ic>Ib, Ic<Ic', the rotor is located in the second sector;
若Ia>Ib,Ia>Ic,Ia>Ia’,则转子位于第六扇区;If Ia>Ib, Ia>Ic, Ia>Ia’, the rotor is located in the sixth sector;
若Ib>Ia,Ib>Ic,Ib>Ib’,则转子位于第四扇区;If Ib>Ia, Ib>Ic, Ib>Ib’, the rotor is located in the fourth sector;
若Ic>Ia,Ic>Ib,Ic>Ic’,则转子位于第五扇区。If Ic > Ia, Ic > Ib, Ic > Ic', the rotor is located in the fifth sector.
上述实施例中,以BC相为0°,逆时针旋转,第一扇区至第六扇区的电角度范围依次分别为(0°60°)、(240°300°)、(300°360°)、(120°180°)、(60°120°)、(180°240°)。其中,A、B、C三相是三个频率相同、幅值相同、相位互差120°的交流电路。具体的,上述A、B、C也可以为U相、V相、W相;或者可以为L1、L2、L3相。In the above embodiment, the BC phase is 0°, and the counterclockwise rotation is performed, and the electrical angle ranges of the first sector to the sixth sector are respectively (0°60°), (240°300°), and (300°360). °), (120°180°), (60°120°), (180°240°). Among them, A, B, and C three phases are three AC circuits with the same frequency, the same amplitude, and 120° phase difference. Specifically, the above A, B, and C may be U phase, V phase, and W phase; or may be L1, L2, and L3 phases.
上述各实施例中,母线电流值是指逆变器直流侧的电流采样值。对定子绕组分别施加某一合适宽度、方向不同的短时电压脉冲时,基于定子铁心的饱和效应,磁路饱和状态不同,电感就会相应不同,从而使得电流响应不同,因此根据各电流响应之间的关系即确定转子的位置信息。各电压脉冲幅值均小于无刷直流电机中所有功率器件能够承受的安全阈值中的最小值。各脉冲的宽度均小于无刷直流电机的电感达到饱和时对应的宽度,并且,各脉冲的宽度还需保证各脉冲之间能够区分开来,且能够确定转子的位置。另外,各 脉冲的宽度在能够满足上述条件的基础上,应尽可能短,以提高整机的响应速度。In the above embodiments, the bus current value refers to the current sampling value on the DC side of the inverter. When a short-time voltage pulse of different width and direction is applied to the stator windings respectively, the saturation state of the stator core is different, and the inductance of the magnetic circuit is different, so that the current response is different, so according to each current response The relationship between the two determines the position information of the rotor. The amplitude of each voltage pulse is less than the minimum of the safety thresholds that all power devices in the brushless DC motor can withstand. The width of each pulse is smaller than the corresponding width of the brushless DC motor when the inductance reaches saturation, and the width of each pulse needs to ensure that the pulses can be distinguished and the position of the rotor can be determined. In addition, the width of each pulse should be as short as possible to improve the response speed of the whole machine.
当电机由静止位置开始运行后,在运行过程中,驱动无刷直流电机运行的方式可以为:控制器根据转子位置的变化进行逻辑变换后产生脉宽调制信号,再经过驱动电路放大后送至逆变器各功率开关管,进而按一定的逻辑关系对定子绕组的电流进行切换,以驱动转子开始加速运行。When the motor starts from the rest position, during the operation, the mode of driving the brushless DC motor can be: the controller performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to Each power switch tube of the inverter further switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
无刷直流电机开始运行时,处于低速阶段,并且转速在逐渐升高,这时没有反电动势或反电动势不明显,从而无法根据反电动势过零点获取转子的位置。When the brushless DC motor starts running, it is in the low speed phase, and the rotational speed is gradually increasing. At this time, there is no back electromotive force or the back electromotive force is not obvious, so that the position of the rotor cannot be obtained according to the back electromotive force zero crossing point.
本发明无刷直流电机控制方法的第九实施例中,无刷直流电机开始运行后至检测到反电动势过零点之前,检测流过无刷直流电机的电流值和电机的电压值;根据上述电流值、电压值和磁链函数,计算出转子位置;根据计算的转子位置发送驱动信号驱动无刷直流电机换相。In a ninth embodiment of the control method of the brushless DC motor of the present invention, before the brushless DC motor starts to operate until the zero point of the back electromotive force is detected, the current value flowing through the brushless DC motor and the voltage value of the motor are detected; The value, voltage value and flux linkage function are used to calculate the rotor position; the drive signal is sent according to the calculated rotor position to drive the brushless DC motor commutation.
优选的,无刷直流电机获取初始位置开始运行后至检测到反电动势过零点之前,此时电机已开始转动,采用闭环控制的方式控制器控制其中两相导通,另一相不导通,检测电机的电流值、导通相的电压值和非导通相的电压值,根据检测的电流值、导通相电压值、非导通相电压值在磁链函数中进行计算,根据计算结果确定转子的位置,根据转子位置发送驱动信号驱动无刷直流电机换相。Preferably, the brushless DC motor obtains the initial position and starts to run until the zero point of the back electromotive force is detected. At this time, the motor has started to rotate, and the controller controls the two phases to be turned on and the other phase is not turned on by the closed loop control mode. Detecting the current value of the motor, the voltage value of the conduction phase, and the voltage value of the non-conduction phase, and calculating in the flux linkage function according to the detected current value, the conduction phase voltage value, and the non-conduction phase voltage value, according to the calculation result The position of the rotor is determined, and the drive signal is sent according to the position of the rotor to drive the commutation of the brushless DC motor.
上述实施例中,磁链函数法的基本思想是:构造了一个与磁链有关的函数来描述转子位置,利用测量的定子绕组上施加的电压和检测的母线电流而估算出磁链,再根据磁链与转子位置的关系估计出转子的位置。具体实现方式可以为:写出相电压方程,将相电压写作相电流、电阻、电感、互感、转子位置以及磁链的函数。磁链函数为转子永磁体上产生的磁链,是转子位置的函数。忽略电流饱和、漏感及铁耗,将磁链写成电流、电感及磁链函数有关的量。利用三相绕组自感互感相等以及三相电流之和为零推导出线电压表达式。该线电压表达式是电阻、电流、自感、互感以及线磁链函数的函数,其中,将上述线电压用施加在定子绕组上的电压代替,线磁链函数是两项磁 链函数之差,将线磁链函数的微分定位为线函数,从电压的表达式里推出函数的表达式,而该函数里面还有转速量,为了消去转速量,进一步变换。将两项线函数之比定义为估计函数,此估计函数与转速无关,它仅仅是转子位置的函数,即可利用这个估计函数值去估计转子位置,从而实现定子换相。因此,磁链函数法通过与转速无关的估计函数的应用,使得转速从近零点(例如额定转速的1.5%)到高速的换相瞬间都能够估计出,并且因为估计函数的形式在整个速度范围内都是一样的,因此在瞬态和稳态时都能够提供精确的换相脉冲。In the above embodiment, the basic idea of the flux linkage function method is: construct a function related to the flux linkage to describe the rotor position, estimate the flux linkage by using the measured voltage applied to the stator winding and the detected bus current, and then The relationship between the flux linkage and the rotor position estimates the position of the rotor. The specific implementation manner may be: writing a phase voltage equation, and writing the phase voltage as a function of phase current, resistance, inductance, mutual inductance, rotor position, and flux linkage. The flux linkage function is the flux linkage generated on the rotor permanent magnet and is a function of the rotor position. Ignore current saturation, leakage inductance and iron loss, and write the flux linkage into current, inductance and flux linkage functions. The line voltage expression is derived by using the three-phase windings with the same mutual inductance and the sum of the three-phase currents to zero. The line voltage expression is a function of resistance, current, self-inductance, mutual inductance, and line flux linkage function, wherein the line voltage is replaced by the voltage applied to the stator winding, and the line flux function is the difference between the two flux linkage functions. The differential of the linear flux linkage function is positioned as a line function, and the expression of the function is derived from the expression of the voltage, and the function also has the amount of rotation, which is further transformed in order to eliminate the amount of rotation. The ratio of the two line functions is defined as an estimation function. This estimation function is independent of the rotational speed. It is only a function of the rotor position. The estimated function value can be used to estimate the rotor position to achieve stator commutation. Therefore, the flux linkage function method can estimate the rotational speed from near zero (e.g., 1.5% of the rated rotational speed) to the high-speed commutation instant by the application of the rotational speed independent estimation function, and because the form of the estimation function is in the entire speed range. The same is true, so accurate commutation pulses can be provided in both transient and steady state.
具体的,磁链函数的推导方式如下:Specifically, the derivation of the flux linkage function is as follows:
Figure PCTCN2018088520-appb-000001
Figure PCTCN2018088520-appb-000001
Figure PCTCN2018088520-appb-000002
Figure PCTCN2018088520-appb-000002
Figure PCTCN2018088520-appb-000003
Figure PCTCN2018088520-appb-000003
假设电机当前的相序为A+C-,A相为换相相,B相为不导通相,C相为非换相相,U an——导通相A的相电压,i a——A相电流、R a——相电阻、θ——转子位置角 Assume that the current phase sequence of the motor is A+C-, phase A is the commutation phase, phase B is the non-conducting phase, phase C is the non-commutation phase, U an is the phase voltage of the conducting phase A, i a — - Phase A current, R a - phase resistance, θ - rotor position angle
L aa——自感、L ab——互感 L aa - self-inductance, L ab - mutual inductance
令L aa=L bb=L cc=L s,L ba=L ab=L ca=L ac=L bc=L cb=L m,L=L s-L m,R a=R b=R c=R,i a+i b+i c=0,且把λ ar(θ)表达为反电动势常数K e与位置关联的磁链函数f ar(θ),可得到 Let L aa = L bb = L cc = L s , L ba = L ab = L ca = L ac = L bc = L cb = L m , L = L s - L m , R a = R b = R c =R,i a +i b +i c =0, and λ ar (θ) is expressed as the back-EMF constant K e and the position-dependent flux linkage function f ar (θ)
Figure PCTCN2018088520-appb-000004
Figure PCTCN2018088520-appb-000004
Figure PCTCN2018088520-appb-000005
Figure PCTCN2018088520-appb-000005
式中,U ab——电机线电压,ω——电机瞬时角速度,U a为电机的导通相端电压,定义一个新的线间磁链函数 Where, U ab - motor line voltage, ω - motor instantaneous angular velocity, U a is the motor's conduction phase terminal voltage, defines a new line-to-line flux function
Figure PCTCN2018088520-appb-000006
Figure PCTCN2018088520-appb-000006
其中,当AB相绕组导通时(A+B-):Wherein, when the AB phase winding is turned on (A+B-):
Figure PCTCN2018088520-appb-000007
Figure PCTCN2018088520-appb-000007
由上述公式可知,获取导通相电压值、非导通相电压值和电流值,即可得到某位置的G(θ)。It can be seen from the above formula that the conduction phase voltage value, the non-conduction phase voltage value, and the current value are obtained, and G(θ) at a certain position can be obtained.
make
Figure PCTCN2018088520-appb-000008
Figure PCTCN2018088520-appb-000008
其中U BC为BC相绕组导通时的电压值,U AB为AB相绕组导通时的电压值。 Where U BC is the voltage value when the BC phase winding is turned on, and U AB is the voltage value when the AB phase winding is turned on.
上述G(θ)公式中,电流值包括母线电流值或相电流值中任一个。In the above G(θ) formula, the current value includes any one of a bus current value or a phase current value.
上述G(θ)函数与速度无关,且包含连续的位置信号,当上述G(θ)趋于无限大时即为换向点,在本发明中,当G(θ)大于预设值时极为换向点。由于电机以任何速度运行时,该函数的表达式都是一样的,在电机的暂态和稳态都能得到一个精确的换向脉冲。The above G(θ) function is independent of the speed and includes a continuous position signal. When the above G(θ) tends to be infinite, it is a commutation point. In the present invention, when G(θ) is greater than a preset value, Reversing point. Since the motor's expression is the same when the motor is running at any speed, a precise commutation pulse can be obtained in both the transient and steady state of the motor.
上述磁链函数的方法检测转子的位置,虽然电机以任何速度运行时,函数的表达式都是一样的,即该控制方法适用于无刷直流电机的整个转速范围,但是,磁链函数得方法计算转子的位置运算量比较大,当电机在高速运行时,会出现还未计算出转子的位置就已经到达换相时刻的情况,因此在电机高速运行时,采用磁链函数的方法计算转子位置会造成计算结果不准确。The above method of flux linkage function detects the position of the rotor. Although the motor runs at any speed, the expression of the function is the same, that is, the control method is applicable to the entire rotational speed range of the brushless DC motor, but the method of obtaining the flux linkage function Calculating the position of the rotor is relatively large. When the motor is running at high speed, it will happen that the position of the rotor has not yet been calculated and the commutation time has been reached. Therefore, when the motor is running at high speed, the position of the rotor is calculated by the method of flux linkage function. Will result in inaccurate calculation results.
综上所述,本发明实施例提供的无刷直流电机控制方法在低速阶段通过采用磁链函数的方法能够检测到转子的位置,从而能够根据转子的位置信息进行换相,提高了换相的准确性,并且提升了启动扭矩,进而提高了启动成功的概率。In summary, the brushless DC motor control method provided by the embodiment of the present invention can detect the position of the rotor by using a flux linkage function in a low speed stage, thereby being capable of commutating according to the position information of the rotor, and improving the commutation. Accuracy and increased starting torque, which increases the probability of successful startup.
当电机转速达到一定速度后即中高速阶段,这时就可以检测到稳定的反电动势过零点,可以通过反电动势过零点来确定转子的位置,例如可以利用 相反电势法、端电压法、线电压差值法、三次谐波法等来确定转子的位置,进而对定子绕组进行换相控制以驱动转子旋转,这时无刷直流电机运行于自同步状态,代表已经成功启动。When the motor speed reaches a certain speed, that is, the medium-high speed phase, a stable back-EMF zero-crossing point can be detected. The position of the rotor can be determined by the back-EMF zero-crossing point. For example, the opposite potential method, the terminal voltage method, and the line voltage can be used. The difference method, the third harmonic method, etc. are used to determine the position of the rotor, and then the commutation control of the stator winding is performed to drive the rotor to rotate. At this time, the brushless DC motor operates in a self-synchronizing state, indicating that the rotor has been successfully started.
其中,稳定的反电动势过零点包括反电动势过零点的次数达到预设值或者端电压上升的斜率达到预设值中任一个。Wherein, the stable back electromotive force zero-crossing point includes the number of times the back electromotive force zero-crossing reaches a preset value or the slope of the terminal voltage rise reaches a preset value.
综上,在电机的全速过程中,无刷直流电机全速范围的无传感器控制根据预设条件分为三个阶段,每一阶段均获取无刷直流电机的电信号,根据电信号获得无刷直流电机的转子位置,根据转子位置控制无刷直流电机换相。In summary, in the full speed process of the motor, the sensorless control of the full speed range of the brushless DC motor is divided into three stages according to the preset conditions. The electric signals of the brushless DC motor are obtained in each stage, and the brushless DC is obtained according to the electric signal. The rotor position of the motor controls the commutation of the brushless DC motor according to the rotor position.
图9是本发明无刷直流电机控制方法的第十实施例,在本实施例中无刷直流电机在全速范围中根据速度分为三阶段,分别采用不同的方法控制电机进行换相,具体步骤包括:9 is a tenth embodiment of the control method of the brushless DC motor of the present invention. In the present embodiment, the brushless DC motor is divided into three stages according to the speed in the full speed range, and the motor is separately controlled by different methods. include:
步骤S01:第一阶段,无刷直流电机静止时,对无刷直流电机的三相依次通入脉冲,获取流过无刷直流电机的电流值,根据电流值获得所述无刷直流电机转子的初始位置,并根据初始位置发送控制信号控制无刷直流电机换相;Step S01: In the first stage, when the brushless DC motor is stationary, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the rotor of the brushless DC motor is obtained according to the current value. The initial position, and the control signal is sent according to the initial position to control the commutation of the brushless DC motor;
步骤S02:第二阶段,无刷电机转动后,获取流过无刷直流电机的电流值和无刷直流电机的电压值,根据磁链函数的方法中获得无刷直流电机的转子位置,根据转子位置发送控制信号控制无刷直流电机换相;第二阶段主要是在电机低速运行时,反电动势不明显或者无法检测到反电动势,采用磁链函数的方法可以准确的获取转子的位置。Step S02: In the second stage, after the brushless motor rotates, the current value flowing through the brushless DC motor and the voltage value of the brushless DC motor are obtained, and the rotor position of the brushless DC motor is obtained according to the method of the flux linkage function, according to the rotor The position transmission control signal controls the commutation of the brushless DC motor; the second stage is mainly when the motor is running at low speed, the back electromotive force is not obvious or the back electromotive force cannot be detected, and the position of the rotor can be accurately obtained by the method of flux linkage function.
步骤S03:第三阶段,判定无刷直流电机检测到反电动势过零点时,通过反电动势过零点来获得无刷直流电机转子位置,根据转子位置发送控制信号控制无刷直流电机换相。Step S03: In the third stage, when the brushless DC motor detects the zero-crossing of the back electromotive force, the rotor position of the brushless DC motor is obtained by the zero-crossing point of the back electromotive force, and the commutation of the brushless DC motor is controlled according to the rotor position transmission control signal.
具体的,第三阶段主要是指电机在中高速运行时,此时,反电动势比较明显,可以根据反电动势过零点的方法获取电机转子的位置,根据转子的位置发送控制信号控制电机换相,该阶段电机运行速度比较高,若采用磁链函数的方法,会增加计算量,可能会产生换相延迟,使得换相不准确,因此采用反电动势法可以比较准确的获取转子位置。Specifically, the third stage mainly refers to the motor running at medium and high speeds. At this time, the back electromotive force is relatively obvious. The position of the motor rotor can be obtained according to the method of zero-crossing of the back electromotive force, and the motor is commutated according to the position of the rotor. At this stage, the motor runs at a relatively high speed. If the flux linkage function is used, the calculation amount will increase, and the commutation delay may occur, which makes the commutation inaccurate. Therefore, the back electromotive force method can be used to obtain the rotor position accurately.
在本发明无刷直流电机控制方法的第十一实施例中,步骤S01可以是上 述实施例一到实施例八中任一实施例的方法。In the eleventh embodiment of the control method of the brushless DC motor of the present invention, the step S01 may be the method of any one of the first to eighth embodiments.
上述实施例,在运行过程中,驱动无刷直流电机运行的方式可以为:控制装置根据转子位置的变化进行逻辑变换后产生脉宽调制信号,再经过驱动电路放大后送至逆变器各功率开关管,进而按一定的逻辑关系对定子绕组的电流进行切换,以驱动转子开始加速运行。In the above embodiment, during the operation, the driving method of the brushless DC motor may be: the control device performs logic transformation according to the change of the rotor position to generate a pulse width modulation signal, and then is amplified by the driving circuit and sent to the inverter for each power. The switch tube, in turn, switches the current of the stator winding according to a certain logic relationship to drive the rotor to start accelerating operation.
在本实施例中,本发明S02可以为上述实施例九描述的磁链函数法,即In this embodiment, the present invention S02 may be the flux linkage function method described in the above embodiment 9, that is,
Figure PCTCN2018088520-appb-000009
Figure PCTCN2018088520-appb-000009
make
Figure PCTCN2018088520-appb-000010
Figure PCTCN2018088520-appb-000010
其中UBC为BC相绕组导通时的电压,UAB为AB相绕组导通时的电压。Among them, UBC is the voltage when the BC phase winding is turned on, and UAB is the voltage when the AB phase winding is turned on.
上述G(θ)函数与速度无关,且包含连续的位置信号,当上述G(θ)趋于无限大时即为换向点,在本发明中,当G(θ))大于预设值时极为换向点。由于电机以任何速度运行时,该函数的表达式都是一样的,在电机的暂态和稳态都能得到一个精确的换向脉冲。The above G(θ) function is independent of speed and includes a continuous position signal. When the above G(θ) tends to be infinite, it is a commutation point. In the present invention, when G(θ)) is greater than a preset value. Extremely commutating point. Since the motor's expression is the same when the motor is running at any speed, a precise commutation pulse can be obtained in both the transient and steady state of the motor.
上述磁链函数的方法检测转子的位置,虽然电机以任何速度运行时,函数的表达式都是一样的,即该检测方法适用于无刷直流电机的整个转速范围,但是,磁链函数得方法计算转子的位置运算量比较大,当电机在高速运行时,会出现还未计算出转子的位置就已经到达换相时刻的情况,因此在电机高速运行时,采用磁链函数的方法计算转子位置会造成计算结果不准确。The above method of flux linkage function detects the position of the rotor. Although the motor runs at any speed, the expression of the function is the same, that is, the detection method is applicable to the entire rotational speed range of the brushless DC motor, but the method of obtaining the flux linkage function Calculating the position of the rotor is relatively large. When the motor is running at high speed, it will happen that the position of the rotor has not yet been calculated and the commutation time has been reached. Therefore, when the motor is running at high speed, the position of the rotor is calculated by the method of flux linkage function. Will result in inaccurate calculation results.
本发明S03包括上述无刷直流电机控制方法的一个实施例所述的反电动势过零法检测转子的初始位置。The S03 of the present invention includes the back electromotive force zero-crossing method described in one embodiment of the above-described brushless DC motor control method for detecting the initial position of the rotor.
其中,上述反电动势过零点为稳定的反电动势过零点,包括反电动势过零点的次数达到预设值或者端电压上升的斜率达到预设值中任一个。反电动势过零点可以采用端电压检测法来检测,基本原理为:通过检测端电压,并进行无源滤波,滤除开关噪声对低频反电动势的影响,对滤波引起的相移进 行分段估计,再用软件加以补偿,与无刷直流电机的中性点电压进行比较后,所得差值的过零点即为反电动势过零点。找到反电动势过零点后,延时30°电角度即为无刷直流电机的换相时刻。Wherein, the zero-crossing point of the back electromotive force is a stable zero-electrode zero-crossing point, and the number of times of the zero-crossing of the counter electromotive force reaches a preset value or the slope of the terminal voltage rise reaches a preset value. The zero-crossing of the back EMF can be detected by the terminal voltage detection method. The basic principle is: by detecting the terminal voltage and performing passive filtering, filtering out the influence of the switching noise on the low-frequency back EMF, and estimating the phase shift caused by the filtering. Then compensated by software, after comparing with the neutral point voltage of the brushless DC motor, the zero-crossing point of the obtained difference is the zero-crossing point of the back electromotive force. After finding the zero-crossing point of the back electromotive force, the 30° electrical angle is the commutation moment of the brushless DC motor.
请参考图10所示,在反电动势为梯形波的三相无刷直流电机中,每一相的反电动势在一个电周期中有两个过零点,在三相反电动势波形有六个换相位置分别对应图中的b,d,f,h,j,i;因为这些位置对应的反电动势并不具有特殊性,因而不好检测。本发明反电动势过零点的转子位置检测方法是在电机两两导通时,通过检测悬空相的反电动势过零点,而得到电机转子的关键位置,进而进行换相。Referring to FIG. 10, in a three-phase brushless DC motor whose back electromotive force is a trapezoidal wave, the back electromotive force of each phase has two zero crossing points in one electric cycle, and six commutation positions in three opposite electromotive force waveforms. Corresponding to b, d, f, h, j, i in the figure respectively; because the back electromotive force corresponding to these positions is not special, it is not easy to detect. The rotor position detecting method for the zero-crossing point of the back electromotive force of the present invention is to obtain the key position of the rotor of the motor by detecting the zero-crossing point of the counter electromotive force of the suspended phase when the two motors are turned on, and then perform the commutation.
具体的,请参考图2和图10,若在Q1-Q6功率管导通时,A+B-导通,C相悬空,各相反电动势情况如图10中1区间,因此运行30度之后C相绕组的反电动势就会穿越零点S1,再运行30度会到达b位置即可以换相的关键位置,可想而知,通过检测反电动势过零点S1-S6,就能获知换相关键位置。本发明一优选实施例中,判断S1的位置通过检测C相的母线电流值,当i t1>0,i t2<0,则S1位于t1和t2之间,由于二者之间的时间差距很短,可以近似的认为S1所在的时间t=(t1+t2)/2。 Specifically, please refer to FIG. 2 and FIG. 10. If the Q1-Q6 power tube is turned on, A+B- is turned on, and the C phase is suspended. The opposite electromotive force conditions are as shown in the interval 1 of FIG. 10, so after running 30 degrees, C The back electromotive force of the phase winding will cross the zero point S1, and then run 30 degrees to reach the b position, which is the key position that can be commutated. It is conceivable that by detecting the back electromotive force zero crossing point S1-S6, the position of the relevant key can be known. In a preferred embodiment of the present invention, the position of S1 is determined by detecting the bus current value of phase C. When i t1 >0, i t2 <0, then S1 is located between t1 and t2, because the time difference between the two is very high. Short, it can be approximated that the time at which S1 is located is t=(t1+t2)/2.
本发明无刷直流电机控制方法,在初始阶段采用短时脉冲定位法检测转子初始位置,在无法检测到反电动势之前,采用磁链法检测转子位置,当检测到反电动势时,根据反电动势法检测转子位置。该检测方法在整个过程中采用闭环控制,使得电机启动更加稳定,避免发生抖动的现象,提高了换相的准确度;在低速阶段无法获取反电动势时采用磁链法检测转子位置,检测结果更加准确,且提升了启动扭矩,进而提高了启动成功的概率,高速阶段采用反电动势法而不采用磁链法,既可以准确获得转子位置,又可以避免采用磁链法在高速运行时运算量过大可能导致的换相不准确的问题。In the brushless DC motor control method of the present invention, the initial position of the rotor is detected by the short-time pulse positioning method in the initial stage, and the rotor position is detected by the flux linkage method before the back electromotive force cannot be detected, and when the counter electromotive force is detected, according to the counter electromotive force method Detect the rotor position. The detection method adopts closed-loop control in the whole process, which makes the motor start more stable, avoids the phenomenon of jitter, and improves the accuracy of the commutation. When the counter electromotive force cannot be obtained in the low speed stage, the flux position is detected by the flux linkage method, and the detection result is more Accurate, and improve the starting torque, which increases the probability of successful start-up. The high-speed phase uses the back electromotive force method instead of the flux linkage method, which can accurately obtain the rotor position and avoid the use of the flux linkage method in high-speed operation. Large problems that may result in inaccurate commutation.
本发明还提供了一种控制装置,其用于与无刷直流电机闭环通信,并且用于检测无位置传感器的无刷直流电机转子位置,控制装置被配置为包括上述任一实施例所述的无刷直流电机转子位置检测方法或者控制方法。The present invention also provides a control device for closed-loop communication with a brushless DC motor and for detecting a position of a brushless DC motor rotor without a position sensor, the control device being configured to include the one described in any of the above embodiments Brushless DC motor rotor position detection method or control method.
即本发明的控制装置通过将上述实施例中的无刷直流电机转子位置检测 方法配置集合到一个控制器中,实现电机在不同的速度情况下,即在电机静止时采用脉冲注入的方式检测转子的初始位置,当电机在低速运行时,采用磁链函数法检测转子的位置,当电机在高速运行中时,采用磁链函数法计算转子的位置时,其运算量较大,计算速度较慢,电机高速运行时转子位置计算结果不准确,因此,当电机在中高速运行,此时反电动势较明显,采用反电动势法检测转子的位置,其换相更佳准确。本发明通过电机在不同的速度时,采用不同的方式检测转子的位置,充分利用电机自身的特点,其检测效果更佳准确。That is, the control device of the present invention integrates the brushless DC motor rotor position detecting method in the above embodiment into a controller, so that the motor is detected by pulse injection at different speeds, that is, when the motor is stationary. The initial position, when the motor is running at low speed, the position of the rotor is detected by the flux linkage function method. When the motor is running at high speed, the position of the rotor is calculated by the flux linkage function method, the calculation amount is large, and the calculation speed is slow. When the motor runs at high speed, the calculation result of the rotor position is not accurate. Therefore, when the motor runs at medium and high speed, the back electromotive force is obvious at this time, and the position of the rotor is detected by the back electromotive force method, and the commutation is better and more accurate. The invention detects the position of the rotor in different ways by the motor at different speeds, and fully utilizes the characteristics of the motor itself, and the detection effect is better and more accurate.
本发明还保护一电动工具,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;开关,用于控制电源向控制装置和电机提供电能;扳机开关触发,电源给控制装置和电机提供电能,控制装置接收来自扳机开关不同位置设置的电压信号,控制装置将接收的电压信号与预先存储在控制装置内的预设的电压值比较,若电压值大于预设电压值,则控制装置对三相电机中的每一相依次施加第一时间的第一方向的脉冲和第二时间的第二方向脉冲,控制器比较各相施加第一方向脉冲时的母线电流值的大小,获取电机转子的位置并控制电机换相。The invention also protects a power tool, comprising a casing; a control device; a motor, located in the casing; a power source for supplying electric energy to the motor; a switch for controlling the power source to supply electric power to the control device and the motor; the trigger switch triggering, the power source is given The control device and the motor provide electrical energy, and the control device receives the voltage signal from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than the preset voltage value And the control device sequentially applies a first direction pulse of the first time and a second direction pulse of the second time to each of the three phase motors, and the controller compares the bus current value when the first direction pulse is applied to each phase. Size, obtain the position of the motor rotor and control the motor commutation.
本发明一种电动工具的另一实施例,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;开关,用于控制电源向控制装置和电机提供电能;扳机开关触发,电源给控制装置和电机提供电能,控制装置接收来自扳机开关不同位置设置的电压信号,控制装置将接收的电压信号与预先存储在控制装置内的预设的电压值比较,若电压值大于预设电压值,且控制在获得无电机初始位置后至检测到反电动势过零点之前,获取流过无刷直流电机的电流值及电机的相电压值,根据上述电压值和电流值与磁链函数的关系,计算出转子位置,根据计算的转子位置发送驱动信号驱动电机换相。Another embodiment of a power tool according to the present invention includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; a switch for controlling power to supply power to the control device and the motor; and a trigger switch Triggering, the power supply supplies power to the control device and the motor, the control device receives the voltage signal set from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than Presetting the voltage value, and controlling the current value flowing through the brushless DC motor and the phase voltage value of the motor after obtaining the initial position without the motor until the zero point of the back electromotive force is detected, according to the voltage value and the current value and the flux linkage The relationship of the function calculates the rotor position and sends a drive signal to drive the motor commutation based on the calculated rotor position.
优选的,上述电压值包括所述无刷直流电机导通相的电压值和非导通相的电压值。Preferably, the voltage value includes a voltage value of the conduction phase of the brushless DC motor and a voltage value of the non-conduction phase.
本发明一种电动工具的另一实施例,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;开关,用于控制电源向控制装置和电 机提供电能;扳机开关触发,电源给控制装置和电机提供电能,控制装置接收来自扳机开关不同位置设置的电压信号,控制装置将接收的电压信号与预先存储在控制装置内的预设的电压值比较,若电压值大于预设电压值,对无刷直流电机的三相依次通入脉冲,检测无刷直流电机转子的初始位置;获得无刷直流电机初始位置后至检测到反电动势过零点之前,根据磁链函数的方法确定转子的位置以进行换相;判定无刷直流电机检测到反电动势过零点时,通过反电动势过零点来确定转子的位置。Another embodiment of a power tool according to the present invention includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; a switch for controlling power to supply power to the control device and the motor; and a trigger switch Triggering, the power supply supplies power to the control device and the motor, the control device receives the voltage signal set from different positions of the trigger switch, and the control device compares the received voltage signal with a preset voltage value pre-stored in the control device, if the voltage value is greater than The preset voltage value is sequentially applied to the three-phase of the brushless DC motor to detect the initial position of the rotor of the brushless DC motor; after obtaining the initial position of the brushless DC motor until the zero-crossing point of the back electromotive force is detected, according to the function of the flux linkage The method determines the position of the rotor for commutation; when the brushless DC motor detects the zero-crossing of the back electromotive force, the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
本发明一种电动工具的另一实施例,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;扳机开关,用于控制电源向控制装置和电机提供电能;扳机开关触发,电源给控制装置和电机提供电能,控制装置对电机的每一相依次施加第一时间的第一方向的脉冲和第二时间的第二方向脉冲,比较各相施加第一方向脉冲时的母线电流值的大小,获取电机转子的位置并控制电机换相。Another embodiment of a power tool according to the present invention includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor; The switch triggers, the power supply supplies power to the control device and the motor, and the control device sequentially applies a first direction pulse of the first time and a second direction pulse of the second time to each phase of the motor, and compares the phases when the first direction pulse is applied. The magnitude of the bus current value is obtained by taking the position of the motor rotor and controlling the motor commutation.
本发明一种电动工具的另一实施例,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;扳机开关,用于控制电源向控制装置和电机提供电能;扳机开关触发,电源给控制装置和电机提供电能,控制在获得无电机初始位置后至检测到反电动势之前,获取流过无刷直流电机的电流值和电机的相电压值;根据上述电流值和相电压值与磁链函数的关系,计算出转子位置;根据计算的转子位置发送驱动信号驱动所述无刷直流电机换相。Another embodiment of a power tool according to the present invention includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor; The switch triggers, the power supply supplies power to the control device and the motor, and controls the current value flowing through the brushless DC motor and the phase voltage value of the motor after obtaining the initial position without the motor until the back electromotive force is detected; according to the current value and phase The relationship between the voltage value and the flux linkage function calculates the rotor position; the drive signal is transmitted according to the calculated rotor position to drive the brushless DC motor commutation.
本发明一种电动工具的另一实施例,包括壳体;控制装置;电机,位于壳体内;电源,用于给电机提供电能;扳机开关,用于控制电源向控制装置和电机提供电能;扳机开关触发,电源给控制装置和电机提供电能,对无刷直流电机的三相依次通入脉冲,检测无刷直流电机转子的初始位置;获得无刷直流电机初始位置后至检测到反电动势过零点之前,根据磁链函数的方法确定转子的位置以进行换相;判定无刷直流电机检测到反电动势过零点时,通过反电动势过零点来确定转子的位置。Another embodiment of a power tool according to the present invention includes a housing; a control device; a motor located in the housing; a power source for supplying power to the motor; and a trigger switch for controlling the power supply to supply power to the control device and the motor; The switch triggers, the power supply supplies power to the control device and the motor, and the three phases of the brushless DC motor sequentially pass pulses to detect the initial position of the rotor of the brushless DC motor; after obtaining the initial position of the brushless DC motor, the zero-crossing point of the back electromotive force is detected. Previously, the position of the rotor was determined according to the method of the flux linkage function for commutation; when the brushless DC motor detected the zero-crossing of the back electromotive force, the position of the rotor was determined by the zero-crossing point of the counter electromotive force.
上述各实施例的电机为无刷直流电机,且第一方向与第二方向相反。其 中,电压值包括所述无刷直流电机导通相的电压值和非导通相的电压值,电流值包括母线电流值或相电流值中任一个,且反电动势过零点为稳定的反电动势过零点,包括反电动势过零点的次数达到预设值或者端电压上升的斜率达到预设值中任一个。The motor of each of the above embodiments is a brushless DC motor, and the first direction is opposite to the second direction. The voltage value includes a voltage value of the conduction phase of the brushless DC motor and a voltage value of the non-conduction phase, and the current value includes any one of a bus current value or a phase current value, and the counter electromotive force zero crossing point is a stable back electromotive force. The zero-crossing point, including the number of zero-crossings of the back electromotive force, reaches a preset value or the slope of the terminal voltage rises to a preset value.
本发明的电动工具包括电动扳手,电动扳手上设置有扳机开关,扳机开关用于控制电动扳手的启动,当用户触发扳机开关,电动扳手通电,上述控制装置启动,对电机转子的位置进行检测,并根据检测结果控制电机换相。The electric tool of the invention comprises an electric wrench, the electric wrench is provided with a trigger switch, the trigger switch is used for controlling the starting of the electric wrench, when the user triggers the trigger switch, the electric wrench is energized, the above control device is activated, and the position of the motor rotor is detected, And control the motor commutation according to the test result.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (29)

  1. 一种无刷直流电机控制方法,用于控制无位置传感器的具有三相(A、B、C)的无刷直流电机,其特征在于,所述方法包括下列步骤:A brushless DC motor control method for controlling a three-phase (A, B, C) brushless DC motor without a position sensor, characterized in that the method comprises the following steps:
    对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;Applying a first direction pulse of a first time and a second direction pulse of a second time to the phase A of the brushless DC motor to obtain a bus current value Ia when the first direction pulse is applied to the phase A;
    对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;Repeating the above operations for the B and C phases, obtaining the bus current value Ib when the B phase is applied with the first direction pulse and the bus current value Ic when the first direction pulse is applied to the C phase;
    比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, and Ic to determine the initial position of the rotor;
    根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
  2. 根据权利要求1所述的无刷直流电机控制方法,其特征在于,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia的具体步骤包括:The brushless DC motor control method according to claim 1, wherein the first direction pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain A. The specific steps of applying the bus current value Ia when the first direction pulse is applied include:
    控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲。Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and A voltage pulse of a second time is applied to the phase A.
  3. 根据权利要求1所述的无刷直流电机控制方法,其特征在于,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia的具体步骤还包括:The brushless DC motor control method according to claim 1, wherein the first direction pulse of the first time and the second direction pulse of the second time are sequentially applied to the phase A of the brushless DC motor to obtain A. The specific steps of applying the bus current value Ia when the first direction pulse is applied further include:
    控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲。Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A.
  4. 根据权利要求1所述的无刷直流电机控制方法,其特征在于,所述控制方法还包括步骤:The brushless DC motor control method according to claim 1, wherein the control method further comprises the steps of:
    对所述无刷直流电机的A相依次施加第一时间的第二方向脉冲和第二时间的第一方向脉冲,获取A相施加第二方向脉冲时的母线电流值Ia’;Applying a second direction pulse of the first time and a first direction pulse of the second time to the phase A of the brushless DC motor to obtain a bus current value Ia' when the second direction pulse is applied to the phase A;
    对B、C相重复上述操作,获取B相施加第二方向脉冲的母线电流值Ib’和C相施加第二方向的脉冲时母线电流值Ic’;Repeating the above operations for the B and C phases, obtaining the bus current value Ib' of the B phase applied with the second direction pulse and the bus current value Ic' when the C phase applying the pulse of the second direction;
    比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置。The size of the obtained Ia, Ib, Ic, Ia', Ib', Ic' is compared to determine the initial position of the rotor.
  5. 根据权利要求4所述的无刷直流电机控制方法,其特征在于,所述控制方法具体为:The control method of the brushless DC motor according to claim 4, wherein the control method is specifically:
    控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and Applying a voltage pulse of a second time to the phase A;
    对B、C相重复上述操作,获取B相正向导通时的母线电流值Ib和C相正向导通时的母线电流值Ic;Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded;
    控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲;Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A;
    对B、C相重复上述操作,获取B相反向导通时的母线电流值Ib’和C相反向导通时的母线电流值Ic’;Repeat the above operations for the B and C phases to obtain the bus current value Ib' when B is oppositely turned on and the bus current value Ic' when C is oppositely turned on;
    比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
    根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
  6. 根据权利要求4所述的无刷直流电机控制方法,其特征在于,所述控制方法具体为:The control method of the brushless DC motor according to claim 4, wherein the control method is specifically:
    控制所述无刷直流电机的A相反向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,并向所述A相施加第二时间的电压脉冲;Controlling A of the brushless DC motor to be oppositely turned on, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia', and controlling the A phase of the brushless DC motor to be forwarded. And applying a voltage pulse of the second time to the phase A;
    对B、C相重复上述操作,获取B相反向导通时的母线电流值Ib’和C相反向导通时的母线电流值Ic’;Repeat the above operations for the B and C phases to obtain the bus current value Ib' when B is oppositely turned on and the bus current value Ic' when C is oppositely turned on;
    控制所述无刷直流电机的A相正向导通,并向所述A相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,并向所述A相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, and applying a voltage pulse of the first time to the A phase to obtain a corresponding bus current value Ia, and controlling the A of the brushless DC motor to be oppositely turned on, and Applying a voltage pulse of a second time to the phase A;
    对B、C相重复上述操作,获取B相正向导通时的母线电流值Ib和C相正向导通时的母线电流值Ic;Repeat the above operations for the B and C phases, and obtain the bus current value Ib when the B phase is forwarded and the bus current value Ic when the C phase is forwarded;
    比较获取的Ia,Ib,Ic,Ia’,Ib’,Ic’的大小,判断转子的初始位置;Comparing the obtained sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
    根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
  7. 根据权利要求5所述的无刷直流电机控制方法,其特征在于,所述控制方法包括:The brushless DC motor control method according to claim 5, wherein the control method comprises:
    控制所述无刷直流电机的A相正向导通,B相反向导通(A+B-),并向AB相施加第一时间的电压脉冲,获取对应的母线电流值Iab,控制A相反向导通,B相正向导通(A-B+),并向BA相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, B is oppositely conducting (A+B-), and applying a voltage pulse of the first time to the AB phase to obtain a corresponding bus current value Iab, and the control A is oppositely guided. , phase B is forward-conducting (A-B+), and a voltage pulse of a second time is applied to the BA phase;
    控制所述无刷直流电机的B相正向导通,C相反向导通(B+C-),并向BC相施加第一时间的电压脉冲,获取对应的母线电流值Ibc,控制B相反向导通,C相正向导通(B-C+),并向CB相施加第二时间的电压脉冲;Controlling the B-phase forward conduction of the brushless DC motor, C is oppositely conducting (B+C-), and applying a voltage pulse of the first time to the BC phase to obtain a corresponding bus current value Ibc, and the control B is oppositely guided. , phase C is forward-guided (B-C+), and a voltage pulse of a second time is applied to the CB phase;
    控制所述无刷直流电机的C相正向导通,A相反向导通(C+A-),并向CA相施加第一时间的电压脉冲,获取对应的母线电流值Ica,控制C相反向导通,A相正向导通(C-A+),并向AC相施加第二时间的电压脉冲;Controlling the C-phase of the brushless DC motor to be forwarded, A is oppositely conducting (C+A-), and applying a voltage pulse of the first time to the CA phase to obtain a corresponding bus current value Ica, and the control C is oppositely guided. , phase A is forward-conducting (C-A+), and a voltage pulse of a second time is applied to the AC phase;
    控制所述无刷直流电机的B相正向导通,A相反向导通(B+A-),并向BA相施加第一时间的电压脉冲,获取对应的母线电流值Iba,控制B相反向导通,A相正向导通(B-A+),并向AB相施加第二时间的电压脉冲;Controlling the B-phase forward conduction of the brushless DC motor, A is oppositely conducting (B+A-), and applying a voltage pulse of the first time to the BA phase to obtain a corresponding bus current value Iba, and the control B is oppositely guided. , phase A is forward-conducting (B-A+), and a voltage pulse of a second time is applied to the AB phase;
    控制所述无刷直流电机的C相正向导通,B相反向导通(C+B-),并向CB相施加第一时间的电压脉冲,获取对应的母线电流值Icb,控制C相反向导通,B相正向导通(C-B+),并向BC相施加第二时间的电压脉冲;Controlling the C-phase of the brushless DC motor to be forwarded, B is opposite to the conduction (C+B-), and applying a voltage pulse of the first time to the CB phase to obtain a corresponding bus current value Icb, and the control C is oppositely guided. , phase B is forward-conducting (C-B+), and a voltage pulse of a second time is applied to the BC phase;
    控制所述无刷直流电机的A相正向导通,C相反向导通(A+C-),并向AC相施加第一时间的电压脉冲,获取对应的母线电流值Iac;Controlling the A phase of the brushless DC motor is forward-conducting, C is oppositely conducting (A+C-), and applying a voltage pulse of the first time to the AC phase to obtain a corresponding bus current value Iac;
    比较Iab,Ibc,Ica,Iba,Icb,Iac大小,判断转子的初始位置;Compare the Iab, Ibc, Ica, Iba, Icb, Iac size to determine the initial position of the rotor;
    根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
  8. 根据权利要求7所述的无刷直流电机控制方法,其特征在于,所述比较Iab,Ibc,Ica,Iba,Icb,Iac大小,判断转子的初始位置的步骤包括:The brushless DC motor control method according to claim 7, wherein the comparing the Iab, Ibc, Ica, Iba, Icb, Iac size, and determining the initial position of the rotor comprises:
    若Ibc>Iab>Ica,且Iba>Icb>Iac,则转子位于第一扇区;If Ibc>Iab>Ica, and Iba>Icb>Iac, the rotor is located in the first sector;
    若Ibc>Ica>Iab,且Iac>Icb>Iba,则转子位于第三扇区;If Ibc>Ica>Iab, and Iac>Icb>Iba, the rotor is located in the third sector;
    若Iab>Ica>Ibc,且Iac>Iba>Icb,则转子位于第二扇区;If Iab>Ica>Ibc, and Iac>Iba>Icb, the rotor is located in the second sector;
    若Iab>Ibc>Ica,且Icb>Iba>Iac,则转子位于第六扇区;If Iab>Ibc>Ica, and Icb>Iba>Iac, the rotor is located in the sixth sector;
    若Ica>Ibc>Iab,且Icb>Iac>Iba,则转子位于第四扇区;If Ica>Ibc>Iab, and Icb>Iac>Iba, the rotor is located in the fourth sector;
    若Ica>Iab>Ibc,且Iba>Iac>Icb,则转子位于第五扇区;If Ica>Iab>Ibc, and Iba>Iac>Icb, the rotor is located in the fifth sector;
    其中,以BC相为0°逆时针旋转,所述第一扇区至第六扇区的电角度范围依次分别为(0° 60°)、(240° 300°)、(300° 360°)、(120° 180°)、(60° 120°)、(180° 240°)。Wherein, the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0° 60°), (240° 300°), and (300° 360°), respectively. , (120 ° 180 °), (60 ° 120 °), (180 ° 240 °).
  9. 根据权利要求5所述的无刷直流电机控制方法,其特征在于,所述控制方法的步骤包括:The brushless DC motor control method according to claim 5, wherein the step of the control method comprises:
    控制所述无刷直流电机的A相正向导通,B、C相反向导通(A+B-C-),向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ia,控制所述无刷直流电机的A相反向导通,B、C相正向导通(A-B+C+),向BCA相施加第二时间的电压脉冲;Controlling the A phase of the brushless DC motor to be forwarded, B and C are oppositely conducting (A+BC-), applying a voltage pulse of the first time to the ABC phase, acquiring a corresponding bus current value Ia, and controlling the The brush A of the DC motor is oppositely turned on, and the B and C phases are forwardly guided (A-B+C+), and a voltage pulse of the second time is applied to the BCA phase;
    控制所述无刷直流电机的B相正向导通,A、C相反向导通(B+A-C-),向BAC相施加第一时间的电压脉冲,获取对应的母线电流值Ib,控制所述无刷直流电机的B相反向导通,A、C相正向导通(B-A+C+),向ACB相施加第二时间的电压脉冲;Controlling the B phase of the brushless DC motor to be forwarded, and A and C are oppositely conducting (B+AC-), applying a voltage pulse of the first time to the BAC phase, acquiring a corresponding bus current value Ib, and controlling the B of the brush DC motor is oppositely turned on, and the A and C phases are forwardly guided (B-A+C+), and a voltage pulse of the second time is applied to the ACB phase;
    控制所述无刷直流电机的C相正向导通,A、B相反向导通(C+A-B-),向CAB相施加第一时间的电压脉冲,获取对应的母线电流值Ic,控制所述无刷直流电机的C相反向导通,A、B相正向导通(C-A+B+),向ABC相施加第二时间的电压脉冲;Controlling the C phase of the brushless DC motor to be forwarded, and A and B are oppositely conducting (C+AB-), applying a voltage pulse of the first time to the CAB phase, acquiring a corresponding bus current value Ic, and controlling the The C of the brush DC motor is oppositely turned on, and the A and B phases are forwardly guided (C-A+B+), and a voltage pulse of the second time is applied to the ABC phase;
    控制所述无刷直流电机的A相反向导通,B、C相正向导通(A-B+C+),向BCA相施加第一时间的电压脉冲,获取对应的母线电流值Ia’,控制所述无刷直流电机的A相正向导通,B、C相反向导通(A+B-C-),向ABC相施加第二时间的电压脉冲;Controlling the A of the brushless DC motor is reversed, and the B and C phases are forward-conducting (A-B+C+), and a voltage pulse of the first time is applied to the BCA phase to obtain a corresponding bus current value Ia', and the control station The phase A of the brushless DC motor is forwardly guided, and B and C are oppositely connected (A+BC-), and a voltage pulse of the second time is applied to the ABC phase;
    控制所述无刷直流电机的B相反向导通,A、C相正向导通(B-A+C+),向ACB相施加第一时间的电压脉冲,获取对应的母线电流值Ib’,控制所述无刷直流电机的B相正向导通,A、C相反向导通(B+A-C-),向BAC相施加第二时间的电压脉冲;Controlling the brushless DC motor B to conduct the opposite direction, and the A and C phases are forward-conducting (B-A+C+), applying a voltage pulse of the first time to the ACB phase, and obtaining a corresponding bus current value Ib', the control station The B phase of the brushless DC motor is forwardly guided, and A and C are oppositely connected (B+AC-), and a voltage pulse of the second time is applied to the BAC phase;
    控制所述无刷直流电机的C相反向导通,A、B相正向导通(C-A+B+),向ABC相施加第一时间的电压脉冲,获取对应的母线电流值Ic’;Controlling the C of the brushless DC motor to conduct the opposite direction, and the A and B phases are forward-conducting (C-A+B+), and applying a voltage pulse of the first time to the ABC phase to obtain a corresponding bus current value Ic';
    比较Ia,Ib,Ic,Ia’,Ib’,Ic’大小,判断转子的初始位置;Comparing the sizes of Ia, Ib, Ic, Ia', Ib', Ic' to determine the initial position of the rotor;
    根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。Transmitting the brushless DC motor by a control signal according to an initial position of the rotor.
  10. 根据权利要求9所述的无刷直流电机控制方法,其特征在于,所述比较Ia,Ib,Ic,Ia’,Ib’,Ic’大小,判断转子的初始位置的步骤包括:A brushless DC motor control method according to claim 9, wherein said comparing Ia, Ib, Ic, Ia', Ib', Ic' and determining the initial position of the rotor comprises:
    若Ia>Ib,Ia>Ic,Ia<Ia’,则转子位于第一扇区;If Ia>Ib, Ia>Ic, Ia<Ia’, the rotor is located in the first sector;
    若Ib>Ia,Ib>Ic,Ib<Ib’,则转子位于第三扇区;If Ib>Ia, Ib>Ic, Ib<Ib', the rotor is located in the third sector;
    若Ic>Ia,Ic>Ib,Ic<Ic’,则转子位于第二扇区;If Ic>Ia, Ic>Ib, Ic<Ic', the rotor is located in the second sector;
    若Ia>Ib,Ia>Ic,Ia>Ia’,则转子位于第六扇区;If Ia>Ib, Ia>Ic, Ia>Ia’, the rotor is located in the sixth sector;
    若Ib>Ia,Ib>Ic,Ib>Ib’,则转子位于第四扇区;If Ib>Ia, Ib>Ic, Ib>Ib’, the rotor is located in the fourth sector;
    若Ic>Ia,Ic>Ib,Ic>Ic’,则转子位于第五扇区;If Ic>Ia, Ic>Ib, Ic>Ic’, the rotor is located in the fifth sector;
    其中,以BC相为0°逆时针旋转,所述第一扇区至第六扇区的电角度范围依次分别为(0° 60°)、(240° 300°)、(300° 360°)、(120° 180°)、(60° 120°)、(180° 240°)。Wherein, the BC phase is rotated counterclockwise by 0°, and the electrical angle ranges of the first sector to the sixth sector are (0° 60°), (240° 300°), and (300° 360°), respectively. , (120 ° 180 °), (60 ° 120 °), (180 ° 240 °).
  11. 根据权利要求1所述的无刷直流电机控制方法,其特征在于,所述第二时间等于第一时间。The brushless DC motor control method according to claim 1, wherein the second time is equal to the first time.
  12. 一种无刷直流电机控制方法,其特征在于,所述控制方法包括:A brushless DC motor control method, characterized in that the control method comprises:
    获得所述无刷直流电机初始位置后至检测到反电动势过零点之前,获取流过所述无刷直流电机的电流值和所述无刷直流电机的电压值;Obtaining a current value flowing through the brushless DC motor and a voltage value of the brushless DC motor after obtaining the initial position of the brushless DC motor until a zero-crossing point of the back electromotive force is detected;
    根据磁链函数的方法获得转子位置;根据获得的转子位置发送控制信号控制所述无刷直流电机换相。The rotor position is obtained according to the method of the flux linkage function; the brushless DC motor commutation is controlled according to the obtained rotor position transmission control signal.
  13. 根据权利要求12所述的无刷直流电机控制方法,其特征在于,所述电压值包括所述无刷直流电机导通相的电压值和非导通相的电压值。The brushless DC motor control method according to claim 12, wherein the voltage value comprises a voltage value of a conduction phase of the brushless DC motor and a voltage value of a non-conduction phase.
  14. 根据权利要求12所述的无刷直流电机控制方法,其特征在于,所述电流值包括母线电流值或相电流值中任一个。The brushless DC motor control method according to claim 12, wherein the current value comprises any one of a bus current value or a phase current value.
  15. 根据权利要求12所述的无刷直流电机控制方法,其特征在于,所述反电动势过零点为稳定的反电动势过零点,包括反电动势过零点的次数达到预设值或者端电压上升的斜率达到预设值中任一个。The brushless DC motor control method according to claim 12, wherein the zero-crossing point of the counter electromotive force is a stable zero-crossing point of the back electromotive force, and the number of times of the zero-crossing point of the counter electromotive force reaches a preset value or the slope of the terminal voltage rises Any of the preset values.
  16. 根据权利要求12所述的无刷直流电机控制方法,其特征在于,还包括步 骤:The brushless DC motor control method according to claim 12, further comprising the steps of:
    判定所述无刷直流电机检测到反电动势过零点时,通过反电动势过零点来确定所述转子的位置。When it is determined that the brushless DC motor detects the zero-crossing point of the back electromotive force, the position of the rotor is determined by the zero-crossing point of the counter electromotive force.
  17. 一种无刷直流电机控制方法,其特征在于,所述控制方法包括:A brushless DC motor control method, characterized in that the control method comprises:
    所述无刷直流电机全速范围的无传感器控制根据预设条件分为三个阶段,每一阶段均获取无刷直流电机的电信号,根据所述电信号获得所述无刷直流电机的转子位置,根据转子位置控制无刷直流电机换相。The sensorless control of the full speed range of the brushless DC motor is divided into three stages according to a preset condition, and each stage acquires an electrical signal of the brushless DC motor, and the rotor position of the brushless DC motor is obtained according to the electrical signal. The brushless DC motor is commutated according to the rotor position.
  18. 根据权利要求17所述的无刷直流电机控制方法,其特征在于,所述控制方法包括:The brushless DC motor control method according to claim 17, wherein the control method comprises:
    第一阶段,无刷直流电机静止时,对所述无刷直流电机的三相依次通入脉冲,获取流过无刷直流电机的电流值,根据所述电流值获得所述无刷直流电机转子的初始位置,并根据所述初始位置发送控制信号控制无刷直流电机换相;In the first stage, when the brushless DC motor is stationary, a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the brushless DC motor rotor is obtained according to the current value. The initial position, and the control signal is sent according to the initial position to control the commutation of the brushless DC motor;
    第二阶段,无刷电机转动后,获取流过无刷直流电机的电流值和无刷直流电机的电压值,根据磁链函数的方法中获得所述无刷直流电机的转子位置,根据所述转子位置发送控制信号控制无刷直流电机换相;In the second stage, after the brushless motor rotates, the current value flowing through the brushless DC motor and the voltage value of the brushless DC motor are obtained, and the rotor position of the brushless DC motor is obtained according to the method of the flux linkage function, according to the The rotor position transmission control signal controls the commutation of the brushless DC motor;
    第三阶段,判定所述无刷直流电机检测到反电动势过零点时,通过反电动势过零点来获得所述无刷直流电机转子位置,根据所述转子位置发送控制信号控制无刷直流电机换相。In the third stage, when it is determined that the brushless DC motor detects the zero-crossing point of the back electromotive force, the rotor position of the brushless DC motor is obtained by the zero-crossing point of the back electromotive force, and the commutation of the brushless DC motor is controlled according to the sending position control signal of the rotor position. .
  19. 根据权利要求18所述的无刷直流电机控制方法,其特征在于,对所述无刷直流电机的三相依次通入脉冲,获取流过无刷直流电机的电流值,根据所述电流值获得所述无刷直流电机转子的初始位置,并根据所述初始位置发送控制信号控制无刷直流电机换相的步骤包括权利要求1-11任一项所述的无刷直流电机控制方法的步骤。The brushless DC motor control method according to claim 18, wherein a pulse is sequentially applied to the three phases of the brushless DC motor to obtain a current value flowing through the brushless DC motor, and the current value is obtained according to the current value. The step of controlling the brushless DC motor commutation according to the initial position of the rotor of the brushless DC motor and transmitting the control signal according to the initial position comprises the steps of the brushless DC motor control method according to any one of claims 1-11.
  20. 根据权利要求18所述的无刷直流电机控制方法,其特征在于,所述磁链函数的方法包括权利要求12-16任一项所述的无刷直流电机控制方法。The brushless DC motor control method according to claim 18, wherein the method of the flux linkage function comprises the brushless DC motor control method according to any one of claims 12-16.
  21. 一控制装置,其用于检测无刷直流电机转子位置以控制电机换相,其特征在于,所述控制装置被配置为执行包括权利要求1-18中任一项所述的无刷直流电机控制方法。A control device for detecting a rotor position of a brushless DC motor to control motor commutation, characterized in that said control device is configured to perform a brushless DC motor control according to any of claims 1-18 method.
  22. 一种电动工具,包括壳体;A power tool including a housing;
    控制装置;Control device
    电机,位于所述壳体内;a motor located in the housing;
    电源,用于给所述电机提供电能;a power source for supplying electrical power to the motor;
    开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;其特征在于,开关闭合后,对所述无刷直流电机的A相依次施加第一时间的第一方向脉冲和第二时间的第二方向脉冲,获取A相施加第一方向脉冲时的母线电流值Ia;对B、C相重复上述操作,获取B相施加第一方向脉冲时的母线电流值Ib和C相施加第一方向脉冲时的母线电流值Ic;比较获取的Ia,Ib,Ic的大小,判断转子的初始位置;根据所述转子的初始位置发送控制信号控制所述无刷直流电机换相。a switch, an optional opening and closing, for controlling the power supply to supply power to the control device and the motor; wherein, after the switch is closed, the first phase of the first time is applied to the phase A of the brushless DC motor The direction pulse and the second direction pulse of the second time are used to obtain the bus current value Ia when the first direction pulse is applied to the A phase; the above operation is repeated for the B and C phases, and the bus current value Ib when the B phase is applied with the first direction pulse is obtained. a bus current value Ic when the first direction pulse is applied to the C phase; comparing the obtained sizes of Ia, Ib, and Ic to determine an initial position of the rotor; and transmitting a control signal according to the initial position of the rotor to control the brushless DC motor phase.
  23. 一种电动工具,包括壳体;A power tool including a housing;
    控制装置;Control device
    电机,位于所述壳体内;a motor located in the housing;
    电源,用于给所述电机提供电能;a power source for supplying electrical power to the motor;
    开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;其特征在于,开关闭合后,所述控制装置在获得转子的初始位置后至检测到反电动势过零点之前,获取流过所述电机的电流值和所述电机的电压值,根据磁链函数的方法获得转子位置,根据所述转子位置发送控制信号控制电机换相。a switch, an optional opening and closing, for controlling a power source to supply electric power to the control device and the motor; wherein, after the switch is closed, the control device detects a zero-crossing point of the back electromotive force after obtaining the initial position of the rotor Previously, the current value flowing through the motor and the voltage value of the motor are obtained, the rotor position is obtained according to the method of the flux linkage function, and the motor commutation is controlled according to the rotor position transmission control signal.
  24. 一种电动工具,包括壳体;A power tool including a housing;
    控制装置;Control device
    电机,位于所述壳体内;a motor located in the housing;
    电源,用于给所述电机提供电能;a power source for supplying electrical power to the motor;
    开关,可选择的开闭,用于控制电源向所述控制装置和所述电机提供电能;其特征在于,所述无刷直流电机全速范围的无传感器控制根据预设条件分为三个阶段,开关闭合后,每一阶段均获取无刷直流电机的电信号,根据所述电信号获得所述无刷直流电机的转子位置,根据转子位置控制无刷直流电机 换相。a switch, an optional opening and closing, for controlling the power supply to supply power to the control device and the motor; wherein the sensorless control of the full speed range of the brushless DC motor is divided into three stages according to a preset condition, After the switch is closed, the electrical signal of the brushless DC motor is obtained at each stage, the rotor position of the brushless DC motor is obtained according to the electrical signal, and the brushless DC motor is commutated according to the rotor position.
  25. 根据权利要求22-24所述的电动工具,其特征在于,所述开关闭合,还包括,开关闭合后,控制装置接收来自开关的触发信号并判断所述触发信号是否满足预设条件,若满足,则电机启动。The power tool according to claim 22-24, wherein the switch is closed, further comprising: after the switch is closed, the control device receives the trigger signal from the switch and determines whether the trigger signal satisfies a preset condition, if , the motor starts.
  26. 根据权利要求25所述的电动工具,其特征在于,所述预设条件包括开关的不同位置设置的电压信号大于预先存储在控制装置内的预设电压值。The power tool according to claim 25, wherein said preset condition comprises a voltage signal set at a different position of the switch being greater than a preset voltage value previously stored in the control device.
  27. 根据权利要求22-24任一项所述的电动工具,其特征在于,所述电机为无刷直流电机。A power tool according to any one of claims 22 to 24, wherein the motor is a brushless DC motor.
  28. 根据权利要求22所述的电动工具,其特征在于,所述第一方向与第二方向相反。The power tool according to claim 22, wherein said first direction is opposite to said second direction.
  29. 根据权利要求22-24任一项所述的电动工具,其特征在于,所述控制装置包括权利要求21所述的控制装置。The electric power tool according to any one of claims 22 to 24, wherein the control device comprises the control device according to claim 21.
PCT/CN2018/088520 2017-05-26 2018-05-25 Control method for brushless dc motor, control device, and electric tool WO2018214979A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201880013393.6A CN110622410B (en) 2017-05-26 2018-05-25 Brushless direct current motor control method, control device and electric tool

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710385792.2 2017-05-26
CN201710385792 2017-05-26
CN201710818620.XA CN108964531B (en) 2017-05-26 2017-09-12 Brushless direct current motor rotor position detection method, control device and electric tool
CN201710818620.X 2017-09-12

Publications (1)

Publication Number Publication Date
WO2018214979A1 true WO2018214979A1 (en) 2018-11-29

Family

ID=64396239

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/088520 WO2018214979A1 (en) 2017-05-26 2018-05-25 Control method for brushless dc motor, control device, and electric tool

Country Status (1)

Country Link
WO (1) WO2018214979A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3852267A1 (en) * 2020-01-19 2021-07-21 Nanjing Chervon Industry Co., Ltd. Power-on self-test method for an electric power tool and electric power tool
US20220329180A1 (en) * 2019-04-25 2022-10-13 Black & Decker Inc. Low-speed sensorless brushless motor control in a power tool

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080258660A1 (en) * 2007-04-17 2008-10-23 Chen-Yeh Lee Method for detecting initial magnetic pole position in permanent-magnet motor
CN103618485A (en) * 2013-11-14 2014-03-05 南京航空航天大学 Method for sensorless detection of initial position of brushless direct current motor
CN103762913A (en) * 2014-01-15 2014-04-30 清华大学深圳研究生院 Sensor-less three-stage type starting method for deep well piston pump and application thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080258660A1 (en) * 2007-04-17 2008-10-23 Chen-Yeh Lee Method for detecting initial magnetic pole position in permanent-magnet motor
CN103618485A (en) * 2013-11-14 2014-03-05 南京航空航天大学 Method for sensorless detection of initial position of brushless direct current motor
CN103762913A (en) * 2014-01-15 2014-04-30 清华大学深圳研究生院 Sensor-less three-stage type starting method for deep well piston pump and application thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DENG, CAN ET AL.: "A New Start Control Strategy for Brushless DC Motor", MICROMOTORS, vol. 35, no. 6, 31 December 2002 (2002-12-31), pages 29 - 31, 60, ISSN: 1001-6848 *
YANG, YING ET AL.: "BLDC (Sensorless Control Strategy for BLDC Motor Over a Wide Speed Range", ELECTRIC DRIVE, vol. 37, no. 1, 31 January 2007 (2007-01-31), pages 11 - 15, 29, ISSN: 1001-2095 *
YANG, YING ET AL.: "Sensorless Control Strategy for BLDC Motor Over a Wide Speed Range", ELECTRIC DRIVE, vol. 37, no. 1, 31 January 2007 (2007-01-31), pages 11 - 15, 29, ISSN: 1001-2095 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220329180A1 (en) * 2019-04-25 2022-10-13 Black & Decker Inc. Low-speed sensorless brushless motor control in a power tool
US11750124B2 (en) * 2019-04-25 2023-09-05 Black & Decker Inc. Low-speed sensorless brushless motor control in a power tool
EP3852267A1 (en) * 2020-01-19 2021-07-21 Nanjing Chervon Industry Co., Ltd. Power-on self-test method for an electric power tool and electric power tool
CN113224987A (en) * 2020-01-19 2021-08-06 南京德朔实业有限公司 Power-on self-test method of electric tool and electric tool
US11646642B2 (en) 2020-01-19 2023-05-09 Nanjing Chervon Industry Co., Ltd. Power-on self-test method for an electric power tool and an electric power tool
CN113224987B (en) * 2020-01-19 2023-06-27 南京泉峰科技有限公司 Starting self-checking method of electric tool and electric tool

Similar Documents

Publication Publication Date Title
CN110622410B (en) Brushless direct current motor control method, control device and electric tool
US11469697B2 (en) Field-oriented sensorless brushless motor control in a power tool
Damodharan et al. Sensorless brushless DC motor drive based on the zero-crossing detection of back electromotive force (EMF) from the line voltage difference
JP5697745B2 (en) Synchronous motor drive system
JP5025142B2 (en) Motor control device
US11114962B2 (en) Semiconductor device, motor drive system, and motor control program
JP6002643B2 (en) Control device and AC motor system using the same
WO2018214979A1 (en) Control method for brushless dc motor, control device, and electric tool
JP4352678B2 (en) Electric motor magnetic pole position estimation device and control device
JP2003125594A (en) Controller of permanent magnet synchronous motor
KR20220049458A (en) Motor driving apparatus and freezing equipment
Kan et al. Adaptive soft starting method with current limit strategy for sensorless BLDC motors
JP4590761B2 (en) Control device for permanent magnet type synchronous motor
JP2003219698A (en) Controller for synchronous machine
Semenov et al. Position estimation for sensorless FOC of five-phase PMSM in electric vehicles
JP2007282319A (en) Synchronous motor control device
EP2704308A1 (en) Brushless motor control device and brushless motor control method
KR100474955B1 (en) Control system and method based on neutral voltage compensation of brushless dc motor
JP7108834B2 (en) power generator
JP2003111490A (en) Method and apparatus of controlling inverter
JP2009201284A (en) Variable speed driver of pm motor
JP2013225979A (en) Motor driving device, compressor driving device employing the same, and heat exchanger equipped with the same
Zhang et al. High Performance Sensorless Control of Brushless DC Motor Based on A Novel Sliding Mode Observer
Venugopal et al. Sensor less Speed Control Method for Brushless DC Motors Using Back EMF Method
JP7433113B2 (en) Motor control device, motor system and motor control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18806465

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18806465

Country of ref document: EP

Kind code of ref document: A1