Method and apparatus for power control, electronic device and storage medium

By obtaining the target operating speed and range comparison of the motor, the operating power of the motor is adjusted, which solves the problem of motor performance degradation and realizes efficient constant power control of the motor in different speed ranges.

CN114710083BActive Publication Date: 2026-02-13GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210236432.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2026-02-13
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Existing constant power control methods cannot effectively adapt to changes in motor speed, leading to a decline in motor performance.

Method used

By obtaining the target operating speed of the target motor, determining its target range, and comparing it with the reference range, the operating power of the motor is adjusted to ensure that the motor maintains high performance in different speed ranges.

Benefits of technology

It achieves constant power control of the motor at different speed ranges, ensuring that the motor maintains high operating performance under various operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114710083B_ABST
    Figure CN114710083B_ABST
Patent Text Reader

Abstract

The application provides a power control method and device, electronic equipment and a storage medium, wherein the method comprises: in the case of determining that a target motor is in normal operation, obtaining a target running speed of the target motor; determining a target interval in which the target running speed is located, obtaining an upper limit value and a lower limit value of the target interval; comparing the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and comparing the upper limit value of the target interval with an upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is another set interval except the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval; and adjusting the running power of the target motor according to the first comparison result and the second comparison result. Through the application, the problem that the motor performance cannot be maintained at a high performance condition when the motor is controlled at a constant power in the related art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of motor control, and particularly relates to a power control method and device, electronic equipment and a storage medium. BACKGROUND

[0002] At present, more and more small high-speed motors are used in household appliances. In order to improve convenience, small household appliances (such as handheld vacuum cleaners) mostly adopt a charging battery power supply mode. Due to the characteristics of battery power supply, small household appliances mostly adopt a constant power control strategy to ensure good working conditions.

[0003] In the prior art, constant power control generally adopts two methods: (1) sampling the bus current and performing PI adjustment to perform constant power control; (2) table lookup, that is, storing a power mapping table corresponding to each excitation voltage in the table, and selecting the operating power through the level of the excitation voltage to achieve constant power control. However, both methods cannot well control the motor, especially when the motor load is light, and based on the characteristics of constant power control, the motor speed rises, and the speed and power cannot be adapted, and the performance will decrease.

[0004] Therefore, in the related art, when the motor is controlled by constant power, the performance of the motor cannot be maintained at a high performance condition. SUMMARY

[0005] The present application provides a power control method and device, electronic equipment and a storage medium to at least solve the problem that the performance of the motor cannot be maintained at a high performance condition when the motor is controlled by constant power in the related art.

[0006] According to an aspect of an embodiment of the present application, a power control method is provided, which includes:

[0007] When it is determined that the target motor is in normal operation, obtaining a target operating speed of the target motor;

[0008] Determining a target interval in which the target operating speed is located, obtaining an upper limit value and a lower limit value of the target interval;

[0009] Comparing the upper limit value of the target interval and the lower limit value of the target interval to obtain a first comparison result, and comparing the upper limit value of the target interval and the upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is another set interval except the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval;

[0010] According to the first comparison result and the second comparison result, adjusting the operating power of the target motor.

[0011] According to another aspect of the embodiments of the present application, there is also provided a power control device, which comprises:

[0012] a first obtaining unit configured to, in a case where it is determined that the target motor is in normal operation, obtain a target operating speed of the target motor;

[0013] an obtaining unit configured to determine a target interval in which the target operating speed is located, and obtain an upper limit value and a lower limit value of the target interval;

[0014] a comparing unit configured to compare the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and compare the upper limit value of the target interval with an upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is a set interval other than the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval;

[0015] an adjusting unit configured to adjust the operating power of the target motor according to the first comparison result and the second comparison result.

[0016] Optionally, the adjusting unit comprises:

[0017] an adjusting module configured to adjust the operating power of the target motor according to the first comparison result and the second comparison result, so that the target motor operates at a first target power or a second target power, wherein the first target power is a power matched with the first speed range, and the second target power is a power obtained by adjusting the first target power.

[0018] Optionally, the adjusting module comprises:

[0019] a first adjusting sub-unit configured to, in a case where the first comparison result is less than a preset threshold value, adjust the target motor to operate at the first target power, wherein the preset threshold value is a critical value for numerically adjusting the first target power;

[0020] or,

