Motor control method and device based on carrier frequency

By adjusting the carrier frequency according to the motor running frequency and winding wiring type, the controller loss problem caused by carrier frequency adjustment is solved, and the efficiency and stability of the motor at different frequencies is improved.

CN118889933APending Publication Date: 2024-11-01ZHUHAI GREE REFRIGERATION TECH CENT OF ENERGY SAVING & ENVIRONMENTAL PROTECTION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410945738.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

When the prior art adjusts the carrier frequency to improve motor efficiency, it will increase controller losses, thereby reducing system efficiency.

Method used

By obtaining the current operating frequency of the motor, comparing it with the preset threshold, determining the appropriate carrier frequency, and adjusting accordingly accordingly according to the wiring type of the winding, ensuring that the motor uses low-speed carrier frequency at low frequency and high-speed carrier frequency at high frequency. To avoid increased controller loss.

Benefits of technology

It achieves the improvement of motor efficiency while avoiding increased controller losses, ensuring that the motor is efficient at low frequencies and operates stably at high frequencies, solving the problem of system efficiency degradation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889933A_ABST
    Figure CN118889933A_ABST
Patent Text Reader

Abstract

The invention discloses a motor control method and device based on carrier frequency. The method comprises the following steps: acquiring the current operation frequency of a motor; the current operation frequency is compared with a first preset threshold value and a second preset threshold value, and a first comparison result is obtained; when the first comparison result shows that the current operation frequency is lower than the first preset threshold value, determining that a first carrier frequency for adjusting the motor is a low-speed carrier frequency; when the first comparison result shows that the current operation frequency is higher than a second preset threshold value, determining that a first carrier frequency for adjusting the motor is a high-speed carrier frequency which is higher than a carrier frequency threshold value; and controlling the motor to operate at the first carrier frequency. According to the method and the device, the technical problem that the system efficiency is reduced due to loss of the controller when the motor efficiency is improved by correspondingly adjusting the carrier frequency in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor drive technology, and in particular to a motor control method and device based on carrier frequency. Background Art

[0002] In recent years, high-speed permanent magnet synchronous motors have been increasingly used in the refrigeration industry. In order to ensure the stability of the motor's high-frequency operation, the back-EMF coefficient must be reduced when designing the motor. The reduction in the back-EMF coefficient will lead to a decrease in low-frequency energy efficiency. The cut-winding motor can change its back-EMF coefficient by changing the connection state of the winding, so that the back-EMF coefficient is higher when the motor runs at low frequency, and lower when it runs at high frequency. In this way, both low-frequency energy efficiency is guaranteed and high-frequency stable operation can be met.

[0003] In order to meet the high-frequency operation of the compressor, the back EMF of the motor is generally designed to be relatively low, which will cause its low-frequency energy efficiency to deteriorate. An existing motor structure uses a star connection when the motor runs at a low frequency, which has a higher back EMF and improves the motor efficiency; when the motor runs at a high frequency, a triangle connection is used, which has a lower back EMF and can widen the frequency range of high-speed operation.

[0004] However, increasing the carrier frequency can indeed reduce harmonics to a certain extent, but it will also increase controller losses, and the increase in controller losses is greater than the decrease in motor losses caused by harmonic reduction. Therefore, when operating at low frequencies, increasing the carrier frequency will improve motor efficiency, but system efficiency will decrease.

[0005] Currently, no effective solution has been proposed to solve the problem that in the above-mentioned related technologies, improving the motor efficiency by adjusting the carrier frequency accordingly will cause losses to the controller, resulting in a decrease in system efficiency. Summary of the invention

[0006] The embodiments of the present invention provide a motor control method and device based on carrier frequency, so as to at least solve the technical problem in the related art that while improving the motor efficiency by adjusting the carrier frequency accordingly, it will cause loss to the controller, resulting in reduced system efficiency.

[0007] According to one aspect of an embodiment of the present invention, a motor control method based on carrier frequency is provided, including: obtaining a current operating frequency of the motor; comparing the current operating frequency with a first preset threshold and a second preset threshold, respectively, to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; and controlling the motor to operate at the first carrier frequency.

[0008] Optionally, when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency includes: when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first connection type of the winding in the motor is a star connection, wherein the first connection type is a connection method between multiple coils in the winding; when the first connection type is the star connection, determining that the first carrier frequency for adjusting the motor is the low-speed carrier frequency; when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, including: when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first connection type of the winding in the motor is a triangle connection; when the first connection type is the triangle connection, determining that the first carrier frequency is the high-speed carrier frequency.

[0009] Optionally, the motor control method based on carrier frequency also includes: in the process of controlling the motor to operate at the first carrier frequency, obtaining the real-time operating frequency of the motor, wherein the first carrier frequency is the carrier frequency corresponding to the first connection type; comparing the real-time operating frequency with the first preset threshold and the second preset threshold respectively to obtain a second comparison result; when the second comparison result is different from the first comparison result and the real-time operating frequency is not in the range between the first preset threshold and the second preset threshold, controlling the winding of the motor to switch the connection mode between multiple coils to a second connection type, wherein the second connection type is a connection type between star connection and triangle connection that is different from the first connection type; controlling the motor to operate at the second carrier frequency, wherein the second carrier frequency is a carrier frequency between the low-speed carrier frequency and the high-speed carrier frequency that is different from the first carrier frequency, and the second carrier frequency is a carrier frequency corresponding to the second connection type.

