Oil quantity detection method, device, equipment, medium, program product and dish washing machine

By deploying infrared spectral sensors in the dishwasher drain line, monitoring the drainage signals during the pre-wash and main wash stages, obtaining infrared spectral data and calculating the oil content, the convenience and continuity issues of users' daily oil intake detection are solved, and automatic and accurate oil usage monitoring and personalized guidance are achieved.

CN120721671AInactive Publication Date: 2025-09-30GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511196828.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-09-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies are unable to automatically, conveniently, and continuously detect users' daily oil intake, requiring users to perform manual operations, wasting time and energy, and failing to perform continuous monitoring.

Method used

An infrared spectroscopy sensor is deployed in the dishwasher's drain pipe. By monitoring the drainage signals during the pre-wash and main wash stages, infrared spectroscopy data is obtained. Combined with the weighted summation of multiple data points, the grease content in the drainage is calculated and converted into the amount of residual grease after cooking.

Benefits of technology

It realizes automatic detection of oil usage after cooking without manual intervention, improves the accuracy and convenience of detection, and can continuously monitor and provide personalized oil usage guidance to protect user health.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120721671A_ABST
    Figure CN120721671A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of dish-washing machines, and discloses an oil quantity detection method, device and equipment, a medium, a program product and a dish-washing machine, an infrared spectrum sensor is deployed on a drainage pipeline of the dish-washing machine, and the method comprises the steps that after the dish-washing machine triggers a washing function, infrared spectrum data detected by the infrared spectrum sensor are obtained; determining the grease content of drained water in the drainage pipeline according to the infrared spectrum data; and determining the residual grease amount of the user after cooking is finished according to the grease content. The oil quantity detection function can be integrated in the dish-washing machine, oil quantity detection can be automatically completed when a user uses the dish-washing machine to clean kitchen ware every time after cooking, manual intervention is not needed in the whole process, convenience and high efficiency are achieved, time and energy are saved, the daily oil quantity of the user is continuously detected through the dish-washing machine, and the user experience is improved. The oil intake condition of the user can be accurately mastered, so that personalized oil use guidance is provided for the user, and human health is guaranteed to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dishwashers, and in particular to an oil amount detection method, device, equipment, medium, program product and a dishwasher. Background Art

[0002] Cooking oil is an indispensable part of the diet. Moderate intake provides essential fatty acids, promotes the absorption of fat-soluble vitamins, and maintains metabolic balance, fundamental to physiological function. However, long-term excessive intake, due to the high calorie content of oil, can lead to caloric excess, potentially contributing to metabolic syndromes such as obesity, hyperlipidemia, hypertension, and diabetes, negatively impacting human health.

[0003] Currently, there are independent health monitoring devices on the market (such as kitchen scales or oil level sensors) that can measure oil usage, but these devices require manual operation by the user. If measurement is performed for every meal every day, it will waste the user's time and energy, and it is impossible to continuously monitor the user's oil intake. Summary of the Invention

[0004] In view of this, the present invention provides an oil level detection method, device, equipment, medium, program product and dishwasher to solve the problem of being unable to automatically, conveniently and continuously detect the user's daily oil intake.

[0005] In a first aspect, the present invention provides a method for detecting oil level, which is applied to a dishwasher, wherein an infrared spectroscopy sensor is deployed in a drainage pipe of the dishwasher, wherein the dishwasher includes: a pre-wash area and a main wash area, wherein the pre-wash area is connected to a first drainage branch of the drainage pipe, and a first infrared spectroscopy sensor is disposed on an inner wall of the first drainage branch; and the main wash area is connected to a second drainage branch of the drainage pipe, and a second infrared spectroscopy sensor is disposed on an inner wall of the second drainage branch. The method comprises: When the dishwasher triggers the wash function, infrared spectrum data detected by the infrared spectrum sensor is obtained; obtaining the infrared spectrum data detected by the infrared spectrum sensor includes: when a drainage signal from the pre-wash area is monitored, controlling the first infrared spectrum sensor to obtain a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration; when a drainage signal from the main wash area is monitored, controlling the second infrared spectrum sensor to obtain a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration; Determine the grease content of drainage water in the drainage pipe based on infrared spectroscopy data; The fat content determines the amount of residual fat that users will have after cooking.

[0006] The oil level detection method provided by the present invention determines the grease content of the drain water in the dishwasher's drain pipe based on infrared spectral data after the dishwasher's wash function is triggered, and converts this into the amount of residual grease after the user finishes cooking. The present invention integrates the oil level detection function into the dishwasher. Each time the user uses the dishwasher to clean kitchen utensils after cooking, the oil level detection is automatically completed. This entire process requires no human intervention, making it both convenient and efficient, saving time and energy. Furthermore, by continuously monitoring the user's daily oil usage, the dishwasher can accurately monitor the user's oil intake, providing personalized oil usage guidance and, to a certain extent, protecting human health.