[0021] a second adjusting sub-unit configured to, in a case where the second comparison result is greater than or equal to the preset threshold value, adjust the numerical value of the first target power according to an adjustment strategy to obtain the second target power;

[0022] an operating sub-unit configured to adjust the target motor to operate at the second target power.

[0023] Optionally, the second adjusting sub-unit comprises:

[0024] an obtaining sub-module configured to obtain an environmental parameter of the target motor currently operating;

[0025] The adjusting sub-module is configured to adjust the first target power according to the environmental parameter to obtain a second target power.

[0026] Optionally, the adjusting sub-module is configured to: obtain a preset multiple; and increase or decrease the first target power by the preset multiple to obtain the second target power.

[0027] Optionally, the apparatus further comprises:

[0028] The second obtaining unit is configured to obtain a third target power after the target motor operates at the first target power or the second target power according to the first comparison result and the second comparison result.

[0029] The maintaining operating unit is configured to maintain the target motor operating at the third target power when an error between the third target power and the first target power or between the third target power and the second target power is lower than an error threshold.

[0030] Optionally, the first obtaining unit comprises:

[0031] The obtaining module is configured to obtain the bus voltage and the winding current of the target motor.

[0032] The determining module is configured to determine the target operating speed according to the bus voltage and the winding current.

[0033] According to still another aspect of the embodiments of the present application, an electronic device is provided, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus; the memory is configured to store a computer program; and the processor is configured to execute the method steps in any of the above embodiments by running the computer program stored in the memory.

[0034] According to still another aspect of the embodiments of the present application, a computer readable storage medium is provided, which stores a computer program, wherein the computer program is configured to execute the method steps in any of the above embodiments when running.

[0035] In the embodiment of the present application, the target motor is determined to be in normal operation, the target running speed of the target motor is obtained, the target interval in which the target running speed is located is determined, the upper limit value and the lower limit value of the target interval are obtained, the upper limit value of the target interval is compared with the lower limit value of the target interval to obtain a first comparison result, the upper limit value of the target interval is compared with the upper limit value of the reference interval to obtain a second comparison result, the reference interval is a set interval other than the target interval, the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval, and the running power of the target motor is adjusted according to the first comparison result and the second comparison result. Since the motor running state and the real-time speed are used to determine the target speed interval in which the motor falls, the difference between the lower limit of the target interval and the upper limit of the continuous reference interval is compared, the running power of the target motor is adjusted, the target motor is adjusted and operated according to the corresponding interval, the motor can maintain high running performance under different speed intervals, and the problem that the motor performance cannot be maintained at a high performance condition when the motor is controlled at a constant power in the related art is solved. BRIEF DESCRIPTION OF DRAWINGS

[0036] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate an embodiment consistent with the present application and, together with the description, serve to explain the principles of the application.

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.

[0038] Figure 1 is a flowchart of an optional power control method according to an embodiment of the present application;

[0039] Figure 2 is a logic diagram of an optional power control method according to an embodiment of the present application;

[0040] Figure 3 is a determination diagram of the running power corresponding to the speed range according to an embodiment of the present application;

[0041] Figure 4 is a structure block diagram of an optional power control device according to an embodiment of the present application;

[0042] Figure 5 is a structure block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the person skilled in the art better understand the scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person skilled in the art without creative labor should be within the scope of protection of the present application.

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

[0045] At present, more and more small high-speed motors are used in household appliances in the field of motor control. In order to improve convenience, small household appliances (such as handheld vacuum cleaners) mostly adopt the mode of charging battery power supply. Due to the characteristics of battery power supply, small household appliances mostly adopt constant power control strategy to ensure good working state. However, in some current constant power control methods, such as (1) sampling bus current and PI adjusting to control constant power; (2) table lookup method, that is, storing power mapping table corresponding to each excitation voltage in the table, selecting running power through excitation voltage level to realize constant power control. The above two methods cannot well control the motor, especially when the motor load is light, based on the characteristics of constant power control, the motor speed rises, the speed and power cannot be adapted, and the performance will decline. In order to solve the above problems, taking the server as an example, the present application embodiment proposes a power control method, such as Figure 1 The method comprises:

[0046] Step S101, acquiring the target running speed of the target motor under the condition that it is determined that the target motor is in normal operation;

[0047] Step S102, determining the target interval in which the target running speed is located, and obtaining the upper limit value and the lower limit value of the target interval;