[0010] Optionally, controlling the motor to operate at a second carrier frequency includes: controlling the winding to switch the first connection type to the second connection type when the motor is in a stopped state, and after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjusting the first carrier frequency to the second carrier frequency through the controller of the motor; controlling the motor to start operating at the second carrier frequency.

[0011] Optionally, controlling the motor to operate at a second carrier frequency includes: while controlling the winding to switch the first connection type to the second connection type when the motor is in a non-stop state, obtaining the second carrier frequency corresponding to the second connection type; obtaining the carrier adjustment frequency of the controller of the motor, wherein the carrier adjustment frequency is the amount of change in the carrier frequency within each change cycle; adjusting the first carrier frequency based on the carrier adjustment frequency according to the change cycle by the controller until it is adjusted to the second carrier frequency; and controlling the motor to operate at the second carrier frequency.

[0012] Optionally, adjusting the first carrier frequency based on the carrier adjustment frequency according to the change period by the controller until it is adjusted to the second carrier frequency includes: a calculation step of calculating an intermediate carrier frequency based on the first carrier frequency and the carrier adjustment frequency using a first formula, wherein the first formula is: f 中间 =f1+k*Δf,f 中间represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is the intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparison step, comparing the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an updating step, when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, updating the first carrier frequency to a value corresponding to the intermediate carrier frequency, and recalculating the intermediate carrier frequency using the first formula; repeating the calculation step, the comparison step and the update step until the intermediate carrier frequency is the same as the second carrier frequency.

[0013] Optionally, before calculating the intermediate carrier frequency using the first formula based on the first carrier frequency and the carrier adjustment frequency, the motor control method based on carrier frequency also includes: comparing the first carrier frequency and the second carrier frequency to obtain a third comparison result; when it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency, determining that the value of the direction factor is 1; when it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency, determining that the value of the direction factor is -1.

[0014] According to another aspect of an embodiment of the present invention, a motor control device based on carrier frequency is also provided, including: a first acquisition unit, used to acquire the current operating frequency of the motor; a second acquisition unit, used to compare the current operating frequency with a first preset threshold and a second preset threshold, respectively, to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; a first determination unit, used to determine that the first carrier frequency for adjusting the motor is a low-speed carrier frequency when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; a second determination unit, used to determine that the first carrier frequency for adjusting the motor is a high-speed carrier frequency when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; a first control unit, used to control the motor to operate at the first carrier frequency.

[0015] Optionally, the first determination unit includes: a first determination module, used to determine that the first connection type of the winding in the motor is a star connection when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the first connection type is a connection method between multiple coils in the winding; a second determination module, used to determine that the first carrier frequency for adjusting the motor is the low-speed carrier frequency when the first connection type is the star connection; the second determination unit includes: a third determination module, used to determine that the first connection type of the winding in the motor is a triangle connection when the first comparison result indicates that the current operating frequency is higher than the second preset threshold; a fourth determination module, used to determine that the first carrier frequency is the high-speed carrier frequency when the first connection type is the triangle connection.

[0016] Optionally, the motor control device based on carrier frequency also includes: a second acquisition unit, used to acquire the real-time operating frequency of the motor during the process of controlling the motor to operate at the first carrier frequency, wherein the first carrier frequency is a carrier frequency corresponding to the first wiring type; a third acquisition unit, used to compare the real-time operating frequency with the first preset threshold and the second preset threshold respectively to obtain a second comparison result; a second control unit, used to control the winding of the motor to switch the connection mode between multiple coils to a second wiring type when the second comparison result is different from the first comparison result and the real-time operating frequency is not in the range between the first preset threshold and the second preset threshold, wherein the second wiring type is a wiring type different from the first wiring type between star wiring and triangle wiring; a third control unit, used to control the motor to operate at a second carrier frequency, wherein the second carrier frequency is a carrier frequency different from the first carrier frequency between the low-speed carrier frequency and the high-speed carrier frequency, and the second carrier frequency is a carrier frequency corresponding to the second wiring type.

[0017] Optionally, the third control unit includes: a first adjustment module, used to control the winding to switch the first connection type to the second connection type when the motor is in a stopped state, and after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjust the first carrier frequency to the second carrier frequency through the controller of the motor; a first control module, used to control the motor to start running at the second carrier frequency.

[0018] Optionally, the third control unit includes: a first acquisition module, used to obtain the second carrier frequency corresponding to the second connection type when controlling the winding to switch the first connection type to the second connection type when the motor is in a non-stop state; a second acquisition module, used to obtain the carrier adjustment frequency of the controller of the motor, wherein the carrier adjustment frequency is the change in the carrier frequency within each change cycle; a second adjustment module, used to adjust the first carrier frequency based on the carrier adjustment frequency according to the change cycle through the controller until it is adjusted to the second carrier frequency; a second control module, used to control the motor to operate at the second carrier frequency.

