Control method based on intelligent pressure switch, intelligent pressure switch and related device
The refrigerator temperature is controlled through intelligent pressure switches, and the temperature sensor and air compressor are used, combined with pressure value fitting, the problem of low temperature control accuracy of refrigerator is solved, achieving more accurate temperature control and higher refrigerator intelligence.
Patent Information
- Application Number
- CN202411241707.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The existing refrigerator has low temperature control accuracy, making it difficult to effectively maintain the optimal food storage status.
The control method based on intelligent pressure switch is adopted to accurately control the refrigerator temperature through the temperature sensor and the air compressor, combined with the acquisition and fit of pressure values.
Improve the control accuracy of refrigerator temperature, ensure that the temperature is maintained near the target temperature, avoid excessive differences between the temperature and the target temperature, and improve the intelligence and temperature control accuracy of the refrigerator.
Smart Images

Figure CN119292360B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology or intelligent manufacturing technology, and specifically to a control method based on an intelligent pressure switch, an intelligent pressure switch and related devices. Background Art
[0002] At present, with the rapid development of science and technology, technology has also changed people's lifestyles. Smart refrigerators are a type of refrigerator that can intelligently control refrigerators and intelligently manage food. Specifically, it can automatically switch refrigerator modes to always keep food in the best storage state. At present, the control accuracy of refrigerator temperature is low, so how to improve the control accuracy of refrigerator temperature needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a control method based on an intelligent pressure switch, an intelligent pressure switch and related devices, which can improve the control accuracy of the refrigerator temperature.
[0004] In a first aspect, an embodiment of the present application provides a control method based on an intelligent pressure switch, which is applied to the intelligent pressure switch. The method includes:
[0005] Acquire a target operating mode of a smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor;
[0006] determining a target temperature corresponding to the target operating mode;
[0007] Obtaining a first pressure value corresponding to the target temperature;
[0008] Acquiring the current temperature of the smart refrigerator through the temperature sensor;
[0009] When the current temperature is greater than the target temperature, controlling the air compressor to work so as to lower the temperature of the smart refrigerator;
[0010] Acquire a pressure value of the smart refrigerator at a first time interval to obtain a plurality of pressure values, each pressure value corresponding to a sampling time;
[0011] Performing straight line fitting according to the multiple pressure values and corresponding sampling moments to obtain a target fitting straight line, wherein the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value;
[0012] Determining a predicted time corresponding to the first pressure value by using the target fitting straight line;
[0013] Obtaining a target slope of the target fitting straight line;
[0014] Acquire a first moment before the predicted moment according to the target slope, where the first moment is earlier than the predicted moment;
[0015] Acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, wherein the second time interval is shorter than the first time interval;
[0016] When the absolute value of the difference between the second pressure value and the first pressure value is smaller than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch.
[0017] In a second aspect, an embodiment of the present application provides a control device based on an intelligent pressure switch, which is applied to the intelligent pressure switch. The device includes: an acquisition unit, a determination unit, a control unit, and a fitting unit, wherein:
[0018] The acquisition unit is used to acquire a target operating mode of the smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor;
[0019] The determining unit is used to determine a target temperature corresponding to the target operating mode;
[0020] The acquisition unit is further used to acquire a first pressure value corresponding to the target temperature; and acquire a current temperature of the smart refrigerator through the temperature sensor;
[0021] The control unit is used to control the air compressor to work when the current temperature is greater than the target temperature, so as to lower the temperature of the smart refrigerator;
[0022] The acquisition unit is further used to acquire the pressure value of the smart refrigerator at every first time interval to obtain multiple pressure values, each pressure value corresponding to a sampling time;
[0023] The fitting unit is used to perform straight line fitting according to the multiple pressure values and the corresponding sampling moments to obtain a target fitting straight line, wherein the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value;
[0024] The determining unit is further used to determine the predicted time corresponding to the first pressure value through the target fitting straight line;
[0025] The acquisition unit is further used to acquire a target slope of the target fitting straight line; acquire a first moment before the predicted moment according to the target slope, the first moment being earlier than the predicted moment; and acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, the second time interval being less than the first time interval;
[0026] The control unit is further used to control the air compressor to stop working through the intelligent pressure switch when the absolute value of the difference between the second pressure value and the first pressure value is less than a preset threshold.
[0027] In a third aspect, an embodiment of the present application provides an intelligent pressure switch, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0030] The implementation of the embodiments of the present application has the following beneficial effects:
[0031] It can be seen that the control method based on the intelligent pressure switch, the intelligent pressure switch and the related devices described in the embodiments of the present application are applied to the intelligent pressure switch to obtain the target working mode of the intelligent refrigerator; the intelligent refrigerator includes a temperature sensor and an air compressor, determines the target temperature corresponding to the target working mode, obtains a first pressure value corresponding to the target temperature, obtains the current temperature of the intelligent refrigerator through the temperature sensor, and when the current temperature is greater than the target temperature, controls the air compressor to work to reduce the temperature of the intelligent refrigerator, obtains the pressure value of the intelligent refrigerator at every first time interval, obtains multiple pressure values, each pressure value corresponds to a sampling moment, performs straight line fitting according to the multiple pressure values and the corresponding sampling moments, obtains the target fitting straight line, the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value, determines the predicted moment corresponding to the first pressure value through the target fitting straight line, obtains the target slope of the target fitting straight line, obtains the first moment before the predicted moment according to the target slope, the first moment is earlier than the predicted moment, obtains the pressure value of the intelligent refrigerator at every second time interval, obtains the second pressure value, the second time interval is less than the first time interval, and the second pressure value is obtained at the second pressure value. When the absolute value of the difference between the pressure value and the first pressure value is less than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch. First, the corresponding target temperature can be determined based on the working mode of the smart refrigerator, and the pressure value corresponding to the temperature can be obtained. When the temperature is higher than the target temperature, the air compressor is controlled to work to reduce the temperature to the target temperature. Second, during the cooling process, the pressure values can be collected at a first time interval, and a fitting straight line can be determined based on these pressure values. The predicted time when the target temperature is reached can be accurately evaluated based on the fitting straight line. Third, considering that the pressure sensitivity is higher than the temperature sensitivity, the first moment before the predicted moment can be determined based on the slope, and the pressure value can be collected again at a second time interval, and the second time interval is less than the first time interval to ensure that the absolute value of the difference between the pressure value and the first pressure value is less than the preset threshold when it is accurately detected at the first time. Then, the air compressor can be controlled to stop working by the intelligent pressure switch. In this way, the temperature can be maintained at the target temperature. At the same time, the difference between the temperature and the target temperature can be avoided to be too large, which helps to improve the intelligence of the smart refrigerator and can improve the control accuracy of the refrigerator temperature. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1It is a flow chart of a control method based on an intelligent pressure switch provided in an embodiment of the present application;
[0034] Figure 2 It is a structural schematic diagram of an intelligent pressure switch provided in an embodiment of the present application;
[0035] Figure 3 This is a block diagram of the functional units of a control device based on an intelligent pressure switch provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but in a possible example also includes steps or units that are not listed, or in a possible example also includes other steps or units inherent to these processes, methods, products or devices.
[0037] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0038] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] See also Figure 1 , Figure 1 1 is a flow chart of a control method based on an intelligent pressure switch provided in an embodiment of the present application. As shown in the figure, the control method based on the intelligent pressure switch is applied to the intelligent pressure switch. The control method based on the intelligent pressure switch includes:
[0040] 101. Obtain a target operating mode of a smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor.
[0041] In an embodiment of the present application, the smart refrigerator may include a temperature sensor, an air compressor and a smart pressure switch.
[0042] In a specific implementation, the target working mode of the smart refrigerator can be obtained, and different working modes correspond to different temperatures. Of course, different working modes can also correspond to different working parameters of the air compressor, that is, the mapping relationship between the preset working mode and the working parameters of the air compressor can be pre-stored.
[0043] Among them, the working parameters of the air compressor may include at least one of the following: the working mode of the air compressor, the working current of the air compressor, the working voltage of the air compressor, the working power of the air compressor, the working time of the air compressor, the working frequency of the air compressor, etc., which are not limited here.
[0044] 102. Determine a target temperature corresponding to the target operating mode.
[0045] In a specific implementation, a mapping relationship between a preset working mode and a temperature may be pre-stored, and then a target temperature corresponding to the target working mode may be determined based on the mapping relationship.
[0046] In practical applications, the temperature needs to be precisely controlled for certain scenarios, such as medicines, food ingredients, etc. The embodiment of the present application is adopted to lock the temperature of the smart refrigerator at the target temperature, thereby improving the control intelligence of the smart refrigerator.
[0047] 103. Obtain a first pressure value corresponding to the target temperature.
[0048] Different temperatures may also correspond to different pressure values, that is, a mapping relationship between preset temperatures and pressure values may be pre-stored, and then, the first pressure value corresponding to the target temperature may be acquired based on the mapping relationship.
[0049] 104. Obtain the current temperature of the smart refrigerator through the temperature sensor.
[0050] In a specific implementation, the current temperature of the smart refrigerator can also be obtained through a temperature sensor.
[0051] 105. When the current temperature is greater than the target temperature, control the air compressor to work to lower the temperature of the smart refrigerator.
[0052] In a specific implementation, when the current temperature is greater than the target temperature, it means that the temperature inside the refrigerator is higher than the temperature corresponding to the target working mode, and the air compressor can be controlled to work to lower the temperature of the smart refrigerator.
[0053] Of course, when the current temperature is less than or equal to the target temperature, the air compressor can be controlled to stop working or not work to allow the temperature to return to the target temperature.
[0054] In a specific implementation, the air compressor can be operated directly by controlling the temperature.
[0055] 106. Obtain a pressure value of the smart refrigerator at every first time interval to obtain a plurality of pressure values, each pressure value corresponding to a sampling moment.
[0056] The first time interval may be preset or set by system default.
[0057] In a specific implementation, the pressure value of the smart refrigerator can be obtained at every first time interval to obtain multiple pressure values, each of which corresponds to a sampling moment. Since the temperature and pressure of the air compressor will change during operation, the changes in temperature and pressure may be in direct proportion.
[0058] 107. Perform straight line fitting according to the multiple pressure values and corresponding sampling moments to obtain a target fitting straight line, where the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value.
[0059] In the embodiment of the present application, each pressure value can correspond to a sampling time, and multiple pressure values and corresponding sampling times can be regarded as multiple coordinate points, each coordinate point corresponds to a pressure value and a corresponding sampling time, and the multiple coordinate points are mapped to a coordinate system, the horizontal axis of the coordinate system is time, and the vertical axis is pressure value.
[0060] Next, the multiple coordinate points can be fitted with a straight line to obtain a target fitting straight line, where the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value, and the slope of the target fitting straight line reflects the temperature change or the pressure value change.
[0061] 108. Determine a predicted time corresponding to the first pressure value by using the target fitting straight line.
[0062] In the embodiment of the present application, the predicted time corresponding to the first pressure value can also be determined by the target fitting straight line, that is, the target fitting straight line can correspond to a fitting function, and the first pressure value can be substituted into it, and the predicted time can be calculated.
[0063] 109. Obtain a target slope of the target fitting straight line.
[0064] In the embodiment of the present application, the target slope of the target fitting straight line reflects the temperature change or the pressure value change, so the target slope of the target fitting straight line can be directly obtained.
[0065] 110. Obtain a first moment before the predicted moment according to the target slope, where the first moment is earlier than the predicted moment.
[0066] In the embodiment of the present application, due to the consideration of the accuracy of the prediction, the first moment before the prediction moment is obtained according to the target slope, and the first moment is earlier than the prediction moment, that is, the larger the target slope is, the larger the time difference between the first moment and the prediction time is, and the smaller the target slope is, the smaller the time difference between the first moment and the prediction time is.
[0067] In the specific implementation, taking into account that there may be certain deviations in the prediction, a higher detection frequency can be used to detect pressure changes at a certain moment before the prediction moment, thereby improving the accuracy of capturing pressure changes and the intelligence of the smart pressure switch, ensuring the accuracy of temperature capture and the intelligence of the smart refrigerator.
[0068] In some possible examples, the above step of obtaining the first moment before the predicted moment according to the target slope may include the following steps:
[0069] Obtain the time length between the current time and the predicted time;
[0070] determining a target intercept ratio value corresponding to the target slope;
[0071] Determine the target interception time length according to the target interception ratio value and the time length;
[0072] The first moment is determined according to the target interception time length and the predicted moment.
[0073] In the embodiment of the present application, the time length between the current time and the predicted moment can be obtained, that is, time length = predicted moment - current moment, and the mapping relationship between the preset slope and the interception ratio value can be pre-stored. The value range of the interception ratio value is 0-1. The larger the slope, the larger the interception ratio value, and the smaller the slope, the smaller the interception ratio value. Based on the mapping relationship, the target interception ratio value corresponding to the target slope can be determined, and then the target interception time length can be determined according to the target interception ratio value and the time length. The target interception time length = time length * target interception ratio value. Finally, the first moment can be determined according to the target interception time length and the predicted moment, that is, the first moment = predicted moment - target interception time length. In this way, the slope of the target fitting straight line reflects the temperature change or pressure value change, and the slope The larger the slope, the greater the temperature change or the pressure value change. Conversely, the smaller the slope, the smaller the temperature change or the pressure value change. In order to ensure the pressure detection sensitivity, reduce power consumption, achieve high sensitivity and energy saving effects, a moment before the predicted moment can be dynamically selected as the starting moment based on the slope, and the pressure value detection is performed at a second time interval, that is, the pressure value detection is performed at a smaller time interval, and thus, it can be ensured that the absolute value of the difference between the pressure value and the first pressure value detected accurately at the first time is less than the preset threshold, which is helpful for the subsequent control of the air compressor to stop working through the intelligent pressure switch and maintain the temperature at the target temperature. At the same time, it also avoids the difference between the temperature and the target temperature being too large, which helps to improve the intelligence of the smart refrigerator and the control accuracy of the refrigerator temperature.
[0074] 111. Obtain a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, where the second time interval is shorter than the first time interval.
[0075] In a specific implementation, the second time interval may be preset or set by system default.
[0076] In the embodiment of the present application, the second time interval may be smaller than the first time interval. Since the pressure value changes with the temperature change, the pressure value of the smart refrigerator may be acquired at every second time interval to obtain the second pressure value.
[0077] 112. When the absolute value of the difference between the second pressure value and the first pressure value is smaller than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch.
[0078] The preset threshold can be preset or set by the system default. Since temperature detection is for the temperature of a certain location, not the temperature of the entire area, and pressure is affected by the entire closed space inside the refrigerator, the pressure detection sensitivity is higher than the temperature detection sensitivity, and the pressure detection accuracy is higher than the temperature detection accuracy.
[0079] In a specific implementation, the air compressor can be operated not only by controlling the temperature, but also by controlling the air compressor by an intelligent pressure switch.
[0080] Furthermore, in the embodiment of the present application, when the absolute value of the difference between the second pressure value and the first pressure value is less than the preset threshold value, it means that the difference between the current temperature and the target temperature meets the preset condition. The preset condition can be pre-set or the system defaults. The air compressor can be controlled to stop working through the intelligent pressure switch, which can not only reduce power consumption but also prevent the temperature from dropping further. In this way, it can be detected at the first time that the temperature reaches the target temperature, ensuring the accuracy of the smart refrigerator control, and the temperature can be maintained at the target temperature within a certain period of time. At the same time, it can also avoid the difference between the temperature and the target temperature being too large, which helps to improve the intelligence of the smart refrigerator.
[0081] In some possible examples, the following steps may also be included:
[0082] Acquire the pressure value of the smart refrigerator at every third time interval to obtain a third pressure value;
[0083] When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to the preset threshold, the air compressor is controlled by the intelligent pressure switch to start working.
[0084] The third time interval may be preset or set by system default.
[0085] In a specific implementation, the pressure value of the smart refrigerator can be obtained at a third time interval to obtain a third pressure value. When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to a preset threshold, it means that the temperature of the smart pressure switch begins to change again, and deviates from the target temperature. In order to further ensure that the temperature of the smart refrigerator is maintained at the target temperature, the air compressor is controlled by the smart pressure switch to start working. In this way, the temperature can be maintained at the target temperature. At the same time, the difference between the temperature and the target temperature can be avoided to be too large, which helps to improve the intelligence of the smart refrigerator.
[0086] In some possible examples, the above step of obtaining the first pressure value corresponding to the target temperature may include the following steps:
[0087] Obtaining a historical pressure value corresponding to the target temperature to obtain a plurality of historical pressure values, each historical pressure value corresponding to a sampling time;
[0088] Performing fitting according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain a target fitting curve;
[0089] Obtaining the extreme value points of the target fitting curve to obtain multiple extreme value points;
[0090] Determining a target mean square error and a target mean of the plurality of extreme value points;
[0091] Obtaining target attribute information of storage items corresponding to the smart refrigerator;
[0092] Determining a target adjustment parameter corresponding to the target attribute information;
[0093] Determining a target fine-tuning parameter corresponding to the target mean square error;
[0094] The target mean value is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain the first pressure value.
[0095] The target attribute information of the stored objects may include at least one of the following: the object volume of the stored objects, the object type of the stored objects, the freshness of the stored objects, the packaging method of the stored objects, etc., which are not limited here.
[0096] In the specific implementation, the historical pressure value corresponding to the target temperature can be obtained, and multiple historical pressure values can be obtained. Each historical pressure value corresponds to a sampling time. Then, fitting can be performed according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain the target fitting curve. The extreme points of the target fitting curve can also be obtained, and multiple extreme points can be obtained. The extreme points include maximum points and minimum points.
[0097] Next, the target mean square error and target mean of multiple extreme points can also be determined, where the mean square error reflects the pressure stability of the smart refrigerator to a certain extent, and the mean reflects the average value of the historical pressure values of the target temperature.
[0098] Furthermore, the target attribute information of the storage object corresponding to the smart refrigerator can be obtained, and the mapping relationship between the preset attribute information and the adjustment parameter can be pre-stored. Then, the target adjustment parameter corresponding to the target attribute information can be determined based on the mapping relationship. The mapping relationship between the preset mean square error and the fine-tuning parameter can be pre-stored. The target fine-tuning parameter corresponding to the target mean square error can be determined based on the mapping relationship. Then, the target mean is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain a first pressure value, that is, the first pressure value = target mean * (1 + target adjustment parameter) * (1 + target fine-tuning parameter). First, the pressure value of the smart refrigerator at the target temperature can be preliminarily evaluated based on the historical pressure value corresponding to the target temperature, so that the estimated pressure value conforms to the actual situation of the smart refrigerator. Secondly, the attribute information of the stored objects reflects the impact of the stored objects on the pressure to a certain extent. For example, organisms will breathe to a certain extent, which will have a certain impact on the pressure. Different stored objects will have different impacts. Based on this impact, the pressure value corresponding to the target temperature can be dynamically adjusted so that the depth of the correlation between temperature and pressure conforms to the actual stored objects. Thirdly, the mean square error of the historical pressure values corresponding to the target temperature reflects the pressure stability of the smart refrigerator to a certain extent. Then, the pressure value corresponding to the target temperature can be adjusted based on the pressure stability to further ensure that the depth of the adjusted pressure value conforms to the characteristics of the smart refrigerator. In this way, the accuracy of the pressure value corresponding to the target temperature can be guaranteed, thereby ensuring the control accuracy and intelligence of the smart refrigerator.
[0099] In some possible examples, the following steps may also be included:
[0100] determining a first reference time interval corresponding to the target slope;
[0101] Determining a first feedback adjustment parameter corresponding to the target mean square error;
[0102] Feedback adjustment is performed on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval.
[0103] Among them, in the embodiment of the present application, the mapping relationship between the preset slope and the time interval can be pre-stored, and then, the first reference time interval corresponding to the target slope can be determined based on the mapping relationship. The slope reflects the temperature change rate or the pressure change rate to a certain extent, that is, the larger the slope, the faster the temperature change or the faster the pressure change. The larger the slope, the smaller the time interval, which ensures that the pressure detection sensitivity is higher. Conversely, the smaller the slope, the smaller the time interval, and then, power consumption can be saved to a certain extent. The mapping relationship between the preset mean square error and the feedback adjustment parameter can also be pre-stored. The mean square error reflects the pressure stability of the smart refrigerator to a certain extent. Then, the first reference time interval can be feedback-adjusted according to the first feedback adjustment parameter to obtain the second time interval, that is, the second time interval = (1 + first feedback adjustment parameter) * first reference time interval. In this way, on the basis of ensuring the pressure detection sensitivity, the power consumption can be reduced to achieve high sensitivity and energy saving effects.
[0104] In some possible examples, the above step of performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval may include the following steps:
[0105] Performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain a second reference time interval;
[0106] Acquiring the closing degree of the smart refrigerator and determining an intermediate feedback adjustment parameter corresponding to the closing degree;
[0107] Acquire the external atmospheric pressure of the smart refrigerator, and acquire the current pressure value inside the smart refrigerator;
[0108] determining a target pressure difference between the external atmospheric pressure and the current pressure value;
[0109] Determining a target optimization parameter corresponding to the target air pressure difference;
[0110] Optimizing the intermediate feedback adjustment parameter according to the target optimization parameter to obtain a second feedback adjustment parameter;
[0111] Feedback adjustment is performed on the second reference time interval according to the second feedback adjustment parameter to obtain the second time interval.
[0112] In the embodiment of the present application, the first reference time interval can be feedback-adjusted according to the first feedback adjustment parameter to obtain the second reference time interval, where the second reference time interval=(1+first feedback adjustment parameter)*first reference time interval.
[0113] In a specific implementation, the degree of closing of the smart refrigerator can also be obtained. For example, the degree of fit between the refrigerator door and the body can be detected. Different degrees of fit can correspond to different degrees of closing, that is, the mapping relationship between the preset degree of fit and the degree of closing can be pre-stored, and then, the intermediate feedback adjustment parameters corresponding to the degree of closing can be determined based on the mapping relationship. Of course, the external atmospheric pressure of the smart refrigerator can also be obtained, as well as the current pressure value inside the smart refrigerator, and then, the target pressure difference between the external atmospheric pressure and the current pressure value can be determined, that is, the target pressure difference = external atmospheric pressure - the current pressure value.
[0114] In a specific implementation, a mapping relationship between a preset air pressure difference and an optimization parameter can be pre-stored, and then, a target optimization parameter corresponding to a target air pressure difference can be determined based on the mapping relationship, and then the intermediate feedback adjustment parameter is optimized according to the target optimization parameter to obtain a second feedback adjustment parameter, that is, the second feedback adjustment parameter = (1 + target optimization parameter) * intermediate feedback adjustment parameter, and then the second reference time interval is feedback-adjusted according to the second feedback adjustment parameter to obtain a second time interval, that is, the second time interval = (1 + second feedback adjustment parameter) * second reference time interval. In this way, on the one hand, the time interval is preliminarily determined based on the stability of the smart refrigerator, and on the other hand, the time interval can be dynamically optimized based on the degree of closure of the refrigerator and the difference between the internal and external pressures, so that the final time interval depth meets the characteristics of the smart refrigerator and also meets the actual environment, which helps to reduce power consumption on the basis of ensuring the pressure detection sensitivity, achieve high sensitivity and energy saving effect, and can also ensure that the absolute value of the difference between the pressure value and the first pressure value is less than the preset threshold value when it is accurately detected at the first time, so that the air compressor is controlled to stop working through the smart pressure switch to maintain the temperature at the target temperature. At the same time, it also avoids the difference between the temperature and the target temperature being too large, which helps to improve the intelligence of the smart refrigerator and can improve the control accuracy of the refrigerator temperature.
[0115] It can be seen that the control method based on the intelligent pressure switch described in the embodiment of the present application is applied to the intelligent pressure switch to obtain the target working mode of the intelligent refrigerator; the intelligent refrigerator includes a temperature sensor and an air compressor, determines the target temperature corresponding to the target working mode, obtains a first pressure value corresponding to the target temperature, obtains the current temperature of the intelligent refrigerator through the temperature sensor, and when the current temperature is greater than the target temperature, controls the air compressor to work to reduce the temperature of the intelligent refrigerator, obtains the pressure value of the intelligent refrigerator at every first time interval, obtains multiple pressure values, each pressure value corresponds to a sampling moment, performs straight line fitting according to the multiple pressure values and the corresponding sampling moments, obtains the target fitting straight line, the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value, determines the predicted moment corresponding to the first pressure value through the target fitting straight line, obtains the target slope of the target fitting straight line, obtains the first moment before the predicted moment according to the target slope, the first moment is earlier than the predicted moment, obtains the pressure value of the intelligent refrigerator at every second time interval, obtains the second pressure value, the second time interval is less than the first time interval, and the pressure value is greater than the pressure value at the second pressure value. When the absolute value of the difference between the two is less than the preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch. First, the corresponding target temperature can be determined based on the working mode of the smart refrigerator, and the pressure value corresponding to the temperature can be obtained. When the temperature is higher than the target temperature, the air compressor is controlled to work to reduce the temperature to the target temperature. Second, during the cooling process, the pressure value can be collected at a first time interval, and a fitting straight line can be determined based on these pressure values. The predicted time when the target temperature is reached is accurately evaluated based on the fitting straight line. Third, considering that the pressure sensitivity is higher than the temperature sensitivity, the first moment before the predicted moment can be determined based on the slope, and the pressure value can be collected again at a second time interval, and the second time interval is less than the first time interval to ensure that the absolute value of the difference between the pressure value and the first pressure value is less than the preset threshold at the first time. Then, the air compressor can be controlled to stop working by the intelligent pressure switch. In this way, the temperature can be maintained at the target temperature. At the same time, the difference between the temperature and the target temperature is avoided to be too large, which helps to improve the intelligence of the smart refrigerator and improve the control accuracy of the refrigerator temperature.
[0116] In accordance with the above embodiment, please refer to Figure 2 , Figure 2 : is a structural diagram of an intelligent pressure switch provided in an embodiment of the present application. As shown in the figure, the intelligent pressure switch includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0117] Acquire a target operating mode of a smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor;
[0118] determining a target temperature corresponding to the target operating mode;
[0119] Obtaining a first pressure value corresponding to the target temperature;
[0120] Acquiring the current temperature of the smart refrigerator through the temperature sensor;
[0121] When the current temperature is greater than the target temperature, controlling the air compressor to work so as to lower the temperature of the smart refrigerator;
[0122] Acquire a pressure value of the smart refrigerator at a first time interval to obtain a plurality of pressure values, each pressure value corresponding to a sampling time;
[0123] Performing straight line fitting according to the multiple pressure values and corresponding sampling moments to obtain a target fitting straight line, wherein the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value;
[0124] Determining a predicted time corresponding to the first pressure value by using the target fitting straight line;
[0125] Obtaining a target slope of the target fitting straight line;
[0126] Acquire a first moment before the predicted moment according to the target slope, where the first moment is earlier than the predicted moment;
[0127] Acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, wherein the second time interval is shorter than the first time interval;
[0128] When the absolute value of the difference between the second pressure value and the first pressure value is smaller than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch.
[0129] In some possible examples, the above program also includes instructions for performing the following steps:
[0130] Acquire the pressure value of the smart refrigerator at every third time interval to obtain a third pressure value;
[0131] When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to the preset threshold, the air compressor is controlled by the intelligent pressure switch to start working.
[0132] In some possible examples, in terms of obtaining the first pressure value corresponding to the target temperature, the program includes instructions for executing the following steps:
[0133] Obtaining a historical pressure value corresponding to the target temperature to obtain a plurality of historical pressure values, each historical pressure value corresponding to a sampling time;
[0134] Performing fitting according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain a target fitting curve;
[0135] Obtaining the extreme value points of the target fitting curve to obtain multiple extreme value points;
[0136] Determining a target mean square error and a target mean of the plurality of extreme value points;
[0137] Obtaining target attribute information of storage items corresponding to the smart refrigerator;
[0138] Determining a target adjustment parameter corresponding to the target attribute information;
[0139] Determining a target fine-tuning parameter corresponding to the target mean square error;
[0140] The target mean value is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain the first pressure value.
[0141] In some possible examples, the above program also includes instructions for performing the following steps:
[0142] determining a first reference time interval corresponding to the target slope;
[0143] Determining a first feedback adjustment parameter corresponding to the target mean square error;
[0144] Feedback adjustment is performed on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval.
[0145] In some possible examples, in the aspect of performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval, the program includes instructions for executing the following steps:
[0146] Performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain a second reference time interval;
[0147] Acquiring the closing degree of the smart refrigerator and determining an intermediate feedback adjustment parameter corresponding to the closing degree;
[0148] Acquire the external atmospheric pressure of the smart refrigerator, and acquire the current pressure value inside the smart refrigerator;
[0149] determining a target pressure difference between the external atmospheric pressure and the current pressure value;
[0150] Determining a target optimization parameter corresponding to the target air pressure difference;
[0151] Optimizing the intermediate feedback adjustment parameter according to the target optimization parameter to obtain a second feedback adjustment parameter;
[0152] Feedback adjustment is performed on the second reference time interval according to the second feedback adjustment parameter to obtain the second time interval.
[0153] It can be seen that the intelligent pressure switch described in the embodiment of the present application obtains the target working mode of the intelligent refrigerator; the intelligent refrigerator includes a temperature sensor and an air compressor, determines the target temperature corresponding to the target working mode, obtains a first pressure value corresponding to the target temperature, obtains the current temperature of the intelligent refrigerator through the temperature sensor, and when the current temperature is greater than the target temperature, controls the air compressor to work to reduce the temperature of the intelligent refrigerator, obtains the pressure value of the intelligent refrigerator at a first time interval, obtains multiple pressure values, each pressure value corresponds to a sampling time, performs straight line fitting according to the multiple pressure values and the corresponding sampling times, obtains a target fitting straight line, the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value, determines the predicted time corresponding to the first pressure value through the target fitting straight line, obtains the target slope of the target fitting straight line, obtains a first time before the predicted time according to the target slope, the first time is earlier than the predicted time, obtains the pressure value of the intelligent refrigerator at a second time interval, obtains a second pressure value, the second time interval is less than the first time interval, and the absolute value of the difference between the second pressure value and the first pressure value When it is less than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch. First, the corresponding target temperature can be determined based on the working mode of the smart refrigerator, and the pressure value corresponding to the temperature can be obtained. When the temperature is higher than the target temperature, the air compressor is controlled to work to reduce the temperature to the target temperature. Second, during the cooling process, the pressure value can be collected at a first time interval, and a fitting straight line can be determined based on these pressure values. The predicted time when the target temperature is reached can be accurately evaluated based on the fitting straight line. Third, considering that the pressure sensitivity is higher than the temperature sensitivity, the first moment before the predicted moment can be determined based on the slope, and the pressure value can be collected again at a second time interval. The second time interval is less than the first time interval to ensure that the absolute value of the difference between the pressure value and the first pressure value detected at the first time is less than the preset threshold. Then, the air compressor can be controlled to stop working by the intelligent pressure switch. In this way, the temperature can be maintained at the target temperature. At the same time, the difference between the temperature and the target temperature can be avoided to be too large, which helps to improve the intelligence of the smart refrigerator and improve the control accuracy of the refrigerator temperature.
[0154] Figure 3: is a functional unit composition block diagram of a control device 300 based on an intelligent pressure switch involved in an embodiment of the present application. The control device 300 based on an intelligent pressure switch is applied to an intelligent pressure switch. The control device 300 based on an intelligent pressure switch includes: an acquisition unit 301, a determination unit 302, a control unit 303, and a fitting unit 304, wherein:
[0155] The acquisition unit 301 is used to acquire a target operating mode of the smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor;
[0156] The determining unit 302 is used to determine a target temperature corresponding to the target operating mode;
[0157] The acquisition unit 301 is further configured to acquire a first pressure value corresponding to the target temperature; and acquire a current temperature of the smart refrigerator through the temperature sensor;
[0158] The control unit 303 is used to control the air compressor to work when the current temperature is greater than the target temperature, so as to reduce the temperature of the smart refrigerator;
[0159] The acquisition unit 301 is further used to acquire the pressure value of the smart refrigerator at every first time interval to obtain multiple pressure values, each pressure value corresponding to a sampling time;
[0160] The fitting unit 304 is used to perform straight line fitting according to the multiple pressure values and the corresponding sampling moments to obtain a target fitting straight line, where the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value;
[0161] The determining unit 302 is further configured to determine a predicted time corresponding to the first pressure value through the target fitting straight line;
[0162] The acquisition unit 301 is further configured to acquire a target slope of the target fitting straight line; acquire a first moment before the predicted moment according to the target slope, the first moment being earlier than the predicted moment; and acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, the second time interval being less than the first time interval;
[0163] The control unit 303 is further configured to control the air compressor to stop working through the intelligent pressure switch when the absolute value of the difference between the second pressure value and the first pressure value is less than a preset threshold.
[0164] In some possible examples, the control device 300 based on the intelligent pressure switch is further specifically used for:
[0165] Acquire the pressure value of the smart refrigerator at every third time interval to obtain a third pressure value;
[0166] When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to the preset threshold, the air compressor is controlled by the intelligent pressure switch to start working.
[0167] In some possible examples, in terms of obtaining the first pressure value corresponding to the target temperature, the obtaining unit 301 is specifically used to:
[0168] Obtaining a historical pressure value corresponding to the target temperature to obtain a plurality of historical pressure values, each historical pressure value corresponding to a sampling time;
[0169] Performing fitting according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain a target fitting curve;
[0170] Obtaining the extreme value points of the target fitting curve to obtain multiple extreme value points;
[0171] Determining a target mean square error and a target mean of the plurality of extreme value points;
[0172] Obtaining target attribute information of storage items corresponding to the smart refrigerator;
[0173] Determining a target adjustment parameter corresponding to the target attribute information;
[0174] Determining a target fine-tuning parameter corresponding to the target mean square error;
[0175] The target mean value is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain the first pressure value.
[0176] In some possible examples, the control device 300 based on the intelligent pressure switch is further specifically used for:
[0177] determining a first reference time interval corresponding to the target slope;
[0178] Determining a first feedback adjustment parameter corresponding to the target mean square error;
[0179] Feedback adjustment is performed on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval.
[0180] In some possible examples, in terms of performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval, the control device 300 based on the intelligent pressure switch is specifically used for:
[0181] Performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain a second reference time interval;
[0182] Acquiring the closing degree of the smart refrigerator and determining an intermediate feedback adjustment parameter corresponding to the closing degree;
[0183] Acquire the external atmospheric pressure of the smart refrigerator, and acquire the current pressure value inside the smart refrigerator;
[0184] determining a target pressure difference between the external atmospheric pressure and the current pressure value;
[0185] Determining a target optimization parameter corresponding to the target air pressure difference;
[0186] Optimizing the intermediate feedback adjustment parameter according to the target optimization parameter to obtain a second feedback adjustment parameter;
[0187] Feedback adjustment is performed on the second reference time interval according to the second feedback adjustment parameter to obtain the second time interval.
[0188] It can be seen that the control device based on the intelligent pressure switch described in the embodiment of the present application is applied to the intelligent pressure switch to obtain the target working mode of the intelligent refrigerator; the intelligent refrigerator includes a temperature sensor and an air compressor, determines the target temperature corresponding to the target working mode, obtains a first pressure value corresponding to the target temperature, obtains the current temperature of the intelligent refrigerator through the temperature sensor, and when the current temperature is greater than the target temperature, controls the air compressor to work to reduce the temperature of the intelligent refrigerator, obtains the pressure value of the intelligent refrigerator at every first time interval to obtain multiple pressure values, each pressure value corresponds to a sampling moment, performs straight line fitting according to the multiple pressure values and the corresponding sampling moments to obtain a target fitting straight line, the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value, determines the predicted moment corresponding to the first pressure value through the target fitting straight line, obtains the target slope of the target fitting straight line, obtains a first moment before the predicted moment according to the target slope, the first moment is earlier than the predicted moment, obtains the pressure value of the intelligent refrigerator at every second time interval to obtain a second pressure value, the second time interval is less than the first time interval, and the pressure value is greater than the pressure value at the second pressure value. When the absolute value of the difference between the two is less than the preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch. First, the corresponding target temperature can be determined based on the working mode of the smart refrigerator, and the pressure value corresponding to the temperature can be obtained. When the temperature is higher than the target temperature, the air compressor is controlled to work to reduce the temperature to the target temperature. Second, during the cooling process, the pressure value can be collected at a first time interval, and a fitting straight line can be determined based on these pressure values. The predicted time when the target temperature is reached is accurately evaluated based on the fitting straight line. Third, considering that the pressure sensitivity is higher than the temperature sensitivity, the first moment before the predicted moment can be determined based on the slope, and the pressure value can be collected again at a second time interval, and the second time interval is less than the first time interval to ensure that the absolute value of the difference between the pressure value and the first pressure value is less than the preset threshold at the first time. Then, the air compressor can be controlled to stop working by the intelligent pressure switch. In this way, the temperature can be maintained at the target temperature. At the same time, the difference between the temperature and the target temperature is avoided to be too large, which helps to improve the intelligence of the smart refrigerator and improve the control accuracy of the refrigerator temperature.
[0189] It can be understood that the functions of each program module of the control device based on the intelligent pressure switch in this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0190] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an intelligent pressure switch.
[0191] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an intelligent pressure switch.
[0192] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0193] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0194] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0195] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0196] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0197] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0198] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0199] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A control method based on an intelligent pressure switch, characterized in that: Applied to an intelligent pressure switch, the method comprises: Acquire a target operating mode of a smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor; determining a target temperature corresponding to the target operating mode; Obtaining a first pressure value corresponding to the target temperature; Acquiring the current temperature of the smart refrigerator through the temperature sensor; When the current temperature is greater than the target temperature, controlling the air compressor to work so as to lower the temperature of the smart refrigerator; Acquire a pressure value of the smart refrigerator at a first time interval to obtain a plurality of pressure values, each pressure value corresponding to a sampling time; Performing straight line fitting according to the multiple pressure values and corresponding sampling moments to obtain a target fitting straight line, wherein the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value; Determining a predicted time corresponding to the first pressure value by using the target fitting straight line; Obtaining a target slope of the target fitting straight line; Acquire a first moment before the predicted moment according to the target slope, where the first moment is earlier than the predicted moment; Acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, wherein the second time interval is shorter than the first time interval; When the absolute value of the difference between the second pressure value and the first pressure value is smaller than a preset threshold, the air compressor is controlled to stop working by the intelligent pressure switch.
2. The method according to claim 1, characterized in that The method further comprises: Acquire the pressure value of the smart refrigerator at every third time interval to obtain a third pressure value; When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to the preset threshold, the air compressor is controlled by the intelligent pressure switch to start working.
3. The method according to claim 1 or 2, characterized in that: The obtaining of the first pressure value corresponding to the target temperature includes: Obtaining a historical pressure value corresponding to the target temperature to obtain a plurality of historical pressure values, each historical pressure value corresponding to a sampling time; Performing fitting according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain a target fitting curve; Obtaining the extreme value points of the target fitting curve to obtain multiple extreme value points; Determining a target mean square error and a target mean of the plurality of extreme value points; Obtaining target attribute information of storage objects corresponding to the smart refrigerator; Determining a target adjustment parameter corresponding to the target attribute information; Determining a target fine-tuning parameter corresponding to the target mean square error; The target mean value is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain the first pressure value.
4. The method according to claim 3, characterized in that The method further comprises: determining a first reference time interval corresponding to the target slope; Determining a first feedback adjustment parameter corresponding to the target mean square error; Feedback adjustment is performed on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval.
5. The method according to claim 4, characterized in that The performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain the second time interval includes: Performing feedback adjustment on the first reference time interval according to the first feedback adjustment parameter to obtain a second reference time interval; Acquiring the closing degree of the smart refrigerator and determining an intermediate feedback adjustment parameter corresponding to the closing degree; Acquire the external atmospheric pressure of the smart refrigerator, and acquire the current pressure value inside the smart refrigerator; determining a target pressure difference between the external atmospheric pressure and the current pressure value; Determining a target optimization parameter corresponding to the target air pressure difference; Optimizing the intermediate feedback adjustment parameter according to the target optimization parameter to obtain a second feedback adjustment parameter; Feedback adjustment is performed on the second reference time interval according to the second feedback adjustment parameter to obtain the second time interval.
6. A control device based on an intelligent pressure switch, characterized in that: Applied to an intelligent pressure switch, the device comprises: an acquisition unit, a determination unit, a control unit, and a fitting unit, wherein: The acquisition unit is used to acquire a target operating mode of the smart refrigerator; the smart refrigerator includes a temperature sensor and an air compressor; The determining unit is used to determine a target temperature corresponding to the target operating mode; The acquisition unit is further used to acquire a first pressure value corresponding to the target temperature; and acquire a current temperature of the smart refrigerator through the temperature sensor; The control unit is used to control the air compressor to work when the current temperature is greater than the target temperature, so as to lower the temperature of the smart refrigerator; The acquisition unit is further used to acquire the pressure value of the smart refrigerator at every first time interval to obtain multiple pressure values, each pressure value corresponding to a sampling time; The fitting unit is used to perform straight line fitting according to the multiple pressure values and the corresponding sampling moments to obtain a target fitting straight line, wherein the horizontal axis of the target fitting straight line is time and the vertical axis is pressure value; The determining unit is further used to determine the predicted time corresponding to the first pressure value through the target fitting straight line; The acquisition unit is further used to acquire a target slope of the target fitting straight line; acquire a first moment before the predicted moment according to the target slope, the first moment being earlier than the predicted moment; and acquire a pressure value of the smart refrigerator at a second time interval to obtain a second pressure value, the second time interval being less than the first time interval; The control unit is further used to control the air compressor to stop working through the intelligent pressure switch when the absolute value of the difference between the second pressure value and the first pressure value is less than a preset threshold.
7. The device according to claim 6, characterized in that The device is also specifically used for: Acquire the pressure value of the smart refrigerator at every third time interval to obtain a third pressure value; When the absolute value of the difference between the third pressure value and the first pressure value is greater than or equal to the preset threshold, the air compressor is controlled by the intelligent pressure switch to start working.
8. The device according to claim 6 or 7, characterized in that In terms of obtaining the first pressure value corresponding to the target temperature, the obtaining unit is specifically used to: Obtaining a historical pressure value corresponding to the target temperature to obtain a plurality of historical pressure values, each historical pressure value corresponding to a sampling time; Performing fitting according to the multiple historical pressure values and the sampling time of each historical pressure value to obtain a target fitting curve; Obtaining the extreme value points of the target fitting curve to obtain multiple extreme value points; Determining a target mean square error and a target mean of the plurality of extreme value points; Obtaining target attribute information of storage items corresponding to the smart refrigerator; Determining a target adjustment parameter corresponding to the target attribute information; Determining a target fine-tuning parameter corresponding to the target mean square error; The target mean value is adjusted according to the target adjustment parameter and the target fine-tuning parameter to obtain the first pressure value.
9. An intelligent pressure switch, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises instructions for executing the steps in the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Compressor control method and device and heat exchange system
CN114542501A
Air conditioner control method and device, air conditioner and electronic equipment
CN115218441A