A dynamic control method and system based on refrigerator power failure recovery
By building a food information database and energy storage equipment power supply mode, the temperature and humidity of the refrigerator temperature zone are monitored and dynamically adjusted in real time, which solves the problem of food preservation after the refrigerator is powered off, and realizes the effective preservation of food and energy consumption optimization.
Patent Information
- Application Number
- CN202510201616.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-02-24
AI Technical Summary
Existing refrigerators are unable to intelligently adjust to the actual changes in food ingredients after a power outage, resulting in poor food preservation and storage effects, and are unable to quickly return to optimal operating conditions after power is restored.
By building a food information database, generating a mapping retrieval table, monitoring the food properties and temperature and humidity data of the temperature zones in real time, calculating the refrigeration time parameters using the energy storage device power supply mode, and dynamically adjusting the refrigeration system's operating strategy after power is restored, we ensure that the temperature and humidity control values of each temperature zone meet the optimal preservation conditions.
In the event of a power outage in the refrigerator, it can effectively prevent food from spoiling and ensure the freshness of food. After the power is restored, it can quickly restore the optimal operating state while minimizing energy consumption.
Smart Images

Figure CN119983680B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of refrigerators, and in particular relates to a dynamic control method and system based on refrigerator power failure recovery. Background Art
[0002] As a crucial appliance for keeping food fresh and preventing spoilage, refrigerators require constant power supply, ensuring the proper functioning of each compartment and the safe storage of food. A power outage causes temperatures in each temperature zone to rise rapidly, significantly shortening the shelf life of food and potentially exposing it to immediate spoilage. To mitigate the impact of power outages, existing technologies typically employ measures such as backup power supplies and power outage warnings.
[0003] However, since the types, quantities and storage conditions of ingredients in different temperature zones in the refrigerator are different, there are significant differences in temperature and humidity changes. The above measures can only alleviate the problem to a certain extent. In addition, after the power supply is restored, the control circuit can only restore refrigeration according to the preset program, and cannot make intelligent adjustments based on the actual changes in the ingredients during the power outage. As a result, when facing an unexpected power outage, the refrigerator still has certain deficiencies in preserving and storing food. Summary of the Invention
[0004] The embodiments of the present application provide a dynamic control method and system based on refrigerator power outage recovery. When the refrigerator is powered off, the energy storage device can be used to adjust the refrigeration according to the actual changes in the food during the power outage, effectively preventing the food from rapidly deteriorating due to the power outage.
[0005] In a first aspect, an embodiment of the present application provides a dynamic control method based on refrigerator power outage recovery, comprising:
[0006] Generate a mapping retrieval table for different ingredients based on the ingredient information database;
[0007] When a power outage is detected in the refrigerator, the food attribute information and temperature and humidity data of each temperature zone in the refrigerator are associated and stored, and the control circuit of the refrigerator is switched to an energy storage device power supply mode, in which the refrigerator is powered by the energy storage device;
[0008] Calculating the cooling time parameters of each temperature zone according to the food attribute information and the temperature and humidity data;
[0009] According to the power parameters of the energy storage device and the cooling time parameters of each temperature zone, a dynamic programming method is used to obtain a cooling time combination for each temperature zone;
[0010] After the refrigerator is restored to power, the temperature zone control parameters of each temperature zone are determined based on the actual temperature and humidity data of each temperature zone and the food information. The temperature zone control parameters include a temperature control value and a humidity control value.
[0011] According to the temperature zone control parameters, the operation strategy of the refrigeration system is dynamically adjusted.
[0012] Furthermore, the mapping retrieval table of different ingredients is generated based on the ingredient information database, including:
[0013] Obtaining food information of each food from a food information database and mapping a unique food code for each food, wherein the food information includes an optimal fresh-keeping humidity and an optimal fresh-keeping temperature;
[0014] Using the ingredient code as a key and the ingredient information as a value, a mapping retrieval table for different ingredients is constructed;
[0015] For unknown ingredients, a reference ingredient is matched from the ingredient information database through a similarity matching algorithm, the ingredient information of the reference ingredient is used as the ingredient information of the unknown ingredient, and the reference ingredient is added to the mapping retrieval table.
[0016] Furthermore, the associating and storing the food information and temperature and humidity data of each temperature zone in the refrigerator includes:
[0017] An independent sensor unit is installed in each temperature zone to collect temperature and humidity data of each temperature zone in real time;
[0018] The refrigerator captures images of food in each temperature zone using a built-in camera to obtain raw food image data, and uses image processing technology to identify the raw image data to obtain a list of food types in each temperature zone;
[0019] Mapping the ingredients in the ingredient type list to corresponding ingredient codes through the mapping search table to obtain ingredient attribute information for each temperature zone, wherein the ingredient attribute information includes ingredient type and ingredient quantity;
[0020] A unique temperature zone ID is mapped to each temperature zone, and the temperature and humidity data and food attribute information corresponding to the temperature zone are associated with the temperature zone ID and stored in a non-volatile memory.
[0021] Furthermore, the calculating and obtaining the refrigeration time parameters of each temperature zone according to the food attribute information and the temperature and humidity data includes:
[0022] Real-time acquisition of temperature and humidity data in each temperature zone of the refrigerator after power outage. Based on a preset table of correspondence between temperature and humidity and food preservation time, the rate of decline in the freshness of food in each temperature zone is assessed.
[0023] Based on the decline rate, the spoilage rate parameters of various food materials in the temperature zone are calculated;
[0024] Based on the preset temperature-corruption rate model, the initial corruption rate of food in each temperature zone is obtained;
[0025] Obtaining an estimated corruption rate for each temperature zone based on the initial corruption rate and the corruption rate parameter;
[0026] Based on the estimated spoilage rate, the estimated spoilage time of the food in each temperature zone is calculated. The estimated spoilage time is the estimated time difference between the food spoilage time after the refrigerator is powered off and a threshold timestamp. The threshold timestamp is the time when the temperature and humidity data in the temperature zone exceeds a preset temperature and humidity threshold for the temperature zone after the refrigerator is powered off.
[0027] Based on the estimated corruption duration, refrigeration time parameters of each temperature zone are obtained.
[0028] Furthermore, the real-time acquisition of temperature and humidity data in each temperature zone after the refrigerator is powered off, and the evaluation of the rate of decline of the freshness of the food in each temperature zone according to a preset correspondence table between temperature and humidity and food preservation time, include:
[0029] Compare the temperature and humidity data in each temperature zone after the refrigerator is powered off with the preset temperature and humidity thresholds for each temperature zone. If the temperature data in the temperature zone is greater than the preset temperature threshold or the humidity data is greater than the preset temperature threshold for the temperature zone, record the current threshold timestamp.
[0030] Obtaining a power-off timestamp when the refrigerator is powered off, and obtaining the optimal fresh-keeping time of food after the refrigerator is powered off based on the power-off timestamp and the threshold timestamp;
[0031] Through the preset correspondence table between temperature and humidity and food preservation time, the preservation time threshold of each food under the optimal preservation conditions is obtained;
[0032] Obtaining a reduction in freshness-keeping time by using the optimal freshness-keeping time and the freshness-keeping time threshold;
[0033] Obtaining a rate of decrease in freshness of each food ingredient based on the reduction in freshness preservation time and the optimal freshness preservation time;
[0034] For each temperature zone, the average value of the rate of decrease in the freshness of all ingredients is calculated to obtain the rate of decrease in the freshness of the ingredients in the temperature zone.
[0035] Furthermore, the method of obtaining a cooling time combination for each temperature zone by using a dynamic programming method based on the power parameter of the energy storage device and the cooling time parameter of each temperature zone includes:
[0036] Based on the power parameters of the energy storage device and the cooling time parameters of each temperature zone, a state transition equation is established. The state transition equation is as follows:
[0037]
[0038] in, It represents the optimal solution for the cooling time combination of each temperature zone when the preset time is t and the power parameter is e. e′ is the new power parameter calculated according to the power update rule.
[0039] Furthermore, the new power parameters calculated according to the power update rule include:
[0040] In the power supply mode of the energy storage device, calculating the power reduction value of the energy storage device in each time step to obtain a new power parameter;
[0041] The calculation formula of the new power parameter is as follows:
[0042]
[0043] in, represents the time step, Indicates the amount of electricity the energy storage device holds when it starts supplying power. represents the power consumption during cooling of the i-th temperature zone, Indicates the energy conversion efficiency of the energy storage device when it powers the refrigerator;
[0044] The calculation formula of the power of the energy storage device when it starts to supply power is as follows:
[0045]
[0046] in, It represents the power attenuation rate of the energy storage device in the idle state, e represents the power of the energy storage device at the preset time, The amount of energy a storage device can hold when fully charged.
[0047] Furthermore, after the refrigerator is restored to power, the temperature zone control parameters of each temperature zone are determined according to the actual temperature and humidity data of each temperature zone and the food information. The temperature zone control parameters include a temperature control value and a humidity control value, including:
[0048] For each temperature zone, obtain food information of various types of food in the temperature zone, and calculate the optimal temperature range and optimal humidity range corresponding to the temperature zone;
[0049] Selecting the middle value of the optimal temperature range as the set temperature of the temperature zone, and selecting the middle value of the optimal humidity range as the set humidity of the temperature zone;
[0050] The set temperature is compared with the actual temperature data of the temperature zone to obtain a temperature control value, and the set humidity is compared with the actual humidity data of the temperature zone to obtain a humidity control value.
[0051] Furthermore, dynamically adjusting the operation strategy of the refrigeration system according to the temperature zone control parameters includes:
[0052] If the temperature control value or the humidity control value is greater than a preset control threshold, a PID control algorithm is used to obtain execution control parameters of the temperature zone, where the execution control parameters include cooling power, humidification amount, and dehumidification amount;
[0053] The operation strategy of the refrigeration system in each temperature zone is adjusted by executing the control parameters.
[0054] In a second aspect, an embodiment of the present application provides a dynamic control system based on refrigerator power outage recovery, including:
[0055] The first processing module is used to generate a mapping retrieval table of different ingredients based on the ingredient information database;
[0056] A second processing module is configured to associate and store food attribute information and temperature and humidity data for each temperature zone in the refrigerator when detecting a power outage in the refrigerator, and simultaneously switch the refrigerator's control circuit to an energy storage device power supply mode, wherein the energy storage device power supply mode supplies power to the refrigerator via the energy storage device;
[0057] A third processing module is used to calculate the refrigeration time parameters of each temperature zone according to the food attribute information and the temperature and humidity data;
[0058] A fourth processing module is configured to obtain a cooling time combination for each temperature zone using a dynamic programming method according to the power parameter of the energy storage device and the cooling time parameter of each temperature zone;
[0059] A fifth processing module is configured to determine, after power is restored to the refrigerator, temperature zone control parameters for each temperature zone based on actual temperature and humidity data of each temperature zone and food information, wherein the temperature zone control parameters include a temperature control value and a humidity control value;
[0060] The sixth processing module is used to dynamically adjust the operation strategy of the refrigeration system according to the temperature zone control parameters.
[0061] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0062] The present invention provides a dynamic control method based on refrigerator power failure recovery. By constructing a mapping retrieval table for different ingredients, the food information of various ingredients can be systematically managed and stored. Moreover, based on the mapping retrieval table generated by the database, the various ingredients in the refrigerator can be quickly located and their related storage requirements can be obtained, thereby greatly improving the efficiency and accuracy of food management. When the refrigerator is powered off, the food attribute information and the current temperature and humidity data of each temperature zone in the refrigerator are associated and stored, thereby ensuring that the refrigerator can maintain data integrity and security even in the case of power failure. At the same time, the control circuit of the refrigerator is switched to the energy storage device power supply mode. The formula calculates the refrigeration time parameters required for each temperature zone through food attribute information and temperature and humidity data, and comprehensively considers the power parameters of the energy storage device and applies them to the energy storage device power supply mode to power each temperature zone. Therefore, when the refrigerator is powered off, the energy storage device can maintain the basic operation of the refrigerator, effectively preventing the rapid deterioration of food due to power outages. After the power is restored to the refrigerator, the temperature zone control parameters of each temperature zone are dynamically determined according to the actual temperature and humidity data of each temperature zone and the food information, so that the refrigerator can quickly return to the optimal operating state before the power outage, ensuring that the refrigerator keeps the food fresh while minimizing energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. 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 any creative work.
[0064] Figure 1 This is a flow chart of a dynamic control method based on refrigerator power failure recovery provided by one embodiment of the present invention;
[0065] Figure 2 The present invention is a structural diagram of a dynamic control system based on refrigerator power failure recovery provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0066] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0067] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.
[0068] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0069] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0070] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0071] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0072] See also Figure 1 As shown, the present invention is a dynamic control method based on refrigerator power failure recovery, comprising the following steps:
[0073] S100, generating a mapping retrieval table for different ingredients based on an ingredient information database;
[0074] In some embodiments, step S100 includes:
[0075] Obtaining food information of each food from a food information database and mapping a unique food code for each food, wherein the food information includes an optimal fresh-keeping humidity and an optimal fresh-keeping temperature;
[0076] Using the ingredient code as a key and the ingredient information as a value, a mapping retrieval table for different ingredients is constructed;
[0077] For unknown ingredients, a reference ingredient is matched from the ingredient information database through a similarity matching algorithm, the ingredient information of the reference ingredient is used as the ingredient information of the unknown ingredient, and the reference ingredient is added to the mapping retrieval table.
[0078] In this embodiment, by constructing a food information database, food information of various ingredients is centrally stored and managed, including but not limited to key parameters such as optimal preservation humidity and optimal preservation temperature, thereby improving the efficiency of information retrieval and ensuring the accuracy and consistency of information. At the same time, a unique food code is assigned to each food. Specifically, the food code is used as a unique identifier for the food, simplifying the retrieval efficiency in the food information database. In addition, based on the food code and food information, a mapping retrieval table for different ingredients is constructed. Through simple key-value pair operations, we can easily add, delete or modify food information without having to perform complex operations on the entire database.
[0079] In this embodiment, if the food placed in the refrigerator is an unknown food that does not appear in the food information database, a similarity matching algorithm is used to find the reference food that is most similar to the unknown food from the food information database, and its information is used as temporary information of the unknown food, enriching and improving the corresponding mapping retrieval table and food information database, so that it can continuously adapt to new food and changing needs, thereby maintaining its long-term practicality and effectiveness. Specifically, the food image of the unknown food is obtained through the built-in camera of the refrigerator, and the food image is preprocessed to generate unknown food feature information. The collected unknown food feature information is input into the pre-trained similarity matching model. It can be understood that the above-mentioned similarity matching model is based on a deep learning algorithm and is trained on a massive food information database to generate a model with strong food feature recognition and matching capabilities. Through the similarity matching model, the similarity score between the unknown food and each known food in the food information database can be calculated, and the scores are sorted according to the scores, and the food with the highest similarity is selected as the reference food.
[0080] In other embodiments, for unknown ingredients, the user can input the name of the corresponding ingredient through the visual interface, and the ingredient information database assigns an ingredient code to the corresponding ingredient. In an online state, the ingredient information of the corresponding ingredient is obtained from the network according to the ingredient name input by the user, thereby enriching the ingredient information database.
[0081] S200: When a power outage is detected in the refrigerator, associating and storing food attribute information and temperature and humidity data of each temperature zone in the refrigerator, and simultaneously switching a control circuit of the refrigerator to an energy storage device power supply mode, wherein the energy storage device power supply mode supplies power to the refrigerator via the energy storage device;
[0082] In this embodiment, when the refrigerator is powered off, the control circuit of the refrigerator is switched to the energy storage device power supply mode. The refrigeration time parameters required for each temperature zone are calculated based on the food attribute information and temperature and humidity data. The power parameters of the energy storage device are comprehensively considered and applied to the power supply of each temperature zone in the energy storage device power supply mode. In this way, the basic operation of the refrigerator can be maintained by the energy storage device when the refrigerator is powered off, effectively preventing the food from rapidly deteriorating due to power outage.
[0083] In some embodiments, step S200 includes:
[0084] An independent sensor unit is installed in each temperature zone to collect temperature and humidity data of each temperature zone in real time;
[0085] The refrigerator captures images of food in each temperature zone using a built-in camera to obtain raw food image data, and uses image processing technology to identify the raw image data to obtain a list of food types in each temperature zone;
[0086] Mapping the ingredients in the ingredient type list to corresponding ingredient codes through the mapping search table to obtain ingredient attribute information for each temperature zone, wherein the ingredient attribute information includes ingredient type and ingredient quantity;
[0087] A unique temperature zone ID is mapped to each temperature zone, and the temperature and humidity data and food attribute information corresponding to the temperature zone are associated with the temperature zone ID and stored in a non-volatile memory.
[0088] In this embodiment, by installing an independent sensor unit in each temperature zone, the temperature and humidity data of each temperature zone can be collected and monitored in real time and independently, ensuring precise control of the internal environment of the refrigerator. The built-in camera of the refrigerator can collect images of food in each temperature zone and recognize these images through image processing technology, thereby automatically generating a list of food types in each temperature zone, thereby simplifying the tedious process of users manually recording ingredients, and improving the accuracy and convenience of food management. Users can check the list of ingredients in the refrigerator at any time through the visual interface, understand the types and quantities of ingredients, and avoid repeated purchases or expired ingredients.
[0089] In this embodiment, the ingredients in the ingredient type list are mapped to corresponding ingredient codes, and the ingredient information of each ingredient in the ingredient type list is obtained through a mapping retrieval table. The ingredient code and ingredient information are regularized to obtain the ingredient attribute information of each temperature zone, wherein the ingredient attribute information includes the ingredient type and ingredient quantity. In addition, a unique temperature zone ID is mapped to each temperature zone, and the temperature and humidity data and ingredient attribute information of the corresponding temperature zone are associated with the temperature zone ID and stored through a non-volatile memory, thereby ensuring that the refrigerator can maintain data integrity and security even in the event of a power outage. When the refrigerator is powered on again, the refrigerator can obtain the temperature and humidity data and ingredient attribute information corresponding to each temperature zone from the non-volatile memory, providing users with continuous and reliable ingredient management services.
[0090] S300: Calculate and obtain cooling time parameters for each temperature zone based on the food attribute information and the temperature and humidity data;
[0091] In some embodiments, step S300 includes:
[0092] Real-time acquisition of temperature and humidity data in each temperature zone of the refrigerator after power outage. Based on a preset table of correspondence between temperature and humidity and food preservation time, the rate of decline in the freshness of food in each temperature zone is assessed.
[0093] Based on the decline rate, the spoilage rate parameters of various food materials in the temperature zone are calculated;
[0094] Based on the preset temperature-corruption rate model, the initial corruption rate of food in each temperature zone is obtained;
[0095] Obtaining an estimated corruption rate for each temperature zone based on the initial corruption rate and the corruption rate parameter;
[0096] Based on the estimated spoilage rate, the estimated spoilage time of the food in each temperature zone is calculated. The estimated spoilage time is the estimated time difference between the food spoilage time after the refrigerator is powered off and a threshold timestamp. The threshold timestamp is the time when the temperature and humidity data in the temperature zone exceeds a preset temperature and humidity threshold for the temperature zone after the refrigerator is powered off.
[0097] Based on the estimated corruption duration, refrigeration time parameters of each temperature zone are obtained.
[0098] This embodiment can obtain the temperature and humidity data in each temperature zone of the refrigerator in real time after the power is cut off, and based on these data, evaluate the rate of decline in freshness of the food, calculate the spoilage rate parameter, obtain the spoilage time, and finally determine the refrigeration time parameters of each temperature zone, so that the refrigerator switched to the energy storage device power supply mode can refrigerate each temperature zone according to the refrigeration time parameters of each temperature zone, so as to ensure that the food in different temperature zones can be taken into account in the event of a power outage and achieve the best preservation effect.
[0099] Specifically, by comparing the relationship between the temperature and humidity data of each temperature zone after the refrigerator is powered off and the preset temperature and humidity data, combined with the corresponding relationship table between the preset temperature and humidity and the food preservation time, the rate of decrease in the freshness of the food in each temperature zone is obtained, providing a data basis for the subsequent acquisition of the refrigeration time parameters of each temperature zone.
[0100] In this embodiment, the spoilage rate parameters of food ingredients in each temperature zone are related to the decline rate, the characteristics of each food ingredient and the environmental conditions of the temperature zone. Specifically, the spoilage rate parameter = decline rate × food ingredient characteristic factor × environmental condition factor, wherein the food ingredient characteristic factor is a coefficient determined according to the type and characteristics of food ingredients in each temperature zone, and the environmental condition factor is a coefficient determined according to the temperature data and humidity data of each temperature zone, etc., which is used to reflect the influence of environmental conditions on the spoilage rate. It can be understood that the food ingredient characteristic factor is a coefficient derived based on experimental data or empirical formula, which is used to adjust the constant of the spoilage rate to more accurately reflect the spoilage rate of different food ingredients under the same storage conditions. This factor is usually determined by comparing the spoilage rates of different food ingredients under the same conditions. For the environmental condition factor, based on historical storage condition data and the spoilage rate of the corresponding food ingredients, regression analysis, machine learning and other methods are used to establish a relationship model between storage conditions and spoilage rate, thereby obtaining the value of the environmental condition factor.
[0101] In this embodiment, a temperature-spoilage rate model is constructed based on historical temperature data and food spoilage rates; through the temperature-spoilage rate model, the estimated spoilage time of the food is obtained when the real-time temperature and humidity data exceed the preset temperature zone temperature and humidity thresholds after the refrigerator is powered off, wherein the estimated spoilage time is the time difference between the timestamp when the food is estimated to be spoiled after the refrigerator stops refrigerating and the timestamp when the real-time temperature and humidity data in the temperature zone exceed the temperature zone temperature and humidity thresholds. Specifically, the historical temperature data in the refrigerator and the spoilage rate data of the food in the corresponding time period are obtained to establish a temperature-spoilage rate data set, and the temperature-spoilage rate data set is preprocessed to eliminate outliers and noise data to obtain a cleaned data set. Based on the cleaned temperature-spoilage rate data set, a regression analysis algorithm is used to establish a temperature-spoilage rate mathematical model. Through this temperature-spoilage rate mathematical model, the spoilage rate of food in each temperature zone can be obtained. When the refrigerator is powered off, the temperature data of each temperature zone in the refrigerator is obtained in real time to determine whether the real-time temperature data exceeds the preset temperature threshold of the temperature zone. If it exceeds, the food spoilage prediction process is triggered, and the real-time temperature data is input into the above-mentioned temperature-spoilage rate mathematical model. The initial spoilage rate of the food at the current temperature is calculated by the model. Based on the initial spoilage rate and the spoilage rate parameter, the estimated spoilage rate of each temperature zone is obtained. Specifically, the estimated spoilage rate = initial spoilage rate × spoilage rate parameter. Finally, according to the estimated spoilage rate, the estimated spoilage time of the food is calculated, that is, the estimated time difference from the time when the temperature and humidity data of the temperature zone is greater than the temperature and humidity threshold of the temperature zone to the time when the food begins to spoil. Specifically, the estimated spoilage time = fresh-keeping time threshold / estimated spoilage rate, where the fresh-keeping time threshold is obtained through the preset correspondence table between temperature and humidity and food fresh-keeping time.
[0102] Since the refrigerator can maintain optimal preservation conditions within a certain period of time when the power is cut off or the refrigeration system fails, the refrigerator can keep the food fresh within a certain period of time. Therefore, in the present application, starting from the time when the real-time temperature and humidity data of the temperature zone is greater than the preset temperature and humidity threshold of the temperature zone, the estimated spoilage time of the food in the temperature zone is evaluated, that is, when the refrigeration is stopped, the optimal estimated time to ensure the freshness of the food in each temperature zone is obtained. The refrigeration time parameter indicates the length of time each temperature zone needs to be refrigerated when the temperature and humidity data in the temperature zone is greater than the preset temperature and humidity threshold of the temperature zone after the power is cut off, so as to ensure that the food will not spoil within the set safety time. Therefore, the refrigeration time parameter corresponds to the estimated spoilage time. When the refrigerator is powered by the energy storage device, the energy storage device supplies power to the corresponding temperature zone within the above-mentioned optimal estimated time, that is, the refrigeration time parameter, so that the food in each temperature zone can be kept fresh.
[0103] It is understandable that when the refrigerator loses power, the control circuit of the refrigerator will synchronously switch to the energy storage device power supply mode, that is, the refrigerator is powered by the energy storage device. In some embodiments, the energy storage device is an electrical energy storage device with high energy density and high power density, such as a supercapacitor. However, under normal circumstances, the storage capacity of the energy storage device is limited. Therefore, in the case of an unknown power outage time, in this embodiment, the energy storage device supplies power to each temperature zone starting from when the real-time temperature and humidity data of each temperature zone is greater than the preset temperature and humidity threshold of the temperature zone, to ensure that the food in different temperature zones can be taken into account in the event of a power outage and achieve the best preservation effect.
[0104] In some embodiments, the real-time acquisition of temperature and humidity data in each temperature zone after a power outage of the refrigerator and the evaluation of the rate of decline of food freshness in each temperature zone according to a preset table of correspondence between temperature and humidity and food freshness preservation time include:
[0105] Compare the temperature and humidity data in each temperature zone after the refrigerator is powered off with the preset temperature and humidity thresholds for each temperature zone. If the temperature data in the temperature zone is greater than the preset temperature threshold or the humidity data is greater than the preset temperature threshold for the temperature zone, record the current threshold timestamp.
[0106] Obtaining a power-off timestamp when the refrigerator is powered off, and obtaining the optimal fresh-keeping time of food after the refrigerator is powered off based on the power-off timestamp and the threshold timestamp;
[0107] Through the preset correspondence table between temperature and humidity and food preservation time, the preservation time threshold of each food under the optimal preservation conditions is obtained;
[0108] Obtaining a reduction in freshness-keeping time by using the optimal freshness-keeping time and the freshness-keeping time threshold;
[0109] Obtaining a rate of decrease in freshness of each food ingredient based on the reduction in freshness preservation time and the optimal freshness preservation time;
[0110] For each temperature zone, the average value of the rate of decrease in the freshness of all ingredients is calculated to obtain the rate of decrease in the freshness of the ingredients in the temperature zone.
[0111] In this embodiment, the preset correspondence table between temperature and humidity and food shelf life is a data table that evaluates the food shelf life under different temperatures and humidity based on the biological characteristics and storage conditions of each food. Through this correspondence table, the shelf life threshold of the food under the optimal preservation conditions can be obtained, which is usually obtained through experimental data, scientific literature or experience summary.
[0112] The temperature and humidity thresholds of the temperature zones include the temperature threshold and the humidity threshold. The above thresholds are the optimal preservation conditions calculated before the power is cut off for the refrigerator based on the types of food stored in the temperature zone and the corresponding food preservation time. It can be understood that under the conditions of the temperature threshold and the humidity threshold, the food in the temperature zone can be preserved for the longest time. In addition, the temperature and humidity thresholds in each temperature zone are different, and are associated through the temperature zone ID and stored in the non-volatile memory, so that the relevant threshold information can be retrieved from the non-volatile memory when the power is cut off for the refrigerator.
[0113] In this embodiment, a power-off timestamp is obtained when the refrigerator is powered off. For each food ingredient in each temperature zone, real-time temperature and humidity data within the temperature zone are obtained. When the temperature data within the temperature zone exceeds a preset temperature threshold or the humidity data exceeds a preset humidity threshold, the threshold timestamp is recorded. The optimal freshness preservation time of the food ingredient after the power outage is obtained using the power-off timestamp and the threshold timestamp. Specifically, optimal freshness preservation time = threshold timestamp - power-off timestamp. A table of correspondences between temperature, humidity, and food freshness preservation time is used to obtain the freshness preservation time threshold for each food ingredient under optimal freshness preservation conditions, thereby obtaining the reduction in freshness preservation time. Specifically, reduction in freshness preservation time = freshness preservation time threshold - optimal freshness preservation time. Thus, the rate of decline in freshness of each food ingredient within the temperature zone is calculated. Specifically, rate of decline = freshness preservation time reduction / optimal freshness preservation time. It is understood that the rate of decline in freshness of the food ingredient within the temperature zone is obtained by calculating the average rate of decline in freshness of each food ingredient within the temperature zone.
[0114] S400, using a dynamic programming method to obtain a cooling time combination for each temperature zone based on the power parameter of the energy storage device and the cooling time parameter of each temperature zone;
[0115] In some embodiments, step S400 includes:
[0116] Based on the power parameters of the energy storage device and the cooling time parameters of each temperature zone, a state transition equation is established. The state transition equation is as follows:
[0117]
[0118] in, It represents the optimal solution for the cooling time combination of each temperature zone when the preset time is t and the power parameter is e. e′ is the new power parameter calculated according to the power update rule.
[0119] In this embodiment, the refrigeration benefit is the benefit brought by refrigerating one or more temperature zones within a preset time, such as the degree of temperature reduction, the extension of food preservation time, etc., while the power consumption cost is the cost brought by the power consumed for refrigeration, such as the reduction of power consumption of energy storage equipment, etc. Specifically, the power consumption within the preset time is determined based on the refrigeration time parameters and refrigeration power of each temperature zone. During the state transition process, it is necessary to ensure that the refrigeration time of each temperature zone does not exceed its refrigeration time parameter. By solving the above state transition equation, the optimal refrigeration time combination of each temperature zone is obtained.
[0120] In this embodiment, the cooling time combination of each temperature zone obtained by the above state transfer equation is The cooling time of each temperature zone is calculated by the energy storage device during the power outage of the refrigerator. In order to iteratively power and cool each greenhouse in a cycle, it can be understood that the first time step is a time unit for measuring the change in the power of the energy storage device, which is related to the specifications of the energy storage device, application requirements, power supply stability, and self-discharge rate.
[0121] In some embodiments, the new power parameter calculated according to the power update rule includes:
[0122] In the power supply mode of the energy storage device, calculating the power reduction value of the energy storage device in each time step to obtain a new power parameter;
[0123] The calculation formula of the new power parameter is as follows:
[0124]
[0125] in, represents the first time step, Indicates the amount of electricity the energy storage device holds when it starts supplying power. represents the power consumption during cooling of the i-th temperature zone, represents the energy conversion efficiency when the energy storage device powers the refrigerator, and N represents the number of temperature zones in the refrigerator;
[0126] The calculation formula of the power of the energy storage device when it starts to supply power is as follows:
[0127]
[0128] in, represents the second time step, It represents the power attenuation rate of the energy storage device in the idle state, e represents the power of the energy storage device at the preset time, The amount of energy a storage device can hold when fully charged.
[0129] In this embodiment, for the energy storage device, its power will decay accordingly when it is in an idle state. Therefore, when calculating the new power parameter, it is necessary to subtract the decayed power to obtain the power of the energy storage device when it starts to supply power. Specifically, in the idle state, at each second time step The power of the energy storage device is updated according to the self-discharge rate. When the refrigerator is powered by the energy storage device, the power consumption of each temperature zone during cooling must be subtracted from the updated power of the energy storage device.
[0130] S500: After power is restored to the refrigerator, determine the temperature zone control parameters for each temperature zone based on the actual temperature and humidity data of each temperature zone and the food information, where the temperature zone control parameters include a temperature control value and a humidity control value;
[0131] In this embodiment, after the refrigerator resumes power supply, the temperature zone control parameters of each temperature zone are dynamically determined based on the actual temperature and humidity data of each temperature zone and the food information, so that the refrigerator can quickly return to the optimal operating state before the power outage, ensuring that the refrigerator minimizes energy consumption while keeping the food fresh.
[0132] In some embodiments, step S500 includes:
[0133] For each temperature zone, obtain food information of various types of food in the temperature zone, and calculate the optimal temperature range and optimal humidity range corresponding to the temperature zone;
[0134] Selecting the middle value of the optimal temperature range as the set temperature of the temperature zone, and selecting the middle value of the optimal humidity range as the set humidity of the temperature zone;
[0135] The set temperature is compared with the actual temperature data of the temperature zone to obtain a temperature control value, and the set humidity is compared with the actual humidity data of the temperature zone to obtain a humidity control value.
[0136] In this embodiment, for each temperature zone, the optimal fresh-keeping humidity and optimal fresh-keeping temperature of each food are obtained, and the highest and lowest values among the optimal fresh-keeping humidity of multiple food ingredients are selected as the upper and lower limits of the optimal humidity range of the corresponding temperature zone, respectively. Then, the middle value between the upper and lower limits of the above-mentioned optimal humidity range is selected as the set humidity of the temperature zone. Similarly, the highest and lowest values among the optimal fresh-keeping temperatures of multiple food ingredients are selected as the upper and lower limits of the optimal temperature range of the corresponding temperature zone, respectively. Then, the middle value between the upper and lower limits of the above-mentioned optimal temperature range is selected as the set temperature of the temperature zone.
[0137] In this embodiment, for the temperature control value, if the actual temperature data is greater than the set temperature, it indicates that when power is restored to the refrigerator, the temperature within the temperature zone is too high and needs to be adjusted. The temperature control value = actual temperature data minus set temperature. Similarly, for the humidity control value, if the actual humidity data is less than the set humidity, it indicates that when power is restored to the refrigerator, the humidity within the temperature zone is too low and needs to be adjusted. The humidity control value = set humidity minus actual humidity data. It is understandable that when the refrigerator stops cooling, the temperature within the refrigerator will gradually rise, and the humidity within the refrigerator will correspondingly gradually decrease. Therefore, when comparing the difference between the set temperature within the temperature zone and the actual temperature data, the case where the actual temperature data is greater than the set temperature is considered, and when comparing the difference between the set humidity within the temperature zone and the actual humidity data, the case where the actual humidity data is less than the set humidity is considered.
[0138] S600: Dynamically adjust the operation strategy of the refrigeration system according to the temperature zone control parameters.
[0139] In some embodiments, step S600 includes:
[0140] If the temperature control value or the humidity control value is greater than a preset control threshold, a PID control algorithm is used to obtain execution control parameters of the temperature zone, where the execution control parameters include cooling power, humidification amount, and dehumidification amount;
[0141] The operation strategy of the refrigeration system in each temperature zone is adjusted by executing the control parameters.
[0142] In this embodiment, if the temperature control value or the humidity control value exceeds the preset control threshold, the PID control algorithm is triggered, and the temperature control value or the humidity control value is used as input to calculate the execution control parameters such as the cooling power, humidification amount and dehumidification amount required for each temperature zone; according to the execution control parameters output by the PID control algorithm, the specific operation strategy such as the operation mode, compressor frequency, and fan speed of the refrigeration system of each temperature zone is determined; by adjusting the operation strategy of the refrigeration system, the temperature and humidity in each temperature zone are precisely controlled, and the deviation value of the temperature or humidity is controlled within the allowable range, wherein the preset control threshold generally includes a temperature control threshold and a humidity control threshold. The temperature control threshold is the difference between the upper limit or lower limit of the optimal temperature range in the temperature zone and the set temperature. Similarly, the humidity control threshold is the difference between the upper limit or lower limit of the optimal humidity range in the temperature zone and the set humidity.
[0143] In this embodiment, temperature zone environmental parameters are continuously collected, the control effect is monitored in real time, and the actual temperature and humidity and the preset control threshold are used as feedback inputs of the PID control algorithm to form a closed-loop control; an adaptive PID control algorithm is used to dynamically optimize the PID parameters based on historical control data and effects to improve the stability and response speed of the control; during the control process, if an extreme working condition that exceeds the control capability range occurs, an alarm mechanism is triggered to notify the user to handle it in time.
[0144] See also Figure 2 As shown, the present invention also provides a dynamic control system based on refrigerator power failure recovery, the system comprising:
[0145] The first processing module 201 is used to generate a mapping retrieval table of different ingredients based on the ingredient information database;
[0146] The second processing module 202 is configured to associate and store food attribute information and temperature and humidity data of each temperature zone in the refrigerator when detecting a power outage in the refrigerator, and simultaneously switch the refrigerator control circuit to an energy storage device power supply mode, wherein the energy storage device power supply mode supplies power to the refrigerator via the energy storage device;
[0147] The third processing module 203 is used to calculate the refrigeration time parameters of each temperature zone according to the food attribute information and the temperature and humidity data;
[0148] The fourth processing module 204 is configured to obtain a cooling time combination for each temperature zone using a dynamic programming method according to the power parameter of the energy storage device and the cooling time parameter of each temperature zone;
[0149] The fifth processing module 205 is configured to determine the temperature zone control parameters of each temperature zone according to the actual temperature and humidity data of each temperature zone and the food information after the power supply of the refrigerator is restored. The temperature zone control parameters include a temperature control value and a humidity control value.
[0150] The sixth processing module 206 is configured to dynamically adjust the operation strategy of the refrigeration system according to the temperature zone control parameters.
[0151] It is understandable that if Figure 1 The contents of the embodiment of the dynamic control method based on refrigerator power failure recovery shown in the figure are applicable to the embodiment of the dynamic control system based on refrigerator power failure recovery. The functions specifically implemented by the embodiment of the dynamic control system based on refrigerator power failure recovery are the same as those in the embodiment of the dynamic control method based on refrigerator power failure recovery shown in the figure. Figure 1 The embodiment of the dynamic control method based on refrigerator power failure recovery shown in FIG. 1 is the same as that shown in FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 1 The beneficial effects achieved by the embodiment of the dynamic control method based on refrigerator power failure recovery shown are also the same.
[0152] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0154] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A dynamic control method based on refrigerator power outage recovery, characterized in that: include: Generate a mapping retrieval table for different ingredients based on the ingredient information database; When a power outage is detected in the refrigerator, the food attribute information and temperature and humidity data of each temperature zone in the refrigerator are associated and stored, and the control circuit of the refrigerator is switched to an energy storage device power supply mode, in which the refrigerator is powered by the energy storage device; Calculating the cooling time parameters of each temperature zone according to the food attribute information and the temperature and humidity data; According to the power parameters of the energy storage device and the cooling time parameters of each temperature zone, a dynamic programming method is used to obtain a cooling time combination for each temperature zone; After the refrigerator is restored to power, the temperature zone control parameters of each temperature zone are determined based on the actual temperature and humidity data of each temperature zone and the food information. The temperature zone control parameters include a temperature control value and a humidity control value. Dynamically adjust the operating strategy of the refrigeration system according to the temperature zone control parameters; The step of calculating the refrigeration time parameters of each temperature zone based on the food attribute information and the temperature and humidity data includes: Real-time acquisition of temperature and humidity data in each temperature zone of the refrigerator after power outage. Based on a preset table of correspondence between temperature and humidity and food preservation time, the rate of decline in the freshness of food in each temperature zone is assessed. Based on the decline rate, the spoilage rate parameters of various food materials in the temperature zone are calculated; Based on the preset temperature-corruption rate model, the initial corruption rate of food in each temperature zone is obtained; Obtaining an estimated corruption rate for each temperature zone based on the initial corruption rate and the corruption rate parameter; Based on the estimated spoilage rate, the estimated spoilage time of the food in each temperature zone is calculated. The estimated spoilage time is the estimated time difference between the food spoilage time after the refrigerator is powered off and a threshold timestamp. The threshold timestamp is the time when the temperature and humidity data in the temperature zone exceeds a preset temperature and humidity threshold for the temperature zone after the refrigerator is powered off. Based on the estimated spoilage duration, obtaining cooling time parameters for each temperature zone; The method of obtaining the cooling time combination of each temperature zone by using a dynamic programming method according to the power parameter of the energy storage device and the cooling time parameter of each temperature zone includes: Based on the power parameters of the energy storage device and the cooling time parameters of each temperature zone, a state transition equation is established. The state transition equation is as follows: ; in, It represents the optimal solution for the cooling time combination of each temperature zone when the preset time is t and the power parameter is e. e′ is the new power parameter calculated according to the power update rule. The new power parameters calculated according to the power update rule include: In the power supply mode of the energy storage device, calculating the power reduction value of the energy storage device in each time step to obtain a new power parameter; The calculation formula of the new power parameter is as follows: ; in, represents the time step, Indicates the amount of electricity the energy storage device holds when it starts supplying power. represents the power consumption during cooling of the i-th temperature zone, Indicates the energy conversion efficiency of the energy storage device when it powers the refrigerator; The calculation formula of the power of the energy storage device when it starts to supply power is as follows: ; in, It represents the power attenuation rate of the energy storage device in the idle state, e represents the power of the energy storage device at the preset time, The amount of energy a storage device can hold when fully charged.
2. The method according to claim 1, wherein The method of generating a mapping retrieval table of different ingredients based on the ingredient information database includes: Obtaining food information of each food from a food information database and mapping a unique food code for each food, wherein the food information includes an optimal fresh-keeping humidity and an optimal fresh-keeping temperature; Using the ingredient code as a key and the ingredient information as a value, a mapping retrieval table for different ingredients is constructed; For unknown ingredients, a reference ingredient is matched from the ingredient information database through a similarity matching algorithm, the ingredient information of the reference ingredient is used as the ingredient information of the unknown ingredient, and the reference ingredient is added to the mapping retrieval table.
3. The method according to claim 1, wherein The associating and storing the food information and temperature and humidity data of each temperature zone in the refrigerator includes: An independent sensor unit is installed in each temperature zone to collect temperature and humidity data of each temperature zone in real time; The refrigerator captures images of food in each temperature zone using a built-in camera to obtain raw food image data, and uses image processing technology to identify the raw image data to obtain a list of food types in each temperature zone; Mapping the ingredients in the ingredient type list to corresponding ingredient codes through the mapping search table to obtain ingredient attribute information for each temperature zone, wherein the ingredient attribute information includes ingredient type and ingredient quantity; A unique temperature zone ID is mapped to each temperature zone, and the temperature and humidity data and food attribute information corresponding to the temperature zone are associated with the temperature zone ID and stored in a non-volatile memory.
4. The method according to claim 1, wherein The real-time acquisition of temperature and humidity data in each temperature zone after the refrigerator is powered off, and the evaluation of the rate of decline of the freshness of food in each temperature zone according to a preset table of correspondence between temperature and humidity and food preservation time, include: Compare the temperature and humidity data in each temperature zone after the refrigerator is powered off with the preset temperature and humidity thresholds for each temperature zone. If the temperature data in the temperature zone is greater than the preset temperature threshold or the humidity data is greater than the preset temperature threshold for the temperature zone, record the current threshold timestamp. Obtaining a power-off timestamp when the refrigerator is powered off, and obtaining the optimal fresh-keeping time of food after the refrigerator is powered off based on the power-off timestamp and the threshold timestamp; Through the preset correspondence table between temperature and humidity and food preservation time, the preservation time threshold of each food under the optimal preservation conditions is obtained; Obtaining a reduction in freshness-keeping time by using the optimal freshness-keeping time and the freshness-keeping time threshold; Obtaining a rate of decrease in freshness of each food ingredient based on the reduction in freshness preservation time and the optimal freshness preservation time; For each temperature zone, the average value of the rate of decrease in the freshness of all ingredients is calculated to obtain the rate of decrease in the freshness of the ingredients in the temperature zone.
5. The method according to claim 1, wherein: After the refrigerator is restored to power, the temperature zone control parameters of each temperature zone are determined according to the actual temperature and humidity data of each temperature zone and the food information. The temperature zone control parameters include a temperature control value and a humidity control value, including: For each temperature zone, obtain food information of various types of food in the temperature zone, and calculate the optimal temperature range and optimal humidity range corresponding to the temperature zone; Selecting the middle value of the optimal temperature range as the set temperature of the temperature zone, and selecting the middle value of the optimal humidity range as the set humidity of the temperature zone; The set temperature is compared with the actual temperature data of the temperature zone to obtain a temperature control value, and the set humidity is compared with the actual humidity data of the temperature zone to obtain a humidity control value.
6. The method according to claim 1, wherein The dynamically adjusting the operation strategy of the refrigeration system according to the temperature zone control parameters includes: If the temperature control value or the humidity control value is greater than a preset control threshold, a PID control algorithm is used to obtain execution control parameters of the temperature zone, where the execution control parameters include cooling power, humidification amount, and dehumidification amount; The operation strategy of the refrigeration system in each temperature zone is adjusted by executing the control parameters.
7. A dynamic control system for refrigerator power failure recovery based on the dynamic control method for refrigerator power failure recovery according to any one of claims 1 to 6, characterized in that: include: The first processing module is used to generate a mapping retrieval table of different ingredients based on the ingredient information database; A second processing module is configured to associate and store food attribute information and temperature and humidity data for each temperature zone in the refrigerator when detecting a power outage in the refrigerator, and simultaneously switch the refrigerator's control circuit to an energy storage device power supply mode, wherein the energy storage device power supply mode supplies power to the refrigerator via the energy storage device; A third processing module is used to calculate the refrigeration time parameters of each temperature zone according to the food attribute information and the temperature and humidity data; A fourth processing module is configured to obtain a cooling time combination for each temperature zone using a dynamic programming method according to the power parameter of the energy storage device and the cooling time parameter of each temperature zone; A fifth processing module is configured to determine, after power is restored to the refrigerator, temperature zone control parameters for each temperature zone based on actual temperature and humidity data of each temperature zone and food information, wherein the temperature zone control parameters include a temperature control value and a humidity control value; The sixth processing module is used to dynamically adjust the operation strategy of the refrigeration system according to the temperature zone control parameters.
Citation Information
Patent Citations
Food detecting system and method of intelligent refrigerator
CN107631546A
Energy storage refrigerator and power failure control method thereof
CN115200294A