[0019] Optionally, the second adjustment module includes: a calculation submodule, configured to calculate the intermediate carrier frequency using a first formula based on the first carrier frequency and the carrier adjustment frequency, wherein the first formula is: f 中间 =f1+k*Δf,f 中间 represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is the intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparison submodule is used to compare the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an update submodule is used to update the first carrier frequency to a value corresponding to the intermediate carrier frequency when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, and recalculate the intermediate carrier frequency using the first formula; an execution submodule is used to repeatedly execute the calculation submodule, the comparison submodule and the update submodule until the intermediate carrier frequency is the same as the second carrier frequency.

[0020] Optionally, the motor control device based on carrier frequency also includes: an acquisition submodule, used to compare the first carrier frequency and the second carrier frequency to obtain a third comparison result before calculating the intermediate carrier frequency based on the first carrier frequency and the carrier adjustment frequency using a first formula; a first determination submodule, used to determine that the value of the direction factor is 1 when it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency; and a second determination submodule, used to determine that the value of the direction factor is -1 when it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency.

[0021] According to another aspect of the embodiments of the present invention, a motor control system based on carrier frequency is further provided. The motor control system based on carrier frequency uses any one of the motor control methods based on carrier frequency described above.

[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned motor control methods based on carrier frequency.

[0023] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein when the program is run, any one of the above-mentioned motor control methods based on carrier frequency is executed.

[0024] According to another aspect of an embodiment of the present invention, a computer program product is further provided, comprising computer instructions, wherein when the computer instructions are executed by a processor, any one of the above-mentioned motor control methods based on carrier frequency is executed.

[0025] In an embodiment of the present invention, the current operating frequency of the motor is obtained; the current operating frequency is compared with the first preset threshold and the second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, the first carrier frequency for adjusting the motor is determined to be a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, the first carrier frequency for adjusting the motor is determined to be a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; the motor is controlled to operate at the first carrier frequency. Through the above technical scheme, the purpose of controlling the motor to operate at a lower carrier frequency when the operating frequency is lower and to operate at a higher carrier frequency when the operating frequency is higher is achieved, and the technical effect of avoiding increasing the loss of the controller while improving the motor efficiency is achieved, which not only ensures the energy efficiency of the motor at a lower operating frequency, but also ensures the stable operation of the motor at a higher operating frequency, thereby solving the technical problem in the related technology that the motor efficiency is improved by adjusting the carrier frequency accordingly, which will cause loss to the controller and reduce the system efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 1 is a hardware structure block diagram of a mobile terminal of a motor control method based on carrier frequency according to an embodiment of the present invention;

[0028] Figure 2 is a flow chart of a motor control method based on carrier frequency according to an embodiment of the present invention;

[0029] Figure 3 is a flow chart of switching control when the motor is stopped according to an embodiment of the present invention;

[0030] Figure 4 is a flow chart of switching control without stopping the motor according to an embodiment of the present invention;

[0031] Figure 5 is a schematic diagram of system efficiency at different carrier frequencies when the motor operating frequency is low according to an embodiment of the present invention;

[0032] Figure 6 is a schematic diagram of a motor control device based on carrier frequency according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] As introduced in the background technology, in the related art, the motor efficiency is improved by adjusting the carrier frequency accordingly, which will cause loss to the controller and reduce the system efficiency. In view of the above defects, a motor control method and device based on carrier frequency are provided in an embodiment of the present invention.

[0036] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0037] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a motor control method based on carrier frequency according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0038] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the motor control method based on carrier frequency in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0039] According to an embodiment of the present invention, a method embodiment of a motor control method based on carrier frequency is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0040] Figure 2 is a flow chart of a motor control method based on carrier frequency according to an embodiment of the present invention, such as Figure 2 As shown, the method comprises the following steps:

[0041] Step S202, obtaining the current operating frequency of the motor.

[0042] In this embodiment, the target operating frequency of the motor can be obtained before the motor is turned on, and then the motor can be started and run at the target operating frequency; the current operating frequency of the motor can also be obtained during the operation of the motor; in fact, both are for obtaining the operating frequency of the motor in the current state.

[0043] Step S204: Compare the current operating frequency with the first preset threshold and the second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold.

[0044] In this embodiment, the current operating frequency of the motor can be compared with a preset threshold (including a first preset threshold and a second preset threshold) to determine whether the motor is currently in low-frequency operation or high-frequency operation; specifically, when the current operating frequency is lower than the first preset threshold, it can be considered that the motor is currently in a low-frequency operation state; when the current operating frequency is higher than the second preset threshold, it can be considered that the motor is currently in a high-frequency operation state; when the current operating frequency is within the range between the first preset threshold and the second preset threshold, that is, when the current operating frequency is not lower than the first preset threshold and not higher than the second preset threshold, it can be considered that the motor is currently in a medium-frequency operation state; the first preset threshold here is less than the second preset threshold.

[0045] It should be noted that the embodiments of the present invention mainly focus on how to adjust the carrier frequency when the motor is in the two states of low-frequency operation and high-frequency operation, so as to achieve precise control and regulation of the motor, thereby improving the performance of the motor; the state where the motor is in medium-frequency operation is not described in detail.

