A kind of air-conditioner control method, control system and air conditioner
Technical field
The present invention relates to air-conditioning technique field, more particularly to a kind of air-conditioner control method, control system and use
The air conditioner of this kind of control method.
Background technology
In some special occasions, power supply may use the form of time sharing power supply, such as in peak of power consumption, to part
Carry out timesharing and ration the power supply in region.But, in these occasions, it is understood that there may be air conditioner must be used to maintain the situation of environment temperature.
The sample storage in such as laboratory etc..This is accomplished by providing continual electricity supply by stand-by power supply for air conditioner.
But, for these regions, rationed the power supply duration and period unfixed problem there is also timesharing.And stand-by power supply
Charge capacity be fixed.It is control stand-by power supply by the way of in the prior art to meet the continual demand of power supply
Charge capacity can meet and use for a long time.The charge capacity of stand-by power supply exceeds well over the duration actually rationed the power supply, and this causes hardware
, there is obvious hardware resource waste in the unreasonable distribution of resource.
The content of the invention
In order to solve how on the premise of hardware resource reasonable distribution, stand-by power supply meets the demand that timesharing is rationed the power supply, really
The problem of protecting air conditioner uninterrupted power supply, the invention provides a kind of air-conditioner control method.
A kind of air-conditioner control method, comprises the following steps:
Stand-by power supply is powered for air conditioner, air conditioner microprocessor setting ration the power supply the cycle, and set it is described setting ration the power supply the cycle knot
Stand-by power supply target dump energy during beam;
Air conditioner microprocessor control air conditioner enters test pattern, and air conditioner runs to described and sets cycle knot of rationing the power supply first
Beam, stand-by power supply real surplus electricity described in air conditioner microprocessor samples, and the real surplus electricity and target is remaining
Comparision of quantity of electricity;Real surplus electricity is more than the target dump energy as described, then exits the test pattern and enter operation
Pattern, in operational mode, air conditioner receiving chamber temperature detector surveys signal, and according to the difference of room temperature detection signal and design temperature
Value control compressor operating;Real surplus electricity is less than the target dump energy as described, then the setting of sampling is rationed the power supply week
The upper limiting frequency of interim compressor, and at least one regulating frequency is generated according to the upper limiting frequency, the regulating frequency is less than
The upper limiting frequency, controls the air conditioner to be run by compressor maximum running frequency of regulating frequency at least one described to most
A few setting ration the power supply end cycle when the real surplus electricity be not less than the target dump energy, exit the survey
Die trial formula, into operational mode, and keeps running by compressor maximum running frequency of the regulating frequency.
Further, if when end cycle is rationed the power supply in the setting, the real surplus electricity is surplus less than the target
Remaining electricity, then the setting of sampling, which is rationed the power supply, the upper limiting frequency of compressor in the cycle and calls the input electricity of the correspondence upper limiting frequency
Stream, adjusts downwards first amplitude by the input current and obtains the first adjustment electric current, inputs the first adjustment current control pressure
Contracting machine runs to next according to corresponding first regulating frequency of the described first adjustment electric current and sets end cycle of rationing the power supply, and compares institute
Real surplus electricity and target dump energy are stated, if real surplus electricity is more than the target dump energy, test is exited
Pattern simultaneously enters operational mode, controls compressor to be run by highest compressor operating frequency of first regulating frequency;If
Real surplus electricity is less than the target dump energy, then the described first adjustment electric current is adjusted into first amplitude still further below obtains the
Two adjustment electric currents, input second regulation frequency of the second adjustment current control compressor according to correspondence the second adjustment electric current
Rate is run to next and sets end cycle of rationing the power supply, again comparison object dump energy and real surplus electricity, repeats to adjust straight
When rationing the power supply end cycle to the setting, real surplus electricity is more than target dump energy.
In order to control the loss of refrigerating capacity, the first amplitude, which is preferably smaller than, is equal to the 10% of maximum input current.
Further, the regulating frequency when test pattern is exited in the storage of air conditioner microprocessor;If air conditioner is again
Secondary start, then judge whether setting cycle of rationing the power supply changes, if the setting is rationed the power supply, the cycle is constant, automatically into
Operational mode, calls regulating frequency when exiting the test pattern, and control to exit the institute during test pattern
Regulating frequency is stated to run for compressor highest frequency;The mechanical periodicity if setting is rationed the power supply, into test pattern.
Further, in the operational mode, air conditioner microprocessor detects signal and design temperature according to room temperature
Difference control compressor variable frequency operation, the upper frequency limit of compressor is the regulating frequency.
As another alternative, in the operational mode, air conditioner microprocessor control compressor remains described
Surely frequency is run regulating frequency.
Air-conditioner control method disclosed in this invention, is designed specifically for the region of time sharing power supply, is keeping air conditioner fortune
On the premise of row so that the electricity of stand-by power supply is fully utilized, it is ensured that air conditioner enters after operational mode, is not in electricity
The phenomenon used up and shut down, meanwhile, in next incoming call cycle, the electricity of stand-by power supply can be thus capable of sufficiently recovering, and not influenceed again
It is secondary to use.
A kind of generator powered air conditioner control system is also disclosed, including:
Standby power supply module, for providing stand-by power supply to air conditioner;
Setting module, is remained for setting the cycle of rationing the power supply and setting the stand-by power supply target set when rationing the power supply end cycle
Remaining electricity;
Test module, for testing the regulating frequency;
The test module includes:
Sampling unit, the sampling unit is used for the stand-by power supply when air conditioner runs ration the power supply end cycle to the setting first
Real surplus electricity;
Comparing unit, the comparing unit is used to compare the target dump energy and real surplus electricity;
Execution unit, if real surplus electricity is more than the target dump energy, for controlling air conditioner to exit test mould
Formula;
Adjustment unit, if real surplus electricity is less than the target dump energy, described set in the cycle of rationing the power supply of sampling is pressed
Contracting machine upper limiting frequency, and at least one regulating frequency is generated according to upper limiting frequency, the regulating frequency is less than the upper limiting frequency,
Air conditioner is controlled to be run by compressor maximum running frequency of regulating frequency at least one described to setting limit described in minimum of one
Electric end cycle;
Output unit, if air conditioner runs at least one by compressor maximum running frequency of regulating frequency at least one described
Described to set end cycle of rationing the power supply, the real surplus electricity is not less than the target dump energy, then exports regulating frequency;
Also include operation module, for controlling compressor to be run using the upper limiting frequency or regulating frequency as upper limiting frequency.
Further, the test module also includes current setting unit setting, and the current setting unit setting is used for according to compression
Machine upper limiting frequency calls the input current of correspondence upper limiting frequency, and according to input current generation adjustment electric current.
Further, in addition to cycle identifying unit of rationing the power supply, for judging whether setting cycle of rationing the power supply changes
Air conditioner control system disclosed in this invention, is designed, it is ensured that air-conditioning according to ration the power supply regional air conditioner use demand of timesharing
Device is not shut down under the operational mode that timesharing is rationed the power supply.
A kind of air conditioner is also disclosed, using air-conditioner control method.Air-conditioner control method comprises the following steps:
Stand-by power supply is powered for air conditioner, air conditioner microprocessor setting ration the power supply the cycle, and set it is described setting ration the power supply the cycle knot
Stand-by power supply target dump energy during beam;
Air conditioner microprocessor control air conditioner enters test pattern, and air conditioner runs to described and sets cycle knot of rationing the power supply first
Beam, stand-by power supply real surplus electricity described in air conditioner microprocessor samples, and the real surplus electricity and target is remaining
Comparision of quantity of electricity;Real surplus electricity is more than the target dump energy as described, then exits the test pattern and enter operation
Pattern, in operational mode, air conditioner receiving chamber temperature detector surveys signal, and according to the difference of room temperature detection signal and design temperature
Value control compressor operating;Real surplus electricity is less than the target dump energy as described, then the setting of sampling is rationed the power supply week
The upper limiting frequency of interim compressor, and at least one regulating frequency is generated according to the upper limiting frequency, the regulating frequency is less than
The upper limiting frequency, controls the air conditioner to be run by compressor maximum running frequency of regulating frequency at least one described to most
A few setting ration the power supply end cycle when the real surplus electricity be not less than the target dump energy, exit the survey
Die trial formula, into operational mode, and keeps running by compressor maximum running frequency of the regulating frequency.
Air conditioner disclosed in this invention, with the reliable advantage of operational effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the first embodiment of air-conditioner control method disclosed in this invention;
Fig. 2 is the flow chart of second of embodiment of air-conditioner control method disclosed in this invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Shown in Figure 1 is a kind of flow chart of embodiment of air-conditioner control method disclosed in this invention.The present embodiment
Middle signified air conditioner, can both be powered by stand-by power supply, can also be powered by mains supply.Stand-by power supply is preferred
For batteries, what the capacity of batteries preferably met that timesharing rations the power supply uses needs substantially.When stand-by power supply supplies for air conditioner
When electric, ration the power supply, i.e., have a power failure daily in limiting time for timesharing, and there is provided one kind control for power off time duration identical situation
Method processed, comprises the following steps.
Mains supply disconnects under force majeure, plan or the control of artificial active element, and stand-by power supply supplies for air conditioner
Electricity.Operating personnel or program input setting in air conditioner microprocessor and rationed the power supply the cycle.The setting cycle of rationing the power supply now can be
The announcement information obtained by local power department, or obtain or pass through with local power department server communication
The power failure cycle is actually measured by air conditioner microprocessor successively.Stand-by power supply target when rationing the power supply end cycle is concurrently set to remain
Remaining electricity.Setting stand-by power supply target dump energy needs to consider two problems, first, and target dump energy needs to meet to storing
The protection of battery, it is to avoid over-discharge is repeated several times in battery, standby secondly, it is necessary to ensure in the finite time of city power recovery
It can be full of with power supply, to meet use next time.For normal conditions, the remaining electricity of stand-by power supply target is preferably set
Measure as the 10% to 20% of its total electricity.Certainly, target dump energy can also be adjusted according to the difference of actual use scene.
After above-mentioned two parameter is set, air conditioner microprocessor control air conditioner enters test pattern, and air conditioner exists
Run first after into test pattern to end cycle of rationing the power supply, air conditioner microprocessor samples stand-by power supply real surplus electricity,
And compared real surplus electricity with target dump energy.During air conditioner microprocessor samples power supply real surplus electricity, preferably
Using an independent communication port.When running first, in air conditioner one end, the room temperature of preferred acquisition temperature sensor generation
Signal is detected, and using the difference of decontamination chamber temperature detector survey signal and design temperature as control targe, according to pid control algorithm, Fuzzy Control
The frequency of the control compressor such as algorithm processed or the start and stop for controlling compressor.Comparision of quantity of electricity result is divided to two kinds of processing modes, works as reality
Border dump energy and during more than the target dump energy, then illustrate that, according to current control mode, air conditioner can meet fortune
Row is required, then exits test pattern and enter operational mode.In operational mode, air conditioner continues to room temperature detection signal,
And detecting that the difference of signal and design temperature controls compressor operating according to room temperature, limitation is implemented in the not operation to air conditioner.And
, can if illustrated according to current operational mode operation if real surplus electricity is less than the target dump energy
Air conditioner is caused to be shut down within the cycle of rationing the power supply, or stand-by power supply is unable to reach the full shape that charges within next incoming call cycle
State.Under this regulation, air conditioner microprocessor keeps air conditioner to continue to test pattern, and is invoked at a setting limit
The upper limiting frequency of compressor in the electric cycle.Air conditioner microprocessor generates a regulating frequency, regulating frequency according to upper limiting frequency
Less than upper limiting frequency.Regulating frequency is preferably the difference of upper limiting frequency and regulating frequency value.In the cycle is rationed the power supply in next setting,
Control air conditioner to be run by compressor maximum running frequency of regulating frequency to second and set end cycle of rationing the power supply, and it is right again
Real surplus electricity and target dump energy are compared.If real surplus electricity is more than or equal to target dump energy,
Test pattern is exited, and controls air conditioner to be run according to operational mode by compressor maximum running frequency of regulating frequency.If
Real surplus electricity is still less than the target dump energy, then regulating frequency is reduced into a regulating frequency value again, then control
Air conditioner processed runs to the 3rd by highest compressor frequency of the regulating frequency after adjusting again and sets end cycle of rationing the power supply, then
It is secondary to compare real surplus electricity and target dump energy.Said process is repeated, until real surplus electricity is more than or equal to described
Target dump energy, then into operational mode, and keep running by compressor highest of the regulating frequency after adjusting for the last time
Frequency is run.
During actual motion, when real surplus electricity is less than target dump energy, preferably pass through input current
Signal generation regulating frequency.Specifically, when the real surplus electricity is less than target dump energy, the setting limit of sampling
The upper limiting frequency of compressor in the electric cycle, and the input current of correspondence upper limiting frequency is called, input current is adjusted downwards first
Amplitude obtains the first adjustment electric current, and input first adjusts current control compressor according to corresponding first regulation of the first regulation electric current
Frequency is run to next and sets end cycle of rationing the power supply.If real surplus electricity is still less than target dump energy, by institute
State the first adjustment electric current and adjust first amplitude still further below and obtain the second adjustment electric current, input second adjusts current control compressor and pressed
The second regulating frequency for adjusting electric current according to correspondence second is run to next and sets end cycle of rationing the power supply.For circulating and utilizing many
The individual setting cycle of rationing the power supply is adjusted the situation of frequency, and each adjustment electric current compares previous decline first amplitude.Air-conditioning
The input current value of the correspondence that is preferably stored with device microprocessor compressor theory maximum running frequency, first amplitude is preferably smaller than
Equal to the 10% of maximum input current, it is to avoid the loss of refrigerating capacity excessively.For common air conditioner, first amplitude is preferred
For 1A.
Shown in Figure 2, regulating frequency during test pattern is exited in air conditioner microprocessor storage.If air conditioner is again
Start, then judge whether setting cycle of rationing the power supply changes, if setting is rationed the power supply, the cycle is constant, automatically into operational mode,
The regulating frequency is called, and controls the regulating frequency to be run for compressor highest frequency.If without regulating frequency, also
It is that the time of rationing the power supply is short, reserve of electricity enough, is then run according to the theoretical maximum running frequency of compressor.If it is determined that setting is rationed the power supply week
Phase changes, or writes first, then automatically controls and enter test pattern.
Into after operational mode, air conditioner has two kinds of selectable operational modes, one kind for air conditioner microprocessor according to
Room temperature detects the difference control compressor variable frequency operation of signal and design temperature, and the upper frequency limit of compressor is regulating frequency, separately
One kind maintains regulating frequency for air conditioner microprocessor control compressor, and frequency is run surely.It is preferred that, air conditioner in operational mode
The method of operation and in test pattern determine regulating frequency last setting ration the power supply the cycle the air conditioner method of operation it is consistent, but
It is that the domain for exporting running frequency receives limitation.
The air-conditioner control method that the above embodiment of the present invention is provided, is designed specifically for the region of time sharing power supply, is being protected
On the premise of holding air conditioner operation so that the electricity of stand-by power supply is fully utilized, it is ensured that air conditioner enters after operational mode, no
The phenomenon for occurring electricity to use up and shutting down, meanwhile, in next incoming call cycle, the electricity of stand-by power supply can be fully extensive
It is multiple, do not influence to reuse.
A kind of air conditioner control system is also disclosed, including
Standby power supply module, for providing stand-by power supply to air conditioner;
Setting module, is remained for setting the cycle of rationing the power supply and setting the stand-by power supply target set when rationing the power supply end cycle
Remaining electricity;
Test module, for testing the regulating frequency;
The test module includes:
Sampling unit, the sampling unit is used for the stand-by power supply when air conditioner runs ration the power supply end cycle to the setting first
Real surplus electricity;
Comparing unit, the comparing unit is used to compare the target dump energy and real surplus electricity;
Unit, if real surplus electricity is more than the target dump energy, for controlling air conditioner to exit test pattern;
Adjustment unit, if real surplus electricity is less than the target dump energy, described set in the cycle of rationing the power supply of sampling is pressed
Contracting machine upper limiting frequency, and at least one regulating frequency is generated according to upper limiting frequency, the regulating frequency is less than the upper limiting frequency,
Air conditioner is controlled to be run by compressor maximum running frequency of regulating frequency at least one described to setting limit described in minimum of one
Electric end cycle;
Output unit, if air conditioner runs at least one by compressor maximum running frequency of regulating frequency at least one described
Described to set end cycle of rationing the power supply, the real surplus electricity is not less than the target dump energy, then exports regulating frequency;
Also include operation module, for controlling compressor to be run using the upper limiting frequency or regulating frequency as upper limiting frequency.
Further, the test module also includes current setting unit setting, and the current setting unit setting is used for according to compression
Machine upper limiting frequency calls the input current of correspondence upper limiting frequency, and according to input current generation adjustment electric current.
Further, in addition to setting is rationed the power supply cycle identifying unit, for judging whether setting cycle of rationing the power supply is sent out
Changing.
Present invention also offers a kind of air conditioner using above-mentioned air-conditioner control method.Air-conditioner control method is referring to figure
1 and Fig. 2 and above-described embodiment detailed description, using the air conditioner of above-mentioned air-conditioner control method there is same technology to imitate
Really.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.