[0007] By monitoring the infrared spectral data of the drainage in the pre-wash stage and the drainage in the main wash stage, the present invention can take into account the wastewater containing a large amount of food residue and high oil concentration in the pre-wash stage and the comprehensive wastewater containing detergent and medium oil concentration in the main wash stage, overcome the defect that a single monitoring mode is difficult to adapt to complex water quality fluctuations, and ensure the accuracy of oil detection.

[0008] In an optional embodiment, the grease content of drainage in the drainage pipe is determined based on the first infrared spectral data and the second infrared spectral data, including: obtaining multiple first grease concentrations based on multiple first infrared spectral data, and obtaining multiple second grease concentrations based on multiple second infrared spectral data; determining first oil quantity data based on the multiple first grease concentrations, and determining second oil quantity data based on the multiple second grease concentrations; and performing weighted summation of the first oil quantity data and the second oil quantity data according to a predetermined weight coefficient to obtain the grease content.

[0009] The present invention determines the grease content in drainage based on multiple infrared spectral data, which can effectively reduce the error caused by fluctuations in a single data. The weighted summation solves the problem of misjudgment of grease concentration in traditional single-point monitoring or unified standard measurement, and enhances the differentiated adaptation of grease characteristics in different washing stages.

[0010] In an optional embodiment, the first drainage branch and the second drainage branch of the drainage pipe are connected to the main drainage pipe of the drainage pipe, and the amount of residual grease after the user finishes cooking is determined according to the grease content, including: obtaining the first drainage time of the first drainage branch, the second drainage time of the second drainage branch and the instantaneous water flow rate of the main drainage pipe; determining the total drainage time according to the first drainage time and the second drainage time, and calculating the residual grease amount according to the total drainage time, the instantaneous water flow rate and the grease content.

[0011] The present invention converts the grease content in drainage into the actual oil usage during the user's cooking process, and can integrate the oil amount detection function into the dishwasher. When the user finishes cooking and washes the kitchen utensils, the oil usage of the user's cooking is automatically detected. The entire process does not require manual intervention, which is convenient and efficient and saves time and energy.

[0012] In an optional embodiment, after determining the amount of residual oil after the user finishes cooking based on the oil content, it also includes: sending the residual oil amount to a cloud server, and the cloud server determines whether the user is using oil normally based on the residual oil amount and the benchmark oil usage. If it is determined that the oil usage is normal, a health score is performed based on the residual oil amount and the recommended oil usage, and the health score is fed back to the user. If it is determined that the oil usage is abnormal, an abnormal reminder is fed back to the user.

[0013] The present invention sends the amount of residual grease detected by the dishwasher to a cloud server, which can then continuously monitor and analyze the user's daily cooking oil usage, determine whether the user's current cooking oil usage is normal, and perform a health score on the user's diet, so that the user can understand his or her own oil intake and adjust the amount of cooking oil according to demand.

[0014] In a second aspect, the present invention provides an oil level detection device, which is applied to a dishwasher, wherein an infrared spectrum sensor is deployed in the drainage pipe of the dishwasher, wherein the dishwasher includes: a pre-wash area and a main wash area, wherein the pre-wash area is connected to a first drainage branch of the drainage pipe, and a first infrared spectrum sensor is provided on the inner wall of the first drainage branch; and the main wash area is connected to a second drainage branch of the drainage pipe, and a second infrared spectrum sensor is provided on the inner wall of the second drainage branch. The device includes: A data acquisition module is configured to acquire infrared spectrum data detected by the infrared spectrum sensor when the dishwasher triggers a wash function. Acquiring the infrared spectrum data detected by the infrared spectrum sensor includes: when a drainage signal from the pre-wash area is detected, controlling the first infrared spectrum sensor to acquire a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration; and when a drainage signal from the main wash area is detected, controlling the second infrared spectrum sensor to acquire a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration. A content determination module is used to determine the grease content of drainage water in the drainage pipeline based on infrared spectrum data; The oil level detection module is used to determine the amount of residual oil after the user finishes cooking based on the oil content.

[0015] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the oil quantity detection method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the oil quantity detection method of the first aspect or any corresponding embodiment thereof.

[0017] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the oil quantity detection method of the first aspect or any corresponding embodiment thereof.

[0018] In a sixth aspect, the present invention provides a dishwasher, comprising: the computer device of the third aspect above; an infrared spectroscopy sensor installed on the inner side of the pipe wall of the dishwasher's drainage pipe, for collecting infrared spectroscopy data of drainage in the drainage pipe. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a flow chart of a method for detecting oil level according to an embodiment of the present invention; Figure 2 is a flow chart of another oil level detection method according to an embodiment of the present invention; Figure 3 is a schematic diagram of a specific flow chart of another oil level detection method according to an embodiment of the present invention; Figure 4 is a flow chart of another oil level detection method according to an embodiment of the present invention; Figure 5 is a schematic diagram of an interactive process of another oil level detection method according to an embodiment of the present invention; Figure 6 is a structural block diagram of an oil level detection device according to an embodiment of the present invention; Figure 7 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0022] The present invention is applicable to scenarios where the amount of oil used by a user during cooking is detected. The present invention provides an oil detection method that integrates an oil detection function into a dishwasher to automatically detect the amount of cooking oil based on the drainage after washing.

