CN-122016000-A - Oil cup liquid level detection method and device, range hood and storage medium
Abstract
The invention provides an oil cup liquid level detection method, a device, a range hood and a storage medium, wherein the oil cup liquid level detection method firstly obtains a first pressure value currently detected by a first pressure sensing component, n+1 second pressure values sampled in n+1 sampling periods, and obtains a third pressure value currently detected by the second pressure sensing component, n+1 fourth pressure values sampled in n+1 sampling periods, then determines a first average value of the n+1 second pressure values, and a second average value of the n+1 fourth pressure values, then determines a total pressure value of an oil cup based on the first pressure value, the n+1 second pressure values, the third pressure value, the n+1 fourth pressure values, the first average value and the second average value, and finally converts the total pressure value into the liquid level of the oil cup; therefore, inconvenience and error of naked eye checking are avoided, and a user can accurately know whether the oil cup is full.
Inventors
- WU XIAOZE
- LIANG BIAOHUA
- XU ZHIFENG
Assignees
- 佛山净微科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260204
Claims (10)
- 1. The oil cup liquid level detection method is characterized by being used for a range hood, wherein the range hood comprises a first pressure sensing assembly and a second pressure sensing assembly which are arranged on two sides of an oil cup, and the oil cup liquid level detection method comprises the following steps: acquiring a first pressure value currently detected by the first pressure sensing component and n+1 second pressure values sampled in n+1 sampling periods, and acquiring a third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values sampled in n+1 sampling periods, wherein n is an integer greater than or equal to 1; Determining a first average of n+1 of said second pressure values, and determining a second average of n+1 of said fourth pressure values; determining a total pressure value of the oil cup based on the first pressure value, n+1 of the second pressure values, the third pressure value, n+1 of the fourth pressure values, the first average value, and the second average value; And converting the total pressure value into the liquid level height of the oil cup.
- 2. The oil cup level detection method according to claim 1, wherein the determining the total pressure value of the oil cup based on the first pressure value, n+1 of the second pressure values, the third pressure value, n+1 of the fourth pressure values, the first average value, and the second average value includes: Judging whether the first pressure sensing component meets a first preset condition or not based on n+1 second pressure values, and judging whether the second pressure sensing component meets a second preset condition or not based on n+1 fourth pressure values; if the first pressure sensing component is judged to meet the first preset condition and the second pressure sensing component is judged not to meet the second preset condition, taking the sum of the second average value and the first pressure value as the total pressure value, or, If the first pressure sensing component is judged not to meet the first preset condition and the second pressure sensing component is judged to meet the second preset condition, taking the sum of the first average value and the third pressure value as the total pressure value, or If the first pressure sensing component is judged not to meet the first preset condition and the second pressure sensing component is judged not to meet the second preset condition, the sum of the first average value and the second average value is taken as the total pressure value, or, If the first pressure sensing component is judged to meet the first preset condition, and the second pressure sensing component is judged to meet the second preset condition, the accumulated operation duration of the range hood is obtained, when the accumulated operation duration exceeds a preset time threshold, the oil cup liquid level is judged to be full, otherwise, the oil cup liquid level is judged to be not full.
- 3. The method of claim 2, wherein the determining whether the first pressure sensing assembly satisfies a first preset condition based on n+1 of the second pressure values comprises: Calculating the slope of a straight line where the pressure values of the first pressure sensing component at the front and rear sampling moments are located in n+1 sampling periods to obtain n first slopes; and when judging that all n first slopes are smaller than or equal to a preset threshold value, determining that the first pressure sensing component meets the first preset condition, otherwise, determining that the first pressure sensing component does not meet the first preset condition.
- 4. The method of claim 2, wherein determining whether the second pressure sensing assembly satisfies a second preset condition based on n+1 of the fourth pressure values comprises: calculating the slope of a straight line where the pressure values of the second pressure sensing component at the front and rear sampling moments are located in n+1 sampling periods to obtain n second slopes; And when judging that all n second slopes are smaller than or equal to a preset threshold value, determining that the second pressure sensing component meets the second preset condition, otherwise, determining that the second pressure sensing component does not meet the second preset condition.
- 5. The oil cup level detection method according to claim 2, further comprising, after determining the total pressure value of the oil cup: And compensating the total pressure value based on the accumulated operation duration.
- 6. The method of claim 5, wherein compensating the total pressure value based on the accumulated operating time period comprises: Determining a target duration range in which the accumulated operation duration is located; Determining target pressure compensation values corresponding to the target duration ranges, wherein different duration ranges correspond to different pressure compensation values; and compensating the total pressure value based on the pressure compensation value.
- 7. The method for detecting the liquid level of the oil cup according to claim 2, wherein when the total pressure value is converted into the liquid level height of the oil cup, the method comprises the following steps: If the first pressure sensing component is judged to not meet the first preset condition and the second pressure sensing component is judged to not meet the second preset condition, converting the total pressure value into a corresponding first liquid level height based on a pre-calibrated pressure value and liquid level height mapping relation, and taking the first liquid level height as the liquid level height of the oil cup; otherwise, acquiring a first operation time length from the starting up to the current moment of the range hood and a second operation time length from the starting up to the shutdown of the range hood; Determining a liquid level compensation value based on the first operation time length, the second operation time length, a preset operation time length threshold value and a preset liquid level full cup alarm threshold value; And converting the total pressure value into a corresponding first liquid level height based on a pre-calibrated pressure value and liquid level height mapping relation, and taking the sum of the first liquid level height and the liquid level compensation value as the liquid level height of the oil cup.
- 8. The utility model provides an oil cup liquid level detection device, its characterized in that is used for the lampblack absorber, the lampblack absorber is including setting up first pressure sensing subassembly and the second pressure sensing subassembly of oil cup both sides, oil cup liquid level detection device includes: The acquisition module is used for acquiring a first pressure value currently detected by the first pressure sensing component, n+1 second pressure values sampled in n+1 sampling periods and a third pressure value currently detected by the second pressure sensing component, and n+1 fourth pressure values sampled in n+1 sampling periods, wherein n is an integer greater than or equal to 1; a first determining module, configured to determine a first average value of n+1 second pressure values, and determine a second average value of n+1 fourth pressure values; A second determining module configured to determine a total pressure value of the oil cup based on the first pressure value, n+1 of the second pressure values, the third pressure value, n+1 of the fourth pressure values, the first average value, and the second average value; And the conversion module is used for converting the total pressure value into the liquid level height of the oil cup.
- 9. A range hood, comprising: A range hood body; the oil cup is arranged on the range hood body; the first pressure sensing component and the second pressure sensing component are correspondingly arranged at two sides of the oil cup, and The oil cup level detection apparatus of claim 8, or, A controller for performing the oil cup level detection method according to any one of claims 1 to 7.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon an oil cup level detection program, which when executed by a processor, implements the oil cup level detection method according to any one of claims 1-7.
Description
Oil cup liquid level detection method and device, range hood and storage medium Technical Field The invention relates to the technical field of kitchen appliances, in particular to an oil cup liquid level detection method and device, a range hood and a storage medium. Background The kitchen ventilator is an important component of the kitchen ventilator and is used for exhausting the oil smoke out of the kitchen. In the lampblack absorber can flow into the oil cup in the use, the vast majority of traditional oil cup in the lampblack absorber is visual oil cup at present, and this kind of visual oil cup only increases a visual window, can only rely on the manual observation of user to judge the height of liquid level, and after the long-time use of lampblack absorber, oil cup visual window can gather a large amount of greasy dirt, can reduce its visibility, influences user's judgement, often can appear the phenomenon that greasy dirt overflows. Disclosure of Invention The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, an object of the present invention is to provide an oil cup liquid level detection method, which is capable of accurately determining a total pressure value of an oil cup by continuously obtaining a plurality of pressure values of two pressure sensing assemblies disposed at both sides of the oil cup and an average pressure value detected by the two pressure sensing assemblies, and then accurately determining a liquid level state of the oil cup according to the accurate total pressure value of the oil cup, that is, accurately determining the liquid level state of the oil cup according to the accurate total pressure value and a fixed correspondence between the total pressure value and the liquid level, so as to avoid inconvenience and error of visual inspection, and enable a user to accurately know whether the oil cup is full. To this end, a second object of the invention is to propose an oil cup level detection device. Therefore, a third object of the present invention is to provide a range hood. To this end, a fourth object of the present invention is to propose a computer readable storage medium. In order to achieve the aim, an embodiment of the first aspect of the invention provides an oil cup liquid level detection method, which is used for a range hood, and comprises a first pressure sensing component and a second pressure sensing component which are arranged on two sides of an oil cup, wherein the oil cup liquid level detection method comprises the steps of obtaining a first pressure value currently detected by the first pressure sensing component and n+1 second pressure values sampled in n+1 sampling periods, obtaining a third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values sampled in n+1 sampling periods, wherein n is an integer greater than or equal to 1, determining a first average value of n+1 second pressure values and a second average value of n+1 fourth pressure values, and determining the total liquid level of the oil cup to be higher based on the first pressure value, the n+1 second pressure values, the third pressure values, the n+1 fourth pressure values, the first average value and the second average value. According to the oil cup liquid level detection method, a first pressure value detected currently by a first pressure sensing component and n+1 second pressure values sampled in n+1 sampling periods are firstly obtained, a third pressure value detected currently by the second pressure sensing component and n+1 fourth pressure values sampled in n+1 sampling periods are obtained, then a first average value of the n+1 second pressure values and a second average value of the n+1 fourth pressure values are determined, then the total pressure value of the oil cup is determined based on the first pressure value, the n+1 second pressure values, the third pressure value, the n+1 fourth pressure values, the first average value and the second average value, finally the total pressure value is converted into the liquid level height of the oil cup, so that the total pressure value of the oil cup is accurately determined by continuously obtaining a plurality of pressure values of the two pressure sensing components arranged on two sides of the oil cup and the average pressure value detected by the two pressure sensing components, then the total pressure value of the oil cup is accurately determined according to the total pressure value of the oil cup, and the total liquid level state of the oil cup is accurately determined, and whether the total liquid level state of the oil cup is accurately corresponding to the total pressure value of the oil cup is accurately determined, so that an error between the total liquid level state of the oil cup and the oil cup is accurately determined, and the total liquid level state of the oil cup is accurately is not known, and the error