[0048] Step S103, comparing the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and comparing the upper limit value of the target interval with the upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is a set interval other than the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval;

[0049] Step S104, adjusting the running power of the target motor according to the first comparison result and the second comparison result.

[0050] Optionally, in the embodiment of the present application, as Figure 2 When it is determined that the target motor is in normal operation, the bus voltage and the winding current are detected, and at the same time, the real-time motor speed is detected by the speed acquisition module with a position sensor. After obtaining the real-time bus voltage, winding current and speed, the real-time bus voltage, winding current and speed information are transmitted to the main control chip (M in the figure) by each detection module. The main control chip calculates the real-time power according to P=UxI by obtaining the winding current and the bus voltage. After obtaining the real-time power and the real-time speed, the main control chip obtains the target running speed.

[0051] When the target motor running speed is 0-40 krpm, it is judged to be in an acceleration state; if the target motor running speed is greater than or equal to 40 krpm, it is judged to be in a stable speed running state. At the same time, two or more target powers and their corresponding speed ranges should be set in the target motor controller MCU.

[0052] In the embodiment of the present application, the target running speed is compared with the upper limit and lower limit of the different speed ranges set in the target motor, the real-time speed range into which the real-time speed falls and the state of the target motor are judged, and the corresponding duty ratio PWM signal is outputted, so that the real-time power is adjusted according to the corresponding power of the speed range into which it falls, and the target motor runs constantly at the power corresponding to the speed range in the speed range. More specifically, after determining that the target running speed is in a certain interval (target interval), the upper and lower limit values of the target interval are obtained, and at the same time, in the embodiment of the present application, in addition to the target interval, a plurality of other reference intervals other than the target interval are set. First, the upper limit value of the target interval is compared with the lower limit value of the target interval to obtain a first comparison result, and then the upper limit value of the target interval is compared with the upper limit value of a reference interval to obtain a second comparison result. Based on the first comparison result and the second comparison result, the running power of the target motor is adjusted to obtain the final running target running power.

[0053] In the embodiment of the present application, the target motor running speed of the target motor is obtained when it is determined that the target motor is in normal operation; the target interval in which the target motor running speed is located is determined, and the upper limit value and the lower limit value of the target interval are obtained; the upper limit value of the target interval and the lower limit value of the target interval are compared to obtain a first comparison result, and the upper limit value of the target interval and the upper limit value of the reference interval are compared to obtain a second comparison result, wherein the reference interval is another set interval except the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval; and the running power of the target motor is adjusted according to the first comparison result and the second comparison result. Since the target motor running speed is determined according to the motor running state and the real-time speed in the embodiment of the present application, and the difference between the upper limit of the target interval and the upper limit of the continuous reference interval is compared, the running power of the target motor is adjusted, so that the target motor is adjusted and operated according to the corresponding interval, and the motor can maintain high running performance under different speed conditions, thereby solving the problem that the motor performance cannot be maintained at a high performance condition when the motor is controlled at a constant power in the related art.

[0054] As an optional embodiment, adjusting the running power of the target motor according to the first comparison result and the second comparison result comprises:

[0055] Adjusting the running power of the target motor according to the first comparison result and the second comparison result, so that the target motor is operated according to the first target power or the second target power, wherein the first target power is the power matched with the first speed range, and the second target power is the power obtained by adjusting the first target power.

[0056] Optionally, in the embodiment of the present application, a preset threshold is first set, which is preferably 10 krpm (i.e. 10 thousand revolutions per minute), as shown in Table 1 and Table 2. In Table 1, there are three speed ranges in total, and in Table 2, there are four speed ranges in total. Among them, only the upper and lower limit values of the first speed range and the first power (i.e. the first target power) corresponding to the range are set in advance. The powers corresponding to the second speed range, the third speed range and the fourth speed range are obtained by comparing the first comparison result with the preset threshold and comparing the second comparison result with the preset threshold.

[0057] Wherein, Table 1 and Table 2 are as follows:

[0058] Table 1

[0059]

[0060] Table 2

[0061]

[0062] For example, in the case that the first comparison result between the upper and lower limit values of each speed range is less than the preset threshold value, the power operation is performed according to Figure 3 That is, when the target operating speed falls within the first speed range, the controller should adjust the calculated real-time power to the first target power corresponding to the first speed range.