[0046] Step S206, when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determine that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold.

[0047] In this embodiment, when the current operating frequency of the motor is lower than the first preset threshold, that is, the motor is in a low-frequency operating state, a lower low-speed carrier frequency is used to adjust the motor.

[0048] According to the above embodiment of the present invention, in the above step S206, when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, it is determined that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, including: when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, it is determined that the first connection type of the winding in the motor is a star connection, wherein the first connection type is a connection method between multiple coils in the winding; when the first connection type is a star connection, it is determined that the first carrier frequency for adjusting the motor is a low-speed carrier frequency.

[0049] In this embodiment, when the motor is in low-frequency operation, the connection method between the coils of the winding in the motor is star connection; when the winding adopts the star connection method, a lower low-speed carrier frequency can be used to adjust the motor.

[0050] Step S208, when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determine that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold.

[0051] In this embodiment, when the current operating frequency of the motor is higher than the second preset threshold, that is, the motor is in a high-frequency operating state, a higher high-speed carrier frequency is used to adjust the motor.

[0052] According to the above embodiment of the present invention, in the above step S208, when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, the first carrier frequency for adjusting the motor is determined to be a high-speed carrier frequency, including: when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first connection type of the winding in the motor is a delta connection; when the first connection type is a delta connection, determining that the first carrier frequency is a high-speed carrier frequency.

[0053] In this embodiment, when the motor is in high-frequency operation, the connection method used between the coils of the windings in the motor (i.e., the first connection type) is a triangle connection; when the windings adopt the triangle connection method, a higher high-speed carrier frequency can be used to adjust the motor.

[0054] Step S210, controlling the motor to operate at a first carrier frequency.

[0055] In this embodiment, after the analysis in the above steps, the motor can be controlled to run at a corresponding carrier frequency.

[0056] In one embodiment of the present invention, the motor control method based on carrier frequency also includes: in the process of controlling the motor to operate at a first carrier frequency, obtaining the real-time operating frequency of the motor, wherein the first carrier frequency is a carrier frequency corresponding to the first wiring type; comparing the real-time operating frequency with the first preset threshold and the second preset threshold respectively to obtain a second comparison result; when the second comparison result is different from the first comparison result and the real-time operating frequency is not in the range between the first preset threshold and the second preset threshold, controlling the winding of the motor to switch the connection mode between multiple coils to a second wiring type, wherein the second wiring type is a wiring type different from the first wiring type between star wiring and triangle wiring; controlling the motor to operate at a second carrier frequency, wherein the second carrier frequency is a carrier frequency different from the first carrier frequency between a low-speed carrier frequency and a high-speed carrier frequency, and the second carrier frequency is a carrier frequency corresponding to the second wiring type.

[0057] Specifically, in the process of controlling the motor to operate at the first carrier frequency obtained by the analysis in the above steps, the real-time operating frequency of the motor is also monitored in real time, and the real-time operating frequency is compared with the first preset threshold and the second preset threshold respectively to determine whether the operating state of the motor has changed; if it is monitored that the operating state of the motor has changed, it is necessary to make corresponding adjustments to the connection method between the coils in the winding and the carrier frequency.

[0058] For example, if the motor is initially in a low-frequency operation state, and after a period of time the motor's operation state is switched to high-frequency operation, it is necessary to switch the connection mode between the coils from star connection to triangle connection, and adjust the low-speed carrier frequency to high-speed carrier frequency; if the motor is initially in a high-frequency operation state, and after a period of time the motor's operation state is switched to low-frequency operation, it is necessary to switch the connection mode between the coils from triangle connection to star connection, and adjust the high-speed carrier frequency to low-speed carrier frequency, so as to better control the operation of the motor.

[0059] It should be noted that the switching in the above process may occur more than once during the operation of the motor, and the motor needs to be monitored in real time so that timely adjustments can be made when the operating frequency of the motor changes and corresponding adjustments need to be made. The first wiring type and the first carrier frequency mentioned in the embodiment of the present invention represent the connection method of the coils in the winding and the required carrier frequency before each switching of the motor's operating state. The second wiring type and the second carrier frequency represent the connection method of the coils in the winding and the required carrier frequency after each switching of the motor's operating state. The first and second here are only used to distinguish the differences in connection methods and carrier frequencies before and after each switching of the motor's operating state. The specific connection method and carrier frequency to be adopted need to be analyzed according to the specific situation of the technical scheme provided in the above embodiment of the present invention.

[0060] In a specific embodiment of the present invention, controlling the motor to operate at a second carrier frequency includes: when the control winding switches the first connection type to the second connection type when the motor is in a stopped state, after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjusting the first carrier frequency to the second carrier frequency through the controller of the motor; controlling the motor to start running at the second carrier frequency.

[0061] Combine the following Figure 3 The above embodiments of the present invention are described in detail. Figure 3 is a flow chart of switching control when the motor is stopped according to an embodiment of the present invention.