[0023] According to an embodiment of the present invention, an embodiment of a method for detecting oil quantity is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] In this embodiment, a method for detecting the amount of oil is provided, which can be used in the above-mentioned dishwasher. Figure 1 FIG. 1 is a flow chart of a method for detecting oil level according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101: When the dishwasher triggers the washing function, infrared spectrum data detected by the infrared spectrum sensor is obtained.

[0025] Specifically, in an embodiment of the present invention, if users want to conveniently monitor cooking oil usage on a daily basis, they should choose a dishwasher with an integrated oil level detection function. Normally, a dishwasher cleans kitchenware in a series of stages: pre-wash, main wash, rinse, and dry. The pre-wash stage primarily uses cold or low-temperature water to quickly rinse large food residue and debris from the surface of the dishes. This prevents these impurities from drying and solidifying in subsequent wash cycles, potentially affecting the main wash or clogging the spray system. Furthermore, the dishwasher first drains the pre-wash wastewater (which contains large amounts of food residue and a high grease concentration) into the pre-wash drain. After the pre-wash is complete, the dishwasher enters the main wash stage, where the water is heated (typically to 60-70°C) and detergent is released. Hot water sprayed from the high-pressure spray arms powerfully rinses the dishes, using the high temperature and detergent to break down grease and remove residual stains, achieving a deep clean. Finally, after the main wash, the main wash wastewater (which contains detergent and a moderate grease concentration) is discharged into the main wash drain.

[0026] In some optional embodiments, the pre-wash drainage branch and the main wash drainage branch are two independent branches, which are ultimately connected to the same main drain pipe through a tee or a confluence pipe, and then discharged to the external sewer pipe. In a partitioned dishwasher (such as a pre-wash area, main wash area, and rinse area are independently designed), the wastewater from the pre-wash and main wash stages is usually discharged separately through different sumps and drainage pipes. For example: Pre-wash drainage branch: connected to the pre-wash area sump (such as the first sump), specifically to collect wastewater containing a large amount of food residue and high grease concentration in the pre-wash stage. Main wash drainage branch: connected to the main wash area sump (such as the second sump), to collect comprehensive wastewater containing detergent and medium grease concentration in the main wash stage. The pre-wash stage is designed to flush away large particles of residue and floating oil, while the main wash stage performs deep cleaning. The composition of the wastewater from the two is significantly different, and they need to be treated separately to avoid cross contamination.

[0027] In some optional embodiments, a dishwasher with an integrated oil level detection function is equipped with two infrared spectroscopy sensors, one located downstream of a specific bifurcation point in the dishwasher drain line, but this is not limiting. The first infrared spectroscopy sensor is located on the inner wall of the pre-wash drain branch, 10 cm downstream of the flow direction. This location is designed to capture the initial, oil-rich pre-wash drainage. The second infrared spectroscopy sensor is located on the inner wall of the main wash drain branch, 15 cm downstream of the flow direction. This location is designed to capture the combined drainage from the main wash phase. The spacing between the first and second infrared spectroscopy sensors is optimized, and physical isolation (such as installing a partition or increasing the spacing) is used to reduce cross-radiation interference. Furthermore, the dishwasher is equipped with a microcontroller unit (MCU) as the main controller, which is connected to the first and second infrared sensors. When the dishwasher triggers the wash function, it acquires first infrared spectral data from the pre-wash drain branch during the pre-wash phase and second infrared spectral data from the main wash drain branch during the main wash phase.

[0028] Step S102: determining the grease content of the drainage water in the drainage pipeline according to the infrared spectrum data.

[0029] Specifically, the main component of oils and fats is triglycerides (formed by the esterification of glycerol and fatty acids). These molecules contain numerous characteristic functional groups. These groups absorb energy at specific wavelengths (wavenumbers) when exposed to infrared light, producing unique absorption peaks. The peak position and shape closely match the structure of the oil molecule, thus serving as a "molecular fingerprint" for identifying oils and fats. Even if interfering substances such as food residue and detergents are present in wastewater, the absorption peaks of their functional groups (such as sulfonic acid groups in detergents and carbohydrate hydroxyl groups in residues) do not overlap with the characteristic peaks of oils and fats, or can be separated through algorithms, enabling specific identification of oils and fats.

