Disclosure of Invention
In view of the above, the present invention provides a method for controlling a frequency of a compressor and an air conditioner, so as to solve the problem that a pressure sensor in the prior art has sampling hysteresis and is prone to cause frequent frequency fluctuation.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a compressor frequency control method comprising the steps of:
during the continuous operation of the compressor, when the first preset period TWave motionWhen the frequency of the internal triggering high-pressure protection frequency reduction is more than n times, the high-pressure change trend frequency limiting function is started, wherein n is more than or equal to 2;
after entering the high-pressure variation trend frequency limiting function, limiting the highest frequency allowed to operate currently through the high-pressure variation trend;
during continuous operation of the compressor, when T is continuedStabilizationAnd the high-pressure protection frequency reduction is not triggered again, and the high-pressure change trend frequency limiting function is quitted. The compressor frequency control method provided by the invention controls the entering of a high-pressure change trend frequency limiting function when the periodic fluctuation of the frequency occurs, pre-judges the high pressure to be generated in advance through the judgment of the change trend, and carries out frequency limiting and frequency reducing protection in time, so that the frequency tends to be stable, and the problem of frequency fluctuation caused by pressure detection lag is solved, and the operation stability of an air conditioner and the use comfort of a user are ensured.
Further, a time period from one triggering of the high-voltage protection down conversion to the next triggering of the high-voltage protection down conversion constitutes one high-voltage protection down conversion period Δ T. Namely, the frequency of the current compressor is judged to be periodically fluctuated, the time when the periodic fluctuation occurs is taken as a trigger condition for triggering the frequency limiting function of the high-pressure variation trend, the high-pressure variation trend frequency limiting function can be accurately entered, and misjudgment is prevented.
Further, the high pressure variation trend frequency limiting function comprises:
calculating the change slope K of the high pressure of the second preset period delta t in the frequency rising stage of the air conditioner1When the slope K of the change of the high pressure at the up-conversion stage1When the change slope is larger than or equal to a preset change slope K, controlling to reduce the frequency rising speed of the compressor; when K1 is more than or equal to K, the pressure is rising at the moment, and the pressure rising rate is higher than or equal to the change rate when the protection is triggered, at the moment, if the protection is not controlled, the high-pressure protection is easy to trigger down-frequency, the previous periodic protection is continuously repeated, and therefore the frequency rising speed needs to be delayed, and the pressure rising speed is slowed down.
Detecting that the high-pressure P is greater than or equal to a high-pressure threshold value P in the frequency increasing stage of the compressorThreshold valueWhen the frequency of the compressor is not increased, the frequency of the compressor is not increased. When P is more than or equal to PThreshold valueIf the pressure is increased continuously, the high-pressure frequency-reducing protection is triggered, in order to prevent frequent frequency fluctuation and influence on operation stability, the frequency is limited to be further increased, and the high-pressure is controlled not to be continuously increased to trigger the high-pressure protection frequency-reducing protection
Further, the preset change slope K is set according to the high pressure in the last high pressure protection frequency reduction period Δ T before entering the high pressure change trend frequency limiting function, where K is (P ═ P)max-Pmin) ,/Δ T, said PmaxAnd PminThe maximum high pressure and the minimum high pressure in the last high pressure protection frequency reduction period delta T before entering the high pressure variation trend frequency limiting function are respectively.
Further, the high pressure threshold value PThreshold valueAccording to the maximum high-pressure P in the last high-pressure protection frequency reduction period delta T before entering the high-pressure change trend frequency limiting functionmaxAnd a minimum high pressure PminAnd (4) setting.
Further, the change slope K of the high pressure within the second preset period Δ t1=(P2-P1) T,/Δ t, said P1Is the initial value of the high pressure for the second predetermined period Δ t, P2Is the end value of the high pressure for the second preset period deltat.
Further, the second preset period delta t is set to be 10-20 s, and the pressure is guaranteed to obtain the high-pressure in real time.
Further, the first preset period TWave motionThe setting time is 30-60 min. The frequency fluctuation of the compressor is ensured to be periodic, the accidental single high-pressure protection frequency reduction is avoided to trigger the high-pressure change trend frequency limiting function, and the influence of misjudgment on refrigeration/heating is fully prevented.
Further, the first preset time TStabilizationSet to 1h-2 h.
Compared with the prior art, the frequency control method of the compressor has the following advantages:
the high pressure change trend frequency limiting function is controlled to be started when the frequency periodically fluctuates, the high pressure to be generated is pre-judged in advance through the judgment of the change trend, the frequency limiting and frequency reducing protection is carried out in time, the frequency tends to be stable, and the problem of frequency fluctuation caused by pressure detection lag is solved, so that the operation stability of the air conditioner and the use comfort of a user are ensured.
The present invention also provides an air conditioner, including a computer readable storage medium storing a computer program and a processor, wherein the computer program is read and executed by the processor to implement the above-mentioned compressor frequency control method, and the air conditioner further includes: an acquisition unit for acquiring exhaust pressure and air conditioner operation time;
a calculating unit for calculating the frequency of triggering high-voltage protection frequency reduction, a preset change slope K and a change slope K of high-voltage pressure in a second preset period delta t1;
A judging unit for judging K and K1The high pressure P and P detected in the frequency raising stage of the compressorThreshold valueThe size of (d);
and the control unit is used for controlling the air conditioner to adjust the running frequency of the compressor according to the results of the acquisition unit, the calculation unit and the judgment unit.
Compared with the prior art, the air conditioner and the compressor frequency control method have the same advantages, and are not described again.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
As shown in fig. 1 to 2, the present embodiment provides a method for controlling a frequency of a compressor, including the following steps:
s1, during the continuous operation of the compressor, when the first preset period TWave motionWhen the frequency of the internal triggering high-pressure protection frequency reduction is more than n times, entering a high-pressure variation trend frequency limiting function; wherein n is more than or equal to 2.
During the continuous operation of the compressor, the pressure sensor can detect the operation pressure of the unit, and whether the protection is lowered in frequency is judged according to the detected pressure. When the pressure detected by the pressure sensor is higher than a preset value, the air conditioner load is higher, and frequency limiting and reducing protection is needed to limit the frequency increasing or gradually reduce the frequency, so that the air conditioner load is reduced, and the use reliability of the air conditioner is ensured. If the first predetermined period TWave motionAnd if the internal trigger high-voltage protection is subjected to frequency reduction twice or more than twice, the periodic fluctuation of the frequency of the compressor is determined.
Specifically, when the slave unit starts timing when the high-pressure protection down-conversion is triggered for the first time, the frequency and the pressure of the compressor decrease, and when the pressure decreases to a certain degree, the high-pressure protection down-conversion exits, the frequency of the compressor increases again, the pressure also increases again until the high-pressure protection down-conversion is triggered for the second time, and if no external force interference exists, the periodic fluctuation can be maintained, as shown in fig. 1. The time period from the first triggering of the high-voltage protection down-conversion to the second triggering of the high-voltage protection down-conversion forms a high-voltage protection down-conversion period delta T, namely a first preset period TWave motionAt least two high-voltage protection frequency-reducing cycles are arranged in the circuit.
Starting timing when the unit triggers the high-voltage protection frequency reduction for the first time, recording the primary protection when the unit triggers the high-voltage protection frequency reduction for the second time, calculating the time sum of the two high-voltage protection frequency reduction, and summing the calculated time sum with the first preset period TWave motionComparing to see if the sum of the time is less than TWave motionNamely, the frequency of the current compressor is judged to be periodically fluctuated, and the time when the periodic fluctuation appears is taken as a trigger spring for triggering the frequency limiting function of the high-pressure change trendThe device can accurately enter a high-pressure variation trend frequency limiting function, and misjudgment is prevented.
Further, the first preset period TWave motionThe setting is 30-60 min, the frequency fluctuation of the compressor is ensured to be periodic, the accidental single high-voltage protection frequency reduction is avoided to trigger the high-voltage pressure change trend frequency limiting function, and the influence of misjudgment on refrigeration/heating is fully prevented.
And S2, after entering the high-pressure variation trend frequency limiting function, limiting the highest frequency of the current allowed operation through the high-pressure variation trend.
And then the high pressure to be generated is pre-judged in advance through the judgment of the variation trend, the frequency limiting and reducing protection is carried out in time, and the problem of frequency fluctuation caused by the lag of pressure detection is solved.
In an embodiment of the present invention, the high pressure variation trend frequency limiting function includes:
calculating a change slope K1 of the high pressure in a second preset period delta t in the frequency rising stage of the air conditioner, and controlling to reduce the frequency rising speed of the compressor when the change slope K1 of the high pressure in the frequency rising stage is greater than or equal to the preset change slope K; and when the change slope K1 of the high-pressure in the frequency increasing stage is smaller than the preset change slope K, keeping the current operation state unchanged, and continuously detecting the pressure value.
When K1 is more than or equal to K, the pressure is rising at the moment, and the pressure rising rate is higher than or equal to the change rate when the protection is triggered, at the moment, if the protection is not controlled, the high-pressure protection is easy to trigger down-frequency, the previous periodic protection is continuously repeated, and therefore the frequency rising speed needs to be delayed, and the pressure rising speed is slowed down. Preferably, when K1 is more than or equal to K, the frequency increasing speed of the compressor is reduced to half of the original frequency increasing speed.
Further, the change slope K of the high pressure within the second preset period delta t1=(P2-P1) ,/Δ t, wherein P1Is the initial value of the high pressure for the second predetermined period deltat, P2Is the end value of the high pressure for the second preset period deltat. Preferably, Δ t is set to 10 to 20s, where Δ t is t2-t1。P1Is a time t1Pressure value, P, corresponding to time2Is a time t2The corresponding pressure value.
More preferably, the second preset period Δ t is not fixed, and may be 10s, 20s, and the like, and the normal pressure sensor detects the pressure every 5 to 10s, and Δ t only needs to be greater than the pressure detection period.
Further, the preset change slope K is set according to the high-pressure in the last high-pressure protection frequency reduction period delta T before entering the high-pressure change trend frequency limiting function. Preferably, K ═ P (P)max-Pmin) [ Delta ] T, wherein PmaxAnd PminThe maximum high pressure and the minimum high pressure in the last high pressure protection frequency reduction period delta T before entering the high pressure variation trend frequency limiting function are respectively.
Meanwhile, in the frequency increasing stage of the compressor, if the detected high-pressure P is more than or equal to the high-pressure threshold value PThreshold valueWhen the frequency of the compressor is not increased, the frequency of the compressor is not increased.
Further, a high pressure threshold PThreshold valueAccording to the maximum high-pressure P in the last high-pressure protection frequency reduction period delta T before entering the high-pressure change trend frequency limiting functionmaxAnd a minimum high pressure PminAnd (4) setting. Preferably, P isThreshold value=(Pmax+Pmin)/2。
When P is not less than (P)max+Pmin) When the pressure rises to a certain value, the high-pressure at the frequency rising stage is indicated to be raised to a certain value, and the pressure can still trigger high-pressure frequency reduction protection when the pressure continues to rise at the moment, so that the frequency is limited to further rise in order to prevent frequent frequency fluctuation and influence on the operation stability, the high-pressure is controlled not to continuously rise to trigger the high-pressure protection frequency reduction, namely the frequency rising of the compressor is forbidden; when P < (P)max+Pmin) And 2, the high-pressure in the frequency raising stage is continuously raised, the high-pressure protection frequency reduction cannot be triggered temporarily, and the frequency raising can be continuously carried out to ensure the efficient operation of refrigeration/heating.
In the embodiment, the magnitude of the high-pressure and the change rate of the high-pressure are judged at the same time in the frequency increasing stage of the air conditioner, two different frequency limiting and reducing measures are adopted for two different situations, the frequency increasing rate is controlled by adopting a method for reducing the frequency increasing rate when the pressure increasing rate is too high, and the frequency increasing is controlled by adopting a method for forbidding the frequency increasing when the pressure is increased to a high-pressure threshold value, so that the frequent frequency reducing operation can be accurately controlled and prevented in the whole frequency increasing process, and meanwhile, the phenomenon that the frequency increasing is forbidden blindly to influence the refrigerating and heating functions of the air conditioner and influence the comfort of a user is avoided.
S3, during the continuous operation of the compressor, when T lastsStabilizationAnd when the high-pressure protection frequency reduction is not triggered again, the high-pressure change trend frequency limiting function is quitted.
The long-time high-pressure variation trend frequency limiting function may cause the low operation frequency to influence the refrigeration and heating effects, so that the refrigeration and heating effects are prevented from being influenced at the first preset time TStabilizationAnd if the high-pressure protection frequency reduction is not triggered any more, the high-pressure change trend frequency limiting function is quitted. Preferably, the first preset time TStabilizationSet to 1h-2 h.
According to the frequency control method of the compressor, the frequency limiting function of the high-pressure variation trend is controlled to be started when the frequency fluctuates periodically, the high pressure to be generated is pre-judged in advance through judgment of the variation trend, frequency limiting and frequency reducing protection is carried out in time, the frequency tends to be stable, the problem of frequency fluctuation caused by pressure detection lag is solved, and the operation stability of an air conditioner and the use comfort of a user are guaranteed.
As part of the embodiment of the present invention, as shown in fig. 3, there is provided another schematic flow chart of a compressor frequency control method, specifically including:
s101, normal operation of the unit
S102, judging whether to trigger high-voltage protection frequency reduction, if so, executing a step S103, and if not, continuing normal operation of the unit;
s103, recording primary protection;
s104, judging whether the frequency of triggering the high-voltage protection frequency reduction is more than or equal to 2, if so, executing a step S105, otherwise, normally operating the unit and controlling the normal frequency;
s105, judging whether the sum of the time of triggering the high-voltage protection frequency reduction twice is less than or equal to a first preset period TWave motionIf yes, executing step S201, entering a high pressure variation trend frequency limiting function, and if not, enabling the unit to normally operate and normally control the frequency.
S201, entering a high-pressure variation trend frequency limiting function, and executing a step S202;
s202, calculating a predetermined change slope K ═ Pmax-Pmin)/ΔT;
S203, calculating the change slope K of the high-pressure in the second preset period delta t1=(P2-P1)/Δt;
S204, judging K1If not, executing step S205, otherwise, returning to step S201;
s205, reducing the frequency increasing speed of the compressor to 1/2, and continuously detecting the pressure value according to the period;
s206, judging whether the high pressure P detected in the frequency increasing stage of the compressor is more than or equal to a high pressure threshold value PThreshold valueIf yes, executing step S207, prohibiting the frequency increasing of the compressor, if not, returning to step S201;
s207, prohibiting the frequency increasing of the compressor, and executing the step S301;
s301, judging whether the time of not triggering the high-voltage protection frequency reduction is more than or equal to TStabilizationIf yes, executing step S302, otherwise, returning to step S104;
and S302, exiting the high-pressure change trend frequency limiting function.
As a part of the embodiments of the present invention, there is also provided an air conditioner including the above-mentioned compressor frequency control method, further including a computer-readable storage medium storing a computer program and a processor, where the computer program is read and executed by the processor to implement the above-mentioned compressor frequency control method, and the air conditioner further includes:
an acquisition unit for acquiring exhaust pressure and air conditioner operation time;
a calculating unit for calculating the frequency of triggering high-voltage protection frequency reduction, a preset change slope K and a change slope K of high-voltage pressure in a second preset period delta t1;
A judgment unit forIn the judgment of K and K1The high pressure P and P detected in the frequency raising stage of the compressorThreshold valueThe size of (d);
and the control unit is used for controlling the air conditioner to adjust the running frequency of the compressor according to the results of the acquisition unit, the calculation unit and the judgment unit.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.