[0063] Similarly, when the target operating speed falls within the second speed range, the controller should adjust the calculated real-time power to the second power corresponding to the second speed range.

[0064] Similarly, when the target operating speed falls within the third speed range, the controller should adjust the calculated real-time power to the third power corresponding to the third speed range.

[0065] For example, in the first speed range 75krpm≤ω<85krpm and the second speed range 85krpm≤ω<95krpm, the upper and lower limits of each range are <10krpm, that is, in the first speed range 75krpm≤ω<85krpm, the constant power operation is maintained at the first target power 325W, and in the second speed range 85krpm≤ω<95krpm, the constant power operation is maintained at the second power 342W.

[0066] In addition, in the case that the second comparison result is greater than or equal to the preset threshold value, the adjustment of the operating power in the speed range other than the first speed range is performed in the following manner. Specifically, when the second power corresponding to the second speed range is operated, the second target power 342W is obtained by adjusting the first target power of the first speed range because the speed span of the upper limit speed 95krpm of the second speed range and the upper limit speed 85krpm of the first speed range is ≥10krpm, that is, the value of the first target power is adjusted according to the adjustment strategy to obtain the second target power (including the second power, the third power, and the fourth power). It can be understood that in the embodiments of the present application, the second target power here is a data set, which includes the second power, the third power, and the fourth power in Table 1 and Table 2.

[0067] Similarly, it can be seen from Table 1 and Table 2 that the lower limit speed of the first speed range and the upper limit speed of the second speed range should have continuity, and the lower limit speed of the second speed range and the upper limit speed of the third speed range have continuity, that is, the upper and lower limit values of each speed range are continuous.

[0068] As an optional embodiment, adjusting the value of the first target power according to the adjustment strategy to obtain the second target power includes:

[0069] obtain an environment parameter of a current operation of the target motor;

[0070] adjust the first target power according to the environment parameter to obtain a second target power.

[0071] Optionally, the specific adjustment strategy is: obtaining an environment parameter of a current operation of the target motor, such as that the target fan air inlet is blocked, to adjust the value of the first target power, such as increasing or decreasing the first target power by a preset multiple, to obtain the second target power. The preset multiple can be any value, and is preferably 5%. If the first target power is increased by 5%, the second target power is 1.05 times the first target power. For example, in Embodiment 2, the second power 380W is 1.052 times the first target power 361W. Similarly, when the second speed range is crossed to the third speed range, the third power 361W needs to be greater than the second power 380W by a negative deviation of 5% or more, that is, the third power is decreased by 5%. For example, in Embodiment 2, the third power 361W is 0.95 times the second power 380W.

[0072] In the embodiments of the present application, a plurality of speed ranges and corresponding target powers are set in the control system, the running speed and power are detected in real time, and the actual power is adjusted to the power corresponding to the speed range in which the actual running speed falls, and the corresponding power is kept constant. The motor can be controlled at a constant power in a wide speed range, and the motor can run at a corresponding running power with high efficiency at different running speeds.

[0073] As an optional embodiment, after adjusting the running power of the target motor according to the first comparison result and the second comparison result, the method comprises:

[0074] obtaining a third target power after running according to the first target power or the second target power;

[0075] In the case that the error between the third target power and the first target power or the error between the third target power and the second target power is lower than the error threshold, the target motor is kept running at the third target power.

[0076] Optionally, in the embodiments of the present application, an error threshold, such as 2%, is set. After the target motor runs continuously at the first target power or the second target power, a third target power (i.e. a real-time power) is obtained. When the error between the real-time power and the first target power is not more than 2%, it is considered that the real-time running power has reached the first target power, and the power is kept constant at the actual power. When the error between the real-time power and the second target power is not more than 2%, it is considered that the real-time running power has reached the second target power, and the power is kept constant at the actual power.

[0077] In the embodiment of the present application, after it is determined that the error of real-time power adjustment to the corresponding target power does not exceed the error threshold, the power is maintained constant at the current actual power, thereby saving energy consumption under the working condition.

[0078] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the action sequence described, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.

[0079] From the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk), and includes a number of instructions to make an end device (which can be a mobile phone, a computer, a server, or a network device) execute the methods of the embodiments of the present application.