[0030] In some optional embodiments, the quantitative basis of infrared spectroscopy is the Lambert-Beer law: when a beam of monochromatic infrared light passes through a fat solution, its absorbance ( ) and oil concentration ( ), optical path length ( ), that is:

[0031] in, is the molar absorption coefficient, which is related to the type of oil and infrared wavelength. This embodiment of the present invention, based on the infrared spectrum's specific response to oil functional groups, constructs a combined quantitative model for saturated and unsaturated oils, enabling accurate calculation of the total oil content in washing wastewater. This embodiment of the present invention utilizes infrared spectroscopy technology, operating in the 3-5μm wavelength range (corresponding to the characteristic absorption peak of oils), enabling non-contact, real-time measurement of oil concentration in wastewater.

[0032] Step S103: determining the amount of residual grease after the user finishes cooking based on the grease content.

[0033] Specifically, in embodiments of the present invention, users typically wash dirty dishes in a dishwasher after cooking. Some grease remains on the dishes, and since cooking oil is high, the amount of residual grease also increases. For example, the grease content of wastewater from a deep fryer is significantly higher than that of wastewater from steaming dishes. Therefore, the amount of residual grease on the dishes can indirectly reflect the amount of cooking oil used. The grease content calculated above is the grease content in the dishwasher's wastewater after washing the kitchenware, which corresponds to the grease remaining on the dishes. Based on this, the amount of residual grease used during cooking can be inferred based on the user's daily habits. The amount of residual grease used in cooking can reflect the user's grease intake. By continuously monitoring the residual grease amount during daily cooking, personalized dietary recommendations or reminders can be delivered based on historical monitoring data and information such as the user's registered BMI (Body Mass Index). For example, "This week's grease intake is high; I recommend reducing fried foods."

[0034] The oil level detection method provided by the present invention determines the grease content of the drain water in the dishwasher's drain pipe based on infrared spectral data after the dishwasher's wash function is triggered, and converts this into the amount of residual grease after the user finishes cooking. The present invention integrates the oil level detection function into the dishwasher. Each time the user uses the dishwasher to clean kitchen utensils after cooking, the oil level detection is automatically completed. This entire process requires no human intervention, making it both convenient and efficient, saving time and energy. Furthermore, by continuously monitoring the user's daily oil usage, the dishwasher can accurately monitor the user's oil intake, providing personalized oil usage guidance and, to a certain extent, protecting human health.

[0035] In this embodiment, a method for detecting the amount of oil is provided, which can be used in the above-mentioned dishwasher. Figure 2 FIG. 1 is a flow chart of a method for detecting oil level according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201: When the dishwasher triggers the washing function, infrared spectrum data detected by the infrared spectrum sensor is obtained.

[0036] Specifically, the above step S201 includes: Step S2011: when a drainage signal from the pre-wash area is detected, the first infrared spectrum sensor is controlled to acquire a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration.

[0037] Specifically, in the embodiment of the present invention, after the pre-wash phase is started, the dishwasher uses cold water or low-temperature water to rinse the food residues left on the kitchen utensils, and after the pre-wash is completed, the drain is turned on. Figure 3 As shown, the timing controller (firmware logic) continuously monitors dishwasher control signals. Upon reading the drain valve opening signal or pump start signal corresponding to the pre-wash drain branch, the first timing point is immediately triggered. The first infrared spectrum sensor begins sampling at a frequency of 1 Hz for 5 seconds, obtaining multiple raw first infrared spectrum data. The sampling frequency and duration are provided for example only and are not intended to be limiting. The main controller, upon detecting the opening of the drain valve in the pre-wash drain branch, acquires the multiple first infrared spectrum data collected by the first infrared sensor.

[0038] Step S2012: When the drainage signal of the main wash area is monitored, the second infrared spectrum sensor is controlled to obtain a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration.

[0039] Specifically, in an embodiment of the present invention, after the pre-wash phase is completed, the dishwasher uses hot water and releases detergent to flush the parameters, and after the main wash is completed, the drain is turned on. Figure 3As shown, the timing controller (firmware logic) continuously monitors the dishwasher control signals. When it reads the drain valve opening signal corresponding to the main wash drain branch or reaches a preset delay, it triggers the second timing point. This delay can be 0-5 seconds after startup to avoid initial mixed interference. The second infrared spectrum sensor begins sampling at a 0.5Hz frequency for 10 seconds, generating multiple raw second infrared spectrum data. The sampling frequency and duration are examples only and are not intended to be limiting. After detecting the opening of the drain valve in the main wash drain branch, the main controller acquires the multiple second infrared spectrum data collected by the second infrared sensor. This embodiment of the present invention uses a timing synchronizer (integrated within the timing controller) to precisely synchronize the sampling trigger points of the first and second infrared spectrum sensors with key control signals of the dishwasher wash cycle (such as the water inlet valve open / close signal), ensuring that the temporal positioning deviation of the acquisition points is less than 0.5 seconds.