[0062] like Figure 3 As shown, when the switching condition is met, the motor is first controlled to stop, then the connection method of the coil in the winding is switched from the first connection type to the second connection type, and then the carrier frequency is adjusted from the original first carrier frequency to the second carrier frequency, and finally the motor is controlled to start running at the second carrier frequency.

[0063] The switching condition here refers to the switching condition of the winding, which is actually whether the change in the motor's operating state has reached the switching condition of the winding (for example, when the motor switches from low-frequency operation to high-frequency operation, it means that the change in the motor's operating state has reached the switching condition of the winding). When the winding is switched, the carrier frequency must also be adjusted accordingly.

[0064] In addition, it should be noted that when judging whether the change in the operating state of the motor has reached the winding switching condition, it is not limited to judging from the changes in the operating frequency of the motor. A comprehensive judgment can be made from multiple aspects such as current, voltage, speed, temperature, etc. The specific analysis can be carried out in combination with the design and working requirements of the motor, which will not be repeated here.

[0065] In another specific embodiment of the present invention, controlling the motor to operate at a second carrier frequency includes: when the control winding switches the first wiring type to the second wiring type when the motor is in a non-stop state, obtaining the second carrier frequency corresponding to the second wiring type; obtaining the carrier adjustment frequency of the motor controller, where the carrier adjustment frequency is the change amount of the carrier frequency in each change cycle; adjusting the first carrier frequency by the controller according to the change cycle based on the carrier adjustment frequency until it is adjusted to the second carrier frequency; and controlling the motor to operate at the second carrier frequency.

[0066] The following combines Figure 4 to elaborate on the above embodiments of the present invention in detail. Figure 4 is a flowchart of switching control in the non-stop state of the motor according to an embodiment of the present invention.

[0067] As Figure 4 shown, when the switching condition is reached, directly switch the connection mode of the coils in the winding from the first wiring type to the second wiring type, and then adjust the first carrier frequency once every change cycle by using a carrier frequency change rate (i.e., the carrier adjustment frequency) to slowly adjust the first carrier frequency to the second carrier frequency, and finally control the motor to operate at the second carrier frequency.

[0068] In the specific implementation process, the first carrier frequency and the second carrier frequency can be compared first to obtain a third comparison result; when it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency, determine that the value of the direction factor is 1; when it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency, determine that the value of the direction factor is -1.

[0069] As above Figure 4 shown, when f2 > f1, it means that the carrier frequency needs to be adjusted from low to high, so the direction factor k = 1 is taken; when f2 < f1, it means that the carrier frequency needs to be adjusted from high to low, so the direction factor k = -1 is taken, where f2 is the second carrier frequency and f1 is the first carrier frequency.

[0070] Specifically, in the above embodiments of the present invention, adjusting the first carrier frequency by the controller according to the change cycle based on the carrier adjustment frequency until it is adjusted to the second carrier frequency includes: a calculation step of calculating an intermediate carrier frequency based on the first carrier frequency and the carrier adjustment frequency by using a first formula, where the first formula is: f 中间 = f1 + k * Δf, f 中间represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is the intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparison step, comparing the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an updating step, when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, updating the first carrier frequency to a value corresponding to the intermediate carrier frequency, and recalculating the intermediate carrier frequency using the first formula; and repeatedly executing the calculation step, the comparison step and the updating step until the intermediate carrier frequency is the same as the second carrier frequency.

[0071] As above Figure 4 As shown, first, according to the first carrier frequency f1, the direction factor k and the carrier frequency adjustment Δf according to the formula f 中间 =f1+k*Δf to calculate the intermediate carrier frequency. When the intermediate carrier frequency is not equal to the second carrier frequency f2, continue to calculate the next change cycle until the intermediate carrier frequency is the same as the second carrier frequency. The intermediate carrier frequency here is the intermediate quantity in the process of slowly adjusting the first carrier frequency to the second carrier frequency, and its value is continuously iterated in this process.

[0072] It can be seen from the above that, through the technical solution provided by the above embodiment of the present invention, the current operating frequency of the motor can be obtained; the current operating frequency is compared with the first preset threshold and the second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, it is determined that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, it is determined that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; the motor is controlled to operate at the first carrier frequency, so as to achieve the purpose of controlling the motor to operate at a lower carrier frequency when the operating frequency is lower and to operate at a higher carrier frequency when the operating frequency is higher, and to achieve the technical effect of avoiding increasing the loss of the controller while improving the motor efficiency, which not only ensures the energy efficiency of the motor at a lower operating frequency, but also ensures the stable operation of the motor at a higher operating frequency.

[0073] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problem in the related art that while improving the motor efficiency by adjusting the carrier frequency accordingly, it will cause losses to the controller, resulting in a decrease in system efficiency.

[0074] Combine the following Figure 5 The above embodiments of the present invention are described in detail. Figure 5is a schematic diagram of system efficiency at different carrier frequencies when the motor operating frequency is low according to an embodiment of the present invention; Figure 5 As shown, when the motor operating frequency is low, that is, when it is in low-frequency operation, the system efficiency of the motor operating at a lower carrier frequency is higher than the system efficiency of the motor operating at a higher carrier frequency; therefore, through the technical solution provided by the above embodiment of the present invention, the motor is controlled to operate at a lower carrier frequency when the operating frequency is low, and to operate at a higher carrier frequency when the operating frequency is high, thereby avoiding a decrease in system efficiency.

