Electric tool, control method of brushless motor of electric tool, control module and storage medium
By separately adjusting the duty cycle and overlap angle of the non-overlapping and overlapping control stages in the electric tool, and adjusting the lead angle according to the phase current, the problem of low motor efficiency in the existing technology is solved, and more efficient speed regulation and battery life are achieved. Time extension.
Patent Information
- Application Number
- CN202410334742.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-22
- Publication Date
- 2024-10-29
AI Technical Summary
When existing power tools use the same lead angle control method when adjusting the rotational speed, the motor output efficiency will be low and even affect normal operation, especially during the adjustment of PWM duty cycle and overlap angle.
By adjusting the duty cycle and overlap angle of the switching elements in the non-overlapping control and overlapping control stages respectively, and adjusting the lead angle according to the phase current, different relationships are used to adjust the lead angle to improve motor efficiency. In the overlapping control stage, the relationship between the phase current and the lead angle is corrected so that the change rate of the lead angle with the phase current is smaller than that in the non-overlapping control stage.
It improves the output efficiency of the brushless motor, extends the battery life of the power tool without increasing hardware costs, and ensures stable operation of the motor under different load conditions.
Smart Images

Figure CN118868680A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electric tool, and in particular to an electric tool, a control method for a brushless motor, a control module and a storage medium. Background Art
[0002] Power tools have been widely used in working environments such as homes and gardens, bringing great convenience to people's lives and work. Power tools can be powered by battery packs. After the power switch of the power tool is turned on, the motor rotates and drives the transmission mechanism to achieve various power operations.
[0003] In order to achieve the desired rotation speed, the existing electric tools usually adopt the method of adjusting the PWM (Pulse Width Modulation) duty cycle of the switching element. When a higher rotation speed is desired, it can be achieved by increasing the conduction angle of the switching element, that is, applying an overlap angle to the switching element for control. At the same time, in order to improve the output efficiency of the motor, it is also necessary to control the lead angle of the switching element. However, the inventors found that when the same lead angle control method is used in the PWM duty cycle adjustment stage and the overlap angle adjustment stage, in the overlap angle adjustment stage, the motor output efficiency will be low due to inaccurate commutation, and it may even affect the normal operation of the motor. Summary of the invention
[0004] The present invention provides an electric tool, which can improve the output efficiency of a brushless motor and extend the battery life of the electric tool without increasing hardware costs.
[0005] An electric tool, comprising: a battery pack; a brushless motor, comprising a stator assembly and a rotor rotating around the stator assembly, the stator assembly being used to receive electric energy from the battery pack and drive the rotor to rotate; a drive circuit, comprising a plurality of switch elements, the switch elements being used to control the supply of electric energy from the battery pack to the brushless motor; a control assembly, comprising a position detection module, the position detection module being used to detect the position of the rotor and generate a position signal, the control assembly being used to calculate the actual speed of the brushless motor according to the position signal, and to adjust the control signal of the switch element when the actual speed deviates from the target speed, so that the brushless motor reaches the target speed; the control stage of the control assembly adjusting the control signal comprises a non-overlapping control stage segment and overlapping control stage, in the non-overlapping control stage, the control component adjusts the duty cycle of the control signal, and in the overlapping control stage, the control component at least adjusts the overlapping angle of the control signal; the control component is also used to adjust the lead angle of the control signal to control the drive output of the power tool; in the non-overlapping control stage, the control component detects the phase current of the power tool, and adjusts the lead angle according to a preset first relationship based on the phase current; in the overlapping control stage, the control component corrects the first relationship, and adjusts the lead angle according to a corrected second relationship; in the second relationship, the rate of change of the lead angle with the phase current is less than the rate of change of the lead angle with the phase current in the first relationship.
[0006] In one embodiment, during the overlap control stage, under the same phase current, in response to the overlap angle increasing, the control component controls the lead angle to decrease.
[0007] In one embodiment, under the same phase current, in response to continuous change of the overlap angle, the control component controls the lead angle to continuously change.
[0008] In one embodiment, during the overlap control stage, in the second relationship, in response to an increase in the overlap angle, the control component controls the lead angle to change so that a rate of change of the lead angle with changes in the phase current decreases.
[0009] In one embodiment, in the non-overlapping control phase, the first relationship includes:
[0010]
[0011] Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3.
[0012] In one embodiment, in the overlapping control stage, the second relationship includes:
[0013]
[0014] Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3, and m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
[0015] In one embodiment, during the overlap control stage, the overlap angle is related to a speed difference between the target speed and an actual speed, and in response to an increase in the speed difference, the control component controls the overlap angle to increase.
[0016] In one embodiment, the overlapping angle is adjusted by the control component according to a preset increment in each switching period, and the preset increment is in the range of any value between 0.01° and 0.5°.
[0017] In one embodiment, when the actual speed is less than the target speed, the control component preferentially adjusts the duty cycle; when the actual speed is greater than the target speed, the control component preferentially adjusts the overlap angle.
[0018] In one embodiment, the brushless motor comprises a three-phase brushless inductive motor; and the position detection module of the brushless motor comprises three position detection units.
[0019] An electric tool, comprising: a battery pack; a brushless motor, comprising a stator assembly and a rotor rotating around the stator assembly, the stator assembly being used to receive the electric energy of the battery pack and drive the rotor to rotate; a drive circuit, comprising a plurality of switch elements, the switch elements being used to control the supply of electric energy from the battery pack to the brushless motor; a control assembly, comprising a position detection module, the position detection module being used to detect the position of the rotor and generate a position signal, the control assembly being used to calculate the actual speed of the brushless motor according to the position signal, and to adjust the control signal of the switch element when the actual speed deviates from the target speed, so that the brushless motor reaches the target speed. Standard speed; the control stage in which the control component adjusts the control signal includes a non-overlapping control stage and an overlapping control stage, in which the control component adjusts the duty cycle of the control signal, and in the overlapping control stage, the control component at least adjusts the overlapping angle of the control signal; the control component is also used to adjust the lead angle of the control signal to control the drive output of the power tool; in the overlapping control stage, the control component adjusts the lead angle according to the phase current of the brushless motor, wherein, in response to the increase of the overlapping angle, the control component controls the lead angle so that the rate of change of the lead angle with the change of the phase current decreases.
[0020] In one embodiment, in the non-overlapping control stage, the control component adjusts the lead angle according to a preset first relationship; in the overlapping control stage, the control component adjusts the lead angle according to a preset second relationship; in at least some stages of the second relationship, the rate of change of the lead angle with the phase current is smaller than the rate of change of the lead angle with the phase current in the first relationship.
[0021] In one embodiment, during the overlap control stage, under the same phase current, in response to the overlap angle increasing, the control component controls the lead angle to decrease.
[0022] In one embodiment, in the non-overlapping control phase, the first relationship includes:
[0023]
[0024] Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3.
[0025] In one embodiment, in the overlapping control stage, the second relationship includes:
[0026]
[0027] Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3, and m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
[0028] A control method for a brushless motor of an electric tool, wherein the brushless motor comprises a stator assembly and a rotor rotating around the stator assembly; the electric tool comprises: a position detection module for detecting the position of the rotor and generating a position signal; a drive circuit comprising a plurality of switch elements, wherein the switch elements are used to control the power supply from the battery pack to the brushless motor;
[0029] The control method of the brushless motor includes: receiving the position signal, and calculating the actual speed of the brushless motor according to the position signal; judging whether the actual speed reaches the target speed; when the actual speed deviates from the target speed, adjusting the control signal of the switching element so that the actual speed reaches the target speed, the control stage of the control signal includes a non-overlapping control stage and an overlapping control stage, in which the duty cycle of the control signal is adjusted, and in the overlapping control stage, at least the overlapping angle of the control signal is adjusted; in the non-overlapping control stage, receiving the phase current and adjusting the lead angle of the control signal according to the phase current according to a preset first relationship to control the drive output of the electric tool; in the overlapping control stage, receiving the phase current and adjusting the lead angle of the control signal according to the phase current according to a preset second relationship to control the drive output of the electric tool, wherein the rate of change of the lead angle with the phase current in the second relationship is less than the rate of change of the lead angle with the phase current in the first relationship.
[0030] In one embodiment, the method further comprises: in the overlap control stage, under the same phase current, in response to a large increase in the overlap angle, controlling the lead angle to decrease.
[0031] In one embodiment, the method further comprises: in the overlap control stage, in response to the overlap angle increasing, adjusting the lead angle so that a change rate of the lead angle with changes in the phase current becomes smaller.
[0032] A control module for a brushless motor of an electric tool, wherein the brushless motor comprises: a stator assembly and a rotor rotating around the stator assembly; the electric tool comprises: a position detection module for detecting the position of the rotor and generating a position signal; a drive circuit comprising a plurality of switch elements, wherein the switch elements are used to control the power supply from the battery pack to the brushless motor;
[0033] The control module is connected to the brushless motor and is used to control the brushless motor to operate at a target speed. The control module includes: a receiving unit, used to receive a position signal sent by the position detection module; a calculating unit, used to calculate the actual speed of the brushless motor according to the position signal; a judging unit, used to judge whether the actual speed reaches the target speed; a control unit, used to adjust the control signal of the switch element when the actual speed deviates from the target speed so that the actual speed reaches the target speed. The control stage in which the control unit adjusts the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the control unit adjusts the duty cycle of the control signal, and in the overlapping control stage, the control unit at least adjusts the overlapping angle of the control signal; in the non-overlapping control stage, the control unit is also used to receive the phase current and adjust the lead angle according to the phase current according to a preset first relationship; in the overlapping control stage, the control unit is also used to receive the phase current and adjust the lead angle according to the phase current according to a preset second relationship, and the change rate of the lead angle with the phase current in the second relationship is less than the change rate of the lead angle with the phase current in the first relationship.
[0034] A computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the control method of the brushless motor of the electric tool.
[0035] An electric tool, the electric tool comprising: a battery pack; a brushless motor comprising a stator assembly and a rotor rotating around the stator assembly, the stator assembly being connected to the battery pack; an inverter circuit comprising a plurality of switch elements, the switch elements being used to control the supply of power from the battery pack to the brushless motor; a control assembly comprising a position detection module, the position detection module being used to detect a position signal of the brushless motor, the control assembly being used to calculate an actual rotation speed of the brushless motor according to the position signal, and to maintain the target rotation speed of the brushless motor by selectively adjusting a duty cycle and / or an overlap angle of the switch element when the actual rotation speed deviates from a target rotation speed; the control assembly is further used to detect a phase current of the electric tool, and to adjust a lead angle of the switch element according to the phase current to control a drive output of the electric tool; in a stage in which the control assembly adjusts the overlap angle of the switch element, a rate of change of the lead angle with the phase current is less than a rate of change of the lead angle with the phase current in a stage in which the control assembly adjusts the duty cycle of the switch element.
[0036] In one embodiment, during the stage of adjusting the overlap angle of the switching element, the rate of change of the lead angle with the phase current is related to the overlap angle.
[0037] In one embodiment, the larger the overlap angle is, the smaller the rate of change of the lead angle with the phase current is.
[0038] In one embodiment, during the overlap angle stage when the control component adjusts the switching element, the lead angle varies continuously with the overlap angle.
[0039] In one embodiment, the second relationship is:
[0040] AA=(a+k*I)*(1-CB / 60)
[0041] Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, and k is related to the parameters of the brushless motor.
[0042] In one embodiment, the brushless motor includes a three-phase brushless inductive motor; and the position detection module of the brushless motor includes three position detection units. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of an electric tool provided for one embodiment of the present application;
[0044] Figure 2 A schematic diagram of the structure of a motor control circuit in an electric tool provided in one embodiment of the present application;
[0045] Figure 3 A schematic diagram of a driving circuit structure provided for an embodiment of the present application;
[0046] Figure 4 A schematic diagram of the control timing of a driving circuit when no overlap angle is applied provided by an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the control timing of a driving circuit when applying an overlap angle provided by one embodiment of the present application;
[0048] Figure 6 A schematic diagram of a curve showing a change in lead angle with current provided in one embodiment of the present application;
[0049] Figure 7 A comparison diagram of a motor control method with a lead angle and a motor control method without a lead angle in a steady-speed control overlap angle stage, and a curve comparing motor efficiency with torque, provided in an embodiment of the present application;
[0050] Figure 8 A flow chart of a method for controlling a brushless motor provided in one embodiment of the present application;
[0051] Fig. 9 A schematic diagram of a control module of a brushless motor provided in one embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to solve the above problems, an embodiment of the present invention provides an electric tool and a control method thereof. The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
[0053] The technical solutions in the embodiments of the present invention are described clearly and completely. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] It should be noted that when an element is referred to as being "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementation method.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0056] Figure 1 Schematic diagram of electric tools provided for this application. The electric tools include garden tools such as lawn mower 101, pruning machine 102, grass trimmer 103, hair dryer 104, etc. It is understandable that the tool types shown in the figure do not constitute a limitation on the electric tools of this application, and the electric tools also include impact tools such as screwdrivers, and polishing tools such as angle grinders.
[0057] like Figure 2 As shown, the above-mentioned electric tools all include a battery pack 110 , a brushless motor 120 , a drive circuit 130 and a control component 140 .
[0058] The battery pack 110 is detachably mounted on the electric tool to provide electrical energy to the electric tool.
[0059] The brushless motor 120 includes a stator winding and a rotor. The stator winding includes a three-phase winding. Each phase winding is connected to the battery pack 110 through a driving circuit 130 .
[0060] The driving circuit 130 is used to convert the direct current output by the battery pack 110 into alternating current to power the brushless motor 120. The driving circuit 130 includes a plurality of switch elements, which are connected between the battery pack 110 and the brushless motor 120, and the plurality of switch elements are controlled by the control component 140 to perform switching actions, thereby transferring the electric energy of the battery pack 110 to the brushless motor 120.
[0061] Figure 3 The schematic diagram of the drive circuit 130 of the present embodiment is shown. The drive circuit 130 is a three-phase bridge drive circuit, which includes six switch elements, which are divided into an upper bridge arm and a lower bridge arm. The six switch elements include three upper switch elements Q1, Q3, Q5 and three lower switch elements Q2, Q4, Q6, and the three upper switch elements Q1, Q3, Q5 constitute the upper bridge arm, and the three lower switch elements Q2, Q4, Q6 constitute the lower bridge arm. The switch element can be a field effect transistor (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET) or a triode. Each pair of upper switch elements and lower switch elements are connected in series. Taking the switch element as MOSFET as an example, the series connection is that the source of the upper switch element is connected to the drain of the lower switch element. And the connection points of the source of each pair of upper switch elements and the drain of the lower switch element are respectively connected to each phase winding (U phase, V phase, W phase) in the three-phase winding. The drain of each upper switch element is connected to the positive output terminal of the battery pack, and the source of each lower switch element is connected to the negative output terminal of the battery pack. The gate of each switch element is connected to the control component 140 and is controlled by the control signal output by the control component 140. The three upper switches Q1, Q3, and Q5 are driven by the high control signals UH, VH, and WH output by the control component 140, respectively, and the three lower switches Q2, Q4, and Q6 are driven by the low control signals UL, VL, and WL output by the control component 140, respectively. The control component 140 determines the switching frequency of the switching elements in the drive circuit 130 according to the signal feedback of the brushless motor to control the speed of the brushless motor 120. That is, the control component 140 can adjust the speed of the brushless motor 120 by adjusting the duty cycle of the control signal.
[0062] The control component 140 includes a position detection module 141, which is located near the rotor and can detect the rotor position and generate a position signal. The control component 140 receives the position signal and calculates the actual speed of the brushless motor 120 based on the position signal. As an example, the position detection module 141 can be a Hall sensor. When the power tool is in a steady-speed working mode, the control component 140 can determine whether the actual speed deviates from the target speed based on the actual speed calculated by the position signal and the target speed corresponding to the steady-speed mode. If the actual speed deviates from the target speed, the control component 140 adjusts the control signal of the switching element to adjust the actual speed of the brushless motor 120 so that the actual speed of the brushless motor 120 is maintained at the target speed.
[0063] The control stage in which the control component 140 adjusts the control signal includes at least a non-overlapping control stage. In the non-overlapping control stage, the control component 140 adjusts the duty cycle of the switching element to adjust the speed of the brushless motor 120. The duty cycle during the conduction time of each phase determines the duration of the voltage supplied to the motor. Generally, the larger the duty cycle, the longer the duration of the voltage supplied to the motor during the conduction time, and the greater the speed of the motor. If the actual speed of the motor is lower than the target speed, the motor speed can be increased by increasing the duty cycle of each phase control signal. If the actual speed of the motor is higher than the target speed, the motor speed can be reduced by reducing the duty cycle of each phase control signal. The duty cycle adjustment range is from the initial value of the duty cycle to a duty cycle of 100%, where the initial value of the duty cycle is the duty cycle value corresponding to the no-load speed when the power tool is turned on. Assuming that the initial value of the duty cycle is 50%, the duty cycle adjustment range is 50% to 100%.
[0064] In one embodiment, when the speed is adjusted by adjusting the duty cycle, closed-loop control is used for adjustment. Specifically, each time the control component 140 adjusts the duty cycle, it makes a small adjustment. Each time it adjusts, the actual speed is detected once, and the duty cycle is adjusted again by a small amount based on the difference between the detected actual speed and the target speed. That is, the control component 140 will adjust the amplitude of the duty cycle for the next time according to the actual speed output by the last adjustment of the duty cycle. For example, the control component 140 can adjust the duty cycle according to a preset duty cycle adjustment amplitude, and determine whether the actual speed reaches the target speed after each adjustment, and stop adjusting when the actual speed reaches the target speed. Exemplarily, the preset duty cycle adjustment amplitude can be 1%, and the control component 140 adjusts the duty cycle according to the adjustment amplitude of 1% each time it adjusts the duty cycle until the detected actual speed reaches the target speed.
[0065] Figure 4 The driving sequence diagram of the driving circuit 130 is shown when the duty cycle of the control signal of the three-phase brushless motor is 100%, that is, when the conduction angle of each phase reaches 120°. Figure 4It can be seen that when the PWM duty cycle increases to its maximum adjustable value of 100%, the duty cycle cannot be adjusted any further. At this time, if the actual speed of the motor has not yet reached the target speed, the motor speed cannot be increased by increasing the duty cycle, resulting in the power tool failing to achieve the desired output.
[0066] In order to further increase the speed of the electric tool to reach the target speed, the control stage of adjusting the control signal by the control component 140 may also include an overlapping control stage. In the overlapping control stage, the control component 140 further adjusts the overlapping angle of the switch element to adjust the speed of the brushless motor 120. Adjusting the overlapping angle of the switch element is to increase the conduction time of each phase to increase the motor speed. As the conduction time of each phase increases, the conduction angles of two adjacent phases partially overlap during phase switching, such as Figure 5 As shown, the dotted part is the electrical angle of the overlap of the adjacent two-phase control signals, that is, the overlap angle. By increasing the overlap angle, the conduction angle of each phase can be further increased, so that the conduction angle of each phase is greater than 120°. For example, when the overlap angle is 5°, the conduction angle of each phase is 125°, and when the overlap angle is 10°, the conduction angle of each phase is 130°. It can be understood that the adjustment range of the overlap angle is 0° to 60°, that is, the maximum conduction angle of each phase does not exceed 180°.
[0067] In one example, the adjustment amount of the overlap angle is related to the difference between the actual speed and the target speed. When the overlap angle adjustment stage begins, the actual speed is the speed of the motor corresponding to the duty cycle of 100% and the overlap angle of 0°, that is, when the overlap angle is adjusted, the size of the overlap angle is related to the speed difference between the motor speed corresponding to the duty cycle of 100% and the overlap angle of 0° and the target speed. During the overlap angle adjustment period, if the actual speed deviates from the target speed again, the size of the overlap angle is determined according to the speed difference between the current actual speed and the target speed. Among them, the larger the speed difference, the larger the overlap angle. When adjusting the overlap angle, it can be adjusted in a closed-loop manner, that is, the control component 140 first adjusts the overlap angle at a small angle according to the difference between the actual speed and the target speed, and then detects the difference between the current actual speed and the target speed after adjustment, determines the influence of the overlap angle on the speed, and then adjusts the overlap angle again according to the current actual speed and the target speed until the speed reaches the target speed.
[0068] In one embodiment, the overlapping angle adjustment method includes: adjusting the overlapping angle according to a preset increment in each commutation cycle, and the preset increment has a value range of any value between 0.01° and 0.5°. That is, the overlapping angle needs to be adjusted for each commutation, and the adjustment amount of the overlapping angle is a preset increment, where the increment refers to the amount by which the overlapping angle is increased or decreased each time. The preset increment can be 0.01°, 0.03°, 0.05°, 0.07°, 0.1°, 0.2°, 0.3°, 0.4° or 0.5°, etc. The incremental angle of each adjustment can be the same or different. By using a small angle preset increment for adjustment, overcurrent protection caused by excessive motor phase current after a single adjustment can be avoided, ensuring that the motor can operate stably.
[0069] In another example, the overlapping control stage may be entered when the duty cycle does not reach 100%. For example, when the duty cycle is 70%, two adjacent phases are controlled to partially overlap during phase switching, and the duty cycle of the control signal of the overlapping portion is also 70%. That is, in the overlapping control stage, the control component 140 can not only adjust the overlapping angle of the control signal, but also adjust the duty cycle of the control signal.
[0070] In summary, during the operation of the electric tool, the actual speed of the motor can be adjusted by adjusting the duty cycle and / or overlap angle of the control signal.
[0071] Furthermore, during the operation of the brushless motor, it is necessary not only to adjust the duty cycle and / or overlap angle of the control signal to achieve the steady speed of the electric tool, but also to control the accurate phase change of the brushless motor during the steady speed process to improve the working efficiency of the brushless motor. Since the motor coil is an inductive load, the phase current generated on the coil will have a certain time delay relative to the loading voltage on the coil, causing the phase current on the coil to lag behind the phase voltage, thereby causing the output torque of the motor to fail to reach the expected torque, affecting the efficiency of the motor, and generating noise. In order to improve this problem and improve efficiency, some correction methods can be adopted, such as advancing the phase of the phase current by advancing the phase of the phase applied voltage, and matching the phase of the phase induced voltage with the phase current to enable the motor to reach the maximum torque and improve the motor efficiency. This phase voltage phase lead angle is called the "lead angle". Based on this, the control component 140 is also used to adjust the lead angle of the control signal during the speed regulation process to control the electric tool to change phase at the appropriate time, thereby improving the output efficiency of the brushless motor 120.
[0072] In this embodiment, the control component 140 detects parameters related to the load of the power tool and adjusts the lead angle according to the parameters. The parameters related to the load may be the phase current, phase voltage, rotation speed, etc. of the power tool. In this embodiment, the phase current of the power tool is collected and the lead angle is adjusted according to the phase current. The phase current refers to the current flowing through the winding of the brushless motor.
[0073] In the non-overlapping control stage, the control component adjusts the lead angle according to a preset first relationship, wherein the first relationship is a positive correlation between the lead angle and the phase current. When the duty cycle of the control signal is larger, the energization time of the stator winding is longer, and thus the larger the phase current generated on the winding is, the larger the lead angle is. In this example, the first relationship between the phase current and the lead angle is pre-stored in the memory of the control component 140, so that the control component 140 can obtain the lead angle according to the pre-stored first relationship and the phase current of the brushless motor in the non-overlapping control stage, and perform commutation control according to the lead angle.
[0074] In the overlapping control stage, the inventors found through experiments that if the first relationship is continued to be used to adjust the lead angle according to the phase current, the phase current will be too large after the lead angle is inserted, causing the brushless motor to be too hot and overheat protection to occur, or the phase current is too large, directly causing short circuit protection, causing the motor to shut down due to protection just after entering the overlapping control stage. If the lead angle of the phase voltage is not adjusted, and the phase is directly changed according to the Hall signal output by the position detection module, that is, the phase is changed when the Hall signal is detected, although it will not cause the motor to shut down, the brushless motor will not be able to reach the maximum torque during operation due to inaccurate phase change, and the output efficiency of the motor will be low, which will lead to a short battery life of the power tool battery pack, affecting the user experience.
[0075] Based on this, in order to make the brushless motor commutation accurate and improve the output efficiency of the brushless motor, it is necessary to correct the first relationship between the phase current and the lead angle in the overlapping control stage, and adjust the lead angle according to the corrected second relationship. Compared with the first relationship, the rate of change of the lead angle with the phase current in the second relationship is less than the rate of change of the lead angle with the phase current in the first relationship. Among them, the rate of change of the lead angle with the phase current refers to the ratio between the change of the lead angle and the change of the phase current. That is, in the non-overlapping control stage and the overlapping control stage, the same change of the phase current corresponds to a different change of the lead angle, and the change of the lead angle in the overlapping control stage is smaller. For example, in the non-overlapping control stage, the phase current increases by 5A, and the lead angle increases by 5°, while in the overlapping control stage, the phase current increases by 5A, and the lead angle increases by only 3°.
[0076] Specifically, the lead angle is positively correlated with the load size. In the non-overlapping control stage, the phase current is positively correlated with the load, that is, the size of the phase current can reflect the size of the load. Therefore, in the non-overlapping control stage, the lead angle can be adjusted according to the positive correlation between the lead angle and the phase current according to the phase current. In the overlapping control stage, the phase of the control signal is advanced due to the introduction of the overlapping angle, which generates a weak magnetic current, that is, the phase current contains a weak magnetic current component, and the weak magnetic current does not reflect the load situation. Therefore, the detected phase current cannot accurately reflect the load size. If the lead angle is still adjusted according to the relationship in the non-overlapping control stage according to the actual collected phase current, the lead angle will be too large. In this embodiment, by correcting the first relationship in the overlapping control stage and adjusting the lead angle according to the phase current according to the corrected second relationship, compared with the non-overlapping control stage, the rate of change of the lead angle with the phase current is reduced, the influence of the weak magnetic current is offset, the phase switching is more accurate, the output efficiency of the brushless motor is improved, and the battery life of the power tool can be improved.
[0077] When it is necessary to detect the rate of change of the lead angle with the phase current in the non-overlapping control stage and the overlapping control stage, the control component 110 can directly collect the phase voltage and phase current of the three-phase brushless motor. At the same time, the control component 110 is also connected to the position detection module, the Hall signal generated by the structural position detection module, and the phase voltage waveform, phase current waveform and Hall signal are displayed in real time through an external oscilloscope. According to the phase voltage, it can be judged whether the current steady speed stage is a non-overlapping control stage or an overlapping control stage. When the conduction angle of the phase voltage is less than or equal to 120°, it is currently in the non-overlapping control stage, and when the conduction angle of the phase voltage is greater than 120°, it is currently in the overlapping control stage. Whether there is a lead angle control and the size of the lead angle can be detected by combining the phase voltage with the Hall signal. If the phase switching point of the phase voltage overlaps with the Hall signal, there is no lead angle control in the steady speed control stage, otherwise there is a lead angle control, and further, the size of the lead angle can be obtained according to the time difference between the phase switching point of the phase voltage and the Hall signal. According to the multiple lead angle values and corresponding phase current values collected at various detection points in the non-overlapping control stage and the overlapping control stage, the change rate of the lead angle with the phase current in the non-overlapping control stage and the overlapping control stage can be obtained.
[0078] In one embodiment, in the overlap control stage, the lead angle is related to both the phase current and the overlap angle. In response to the increase in the overlap angle, the control component 140 adjusts the lead angle so that the rate of change of the lead angle with the phase current decreases. That is, the larger the overlap angle, the smaller the rate of change of the lead angle with the phase current. Specifically, the larger the overlap angle, the larger the weak magnetic current component in the phase current, and the smaller the rate of change of the lead angle with the phase current can offset the influence of the weak magnetic current component.
[0079] When it is necessary to detect the relationship between the rate of change of the lead angle with the phase current and the overlap angle, the size of the overlap angle of each commutation cycle can be detected according to the method of the aforementioned embodiment, and the size of the phase current and the size of the lead angle in multiple commutation cycles with the same overlap angle are collected. For example, the phase current size and the lead angle size of each commutation cycle under multiple commutation cycles with an overlap angle of 10° are collected, and the rate of change of the lead angle with the phase current when the overlap angle is 10° is calculated based on the phase current size and the lead angle size of the multiple commutation cycles. Then, the phase current size and the lead angle size of each commutation cycle under multiple commutation cycles with an overlap angle of 10.5° are collected, and the rate of change of the lead angle with the phase current when the overlap angle is 10.5° is calculated based on the phase current size and the lead angle size of the multiple commutation cycles, and so on, so that the relationship between the rate of change of the lead angle with the phase current and the overlap angle can be detected.
[0080] Furthermore, in the overlap control stage, at the same phase current, in response to the increase of the overlap angle, the control component 140 controls the lead angle to decrease, that is, at the same phase current, the lead angle changes in a negative correlation with the overlap angle.
[0081] When it is necessary to detect the changing pattern between the lead angle and the overlap angle, it can be obtained by measuring with an electric tool with partial working condition changes. Figure 1 As shown, the electric tool can be a tool such as a lawn mower 101, a pruning machine 102 or a grass trimmer 103, whose working conditions often change during operation. When the tool is working, the load of the electric tool will also change due to the different density of grass / branches. By detecting the phase voltage and Hall signal of the electric tool in the above-mentioned manner, it is determined whether the electric tool has reached the overlap angle control stage. When the electric tool reaches the overlap angle control stage, the phase current, phase voltage and Hall signal of the brushless motor when the electric tool is running under different loads are obtained in real time, and a corresponding diagram of the phase voltage, phase current and Hall signal is generated. The moment of the same phase current under each working condition is found, and the phase voltage and Hall signal corresponding to each same phase current are respectively obtained. The size of the overlap angle is calculated according to the phase voltage, and the lead angle is calculated according to the time difference between the phase switching point of the phase voltage and the Hall signal. Thus, the lead angle corresponding to each overlap angle under the same phase current can be obtained to determine the change law of the lead angle with the overlap angle.
[0082] Of course, for some constant load power tools, such as Figure 1 As shown, for example, a hair dryer 104 can also change the rotation speed of the power tool by manually pulling the trigger of the hair dryer multiple times, so that the phase current of the brushless motor changes, and the moment of the same phase current under different working conditions is found, and the phase voltage and Hall signal corresponding to each same phase current are obtained respectively. The size of the overlap angle is calculated according to the phase voltage, and the lead angle is calculated according to the time difference between the phase switching point of the phase voltage and the Hall signal, so as to determine the change pattern of the lead angle with the overlap angle.
[0083] As a specific example, when the power tool is working, the control component 140 obtains the lead angle according to the phase current in accordance with the first relationship in the non-overlapping control stage, and performs phase switching according to the obtained lead angle. The first relationship is a positive correlation between the lead angle and the phase current, and the first relationship is:
[0084]
[0085] Among them, AA is the lead angle, I is the phase current of the brushless motor, a is a constant, and k is the current coefficient. The constant a is related to the difference between the Hall signal and the back electromotive force. When the Hall signal leads the back electromotive force, a is a negative value, and when the Hall signal lags behind the back electromotive force, a is a positive value. In a three-phase brushless motor, the Hall signal usually lags behind the back electromotive force, that is, a is a positive value. The value of a is related to the angle at which the Hall signal lags behind the back electromotive force. The greater the angle at which the Hall signal lags behind the back electromotive force, the greater the value of a. Usually, the value range of constant a is greater than or equal to 0° and less than 60°. When the wiring form of the motor (delta connection or Y-type connection) and the position of the Hall sensor are determined, the angle at which the Hall signal lags behind the back electromotive force is also determined, and the constant a is determined accordingly. The current coefficient k is related to the strength of the armature reaction of the brushless motor. The stronger the armature reaction, the greater the k value. n is the exponent of the phase current, and 1≤n≤3. The larger n is, the more terms of the polynomial, and the higher the exponential power of the phase current is, the higher the lead angle accuracy obtained by adjusting the phase current is. However, the larger n is, the greater the computing power required by the control component 140 is, and accordingly, the processor in the control component 140 has high precision requirements and higher costs.
[0086] Exemplarily, when n=1, the first relationship is:
[0087] AA=a+k1*I
[0088] In this embodiment, since the value range of the lead angle AA is 0° to 60°, the value range of (k1*I) is (0-a) to (60-a). When a is 0, the value range of (k1*I) is 0 to 60. Furthermore, this embodiment can obtain the k1 value corresponding to the efficiency optimum point of different motors in advance by calibration based on the value range of (k1*I). For example, after the brushless motor is determined, the value of the constant a can be known. The brushless motor is operated in the non-overlapping control stage, and the corresponding phase current I at a certain target speed is obtained. The value range of k1 is calculated based on the value range of I and k1, and k1 takes multiple values from small to large or from large to small in sequence, and multiple lead angles are calculated according to the multiple k1 values. Phase switching is performed according to the multiple lead angles to obtain the output efficiency of the motor under multiple lead angles, wherein the k1 value corresponding to the lead angle with the largest output efficiency is the optimal value. After obtaining k1, the values of k1 and a are stored in the memory of the control component 140, so that in the process of controlling the electric tool, the control component 140 obtains the corresponding lead angle AA according to the collected phase current I and the pre-stored first relationship.
[0089] When AA and I are in a linear relationship, the computing power required for the control component 140 to calibrate k1 is low, and the cost of the control component 140 is low.
[0090] Of course, n can also be 2 or 3. When n=2, the first relationship is:
[0091] AA=a+k1*I+k2*I*I
[0092] The value range of (k1*I+k2*I*I) is (0-a)~(60-a);
[0093] When n=3, the first relationship is:
[0094] AA=a+k1*I+k2*I*I+k3*I*I*I,
[0095] The value range of (k1*I+k2*I*I+k3*I*I*I) is (0-a) to (60-a).
[0096] In the above formula, a has the same physical meaning and value range as a in the aforementioned linear relationship, and k1, k2, and k3 all depend on the motor's own parameters. Similarly, k, k1, and k2 can also find the optimal values through the aforementioned calibration method, which will not be repeated in this embodiment. When n is larger, the method of obtaining k1, k2, or k3 through calibration is more complicated, and the computing power and accuracy required by the control component 140 are also higher, and accordingly, the cost is also higher.
[0097] It should be noted that, in the non-overlapping control stage, the control component 140 can obtain the lead angle according to the linear first-order relationship or the nonlinear high-order first relationship in the entire process of duty cycle steady speed, and can also obtain the lead angle according to the linear first-order relationship in some stages and obtain the lead angle according to the nonlinear high-order first relationship in some stages.
[0098] In the overlapping control stage, the control component 140 obtains the lead angle according to the phase current and the overlapping angle according to the second relationship, and performs phase switching according to the obtained lead angle. The second relationship is:
[0099]
[0100] Wherein, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and k is the current coefficient. Constant a is related to the difference between the Hall signal and the back electromotive force. Preferably, constant a is equal to the difference between the Hall signal and the back electromotive force. When the Hall signal is ahead of the back electromotive force, a is a negative value, and when the Hall signal lags behind the back electromotive force, a is a positive value. In a three-phase brushless motor, the Hall signal usually lags behind the back electromotive force, that is, a is a positive value. The value of a is related to the angle at which the Hall signal lags behind the back electromotive force. The greater the angle at which the Hall signal lags behind the back electromotive force, the greater the value of a. Usually, the value range of constant a is greater than or equal to 0° and less than 60°. When the wiring form of the motor (delta connection or Y-type connection) and the position of the Hall sensor are determined, the angle at which the Hall signal lags behind the back electromotive force is also determined, and constant a is determined accordingly. The current coefficient k is related to the strength of the armature reaction of the brushless motor. The stronger the armature reaction, the greater the k value. kn is the same as kn in the first relationship. When the first relationship is determined, kn in the second relationship is also determined. For example, when the first relationship is AA=a+k1*I, the second relationship after modifying the first relationship can be:
[0101] AA=(a+k1*I)*(1-(CB / 60) m )
[0102] The value range of m is 1≤m≤3. The larger the m is, the higher the corresponding lead angle accuracy is. In the second relationship, the values of m and n can be the same or different.
[0103] Exemplarily, the second relationship may be:
[0104] AA=(a+k1*I)*(1-CB / 60)or
[0105] AA=(a+k1*I+k2*I*I)*(1-(CB / 60) 2 )or
[0106] AA=(a+k1*I+k2*I*I+k3*I*I*I)*(1-(CB / 60) 3 )or
[0107] AA=(a+k1*I+k2*I*I)*(1-(CB / 60) 3 )wait
[0108] It can be seen from the above formula that both the first relationship and the second relationship are continuous relationships, that is, in the non-overlapping control stage, each duty cycle corresponds to a phase current value, and each phase current value corresponds to a lead angle. In the overlapping control stage, each overlapping angle corresponds to a phase current value, and each phase current value corresponds to a lead angle. In other words, the relationship between the lead angle and the duty cycle and the overlap angle is a continuous change relationship, which helps to precisely adjust the lead angle. By improving the adjustment accuracy, the output efficiency of the brushless motor can be improved.
[0109] As a specific example, the first relationship is: AA = a + k * I, and the second relationship is: AA = (a + k * I) * (1-CB / 60). The first relationship is used to obtain the lead angle in all stages of adjusting the duty cycle to maintain a steady speed, and the second relationship is used to obtain the lead angle in all stages of adjusting the overlap angle to maintain a steady speed. Figure 6 The curve of the lead angle changing with the phase current in a two-dimensional plane with the phase current as the X-axis and the lead angle as the Y-axis when the first relationship and the second relationship are adopted. Figure 6 In the figure, curve S1 is the curve of the first relationship, that is, the curve of the change of the lead angle with the phase current when the duty cycle is less than or equal to 100%, and curve S2, curve S3 and curve S4 are the relationship curves of the lead angle and the phase current when the duty cycle is equal to 100% and at different overlap angles. Among them, curve S2 is the relationship curve of the lead angle and the phase current corresponding to the lead angle CB1, curve S3 is the relationship curve of the lead angle and the phase current corresponding to the lead angle CB2, and curve S4 is the relationship curve of the lead angle and the phase current corresponding to the lead angle CB3, CB1<CB2<CB3. In the figure, I1 is the phase current corresponding to the duty cycle of 100%. When the phase current is 0-I1, the duty cycle steady speed control is adopted, and when the phase current exceeds I1, the overlap angle steady speed control is adopted. By Figure 6It can be seen that no matter how the overlap angle changes, curve S2, curve S3 and curve S4 are all located below the extension line of curve S1 (the dotted part of curve S1), that is, the slopes of curve S2, curve S3 and curve S4 are all smaller than the slope of curve S1. In other words, in the overlapping control stage, the rate of change of the lead angle with the phase current is smaller than the rate of change of the lead angle with the phase current in the non-overlapping control stage. And in the overlapping control stage, as the overlap angle increases, the slopes of curves S2, curve S3 and curve S4 decrease successively, that is, the rate of change of the lead angle with the phase current becomes smaller and smaller. When the overlap angle is greater than or equal to 55° and less than 60°, the change amplitude of the lead angle with the current is less than 0.1°, that is, at this time, as the phase current increases, the lead angle remains almost unchanged.
[0110] The present application can reduce the influence of weak magnetic current in the overlap angle steady speed stage by reducing the rate of change of the lead angle with the phase current in the overlap control stage, improve the commutation accuracy, and improve the output efficiency of the motor.
[0111] As mentioned above, if the first relationship is not corrected in the overlapping control stage, and the lead angle is still adjusted according to the first relationship, the phase current will be too high due to the generation of weak magnetic current, which will cause the brushless motor to overheat. After entering the overlapping control stage, the power tool will immediately perform high temperature protection, the motor will stop, and it will not work. If the lead angle is not adjusted in the overlapping control stage, and the phase change is only performed according to the Hall signal, it will lead to inaccurate phase change and low motor output efficiency. Figure 7 When the same motor is controlled at a steady speed, the efficiency curve of the motor with torque when the motor is working with lead angle control and without lead angle control is calculated according to the second relationship in the overlapping control stage. Among them, the motor efficiency is calculated as the ratio of the output power of the motor to the output power of the battery pack (that is, the input power of the motor). In the figure, the horizontal axis is the torque of the motor, the vertical axis is the efficiency of the motor, the curve L1 is the efficiency of the motor with lead angle control and the torque, and the curve L2 is the efficiency of the motor without lead angle control and the torque. It can be seen from the figure that under the same torque, the control scheme with lead angle control has a higher output efficiency than the motor without lead angle control. In this embodiment, only the output efficiency of the motor is tested when the motor torque is 0-0.3n*m, and the efficiency of the motor torque exceeding 0.3n*m is not tested. The reason is that when the torque exceeds 0.3n*m, the phase current of the motor without lead angle control is too large, and the temperature of the battery pack also rises accordingly. Continuing to increase the torque is likely to cause the motor to burn, which poses a safety hazard.
[0112] The present application uses a lead angle for commutation in the overlapping control stage, and adjusts the relationship between the lead angle and the phase current, so that the rate of change of the lead angle with the phase current in the overlapping control stage is less than the rate of change of the lead angle with the phase current in the non-overlapping control stage, thereby improving the accuracy of commutation in the overlapping control stage, and improving the output torque of the brushless motor, thereby improving the output efficiency of the brushless motor. Due to the improvement of the output efficiency of the brushless motor, the battery pack power supply life of the power tool is also extended. During the operation of the power tool, not only the load of the motor will affect the speed, but also the battery pack power will gradually decrease with the use of the tool, and the motor speed will also decrease accordingly. In order to keep the motor speed at the target speed, when the battery pack power decreases, it is also necessary to adjust the duty cycle and / or overlap angle of the drive circuit for steady speed. For a battery pack with a rated voltage of 60V, when it is powered by a brushless motor with a rated power of about 2000W, the overlapping angle steady speed will be started when the battery pack power drops to about 50% of the full power. Therefore, if the commutation in the overlapping control stage is inaccurate, the battery pack power will quickly drop to the protection value, affecting the user experience. By using the above relationship to adjust the lead angle, the battery life can be extended. In addition, due to the improvement of the motor output efficiency, the switching loss of the switching elements in the drive circuit on the motor control board is reduced, so that the heat generated by the control board is reduced, which can avoid the control board temperature being too high due to inaccurate commutation, triggering overheating protection.
[0113] In one embodiment, the brushless motor includes a three-phase brushless inductive motor, and the position detection module of the three-phase brushless inductive motor includes three position detection units, that is, the three-phase brushless inductive motor includes three Hall sensors, and the electrical angles installed between the three Hall sensors differ by 120°. The lead angle control method provided in the above embodiment can be applied to the three-phase brushless inductive motor.
[0114] During the operation of the power tool, when the actual speed of the motor is less than the target speed, the priority of adjusting the duty cycle of the drive signal is higher than the priority of the overlap angle; when the actual speed is greater than the target speed, the priority of adjusting the overlap angle of the drive signal is higher than the priority of the duty cycle. In other words, when the speed needs to be increased, the duty cycle is adjusted first. After the duty cycle reaches 100%, if the target speed is still not reached, the overlap angle is adjusted; when the speed is reduced, the overlap angle is reduced first. When the overlap angle reaches 0°, if the target speed is still not reached, the duty cycle is adjusted.
[0115] In one embodiment, the steady speed mode of the electric tool can be switched automatically or manually by the user. When the electric tool is switched automatically, it first enters the no-load mode after being powered on. In the no-load mode, the control component 140 detects the parameters of the electric tool in real time, and immediately switches to the load mode when the parameters of the electric tool indicate that the electric tool encounters a load. In the no-load mode, the motor of the electric tool maintains a first speed; in the load mode, the motor of the electric tool maintains a second speed, and the first speed is less than the second speed. In this embodiment, the parameters of the electric tool can be the motor phase current or the motor speed. After the electric tool is switched from the no-load mode to the load mode, it can keep working in the load mode until the power is turned off to avoid switching back and forth in the speed during the work process, thereby improving the working efficiency of the electric tool. Of course, after switching to the load mode, the electric tool can also detect the current load in real time, and switch to the no-load mode (that is, switch from the second speed to the first speed) when the current load becomes smaller, so as to reduce the power consumption of the electric tool and improve the battery life of the electric tool.
[0116] As another example, the steady-speed working mode of the power tool can also be triggered by the user. When triggered by the user, a trigger module is provided on the power tool to receive a control instruction issued by the user, and send the control instruction to the control component 140, so that the control component 140 controls the tool to work at a steady speed according to the user's instruction. For example, a gear adjustment module can be provided on the power tool, and the gear adjustment module has multiple gears, and each gear corresponds to a target speed. The gear adjustment module includes a human-machine operation interface for user adjustment. The control component 140 receives the gear control signal sent by the gear adjustment module, and obtains the target speed corresponding to the gear according to the gear control signal, and performs speed increase control or speed decrease control according to the difference between the current speed and the target speed.
[0117] In the above embodiment, the electric tool can operate at steady speeds at different rotational speeds when idling and heavily loaded respectively. On the one hand, steady speed operation can improve the working efficiency of the electric tool so that the output power of the electric tool will not change due to factors such as the reduction in battery pack power, thereby ensuring efficient operation when the battery pack is low in power; on the other hand, low speed operation is adopted when the load is light, and the speed is increased when the load is heavy, so as to save energy of the battery pack.
[0118] Another embodiment of the present application provides an electric tool, such as Figure 2 As shown, each electric tool includes a battery pack 110 , a brushless motor 120 , a drive circuit 130 and a control component 140 .
[0119] The battery pack 110 is detachably mounted on the electric tool to provide electrical energy to the electric tool.
[0120] The brushless motor 120 includes a stator winding and a rotor. The stator winding includes a three-phase winding, and each phase winding is connected to the battery pack 110 through a driving circuit 130 .
[0121] The driving circuit 130 is used to convert the direct current output by the battery pack 110 into alternating current to power the brushless motor 120. The driving circuit 130 includes a plurality of switch elements, which are connected between the battery pack 110 and the brushless motor 120, and the plurality of switch elements are controlled by the control component 140 to perform switching actions, thereby transferring the electric energy of the battery pack 110 to the brushless motor 120.
[0122] The control component 140 includes a position detection module 141, which is located near the rotor and can detect the rotor position and generate a position signal. The control component 140 receives the position signal and calculates the actual speed of the brushless motor 120 according to the position signal. When the actual speed deviates from the target speed of the power tool, the control signal of the switch element is adjusted to keep the brushless motor at the target speed.
[0123] The control stage in which the control component 140 adjusts the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the control component 140 adjusts the duty cycle of the control signal, and in the overlapping control stage, the control component 140 at least adjusts the overlapping angle of the control signal. That is, in the overlapping control stage, the duty cycle of the control signal can be 100%, and the control component 140 only adjusts the overlapping angle of the control signal; of course, the duty cycle of the control signal can also be less than 100%, and the control component 140 can adjust both the duty cycle of the control signal and the overlapping angle of the control signal.
[0124] The control component 140 is also used to adjust the lead angle of the control signal to control the drive output of the power tool.
[0125] When the control component 140 adjusts the control signal of the switch element, the control component 140 adjusts the lead angle according to the phase current of the power tool, wherein the larger the overlap angle is, the smaller the rate of change of the lead angle with the phase current is.
[0126] Furthermore, in the present embodiment, lead angle control is also performed during the non-overlapping control stage of the electric tool. Specifically, during the non-overlapping control stage, the control component 140 adjusts the lead angle according to a preset first relationship, and during the overlapping control stage, the control component adjusts the lead angle according to a preset second relationship. In the second relationship, at least in some stages, the rate of change of the lead angle with the phase current is less than the rate of change of the lead angle with the phase current in the first relationship. That is to say, during the overlapping control stage, there is at least a portion of time period during which the rate of change of the lead angle with the phase current is less than the rate of change of the lead angle with the phase current during the non-overlapping control stage. Preferably, the rate of change of the lead angle with the phase current during the entire overlapping control stage is less than the rate of change of the lead angle with the phase current during the non-overlapping control stage.
[0127] Further, under the same phase current, in response to the overlap angle increasing, the control component 140 controls the lead angle to decrease.
[0128] Furthermore, the first relationship is:
[0129]
[0130] Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the armature reaction strength of the brushless motor, n is the exponent of the phase current, and 1≤n≤3.
[0131] The second relationship is:
[0132]
[0133] Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the armature reaction strength of the brushless motor, n is the index, and 1≤n≤3, m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
[0134] For the specific limitations of the above-mentioned electric tool, please refer to the previous embodiment, and this embodiment will not be repeated here. This embodiment adjusts the lead angle according to the phase current in the overlapping control stage, and uses the lead angle for phase switching, and as the overlapping angle increases, the rate of change of the lead angle with the phase current becomes smaller and smaller, that is, the size of the lead angle depends on the two factors of the overlapping angle and the phase current, so that the adjustment of the lead angle in the overlapping control stage is more accurate, the output efficiency of the brushless motor is improved, and the battery life of the battery pack is improved.
[0135] Another embodiment of the present application provides a control method for a brushless motor, wherein the brushless motor is the brushless motor described in the above embodiment, and the control method is executed by a control component of the electric tool, such as Figure 8As shown, the control method includes:
[0136] Step S10: receiving a position signal sent by the position detection module, and calculating the actual speed of the brushless motor according to the position signal;
[0137] Step S20: determining whether the actual speed reaches the target speed;
[0138] Step S30: When the actual speed deviates from the target speed, the control signal is adjusted to make the actual speed reach the target speed. The control stage of the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the duty cycle of the control signal is adjusted. In the overlapping control stage, at least the overlapping angle of the control signal is adjusted. In the non-overlapping control stage, the phase current is received and the lead angle of the control signal is adjusted according to the phase current in accordance with a preset first relationship. In the overlapping control stage, the phase current is received and the lead angle of the control signal is adjusted according to the phase current in accordance with a preset second relationship. The rate of change of the lead angle with the phase current in the second relationship is less than the rate of change of the lead angle with the phase current in the first relationship.
[0139] In one embodiment, the control method further comprises: in the overlap control stage, under the same phase current, in response to a large increase in the overlap angle, controlling the lead angle to decrease.
[0140] In one embodiment, the control method further comprises: in the overlap control stage, in response to the overlap angle increasing, adjusting the lead angle so that the lead angle decreases along with the phase current change rate.
[0141] For the specific implementation of the control method for the lead angle adjustment of the brushless motor, please refer to the above-mentioned specific implementation of the electric tool, which will not be repeated here.
[0142] The above control method can stabilize the speed by adjusting the duty cycle and / or overlap angle of the driving signal of the switching element, and when adjusting the duty cycle and / or overlap angle, the lead angle of the driving signal is also controlled. In the non-overlapping control stage, the lead angle is obtained according to the first relationship between the phase current and the lead angle for phase switching control. In the overlapping control stage, the lead angle is obtained according to the second relationship between the phase current and the lead angle by correcting the first relationship, so that accurate phase switching can be achieved in different steady-speed stages, thereby improving the efficiency of the motor while maintaining steady-speed operation of the motor.
[0143] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded by a processor and executes the aforementioned control method of the electric tool.
[0144] like Fig. 9 As shown, another embodiment of the present application provides a control module, which is used to control the aforementioned motor, and the control module includes:
[0145] A receiving unit, used for receiving a position signal sent by the position detection module;
[0146] A calculation unit, used for calculating the actual speed of the brushless motor according to the position signal;
[0147] A judgment unit, used to judge whether the actual speed reaches the target speed;
[0148] A control unit is used to adjust a control signal when an actual speed deviates from a target speed so that the actual speed reaches the target speed. The control signal is used to control the on and off of a switch element in a drive circuit. The control stage of the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the control unit adjusts the duty cycle of the control signal. In the overlapping control stage, the control unit at least adjusts the overlapping angle of the control signal.
[0149] In the non-overlapping control stage, the receiving unit is further used to receive the phase current, and the control unit is used to adjust the lead angle according to the phase current according to a preset first relationship;
[0150] In the overlapping control stage, the receiving unit is also used to receive the phase current, and the control unit is used to adjust the lead angle according to the phase current according to a preset second relationship, and the change rate of the lead angle with the phase current in the second relationship is less than the change rate of the lead angle with the phase current in the first relationship.
[0151] In one embodiment, in the overlap control stage, under the same phase current, in response to an increase in the overlap angle, the control unit controls the lead angle to decrease.
[0152] In one embodiment, under the same phase current, in response to the continuous change of the overlap angle, the control unit controls the leading angle to change continuously.
[0153] In one embodiment, in response to the increase of the overlap angle, the control unit controls the lead angle to change so that the lead angle decreases with the rate of change of the phase current.
[0154] In one embodiment, in the non-overlapping control phase, the first relationship includes:
[0155]
[0156] Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the armature reaction strength of the brushless motor, n is the exponent of the phase current, and 1≤n≤3.
[0157] In the overlapping control phase, the second relationship includes:
[0158]
[0159] Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the armature reaction strength of the brushless motor, n is the index of the phase current, and 1≤n≤3, m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
[0160] The above-mentioned control module can stabilize the speed of the electric tool by adjusting the duty cycle and / or overlap angle of the drive signal of the switching element, and also control the lead angle of the drive signal when adjusting the duty cycle and / or overlap angle. In the non-overlapping control stage, the lead angle is obtained according to the first relationship between the phase current and the lead angle for phase switching control. In the overlapping control stage, the lead angle is obtained according to the second relationship between the phase current and the lead angle by correcting the first relationship, so that accurate phase switching can be achieved in different steady-speed stages, thereby improving the efficiency of the motor while maintaining steady-speed operation of the motor, thereby extending the battery life of the battery pack.
Claims
1. An electric tool, characterized in that: The electric tool comprises: Battery pack; A brushless motor, comprising a stator assembly and a rotor rotating around the stator assembly, wherein the stator assembly is used to receive electrical energy from the battery pack and drive the rotor to rotate; A driving circuit, comprising a plurality of switch elements, wherein the switch elements are used to control the supply of power from the battery pack to the brushless motor; A control component, comprising a position detection module, the position detection module is used to detect the position of the rotor and generate a position signal, the control component is used to calculate the actual speed of the brushless motor according to the position signal, and adjust the control signal of the switch element when the actual speed deviates from the target speed, so that the brushless motor reaches the target speed; The control stage in which the control component adjusts the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the control component adjusts the duty cycle of the control signal. In the overlapping control stage, the control component at least adjusts the overlapping angle of the control signal. The control component is also used to adjust the lead angle of the control signal to control the drive output of the electric tool; In the non-overlapping control stage, the control component detects the phase current of the electric tool and adjusts the lead angle according to the phase current in accordance with a preset first relationship; In the overlapping control stage, the control component corrects the first relationship and adjusts the lead angle according to the corrected second relationship; A rate of change of the lead angle with respect to the phase current in the second relationship is smaller than a rate of change of the lead angle with respect to the phase current in the first relationship.
2. The electric tool according to claim 1, characterized in that: In the overlap control stage, under the same phase current, in response to the overlap angle increasing, the control component controls the lead angle to decrease.
3. The electric tool according to claim 2, characterized in that: Under the same phase current, in response to the continuous change of the overlap angle, the control component controls the lead angle to change continuously.
4. The electric tool according to claim 1, characterized in that: In the overlap control stage, in the second relationship, in response to an increase in the overlap angle, the control component controls the lead angle to change so that a rate of change of the lead angle with changes in the phase current decreases.
5. The electric tool according to claim 1, characterized in that: In the non-overlapping control phase, the first relationship includes: Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3.
6. The electric tool according to claim 1, characterized in that: In the overlapping control stage, the second relationship includes: Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3, and m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
7. The electric tool according to claim 1, characterized in that: In the overlap control stage, the size of the overlap angle is related to the speed difference between the target speed and the actual speed, and in response to an increase in the speed difference, the control component controls the overlap angle to increase.
8. The electric tool according to claim 7, characterized in that: The overlapping angle adjustment method includes: in each commutation period, the control component adjusts the overlapping angle according to a preset increment, and the preset increment has a value range of any value between 0.01° and 0.5°.
9. The electric tool according to claim 1, characterized in that: When the actual speed is less than the target speed, the control component preferentially adjusts the duty cycle; When the actual rotation speed is greater than the target rotation speed, the control component preferentially adjusts the overlap angle.
10. The electric tool according to claim 1, characterized in that: The brushless motor comprises a three-phase brushless inductive motor; The position detection module of the brushless motor includes three position detection units.
11. An electric tool, characterized in that: The electric tool comprises: Battery pack; A brushless motor, comprising a stator assembly and a rotor rotating around the stator assembly, wherein the stator assembly is used to receive electrical energy from the battery pack and drive the rotor to rotate; A driving circuit, comprising a plurality of switch elements, wherein the switch elements are used to control the supply of power from the battery pack to the brushless motor; A control component, comprising a position detection module, the position detection module is used to detect the position of the rotor and generate a position signal, the control component is used to calculate the actual speed of the brushless motor according to the position signal, and adjust the control signal of the switch element when the actual speed deviates from the target speed, so that the brushless motor reaches the target speed; The control stage in which the control component adjusts the control signal includes a non-overlapping control stage and an overlapping control stage. In the non-overlapping control stage, the control component adjusts the duty cycle of the control signal. In the overlapping control stage, the control component at least adjusts the overlapping angle of the control signal. The control component is also used to adjust the lead angle of the control signal to control the drive output of the electric tool; In the overlap control stage, the control component adjusts the lead angle according to the phase current of the brushless motor, wherein, in response to the overlap angle increasing, the control component controls the lead angle to reduce the rate of change of the lead angle with the phase current.
12. The electric tool according to claim 11, characterized in that: In the non-overlapping control stage, the control component adjusts the lead angle according to a preset first relationship; In the overlapping control stage, the control component adjusts the lead angle according to a preset second relationship; In at least part of the phase in the second relationship, a rate of change of the lead angle with respect to the phase current is smaller than a rate of change of the lead angle with respect to the phase current in the first relationship.
13. The electric tool according to claim 11, characterized in that: In the overlap control stage, under the same phase current, in response to the overlap angle increasing, the control component controls the lead angle to decrease.
14. The electric tool according to claim 11, characterized in that: In the non-overlapping control phase, the first relationship includes: Among them, AA is the lead angle, I is the phase current, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3.
15. The electric tool according to claim 14, characterized in that: In the overlapping control stage, the second relationship includes: Among them, AA is the lead angle, I is the phase current, CB is the overlap angle, a is a constant, and a is positively correlated with the phase difference angle between the position detection module and the back electromotive force, k is a constant, and k is positively correlated with the strength of the armature reaction of the brushless motor, n is the index of the phase current, and 1≤n≤3, and m is the index of the overlap angle coefficient (CB / 60), and 1≤m≤3.
16. A method for controlling a brushless motor of an electric tool, wherein: The brushless motor includes a stator assembly and a rotor rotating around the stator assembly; The electric tool comprises: A position detection module, used for detecting the position of the rotor and generating a position signal; A driving circuit, comprising a plurality of switch elements, wherein the switch elements are used to control the supply of power from the battery pack to the brushless motor; Characterized in that the control method of the brushless motor comprises: receiving the position signal, and calculating the actual rotation speed of the brushless motor according to the position signal; determining whether the actual speed reaches the target speed; When the actual speed deviates from the target speed, the control signal of the switch element is adjusted so that the actual speed reaches the target speed, the control stage of the control signal includes a non-overlapping control stage and an overlapping control stage, in which the duty cycle of the control signal is adjusted, and in the overlapping control stage, at least the overlapping angle of the control signal is adjusted; In the non-overlapping control stage, receiving the phase current and adjusting the lead angle of the control signal according to the phase current according to a preset first relationship to control the driving output of the electric tool; In the overlapping control stage, the phase current is received and the lead angle of the control signal is adjusted according to the phase current in accordance with a preset second relationship to control the drive output of the power tool, wherein the rate of change of the lead angle with the phase current in the second relationship is less than the rate of change of the lead angle with the phase current in the first relationship.
17. The method for controlling a brushless motor of an electric tool according to claim 16, characterized in that: The method further comprises: In the overlap control stage, under the same phase current, in response to a large increase in the overlap angle, the lead angle is controlled to decrease.
18. The method for controlling a brushless motor according to claim 16, characterized in that: The method further comprises: In the overlap control stage, in response to the overlap angle increasing, the lead angle is adjusted so that a change rate of the lead angle with changes in the phase current becomes smaller.
19. A control module for a brushless motor of an electric tool, wherein: The brushless motor comprises: a stator assembly and a rotor rotating about the stator assembly; The electric tool comprises: A position detection module, used for detecting the position of the rotor and generating a position signal; A driving circuit, comprising a plurality of switch elements, wherein the switch elements are used to control the supply of power from the battery pack to the brushless motor; It is characterized in that the control module is connected to the brushless motor and is used to control the brushless motor to operate according to the target speed, and the control module includes: A receiving unit, used to receive a position signal sent by the position detection module; A calculation unit, used for calculating the actual rotation speed of the brushless motor according to the position signal; A judging unit, used to judge whether the actual speed reaches the target speed; a control unit, configured to adjust the control signal of the switch element when the actual speed deviates from the target speed so that the actual speed reaches the target speed, wherein the control stage for adjusting the control signal by the control unit includes a non-overlapping control stage and an overlapping control stage, wherein the control unit adjusts the duty cycle of the control signal, and wherein the control unit at least adjusts the overlapping angle of the control signal in the overlapping control stage; In the non-overlapping control stage, the control unit is further used to receive the phase current and adjust the lead angle according to the phase current according to a preset first relationship; In the overlapping control stage, the control unit is also used to receive the phase current and adjust the lead angle according to the phase current according to a preset second relationship, and the rate of change of the lead angle with the phase current in the second relationship is less than the rate of change of the lead angle with the phase current in the first relationship.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method for controlling a brushless motor of an electric tool according to any one of claims 16 to 18.
