Air conditioner control method and device, air conditioner, processor and electronic equipment
By detecting the power-limiting conditions when the air conditioner is started, entering the power-limiting mode and adjusting the operating parameters, the problem of repeated tripping of the air conditioner when the appliance is used frequently is solved, improving user comfort and the intelligence of the air conditioner.
Patent Information
- Application Number
- CN202211608848.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-12-14
AI Technical Summary
In the prior art, when multiple electrical appliances are operating simultaneously, turning on the air conditioner may cause the circuit to exceed its tolerance value, repeatedly tripping, affecting user comfort, and there is a lack of effective solutions.
By detecting whether the air conditioner meets the power limit conditions when it starts, it enters the power limit mode, obtains the operating parameters, determines the control conditions and strategies, and adjusts the power and frequency of the air conditioner to adapt to the circuit load to avoid repeated tripping.
Without reducing other electrical appliances, it effectively avoids circuit overload when the air conditioner is turned on, improving user comfort and the intelligence of the air conditioner.
Smart Images

Figure CN116085984B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to air conditioning control, and more specifically, to an air conditioning control method and device, an air conditioner, a processor, and an electronic device. Background Art
[0002] In existing technology, air conditioners can sometimes encounter circuit or air fuse failures or limitations during practical use, resulting in the circuit being unable to withstand high currents. This is particularly true during certain periods when the user has already turned on numerous appliances and then turns on the air conditioner. If the default operating mode requires high cooling or heating, the air conditioner may run at high power, exceeding the circuit's tolerance and causing a trip. Even if the circuit is re-activated, the circuit will trip again upon restart unless electrical consumption is reduced, impacting user comfort.
[0003] With respect to the above-mentioned problems existing in the prior art, no effective solution has been proposed. Summary of the Invention
[0004] The main purpose of this application is to provide an air conditioner control method and device, an air conditioner, a processor and an electronic device to solve the technical problem in the prior art that when multiple electrical appliances are operating at the same time, turning on the air conditioner may exceed the circuit tolerance value and cause repeated tripping without reducing other running electrical appliances, thereby affecting user comfort.
[0005] According to one aspect of an embodiment of the present invention, a method and apparatus for controlling an air conditioner, an air conditioner, a processor, and an electronic device are provided, including: upon detecting that the air conditioner is started, determining whether the air conditioner meets a power limit condition, and if the air conditioner meets the power limit condition, controlling the air conditioner to enter a power limit mode; in the power limit mode, obtaining multiple operating parameters of the air conditioner; determining, based on the multiple operating parameters, the control conditions that the air conditioner meets, and determining, based on the control conditions, a control strategy corresponding to the control conditions; and controlling the operation of the air conditioner according to the control strategy.
[0006] Furthermore, when it is detected that the air conditioner is started, it is determined whether the air conditioner meets the power limit condition, including: obtaining a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determining whether the target cumulative value is greater than or equal to a preset threshold; and when the target cumulative value is greater than or equal to the preset threshold, determining that the air conditioner meets the power limit condition.
[0007] Furthermore, based on multiple operating parameters, the control conditions that the air conditioner meets are determined, and the control strategy corresponding to the control conditions is determined based on the control conditions, including: obtaining the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the previous power-off operation; determining the target power of the air conditioner based on the previous power; obtaining a first preset margin power; calculating the difference between the target power and the first preset margin power to obtain a first target difference power; and determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions based on the current power and the first target difference power.
[0008] Furthermore, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is less than the first target difference power, determining that the air conditioner meets the first control condition, and determining that the control strategy used to control the air conditioner is the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
[0009] Furthermore, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is greater than or equal to the first target difference power, determining the size relationship between the first target difference power, the target power and the current power; through the size relationship, determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions.
[0010] Furthermore, through the size relationship, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined, including: when the current power is greater than or equal to the first target difference power and the current power is less than the target power, determining that the air conditioner meets the second control condition, and determining that the control strategy used to control the air conditioner is the second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner.
[0011] Furthermore, through the size relationship, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined, including: when the current power is greater than or equal to the target power, determining that the air conditioner meets the third control condition, and determining that the strategy corresponding to the third control condition is the third control strategy, wherein the third control strategy is a control strategy for controlling the current operating frequency of the air conditioner to reduce the preset frequency value, and controlling the target frequency of the air conditioner to reduce the preset frequency value.
[0012]
[0013] Among them, P is the current power of the air conditioner, P mis the target power of the air conditioner, and F is the current operating frequency of the air conditioner.
[0014] According to another aspect of an embodiment of the present invention, a control device for an air conditioner is also provided, including: a first control unit, for determining whether the air conditioner meets the power limit condition when detecting that the air conditioner is started, and controlling the air conditioner to enter the power limit mode when the air conditioner meets the power limit condition; a first acquisition unit, for acquiring multiple operating parameters of the air conditioner in the power limit mode; a first determination unit, for determining the control conditions that the air conditioner meets based on the multiple operating parameters, and determining a control strategy corresponding to the control conditions based on the control conditions; and a second control unit, for controlling the operation of the air conditioner based on the control strategy.
[0015] According to another aspect of an embodiment of the present invention, an air conditioner is provided, including a control device for the air conditioner, configured to execute a control method for the air conditioner.
[0016] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program, wherein the program executes a method for controlling an air conditioner.
[0017] According to another aspect of an embodiment of the present invention, a processor is provided. The processor is configured to run a program, wherein the program executes a method for controlling an air conditioner when the program is run.
[0018] According to another aspect of an embodiment of the present invention, an electronic device is also provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for executing an air conditioner control method.
[0019] In an embodiment of the present invention, when it is detected that the air conditioner is started, it is determined whether the air conditioner meets the power limit condition. When the air conditioner meets the power limit condition, the air conditioner is controlled to enter the power limit mode; in the power limit mode, multiple operating parameters of the air conditioner are obtained; based on the multiple operating parameters, the control conditions that the air conditioner meets are determined, and a control strategy corresponding to the control conditions is determined based on the control conditions; based on the control strategy, the operation of the air conditioner is controlled, which solves the technical problem in the prior art that when more electrical appliances are operating at the same time, turning on the air conditioner without reducing other operating electrical appliances may exceed the circuit tolerance value and cause repeated tripping, affecting user comfort. Furthermore, the power is adaptively adjusted by the air conditioner, thereby achieving the technical effect of improving the intelligence of the air conditioner. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0021] Figure 1 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present application; and
[0022] Figure 2 2 is a schematic diagram of a control device for an air conditioner provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention 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 in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0025] 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 are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein. In addition, the terms "including" and "having" and any of their variations 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element or intervening elements may be present. Moreover, in the specification and claims, when it is described that an element is "connected to" another element, the element may be "directly connected to" the other element or "connected to" the other element through a third element.
[0027] As mentioned in the background technology, in the prior art, when many electrical appliances are operating at the same time, turning on the air conditioner without reducing the power of other running appliances may cause the circuit to exceed the tolerance value and cause repeated tripping, thereby affecting the user's comfort. In order to solve the above problem, a typical embodiment of the present application provides an air conditioner control method and device, an air conditioner, a processor and an electronic device.
[0028] According to an embodiment of the present application, a method for controlling an air conditioner is provided.
[0029] Figure 1 This is a flow chart of a method for controlling an air conditioner according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:
[0030] Step S101: When it is detected that the air conditioner is started, it is determined whether the air conditioner meets the power limit condition. If the air conditioner meets the power limit condition, the air conditioner is controlled to enter the power limit mode.
[0031] Step S102: obtaining a plurality of operating parameters of the air conditioner in the power limiting mode.
[0032] In step S103 , control conditions that the air conditioner meets are determined based on the plurality of operating parameters, and a control strategy corresponding to the control conditions is determined based on the control conditions.
[0033] Step S104: Control the operation of the air conditioner according to the control strategy.
[0034] The present application provides a new power mode for an air conditioner. When a user has many household appliances running and the air conditioner cannot be used normally after being turned on according to normal actual needs, the power limiting condition is used to determine whether the air conditioner needs to enter the power limiting mode. In the power limiting mode, the control conditions that the air conditioner meets are determined by the operating parameters of the air conditioner, and the control strategy of the air conditioner is determined to ensure that the air conditioner can operate at a lower operating power and meet the basic usage needs of the user, thereby preventing the air conditioner or other appliances from being completely unusable, resulting in a reduction in user experience and comfort.
[0035] As described above, when it is detected that the air conditioner is started, whether the air conditioner meets the power limit condition is determined, including: obtaining a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determining whether the target cumulative value is greater than or equal to a preset threshold; and determining that the air conditioner meets the power limit condition when the target cumulative value is greater than or equal to the preset threshold.
[0036] Specifically, after the air conditioner is started, the target cumulative value M is first detected after power is turned on. If M ≥ 2, the air conditioner enters the power limit control mode after startup. Whether or not the power limit mode is entered does not affect the subsequent detection process. In this application, in a specific embodiment, the value of M is temporarily set to 2. Considering that the user may directly turn off the power, in order to prevent the power limit mode from being entered after a single power outage, the value is preferably not set to less than 1.
[0037] Furthermore, after the air conditioner is powered on, there are two subsequent operations: one is to start the air conditioner, and the other is to power it off. Only after the air conditioner is powered on and the load begins to run will the M value be increased by 1. This is because the air conditioner has a memory function. If the power is suddenly cut off last time, it will default to power on after powering on again. If the M value is increased by 1 before the load is turned on, it cannot be cleared by turning the air conditioner on and off. Moreover, if the circuit is overpowered when the air conditioner is turned on and the load is not started, it means that the circuit conditions at this time do not support the operation of the air conditioner at all, and the air conditioner will no longer be considered to enter the power limit mode.
[0038] Furthermore, after powering on or activating the load, there are two subsequent operations: shutdown and power-off. When the shutdown operation is executed, the M value is processed as -1, indicating that the air conditioner's workflow is complete without any power outages. If the power is directly cut off, no processing is performed on the M value, and the M value is accumulated once. After the load is activated, the unit updates the current power value P in real time and assigns it to the variable Pn in the memory chip, which serves as a reference when entering power-limiting mode.
[0039] After a certain period of time, T, after the air conditioner loses power, the M value is reset. This operation takes into account that if a circuit overpower occurs, the user may promptly repair it to restore normal operation of the air conditioner. If the user increases the available load of the air conditioner by reducing other electrical appliances, the M value can be reset by manually turning the air conditioner on and off. The T value can be set based on actual experience.
[0040] In an optional embodiment, based on multiple operating parameters, the control conditions that the air conditioner meets are determined, and the control strategy corresponding to the control conditions is determined based on the control conditions, including: obtaining the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the previous power-off operation; determining the target power of the air conditioner based on the previous power; obtaining a first preset margin power; calculating the difference between the target power and the first preset margin power to obtain a first target difference power; and determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions based on the current power and the first target difference power.
[0041] As mentioned above, when the air conditioner is powered on and detects M ≥ 2, it enters power-limited mode. Upon entering this mode, the power Pn recorded before the last power outage in the memory chip is retrieved and then calculated with the second preset margin power Pd to obtain the target power Pm for this power-limited mode. The process is executed cyclically, and various judgment condition parameters, such as current power P, current frequency F, and target frequency Fm, are collected and calculated in real time. During each loop, only the value within the current loop is used for logical judgment. These parameters are used to determine the corresponding control strategy for the air conditioner.
[0042] Furthermore, a first target power difference ΔP=P between the target power and the first preset margin power is calculated. m -P1, determines the control strategy corresponding to the air conditioner based on the relationship between the first target power difference and the current power.
[0043] Among them, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is less than the first target difference power, determining that the air conditioner meets the first control condition, and determining that the control strategy used to control the air conditioner is the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
[0044] As mentioned above, if P < ΔP, each load is controlled according to the unit's own needs. At this time, the unit power P has not reached the limit value, indicating that it is still some distance away from the target power Pm. Therefore, it is operated according to the unit's own needs to meet the cooling or heating requirements as much as possible. In this step, P is the floating margin calculated proportionally from the power Pn recorded at the time of the last power outage (or a preset fixed margin). The floating margin can determine the power adjustment size based on the actual power usage environment and is more in line with actual conditions. The fixed margin can be pre-set and has higher reliability. However, if the available power reserved for the air conditioner is not large, the user experience will be poor. The specific setting can be determined according to actual conditions.
[0045] In an optional embodiment, determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the current power and a first target power difference includes: determining the magnitude relationship between the current power and the first target power difference; when the current power is greater than or equal to the first target power difference, determining the magnitude relationship between the first target power difference, the target power, and the current power; and determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the magnitude relationship. Determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the magnitude relationship includes: when the current power is greater than or equal to the first target power difference and the current power is less than the target power, determining that the air conditioner complies with a second control condition and determining the control strategy for controlling the air conditioner to be a second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner. Determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the magnitude relationship includes: when the current power is greater than or equal to the target power, determining that the air conditioner complies with a third control condition and determining the strategy corresponding to the third control condition to be a third control strategy, wherein the third control strategy is a control strategy that reduces the current operating frequency of the air conditioner by a preset frequency value and reduces the target frequency of the air conditioner by a preset frequency value.
[0046] As mentioned above, if P≥Pm-P1, the current power P is further judged against the target power Pm. If P≥Pm-P1, it is considered that the current power P is close to or exceeds the target power Pm, and the load needs to be restricted. The specific restriction method is determined by comparing the current power P with the target power Pm, as follows:
[0047] If ΔP≤P<Pm, the current unit power is considered close to the target power Pm. The current frequency value F is then assigned to the target frequency value Fm. By replacing the target frequency with the current frequency, the power is maintained at the current power level. However, in general, after the frequency stabilizes, the power may still fluctuate depending on the system load, and this power change ΔP2 is allowed.
[0048]
[0049] The calculated result is rounded up. Because the power has exceeded the target power, the frequency must be reduced to prevent it from exceeding the protection power value. By calculating ΔF, we can approximate the power per hertz represented by the current load. By further reducing the frequency corresponding to the power value exceeding the target power value, we can minimize the power to Pm, ensuring the optimal user experience while still being able to operate.
[0050] To illustrate the above control strategy, assume a circuit can only handle 3000W of power, and other appliances already occupy 2000W, leaving only 1000W for the air conditioner. When the user turns on the air conditioner, no loads are running, and the power consumption is extremely low. If the power is cut off at this time, the overpowered appliances are not considered to be caused by the air conditioner, and the fault count is not increased. Furthermore, since the air conditioner has a memory function that defaults to power on after power is restored, the count is not accumulated until the load is turned on. If manual reset is required, the count can be reset by repeatedly shutting down the air conditioner before turning on the load. Alternatively, if the air conditioner is powered off for a period of time, the circuit is assumed to be under maintenance, or other appliances are turned off, and the count is reset to zero.
[0051] When entering power limit mode, the air conditioner calculates Pm = 1000W - Pd. For example, if Pd is 200W, Pm = 800W. The air conditioner initially operates according to demand without restrictions, such as a target frequency (Fm) of 70Hz. During operation, the current power is compared with the power limit (Pm - P1) in real time, setting it to 800W - 100W = 700W. For example, when P = 700W and F = 62Hz, upon reaching this threshold, the frequency is fixed to the current value, Fm = 62Hz, to prevent power from increasing. If power rises above the Pm limit due to factors such as ambient temperature, the frequency is reduced proportionally. For example, if P = 810W, then ΔF = (810 - 800) * 62 / 810 ≈ 1Hz, and Fm = 62 - 1 = 61Hz. This control method ensures that power approaches the target value as closely as possible.
[0052] The present application provides an air conditioner control method that detects the impact of circuit overpower on the unit through power on / off, memory functions, etc., and then allows the unit to limit operation to the target power and operating frequency based on the air conditioner operating power before power failure, memory fault causes and times, etc., to avoid circuit protection caused by excessive power.
[0053] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0054] The present application also provides an air conditioner control device. It should be noted that the air conditioner control device of the present application can be used to execute the air conditioner control method provided in the present application. The following describes the air conditioner control device provided in the present application.
[0055] Figure 2 Schematic diagram of an air conditioner control device according to an embodiment of the present application. Figure 2As shown, the device includes: a first control unit 201, which is used to determine whether the air conditioner meets the power limit condition when it is detected that the air conditioner is started, and control the air conditioner to enter the power limit mode when the air conditioner meets the power limit condition; a first acquisition unit 202, which is used to obtain multiple operating parameters of the air conditioner in the power limit mode; a first determination unit 203, which is used to determine the control conditions that the air conditioner meets based on the multiple operating parameters, and determine the control strategy corresponding to the control conditions based on the control conditions; a second control unit 204, which is used to control the operation of the air conditioner according to the control strategy.
[0056] In an optional embodiment, the first control unit 201 includes: a first acquisition subunit, used to obtain a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; a first determination subunit, used to determine whether the target cumulative value is greater than or equal to a preset threshold; and a first determination subunit, used to determine that the air conditioner meets the power limiting condition when the target cumulative value is greater than or equal to the preset threshold.
[0057] In an optional embodiment, the first determination unit 203 includes: a second acquisition subunit, used to obtain the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the power was cut off; a second determination subunit, used to determine the target power of the air conditioner based on the previous power; a third acquisition subunit, used to obtain the first preset margin power; a calculation subunit, used to calculate the difference between the target power and the first preset margin power to obtain the first target difference power; and a third determination subunit, used to determine the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions based on the current power and the first target difference power.
[0058] In an optional embodiment, the third determination subunit includes: a first determination module, used to determine the relationship between the current power and the first target difference power; a first determination module, used to determine that the air conditioner meets the first control condition when the current power is less than the first target difference power, and determine that the control strategy used to control the air conditioner is the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
[0059] In an optional embodiment, the third determination subunit includes: a second determination module, used to determine the size relationship between the current power and the first target difference power; a third determination module, used to determine the size relationship between the first target difference power, the target power and the current power when the current power is greater than or equal to the first target difference power; a second determination module, used to determine the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions through the size relationship.
[0060] In an optional embodiment, the second determination module includes: a first determination submodule, used to determine that the air conditioner meets the second control condition when the current power is greater than or equal to the first target difference power and the current power is less than the target power, and determine that the control strategy used to control the air conditioner is the second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner.
[0061] In an optional embodiment, the second determination module includes: a second determination sub-module, which is used to determine that the air conditioner meets the third control condition when the current power is greater than or equal to the target power, and determine that the strategy corresponding to the third control condition is the third control strategy, wherein the third control strategy is a control strategy for controlling the current operating frequency of the air conditioner to reduce the preset frequency value, and controlling the target frequency of the air conditioner to reduce the preset frequency value.
[0062]
[0063] Among them, P is the current power of the air conditioner, P m is the target power of the air conditioner, and F is the current operating frequency of the air conditioner.
[0064] An air conditioner control device includes a processor and a memory. The first control unit 201 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
[0065] The processor includes a core, which retrieves the corresponding program unit from memory. One or more cores can be configured. By adjusting core parameters, this solves the existing technical problem that when multiple appliances are operating simultaneously, turning on an air conditioner without reducing other appliances can cause circuit breaker limits to be exceeded, resulting in repeated tripping and impacting user comfort.
[0066] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0067] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, a method for controlling an air conditioner is implemented.
[0068] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a method for controlling an air conditioner when running.
[0069] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are implemented: when detecting that an air conditioner is started, determining whether the air conditioner meets a power limit condition; when the air conditioner meets the power limit condition, controlling the air conditioner to enter a power limit mode; in the power limit mode, obtaining multiple operating parameters of the air conditioner; determining control conditions that the air conditioner meets based on the multiple operating parameters, and determining a control strategy corresponding to the control condition based on the control condition; and controlling the operation of the air conditioner based on the control strategy.
[0070] Optionally, when it is detected that the air conditioner is started, whether the air conditioner meets the power limiting condition is determined, including: obtaining a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determining whether the target cumulative value is greater than or equal to a preset threshold; if the target cumulative value is greater than or equal to the preset threshold, determining that the air conditioner meets the power limiting condition.
[0071] Optionally, based on multiple operating parameters, the control conditions that the air conditioner meets are determined, and the control strategy corresponding to the control conditions is determined based on the control conditions, including: obtaining the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the last power-off operation; determining the target power of the air conditioner based on the previous power; obtaining a first preset margin power; calculating the difference between the target power and the first preset margin power to obtain a first target difference power; determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions based on the current power and the first target difference power.
[0072] Optionally, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is less than the first target difference power, determining that the air conditioner meets the first control condition, and determining that the control strategy used to control the air conditioner is the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
[0073] Optionally, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is greater than or equal to the first target difference power, determining the size relationship between the first target difference power, the target power and the current power; through the size relationship, determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions.
[0074] Optionally, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined through the size relationship, including: when the current power is greater than or equal to the first target difference power and the current power is less than the target power, determining that the air conditioner meets the second control condition, and determining that the control strategy used to control the air conditioner is the second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner.
[0075] Optionally, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined through the size relationship, including: when the current power is greater than or equal to the target power, determining that the air conditioner meets the third control condition, and determining that the strategy corresponding to the third control condition is the third control strategy, wherein the third control strategy is a control strategy for controlling the current operating frequency of the air conditioner to reduce a preset frequency value, and controlling the target frequency of the air conditioner to reduce a preset frequency value.
[0076]
[0077] P m is the target power of the air conditioner, and F is the current operating frequency of the air conditioner. The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0078] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: when detecting that the air conditioner is started, determining whether the air conditioner meets the power limit condition, and when the air conditioner meets the power limit condition, controlling the air conditioner to enter the power limit mode; in the power limit mode, obtaining multiple operating parameters of the air conditioner; based on the multiple operating parameters, determining the control conditions that the air conditioner meets, and determining a control strategy corresponding to the control conditions based on the control conditions; and controlling the operation of the air conditioner based on the control strategy.
[0079] Optionally, when it is detected that the air conditioner is started, whether the air conditioner meets the power limiting condition is determined, including: obtaining a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determining whether the target cumulative value is greater than or equal to a preset threshold; if the target cumulative value is greater than or equal to the preset threshold, determining that the air conditioner meets the power limiting condition.
[0080] Optionally, based on multiple operating parameters, the control conditions that the air conditioner meets are determined, and the control strategy corresponding to the control conditions is determined based on the control conditions, including: obtaining the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the last power-off operation; determining the target power of the air conditioner based on the previous power; obtaining a first preset margin power; calculating the difference between the target power and the first preset margin power to obtain a first target difference power; determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions based on the current power and the first target difference power.
[0081] Optionally, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is less than the first target difference power, determining that the air conditioner meets the first control condition, and determining that the control strategy used to control the air conditioner is the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
[0082] Optionally, based on the current power and the first target difference power, the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions are determined, including: determining the size relationship between the current power and the first target difference power; when the current power is greater than or equal to the first target difference power, determining the size relationship between the first target difference power, the target power and the current power; through the size relationship, determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions.
[0083] Optionally, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined through the size relationship, including: when the current power is greater than or equal to the first target difference power and the current power is less than the target power, determining that the air conditioner meets the second control condition, and determining that the control strategy used to control the air conditioner is the second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner.
[0084] Optionally, the control conditions that the air conditioner meets and the control strategies corresponding to the control conditions are determined through the size relationship, including: when the current power is greater than or equal to the target power, determining that the air conditioner meets the third control condition, and determining that the strategy corresponding to the third control condition is the third control strategy, wherein the third control strategy is a control strategy for controlling the current operating frequency of the air conditioner to reduce a preset frequency value, and controlling the target frequency of the air conditioner to reduce a preset frequency value.
[0085] Optionally, the calculation formula for the preset frequency value is: Among them, P is the current power of the air conditioner, P mis the target power of the air conditioner, and F is the current operating frequency of the air conditioner.
[0086] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0087] 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 exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as 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.
[0088] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.
[0089] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0090] 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, 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. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the methods of 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.
[0091] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0092] 1) Through the power on / off function and memory function, the unit can detect the impact of overpower on the circuit. Then, according to the operating power of the air conditioner before the power outage, the cause and number of faults can be memorized, so that the unit can limit the target power and operating frequency to avoid circuit protection caused by excessive power.
[0093] 2) For air conditioners, in special circumstances, when there are multiple power outages, the air conditioner can be controlled to operate at a lower power consumption to avoid the situation where customers are completely unable to use the air conditioner, which reduces the user experience and comfort.
[0094] The above are merely preferred embodiments of the present application and are not intended to limit the present application. Those skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for controlling an air conditioner, characterized in that: include: When detecting that the air conditioner is started, determining whether the air conditioner meets the power limit condition, and if the air conditioner meets the power limit condition, controlling the air conditioner to enter the power limit mode; In the power limiting mode, obtaining a plurality of operating parameters of the air conditioner; Determining a control condition that the air conditioner meets based on the plurality of operating parameters, and determining a control strategy corresponding to the control condition based on the control condition; Controlling the operation of the air conditioner according to the control strategy; Wherein, when it is detected that the air conditioner is started, determining whether the air conditioner meets the power limit condition includes: obtaining a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determining whether the target cumulative value is greater than or equal to a preset threshold; and determining that the air conditioner meets the power limit condition if the target cumulative value is greater than or equal to the preset threshold; Based on the multiple operating parameters, the control conditions that the air conditioner meets are determined, and the control strategy corresponding to the control conditions is determined based on the control conditions, including: obtaining the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the last power-off operation; based on the previous power, determining the target power of the air conditioner; obtaining a first preset margin power; calculating the difference between the target power and the first preset margin power to obtain a first target difference power; based on the current power and the first target difference power, determining the control conditions that the air conditioner meets and the control strategy corresponding to the control conditions.
2. The method according to claim 1, characterized in that Determining the control condition that the air conditioner meets and the control strategy corresponding to the control condition based on the current power and the first target power difference includes: Determining a magnitude relationship between the current power and the first target difference power; When the current power is less than the first target difference power, it is determined that the air conditioner meets the first control condition, and the control strategy used to control the air conditioner is determined to be the first control strategy, wherein the first control strategy is a control strategy for operating the air conditioner according to the actual power required by the air conditioner unit.
3. The method according to claim 2, characterized in that Determining the control condition that the air conditioner meets and the control strategy corresponding to the control condition based on the current power and the first target power difference includes: Determining a magnitude relationship between the current power and the first target difference power; When the current power is greater than or equal to the first target difference power, determining a magnitude relationship among the first target difference power, the target power, and the current power; The control condition that the air conditioner complies with and the control strategy corresponding to the control condition are determined based on the size relationship.
4. The method according to claim 3, characterized in that Determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the size relationship includes: When the current power is greater than or equal to the first target difference power and the current power is less than the target power, it is determined that the air conditioner meets the second control condition, and the control strategy used to control the air conditioner is determined to be the second control strategy, wherein the second control strategy is a control strategy that changes the target operating frequency of the air conditioner to the current operating frequency of the air conditioner.
5. The method according to claim 3, characterized in that Determining the control condition that the air conditioner complies with and the control strategy corresponding to the control condition based on the size relationship includes: When the current power is greater than or equal to the target power, it is determined that the air conditioner meets the third control condition, and the strategy corresponding to the third control condition is determined to be the third control strategy, wherein the third control strategy is a control strategy for controlling the current operating frequency of the air conditioner to reduce a preset frequency value, and controlling the target frequency of the air conditioner to reduce the preset frequency value.
6. The method according to claim 5, characterized in that The calculation formula of the preset frequency value is: ,in, is the current power of the air conditioner, is the target power of the air conditioner, is the current operating frequency of the air conditioner.
7. A control device for an air conditioner, characterized in that: include: a first control unit, configured to, upon detecting that the air conditioner is started, determine whether the air conditioner meets a power limit condition, and control the air conditioner to enter a power limit mode if the air conditioner meets the power limit condition; a first acquiring unit, configured to acquire a plurality of operating parameters of the air conditioner in the power limiting mode; a first determining unit, configured to determine a control condition that the air conditioner meets based on the plurality of operating parameters, and determine a control strategy corresponding to the control condition based on the control condition; A second control unit for controlling the operation of the air conditioner according to the control strategy; The first control unit is further configured to obtain a target cumulative value corresponding to the air conditioner, wherein the target cumulative value is the cumulative number of times the air conditioner was not shut down normally and a power outage occurred during the historical operation of the air conditioner before the current startup; determine whether the target cumulative value is greater than or equal to a preset threshold; and determine that the air conditioner meets the power limit condition if the target cumulative value is greater than or equal to the preset threshold; Among them, the first determination unit is also used to obtain the current power and the previous power of the air conditioner, wherein the previous power is the operating power corresponding to the air conditioner before the previous power-off operation; determine the target power of the air conditioner based on the previous power; obtain a first preset margin power; calculate the difference between the target power and the first preset margin power to obtain a first target difference power; and determine the control condition that the air conditioner meets and the control strategy corresponding to the control condition based on the current power and the first target difference power.
8. An air conditioner, characterized in that: A control device for an air conditioner is included, which is used to execute the control method for an air conditioner according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the air conditioner control method according to any one of claims 1 to 6.
10. A processor, characterized in that: The processor is configured to run a program, wherein the program, when running, executes the air conditioner control method according to any one of claims 1 to 6.
11. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing a control method of an air conditioner according to any one of claims 1 to 6.
Citation Information
Patent Citations
Air conditioning and control method thereof
CN101089505A
Compressor overload protection control method and device and air conditioner
CN105066370A