[0075] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0077] According to an embodiment of the present invention, there is also provided a motor control device based on carrier frequency for implementing the motor control method based on carrier frequency. Figure 6 is a schematic diagram of a motor control device based on carrier frequency according to an embodiment of the present invention, such as Figure 6 As shown, the device includes: a first acquisition unit 61, a second acquisition unit 63, a first determination unit 65, a second determination unit 67, and a first control unit 69. The motor control device based on carrier frequency is described in detail below.

[0078] The first acquisition unit 61 is used to acquire the current operating frequency of the motor.

[0079] The second acquisition unit 63 is used to compare the current operating frequency with the first preset threshold and the second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is smaller than the second preset threshold.

[0080] The first determination unit 65 is used to determine that the first carrier frequency for adjusting the motor is a low-speed carrier frequency when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold.

[0081] The second determination unit 67 is used to determine that the first carrier frequency for adjusting the motor is a high-speed carrier frequency when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold.

[0082] The first control unit 69 is used to control the motor to operate at a first carrier frequency.

[0083] It should be noted here that the above-mentioned first acquisition unit 61, second acquisition unit 63, first determination unit 65, second determination unit 67, and first control unit 69 correspond to steps S202 to S210 in the above-mentioned embodiments, and the five units are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0084] As can be seen from the above, in the scheme recorded in the above embodiment of the present invention, the first acquisition unit can be used to acquire the current operating frequency of the motor; then the second acquisition unit is used to compare the current operating frequency with the first preset threshold and the second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; then the first determination unit is used to determine that the first carrier frequency for adjusting the motor is a low-speed carrier frequency when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; the second determination unit can also be used to determine that the first carrier frequency for adjusting the motor is a high-speed carrier frequency when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; finally, the first control unit is used to control the motor to operate at the first carrier frequency, so as to achieve the purpose of controlling the motor to operate at a lower carrier frequency when the operating frequency is lower and to operate at a higher carrier frequency when the operating frequency is higher, and to achieve the technical effect of avoiding increasing the loss of the controller while improving the motor efficiency, which not only ensures the energy efficiency of the motor at a lower operating frequency, but also ensures the stable operation of the motor at a higher operating frequency.

[0085] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problem in the related art that while improving the motor efficiency by adjusting the carrier frequency accordingly, it will cause losses to the controller, resulting in a decrease in system efficiency.

[0086] Optionally, the first determination unit includes: a first determination module, used to determine that the first connection type of the winding in the motor is a star connection when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the first connection type is a connection method between multiple coils in the winding; a second determination module, used to determine that the first carrier frequency for adjusting the motor is a low-speed carrier frequency when the first connection type is a star connection; the second determination unit includes: a third determination module, used to determine that the first connection type of the winding in the motor is a triangle connection when the first comparison result indicates that the current operating frequency is higher than the second preset threshold; a fourth determination module, used to determine that the first carrier frequency is a high-speed carrier frequency when the first connection type is a triangle connection.

[0087] Optionally, the motor control device based on carrier frequency also includes: a second acquisition unit, used to acquire the real-time operating frequency of the motor during the process of controlling the motor to operate at a first carrier frequency, wherein the first carrier frequency is a carrier frequency corresponding to the first connection type; a third acquisition unit, used to compare the real-time operating frequency with the first preset threshold and the second preset threshold respectively to obtain a second comparison result; a second control unit, used to control the winding of the motor to switch the connection mode between multiple coils to a second connection type when the second comparison result is different from the first comparison result and the real-time operating frequency is not in the range between the first preset threshold and the second preset threshold, wherein the second connection type is a connection type different from the first connection type between star connection and triangle connection; a third control unit, used to control the motor to operate at a second carrier frequency, wherein the second carrier frequency is a carrier frequency different from the first carrier frequency between a low-speed carrier frequency and a high-speed carrier frequency, and the second carrier frequency is a carrier frequency corresponding to the second connection type.

[0088] Optionally, the third control unit includes: a first adjustment module, used to control the winding to switch the first connection type to the second connection type when the motor is in a stopped state, and after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjust the first carrier frequency to the second carrier frequency through the controller of the motor; a first control module, used to control the motor to start and run at the second carrier frequency.

[0089] Optionally, the third control unit includes: a first acquisition module, used to obtain a second carrier frequency corresponding to the second connection type when the control winding switches the first connection type to the second connection type when the motor is in a non-stop state; a second acquisition module, used to obtain the carrier adjustment frequency of the motor controller, wherein the carrier adjustment frequency is the change in the carrier frequency within each change cycle; a second adjustment module, used to adjust the first carrier frequency based on the carrier adjustment frequency according to the change cycle through the controller until it is adjusted to the second carrier frequency; a second control module, used to control the motor to operate at the second carrier frequency.

