Refrigerant detection method and device, computer equipment and storage medium
By obtaining the operating power of the refrigeration equipment under a standard detection environment, and fitting the power at different temperatures with the set temperature and power as constraints, the correction parameters are obtained, and the problem of inaccurate refrigerant infusion detection of refrigeration equipment is solved. Accurate judgment of the refrigerant infusion state is achieved.
Patent Information
- Application Number
- CN202411393759.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-02-14
AI Technical Summary
The refrigerant infusion detection of refrigerant in refrigeration equipment is inaccurate, mainly due to the fluctuations in ambient temperature, resulting in uncertainty in the detection results.
By obtaining the operating power of the refrigeration equipment under a standard detection environment, and fitting the power at different temperatures with the set temperature and power as constraints, the correction parameters are obtained. Then, based on the temperature and correction parameters of the current detection environment, the operating power of the refrigerant to be detected is corrected to determine whether the refrigerant is injected with qualified filling.
By correcting the power, it is possible to accurately determine whether the refrigerant in the refrigeration equipment is injected with qualified conditions, effectively avoiding the impact of ambient temperature fluctuations on the detection results.
Smart Images

Figure CN119437754A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of refrigerant detection, and in particular to a refrigerant detection method, device, computer equipment and storage medium. Background Art
[0002] When the refrigeration equipment is completed, it will be inspected: the refrigeration equipment will be powered on and run for about 30 minutes, and the temperature changes, power and other operating factors of the refrigeration equipment will be recorded during operation. The recorded temperature, power and other parameters will be compared with the corresponding parameters in the large database. If the recorded temperature, power and other parameters are within the database range, it can be considered that the refrigerant in the refrigeration equipment is sufficiently filled and the compressor operating power is within a reasonable range, and the refrigeration equipment is qualified. However, the test environment for commercial inspection of refrigeration equipment is fluctuating, and changes in ambient temperature will affect the operating parameters of the refrigeration equipment, resulting in inaccurate refrigerant filling detection of the refrigeration equipment.
[0003] With regard to the problem of inaccurate refrigerant filling detection of refrigeration equipment in the related art, no effective solution has been proposed yet. Summary of the invention
[0004] Based on this, it is necessary to provide a refrigerant detection method, device, computer equipment and storage medium that can solve the problem of inaccurate refrigerant filling detection of refrigeration equipment in response to the above technical problems.
[0005] In a first aspect, a refrigerant detection method is provided in this embodiment to obtain a first power when a first refrigeration device is operated at a set temperature of a standard detection environment, and multiple second powers when the first refrigeration device is operated at multiple first temperatures;
[0006] Taking the set temperature and the first power as constraints, fitting the plurality of first temperatures and second powers to obtain correction parameters for correcting the powers detected at different temperatures;
[0007] Correcting the third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and the corresponding correction parameter;
[0008] Whether the refrigerant in the second refrigeration equipment is filled properly is determined according to the corrected third power.
[0009] In some embodiments, the correction parameters include a power adjustment constant and a temperature adjustment constant, wherein, after adjusting the preset power based on the power adjustment constant, and adjusting the set temperature and the first temperature respectively based on the temperature adjustment constant, the ratio between the adjusted preset power and the second power is equal to the ratio between the adjusted set temperature and the adjusted first temperature.
[0010] In some embodiments, according to the second temperature of the current detection environment and the corresponding correction parameter, correcting the third power of the second refrigeration device when it is running under the current detection environment includes:
[0011] Obtaining a first difference between the second temperature and the temperature adjustment constant, and a second difference between the set temperature and the temperature adjustment constant;
[0012] Obtaining a power adjustment coefficient according to the first difference and the second difference;
[0013] According to the power adjustment constant and the power adjustment coefficient, the third power detected when the second refrigeration equipment is running under the current detection environment is corrected.
[0014] In some embodiments, judging whether the refrigerant in the second refrigeration equipment is filled properly according to the corrected third power includes:
[0015] Obtaining a preset power range of the second refrigeration device when operating at a set temperature;
[0016] When the corrected third power is within the preset power range, it is determined that the refrigerant filling of the refrigeration equipment is qualified.
[0017] In some embodiments, the first power and the second power are the operating powers of the compressor of the first refrigeration equipment, and the fitting of multiple first temperatures and second powers with the set temperature and the first power as constraints to obtain correction parameters for correcting the powers detected at different temperatures includes:
[0018] Taking the preset temperature and the target power as constraints, fitting the second power and the first temperature so that the second power and the first temperature satisfy a linear function relationship;
[0019] The power adjustment coefficient is obtained according to the parameters of the fitted linear function.
[0020] In some embodiments, a plurality of first temperatures and second powers are fitted with the set temperature and the first power as constraints, and correction parameters for correcting the powers detected at different temperatures include: a power adjustment constant and a temperature adjustment constant; wherein,
[0021] The power adjustment constant and temperature adjustment constant are fitted based on the following formula:
[0022] P 设定 =P 测 / K+P 常
[0023] K = (TR-R) / (TR)
[0024] Among them, P 设定is the first power, P 测 is the second power, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
[0025] In some embodiments, the correction parameter includes a power adjustment constant and a temperature adjustment constant. According to the second temperature of the current detection environment and the corresponding correction parameter, correcting the third power of the second refrigeration device when it is running under the current detection environment includes:
[0026] K = (TR-R) / (TR)
[0027] P 修 =P 实 / K+P 常
[0028] Among them, P 修 is the corrected third power, P 实 is the third power, K is the power adjustment coefficient, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
[0029] In a second aspect, a refrigerant detection device is provided in this embodiment, and the device includes:
[0030] A collection module, used to obtain a first power when the first refrigeration device is running at a set temperature of a standard detection environment, and a plurality of second powers when the first refrigeration device is running at a plurality of first temperatures;
[0031] a fitting module, used to fit a plurality of the first temperatures and the second powers with the set temperature and the first power as constraints, so as to obtain correction parameters for correcting the powers detected at different temperatures;
[0032] A correction module, used for correcting a third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and a corresponding correction parameter;
[0033] The judgment module is used to judge whether the refrigerant of the second refrigeration equipment is filled properly according to the corrected third power.
[0034] In a third aspect, a computer device is provided in this embodiment, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the refrigerant detection method described in the first aspect is implemented.
[0035] In a fourth aspect, in this embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the refrigerant detection method described in the first aspect is implemented.
[0036] The above-mentioned refrigerant detection method, device, computer equipment and storage medium use the operating power of the first refrigeration equipment at a set temperature as a constraint, fit the operating power at different temperatures and at different temperatures, and obtain power correction parameters to correct the power of the second refrigeration equipment to be detected. The corrected power can be used to accurately determine whether the refrigerant of the refrigeration equipment is properly filled. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is an application environment diagram of a refrigerant detection method in an embodiment;
[0038] Figure 2 is a schematic flow chart of a refrigerant detection method in one embodiment;
[0039] Figure 3 is a structural block diagram of a refrigerant detection device in one embodiment;
[0040] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 1 is a hardware structure block diagram of a terminal of a refrigerant detection method according to an embodiment of the present application. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0043] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the refrigerant detection method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0044] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0045] The refrigeration equipment mentioned below refers to equipment that is filled with refrigerant and can provide a refrigeration function based on the refrigerant. The refrigeration equipment includes but is not limited to refrigerators, freezers, air conditioners, etc.
[0046] In one embodiment, Figure 2 As shown, a refrigerant detection method is provided, which is applied to Figure 1 The following steps are taken as an example:
[0047] Step 202: obtaining a first power of a first refrigeration device when it is operated at a set temperature of a standard detection environment, and a plurality of second powers of the first refrigeration device when it is operated at a plurality of first temperatures.
[0048] The first refrigeration device is a refrigeration device with qualified refrigerant injection. The set temperature is a pre-set commodity inspection temperature, which can be set and modified according to commodity inspection items and requirements. The first temperature is a plurality of ambient temperatures different from the set temperature, and the second power of the first refrigeration device when it is running is obtained by detecting at the plurality of first temperatures.
[0049] Optionally, in a standard detection environment where the ambient temperature is a set temperature, the operating power of the first refrigeration device with qualified refrigerant perfusion is obtained to obtain the first power. The ambient temperature is adjusted, the first refrigeration device is operated based on the normal working mode, the second temperature is obtained through the ambient temperature detection sensor on the refrigeration device, and the second power of the first refrigeration device at the second temperature is obtained. By repeatedly adjusting the ambient temperature, multiple different second temperatures and second powers corresponding to the second temperatures are obtained.
[0050] Step 204 , fitting multiple first temperatures and second powers with the set temperature and the first power as constraints, to obtain correction parameters for correcting the powers detected at different temperatures.
[0051] The second power at the first temperature can be corrected based on the correction parameter so that the corrected second power is as close as possible to the power of the first refrigeration device when it is running at the set temperature. The more first temperatures and corresponding second powers there are, the more accurate the fitting result is, and the higher the accuracy of the obtained correction parameter is.
[0052] Optionally, with the set temperature and the first power as constraints, multiple first temperatures and multiple second powers are fitted so that the first temperature and the corresponding second power meet a preset functional relationship. The preset functional relationship can be obtained based on the correlation between the operating power of the refrigeration equipment and the ambient temperature. Specifically, the correlation between the operating power of the refrigeration equipment and the ambient temperature can be calculated based on the working principle of the refrigerator and the laws of thermodynamics; the correlation between the operating power of the refrigeration equipment and the ambient temperature can also be obtained through simulation, empirical formulas, etc.
[0053] Step 206: Correct the third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and the corresponding correction parameter.
[0054] Among them, the second refrigeration equipment is the equipment to be detected, and the structural structure of the second refrigeration equipment is the same as that of the first refrigeration equipment. Optionally, after the second refrigeration equipment is operated based on the normal working mode, the second temperature under the current detection environment is detected, and the third power of the second refrigeration equipment is detected. The third power is corrected in combination with the second temperature and the corresponding correction parameter. The degree of correction of the third power at different temperatures is different. According to the fitting results of the first temperature and the second power, the correction parameters of the power at different temperatures can be obtained, and the corrected third power can be obtained based on the correction parameters. Alternatively, according to the fitting results of the first temperature and the second power, a calculation formula for the correction parameters that change with temperature can be obtained, thereby obtaining a correction coefficient associated with the first temperature, and then obtaining a correction value of the third power. It can be understood that if the second temperature is the set temperature, there is no need to correct the third power.
[0055] Step 208: judging whether the refrigerant in the second refrigeration equipment is filled properly according to the corrected third power.
[0056] The corrected third power is close to the operating power of the second refrigeration equipment at the set temperature. Therefore, the corrected third power can be judged based on the judgment standard of the operating power of the second refrigeration equipment at the set temperature. If the corrected third power meets the power judgment standard of the second refrigeration equipment at the set temperature, it can be judged that the refrigerant filling of the second refrigeration equipment is qualified; if the corrected third power does not meet the power judgment standard of the second refrigeration equipment at the set temperature, it can be judged that the refrigerant filling of the second refrigeration equipment is unqualified.
[0057] In the above-mentioned refrigerant detection method, the operating power of the first refrigeration equipment at a set temperature is constrained, and the operating power of the refrigeration equipment at different temperatures and at different temperatures is fitted to obtain correction parameters for correcting the power of the refrigeration equipment. Based on the correction parameters, the operating power of the second refrigeration equipment at the second temperature is corrected, so that the corrected third power is close to the operating power of the second refrigeration equipment at the set temperature, so that the effect of accurately judging whether the refrigerant of the refrigeration equipment is filled with qualified can be achieved according to the corrected power.
[0058] In one embodiment, the first power and the second power are the compressor operating power of the first refrigeration equipment. With the set temperature and the first power as constraints, multiple first temperatures and second powers are fitted to obtain correction parameters for correcting the powers detected at different temperatures, including: with the preset temperature and the target power as constraints, the second power and the first temperature are fitted so that the second power and the first temperature satisfy a linear function relationship; and the power adjustment coefficient is obtained according to the parameters of the linear function after fitting.
[0059] Among them, since the suction and exhaust pressure of the compressor during the operation stage of the refrigeration equipment is basically linearly related to the ambient temperature, and the operating power of the compressor changes linearly with the change of the suction and exhaust pressure of the compressor during the operation stage, it can be deduced that the relationship between the power of the compressor and the ambient temperature is basically linear. Correspondingly, the third power of the second refrigeration equipment is the operating power of the compressor of the second refrigeration equipment. In this embodiment, the first temperature and the corresponding second power are fitted through a linear function relationship, so that the fitted temperature and power conform to the operating principle of the compressor of the refrigeration equipment, thereby improving the accuracy of whether the refrigerant of the refrigeration equipment is filled with qualified refrigerants.
[0060] In one embodiment, the correction parameters include a power adjustment constant and a temperature adjustment constant, wherein, after adjusting the preset power based on the power adjustment constant, and adjusting the set temperature and the first temperature respectively based on the temperature adjustment constant, the ratio between the adjusted preset power and the second power is equal to the ratio between the adjusted set temperature and the adjusted first temperature.
[0061] Among them, since the operating power of the refrigeration equipment is affected by the temperature, a temperature adjustment constant for adjusting the temperature can be obtained based on the corresponding relationship between the operating power and the temperature. After adjusting the first temperature and the set temperature respectively by the temperature adjustment constant, the ratio between the adjusted set temperature and the adjusted first temperature can be made to conform to the rate of change of power relative to temperature. Since the relationship between multiple powers of temperature change does not necessarily conform to a multiple relationship, a power adjustment constant can be obtained based on the corresponding relationship between power and temperature, and the ratio between the preset power adjusted based on the power adjustment constant and the second power also conforms to the rate of change of power relative to temperature, so that the ratio between the adjusted preset power and the second power is equal to the ratio between the adjusted set temperature and the adjusted first temperature.
[0062] In this embodiment, the correction parameter is obtained by two fixed constants, so that the operating power of the second refrigeration device at different detected ambient temperatures can be corrected by the two correction parameters, making the power correction method simple.
[0063] Furthermore, after obtaining the temperature adjustment constant, in one embodiment, based on the second temperature of the current detection environment and the corresponding correction parameter, the third power of the second refrigeration device detected under the current detection environment when it is running is corrected, including: obtaining a first difference between the second temperature and the temperature adjustment constant, and a second difference between the set temperature and the temperature adjustment constant; obtaining a power adjustment coefficient based on the first difference and the second difference; and correcting the third power of the second refrigeration device detected under the current detection environment when it is running based on the power adjustment constant and the power adjustment coefficient.
[0064] Optionally, the second temperature is subtracted from the temperature adjustment constant to obtain a first difference; the set temperature is subtracted from the temperature adjustment constant to obtain a second difference. The ratio between the first difference and the second difference is the rate of change of power relative to temperature, that is, the power adjustment coefficient can be obtained. After adjusting the third power by the power adjustment coefficient, the corrected third power is obtained in combination with the power adjustment constant.
[0065] In this embodiment, the power adjustment coefficient of the second temperature corresponding to the third power is calculated by the temperature adjustment constant, so that the third power is corrected according to the actual temperature of the environment where the second refrigeration equipment is located. The power correction method is simple and the calculation amount is small.
[0066] In one embodiment, with the set temperature and the first power as constraints, multiple first temperatures and second powers are fitted, and correction parameters for correcting the powers detected at different temperatures are obtained, including: a power adjustment constant and a temperature adjustment constant; wherein the power adjustment constant and the temperature adjustment constant are obtained by fitting based on the following formula:
[0067] P 设定 =P 测 / K+P 常
[0068] K = (TR1-R) / (TR)
[0069] Among them, P 设定 is the first power, P 测 is the second power, P 常 is the power adjustment constant, TR1 is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
[0070] Optionally, multiple second powers corresponding to multiple first temperatures are obtained, and when the first power and the set temperature remain unchanged, the multiple second powers corresponding to the multiple first temperatures are substituted into the above two formulas to calculate the power adjustment constant and the temperature adjustment constant.
[0071] In one embodiment, the correction parameters include a power adjustment constant and a temperature adjustment constant. According to the second temperature of the current detection environment and the corresponding correction parameters, the third power of the second refrigeration equipment detected under the current detection environment when it is running is corrected, including: based on the difference between the second temperature and the temperature adjustment constant, and the ratio between the set temperature and the temperature adjustment constant, the power adjustment coefficient K is calculated, the third power is divided by the power correction coefficient, and the power adjustment constant is added to obtain the corrected third power. The specific formula is as follows:
[0072] P 修 =P 实 / K+P 常
[0073] K = (TR2-R) / (TR)
[0074] Among them, P 修 is the corrected third power, P is the third power, K is the power adjustment coefficient, P 常 is the power adjustment constant, TR2 is the third temperature, R is the temperature adjustment constant, and T is the set temperature.
[0075] In one embodiment, judging whether the refrigerant filling of the second refrigeration equipment is qualified according to the corrected third power includes: obtaining a preset power range when the second refrigeration equipment is operating at a set temperature; when the corrected third power is within the preset power range, judging that the refrigerant filling of the refrigeration equipment is qualified.
[0076] The preset power range is the operating power of the qualified refrigeration equipment at the set temperature. The first power of the first refrigeration equipment operating at the set temperature is within the preset power range.
[0077] Optionally, an upper threshold and a lower threshold of the third power are obtained according to the power operation range, and when the third power is greater than or equal to the lower threshold and less than or equal to the upper threshold, it is judged that the third power is within a preset power range, and the refrigerant filling of the refrigeration equipment is qualified. On the contrary, when the corrected third power is not within the preset power range, the refrigerant filling of the refrigeration equipment is unqualified.
[0078] If the third power is less than the lower limit threshold indicated by the preset power range, the refrigerant is overfilled; if the third power is greater than the upper limit threshold indicated by the preset power range, the refrigerant is underfilled.
[0079] In one embodiment, another refrigerant detection method is provided, and the refrigerant detection method is applied to a refrigerator as an example. The refrigerant detection environment is located in a commodity inspection room, and the ambient temperature of the commodity inspection room is set, that is, the set temperature in the above embodiment is 25°C.
[0080] Since the suction and exhaust pressure of the refrigerator compressor is basically linearly related to the ambient temperature during the initial operation of the refrigerator. When the suction pressure of the refrigerator compressor is low and the exhaust pressure of the refrigerator compressor is high, the operating power P of the refrigerator compressor is high; when the suction pressure of the refrigerator compressor is high and the exhaust pressure of the refrigerator compressor is low, the operating power P of the refrigerator compressor is low. It can be deduced that the operating power P of the refrigerator compressor and the ambient temperature can also be constrained using linearity, and the impact of ambient temperature changes on the power of the refrigerator compressor is obtained:
[0081] K=(TR-R) / (25-R)
[0082] Wherein, K is the power adjustment coefficient, R is the temperature adjustment constant, and 25 is the set temperature of the commercial inspection room. When the refrigerator starts to be powered on, the second temperature TR is collected by the ambient temperature sensor set in the refrigerator.
[0083] Furthermore, the power correction formula can be obtained according to the power adjustment coefficient:
[0084] P 修 =P 实 / K+P 常
[0085] Among them, P 实 is the measured refrigerator power, P 常 is the power adjustment constant, P 修 is the corrected refrigerator power.
[0086] Based on the above principle, the temperature adjustment constant and power adjustment constant used to correct the refrigerator power are obtained according to the power of the refrigerator when it is running at different temperatures, and then the refrigerator operating power obtained by the test in the commercial inspection room is corrected according to the temperature adjustment constant and power adjustment constant. If the preset power range of the refrigerator under normal operation state with qualified refrigerant filling is (Pl, Ph), then P 修 If it is within the range (Pl, Ph), it is judged as qualified;
[0087] For ease of understanding, for example, the commodity inspection judgment commodity inspection condition is set at 25°C, and the refrigerator operating power P satisfies 90W<P<100W, then the refrigerant filling is qualified. At the set temperature of 25°C, the refrigerator with qualified refrigerant filling, that is, the first refrigeration equipment, has a first power of 95W under normal operating conditions. When the ambient temperature is 30°C, the operating power of this refrigerator is detected to be 100W; when the ambient temperature is 35°C, the operating power is detected to be 105W. Here, the ambient temperatures of 30°C and 35°C are the first temperatures in the above embodiment; the operating powers of 100W and 105W are the second temperatures in the above embodiment.
[0088] Based on the above power correction formula, the corresponding fitting formula when the ambient temperature is 30°C can be obtained:
[0089] 95=100 / K+P 常
[0090] K = (30-R) / (25-R)
[0091] Based on the above power correction formula, the corresponding fitting formula when the ambient temperature is 35°C can be obtained:
[0092] 95=105 / K+P 常
[0093] K = (35-R) / (25-R)
[0094] According to the two fitting formulas, the power adjustment constant P can be obtained 常 =0, temperature adjustment constant R=-70. Optionally, it can also be calculated that the power adjustment coefficient K is 1.05 when the ambient temperature is 30°C; and the power adjustment coefficient K is 1.11 when the ambient temperature is 35°C.
[0095] When the two test samples of this refrigerator, i.e., the second refrigeration equipment, enter the commodity inspection line, the test samples are operated and the ambient temperature of the commodity inspection room is detected, i.e., the second temperature in the above embodiment is 28°C. The measured power of the two samples is obtained, i.e., the third power in the above embodiment is 104W and 102W respectively. Based on the power adjustment constant P 常 =0, temperature adjustment constant R = -70 and second temperature, the power adjustment coefficient K of one of the prototypes can be calculated to be 1.03, and the corrected third power P 修 =104 / 1.03=101W, and the refrigerant filling is judged to be unqualified. The power adjustment coefficient K of another prototype is calculated to be 1.03, and the corrected third power P is obtained. 修 =102 / 1.03=99W, the refrigerant filling is judged to be qualified.
[0096] In this embodiment, by fitting the operating power of the refrigerator under different environments, the correction parameters for correcting the refrigerator are determined. When the ambient temperature changes, the detected refrigerator power is corrected by the correction parameters, and the corrected power P is used. 修 To determine whether the refrigerant is filled properly, it can effectively avoid misjudgment of commodity inspection due to temperature fluctuations, and achieve the effect of accurately judging whether the refrigerator refrigerant is filled properly.
[0097] Based on the same inventive concept, the embodiment of the present application also provides a refrigerant detection device for implementing the refrigerant detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more refrigerant detection device embodiments provided below can refer to the limitations on the refrigerant detection method above, and will not be repeated here.
[0098] In one embodiment, Figure 3 As shown, a refrigerant detection device is provided, including: an acquisition module, a fitting module, a judgment module and a correction module, wherein:
[0099] A collection module, used to obtain a first power when the first refrigeration device is running at a set temperature of a standard detection environment, and a plurality of second powers when the first refrigeration device is running at a plurality of first temperatures;
[0100] a fitting module, used to fit a plurality of the first temperatures and the second powers with the set temperature and the first power as constraints, so as to obtain correction parameters for correcting the powers detected at different temperatures;
[0101] A correction module, used for correcting a third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and a corresponding correction parameter;
[0102] The judgment module is used to judge whether the refrigerant of the second refrigeration equipment is filled properly according to the corrected third power.
[0103] In one embodiment, the correction parameter includes a power adjustment constant and a temperature adjustment constant, wherein after adjusting the preset power based on the power adjustment constant, and adjusting the set temperature and the first temperature based on the temperature adjustment constant, the ratio between the adjusted preset power and the second power is equal to the ratio between the adjusted set temperature and the adjusted first temperature. Further, according to the second temperature of the current detection environment and the corresponding correction parameter, the third power of the second refrigeration device detected in the current detection environment when it is running includes: obtaining a first difference between the second temperature and the temperature adjustment constant, and a second difference between the set temperature and the temperature adjustment constant; obtaining a power adjustment coefficient based on the first difference and the second difference; and correcting the third power of the second refrigeration device detected in the current detection environment when it is running based on the power adjustment constant and the power adjustment coefficient.
[0104] In one embodiment, judging whether the refrigerant filling of the second refrigeration equipment is qualified according to the corrected third power includes: obtaining a preset power range when the second refrigeration equipment is operating at a set temperature; when the corrected third power is within the preset power range, judging that the refrigerant filling of the refrigeration equipment is qualified.
[0105] In one embodiment, the first power and the second power are the compressor operating power of the first refrigeration equipment. With the set temperature and the first power as constraints, multiple first temperatures and second powers are fitted to obtain correction parameters for correcting the powers detected at different temperatures, including: with the preset temperature and the target power as constraints, the second power and the first temperature are fitted so that the second power and the first temperature satisfy a linear function relationship; and the power adjustment coefficient is obtained according to the parameters of the linear function after fitting.
[0106] In one embodiment, with the set temperature and the first power as constraints, multiple first temperatures and second powers are fitted to obtain correction parameters for correcting the power detected at different temperatures, including: a power adjustment constant and a temperature adjustment constant; wherein,
[0107] The power adjustment constant and temperature adjustment constant are fitted based on the following formula:
[0108] P 设定 =P 测 / K+P 常
[0109] K = (TR-R) / (TR)
[0110] Among them, P 设定 is the first power, P 测is the second power, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
[0111] In one embodiment, the correction parameter includes a power adjustment constant and a temperature adjustment constant. According to the second temperature of the current detection environment and the corresponding correction parameter, correcting the third power of the second refrigeration device when running under the current detection environment includes:
[0112] K = (TR-R) / (TR)
[0113] P 修 =P 实 / K+P 常
[0114] Among them, P 修 is the corrected third power, P 实 is the third power, K is the power adjustment coefficient, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
[0115] Each module in the above refrigerant detection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0116] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the power of the refrigeration equipment and the refrigerant detection results. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a refrigerant detection method is implemented.
[0117] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0120] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0121] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0122] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0123] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A refrigerant detection method, characterized in that: The method comprises: Acquire a first power when the first refrigeration device operates at a set temperature of a standard detection environment, and a plurality of second powers when the first refrigeration device operates at a plurality of first temperatures; Taking the set temperature and the first power as constraints, fitting the plurality of first temperatures and second powers to obtain correction parameters for correcting the powers detected at different temperatures; Correcting the third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and the corresponding correction parameter; Whether the refrigerant in the second refrigeration equipment is filled properly is determined according to the corrected third power.
2. The refrigerant detection method according to claim 1, characterized in that: The correction parameters include a power adjustment constant and a temperature adjustment constant, wherein, after adjusting the preset power based on the power adjustment constant, and adjusting the set temperature and the first temperature respectively based on the temperature adjustment constant, the ratio between the adjusted preset power and the second power is equal to the ratio between the adjusted set temperature and the adjusted first temperature.
3. The refrigerant detection method according to claim 2, characterized in that: According to the second temperature of the current detection environment and the corresponding correction parameter, correcting the third power of the second refrigeration device when it is running under the current detection environment includes: Obtaining a first difference between the second temperature and the temperature adjustment constant, and a second difference between the set temperature and the temperature adjustment constant; Obtaining a power adjustment coefficient according to the first difference and the second difference; According to the power adjustment constant and the power adjustment coefficient, the third power detected when the second refrigeration equipment is running under the current detection environment is corrected.
4. The refrigerant detection method according to claim 1, characterized in that: Judging whether the refrigerant in the second refrigeration equipment is filled properly according to the corrected third power includes: Obtaining a preset power range of the second refrigeration device when operating at a set temperature; When the corrected third power is within the preset power range, it is determined that the refrigerant filling of the refrigeration equipment is qualified.
5. The refrigerant detection method according to claim 1, characterized in that: The first power and the second power are the operating powers of the compressor of the first refrigeration equipment, and the correction parameters for correcting the powers detected at different temperatures by fitting multiple first temperatures and second powers with the set temperature and the first power as constraints include: Taking the preset temperature and the target power as constraints, fitting the second power and the first temperature so that the second power and the first temperature satisfy a linear function relationship; The power adjustment coefficient is obtained according to the parameters of the fitted linear function.
6. The refrigerant detection method according to claim 1, characterized in that: Taking the set temperature and the first power as constraints, multiple first temperatures and second powers are fitted to obtain correction parameters for correcting the power detected at different temperatures, including: power adjustment constant and temperature adjustment constant; wherein, The power adjustment constant and temperature adjustment constant are fitted based on the following formula: P 设定 =P 测 / K+P 常 K = (TR-R) / (TR) Among them, P 设定 is the first power, P 测 is the second power, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
7. The refrigerant detection method according to claim 1, characterized in that: The correction parameters include a power adjustment constant and a temperature adjustment constant. According to the second temperature of the current detection environment and the corresponding correction parameters, the third power of the second refrigeration device detected in the current detection environment when it is running is corrected, including: K = (TR-R) / (TR) P 修 =P 实 / K+P 常 Among them, P 修 is the corrected third power, P 实 is the third power, K is the power adjustment coefficient, P 常 is the power adjustment constant, TR is the first temperature, R is the temperature adjustment constant, and T is the set temperature.
8. A refrigerant detection device, characterized in that: The device comprises: A collection module, used to obtain a first power when the first refrigeration device is running at a set temperature of a standard detection environment, and a plurality of second powers when the first refrigeration device is running at a plurality of first temperatures; a fitting module, used to fit a plurality of the first temperatures and the second powers with the set temperature and the first power as constraints, so as to obtain correction parameters for correcting the powers detected at different temperatures; A correction module, used for correcting a third power of the second refrigeration device when it is running under the current detection environment according to the second temperature of the current detection environment and a corresponding correction parameter; The judgment module is used to judge whether the refrigerant of the second refrigeration equipment is filled properly according to the corrected third power.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.