[0040] Step S202: determining the grease content of the drainage water in the drainage pipeline according to the infrared spectrum data.

[0041] Specifically, the above step S202 includes: In step S2021 , a plurality of first grease concentrations are obtained according to the plurality of first infrared spectrum data, and a plurality of second grease concentrations are obtained according to the plurality of second infrared spectrum data.

[0042] Specifically, in the embodiment of the present invention, the main controller converts each of the original first infrared spectrum data and the second infrared spectrum data into a plurality of standard oil concentration values, which is equivalent to data preprocessing. Among them, the original infrared spectrum data is filtered and the characteristic absorption peak of the oil CH bond (2930 cm -1 、2960 cm -1 、3030 cm -1 ), deduct the background absorption of the solvent (such as tetrachloroethylene), eliminate the interference of suspended particle scattering (corrected by the reference channel), and then use the multivariate linear regression model to calculate the corresponding standard oil concentration value. The calculation formula is as follows:

[0043] in, is the absorbance, and is the calibration factor (determined by standard oil sample), It is the standard oil and fat concentration value, in mg / L or ppm. is the quantitative content of saturated fat, For quantification and interference correction of unsaturated oils and fats.

[0044] Step S2022: determining first oil quantity data based on the plurality of first oil concentrations, and determining second oil quantity data based on the plurality of second oil concentrations.

[0045] Specifically, in the embodiment of the present invention, in order to avoid errors caused by fluctuations in a single data, multiple infrared spectrum data are acquired according to the acquisition frequency and acquisition duration during data acquisition, and then converted into multiple standard oil concentration values. Therefore, the average value or median of the multiple standard oil concentration values ​​is used as a representative value to represent the oil quantity data, that is, the first oil quantity data is determined based on the multiple first oil concentrations in the pre-washing stage. , determine the second oil quantity data based on multiple second oil concentrations in the main wash stage .

[0046] Step S2023: performing weighted summation on the first oil quantity data and the second oil quantity data according to a predetermined weight coefficient to obtain the oil content.

[0047] Specifically, in an embodiment of the present invention, the pre-wash stage flushes away floating oil from the surface of the tableware, and the oil concentration in the wastewater is significantly higher than that in the main wash stage (approximately 2-3 times that of the main wash), making the data more sensitive. Detergent is added in the main wash stage, and the surfactant may wrap the oil to form micelles, causing distortion of the infrared spectrum, while there is no such interference in the pre-wash stage. The pre-wash stage captures free oil (short-term release), and the main wash captures bound oil (bound to food residues). These two stages cover the entire oil release process. If detection is based only on the pre-wash stage, stubborn oil may be ignored; if detection is based only on the main wash stage, it will lead to underestimation due to detergent interference. Therefore, after determining the first oil volume data for the pre-wash stage and the second oil volume data for the main wash stage, the embodiment of the present invention performs a weighted summation of the first oil volume data and the second oil volume data according to a predetermined weight coefficient, and obtains the overall oil mass concentration through oil volume fusion, which is used as the oil content in all wastewater.

[0048] In some optional embodiments, the present invention uses an experimental calibration method to determine the weight coefficients corresponding to the pre-wash stage and the main wash stage: prepare standard tableware with different pollution levels (grease content 0.5g-10g); measure the first oil content data of the pre-wash stage and the second oil content data of the main wash stage respectively; and fit the optimal first weight coefficient through multivariate regression. and the second weight coefficient , so that the first oil quantity data and the second oil quantity data are calculated according to the first weight coefficient and the second weight coefficient The mean square error between the weighted summation fusion value and the actual total oil content is the smallest. ∈[0.6,0.8], thus ensuring that the pre-wash is dominant, the second weight coefficient ∈[0.2,0.4], thereby suppressing main wash noise. This embodiment of the present invention utilizes the physical properties of the initial pre-wash (the first time point) where the grease flushed down has the highest concentration (accounting for over 70% of the total oil discharge) and relatively few interfering substances. This significantly reduces detection complexity and error sources.

[0049] In some optional embodiments, during the operation of the dishwasher, according to the first weight coefficient and the second weight coefficient First oil quantity data for pre-wash stage And the second oil volume data of the main wash stage Perform weighted summation to obtain the overall oil content , the calculation formula is as follows:

[0050] Step S203: Determine the amount of residual grease after cooking based on the grease content. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0051] The oil level detection method provided by the present invention determines the grease content of the drain water in the dishwasher's drain pipe based on infrared spectral data after the dishwasher's wash function is triggered, and converts this into the amount of residual grease after the user finishes cooking. The present invention integrates the oil level detection function into the dishwasher. Each time the user uses the dishwasher to clean kitchen utensils after cooking, the oil level detection is automatically completed. This entire process requires no human intervention, making it both convenient and efficient, saving time and energy. Furthermore, by continuously monitoring the user's daily oil usage, the dishwasher can accurately monitor the user's oil intake, providing personalized oil usage guidance and, to a certain extent, protecting human health.