[0090] Optionally, the second adjustment module includes: a calculation submodule, configured to calculate the intermediate carrier frequency using a first formula based on the first carrier frequency and the carrier adjustment frequency, wherein the first formula is: f 中间 =f1+k*Δf,f 中间 represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is the intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparison submodule is used to compare the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an update submodule is used to update the first carrier frequency to a value corresponding to the intermediate carrier frequency when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, and recalculate the intermediate carrier frequency using the first formula; an execution submodule is used to repeatedly execute the calculation submodule, the comparison submodule and the update submodule until the intermediate carrier frequency is the same as the second carrier frequency.

[0091] Optionally, the motor control device based on carrier frequency also includes: an acquisition submodule, which is used to compare the first carrier frequency and the second carrier frequency to obtain a third comparison result before calculating the intermediate carrier frequency based on the first carrier frequency and the carrier adjustment frequency using the first formula; a first determination submodule, which is used to determine that the value of the direction factor is 1 when it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency; and a second determination submodule, which is used to determine that the value of the direction factor is -1 when it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency.

[0092] According to another aspect of the embodiments of the present invention, a motor control system based on carrier frequency is further provided. The motor control system based on carrier frequency uses any one of the above motor control methods based on carrier frequency.

[0093] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned motor control methods based on carrier frequency.

[0094] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0095] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining the current operating frequency of the motor; comparing the current operating frequency with a first preset threshold and a second preset threshold, respectively, to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than the carrier frequency threshold; when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; and controlling the motor to operate at the first carrier frequency.

[0096] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: when the first comparison result indicates that the current operating frequency is lower than a first preset threshold, determining that the first connection type of the winding in the motor is a star connection, wherein the first connection type is a connection method between multiple coils in the winding; when the first connection type is a star connection, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency; when the first comparison result indicates that the current operating frequency is higher than a second preset threshold, determining that the first connection type of the winding in the motor is a triangle connection; when the first connection type is a triangle connection, determining that the first carrier frequency is a high-speed carrier frequency.

[0097] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: in the process of controlling the motor to operate at a first carrier frequency, obtaining the real-time operating frequency of the motor, wherein the first carrier frequency is a carrier frequency corresponding to the first connection type; comparing the real-time operating frequency with a first preset threshold and a second preset threshold, respectively, to obtain a second comparison result; when the second comparison result is different from the first comparison result and the real-time operating frequency is not within the range between the first preset threshold and the second preset threshold, controlling the winding of the motor to switch the connection mode between multiple coils to a second connection type, wherein the second connection type is a connection type different from the first connection type between star connection and triangle connection; controlling the motor to operate at a second carrier frequency, wherein the second carrier frequency is a carrier frequency different from the first carrier frequency between a low-speed carrier frequency and a high-speed carrier frequency, and the second carrier frequency is a carrier frequency corresponding to the second connection type.

[0098] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the control winding switches the first connection type to the second connection type when the motor is in a stopped state, after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjusting the first carrier frequency to the second carrier frequency through the controller of the motor; and controlling the motor to start running at the second carrier frequency.

[0099] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the control winding switches the first connection type to the second connection type when the motor is in a non-stop state, obtaining a second carrier frequency corresponding to the second connection type; obtaining a carrier adjustment frequency of the controller of the motor, wherein the carrier adjustment frequency is the amount of change in the carrier frequency within each change cycle; adjusting the first carrier frequency based on the carrier adjustment frequency according to the change cycle by the controller until it is adjusted to the second carrier frequency; and controlling the motor to operate at the second carrier frequency.

[0100] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: a calculation step, calculating the intermediate carrier frequency using a first formula based on the first carrier frequency and the carrier adjustment frequency, wherein the first formula is: f 中间 =f1+k*Δf,f 中间 represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is the intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparison step, comparing the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an updating step, when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, updating the first carrier frequency to a value corresponding to the intermediate carrier frequency, and recalculating the intermediate carrier frequency using the first formula; and repeatedly executing the calculation step, the comparison step and the updating step until the intermediate carrier frequency is the same as the second carrier frequency.

[0101] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: comparing the first carrier frequency and the second carrier frequency to obtain a third comparison result; when it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency, determining that the value of the direction factor is 1; when it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency, determining that the value of the direction factor is -1.

[0102] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the program executes any one of the above-mentioned motor control methods based on carrier frequency when running.

[0103] According to another aspect of an embodiment of the present invention, a computer program product is further provided, comprising computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned motor control methods based on carrier frequency is executed.

[0104] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0105] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0108] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0110] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A motor control method based on carrier frequency, characterized in that: include: Get the current operating frequency of the motor; Compare the current operating frequency with a first preset threshold and a second preset threshold respectively to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; When the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency, wherein the low-speed carrier frequency is a carrier frequency lower than a carrier frequency threshold; When the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first carrier frequency for adjusting the motor is a high-speed carrier frequency, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; The motor is controlled to operate at the first carrier frequency.

