CN-122015999-A - Method and device for detecting liquid level of oil cup of tobacco machine, tobacco machine and storage medium
Abstract
The invention provides a method, a device, a smoke machine and a storage medium for detecting the liquid level of a smoke machine oil cup, which firstly acquire n first pressure values sampled by a first pressure sensing component in n sampling periods and n second pressure values sampled by a second pressure sensing component in n sampling periods, then a first average value of the n first pressure values is determined, and a second average value of the n second pressure values is determined, then a total pressure value of the oil cup is determined based on the n first pressure values, the n second pressure values, the first average value and the second average value, and finally the total pressure value is converted into the liquid level height of the oil cup. Therefore, the total pressure value of the oil cup is accurately determined firstly through continuously acquiring the pressure values and the average pressure values of the two pressure sensing assemblies arranged on the two sides of the oil cup, and then the liquid level state of the oil cup is accurately determined, so that inconvenience and errors in visual inspection are avoided, and a user can accurately know whether the oil cup is full.
Inventors
- LIANG BIAOHUA
- WU XIAOZE
- XU ZHIFENG
Assignees
- 佛山净微科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260204
Claims (10)
- 1. The utility model provides a tobacco machine oil cup liquid level detection method which characterized in that, the tobacco machine includes setting up first pressure sensing component and the second pressure sensing component of oil cup both sides, the method includes: acquiring n first pressure values sampled by the first pressure sensing component in n sampling periods and n second pressure values sampled by the second pressure sensing component in n sampling periods, wherein n is an integer greater than or equal to 2; Determining a first average of n said first pressure values and a second average of n said second pressure values; Determining a total pressure value of the oil cup based on the n first pressure values, the n second 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 method of claim 1, wherein the determining the total pressure value of the oil cup based on the n first pressure values, the n second pressure values, the first average value, and the second average value comprises: Judging whether the first pressure sensing component meets a first preset condition or not based on the n first pressure values, and judging whether the second pressure sensing component meets a second preset condition or not based on the n second pressure values; If the first pressure sensing component is judged to meet the first preset condition and the second pressure sensing component is judged to not meet the second preset condition, taking twice of the second average value as the total pressure value; 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 twice of the first average value as the total pressure value; 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, taking the sum of the first average value and the second average value as the total pressure value; 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 smoke machine is obtained, and the liquid level state is judged based on the accumulated operation duration.
- 3. The method of claim 2, wherein the determining whether the first pressure sensing assembly meets a first preset condition based on the n first pressure values comprises: respectively calculating first pressure difference values between two adjacent first pressure values in the n first pressure values to obtain n-1 first pressure difference values; When the n-1 first pressure difference values are equal and are all in a first preset pressure range, 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 meets a second preset condition based on the n second pressure values comprises: Respectively calculating second pressure difference values between two adjacent second pressure values in the n second pressure values to obtain n-1 second pressure difference values; When the n-1 second pressure difference values are equal and are all in the first preset pressure range, 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 method of claim 2, wherein the determining the liquid level state based on the accumulated operating time period comprises: And when the accumulated operation duration exceeds a preset time threshold, judging that the liquid level of the oil cup is full, otherwise, judging that the liquid level of the oil cup is not full.
- 6. The method of any one of claims 1-5, further comprising, after converting the total pressure value to a liquid level height of the oil cup: And when the liquid level of the oil cup exceeds a preset height threshold, judging that the liquid level of the oil cup is full.
- 7. The method of claim 1, wherein the first pressure sensing assembly comprises at least one pressure sensor and the second pressure sensing assembly comprises at least one pressure sensor.
- 8. The utility model provides a tobacco machine oil cup liquid level detection device, its characterized in that, the tobacco machine is including setting up first pressure sensing subassembly and the second pressure sensing subassembly of oil cup both sides, the device includes: The acquisition module is used for acquiring n first pressure values sampled by the first pressure sensing component in n sampling periods and n second pressure values sampled by the second pressure sensing component in n sampling periods, wherein n is an integer greater than or equal to 2; a first determining module, configured to determine a first average value of n first pressure values and a second average value of n second pressure values; a second determining module configured to determine a total pressure value of the oil cup based on the n first pressure values, the n second 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 smoke machine, comprising: a smoke machine body; the oil cup is arranged on the cigarette machine body; the first pressure sensing component and the second pressure sensing component are correspondingly arranged at two sides of the oil cup, and The tobacco machine oil cup level detecting apparatus of claim 8, or, A controller for performing the method of detecting a tobacco machine oil cup level of any one of claims 1-7.
- 10. A computer readable storage medium, characterized in that a tobacco machine oil cup level detection program is stored on the computer readable storage medium, and when executed by a processor, the tobacco machine oil cup level detection program implements the tobacco machine oil cup level detection method according to any one of claims 1-7.
Description
Method and device for detecting liquid level of oil cup of tobacco machine, tobacco machine and storage medium Technical Field The invention relates to the technical field of kitchen appliances, in particular to a method and a device for detecting the liquid level of a kitchen ventilator oil cup, a kitchen ventilator and a storage medium. Background The kitchen range is an important electrical appliance in the current kitchen, can provide convenience and assistance for cooking of users, and the kitchen range is an important component part of the kitchen range and is used for exhausting oil smoke out of the kitchen. In the range hood, oil drops can flow into the oil cup in the use process, most of traditional oil cups in the range hood are visual oil cups at present, and the visual oil cup is only provided with a visual window, so that the user can observe and judge the height of the liquid level manually, and after the range hood is used for a long time, a large amount of greasy dirt can be gathered in the visual window of the oil cup, the visibility of the visual window can be reduced, the judgment of the user is influenced, and the phenomenon of greasy dirt overflow can occur frequently. 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 a method for detecting a liquid level of a fuel bowl of a kitchen ventilator, which is capable of accurately determining a total pressure value of the fuel bowl by continuously obtaining a plurality of pressure values of two pressure sensing assemblies disposed at both sides of the fuel bowl and an average pressure value detected by the two pressure sensing assemblies, and then accurately determining a liquid level state of the fuel bowl according to the accurate total pressure value of the fuel bowl, that is, accurately determining the liquid level state of the fuel bowl according to the accurate total pressure value and a fixed correspondence between the total pressure value and the liquid level, thereby avoiding inconvenience and error of visual inspection, and enabling a user to accurately know whether the fuel bowl is full. To this end, a second object of the invention is to propose a device for detecting the level of the oil cup of a fume engine. To this end, a third object of the invention is to propose a smoke machine. 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 a method for detecting the liquid level of a tobacco machine oil cup, the tobacco machine comprises a first pressure sensing component and a second pressure sensing component which are arranged on two sides of the oil cup, the method comprises the steps of obtaining n first pressure values of sampling of the first pressure sensing component in n sampling periods and n second pressure values of sampling of the second pressure sensing component in n sampling periods, wherein n is an integer greater than or equal to 2, determining a first average value of the n first pressure values and a second average value of the n second pressure values, determining a total pressure value of the oil cup based on the n first pressure values, the n second 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. According to the method for detecting the liquid level of the oil cup of the smoke machine, n first pressure values of the first pressure sensing component in sampling in n sampling periods and n second pressure values of the second pressure sensing component in sampling in n sampling periods are firstly obtained, then a first average value of the n first pressure values and a second average value of the n second pressure values are determined, then the total pressure value of the oil cup is determined based on the n first pressure values, the n second pressure values, the first average value and the second average value, and finally the total pressure value is converted into the liquid level of the oil cup, so that through continuously obtaining the plurality of pressure values of the two pressure sensing components arranged on two sides of the oil cup and the average pressure values detected by the two pressure sensing components, the total pressure value of the oil cup is accurately determined firstly, then the liquid level state of the oil cup is accurately determined according to the accurate total pressure value of the accurate total pressure value, namely, the fixed corresponding relation between the total pressure value and the liquid level is accurately determined, and the liquid level state of the oil cup is accurately determined, and therefore whether a user can know the oil cup is full or not conveniently. In some embodiments, th