[0052] In this embodiment, a method for detecting the amount of oil is provided, which can be used in the above-mentioned dishwasher. Figure 4 FIG. 1 is a flow chart of a method for detecting oil level according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps: Step S401: When the dishwasher triggers the washing function, it obtains infrared spectrum data detected by the infrared spectrum sensor. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.

[0053] Step S402: Determine the grease content of the drainage water in the drainage pipe according to the infrared spectrum data. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0054] Step S403: determining the amount of residual grease after the user finishes cooking based on the grease content.

[0055] Specifically, the above step S403 includes: Step S4031: Acquire the first drainage duration of the first drainage branch, the second drainage duration of the second drainage branch, and the instantaneous water flow rate of the main drainage pipeline.

[0056] Specifically, in this embodiment of the present invention, the pre-wash drain branch and the main wash drain branch are ultimately connected to the same main drain pipe via a tee or a confluence pipe, and then discharged to an external sewer. Grease content refers to the amount of grease in the drainage water and therefore needs to be converted to the amount of oil used by the user during cooking. The unit of grease content is mg / L. This embodiment of the present invention obtains the first drain time (min) of the pre-wash drain branch, the second drain time (min) of the main wash drain line, and the instantaneous water flow rate (L / min) of the main drain line.

[0057] Step S4032: determining the total drainage time according to the first drainage time and the second drainage time, and calculating the residual grease amount according to the total drainage time, the instantaneous water flow rate and the grease content.

[0058] Specifically, in the embodiment of the present invention, the first drainage time of the pre-wash stage and the second drainage time of the main wash stage are taken as the total drainage time (min). According to the oil concentration conversion formula, the grease content is converted into the residual grease amount (g) based on the total drainage time (min), the instantaneous water flow rate (L / min) and the grease content (mg / L). The calculation formula is as follows:

[0059] in, is the residual grease amount, is the fat content, is the instantaneous water flow rate, is the total drainage time, and the amount of residual grease It is the total mass of grease removed from the surface of tableware and discharged into the wastewater in a single washing cycle (unit: gram). This value reflects the residual amount of actual grease intake by the user. It can be used to represent the actual amount of oil used by the user during the cooking process (the more actual oil used, the more residual oil). The actual amount of oil used can also be obtained by further reverse calculation (the corresponding relationship between the residual amount of grease and the actual amount of oil used is determined through experiments).

[0060] Step S404, judging whether the user is using oil normally based on the residual oil amount and the benchmark oil usage. If it is determined that the oil usage is normal, a health score is performed based on the residual oil amount and the recommended oil usage, and the health score is fed back to the user. If it is determined that the oil usage is abnormal, an abnormal reminder is fed back to the user.

[0061] Specifically, in an embodiment of the present invention, a data analysis module can be deployed on the dishwasher, or the residual oil amount can be sent to a cloud server for data analysis. Taking the cloud server as an example, a wireless communication module (e.g., a Wi-Fi module) is deployed in the dishwasher to connect to the internet and the cloud server, and communicate with the main controller via a UART interface. The main controller organizes the calculated result (the amount of oil used in this wash, in grams) into structured data (e.g., in JSON format: {"wash_id": "20240501T120000", "oil_amount_g": 15.2}). The wireless communication module then sends the data packet to a pre-defined cloud server.

[0062] In some optional embodiments, such as Figure 5 As shown, the cloud server pushes the data obtained from this test to the user's mobile phone APP, and the APP interface displays it in real time, showing the oil usage value of this wash (for example, "This time the grease discharged: 15.2g"). At the same time, the cloud server records the test results obtained by the dishwasher each time, and displays the cumulative or average oil usage trend of the day / week / month in the form of a bar chart or curve chart. In addition, the residual oil amount and the baseline oil usage are combined to determine whether the user's cooking oil usage is normal. The baseline oil usage can be a percentage of the recommended daily intake or the user's average oil usage. If the oil usage is normal, a "health score" is generated based on the residual oil amount and the recommended oil usage, and based on historical data and information such as the user's registered BMI, personalized dietary recommendations or reminders are pushed, such as "This week's oil intake is high, it is recommended to reduce fried foods."

[0063] In some optional implementations, when guests arrive at a user's home, cooking more or more complex dishes may be necessary, significantly increasing oil usage compared to daily cooking. Including this detection value in historical data can lead to inaccurate data analysis later on. Therefore, in the early stages of dishwasher use, an embodiment of the present invention collects the number of people dining in the user's household through an app and records basic raw data. When the dishwasher detects an abnormal increase in oil usage, it pushes an abnormality alert to the app, asking the user if the number of people dining at the table has increased. The user then provides feedback on the number of people dining at the gathering, which can then be used to correct the current detection data to avoid data anomalies and improve detection accuracy.

