Control method and device of air conditioner, air conditioner and storage medium

文档序号:1371877 发布日期:2020-08-14 浏览:17次 中文

阅读说明:本技术 空调器的控制方法、装置、空调器和存储介质 (Control method and device of air conditioner, air conditioner and storage medium ) 是由 袁光 于 2020-01-20 设计创作,主要内容包括:本发明提出了一种空调器的控制方法、装置、空调器和存储介质。其中,方法包括:获取空调器的输入电压、输入电流和由输入电流修正得到的供电线的阻抗;根据输入电压、输入电流和阻抗,确定电池组件的输出电压;根据输出电压确定空调器的运行参数范围,本发明提供的方法,能够精准控制空调器的运行参数上限,进而能更好的保护电池组件,防止在电池组件电量低时空调负载过大引起电池组件过度放电从而对电池造成永久损害故障,同时,由于利用输入端的电压和供电线的阻抗估算电池组件的输出电压,无需增设检测输出电压的检测线,降低成本,简化安装维修步骤,并降低安装失误引起的故障。(The invention provides a control method and device of an air conditioner, the air conditioner and a storage medium. The method comprises the following steps: acquiring input voltage and input current of the air conditioner and impedance of a power supply line obtained by correcting the input current; determining an output voltage of the battery assembly according to the input voltage, the input current and the impedance; the method provided by the invention can accurately control the upper limit of the operating parameter of the air conditioner, further protect the battery assembly better, prevent the battery assembly from being over-discharged due to overlarge air conditioning load when the battery assembly is low in electric quantity, and further cause permanent damage faults to the battery.)

1. A control method of an air conditioner including a battery pack that supplies power to the air conditioner through a power supply line, the control method comprising:

acquiring input voltage and input current of the air conditioner and impedance of the power supply line obtained by correcting the input current;

determining an output voltage of the battery assembly from the input voltage, the input current, and the impedance;

and determining the operating parameter range of the air conditioner according to the output voltage.

2. The method for controlling an air conditioner according to claim 1, wherein the obtaining of the impedance of the power supply line by the input current correction specifically includes:

acquiring the input current according to a specified time interval;

and carrying out first-class correction on the impedance of the power supply line according to the input current, the theoretical value of the impedance of the power supply line and a first preset coefficient.

3. The method of claim 2, wherein the impedance of the power supply line is corrected by the input current, and further comprising:

determining the nth corrected impedance of the second type, wherein n is an integer greater than or equal to 1;

and determining the impedance of the second type correction for the (n + 1) th time according to the impedance obtained by the first type correction, a second preset coefficient and the impedance of the second type correction for the nth time.

4. The method for controlling an air conditioner according to any one of claims 1 to 3, wherein determining the operating parameter range of the air conditioner according to the output voltage specifically comprises:

comparing the magnitude relation between the output voltage at the current sampling moment and the output voltage at the previous sampling moment;

determining that the output voltage at the current sampling moment is less than or equal to the output voltage at the previous sampling moment, and judging whether the output voltage at the current sampling moment is less than or equal to a first output voltage threshold value;

and judging that the output voltage at the current sampling moment is less than or equal to the first output voltage threshold value, and controlling the maximum operation frequency and/or the maximum operation power of the air conditioner to be reduced according to a preset offset.

5. The method according to claim 4, wherein determining the operating parameter range of the air conditioner according to the output voltage further comprises:

determining that the output voltage at the current sampling moment is greater than the output voltage at the previous sampling moment, and judging whether the output voltage at the current sampling moment is greater than or equal to a second output voltage threshold value;

and judging that the output voltage at the current sampling moment is greater than or equal to the second output voltage threshold value, and controlling the maximum operation frequency and/or the maximum operation power of the air conditioner to be increased according to the preset offset.

6. The method of claim 4, wherein after determining that the output voltage at the current sampling time is less than or equal to the output voltage at the previous sampling time, further comprising:

judging whether the output voltage at the current sampling moment is less than or equal to a third output voltage threshold value or not;

