Refrigerator and weighing sensor weighing method thereof
By performing zeroing operation on the weighing sensor and correcting the offset value when the refrigerator door meets the zeroing conditions, the problem of inconsistent weight measurement caused by temperature change of the weighing sensor is solved, and the accuracy of the weighing sensor is achieved.
Patent Information
- Application Number
- CN202410283475.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2025-09-16
AI Technical Summary
The weighing sensor on the refrigerator door shelf will have inconsistent weight measurements due to temperature changes when the door is opened at different times, affecting the weighing accuracy.
When the door meets the preset zeroing conditions, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value. When the door is closed, the analog-to-digital conversion value of the weighing sensor is obtained and the offset value is calculated. When the door is opened, the offset value and the standard zero-point analog-to-digital conversion value are used to correct the real-time weight to ensure measurement accuracy.
By correcting the offset value, the consistency of the weighing sensor's measurement value under the same food weight is ensured, and the detection accuracy of the weighing sensor is improved.
Smart Images

Figure CN120650940A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of refrigerators, and in particular to a refrigerator and a weighing method thereof using a weighing sensor. Background Art
[0002] Currently, refrigerator door shelves are equipped with load cells to monitor the weight of food on the shelves. However, this load cell weighing method has the following problems: when the refrigerator door is opened after a period of operation, the temperature of the load cell may be different from the temperature when the door was last opened. As a result, the weight measured by the load cell when the door is opened may be different from the weight measured when the door was last opened, even if the weight of the food is the same. Summary of the Invention
[0003] The present invention provides a refrigerator and a weighing method thereof using a weighing sensor, so as to solve the problem in the prior art that, under the condition of the same food weight, the weight value measured by the weighing sensor when the door is opened this time is different from the weight value measured by the weighing sensor when the door is opened last time.
[0004] To achieve the above object, an embodiment of the present invention provides a refrigerator, comprising:
[0005] The box body has several storage rooms inside;
[0006] A door is provided at the opening of the storage chamber and is used to open and close the storage chamber;
[0007] A door shelf, provided on a side of the door close to the storage chamber, for placing food;
[0008] a weighing sensor, provided on the door shelf, for detecting the weight of food on the door shelf;
[0009] Controller for:
[0010] When the box door meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor;
[0011] After the clear operation, perform the following steps:
[0012] When the door is closed for the nth time, a standard analog-to-digital conversion value corresponding to the load cell is obtained; wherein, if n=1, the analog-to-digital conversion value corresponding to the load cell when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer;
[0013] When the door is opened for the nth time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated;
[0014] In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain the corrected weight.
[0015] As an improvement to the above solution, if n≥2, the offset value calculated when the door is opened for the n-1th time is used to obtain the standard analog-to-digital conversion value, including:
[0016] If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0017] As an improvement to the above solution, in the n-th door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the n-th time to obtain the corrected weight, including:
[0018] In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value;
[0019] Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference;
[0020] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0021] As an improvement to the above solution, in the n-th door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the n-th time to obtain the corrected weight, including:
[0022] When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value.
[0023] Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference;
[0024] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0025] As an improvement to the above solution, the preset clearing condition at least includes:
[0026] The door rack is unloaded, the box door is in an open state, and the current door opening time reaches a preset time.
[0027] As an improvement to the above solution, the refrigerator further includes:
[0028] A display module, provided on the refrigerator, for displaying the weight of food;
[0029] The controller is also used for:
[0030] The corrected weight is sent to the display module for display.
[0031] In addition, an embodiment of the present invention further provides a weighing method for a refrigerator using a load cell, wherein the refrigerator comprises at least a cabinet, wherein a plurality of storage compartments are provided inside the cabinet; a cabinet door is provided at an opening of the storage compartment and is used to open and close the storage compartment; a door shelf is provided on a side of the cabinet door close to the storage compartment and is used to place food; a load cell is provided on the door shelf and is used to detect the weight of the food on the door shelf;
[0032] The refrigerator weighing method using a load cell includes:
[0033] When the box door meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor;
[0034] After the clear operation, perform the following steps:
[0035] When the door is closed for the nth time, a standard analog-to-digital conversion value corresponding to the load cell is obtained; wherein, if n=1, the analog-to-digital conversion value corresponding to the load cell when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer;
[0036] When the door is opened for the nth time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated;
[0037] In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain the corrected weight.
[0038] As an improvement to the above solution, if n≥2, the offset value calculated when the door is opened for the n-1th time is used to obtain the standard analog-to-digital conversion value, including:
[0039] If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0040] As an improvement to the above solution, in the n-th door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the n-th time to obtain the corrected weight, including:
[0041] In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value;
[0042] Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference;
[0043] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0044] As an improvement to the above solution, in the n-th door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the n-th time to obtain the corrected weight, including:
[0045] When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value.
[0046] Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference;
[0047] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0048] Compared with the prior art, the embodiments of the present invention provide a refrigerator and a weighing method for a weighing sensor thereof. When the door of the refrigerator meets the preset zeroing conditions, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the weighing sensor at zero point, and when the door is closed, the standard analog-to-digital conversion value corresponding to the weighing sensor is obtained. Then, when the door is opened, the deviation value between the latest analog-to-digital conversion value corresponding to the weighing sensor and the standard analog-to-digital conversion value is calculated. The real-time weight detected by the weighing sensor when the door is opened is corrected by the deviation value and the standard zero-point analog-to-digital conversion value. This ensures that under the condition of the same food weight, the weight value measured by the weighing sensor when the door is opened this time is the same as the weight value measured by the weighing sensor when the door was opened last time, thereby improving the accuracy of the weighing sensor detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1This is a structural perspective diagram of a refrigerator provided by an embodiment of the present invention;
[0050] Figure 2 1 is a schematic structural diagram of a refrigeration system in a refrigerator provided by an embodiment of the present invention;
[0051] Figure 3 1 is a schematic structural diagram of a fan provided by an embodiment of the present invention;
[0052] Figure 4 This is a first working diagram of a controller provided by an embodiment of the present invention.
[0053] Figure 5 This is a second working flow diagram of a controller provided by an embodiment of the present invention;
[0054] Figure 6 This is a third working flow diagram of a controller provided by an embodiment of the present invention;
[0055] Figure 7 This is a fourth working flow diagram of a controller provided by an embodiment of the present invention;
[0056] Figure 8 is a fifth working flow diagram of a controller provided by an embodiment of the present invention;
[0057] Figure 9 This is a schematic diagram of the circuit structure of a refrigerator provided by an embodiment of the present invention;
[0058] Figure 10 The present invention provides a flowchart of a refrigerator weighing method using a load cell.
[0059] Among them, 100, box body; 101, box door; 102, door shelf; 1, compressor; 2, condenser; 3, anti-condensation tube; 4, drying filter; 5, capillary tube; 6, evaporator; 7, gas-liquid separator; 8, fan. DETAILED DESCRIPTION
[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0061] In the description of this application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.
[0062] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.
[0063] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0064] Figure 1 : is a three-dimensional diagram of a refrigerator provided according to an embodiment of the present invention. Figure 1 As shown, the refrigerator of this embodiment has an approximately rectangular shape, and the refrigerator includes a box body 100 that defines a storage space and a plurality of doors 101 provided at the opening of the box body 100, wherein the door 101 includes a door shell located on the outside of the box body, a door liner located on the inside of the box body, an upper end cover, a lower end cover, and an insulation layer located between the door shell, the door liner, the upper end cover, and the lower end cover; usually, the insulation layer is filled with foam. The box body is provided with a cavity, wherein the cavity includes a component storage cavity for placing components in the refrigerator, such as a compressor, etc., and also includes a storage space for storing food, etc. The storage space can be divided into a plurality of storage rooms, and the storage rooms can be configured as a refrigeration room, a freezer room, and a temperature-changing room (also called a fresh-keeping room) according to different uses. Each storage room corresponds to one or more doors 101, which are provided at the opening of the storage room and are used to open and close the storage room, for example, Figure 1 The storage compartment at the top is provided with double-opening doors. Wherein, the door 101 can be pivotally arranged at the opening of the box body 100, and can also be a drawer-type opening to realize drawer-type storage.
[0065] See also Figure 2 , Figure 2 Figure 1 is a schematic diagram of the structure of a refrigerator refrigeration system according to an embodiment of the present invention. The refrigeration system includes a compressor 1, a condenser 2, an anti-condensation tube 3, a filter drier 4, a capillary tube 5, an evaporator 6, and a gas-liquid separator 7. The operating process of the refrigeration system includes compression, condensation, throttling, and evaporation.
[0066] The compression process is as follows: plug in the refrigerator power cord, and when the thermostat contacts are connected, compressor 1 starts working, and low-temperature, low-pressure refrigerant is sucked into compressor 1, compressed into high-temperature, high-pressure superheated gas in the cylinder of compressor 1, and then discharged into condenser 2; the condensation process is as follows: the high-temperature, high-pressure refrigerant gas dissipates heat through condenser 2, the temperature continues to drop, and is gradually cooled to a saturated vapor at room temperature and high pressure, and further cooled to a saturated liquid, and the temperature no longer drops. The temperature at this time is called the condensation temperature, and the pressure of the refrigerant remains almost unchanged throughout the condensation process; throttling The process is as follows: the saturated refrigerant liquid after condensation is filtered out of moisture and impurities by the drying filter 4 and then flows into the capillary 5, through which it is throttled and depressurized, and the refrigerant becomes wet steam at room temperature and low pressure; the evaporation process is as follows: the wet steam at room temperature and low pressure begins to absorb heat and vaporize in the evaporator 6, which not only reduces the temperature of the evaporator and its surroundings, but also turns the refrigerant into a low-temperature, low-pressure gas. The refrigerant coming out of the evaporator 6 passes through the gas-liquid separator 7 and returns to the compressor 1 again, repeating the above process to transfer the heat in the refrigerator to the air outside the box, thereby achieving the purpose of refrigeration.
[0067] See also Figure 3 , Figure 3 This is a structural diagram of the fan in the refrigerator provided by an embodiment of the present invention. The fan 8 allows air to continuously enter the fins of the evaporator 6 for heat exchange, and at the same time sends the air that becomes cold after the evaporator 6 releases heat to the refrigeration chamber and the freezer chamber through the air duct. In this way, the air in the storage chamber continuously circulates to achieve the purpose of lowering the temperature.
[0068] In addition, the refrigerator provided by the embodiment of the present invention further includes:
[0069] The door shelf 102 is provided on a side of the door 101 close to the storage chamber and is used for placing food;
[0070] a weighing sensor, provided on the door shelf 102 , for detecting the weight of food on the door shelf 102 ;
[0071] Controller for:
[0072] When the door 101 meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor;
[0073] After the clear operation, perform the following steps:
[0074] When the door is closed for the nth time, a standard analog-to-digital conversion value corresponding to the load cell is obtained; wherein, if n=1, the analog-to-digital conversion value corresponding to the load cell when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer;
[0075] When the door is opened for the nth time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated;
[0076] In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain the corrected weight.
[0077] It is understood that the analog-to-digital conversion value, i.e., the value obtained by converting an analog signal into a digital signal, is also referred to as an AD value, where A represents an analog quantity and D represents a digital quantity. In the embodiment of the present application, the weight of the food being measured can be calculated based on the measured AD difference value according to a mapping relationship between a preset weight value and an analog-to-digital conversion difference value.
[0078] In an embodiment of the present invention, the preset zeroing condition is to ensure that the zero-point analog-to-digital conversion value of the weighing sensor at zero point does not deviate. In this case, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the weighing sensor at zero point. The standard zero-point analog-to-digital conversion value is the zero-point analog-to-digital conversion value when the zero point of the weighing sensor does not deviate.
[0079] Then, each time the door is opened after the zeroing operation, the standard analog-to-digital conversion value corresponding to the weighing sensor when the door was closed before this door opening is obtained. The standard analog-to-digital conversion value refers to the analog-to-digital conversion value corresponding to when the zero point of the weighing sensor is not offset and it detects the weight of the food. In other words, it refers to the analog-to-digital conversion value when the weighing sensor detects the weight of the food when the analog-to-digital conversion value corresponding to the zero point of the weighing sensor is the above-mentioned standard zero point analog-to-digital conversion value.
[0080] Then when the door is closed for the n=1th time, since the zeroing operation has just been completed, when the food is placed and the door is closed, the analog-to-digital conversion value corresponding to the weighing sensor is the standard analog-to-digital conversion value;
[0081] When the door is opened for the first time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and an offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated; specifically, the offset value is obtained by subtracting the standard analog-to-digital conversion value from the latest analog-to-digital conversion value;
[0082] When the door is in the first opening state (from the first door opening to the second door closing), the temperature inside the refrigerator will drop because the refrigerator has been running for a period of time from the first door closing to the first door opening. This will cause the temperature of the weighing sensor on the door shelf 102 to drop, resulting in an offset in the standard zero-point analog-to-digital conversion value, which in turn causes the detected weight value to change. Therefore, the offset value calculated when the door is opened for the first time and the standard zero-point analog-to-digital conversion value calculated when the door is closed for the first time are used to correct the real-time weight detected by the weighing sensor to obtain the corrected weight.
[0083] Next, if the weight of the food needs to be checked with the door open for subsequent times (n≥2), the offset value calculated for the (n-1) door opening is used to obtain the standard analog-to-digital conversion value. At this point, when the food is placed (adding new food, removing food, or keeping food) and the door is closed for the nth time, generally speaking, the time spent placing the food is short, and the temperature of the load cell is still the temperature drop caused by the refrigerator's operation between the last door closing and the last door opening. Therefore, the analog-to-digital conversion value at this time has an offset, which is the offset value calculated for the (n-1) door opening. Therefore, the offset value calculated for the (n-1) door opening is used to obtain the standard analog-to-digital conversion value.
[0084] When the door is in the nth door opening state (from the nth door opening to the n+1th door closing), the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value calculated when the door is closed for the nth time to obtain the corrected weight.
[0085] Since different temperatures can be set for refrigerator refrigeration / freezing, the offset value of the weighing sensor may be different each time the door is opened. Therefore, for different temperatures set for opening and closing the refrigerator door and refrigerating / freezing the refrigerator, the embodiment of the present invention obtains the latest analog-to-digital conversion value and the standard analog-to-digital conversion value under the same food weight, obtains the deviation value between the two, and finally uses the deviation value to correct the real-time weight detected by the weighing sensor in the open door state (including when the door is opened). It can ensure that under the condition of the same food weight, the weight value measured by the weighing sensor when the door is opened this time is the same as the weight value measured by the weighing sensor when the door was opened last time, thereby improving the accuracy of the weighing sensor detection.
[0086] For example, see Figure 4 , Figure 4 : is a first working flow diagram of a controller provided by an embodiment of the present invention, wherein the controller is configured to execute steps S11 to S18:
[0087] S11, determine whether the door meets the preset reset condition, if so, go to step S12, if not, return to step S11;
[0088] S12, performing a zero reset operation on the weighing sensor to obtain the standard zero-point analog-to-digital conversion value corresponding to the weighing sensor at zero point, and proceeding to step S13;
[0089] S13, determine whether it is the nth door closing after the reset operation, if n=1, proceed to step S14, if n≥2, proceed to step S15;
[0090] S14, obtaining the analog-to-digital conversion value corresponding to the weighing sensor, using the analog-to-digital conversion value as the standard analog-to-digital conversion value, and proceeding to step S16;
[0091] S15. Calculate the standard analog-to-digital conversion value using the offset value calculated when the door is opened for the (n-1)th time, and proceed to step S16.
[0092] S16, determine whether it is the nth door opening after the reset operation, if so, proceed to step S17, if not, return to step S16;
[0093] S17, obtaining the latest analog-to-digital conversion value corresponding to the weighing sensor, calculating the offset between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value calculated when the door is closed for the nth time, and proceeding to step S18;
[0094] S18. In the nth door opening state after the zeroing operation, the real-time weight detected by the weighing sensor is corrected using the offset value calculated at the nth door opening and the standard zero point analog-to-digital conversion value to obtain a corrected weight.
[0095] In an optional embodiment, if n≥2, the standard analog-to-digital conversion value is obtained by using the offset value calculated when the door is opened for the (n-1)th time, including:
[0096] If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0097] It can be understood that at this time, when the ingredients are placed (new ingredients, reduced ingredients or kept ingredients) and the door is closed for the nth time, generally speaking, not much time is consumed in placing the ingredients, and the temperature of the weighing sensor is still the drop caused by the operation of the refrigerator from the last door closing to the last door opening. Then the analog-to-digital conversion value obtained at this time is offset, and the offset value between it and the standard analog-to-digital conversion value is the offset value calculated when the door is opened for the n-1th time. Therefore, the analog-to-digital conversion value at this time is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0098] In an optional embodiment, in the n-th door opening state, using the offset value calculated when the door is opened for the n-th time to correct the real-time weight detected by the weighing sensor to obtain the corrected weight includes:
[0099] In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value;
[0100] Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference;
[0101] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0102] It can be understood that in an embodiment of the present invention, the standard zero-point analog-to-digital conversion value is corrected by the offset value calculated when the door is opened for the nth time to obtain the corrected zero-point analog-to-digital conversion value, and then the real-time analog-to-digital conversion difference between the real-time analog-to-digital conversion value and the corrected zero-point analog-to-digital conversion value is obtained. The real-time analog-to-digital conversion difference is accurate, and thus the accurate corrected weight can be obtained.
[0103] For example, see Figure 5 , Figure 5 : is a second working flow diagram of a controller provided by an embodiment of the present invention, wherein the controller is configured to execute steps S21 to S24:
[0104] S21, determine whether it is in the nth door opening state after the reset operation, if so, proceed to step S22, if not, return to step S21;
[0105] S22, adding the offset value calculated when the door is opened for the nth time and the standard zero-point analog-to-digital conversion value calculated when the door is closed for the nth time to obtain a corrected zero-point analog-to-digital conversion value, and proceeding to step S23;
[0106] S23, obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door-open state, subtract the zero-calibration analog-to-digital conversion value from it, and obtain the real-time analog-to-digital conversion difference, and proceed to step S24;
[0107] S24. Obtain the corrected weight based on the real-time analog-to-digital conversion difference.
[0108] In an optional embodiment, in the n-th door opening state, using the offset value calculated when the door is opened for the n-th time to correct the real-time weight detected by the weighing sensor to obtain the corrected weight includes:
[0109] When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value.
[0110] Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference;
[0111] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0112] It can be understood that in an embodiment of the present invention, the real-time initial difference is corrected by the offset value calculated when the door is opened for the nth time to obtain an accurate real-time analog-to-digital conversion difference. The real-time analog-to-digital conversion difference is accurate, and thus an accurate corrected weight can be obtained.
[0113] For example, see Figure 6 , Figure 6 is a third working flow diagram of a controller provided in an embodiment of the present invention, wherein the controller is configured to execute steps s31 to s34:
[0114] S31, determine whether it is in the nth door opening state after the reset operation, if so, proceed to step S32, if not, return to step S31;
[0115] S32, obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor, subtract the standard zero-point analog-to-digital conversion value calculated for the nth door closing from it, obtain the real-time initial difference, and proceed to step S33;
[0116] S33, adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain the real-time analog-to-digital conversion difference, and proceeding to step S34;
[0117] S34. Obtain the corrected weight based on the real-time analog-to-digital conversion difference.
[0118] Optionally, the preset clearing condition includes at least:
[0119] The door rack is unloaded, the box door is in an open state, and the current door opening time reaches a preset time.
[0120] It can be understood that when the door 101 is in the open state and the opening time reaches the preset time, the temperature of the weighing sensor is stable at room temperature. At this time, the zero-point analog-to-digital conversion value does not offset. Furthermore, in order to obtain the zero-point analog-to-digital conversion value at zero point, the door shelf 102 needs to be empty, that is, no food is placed.
[0121] For example, see Figure 7 , Figure 7 4 is a fourth working flow diagram of a controller provided in an embodiment of the present invention, wherein the controller is configured to execute steps S41 to S44:
[0122] S41, determine whether the door is in the open state, if so, proceed to step S42, if not, return to step S41;
[0123] S42, start timing after the timer is reset, and proceed to step S43;
[0124] S43, determine whether the door opening time reaches the preset time, if so, proceed to step S44, if not, return to step S43;
[0125] S44. When the door shelf is unloaded, the weighing sensor is reset to obtain a standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor.
[0126] In an optional embodiment, the refrigerator further includes:
[0127] A display module, provided on the refrigerator, for displaying the weight of food;
[0128] The controller is also used for:
[0129] The corrected weight is sent to the display module for display.
[0130] It is understandable that after the corrected weight is obtained, it is sent to the display module of the refrigerator for display, so that the user can intuitively view the weight of the food on the door shelf.
[0131] For example, see Figure 8 , Figure 8 5 is a fifth working flow diagram of a controller provided in an embodiment of the present invention, wherein the controller is configured to execute steps s51 to s52:
[0132] S51, obtain the calibration weight, and proceed to step S42;
[0133] S52: Send the corrected weight to the display module for display.
[0134] For example, Figure 9 The weighing sensor and display module provided in the embodiment of the present invention are respectively connected to the controller for interacting with the controller.
[0135] To better understand the embodiments of the present invention, a specific example of the embodiments of the present invention is described below:
[0136] 1. The user opens the refrigerator door and the door shelf is empty. After the door is opened for a preset time, a reset operation is performed to record the standard zero AD value ad0 of the weighing sensor at this time.
[0137] 2. The user puts food into the door shelf, and the refrigerator displays the weight of the food, Mn;
[0138] 3. After placing the food, the user closes the door and obtains the standard AD value adn corresponding to the food weight Mn at this time;
[0139] 4. The weighing sensor is powered off or enters sleep mode;
[0140] 5. When the user opens the door next time, the load cell is powered on again, and the latest AD value adn' corresponding to the food weight Mn is read. (Due to the significant temperature change of the load cell, adn' is not equal to the previous adn. The weight has deviated from the previous weight (Mn). The greater the temperature difference, the greater the deviation.)
[0141] 6. The weighing module compares the latest AD value adn' in step 5 with the standard AD value adn in step 3 and calculates the deviation value: δad = adn'-adn;
[0142] 7. Based on the deviation value δad in step 6, calculate the zero point position of the sensor after zero point drift: ad0'=ad0+δad;
[0143] 8. At this time, adjust the zero point position of the weighing sensor to the calculated ad0=ad0';
[0144] 9. The weight the user sees after opening the door is the weight when the door was closed last time. At the same time, since the zero point has been calibrated, the weighing data is accurate.
[0145] See also Figure 10 , Figure 10 The present invention also provides a flowchart of a weighing method for a refrigerator using a load cell. The refrigerator includes at least a cabinet 100, which has a plurality of storage compartments therein; a cabinet door 101, which is provided at the opening of the storage compartment and is used to open and close the storage compartment; a door shelf 102, which is provided on a side of the cabinet door 101 close to the storage compartment and is used to place food; and a load cell, which is provided on the door shelf 102 and is used to detect the weight of the food on the door shelf 102.
[0146] The refrigerator weighing method using a load cell includes:
[0147] S1. When the door 101 meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor;
[0148] After the clear operation, perform the following steps:
[0149] S2. When the door is closed for the nth time, obtain the standard analog-to-digital conversion value corresponding to the weighing sensor; wherein, if n=1, the analog-to-digital conversion value corresponding to the weighing sensor when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer;
[0150] S3. When the door is opened for the nth time, obtaining the latest analog-to-digital conversion value corresponding to the weighing sensor, and calculating the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value;
[0151] S4. In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain a corrected weight.
[0152] In an embodiment of the present invention, the preset zeroing condition is to ensure that the zero-point analog-to-digital conversion value of the weighing sensor at zero point does not deviate. In this case, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the weighing sensor at zero point. The standard zero-point analog-to-digital conversion value is the zero-point analog-to-digital conversion value when the zero point of the weighing sensor does not deviate.
[0153] Then, each time the door is opened after the zeroing operation, the standard analog-to-digital conversion value corresponding to the weighing sensor when the door was closed before this door opening is obtained. The standard analog-to-digital conversion value refers to the analog-to-digital conversion value corresponding to when the zero point of the weighing sensor is not offset and it detects the weight of the food. In other words, it refers to the analog-to-digital conversion value when the weighing sensor detects the weight of the food when the analog-to-digital conversion value corresponding to the zero point of the weighing sensor is the above-mentioned standard zero point analog-to-digital conversion value.
[0154] Then when the door is closed for the n=1th time, since the zeroing operation has just been completed, when the food is placed and the door is closed, the analog-to-digital conversion value corresponding to the weighing sensor is the standard analog-to-digital conversion value;
[0155] When the door is opened for the first time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and an offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated; specifically, the offset value is obtained by subtracting the standard analog-to-digital conversion value from the latest analog-to-digital conversion value;
[0156] When the door is in the first opening state (from the first door opening to the second door closing), the temperature inside the refrigerator will drop because the refrigerator has been running for a period of time from the first door closing to the first door opening. This will cause the temperature of the weighing sensor on the door shelf 102 to drop, resulting in an offset in the standard zero-point analog-to-digital conversion value, which in turn causes the detected weight value to change. Therefore, the offset value calculated when the door is opened for the first time and the standard zero-point analog-to-digital conversion value calculated when the door is closed for the first time are used to correct the real-time weight detected by the weighing sensor to obtain the corrected weight.
[0157] Next, if the weight of the food needs to be checked with the door open for subsequent times (n≥2), the offset value calculated for the (n-1) door opening is used to obtain the standard analog-to-digital conversion value. At this point, when the food is placed (adding new food, removing food, or keeping food) and the door is closed for the nth time, generally speaking, the time spent placing the food is short, and the temperature of the load cell is still the temperature drop caused by the refrigerator's operation between the last door closing and the last door opening. Therefore, the analog-to-digital conversion value at this time has an offset, which is the offset value calculated for the (n-1) door opening. Therefore, the offset value calculated for the (n-1) door opening is used to obtain the standard analog-to-digital conversion value.
[0158] When the door is in the nth opening state (from the nth opening to the n+1th closing), the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value calculated when the door is closed for the nth time to obtain the corrected weight.
[0159] Therefore, the embodiment of the present invention obtains the latest analog-to-digital conversion value and the standard analog-to-digital conversion value under the same food weight, obtains the deviation value between the two, and finally uses the deviation value to correct the real-time weight detected by the weighing sensor when the door is opened. This can ensure that under the condition of the same food weight, the weight value measured by the weighing sensor when the door is opened this time is the same as the weight value measured by the weighing sensor when the door was opened last time, thereby improving the accuracy of the weighing sensor detection.
[0160] Optionally, if n≥2, the standard analog-to-digital conversion value is obtained by using the offset value calculated when the door is opened for the n-1th time, including:
[0161] If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0162] It can be understood that at this time, when the ingredients are placed (new ingredients, reduced ingredients or kept ingredients) and the door is closed for the nth time, generally speaking, not much time is consumed in placing the ingredients, and the temperature of the weighing sensor is still the drop caused by the operation of the refrigerator from the last door closing to the last door opening. Then the analog-to-digital conversion value obtained at this time is offset, and the offset value between it and the standard analog-to-digital conversion value is the offset value calculated when the door is opened for the n-1th time. Therefore, the analog-to-digital conversion value at this time is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
[0163] Optionally, in the n-th door opening state, using the offset value calculated when the door is opened for the n-th time to correct the real-time weight detected by the weighing sensor to obtain the corrected weight includes:
[0164] In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value;
[0165] Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference;
[0166] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0167] It can be understood that in an embodiment of the present invention, the standard zero-point analog-to-digital conversion value is corrected by the offset value calculated when the door is opened for the nth time to obtain the corrected zero-point analog-to-digital conversion value, and then the real-time analog-to-digital conversion difference between the real-time analog-to-digital conversion value and the corrected zero-point analog-to-digital conversion value is obtained. The real-time analog-to-digital conversion difference is accurate, and thus the accurate corrected weight can be obtained.
[0168] Optionally, in the n-th door opening state, using the offset value calculated when the door is opened for the n-th time to correct the real-time weight detected by the weighing sensor to obtain the corrected weight includes:
[0169] When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value.
[0170] Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference;
[0171] The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
[0172] It can be understood that in an embodiment of the present invention, the real-time initial difference is corrected by the offset value calculated when the door is opened for the nth time to obtain an accurate real-time analog-to-digital conversion difference. The real-time analog-to-digital conversion difference is accurate, and thus an accurate corrected weight can be obtained.
[0173] Optionally, the preset clearing condition includes at least:
[0174] The door rack is unloaded, the box door is in an open state, and the current door opening time reaches a preset time.
[0175] It can be understood that when the door 101 is in the open state and the opening time reaches the preset time, the temperature of the weighing sensor is stable at room temperature. At this time, the zero-point analog-to-digital conversion value does not offset. Furthermore, in order to obtain the zero-point analog-to-digital conversion value at zero point, the door shelf 102 needs to be empty, that is, no food is placed.
[0176] Optionally, the refrigerator further comprises: a display module, provided on the refrigerator, for displaying the weight of food;
[0177] The refrigerator weighing sensor weighing method further comprises:
[0178] The corrected weight is sent to the display module for display.
[0179] It is understandable that after the corrected weight is obtained, it is sent to the display module of the refrigerator for display, so that the user can intuitively view the weight of the food on the door shelf.
[0180] An embodiment of the present invention provides a weighing method for a refrigerator load cell. When a door of a refrigerator meets a preset zeroing condition, the load cell is cleared to obtain a standard zero-point analog-to-digital conversion value corresponding to the load cell at zero point. When the door is closed, the standard analog-to-digital conversion value corresponding to the load cell is obtained. Then, when the door is opened, the deviation between the latest analog-to-digital conversion value corresponding to the load cell and the standard analog-to-digital conversion value is calculated. The real-time weight detected by the load cell when the door is opened is corrected using the deviation and the standard zero-point analog-to-digital conversion value. This method can ensure that, under the condition of the same food weight, the weight value measured by the load cell when the door is opened this time is the same as the weight value measured by the load cell when the door was opened last time, thereby improving the accuracy of the load cell detection.
[0181] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A refrigerator, characterized in that: include: The box body has several storage rooms inside; A door is provided at the opening of the storage chamber and is used to open and close the storage chamber; A door shelf, provided on a side of the door close to the storage chamber, for placing food; a weighing sensor, provided on the door shelf, for detecting the weight of food on the door shelf; Controller for: When the box door meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor; After the clear operation, perform the following steps: When the door is closed for the nth time, a standard analog-to-digital conversion value corresponding to the load cell is obtained; wherein, if n=1, the analog-to-digital conversion value corresponding to the load cell when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer; When the door is opened for the nth time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated; In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain the corrected weight.
2. The refrigerator according to claim 1, wherein If n ≥ 2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time, including: If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
3. The refrigerator according to claim 1, wherein The method comprises: in the n-th door opening state, using the offset value calculated when the door is opened for the n-th time to correct the real-time weight detected by the weighing sensor to obtain the corrected weight, including: In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value; Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference; The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
4. The refrigerator according to claim 1, wherein The method comprises: correcting the real-time weight detected by the weighing sensor using the offset value calculated when the door is opened for the nth time to obtain the corrected weight, including: When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value. Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference; The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
5. The refrigerator according to claim 1, wherein The preset clearing conditions at least include: The door rack is unloaded, the box door is in an open state, and the current door opening time reaches a preset time.
6. The refrigerator according to claim 1, wherein The refrigerator further comprises: A display module, provided on the refrigerator, for displaying the weight of food; The controller is also used to: The corrected weight is sent to the display module for display.
7. A refrigerator weighing sensor weighing method, characterized in that: The refrigerator comprises at least a box body, wherein a plurality of storage compartments are provided inside the box body; a box door is provided at an opening of the storage compartment and is used to open and close the storage compartment; a door shelf is provided on a side of the box door close to the storage compartment and is used to place food; a weighing sensor is provided on the door shelf and is used to detect the weight of the food on the door shelf; The refrigerator weighing method using a load cell includes: When the box door meets the preset zeroing condition, the weighing sensor is cleared to obtain the standard zero-point analog-to-digital conversion value corresponding to the zero point of the weighing sensor; After the clear operation, perform the following steps: When the door is closed for the nth time, a standard analog-to-digital conversion value corresponding to the load cell is obtained; wherein, if n=1, the analog-to-digital conversion value corresponding to the load cell when the door is closed for the first time is used as the standard analog-to-digital conversion value; if n≥2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time; n is an integer; When the door is opened for the nth time, the latest analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the offset value between the latest analog-to-digital conversion value and the standard analog-to-digital conversion value is calculated; In the nth door opening state, the real-time weight detected by the weighing sensor is corrected using the offset value calculated when the door is opened for the nth time and the standard zero point analog-to-digital conversion value to obtain the corrected weight.
8. The refrigerator weighing method according to claim 7, wherein: If n ≥ 2, the standard analog-to-digital conversion value is obtained using the offset value calculated when the door is opened for the n-1th time, including: If n≥2, the analog-to-digital conversion value corresponding to the weighing sensor is obtained when the door is closed for the nth time, and the analog-to-digital conversion value is added to the offset value calculated when the door is opened for the n-1th time to obtain the standard analog-to-digital conversion value.
9. The refrigerator weighing method according to claim 7, wherein: The method comprises: correcting the real-time weight detected by the weighing sensor using the offset value calculated when the door is opened for the nth time to obtain the corrected weight, including: In the nth door opening state, the standard zero point analog-to-digital conversion value is corrected using the offset value calculated when the door is opened for the nth time to obtain a corrected zero point analog-to-digital conversion value; Obtain the real-time analog-to-digital conversion value corresponding to the weighing sensor in the n-th door opening state, and subtract the calibration zero point analog-to-digital conversion value from it to obtain the real-time analog-to-digital conversion difference; The corrected weight is obtained according to the real-time analog-to-digital conversion difference.
10. The refrigerator weighing method according to claim 7, wherein: The method comprises: correcting the real-time weight detected by the weighing sensor using the offset value calculated when the door is opened for the nth time to obtain the corrected weight, including: When the door is opened for the nth time, the real-time analog-to-digital conversion value corresponding to the weighing sensor is obtained, and the standard zero-point analog-to-digital conversion value is subtracted from the real-time initial difference value. Adding the real-time initial difference to the offset value calculated when the door is opened for the nth time to obtain a real-time analog-to-digital conversion difference; The corrected weight is obtained according to the real-time analog-to-digital conversion difference.