[0064] The oil level detection method provided by the present invention determines the grease content of the drain water in the dishwasher's drain pipe based on infrared spectral data after the dishwasher's wash function is triggered, and converts this into the amount of residual grease after the user finishes cooking. The present invention integrates the oil level detection function into the dishwasher. Each time the user uses the dishwasher to clean kitchen utensils after cooking, the oil level detection is automatically completed. This entire process requires no human intervention, making it both convenient and efficient, saving time and energy. Furthermore, by continuously monitoring the user's daily oil usage, the dishwasher can accurately monitor the user's oil intake, providing personalized oil usage guidance and, to a certain extent, protecting human health.

[0065] This embodiment also provides an oil level detection device for implementing the aforementioned embodiments and preferred implementations. Details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. While the devices described in the following embodiments are preferably implemented using software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0066] This embodiment provides an oil level detection device, such as Figure 6 As shown, including: The data acquisition module 601 is used to acquire infrared spectrum data detected by the infrared spectrum sensor when the dishwasher triggers the washing function.

[0067] a content determination module 602 for determining the grease content of the drainage water in the drainage pipeline based on the infrared spectrum data; The oil amount detection module 603 is used to determine the amount of residual oil after the user finishes cooking based on the oil content.

[0068] In some optional implementations, the data acquisition module 601 includes: The first data acquisition unit is used to control the first infrared spectrum sensor to acquire a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration when a drainage signal from the pre-wash area is monitored.

[0069] The second data acquisition unit is configured to control the second infrared spectrum sensor to acquire a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration when a drainage signal of the main wash area is monitored.

[0070] In some optional embodiments, the content determination module 602 includes: The concentration determination unit is used to obtain a plurality of first grease concentrations according to a plurality of first infrared spectrum data, and to obtain a plurality of second grease concentrations according to a plurality of second infrared spectrum data.

[0071] The oil quantity determination unit is configured to determine first oil quantity data based on a plurality of first oil concentrations, and to determine second oil quantity data based on a plurality of second oil concentrations.

[0072] The content determination unit is used to perform weighted summation on the first oil quantity data and the second oil quantity data according to a predetermined weight coefficient to obtain the oil content.

[0073] In some optional embodiments, the oil level detection module 603 includes: The drainage data acquisition unit is used to acquire the first drainage time of the first drainage branch, the second drainage time of the second drainage branch and the instantaneous water flow rate of the main drainage pipeline.

[0074] The residual grease amount determination unit is used to determine the total drainage time according to the first drainage time and the second drainage time, and calculate the residual grease amount according to the total drainage time, the instantaneous water flow rate and the grease content.

[0075] In some optional embodiments, the device also includes: an oil usage analysis module, which is used to determine whether the user is using oil normally based on the residual oil amount and the benchmark oil usage. If it is determined that the oil usage is normal, a health score is performed based on the residual oil amount and the recommended oil usage, and the health score is fed back to the user. If it is determined that the oil usage is abnormal, an abnormal reminder is fed back to the user.

[0076] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0077] The oil level detection device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0078] The embodiment of the present invention also provides a computer device having the above Figure 6 The oil quantity detection device is shown.

[0079] See also Figure 7 , Figure 7 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 7As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0080] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0081] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0082] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0083] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0084] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0085] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0086] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0087] An embodiment of the present invention further provides a dishwasher, comprising: Figure 7 The computer device shown; the infrared spectrum sensor is installed on the inner side of the drain pipe of the dishwasher and is used to collect infrared spectrum data of the drainage in the drain pipe.

[0088] Specifically, in an embodiment of the present invention, the dishwasher's drainage system includes independent pre-wash drain branches, main wash drain branches, and a main drain line, and the pre-wash drain branches and main wash drain branches are connected to the main drain line via a tee or a manifold. A dishwasher with an integrated oil level detection function is equipped with two infrared spectroscopy sensors, each located downstream of a specific bifurcation point in the dishwasher's drain line, but this is not a limitation. The first infrared spectroscopy sensor is located on the inner wall of the pre-wash drain branch, 10 cm downstream of the water flow direction. This location is designed to capture the initial, oil-rich pre-wash drainage. The second infrared spectroscopy sensor is located on the inner wall of the main wash drain branch, 15 cm downstream of the water flow direction. This location is designed to capture the combined drainage from the main wash phase. The spacing between the first and second infrared spectroscopy sensors is optimized, and cross-radiation interference is reduced through physical isolation (such as installing a partition or increasing the spacing).

[0089] In some optional embodiments, Figure 7 The computer device shown serves as the dishwasher's main controller (microcontroller unit (MCU)). The MCU receives infrared spectral data collected by the first and second infrared spectral sensors via I2C (standard data rate). The MCU also has a built-in storage unit for temporarily buffering raw data packets and intermediate processing results. The dishwasher also includes a wireless communication module for internet access and connection to a cloud server. The wireless communication module communicates with the MCU via a UART interface.