and judging that the output voltage at the current sampling moment is less than or equal to the third output voltage threshold value, and controlling the air conditioner to stop running.

7. The control method of an air conditioner according to claim 5,

the absolute value of the first output voltage threshold and the preset offset is negative correlation;

the second output voltage threshold is positively correlated with the absolute value of the preset offset,

the second output voltage threshold is greater than the first output voltage threshold.

8. A control device for an air conditioner, comprising a memory storing a computer program, and a processor executing the computer program to execute the control method for an air conditioner according to any one of claims 1 to 7.

9. An air conditioner, comprising:

a battery assembly adapted to supply power to the air conditioner through a power supply line; and

the control device of an air conditioner according to claim 8, capable of executing the following steps when the control device executes the computer program:

acquiring input voltage and input current of the air conditioner and impedance of the power supply line;

determining an output voltage of the battery assembly from the input voltage, the input current, and the impedance;

and determining the operating parameter range of the air conditioner according to the output voltage.

10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, performing the steps of the control method of an air conditioner according to any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of air conditioners, in particular to a control method of an air conditioner, a control device of the air conditioner, the air conditioner and a computer readable storage medium.

Background

The existing plug-in type vehicle air conditioner is powered by a storage battery, has a protection function for the storage battery, and the voltage of the storage battery can directly reflect the electric quantity of the battery, so most of the external type vehicle air conditioner is protected by taking the voltage of the storage battery as a basis, and the current detection scheme comprises the following steps:

1. and detecting the voltage at the input end of the air conditioner, and neglecting the line loss voltage. However, because the distance between the external vehicle-mounted air conditioner and the storage battery is long, the power supply line is long, and a certain resistance exists, when the storage battery is low in voltage, the air conditioner is high in power, so that the power supply current is large, the line loss voltage on the lead is large, the detection voltage cannot truly reflect the voltage of the storage battery, the protection of the storage battery is greatly reduced, and the battery can be damaged in severe cases.

2. The voltage is detected at the output end of the storage battery, and two special detection lines are connected to the voltage output end of the storage battery to accurately collect the voltage. However, the special detection line is added, so that the product cost is increased, and the installation complexity and difficulty are increased.

Disclosure of Invention

The present invention is directed to solving at least one of the problems of the prior art or the related art.

To this end, a first aspect of the present invention is directed to a method for controlling an air conditioner.

A second aspect of the present invention is to provide a control apparatus of an air conditioner.

A third aspect of the present invention is to provide an air conditioner.

A fourth aspect of the invention is directed to a computer-readable storage medium.

In view of the above, according to a first aspect of the present invention, there is provided a control method of an air conditioner including a battery pack that supplies power to the air conditioner through a power supply line, the control method including: acquiring input voltage and input current of the air conditioner and impedance of a power supply line obtained by correcting the input current; determining an output voltage of the battery assembly according to the input voltage, the input current and the impedance; and determining the operating parameter range of the air conditioner according to the output voltage.

The control method of the air conditioner provided by the invention comprises the steps of detecting input voltage and input current at the input end of the air conditioner, obtaining the impedance of a power supply line obtained by correcting the input current, calculating the output voltage of a battery assembly by using the input voltage and line loss voltage according to kirchhoff's voltage law and ohm's law, improving the calculation accuracy of the output voltage, determining the executable operation parameter range of the air conditioner according to the output voltage, enabling the operation parameters of the air conditioner to change along with the output voltage continuously, accurately controlling the upper limit of the operation parameters of the air conditioner due to the fact that the output voltage is calculated to be more fit with the actual voltage of the battery assembly, further protecting the battery assembly better, preventing the battery assembly from over-discharging caused by over-large load when the electric quantity of the battery assembly is low, and causing permanent damage faults to a battery, and estimating the output voltage of the battery assembly by using the voltage at the input end and the, and a detection line for detecting the output voltage is not required to be additionally arranged, so that the cost is reduced, the installation and maintenance steps are simplified, and the faults caused by installation errors are reduced.