[0080] According to another aspect of the embodiments of the present application, a power control device for implementing the power control method described above is also provided. Figure 4 is a structural block diagram of an optional power control device according to the embodiments of the present application, as shown in Figure 4 The device can include:

[0081] The first obtaining unit 401 is configured to, in a case where it is determined that the target motor is in normal operation, obtain a target running speed of the target motor.

[0082] The obtaining unit 402 is configured to determine a target interval in which the target running speed is located, and obtain an upper limit value and a lower limit value of the target interval.

[0083] The comparison unit 403 is configured to compare the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and compare the upper limit value of the target interval with an upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is another set interval except the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval.

[0084] The adjusting unit 404 is configured to adjust the running power of the target motor according to the first comparison result and the second comparison result.

[0085] It should be noted that the first obtaining unit 401 in the embodiment can be configured to perform the step S101, the obtaining unit 402 in the embodiment can be configured to perform the step S102, the comparing unit 403 in the embodiment can be configured to perform the step S103, and the adjusting unit 404 in the embodiment can be configured to perform the step S104.

[0086] According to the above modules, the running state of the motor and the real-time rotating speed are determined to fall into the rotating speed target interval, and the difference between the lower limit of the falling target interval and the upper limit of the continuous reference interval is compared, the running power of the target motor is adjusted, the target motor is adjusted and run according to the corresponding interval, and the motor can maintain high running performance under different rotating speed conditions, thereby solving the problem that the motor performance cannot be maintained at a high performance condition when the motor is controlled at a constant power in the related art.

[0087] As an optional embodiment, the adjusting unit comprises:

[0088] The adjusting module is configured to adjust the running power of the target motor according to the first comparison result and the second comparison result, so that the target motor runs at the first target power or the second target power, wherein the first target power is the power matched with the first rotating speed range, and the second target power is the power obtained by adjusting the first target power.

[0089] As an optional embodiment, the adjusting module comprises:

[0090] The first adjusting sub-unit is configured to adjust the target motor to run at the first target power when the first comparison result is less than the preset threshold, wherein the preset threshold is a critical value for numerically adjusting the first target power.

[0091] Alternatively,

[0092] The second adjusting sub-unit is configured to adjust the numerical value of the first target power according to the adjusting strategy to obtain the second target power when the second comparison result is greater than or equal to the preset threshold.

[0093] The running sub-unit is configured to adjust the target motor to run at the second target power.

[0094] As an optional embodiment, the second adjusting sub-unit comprises:

[0095] The obtaining sub-module is configured to obtain the environmental parameter of the target motor currently running.

[0096] The adjusting sub-module is configured to adjust the first target power according to the environmental parameter to obtain a second target power.

[0097] As an optional embodiment, the adjusting sub-module is configured to: obtain a preset multiple; and increase or decrease the first target power by the preset multiple to obtain the second target power.

[0098] As an optional embodiment, the apparatus further comprises:

[0099] The second obtaining unit is configured to obtain a third target power after the target motor operates according to the first target power or the second target power according to the first comparison result and the second comparison result.

[0100] The maintaining operating unit is configured to maintain the target motor operating according to the third target power in a case where an error between the third target power and the first target power or between the third target power and the second target power is lower than an error threshold.

[0101] As an optional embodiment, the first obtaining unit comprises:

[0102] The obtaining module is configured to obtain a bus voltage and a winding current of the target motor.

[0103] The determining module is configured to determine the target operating speed according to the bus voltage and the winding current.

[0104] According to still another aspect of the embodiments of the present application, an electronic device for implementing the method for power control is provided, which can be a server, a terminal, or a combination thereof.

[0105] Figure 5 is a structural block diagram of an optional electronic device according to the embodiments of the present application, as shown in Figure 5 The processor 501, the communication interface 502, and the memory 503 complete communication with each other through the communication bus 504, wherein,

[0106] The memory 503 is configured to store a computer program.

[0107] The processor 501 is configured to execute the computer program stored in the memory 503 to implement the following steps:

[0108] In a case where it is determined that the target motor is in normal operation, a target operating speed of the target motor is obtained.

[0109] A target interval in which the target operating speed is located is determined to obtain an upper limit value and a lower limit value of the target interval.

[0110] The upper limit value of the target interval is compared with the lower limit value of the target interval to obtain a first comparison result, and the upper limit value of the target interval is compared with the upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is a set interval other than the target interval, and the lower limit value of the target interval and the upper limit value of the reference interval have continuity;

