Motor control method and device, electronic equipment and storage medium
Switching the motor working mode through the vector control strategy solves the problem of insufficient load capacity of the motor at high speeds, realizes the requirements for multiple speeds and torque outputs, and expands the operating range and performance of the motor.
Patent Information
- Application Number
- CN202410698375.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-13
AI Technical Summary
The motor's load capacity is insufficient at high speeds, and when pursuing higher load capacity, the existing technology sacrifices the speed adjustment range and increases low-order current harmonics, resulting in torque pulsation.
Use a vector control strategy to switch the motor working mode, including the first vector control strategy, the second vector control strategy (combination of field weakening and overmodulation), the third vector control strategy and the fourth vector control strategy, automatically or manually switching according to the motor output demand Working modes to meet various speed and torque output requirements.
Without increasing additional hardware costs, it expands the operating range of the motor, overcomes the defect of small load at high speeds, gives full play to the performance of the motor, is suitable for richer working scenarios, and improves torque response and stability.
Smart Images

Figure CN118646300A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric tools, and in particular to a motor control method, a control device, an electronic device and a computer storage medium of an electric tool. Background Art
[0002] At present, many motor control applications use weak magnetic control in order to pursue a higher speed range above the rated speed. However, this will sacrifice a certain torque, resulting in a deterioration of the motor's torque response and load capacity. There are also occasions where overmodulation is used to pursue higher load capacity, but this will sacrifice a certain speed adjustment range and make the low-order current harmonics larger, causing torque pulsation.
[0003] Electric tools are often used under a variety of working conditions, which have different requirements for the output capacity of the motor. However, there is a certain contradiction between the speed and torque output by the motor, which makes it impossible for the motor to fully exert its performance under different working conditions.
[0004] Therefore, it is necessary to design a motor control solution to solve the above problems. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present application provides an improved solution: a motor control method applied to an electric tool, comprising: Controlling the output of the motor by a vector control strategy, wherein the vector control strategy includes at least a first vector control strategy and a second vector control strategy; The working mode of the motor is switched according to the output demand of the motor, and the switching method includes automatic switching and / or manual switching; the motor includes at least a first working mode and a second working mode, and in the first working mode, the motor adopts the first vector control strategy, and the motor outputs a first speed and a first torque; in the second working mode, the motor adopts the second vector control strategy, and the motor outputs a second speed and a second torque; wherein, the first vector control strategy and the second vector control strategy are different.
[0006] Preferably, when the motor is in the first working mode, the first speed is a rated speed, and the first torque is a rated torque; When the motor is in the second operating mode, the second vector control strategy includes at least vector control combining flux weakening and overmodulation, the second speed is greater than the rated speed, and the second torque is greater than the rated torque.
[0007] Preferably, the motor also includes a third operating mode. When the motor is in the third operating mode, a third vector control strategy is adopted. The third vector control strategy at least includes weak magnetic vector control. The motor outputs a third speed and a third torque. The third speed is greater than the rated speed, and the third torque is the rated torque.
[0008] Preferably, the motor also includes a fourth operating mode. When the motor is in the fourth operating mode, a fourth vector control strategy is adopted. The fourth vector control strategy at least includes overmodulation vector control. The motor outputs a fourth speed and a fourth torque. The fourth speed is the rated speed, and the fourth torque is greater than the rated torque.
[0009] Preferably, the automatic switching method specifically includes: real-time detection of the current and speed of the motor, determining the output demand of the motor based on the magnitude relationship between the current and the threshold current, and the magnitude relationship between the speed and the threshold speed, automatically switching to a corresponding working mode based on the output demand, and controlling the motor using a vector control strategy corresponding to the working mode.
[0010] Preferably, the manual switching method specifically includes: manually identifying the output requirements of the motor, determining the maximum speed and maximum torque required by the motor, selecting the corresponding working mode according to the maximum speed and maximum torque and generating a working mode switching instruction, the motor receiving the working mode switching instruction, controlling the motor to switch to the working mode, and using the vector control strategy corresponding to the working mode to control the motor.
[0011] The present application also provides a motor control device, the control device comprising: A detection unit for detecting an output demand of a motor; A working mode switching unit for switching the working mode according to the output demand of the motor; A processing unit that communicates with the working mode switching unit and adopts the above motor control method.
[0012] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned motor control method when executing the computer program.
[0013] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned motor control method is implemented.
[0014] Compared with the prior art, the present invention has the following beneficial effects: the motor control method applied to electric tools provided in the present application switches the working mode according to the output demand of the motor and adopts different vector control strategies to meet the requirements of the motor for multiple speeds and multiple torque outputs without increasing additional hardware costs, overcomes the defect of the motor having small load at high speed, is suitable for richer working scenarios, expands the operating range of the motor, gives full play to the performance of the motor, and effectively saves costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a motor control method provided in this application; Figure 2 A schematic diagram of a motor provided in the present application using a first vector control strategy when the motor is in a first working mode; Figure 3 A schematic diagram of a second vector control strategy adopted when a motor provided by the present application is in a second working mode; Figure 4 A schematic diagram of an output waveform provided by the present application when the input is a step response; Figure 5 A schematic diagram of a motor coordinate vector provided for this application; Figure 6 A schematic diagram of a third vector control strategy adopted when a motor provided by the present application is in a third working mode; Figure 7 A schematic diagram of a SVPWM voltage vector provided for this application; Figure 8 A schematic diagram of a fourth vector control strategy adopted when a motor provided by the present application is in a fourth working mode; Fig. 9 A schematic diagram of a process of automatically switching working modes provided by this application; Fig.10 A schematic diagram of a motor control device provided in this application. DETAILED DESCRIPTION
[0016] The present invention is further described in detail below in conjunction with the accompanying drawings and implementation modes.
[0017] The terms used in the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. For example, the words "upper", "lower", "front", "back", etc., which indicate the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device / element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention.
[0018] In many motor control applications, weak magnetic control is used to pursue a higher speed range above the rated speed. However, this sacrifices a certain torque, resulting in a deterioration of the motor's torque response and poor load capacity. In some applications, overmodulation is used to pursue higher load capacity, but this sacrifices a certain speed adjustment range and also makes the low-order current harmonics larger, causing torque pulsation. Therefore, it is necessary to design a control method to overcome the defect of the motor's small load at high speeds and meet the motor's requirements for multiple speeds and multiple torque outputs.
[0019] The present invention solves the existing technical problems by adopting the following technical solutions: a motor control method applied to an electric tool, such as Figure 1 As shown, including: Controlling the output of the motor by a vector control strategy, wherein the vector control strategy includes at least a first vector control strategy and a second vector control strategy; The working mode of the motor is switched according to the output demand of the motor, and the switching method includes automatic switching and / or manual switching. The motor includes at least a first working mode and a second working mode. In the first working mode, the motor adopts the first vector control strategy, and the motor outputs a first speed and a first torque; in the second working mode, the motor adopts the second vector control strategy, and the motor outputs a second speed and a second torque; wherein the first vector control strategy and the second vector control strategy are different.
[0020] When the motor is in the first working mode, the first rotation speed output by the motor is the rated rotation speed, and the first torque output by the motor is the rated torque.
[0021] Furthermore, the above-mentioned rated speed and rated torque are fixed characteristic parameters of the motor and are related to the performance of the motor.
[0022] The first rotational speed is the maximum rotational speed that the motor can output in the first working mode, the first torque is the maximum torque that the motor can output in the first working mode, and the motor can output the first rotational speed and the first torque simultaneously.
[0023] Specifically, Figure 2 As shown, a schematic diagram of the first vector control strategy is given when the motor is in the first working mode. Speed with feedback After the difference is made, it is used as the input of the speed regulator, and its output is Shaft current setting With feedback After the difference The input of the current regulator is , Shaft current setting With feedback After the difference The input of the current regulator. Its output is , and Together as the input of the inverse Park transform, its output is and , and then output to the three-phase inverter through the SVPWM (Space Vector Pulse Width Modulation) module, and the three-phase inverter output drives the motor to run. The motor position signal is obtained by the position sensor and the feedback speed is obtained through the speed calculation module The three-phase current obtained by sampling , , Output after Clarke transformation , , and then output after Park transformation , .
[0024] The first working mode is applicable to the working conditions of rated load and rated speed. When the load characteristic requirements and speed requirements of the motor are not high, the first vector control strategy is adopted to simply and efficiently perform vector control on the motor and perform corresponding work.
[0025] When the motor is in the second working mode, the second vector control strategy includes at least vector control combining magnetic weakening and overmodulation, the second speed output by the motor is greater than the rated speed, and the second torque output by the motor is greater than the rated torque.
[0026] The second speed is the maximum speed that the motor can output in the second working mode, and the second torque is the maximum torque that the motor can output in the second working mode. The motor can output the second speed and the second torque simultaneously.
[0027] Specifically, Figure 3 As shown, a schematic diagram of the second vector control strategy is given when the motor is in the second working mode. is the speed setting; Speed feedback is output through the speed regulator ; The MTPA (Maximum Torque per Ampere) reference current calculation module is mainly used for switching judgment of the four modes of normal vector control mode, overmodulation, weak magnetic field, overmodulation and weak magnetic field combination. Its input has three parts, which are respectively , torque setting , speed error and ; The output is and Respectively and feedback and Make a difference, output through (Proportional-Integral) Current Controller Block Output and ; After the inverse Park transform output and , and then the modulus of the square sum is compared with the overmodulated output and The difference between the sum of squares of the two is ; Then it is output through the weak magnetic control module ; and After SVPWM modulation, the output voltage can be used for motor operation; the position sensor obtains the angle; Clarke transform and Park transform , , becomes , , in the transformation to , .
[0028] The transfer function of the first-order inertia link including the proportional link in the weak magnetic control module is as follows:
[0029] like Figure 4 As shown in the figure, a schematic diagram of the output waveform is given when the input is a step response.
[0030] The weak magnetic control module uses a first-order inertia link and a limiting link, where Mainly affects the utilization rate of steady-state bus voltage, reducing It can increase the utilization rate of steady-state bus voltage, but if it is too small, it will cause the voltage available in the current closed loop to decrease, affecting the responsiveness of the current; Mainly affects the transient response of weak magnetic control, reducing It can improve the response, but too small will cause fluctuations in weak magnetic current. Therefore, it can be said that fast torque response and high efficiency are contradictory. If the torque responsiveness requirement is reduced, it can be appropriately reduced. value, improving the bus voltage utilization and the efficiency of the weak magnetic control area.
[0031] Specifically, in the second vector control strategy, the voltage threshold is replaced by the overmodulated output, and the integral link is changed to the first-order inertia link. In the actual working process, by adjusting and The value of is used to adjust the interaction effect between field weakening and overmodulation.
[0032] For example, if the load exceeds the rated value by a small amount, the , improve the bus voltage utilization and the efficiency of the weak magnetic control area. When the speed exceeds the rated speed by a lot, it can be appropriately reduced. , reasonable design and It can maintain the high speed and high torque requirements of the motor as much as possible. Generally, smaller value to maximize the utilization of the steady-state bus voltage, and then select the appropriate To meet the common requirements of speed and torque response combining weak magnetic control and overmodulation.
[0033] In the above-mentioned second vector control strategy, vector control combining weak magnetic field and overmodulation is adopted, so that the motor can simultaneously output a second speed greater than the rated speed and a second torque greater than the rated torque. In this embodiment, the second speed and the second torque are not specific values. The second speed is a speed output greater than the rated speed, and the second torque is a torque output greater than the rated torque. In the second working mode, the motor can simultaneously achieve output exceeding the rated speed and rated torque, which expands the operating range of the motor, overcomes the defect of the motor carrying small load at high speed, gives full play to the performance of the motor, and meets the working conditions with high load characteristics and high speed requirements.
[0034] Furthermore, the motor also includes a third operating mode. When the motor is in the third operating mode, a third vector control strategy is adopted. The third vector control strategy at least includes weak magnetic vector control. The motor outputs a third speed and a third torque. The third speed is greater than the rated speed, and the third torque is the rated torque.
[0035] The third speed is the maximum speed that the motor can output in the third working mode, and the third torque is the maximum torque that the motor can output in the third working mode. The motor can output the third speed and the third torque simultaneously.
[0036] Specifically, the basic principle of magnetic weakening can be understood through the following steady-state electrical balance equation of permanent magnet synchronous motor:
[0037] in, , They are Axis and Voltage component of the shaft; , They are Axis and The current component of the shaft; is the internal resistance of the motor; is the inductance of the motor; is the speed of the motor; is the flux linkage of the motor; It is the output voltage value of the bus voltage after PWM modulation, and its value cannot exceed the bus voltage.
[0038] From the above equation, we can get that when the motor runs at a certain speed and load torque, the voltage value required for the motor to run is It was fixed. Depend on , The square sum and modulus is obtained. A larger portion, Two of the two parameters are related to the speed, and these two parameters will continue to consume electricity as the speed increases. The purpose of keeping the motor running speed unchanged and increasing it can only reduce the magnetic flux.
[0039] like Figure 5 As shown, the motor coordinate vector diagram is given. The direction of the shaft current is on the motor rotor position. Positive shaft current increases flux linkage ,when Negative shaft current reduces flux linkage . Furthermore, when When the shaft current is negative, the inductance The pressure drop on the Therefore, in practical applications, by giving Negative shaft current is the most effective way to reduce magnetic flux and increase the running speed of the motor.
[0040] like Figure 6 As shown, a schematic diagram of the third vector control strategy when the motor is in the third working mode is given. is the voltage threshold for enabling field weakening control; The difference is passed through the integration link and output limiting.
[0041] Normal operation mode: When the speed is below the rated speed, Less than , the difference is positive, after integration It is still a positive value, but since the maximum limit value is 0, then , which is the same as the first vector control strategy in the above-mentioned first working mode.
[0042] The motor switches from the normal operation mode to the third operation mode, using the third vector control strategy, that is, using weak magnetic control: when the motor increases from the rated speed, Greater than , the difference is negative, after integration The output starts to show negative values. The output begins to slowly shift to negative current. When it becomes negative, the magnetic flux is weakened and the consumed voltage becomes smaller. becomes smaller and finally equals , the difference becomes 0, and the integral no longer works. It stabilizes at a negative value and the weak magnetic effect remains stable.
[0043] When the motor switches from the third working mode to the normal operating mode: in the weak magnetic state, Approximately , when the motor drops from high speed to rated speed, Starts less than , the difference becomes positive, and the original integral is The negative shaft current begins to approach 0 after accumulating positive values. Has been less than When The negative shaft current output eventually becomes 0.
[0044] In this embodiment, the third speed is not a specific value, and the third speed is a speed output greater than the rated speed. In the third working mode, the motor can not only output the rated torque, but also achieve an output exceeding the rated speed, which is suitable for working conditions with low load characteristics and high speed requirements.
[0045] Furthermore, the motor also includes a fourth operating mode. When the motor is in the fourth operating mode, a fourth vector control strategy is adopted. The fourth vector control strategy at least includes overmodulation vector control. The motor outputs a fourth speed and a fourth torque. The fourth speed is the rated speed, and the fourth torque is greater than the rated torque.
[0046] The fourth speed is the maximum speed that the motor can output in the fourth working mode, the fourth torque is the maximum torque that the motor can output in the fourth working mode, and the motor can output the fourth speed and the fourth torque simultaneously.
[0047] like Figure 7As shown in the figure, the SVPWM (Space Vector Pulse Width Modulation) voltage vector diagram is given. As shown in the figure, V1, V2, V3, V4, V5, and V6 are the voltage vectors in the six switching states of the inverter. They are connected to form a regular hexagon. The inner circle of the hexagon is the linear modulation area, and the area between the inner circle and the outer circle is the overmodulation area. If the reference voltage vector exceeds the range of the linear modulation area in SVPWM modulation, the normal SVPWM modulation method will no longer be used. This area is called the overmodulation area. In engineering applications, in order to improve the utilization rate of the DC bus and increase the output voltage amplitude of the inverter, the overmodulation algorithm can be used to make the inverter transition from the linear modulation area to the six-beat step wave working state, and control the voltage output of the inverter in the overmodulation area. The introduction of SVPWM overmodulation technology in motor control improves the utilization rate of the DC bus voltage of the motor. The stator output voltage has been improved to a certain extent, which is of great significance for improving the instantaneous overload capacity of the motor, accelerating the motor starting process, and the weak magnetic control of the motor.
[0048] like Figure 8 As shown in FIG. 1 , a schematic diagram of a fourth vector control strategy is provided when the motor is in the fourth working mode. The fourth vector control strategy specifically includes: a given speed Speed with feedback After the difference is made, it is used as the input of the speed regulator, and its output is Shaft current setting With feedback After the difference The input of the current regulator is , Shaft current setting With feedback After the difference The input of the current regulator. Its output is , and Together as the input of the inverse Park transform, its output is and , and then output through the modulation module , , and then output to the three-phase inverter through the SVPWM module, and the three-phase inverter output drives the motor to run. The motor position signal is obtained by the position sensor and the feedback speed is obtained through the speed calculation module The three-phase current obtained by sampling , , Output after Clarke transformation , , and then output after Park transformation , The judgment condition for switching to this mode is and The resultant vector is outside the linear operating region.
[0049] In this embodiment, the fourth torque is not a specific value, and the fourth torque is a torque output greater than the rated torque. In the fourth working mode, the motor can not only achieve the output of the rated speed, but also achieve the output exceeding the rated torque, which is suitable for working conditions with high load characteristics requirements and low speed requirements.
[0050] Furthermore, the working mode of the motor is switched according to the output demand of the motor, and the switching mode includes automatic switching and manual switching.
[0051] When automatic switching is adopted, the current and speed of the motor are detected in real time, and the output demand of the motor is determined according to the magnitude relationship between the current and the threshold current, and the magnitude relationship between the speed and the threshold speed. According to the output demand, the motor is automatically switched to the corresponding working mode, and the motor is controlled by the vector control strategy corresponding to the working mode.
[0052] like Fig. 9 As shown in the figure, a schematic diagram of the process of automatic switching working mode is given. The automatic switching specifically includes: real-time detection of the motor Shaft current and speed , determine the current With threshold current , speed With threshold speed The size relationship.
[0053] when ≤ , ≤ When , the working mode of the motor is switched to the first working mode, and the first vector control strategy is adopted; when > , > When the motor is in the second working mode, the second vector control strategy is adopted; when ≤ , > When , the working mode of the motor is switched to the third working mode, and the third vector control strategy is adopted; when > , ≤ When the motor's operating mode is switched to the fourth operating mode, the fourth vector control strategy is adopted.
[0054] Specifically, the threshold current and threshold speed It is a preset value. No specific value is set in this manual. In actual situation, it should be adjusted according to the characteristics of the motor.
[0055] By automatically switching working modes, it is intelligent and efficient, without the need for users to make judgments based on actual working conditions, which simplifies user operations and improves user experience.
[0056] When manual switching is adopted, the output demand of the motor is manually identified, the maximum speed and maximum torque required by the motor are determined, the corresponding working mode is selected according to the maximum speed and maximum torque, and a working mode switching instruction is generated. The motor receives the working mode switching instruction, controls the motor to switch to the working mode, and adopts the vector control strategy corresponding to the working mode to control the motor.
[0057] Specifically, when a user uses an electric tool, when the usage scenario requires rated speed and rated torque, that is, when the speed and load requirements are not high, the user can select the first working mode, and the motor adopts the first vector control strategy in the first working mode.
[0058] When the usage scenario requires high speed and high torque, that is, when the speed and load requirements are high, the user can select the second working mode, and the motor adopts the second vector control strategy in the second working mode.
[0059] When the usage scenario requires high speed and rated torque, that is, when the speed requirement is high and the load requirement is not high, the user can select the third working mode, and the motor adopts the third vector control strategy in the third working mode.
[0060] When the usage scenario requires rated speed and high torque, that is, when the speed requirement is not high but the load requirement is high, the user can select the fourth operating mode, and the motor adopts the fourth vector control strategy in the fourth operating mode.
[0061] Furthermore, a working mode switching unit is provided on the electric tool, which may include buttons, a touch screen, etc. The user operates the working mode switching unit to select a working mode to meet different working conditions.
[0062] Exemplarily, when the given speed is less than or equal to the rated speed and the given torque is less than or equal to the rated torque, the user selects the first working mode. For example, the above control method is applied to a chain saw. When the chain saw is cutting small wood, the speed and torque requirements are not high. The user can select the first working mode through the working mode switching unit to simply and efficiently perform vector control on the motor and perform corresponding work.
[0063] When the given speed is greater than the rated speed and the given torque is greater than the rated torque, the user selects the second working mode. For example, when using a chainsaw to cut a large tree, the user can select the second working mode through the working mode switching unit, and use vector control combining weak magnetic field and overmodulation to keep the motor at a high speed and high torque state, avoiding stalling and easily cutting through wood piles.
[0064] When the given speed is greater than the rated speed and the given torque is less than or equal to the rated torque, the user selects the third working mode. For example, the above-mentioned motor control method is applied to a hair dryer. The load requirement is small, but the speed requirement is high. The user selects the third working mode through the working mode switching unit and adopts weak magnetic vector control to allow the motor to run above the rated speed and increase the air output.
[0065] When the given speed is less than or equal to the rated speed and the given torque is greater than the rated torque, the user selects the fourth working mode. For example, the above-mentioned motor control method is applied to a lawn mower. When the wheels of the lawn mower are stuck in a sunken grass, the torque requirement is higher. The user selects the fourth working mode through the working mode switching unit, and adopts overmodulation vector control to increase the output torque of the lawn mower's travel motor, so that the lawn mower can easily cross the sunken section.
[0066] The motor control method provided in this application is not limited to application in the above examples. The four working modes provided by the above control method can be selected according to actual conditions, and one or more of them can be selected for combination according to working conditions. This application does not impose any restrictions on the selection and combination of working modes.
[0067] It can be seen from the above that the motor control method disclosed in the present invention switches the working mode according to the output demand of the motor and adopts different vector control strategies to meet the motor's requirements for multiple speeds and multiple torque outputs without increasing additional hardware costs, overcomes the defect of the motor having a small load at high speeds, is suitable for richer working scenarios, expands the operating range of the motor, gives full play to the performance of the motor, and effectively saves costs.
[0068] The present application also discloses a motor control device, such as Fig.10 As shown, the control device includes: A detection unit for detecting an output demand of a motor; A working mode switching unit for switching the working mode according to the output demand of the motor; A processing unit that communicates with the working mode switching unit and adopts the above motor control method.
[0069] Furthermore, the working mode switching unit includes an automatic switching unit and / or a manual switching unit.
[0070] When the working mode switching unit is set to an automatic switching unit, the working mode switching unit can be a hardware device with computing and processing capabilities such as a controller. The detection unit detects the current and speed of the motor in real time, determines the output demand of the motor according to the relationship between the current and the threshold current, and the relationship between the speed and the threshold speed, and automatically switches to the corresponding working mode according to the output demand, and controls the motor using the vector control strategy corresponding to the working mode.
[0071] When the working mode switching unit is set as a manual switching unit, the working mode switching unit can be a button, a touch screen, etc., for the user to select and operate. The user identifies the output demand of the motor, determines the maximum speed and maximum torque required by the motor, selects the corresponding working mode according to the maximum speed and maximum torque, and generates a working mode switching instruction. The motor receives the working mode switching instruction, controls the motor to switch to the working mode, and uses the vector control strategy corresponding to the working mode to control the motor.
[0072] Specifically, when a user uses an electric tool, when the usage scenario requires rated speed and rated torque, that is, when the speed and load requirements are not high, the user selects the first working mode through the working mode switching unit, and the motor adopts the first vector control strategy in the first working mode.
[0073] When the usage scenario requires high speed and high torque, that is, when the speed and load requirements are high, the user selects the second working mode through the working mode switching unit, and the motor adopts the second vector control strategy in the second working mode.
[0074] When the usage scenario requires high speed and rated torque, that is, when the speed requirement is high and the load requirement is not high, the user selects the third working mode through the working mode switching unit, and the motor adopts the third vector control strategy in the third working mode.
[0075] When the usage scenario requires rated speed and high torque, that is, the speed requirement is not high but the load requirement is high, the user selects the fourth working mode through the working mode switching unit, and the motor adopts the fourth vector control strategy in the fourth working mode.
[0076] It can be seen that the motor control device provided in the present application automatically switches or manually switches the working mode according to the output requirements of the motor, and adopts different vector control strategies to meet the motor's requirements for multiple speeds and multiple torque outputs without increasing additional hardware costs. It is suitable for a variety of working scenarios, fully utilizes the performance of the motor, broadens the motor's extreme working conditions, and improves the user experience.
[0077] The present application also discloses an electronic device, which includes a memory, a processor, and a computer program stored in the memory and runable on the processor, and the processor executes the computer program to implement the above-mentioned motor control method. The electronic device is a computing device such as a server, a desktop computer, a tablet computer, a cloud server, and a mobile terminal. The memory is a hard disk or memory in the electronic device, or a USB flash drive, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, or a flash card (FlashCard) plugged in the electronic device. The processor can be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
[0078] The present application also discloses a computer-readable medium, which stores a computer program, and the computer program implements the above-mentioned motor control method when executed by a processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0079] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (tools), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0080] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0082] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A motor control method applied to an electric tool, characterized in that: The motor control method comprises: Controlling the output of the motor by a vector control strategy, wherein the vector control strategy includes at least a first vector control strategy and a second vector control strategy; The working mode of the motor is switched according to the output demand of the motor, and the switching method includes automatic switching and / or manual switching; the motor includes at least a first working mode and a second working mode, and in the first working mode, the motor adopts the first vector control strategy, and the motor outputs a first speed and a first torque; in the second working mode, the motor adopts the second vector control strategy, and the motor outputs a second speed and a second torque; wherein, the first vector control strategy and the second vector control strategy are different.
2. The motor control method according to claim 1, characterized in that: When the motor is in the first working mode, the first speed is a rated speed, and the first torque is a rated torque; When the motor is in the second operating mode, the second vector control strategy includes at least vector control combining flux weakening and overmodulation, the second speed is greater than the rated speed, and the second torque is greater than the rated torque.
3. The motor control method according to claim 2, characterized in that: The motor also includes a third operating mode. When the motor is in the third operating mode, a third vector control strategy is adopted. The third vector control strategy at least includes weak magnetic vector control. The motor outputs a third speed and a third torque. The third speed is greater than the rated speed, and the third torque is the rated torque.
4. The motor control method according to claim 2, characterized in that: The motor also includes a fourth operating mode. When the motor is in the fourth operating mode, a fourth vector control strategy is adopted. The fourth vector control strategy at least includes overmodulation vector control. The motor outputs a fourth speed and a fourth torque. The fourth speed is the rated speed, and the fourth torque is greater than the rated torque.
5. The motor control method according to claim 1, characterized in that: The automatic switching method specifically includes: The current and speed of the motor are detected in real time, and the output demand of the motor is determined according to the magnitude relationship between the current and the threshold current, and the magnitude relationship between the speed and the threshold speed. According to the output demand, the motor is automatically switched to a corresponding working mode, and the motor is controlled using a vector control strategy corresponding to the working mode.
6. The motor control method according to claim 1, characterized in that: The manual switching method specifically includes: Manually identify the output demand of the motor, determine the maximum speed and maximum torque required by the motor, select the corresponding working mode according to the maximum speed and maximum torque and generate a working mode switching instruction, the motor receives the working mode switching instruction, controls the motor to switch to the working mode, and adopts the vector control strategy corresponding to the working mode to control the motor.
7. A motor control device, characterized in that: The control device comprises: A detection unit for detecting an output demand of a motor; A working mode switching unit for switching the working mode according to the output demand of the motor; A processing unit communicating with the working mode switching unit adopts the motor control method as claimed in any one of claims 1 to 6.
8. The motor control device according to claim 7, characterized in that: The working mode switching unit includes an automatic switching unit and / or a manual switching unit.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the motor control method according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the motor control method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Electric-motor control method and control apparatus, and electronic device and storage medium
WO2025247177A1