Specifically, the step of determining the output voltage of the battery assembly according to the input voltage, the input current and the impedance adopts the following formula:

Ub=Ui+Ii×Rs

wherein, UbRepresenting the output voltage, U, of the battery packiIndicating the input voltage of the air conditioner, IiIndicating the input current, R, of the air conditionersThe impedance of the corrected power supply line is indicated.

In addition, according to the control method of the air conditioner in the above technical solution provided by the present invention, the following additional technical features may be further provided:

in the above technical solution, further, the obtaining of the impedance of the power supply line by the input current correction specifically includes: acquiring input current according to a specified time interval; and performing first-class correction on the impedance of the power supply line according to the input current, the theoretical value of the impedance of the power supply line and a first preset coefficient.

In the technical scheme, the input current and the voltage are periodically collected according to the specified time interval, considering that the impedance is related to the temperature, the larger the input current is, the more serious the heating of the connecting line is, so that the impedance of the power supply line is higher, and the three are in positive correlation relation, therefore, according to the input current at the current collection moment, the impedance theoretical value of the power supply line and a first preset coefficient, the impedance of the power supply line is subjected to first-type correction, the resistance is compensated according to the input current, the calculation accuracy of the output voltage is improved, when the operating parameter range of the air conditioner is adjusted by utilizing the output voltage, the battery assembly can be better protected, and the battery assembly is prevented from being over-discharged due to the overlarge load when the power of the battery assembly is low in electric quantity, so.

Specifically, according to the input current, the theoretical value of the impedance of the power supply line and a first preset coefficient, the impedance of the power supply line is subjected to a first type of correction, and the following formula is adopted:

Rs1=R0+k1×Ii

wherein R iss1Representing the modified impedance of the first type, R0The theoretical value of the impedance, i.e. the initial resistance, representing the supply line can be obtained from an external memory (e.g. supplier) or fixed in the program, k1The first preset coefficient is represented and can be reasonably set according to historical detection data, and the impedance rising value caused by the heating of the power supply line caused by the current can be estimated through the compensation coefficient and the input circuit.

In addition, the following formula can be adopted for the first type of correction of the impedance of the power supply line:

Rs1=R0+k2×Ii 2

taking into account that the heat generated by the supply line is related to power and time, and that the power is related to the square of the current and the resistance, the square of the current is used for estimation to make the compensation more accurate, where k2Representing a first predetermined coefficient which can be reasonably set based on historical detection data, and k2Less than k1

In any of the above technical solutions, further, the obtaining of the impedance of the power supply line by the input current correction specifically further includes: determining the impedance of the second type of correction for the nth time, wherein n is an integer greater than or equal to 1; and determining the impedance of the second type correction for the (n + 1) th time according to the impedance obtained by the first type correction, a second preset coefficient and the impedance of the second type correction for the nth time.

In the technical scheme, because the line heating is a slow process, only after the current is continuously increased or maintained for a period of time after the current is increased, the power supply line can be caused to really generate heat to cause the impedance to be increased, and therefore, the impedance cannot be increased immediately due to the instantaneous increase of the current twice, in other words, the impedance is also gradually and slowly increased, the impedance caused by the single current increase is small, and the current reduction principle is the same. Therefore, after the cyclic detection is performed again, the impedance obtained by the first class correction, the second preset coefficient and the nth second class corrected impedance are used for further correcting the impedance obtained by the first class correction for the second time to obtain the (n + 1) th second class corrected impedance, so that the compensation value is as smooth as possible, and the influence of the short-time change of the input current on the impedance is filtered out, wherein when n is equal to 0, the nth second class corrected impedance is the impedance obtained by the last second class correction at the previous acquisition time, and when n is greater than 0, the nth second class corrected impedance is the impedance obtained by the nth second class correction at the current acquisition time.

Specifically, the impedance of the second type correction of the (n + 1) th time is determined according to the impedance obtained by the first type correction, a second preset coefficient and the impedance of the second type correction of the nth time, and the following formula is adopted:

Rsn+1=a×Rs1+(1-a)×Rsn

wherein R issn+1Representing the impedance of the n +1 th second class after correction, RsnThe impedance of the nth second type of correction is represented, and a represents a second preset coefficient which can be reasonably set according to historical detection data.

In any of the above technical solutions, further, determining an operating parameter range of the air conditioner according to the output voltage specifically includes: comparing the magnitude relation between the output voltage at the current sampling moment and the output voltage at the previous sampling moment; determining that the output voltage at the current sampling moment is less than or equal to the output voltage at the previous sampling moment, and judging whether the output voltage at the current sampling moment is less than or equal to a first output voltage threshold value; and judging that the output voltage at the current sampling moment is less than or equal to a first output voltage threshold value, and controlling the maximum operation frequency and/or the maximum operation power of the air conditioner to be reduced according to a preset offset.

In the technical scheme, after the output voltage of a battery pack is determined, the magnitude relation between the output voltage at the current sampling time and the output voltage at the previous sampling time is compared, the output voltage is judged to be in the ascending or descending process according to the magnitude relation, if the output voltage at the current sampling time is less than or equal to the output voltage at the previous sampling time, the output voltage is in the descending stage, in order to prevent the input current from being overlarge, the upper limit of the operating parameter of the air conditioner needs to be limited, at the moment, the output voltage is graded according to a first output voltage threshold value, when the output voltage at the current sampling time is judged to be less than or equal to the first output voltage threshold value, the maximum operating frequency and/or the maximum operating power of the air conditioner are controlled to be reduced according to the preset offset corresponding to the first output voltage threshold value, and then the operating parameter which can be executed by, the problem of excessive discharge of the battery pack caused by overlarge air-conditioning load when the electric quantity of the battery pack is low is avoided. The first output voltage threshold comprises a plurality of groups of values, and can be preset according to equipment parameters of the air conditioner.

In any of the above technical solutions, further, determining an operating parameter range of the air conditioner according to the output voltage specifically includes: determining that the output voltage at the current sampling moment is greater than the output voltage at the previous sampling moment, and judging whether the output voltage at the current sampling moment is greater than or equal to a second output voltage threshold value; and judging that the output voltage at the current sampling moment is greater than or equal to a second output voltage threshold value, and controlling the maximum operation frequency and/or the maximum operation power of the air conditioner to rise according to a preset offset.

In the technical scheme, if the output voltage at the current sampling moment is greater than the output voltage at the previous sampling moment, the output voltage is in a rising stage, and the operation limit of the air conditioner needs to be removed, so that the use requirement of a user is met. The second output voltage threshold comprises a plurality of groups of values, and can be preset according to equipment parameters of the air conditioner.

In any of the above technical solutions, further, after determining that the output voltage at the current sampling time is less than or equal to the output voltage at the previous sampling time, the method further includes: judging whether the output voltage at the current sampling moment is less than or equal to a third output voltage threshold value or not; and judging that the output voltage at the current sampling moment is less than or equal to a third output voltage threshold value, and controlling the air conditioner to stop running.

In the technical scheme, after the output voltage is determined to be in a descending stage, if the output voltage at the current sampling moment is less than or equal to a third output voltage threshold, the output voltage is low, the battery assembly is easily damaged, and shutdown protection is needed, at this moment, the air conditioner is controlled to stop running, so that the battery assembly is better protected, and permanent damage to the battery caused by excessive discharge of the storage battery due to overlarge air conditioning load when the electric quantity of the battery assembly is low is prevented, wherein the third output voltage threshold is used for protecting the shutdown voltage.

In any of the above technical solutions, further, the absolute value of the first output voltage threshold and the preset offset is negative correlation; the second output voltage threshold is positively correlated with the absolute value of the preset offset, and the second output voltage threshold is larger than the first output voltage threshold.