[0090] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for detecting oil level, characterized in that: The present invention is applied to a dishwasher, wherein an infrared spectrum sensor is deployed in a drainage pipe of the dishwasher, wherein the dishwasher includes: a pre-wash area and a main wash area, wherein the pre-wash area is connected to a first drainage branch of the drainage pipe, and a first infrared spectrum sensor is provided on the inner side of the pipe wall of the first drainage branch; the main wash area is connected to a second drainage branch of the drainage pipe, and a second infrared spectrum sensor is provided on the inner side of the pipe wall of the second drainage branch; and the method includes: When the dishwasher triggers a wash function, infrared spectrum data detected by the infrared spectrum sensor is obtained; obtaining the infrared spectrum data detected by the infrared spectrum sensor includes: when a drainage signal from the pre-wash area is detected, controlling the first infrared spectrum sensor to obtain a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration; when a drainage signal from the main wash area is detected, controlling the second infrared spectrum sensor to obtain a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration; determining the grease content of the drainage water in the drainage pipe according to the first infrared spectrum data and the second infrared spectrum data; The amount of residual grease after cooking is determined based on the grease content.

2. The method according to claim 1, characterized in that The determining of the grease content of the drainage water in the drainage pipe according to the first infrared spectrum data and the second infrared spectrum data includes: Obtaining a plurality of first oil concentrations according to the plurality of first infrared spectrum data, and obtaining a plurality of second oil concentrations according to the plurality of second infrared spectrum data; determining first oil quantity data based on the plurality of first oil concentrations, and determining second oil quantity data based on the plurality of second oil concentrations; The first oil quantity data and the second oil quantity data are weighted and summed according to a predetermined weight coefficient to obtain the oil content.

3. The method according to claim 1, characterized in that The first drainage branch and the second drainage branch of the drainage pipeline are connected to the main drainage pipeline of the drainage pipeline, The determining of the amount of residual grease after the user finishes cooking according to the grease content includes: Obtaining a first drainage duration of the first drainage branch, a second drainage duration of the second drainage branch, and an instantaneous water flow rate of the main drainage pipeline; A total drainage time is determined according to the first drainage time and the second drainage time, and the residual grease amount is calculated according to the total drainage time, the instantaneous water flow rate, and the grease content.

4. The method according to claim 1, wherein After determining the amount of residual grease after cooking by the user according to the grease content, the method further includes: It is determined whether the user is using oil normally based on the residual oil amount and the benchmark oil usage. If it is determined that the oil usage is normal, a health score is generated based on the residual oil amount and the recommended oil usage, and the health score is fed back to the user. If it is determined that the oil usage is abnormal, an abnormal reminder is fed back to the user.

5. An oil level detection device, characterized in that: Applied to a dishwasher, wherein an infrared spectrum sensor is deployed in the drainage pipe of the dishwasher, wherein the dishwasher includes: a pre-wash area and a main wash area, wherein the pre-wash area is connected to the first drainage branch of the drainage pipe, and a first infrared spectrum sensor is provided on the inner wall of the first drainage branch, and the main wash area is connected to the second drainage branch of the drainage pipe, and a second infrared spectrum sensor is provided on the inner wall of the second drainage branch. The device includes: a data acquisition module, configured to acquire infrared spectrum data detected by the infrared spectrum sensor when the dishwasher triggers a wash function; the acquiring of the infrared spectrum data detected by the infrared spectrum sensor comprising: controlling the first infrared spectrum sensor to acquire a plurality of first infrared spectrum data according to a preset first sampling frequency and a first sampling duration when a drainage signal from the pre-wash zone is detected; and controlling the second infrared spectrum sensor to acquire a plurality of second infrared spectrum data according to a preset second sampling frequency and a second sampling duration when a drainage signal from the main wash zone is detected; a content determination module, configured to determine the grease content of the drainage water in the drainage pipeline based on the infrared spectrum data; The oil quantity detection module is used to determine the amount of residual oil after the user finishes cooking based on the oil content.

6. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the oil quantity detection method according to any one of claims 1 to 4 by executing the computer instructions.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the oil amount detection method according to any one of claims 1 to 4.

8. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the oil amount detection method according to any one of claims 1 to 4.

9. A dishwasher, characterized in that: include: The computer device according to claim 6; The infrared spectrum sensor is installed on the inner side of the drainage pipe of the dishwasher and is used to collect infrared spectrum data of the drainage in the drainage pipe.

Citation Information

Patent Citations

  • Nutrition monitoring system, nutrition monitoring method and bowl-washing machine

    CN105147216A

  • Dish-washing machine and control method thereof

    CN111951927A

  • Dish-washing machine control method and dish-washing machine

    CN116115147A