[0111] According to the first comparison result and the second comparison result, the operating power of the target motor is adjusted.

[0112] Optionally, in the embodiment, the communication bus can be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 5 Only one thick line is used in the figure, but it does not mean that there is only one bus or only one type of bus.

[0113] The communication interface is used for communication between the electronic device and other devices.

[0114] The memory can include a RAM and can also include a non-volatile memory, for example, at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0115] As an example, as shown in Figure 5 The memory 503 can include, but is not limited to, the first acquisition unit 401, the obtaining unit 402, the comparison unit 403, and the adjustment unit 404 in the power control device. In addition, other module units in the power control device can also be included, but not limited to, which will not be described in detail in this example.

[0116] The processor can be a general processor, which can include but is not limited to: a CPU (Central Processing Unit), a NP (Network Processor), etc.; and can also be a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0117] In addition, the electronic device further includes a display configured to display a result of the power control.

[0118] Optionally, specific examples in the embodiments can refer to the examples described in the above embodiments, and the embodiments will not be described here again.

[0119] Those skilled in the art can understand that, Figure 5 The structure shown is only schematic, and the device for implementing the method of power control can be a terminal device, which can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, etc. Figure 5 It does not limit the structure of the electronic device. For example, the terminal device can further include more or less components (such as a network interface, a display device, etc.) than Figure 5 shown, or have a different configuration from ​ shown.

[0120] Those skilled in the art can understand that all or part of the steps of the various methods of the above embodiments can be completed by instructing the relevant hardware of the terminal device through a program, and the program can be stored in a computer readable storage medium, which can include a flash disk, a ROM, a RAM, a magnetic disk or an optical disk, etc.

[0121] According to another aspect of the embodiments of the present application, a storage medium is also provided. Optionally, in the embodiments, the storage medium can be used for a program code for executing the method of power control.

[0122] Optionally, in the embodiments, the storage medium can be located on at least one of the plurality of network devices in the network shown in the above embodiments.

[0123] Optionally, in the embodiment, the storage medium is configured to store program code for executing the following steps:

[0124] In a case where it is determined that the target motor is in normal operation, obtaining a target running speed of the target motor;

[0125] Determining a target interval in which the target running speed is located, and obtaining an upper limit value and a lower limit value of the target interval;

[0126] Comparing the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and comparing the upper limit value of the target interval with an upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is a set interval other than the target interval, and the lower limit value of the target interval and the upper limit value of the reference interval have continuity;

[0127] Adjusting the running power of the target motor according to the first comparison result and the second comparison result.

[0128] Optionally, specific examples in the embodiment can refer to the examples described in the above-described embodiments, and details are not described herein.

[0129] Optionally, in the embodiment, the storage medium can include, but is not limited to, a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk or an optical disk, and various storage medium that can store program code.

[0130] According to still another aspect of the embodiments of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium; a processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the method steps of power control in any one of the above-described embodiments.

[0131] The serial numbers of the above-described embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0132] The integrated units in the above-described embodiments, if realized in the form of software function units and sold or used as independent products, can be stored in the above-described computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium, and includes a plurality of instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the power control method of the embodiments of the present application.

[0133] In the above-described embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0134] In several embodiments provided in the present application, it should be understood that the disclosed client can be implemented by other manners. Among them, the above-described device embodiments are only schematic, for example, the division of units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between units or modules, which can be electrical or other forms.

[0135] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place or distributed on a plurality of network units. Part or all of the units can be selected to achieve the purpose of the scheme provided in the embodiments according to actual needs.

[0136] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of software functional unit.

[0137] The above is only the preferred embodiment of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should be considered as the protection scope of the present application.

Claims