In the technical scheme, the absolute value of the first output voltage threshold and the preset offset is in negative correlation, and in the output voltage reduction stage, the larger the first output voltage threshold corresponding to the output voltage is, the smaller the preset offset required to be reduced is. The second output voltage threshold is positively correlated with the absolute value of the preset offset, and in the output voltage rising stage, the larger the second output voltage threshold corresponding to the output voltage is, the larger the rising preset offset is. And the second output voltage threshold corresponding to the same preset offset is greater than the first output voltage threshold, namely, the output voltage rises and falls with a return difference, so that repeated rapid jumping of the operation parameters in a short time and damage to the battery and the air conditioner caused by reduction of output current, reduction of line loss voltage and rise of input voltage detected by the input end of the air conditioner are prevented when the operation parameters are adjusted downwards to be at the upper limit, and the product performance and the user experience are improved.

According to a second aspect of the present invention, a control device for an air conditioner is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements any one of the above-mentioned control methods when executing the computer program. Therefore, the control device of the air conditioner has all the advantages of the control method of the air conditioner.

According to a third aspect of the present invention, there is provided an air conditioner comprising: the battery pack is suitable for supplying power to the air conditioner through the power supply line; and a control device for the air conditioner, wherein the control device is capable of executing the following steps when executing the computer program: acquiring input voltage and input current of an air conditioner and impedance of a power supply line; determining an output voltage of the battery assembly according to the input voltage, the input current and the impedance; and determining the operating parameter range of the air conditioner according to the output voltage.

The air conditioner provided by the invention detects input voltage and input current at the input end of the air conditioner, acquires the impedance of a power supply line obtained by correcting the input current, then utilizes the input voltage and the line loss voltage to calculate the output voltage of a battery assembly according to kirchhoff's voltage law and ohm law, improves the calculation accuracy of the output voltage, determines the executable operation parameter range of the air conditioner according to the output voltage, ensures that the operation parameters of the air conditioner continuously change along with the output voltage, accurately controls the upper limit of the operation parameters of the air conditioner because the calculated output voltage is more attached to the actual voltage of the battery assembly, can better protect the battery assembly, prevents the battery assembly from over-discharging caused by over-discharge of the battery assembly when the electric quantity of the battery assembly is low, simultaneously estimates the output voltage of the battery assembly by utilizing the voltage at the input end and the impedance of the power supply line, and a detection line for detecting the output voltage is not required to be additionally arranged, so that the cost is reduced, the installation and maintenance steps are simplified, and the faults caused by installation errors are reduced.

Specifically, the air conditioner is a vehicle-mounted air conditioner or a portable air conditioner powered by a battery, a battery assembly is connected with a load in the air conditioner and supplies power to the load at any time, the load comprises a fan and/or a compressor, for example, an externally-mounted vehicle-mounted air conditioner, the air conditioner is not an original vehicle-mounted air conditioner of a truck, the air conditioner is an air conditioner additionally installed by a truck driver, an outer machine is hung outside a cab, an inner machine is hung inside the cab, but a vehicle-mounted storage battery is adopted for supplying power, and the air conditioner can be started to operate after an engine is.

According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the control method of the air conditioner as set forth in any one of the above. Therefore, the computer-readable storage medium has all the advantageous effects of the control method of the air conditioner according to any one of the above embodiments.

Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

Drawings

The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a flowchart illustrating a control method of an air conditioner according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a control method of an air conditioner according to still another embodiment of the present invention;

fig. 3 is a flowchart illustrating a control method of an air conditioner according to still another embodiment of the present invention;

fig. 4 is a flowchart illustrating a control method of an air conditioner according to still another embodiment of the present invention;

fig. 5 is a flowchart illustrating a method for controlling an air conditioner according to an embodiment of the present invention;

FIG. 6 is a schematic diagram of a battery voltage limiting interval according to an embodiment of the present invention;

fig. 7 is a schematic block diagram illustrating a control apparatus of an air conditioner according to an embodiment of the present invention.

Detailed Description

In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict.

In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.

A control method of an air conditioner, a control apparatus 700 of an air conditioner according to some embodiments of the present invention will be described below with reference to fig. 1 to 7.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:空气调节和电池冷却装置及其运行方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!