2. The motor control method based on carrier frequency according to claim 1, characterized in that: When the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that the first carrier frequency for adjusting the motor is a low-speed carrier frequency includes: When the first comparison result indicates that the current operating frequency is lower than the first preset threshold, determining that a first connection type of the winding in the motor is a star connection, wherein the first connection type is a connection method between multiple coils in the winding; When the first connection type is the star connection, determining that the first carrier frequency for adjusting the motor is the low-speed carrier frequency; When the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first carrier frequency for adjusting the motor is a high-speed carrier frequency includes: When the first comparison result indicates that the current operating frequency is higher than the second preset threshold, determining that the first connection type of the winding in the motor is a delta connection; When the first connection type is the delta connection, the first carrier frequency is determined to be the high-speed carrier frequency.

3. The motor control method based on carrier frequency according to claim 1, characterized in that: Also includes: In the process of controlling the motor to operate at the first carrier frequency, obtaining the real-time operating frequency of the motor, wherein the first carrier frequency is a carrier frequency corresponding to the first connection type; Compare the real-time operating frequency with the first preset threshold and the second preset threshold respectively to obtain a second comparison result; When the second comparison result is different from the first comparison result and the real-time operating frequency is not within the range between the first preset threshold and the second preset threshold, controlling the winding of the motor to switch the connection mode between the plurality of coils to a second connection type, wherein the second connection type is a connection type different from the first connection type between a star connection and a delta connection; The motor is controlled to operate at a second carrier frequency, wherein the second carrier frequency is a carrier frequency different from the first carrier frequency between the low-speed carrier frequency and the high-speed carrier frequency, and the second carrier frequency is a carrier frequency corresponding to a second connection type.

4. The motor control method based on carrier frequency according to claim 3, characterized in that: Controlling the motor to operate at a second carrier frequency includes: In the case where the winding is controlled to switch the first connection type to the second connection type when the motor is in a stopped state, after determining that the motor is stopped and the winding switches the first connection type to the second connection type, adjusting the first carrier frequency to the second carrier frequency through the controller of the motor; The motor is controlled to start running at the second carrier frequency.

5. The motor control method based on carrier frequency according to claim 3, characterized in that: Controlling the motor to operate at a second carrier frequency includes: Under the condition that the winding is controlled to switch the first connection type to the second connection type while the motor is in a non-stop state, obtaining the second carrier frequency corresponding to the second connection type; Acquire a carrier frequency adjustment of a controller of the motor, wherein the carrier frequency adjustment is a change amount of the carrier frequency in each change cycle; adjusting the first carrier frequency by the controller according to the change period based on the carrier adjustment frequency until it is adjusted to the second carrier frequency; The motor is controlled to operate at the second carrier frequency.

6. The motor control method based on carrier frequency according to claim 5, characterized in that: The first carrier frequency is adjusted by the controller based on the carrier adjustment frequency according to the change period until it is adjusted to the second carrier frequency, including: A calculation step, calculating an intermediate carrier frequency using a first formula based on the first carrier frequency and the carrier adjustment frequency, wherein the first formula is: 中间 =f1+k*Δf,f 中间 represents the intermediate carrier frequency, f1 represents the first carrier frequency, Δf represents the carrier adjustment frequency, k represents the direction factor, and the intermediate carrier frequency is an intermediate amount for adjusting the first carrier frequency to the second carrier frequency; a comparing step of comparing the intermediate carrier frequency with the second carrier frequency to obtain a fourth comparison result; an updating step, when it is determined that the fourth comparison result indicates that the intermediate carrier frequency is different from the second carrier frequency, updating the first carrier frequency to a value corresponding to the intermediate carrier frequency, and recalculating the intermediate carrier frequency using the first formula; The calculating step, the comparing step and the updating step are repeatedly performed until the intermediate carrier frequency is the same as the second carrier frequency.

7. The motor control method based on carrier frequency according to claim 6, characterized in that: Before calculating the intermediate carrier frequency by using a first formula based on the first carrier frequency and the carrier adjustment frequency, the method further includes: comparing the first carrier frequency and the second carrier frequency to obtain a third comparison result; When it is determined that the third comparison result indicates that the first carrier frequency is not greater than the second carrier frequency, determining that the value of the direction factor is 1; When it is determined that the third comparison result indicates that the first carrier frequency is greater than the second carrier frequency, the direction factor is determined to have a value of -1.

8. A motor control device based on carrier frequency, characterized in that: include: A first acquisition unit, used to acquire the current operating frequency of the motor; A second acquisition unit, configured to compare the current operating frequency with a first preset threshold and a second preset threshold respectively, to obtain a first comparison result, wherein the first preset threshold is less than the second preset threshold; a first determining unit, configured to determine that a first carrier frequency for adjusting the motor is a low-speed carrier frequency when the first comparison result indicates that the current operating frequency is lower than the first preset threshold, wherein the low-speed carrier frequency is a carrier frequency lower than a carrier frequency threshold; a second determination unit, configured to determine that the first carrier frequency for adjusting the motor is a high-speed carrier frequency when the first comparison result indicates that the current operating frequency is higher than the second preset threshold, wherein the high-speed carrier frequency is a carrier frequency higher than the carrier frequency threshold; The first control unit is used to control the motor to operate at the first carrier frequency.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the motor control method based on carrier frequency according to any one of claims 1 to 7.

10. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the motor control method based on carrier frequency as claimed in any one of claims 1 to 7 is performed.