1. A method of power control, characterized by, The method comprises: In the case of determining that the target motor is in normal operation, obtaining a target running speed of the target motor; Determine the target interval where the target running speed is located, and obtain the upper limit value and the lower limit value of the target interval; Compare the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and compare the upper limit value of the target interval with the upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is another set interval except the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval; According to the first comparison result and the second comparison result, adjust the running power of the target motor; Wherein, according to the first comparison result and the second comparison result, adjusting the running power of the target motor comprises: According to the first comparison result and the second comparison result, the running power of the target motor is adjusted, so that the target motor runs according to the first target power or the second target power, wherein the first target power is the power matched with the first speed range, and the second target power is the power adjusted from the first target power; Wherein, according to the first comparison result and the second comparison result, adjusting the running power of the target motor, so that the target motor runs according to the first target power or the second target power comprises: In the case that the first comparison result is less than a preset threshold, when the target running speed falls within the first speed range, the target motor is adjusted to run according to the first target power, wherein the preset threshold is the critical value of the numerical adjustment of the first target power, and the target interval is the first speed range; In the case that the second comparison result is greater than or equal to the preset threshold, the numerical value of the first target power is adjusted according to the adjustment strategy to obtain the second target power, the reference interval is continuous with the target interval, the reference interval is the first speed range when the target interval is the second speed range, the reference interval is the second speed range when the target interval is the third speed range, and the reference interval is the third speed range when the target interval is the fourth speed range, the second target power includes the second power corresponding to the second speed range, the third power corresponding to the third speed range, and the fourth power corresponding to the fourth speed range; Adjust the target motor to run according to the second target power; Wherein, according to the first comparison result and the second comparison result, adjusting the running power of the target motor comprises: When it is detected that the air inlet of the target motor is blocked, the first target power is increased or decreased by a preset multiple to obtain the second target power.

2. The method of claim 1, wherein, After the method of adjusting the running power of the target motor according to the first comparison result and the second comparison result, the method comprises: Obtaining a third target power after running according to the first target power or the second target power; In a case where an error between the third target power and the first target power or the third target power and the second target power is lower than an error threshold, maintaining the target motor to operate at the third target power.

3. The method of claim 1, wherein, The obtaining the target operating speed of the target motor comprises: obtaining a bus voltage and a winding current of the target motor; determining the target operating speed according to the bus voltage and the winding current.

4. An apparatus for power control, characterized by The apparatus comprises: a first obtaining unit configured to, in a case where it is determined that a target motor is in normal operation, obtain a target operating speed of the target motor; an obtaining unit configured to determine a target interval in which the target operating speed is located, and obtain an upper limit value and a lower limit value of the target interval; a comparing unit configured to compare the upper limit value of the target interval with the lower limit value of the target interval to obtain a first comparison result, and compare the upper limit value of the target interval with an upper limit value of a reference interval to obtain a second comparison result, wherein the reference interval is a set interval other than the target interval, and the lower limit value of the target interval is greater than or equal to the upper limit value of the reference interval; an adjusting unit configured to adjust operating power of the target motor according to the first comparison result and the second comparison result; wherein the adjusting operating power of the target motor according to the first comparison result and the second comparison result comprises: adjusting the operating power of the target motor according to the first comparison result and the second comparison result, so that the target motor operates at a first target power or a second target power, wherein the first target power is a power matched with a first speed range, and the second target power is a power obtained by adjusting the first target power; wherein the adjusting the operating power of the target motor according to the first comparison result and the second comparison result, so that the target motor operates at the first target power or the second target power comprises: in a case where the first comparison result is less than a preset threshold, adjusting the target motor to operate at the first target power when the target operating speed falls within the first speed range, wherein the preset threshold is a critical value for numerically adjusting the first target power, and the target interval is the first speed range; in a case where the second comparison result is greater than or equal to the preset threshold, adjusting a value of the first target power according to an adjustment strategy to obtain the second target power, the reference interval is continuous with the target interval, the reference interval is the first speed range when the target interval is a second speed range, the reference interval is the second speed range when the target interval is a third speed range, the reference interval is the third speed range when the target interval is a fourth speed range, and the second target power comprises a second power corresponding to the second speed range, a third power corresponding to the third speed range, and a fourth power corresponding to the fourth speed range; adjusting the target motor to operate at the second target power. The adjusting the value of the first target power according to the adjustment strategy to obtain the second target power comprises: When it is detected that the target motor air port is blocked, the first target power is increased or decreased by a preset multiple to obtain the second target power.

5. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein, The processor, the communication interface and the memory complete mutual communication through a communication bus, and the method comprises the following steps: The memory is used for storing a computer program. The processor is used for executing the method steps of any one of claims 1 to 3 by running the computer program stored on the memory.

6. A computer readable storage medium, characterized in that, The storage medium stores a computer program, and the computer program is executed by the processor to implement the method steps in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Method and apparatus for improved motor control through current / velocity correction

    US20030080708A1