Air conditioner control method and system and air conditioner
Technical Field
The invention relates to the technical field of air conditioning, in particular to an air conditioner control method, an air conditioner control system and an air conditioner adopting the control method.
Background
In special cases, the power supply may be in the form of time-sharing power supply, for example, time-sharing power limitation is performed on a part of the area during peak power utilization. However, in these situations, there may be situations where it is necessary to maintain the ambient temperature using an air conditioner. Such as sample storage in a laboratory, etc. This requires an uninterrupted supply of power to the air conditioner via the backup power supply.
However, there is also a problem that the time-sharing electricity-limiting time period and the time period are not fixed for these regions. And the amount of charge of the backup power source is fixed. In order to meet the requirement of uninterrupted power supply, the prior art adopts a mode of controlling the storage capacity of the standby power supply to meet the requirement of long-term use. The storage capacity of the standby power supply far exceeds the actual electricity limiting duration, so that the allocation of hardware resources is unreasonable, and obvious hardware resource waste exists.
Disclosure of Invention
The invention provides an air conditioner control method, aiming at solving the problem that how to meet the requirement of time-sharing power limiting by a standby power supply and ensure uninterrupted power supply of an air conditioner on the premise of reasonably distributing hardware resources.
An air conditioner control method includes the following steps:
the standby power supply supplies power to the air conditioner, the microprocessor of the air conditioner sets a power limit period, and sets the target residual capacity of the standby power supply when the set power limit period is finished;
the air conditioner microprocessor controls the air conditioner to enter a test mode, the air conditioner operates for the first time until the set power limiting period is finished, and the air conditioner microprocessor samples the actual residual electric quantity of the standby power supply and compares the actual residual electric quantity with the target residual electric quantity; if the actual residual capacity is larger than the target residual capacity, exiting the test mode and entering an operation mode, wherein in the operation mode, the air conditioner receives a room temperature detection signal and controls the compressor to operate according to the difference value between the room temperature detection signal and the set temperature; if the actual residual capacity is smaller than the target residual capacity, sampling an upper limit frequency of a compressor in the set power limit period, generating at least one adjusting frequency according to the upper limit frequency, wherein the adjusting frequency is smaller than the upper limit frequency, controlling the air conditioner to operate with the at least one adjusting frequency as the highest operating frequency of the compressor until the actual residual capacity is not smaller than the target residual capacity when at least one set power limit period is finished, exiting the test mode, entering the operating mode, and keeping operating with the adjusting frequency as the highest operating frequency of the compressor.
Further, if the actual remaining capacity is less than the target remaining capacity at the end of the set power limit period, sampling an upper limit frequency of the compressor in the set power limit period and calling an input current corresponding to the upper limit frequency, adjusting the input current downwards by a first amplitude value to obtain a first adjustment current, inputting the first adjustment current to control the compressor to operate according to a first adjustment frequency corresponding to the first adjustment current until the end of the next set power limit period, comparing the actual remaining capacity with the target remaining capacity, if the actual remaining capacity is greater than the target remaining capacity, exiting the test mode and entering the operation mode, and controlling the compressor to operate at the highest compressor operation frequency of the first adjustment frequency; and if the actual residual capacity is smaller than the target residual capacity, the first adjusting current is adjusted downwards by a first amplitude value to obtain a second adjusting current, the second adjusting current is input to control the compressor to operate according to a second adjusting frequency corresponding to the second adjusting current until the next set power limiting period is finished, the target residual capacity and the actual residual capacity are compared again, and the adjustment is repeated until the set power limiting period is finished, and the actual residual capacity is larger than the target residual capacity.
To control the loss of cooling capacity, the first amplitude is preferably less than or equal to 10% of the maximum input current.
Further, the air conditioner microprocessor stores the adjusting frequency when the air conditioner exits the test mode; if the air conditioner is started again, judging whether the set power limit period changes, if the set power limit period does not change, automatically entering an operation mode, calling the adjusting frequency when the air conditioner exits the test mode, and controlling the adjusting frequency when the air conditioner exits the test mode to be the highest frequency of the compressor to operate; and if the set power limit period is changed, entering a test mode.
Furthermore, in the operation mode, the air conditioner microprocessor controls the compressor to perform variable frequency operation according to the difference value between the room temperature detection signal and the set temperature, and the upper frequency limit of the compressor is the adjusting frequency.
As another alternative, in the run mode, the air conditioner microprocessor controls the compressor to maintain the adjusted frequency constant frequency operation.
The air conditioner control method disclosed by the invention is especially designed for a time-sharing power supply area, so that the electric quantity of the standby power supply is fully utilized on the premise of keeping the operation of the air conditioner, the phenomenon that the air conditioner stops due to the exhausted electric quantity is avoided after entering an operation mode, and meanwhile, in the next incoming call period, the electric quantity of the standby power supply can be fully recovered, and the reuse is not influenced.
Also disclosed is a generator powered air conditioner control system, comprising:
the standby power supply module is used for providing a standby power supply for the air conditioner;
the setting module is used for setting a power limit period and setting the target residual capacity of the standby power supply when the set power limit period is finished;
the test module is used for testing the adjusting frequency;
the test module includes:
the sampling unit is used for acquiring the actual residual electric quantity of the standby power supply when the air conditioner operates for the first time to the end of the set power limiting period;
a comparison unit for comparing the target remaining capacity with an actual remaining capacity;
the execution unit is used for controlling the air conditioner to exit the test mode if the actual residual capacity is larger than the target residual capacity;
the adjusting unit is used for sampling the upper limit frequency of the compressor in the set power limit period if the actual residual capacity is smaller than the target residual capacity, generating at least one adjusting frequency according to the upper limit frequency, controlling the air conditioner to operate by taking the at least one adjusting frequency as the highest operation frequency of the compressor until at least one set power limit period is finished;
the output unit is used for outputting the adjusting frequency if the air conditioner runs at least one set electricity limiting period by taking at least one adjusting frequency as the highest running frequency of the compressor, and the actual residual electricity is not less than the target residual electricity;
the device also comprises an operation module used for controlling the compressor to operate by taking the upper limit frequency or the adjusting frequency as the upper limit frequency.
Furthermore, the test module further comprises a current setting unit, wherein the current setting unit is used for calling the input current corresponding to the upper limit frequency according to the upper limit frequency of the compressor and generating the adjusting current according to the input current.
Further, the power-limiting cycle judging unit is used for judging whether the set power-limiting cycle changes or not
The air conditioner control system disclosed by the invention is designed according to the use requirements of the air conditioner in the time-sharing and power-limiting area, and the air conditioner is ensured not to be stopped in a time-sharing and power-limiting operation mode.
The air conditioner adopts the air conditioner control method. The air conditioner control method comprises the following steps:
the standby power supply supplies power to the air conditioner, the microprocessor of the air conditioner sets a power limit period, and sets the target residual capacity of the standby power supply when the set power limit period is finished;
the air conditioner microprocessor controls the air conditioner to enter a test mode, the air conditioner operates for the first time until the set power limiting period is finished, and the air conditioner microprocessor samples the actual residual electric quantity of the standby power supply and compares the actual residual electric quantity with the target residual electric quantity; if the actual residual capacity is larger than the target residual capacity, exiting the test mode and entering an operation mode, wherein in the operation mode, the air conditioner receives a room temperature detection signal and controls the compressor to operate according to the difference value between the room temperature detection signal and the set temperature; if the actual residual capacity is smaller than the target residual capacity, sampling an upper limit frequency of a compressor in the set power limit period, generating at least one adjusting frequency according to the upper limit frequency, wherein the adjusting frequency is smaller than the upper limit frequency, controlling the air conditioner to operate with the at least one adjusting frequency as the highest operating frequency of the compressor until the actual residual capacity is not smaller than the target residual capacity when at least one set power limit period is finished, exiting the test mode, entering the operating mode, and keeping operating with the adjusting frequency as the highest operating frequency of the compressor.
The air conditioner disclosed by the invention has the advantage of reliable operation effect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a first embodiment of a method for controlling an air conditioner according to the present invention;
fig. 2 is a flowchart illustrating a control method of an air conditioner according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow chart of an embodiment of a control method of an air conditioner according to the present invention is shown. The air conditioner in this embodiment can be powered by a standby power supply or a commercial power supply. The standby power supply is preferably a storage battery pack, and the capacity of the storage battery pack preferably meets the basic use requirement of time-sharing power limiting. When the standby power supply supplies power to the air conditioner, a control method is provided for time-sharing power limitation, namely power failure in a limited time every day and the time duration of the power failure is the same, and comprises the following steps.
The commercial power supply is disconnected under the control of inelegant force, plan or artificial active factors, and the standby power supply supplies power to the air conditioner. The operator or program inputs the set power limit period in the microprocessor of the air conditioner. The set power limit cycle may be obtained by notification information from the local power department, or by communication with a local power department server, or may be actually measured by the air conditioner microprocessor through successive power off cycles. And simultaneously setting the target residual capacity of the standby power supply at the end of the power limit period. Two problems need to be considered when the target residual capacity of the standby power supply is set, firstly, the target residual capacity needs to meet the protection of the storage battery, the repeated over-discharge of the storage battery is avoided for many times, and secondly, the standby power supply needs to be fully charged in the limited time of the recovery of the commercial power so as to meet the next use. For the usual case, it is preferable to set the standby power supply target remaining capacity to 10% to 20% of its total capacity. Of course, the target remaining power can also be adjusted according to different actual use scenarios.
After the two parameters are set, the air conditioner microprocessor controls the air conditioner to enter a test mode, the air conditioner operates for the first time after entering the test mode until a power limiting period is finished, and the air conditioner microprocessor samples the actual residual capacity of the standby power supply and compares the actual residual capacity with the target residual capacity. When the air conditioner microprocessor samples the actual residual electric quantity of the power supply, an independent communication channel is preferably adopted. During the first operation, a room temperature detection signal generated by a room temperature sensor is preferably collected at one end of the air conditioner, the difference between the eliminated room temperature detection signal and the set temperature is taken as a control target, and the frequency of the compressor or the start and stop of the compressor are controlled according to a PID control algorithm, a fuzzy control algorithm and the like. And the electric quantity comparison result is divided into two processing modes, when the actual residual electric quantity is larger than the target residual electric quantity, the air conditioner can meet the operation requirement according to the current control mode, and the air conditioner exits the test mode and enters the operation mode. In the operation mode, the air conditioner continuously receives the room temperature detection signal, and controls the compressor to operate according to the difference value between the room temperature detection signal and the set temperature, and the operation of the air conditioner is not limited. And if the actual residual capacity is smaller than the target residual capacity, it indicates that if the air conditioner operates according to the current operation mode, the air conditioner is shut down in a power limit cycle, or the standby power supply cannot reach a fully charged state in the next incoming call cycle. Under this adjustment, the air conditioner microprocessor keeps the air conditioner continuing to maintain the test mode and invokes the upper frequency limit of the compressor during the last set power limit period. The air conditioner microprocessor generates an adjusting frequency according to the upper limit frequency, and the adjusting frequency is smaller than the upper limit frequency. The adjustment frequency is preferably the difference between the upper limit frequency and the adjustment frequency value. And in the next set power limit period, controlling the air conditioner to operate at the adjusting frequency as the highest operating frequency of the compressor until the second set power limit period is ended, and comparing the actual residual capacity with the target residual capacity again. And if the actual residual capacity is greater than or equal to the target residual capacity, exiting the test mode, and controlling the air conditioner to operate according to the operation mode by taking the adjusting frequency as the highest operation frequency of the compressor. If the actual residual capacity is still smaller than the target residual capacity, the adjusting frequency is reduced by one adjusting frequency value again, the air conditioner is controlled to operate by taking the adjusted adjusting frequency as the highest compressor frequency again until the third set power limiting period is finished, and the actual residual capacity and the target residual capacity are compared again. And repeating the process until the actual residual capacity is greater than or equal to the target residual capacity, entering an operation mode, and keeping the operation with the adjustment frequency after the last adjustment as the highest operation frequency of the compressor.
During actual operation, the adjustment frequency is preferably generated by the input current signal when the actual remaining capacity is less than the target remaining capacity. Specifically, when the actual remaining capacity is smaller than the target remaining capacity, sampling an upper limit frequency of the compressor in the set power limiting period, calling an input current corresponding to the upper limit frequency, adjusting the input current downwards by a first amplitude value to obtain a first adjustment current, and inputting the first adjustment current to control the compressor to operate according to the first adjustment frequency corresponding to the first adjustment current until the next set power limiting period is finished. And if the actual residual capacity is still smaller than the target residual capacity, the first adjusting current is adjusted downwards by the first amplitude value to obtain a second adjusting current, and the second adjusting current is input to control the compressor to operate according to a second adjusting frequency corresponding to the second adjusting current until the next set power limiting period is finished. For the case of cycling and obtaining the adjustment frequency using a plurality of set power limit periods, each adjustment current is decreased by a first amplitude compared to the previous one. The microprocessor of the air conditioner preferably stores an input current value corresponding to the theoretical highest operating frequency of the compressor, and the first amplitude value is preferably less than or equal to 10% of the maximum input current, so that the loss of excessive refrigerating capacity is avoided. For a typical air conditioner, the first amplitude is preferably 1A.
Referring to fig. 2, the air conditioner microprocessor stores the adjustment frequency when exiting the test mode. And if the air conditioner is started again, judging whether the set power limit period is changed, if the set power limit period is not changed, automatically entering an operation mode, calling the adjusting frequency, and controlling the adjusting frequency to be the highest frequency operation of the compressor. If the frequency is not adjusted, i.e. the power-limiting time is short and the power storage is sufficient, the compressor is operated at the theoretical maximum operating frequency. And if the set power limit period is judged to be changed or is written for the first time, automatically controlling to enter a test mode.
After the air conditioner enters the operation mode, the air conditioner has two selectable operation modes, one mode is that the microprocessor of the air conditioner controls the compressor to operate in a frequency conversion mode according to the difference value of the room temperature detection signal and the set temperature, the upper limit of the frequency of the compressor is the adjusting frequency, and the other mode is that the microprocessor of the air conditioner controls the compressor to maintain the frequency-fixed operation of the adjusting frequency. Preferably, the operation mode of the air conditioner in the operation mode is identical to the operation mode of the air conditioner in the last set power limit period for determining the adjustment frequency in the test mode, but the output operation frequency domain is limited.
The air conditioner control method provided by the embodiment of the invention is especially designed for a time-sharing power supply area, so that the electric quantity of the standby power supply is fully utilized on the premise of keeping the operation of the air conditioner, the phenomenon that the air conditioner stops due to the exhausted electric quantity is avoided after entering the operation mode, and meanwhile, in the next incoming call period, the electric quantity of the standby power supply can be fully recovered without influencing reuse.
Also disclosed is an air conditioner control system, which comprises
The standby power supply module is used for providing a standby power supply for the air conditioner;
the setting module is used for setting a power limit period and setting the target residual capacity of the standby power supply when the set power limit period is finished;
the test module is used for testing the adjusting frequency;
the test module includes:
the sampling unit is used for acquiring the actual residual electric quantity of the standby power supply when the air conditioner operates for the first time to the end of the set power limiting period;
a comparison unit for comparing the target remaining capacity with an actual remaining capacity;
the unit is used for controlling the air conditioner to exit the test mode if the actual residual capacity is larger than the target residual capacity;
the adjusting unit is used for sampling the upper limit frequency of the compressor in the set power limit period if the actual residual capacity is smaller than the target residual capacity, generating at least one adjusting frequency according to the upper limit frequency, controlling the air conditioner to operate by taking the at least one adjusting frequency as the highest operation frequency of the compressor until at least one set power limit period is finished;
the output unit is used for outputting the adjusting frequency if the air conditioner runs at least one set electricity limiting period by taking at least one adjusting frequency as the highest running frequency of the compressor, and the actual residual electricity is not less than the target residual electricity;
the device also comprises an operation module used for controlling the compressor to operate by taking the upper limit frequency or the adjusting frequency as the upper limit frequency.
Furthermore, the test module further comprises a current setting unit, wherein the current setting unit is used for calling the input current corresponding to the upper limit frequency according to the upper limit frequency of the compressor and generating the adjusting current according to the input current.
Furthermore, the device also comprises a set power-limiting period judging unit which is used for judging whether the set power-limiting period changes or not.
The invention also provides an air conditioner adopting the air conditioner control method. Air conditioner control method referring to fig. 1 and 2 and the detailed description of the above embodiment, the air conditioner adopting the above air conditioner control method has the same technical effect.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.