Weighing calibration method and device of cooking equipment, medium and equipment
By obtaining weight data at intervals in the middle of the cooking equipment, calculating the weight difference between container placement and closure, identifying the impact of zero-point drift and weight of closure, the problem of inaccurate food weight measurement caused by zero-point offset of sensor is solved, and the problem of inaccurate food weight measurement is achieved. Accurate measurement of food weight.
Patent Information
- Application Number
- CN202411452640.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-02-18
AI Technical Summary
After the closure of the cooking equipment is closed too hard, the sensor zero point is offset, resulting in the inability to obtain the exact weight of the food in the cooking equipment.
By obtaining weight data at different stage intervals after monitoring container placement and closure closure, the weight difference between the two stages is calculated, the effect of zero point drift caused by external forces and the weight of the closure closure on the measurement, and by placing this Minimize the impact to accurately calculate the actual weight of the food.
It effectively solves the problem of zero point offset of the sensor after closing the device due to excessive force, ensuring the accuracy of food weight measurement.
Smart Images

Figure CN119469356A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of weighing technology, and in particular to a weighing calibration method, device, medium and equipment for cooking equipment. Background Art
[0002] The load cell in the cooking device makes clever use of the elastic deformation properties of the material. When we put the food into the container and then into the cooking device, the elastic material on the sensor will deform, and this deformation will cause the resistance value to change. Through the Wheatstone bridge, we can convert this resistance change into a voltage signal, and the magnitude of the voltage signal is proportional to the measured weight. In this way, the cooking device can accurately tell us the weight of the food.
[0003] However, if the user uses too much force when closing the closure of the cooking device, the elastic material on the sensor may exceed its bearing range and produce irreversible deformation. This deformation will cause the zero point of the sensor to shift, causing deviations in subsequent weighing results and affecting our accurate judgment of the weight of the food. Summary of the invention
[0004] Based on this, it is necessary to provide a weighing calibration method, device, medium and equipment for cooking equipment to solve the problem that the sensor zero point is offset after the closure of the cooking equipment is closed with excessive force, resulting in the inability to obtain the accurate weight of the food in the cooking equipment.
[0005] A weighing calibration method for a cooking device is applied to a cooking device comprising a container and a closure, wherein the container is used to carry food and the closure is used to close the container. The method comprises:
[0006] After detecting a signal that the container is placed, obtaining the weight in the cooking device at intervals to obtain a plurality of first weights;
[0007] After a signal that the closure is closed is detected and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of second weights;
[0008] Calculate the difference between each first weight and each second weight to obtain a plurality of third weights, and use the minimum value of the plurality of third weights as the first change weight; wherein the first change weight is used to indicate the change in the detection weight caused by the zero point drift caused by the external force and the weight of the closure;
[0009] The first weight obtained when the first variable weight is calculated from the multiple first weights is used as the first total weight of the container and the food, and the preset weight of the container is subtracted from the first total weight to obtain the current weight of the food in the cooking device.
[0010] In one embodiment, after the first total weight is subtracted from the preset weight of the container to obtain the current weight of the food in the cooking device, the method further includes:
[0011] Get the current zero weight;
[0012] After detecting a signal that the container is taken out, taking the difference between the first change weight and the preset weight of the closure as the current zero-point change weight;
[0013] The sum of the current zero-point change weight and the current zero-point weight is taken as the updated zero-point weight.
[0014] In one embodiment, after taking the sum of the current zero-point change weight and the zero-point weight as the updated zero-point weight, the method further comprises:
[0015] After the zero-point weight is updated, the weight in the cooking device is obtained at intervals to obtain a plurality of fourth weights;
[0016] After the opening signal and the closing signal of the closure are monitored and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of fifth weights;
[0017] Calculate the difference between each fourth weight and each fifth weight to obtain a plurality of sixth weights, and use the minimum value of the plurality of sixth weights as the second change weight; wherein the second change weight is used to indicate the change amount of the detection weight caused by the zero point drift caused by the external force;
[0018] Among the multiple second weights, the fourth weight calculated when the second changed weight is obtained is used as the second total weight of the container, the food and the closure, and the preset weight of the container and the preset weight of the closure are subtracted from the second total weight to obtain the current weight of the food in the cooking device.
[0019] In one embodiment, after obtaining the current weight of food in the cooking device by subtracting the preset weight of the container and the preset weight of the closure from the second total weight, the method further comprises:
[0020] Get the current zero weight;
[0021] After the signal of the container being taken out is detected, the sum of the second changed weight and the current zero-point weight is used as the updated zero-point weight.
[0022] In one embodiment, the step of obtaining the weight of the cooking device at intervals includes:
[0023] In each time interval of a preset duration, multiple weights in the cooking device are detected with the same sampling frequency and an average value is taken.
[0024] In one embodiment, the method further comprises:
[0025] Within a time interval of a preset duration, if the difference between the maximum weight and the minimum weight among a plurality of weights sampled at equal intervals is less than a preset threshold, it is determined that the weight in the cooking device is stable.
[0026] In one embodiment, the weighing calibration device is applied to a cooking device including a container and a closure, wherein the container is used to hold food and the closure is used to close the container, and the weighing calibration device of the cooking device includes:
[0027] A weighing module, configured to obtain the weight of the cooking device at intervals after detecting a signal that the container is placed, to obtain a plurality of first weights; and to obtain the weight of the cooking device at intervals after detecting a signal that the closure is closed and the weight of the cooking device is stable, to obtain a plurality of second weights;
[0028] A calibration module is used to calculate the difference between each first weight and each second weight to obtain multiple third weights, and use the minimum value of the multiple third weights as the first change weight; wherein the first change weight is used to indicate the change of the detected weight caused by the external force and the closure; the first weight when the first change weight is calculated among the multiple first weights is used as the first total weight of the container and the food; and the preset weight of the container is subtracted from the first total weight to obtain the current weight of the food in the cooking device.
[0029] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the weighing calibration method of the cooking device.
[0030] A cooking device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the weighing calibration method of the cooking device.
[0031] The present invention provides a weighing calibration method, device, medium and equipment for cooking equipment, which obtains weight data at different intervals after monitoring the placement of a container and the closure of a closure, calculates the weight difference between the two stages, and thus identifies the zero point drift caused by external force and the influence of the closure weight on the measurement. Then, by minimizing this influence and eliminating the container weight, the method can accurately calculate the actual weight of the food in the cooking equipment, effectively solving the problem of zero point offset of the sensor after the equipment is closed with excessive force, and ensuring the accuracy of food weight measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] in:
[0034] Figure 1 A flow chart of a weighing calibration method for a cooking device;
[0035] Figure 2 A graph of weight and time in a cooking device;
[0036] Figure 3 A schematic diagram of the structure of a weighing and calibration device for cooking equipment;
[0037] Figure 4 This is a structural block diagram of a cooking device. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0040] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0041] like Figure 1 As shown, Figure 1 The flowchart of the weighing calibration method of a cooking device in one embodiment is applied to a cooking device including a container and a closure, wherein the container is used to carry food and the closure is used to close the container. Optionally, the cooking device can be an electric rice cooker, in which case the corresponding container is a pot, and the corresponding closure is a pot cover. Alternatively, the cooking device can be an electric steamer, in which case the corresponding container is a plurality of steamer layers, and the corresponding closure is a lid. Alternatively, the cooking device can be a kettle, in which case the corresponding container is a kettle body, and the corresponding closure is a kettle cover. Of course, the cooking device can also be other devices with similar structures.
[0042] The steps provided by the weighing calibration method of the cooking device in this embodiment include:
[0043] S101, after detecting a signal that a container is placed, obtaining the weight inside the cooking device at intervals to obtain a plurality of first weights.
[0044] Specifically, a limit switch can be used to detect whether a container is placed: when the container is placed at the specified position, the limit switch is triggered and a signal is generated to notify that the container has been placed. Alternatively, a photoelectric sensor can be used to detect whether a container is placed: when the container is placed, the light is blocked or reflected, and the photoelectric sensor detects the light change and generates a signal to notify that the container has been placed.
[0045] After detecting the signal of the container being placed, the weight in the cooking device can be obtained at intervals. This can be achieved in the following ways:
[0046] Optionally, an internal timer is used to control the measurement frequency of the weighing sensor, and a weight measurement is performed at a certain interval (such as 1 second, 500 milliseconds, etc.). This method is simple to implement and is suitable for most common cooking equipment.
[0047] Optionally, in each time interval of a preset length, multiple weights in the cooking device are detected at the same sampling frequency and an average value is taken, so that a more stable and accurate weight data can be obtained.
[0048] like Figure 2 As shown, Figure 2 is a coordinate graph of the weight and time in the cooking device. After the container is placed, we need to obtain multiple first weights, recorded as array A[P], where P represents the total number of first weights in the array. This is because there are many situations. For example, if the cooking device is a rice cooker, the user may first put the pot into the rice cooker, and then slowly put the rice and water into the pot, corresponding to Figure 2 For example, of course, it is also possible that the user directly puts the pot filled with rice and water into the rice cooker, so this step obtains multiple first weights for subsequent analysis.
[0049] S102, after a signal indicating that the closure member is closed is detected and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of second weights.
[0050] Similarly, a limit switch can be used to detect whether the closure is closed: a limit switch is installed at the closed position of the closure. When the closure is closed, the limit switch is triggered, the circuit is closed, and a closing signal is generated to notify that the closure is closed. Alternatively, a photoelectric sensor can be used to detect whether the closure is closed: a device that emits and receives light beams is installed at the closing position of the closure. When the closure is closed, the light beam is blocked, the receiver cannot detect the light signal, and a closing signal is generated to notify that the closure is closed.
[0051] like Figure 2 As shown, after the closure begins to close, the weight inside the cooking device begins to increase due to the weight of the closure itself and the external force from the user. Then, as the user lets go, the weight inside the cooking device begins to decrease until the user completely lets go. At this time, it is necessary to determine whether the user has completely let go by judging whether the weight inside the cooking device is stable. The judgment method can be:
[0052] Optionally, within a time interval of a preset duration, if the difference between the maximum weight and the minimum weight among a plurality of weights sampled at equal intervals is less than a preset threshold, it is determined that the weight in the cooking device is stable.
[0053] Optionally, a weight data sequence over a period of time is collected, and a standard deviation of the weight data sequence is calculated. If the standard deviation is less than a preset standard deviation threshold, it is determined that the weight in the cooking device is stable.
[0054] After the signal of the closure of the closure is detected and the weight in the cooking device is stable, the weight in the cooking device is detected in the same manner as step S101 to obtain a plurality of second weights, which are recorded as an array B[Q], where Q represents the total number of second weights in the array. It is understandable that if the user uses too much force when closing the closure of the cooking device, causing the sensor to have a zero offset, the second weight reflects the total weight of the container, food and closure after the zero offset.
[0055] S103, calculating the difference between each first weight and each second weight to obtain a plurality of third weights, and taking the minimum value of the plurality of third weights as the first change weight.
[0056] That is to say, for array A[P] and array B[Q], we need to perform the following calculations:
[0057] A[1]-B[1]; A[1]-B[2]; A[1]-B[Q]; ... A[P]-B[Q], and finally multiple third weights are obtained, which are recorded as array C[P*Q], where P*Q represents the total number of third weights in the array. Then the minimum value of these multiple third weights is taken as the first variable weight, recorded as C[pq], 1≤p≤P, 1≤q≤Q, that is, C[pq] is calculated by the pth first weight A[p] in array A[P] and the qth second weight B[q] in array B[Q].
[0058] The first change weight is used to indicate the change in the detection weight caused by the zero drift caused by the external force and the weight of the sealing member. Figure 2 As shown, the maximum value in the first weight actually reflects the total weight of the container and food before the zero point offset, while the second weight reflects the total weight of the container, food and closure after the zero point offset. Therefore, the minimum value in the third weight is used here as the first change weight, which is used to approximately indicate the change in detection weight caused by zero point drift caused by external force and the weight of the closure.
[0059] S104, taking the first weight when the first change weight is calculated from the multiple first weights as the first total weight of the container and the food, and subtracting the preset weight of the container from the first total weight to obtain the current weight of the food in the cooking device.
[0060] That is to say, for the third weight C[pq], the first weight A[p] is used as the first total weight of the container and the food. The first total weight does not include the change in detected weight caused by zero drift. Therefore, by subtracting the preset weight of the container, the current accurate weight of the food can be obtained.
[0061] The weighing calibration method of the cooking device acquires weight data at different intervals after monitoring the placement of the container and the closure of the closure, calculates the weight difference between the two stages, and thus identifies the zero point drift caused by external force and the influence of the closure weight on the measurement. By minimizing this influence and eliminating the container weight, the method can accurately calculate the actual weight of the food in the cooking device, effectively solving the problem of sensor zero point offset after closing the device with excessive force, and ensuring the accuracy of food weight measurement.
[0062] In one specific embodiment, after step S104, the following steps may also be performed:
[0063] A1. Get the current zero weight.
[0064] A2. After detecting the signal of container removal, the difference between the first change weight and the preset weight of the closure is used as the current zero-point change weight.
[0065] Since the first change weight indicates the zero point drift caused by external force and the detection weight change caused by the weight of the closure, the current zero point change weight is obtained after subtracting the preset weight of the closure.
[0066] A3. The sum of the current zero point change weight and the current zero point weight is used as the updated zero point weight.
[0067] The beneficial effect of the above specific embodiment is that the zero weight can be updated after the container is taken out, thereby correcting the zero drift of the sensor caused by external force or the weight of the closure, and further improving the accuracy of weight measurement in the cooking device.
[0068] It is understandable that steps S101-S104 involve the process of how to accurately calculate the weight of food after the closure is closed for the first time. Of course, in actual use, the user may repeatedly open and close the closure to check the cooking status of the food. In this process, the user may still use too much force when closing the closure. For such subsequent situations, in one specific embodiment, after step A3, the following steps may be performed:
[0069] B1. After the zero-point weight is updated, the weight in the cooking device is obtained at intervals to obtain a plurality of fourth weights.
[0070] It is understandable that after the zero point weight is updated, the fourth weight obtained at this time indicates the total weight of the container, food and closure when there is no zero point drift.
[0071] B2. After the opening signal and the closing signal of the closure are monitored and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of fifth weights.
[0072] In a specific implementation scenario, this step is basically the same as step S102 above, the only difference is that it is necessary to monitor the two signals of the closure opening and closing, and the obtained weight is used as the fifth weight, so it will not be repeated.
[0073] B3. Calculate the difference between each fourth weight and each fifth weight to obtain multiple sixth weights, and use the minimum value of the multiple sixth weights as the second changed weight.
[0074] That is to say, if multiple fourth weights are recorded as array D[N1], and multiple fifth weights are recorded as array E[N2], where N1 represents the total number of fourth weights in the array, and N2 represents the total number of fifth weights in the array. Then for array D[N1] and array E[N2], we need to perform the following calculations:
[0075] E[1]-D[1]; E[1]-D[2]; E[1]-D[N1]; ... E[N2]-D[N1], and finally multiple sixth weights are obtained, which are recorded as an array C[N1*N2], where N2*N1 represents the total number of sixth weights in the array. Then the minimum value of these multiple sixth weights is taken as the second variable weight, recorded as C[n1n2], 1≤n1≤N1, 1≤n2≤N2, that is, C[n1n2] is calculated by the sum of the n1th fourth weight D[n1] in the array D[N1] and the n2th fifth weight E[n2] in the array E[N2].
[0076] Here, the second change weight is used to indicate the change in the detected weight caused by the zero drift caused by external force. This is because the fourth weight and the fifth weight both include the weight of the container, food and closure, and the difference in weight is only caused by external force. Therefore, the minimum value of the multiple sixth weights is used as the second change weight to approximately indicate the change in the detected weight caused by the subsequent zero drift caused by external force.
[0077] B4. Calculate the fourth weight when the second change weight is obtained from the multiple fourth weights as the second total weight of the container, food and closure, and subtract the preset weight of the container and the preset weight of the closure from the second total weight to obtain the current weight of the food in the cooking device.
[0078] That is to say, for the sixth weight C[n1n2], the fourth weight D[n1] is used as the second total weight of the container, food and closure. The second total weight does not include the change in detected weight caused by zero point drift. Therefore, by subtracting the preset weight of the container and the preset weight of the closure, the current accurate food weight can be obtained.
[0079] The beneficial effect of the above specific embodiment is that even when the closure is opened and closed multiple times, by updating the zero weight and recalculating the weight difference, it is possible to continuously ensure that the weight of the food measured each time is accurate, thereby avoiding the accumulation of measurement errors caused by repeated operations.
[0080] In one specific embodiment, after step B4, the following steps may also be performed:
[0081] C1. Get the current zero weight.
[0082] C2. After detecting the signal of container removal, the sum of the second changed weight and the current zero-point weight is used as the updated zero-point weight.
[0083] Among them, since the second change weight is directly used to indicate the change in detection weight caused by zero-point drift caused by external force, the updated zero-point weight is directly obtained by summing it with the current zero-point weight.
[0084] The beneficial effect of the above specific embodiment is that it can avoid measurement errors caused by accumulation of zero point offset when the device is used multiple times.
[0085] In one embodiment, Figure 3 As shown, a weighing calibration device for cooking equipment is proposed, the device comprising:
[0086] The weighing module 301 is used to obtain the weight of the cooking device at intervals after detecting a signal that a container is placed, to obtain a plurality of first weights; and to obtain the weight of the cooking device at intervals after detecting a signal that a closure is closed and the weight of the cooking device is stable, to obtain a plurality of second weights;
[0087] The calibration module 302 is used to calculate the difference between each first weight and each second weight to obtain multiple third weights, and use the minimum value of the multiple third weights as the first change weight; wherein the first change weight is used to indicate the change of the detection weight caused by the external force and the closure; the first weight when the first change weight is calculated among the multiple first weights is used as the first total weight of the container and the food; the first total weight is subtracted from the preset weight of the container to obtain the current weight of the food in the cooking device.
[0088] Figure 4 FIG. 2 shows an internal structure diagram of a cooking device in one embodiment. Figure 4 As shown, the cooking device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the cooking device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement the weighing calibration method of the cooking device. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement the weighing calibration method of the cooking device. Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the cooking device to which the scheme of the present application is applied. The specific cooking device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0089] A computer-readable storage medium stores a computer program, which implements the following steps when executed by a processor: after detecting a signal that a container is placed, obtaining the weight in a cooking device at intervals to obtain a plurality of first weights; after detecting a signal that a closure is closed and the weight in the cooking device is stable, obtaining the weight in the cooking device at intervals to obtain a plurality of second weights; calculating the difference between each first weight and each second weight to obtain a plurality of third weights, and taking the minimum value of the plurality of third weights as a first change weight; wherein the first change weight is used to indicate the zero point drift caused by external force and the change in the detected weight caused by the weight of the closure; taking the first weight when the first change weight is calculated from the plurality of first weights as the first total weight of the container and food, and subtracting the preset weight of the container from the first total weight to obtain the current weight of the food in the cooking device.
[0090] A cooking device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: after detecting a signal that a container is placed, obtaining the weight in the cooking device at intervals to obtain a plurality of first weights; after detecting a signal that a closure is closed and the weight in the cooking device is stable, obtaining the weight in the cooking device at intervals to obtain a plurality of second weights; calculating the difference between each first weight and each second weight to obtain a plurality of third weights, and taking the minimum value of the plurality of third weights as a first change weight; wherein the first change weight is used to indicate the zero point drift caused by external force and the change in the detected weight caused by the weight of the closure; taking the first weight when the first change weight is calculated from the plurality of first weights as the first total weight of the container and food, and subtracting the preset weight of the container from the first total weight to obtain the current weight of the food in the cooking device.
[0091] It should be noted that the weighing calibration method, device, equipment and computer-readable storage medium of the above-mentioned cooking equipment belong to a general inventive concept, and the contents of the weighing calibration method, device, equipment and computer-readable storage medium of the cooking equipment in the embodiments are applicable to each other.
[0092] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0093] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A weighing calibration method for a cooking device, characterized in that: Applicable to a cooking device comprising a container and a closure, wherein the container is used to carry food, and the closure is used to close the container, the method comprising: After detecting a signal that the container is placed, obtaining the weight in the cooking device at intervals to obtain a plurality of first weights; After a signal that the closure is closed is detected and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of second weights; Calculate the difference between each first weight and each second weight to obtain a plurality of third weights, and use the minimum value of the plurality of third weights as the first change weight; wherein the first change weight is used to indicate the change in the detection weight caused by the zero point drift caused by the external force and the weight of the closure; The first weight obtained when the first variable weight is calculated from the multiple first weights is used as the first total weight of the container and the food, and the preset weight of the container is subtracted from the first total weight to obtain the current weight of the food in the cooking device.
2. The method according to claim 1, characterized in that After the first total weight is subtracted from the preset weight of the container to obtain the current weight of the food in the cooking device, the method further includes: Get the current zero weight; After detecting a signal that the container is taken out, taking the difference between the first change weight and the preset weight of the closure as the current zero-point change weight; The sum of the current zero-point change weight and the current zero-point weight is taken as the updated zero-point weight.
3. The method according to claim 2, characterized in that After taking the sum of the current zero-point change weight and the zero-point weight as the updated zero-point weight, the method further comprises: After the zero-point weight is updated, the weight in the cooking device is obtained at intervals to obtain a plurality of fourth weights; After the opening signal and the closing signal of the closure are monitored and the weight in the cooking device is stable, the weight in the cooking device is obtained at intervals to obtain a plurality of fifth weights; Calculate the difference between each fourth weight and each fifth weight to obtain a plurality of sixth weights, and use the minimum value of the plurality of sixth weights as the second change weight; wherein the second change weight is used to indicate the change amount of the detection weight caused by the zero point drift caused by the external force; Among the multiple second weights, the fourth weight calculated when the second changed weight is obtained is used as the second total weight of the container, the food and the closure, and the preset weight of the container and the preset weight of the closure are subtracted from the second total weight to obtain the current weight of the food in the cooking device.
4. The method according to claim 3, characterized in that After the second total weight is subtracted from the preset weight of the container and the preset weight of the closure to obtain the current weight of the food in the cooking device, the method further includes: Get the current zero weight; After the signal of the container being taken out is detected, the sum of the second changed weight and the current zero-point weight is taken as the updated zero-point weight.
5. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the weight in the cooking device at intervals includes: In each time interval of a preset duration, multiple weights in the cooking device are detected with the same sampling frequency and an average value is taken.
6. The method according to any one of claims 1 to 4, characterized in that: The method shown also includes: Within a time interval of a preset duration, if the difference between the maximum weight and the minimum weight among a plurality of weights sampled at equal intervals is less than a preset threshold, it is determined that the weight in the cooking device is stable.
7. A weighing and calibration device for cooking equipment, characterized in that: The weighing calibration device is applied to a cooking device including a container and a closure, wherein the container is used to carry food and the closure is used to close the container. The weighing calibration device of the cooking device includes: A weighing module, configured to obtain the weight of the cooking device at intervals after detecting a signal that the container is placed, to obtain a plurality of first weights; and to obtain the weight of the cooking device at intervals after detecting a signal that the closure is closed and the weight of the cooking device is stable, to obtain a plurality of second weights; A calibration module is used to calculate the difference between each first weight and each second weight to obtain multiple third weights, and use the minimum value of the multiple third weights as the first change weight; wherein the first change weight is used to indicate the change of the detected weight caused by the external force and the closure; the first weight when the first change weight is calculated among the multiple first weights is used as the first total weight of the container and the food; and the preset weight of the container is subtracted from the first total weight to obtain the current weight of the food in the cooking device.
8. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 6.
9. A cooking device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.