Oil cup liquid level detection method and device, range hood and storage medium

By installing pressure sensing components on both sides of the oil cup of the range hood, the pressure value and average value are continuously acquired, which solves the problem of inaccurate oil cup level detection and realizes accurate detection of oil cup level and overflow warning.

CN122016000APending Publication Date: 2026-05-12FOSHAN JINGWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FOSHAN JINGWEI TECH CO LTD
Filing Date
2026-02-04
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The visible window of the oil cup in existing range hoods is prone to accumulating grease, making it difficult for users to accurately judge the liquid level and easily causing grease to overflow.

Method used

By installing pressure sensing components on both sides of the oil cup, the pressure value and average value are continuously acquired to determine the total pressure value of the oil cup. Based on the total pressure value, the liquid level is accurately determined, avoiding the inconvenience and error of visual inspection.

Benefits of technology

It enables precise detection of the oil cup level, allowing users to accurately determine whether the oil cup is full and avoid the risk of oil spillage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122016000A_ABST
    Figure CN122016000A_ABST
Patent Text Reader

Abstract

The invention provides an oil cup liquid level detection method and device, a range hood and a storage medium, and the oil cup liquid level detection method comprises the steps: firstly obtaining a first pressure value currently detected by a first pressure sensing assembly and (n + 1) second pressure values sampled in (n + 1) sampling periods, a third pressure value currently detected by the second pressure sensing assembly 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 is determined, and a second average value of the n + 1 fourth pressure values is determined; determining the total pressure value of the 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 converting the total pressure value into the liquid level height of the oil cup; therefore, inconvenience and errors caused by visual inspection are avoided, and a user can accurately know whether the oil cup is full or not.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of kitchen appliance technology, and in particular to a method, device, range hood, and storage medium for detecting the liquid level in an oil cup. Background Technology

[0002] Kitchen appliances are essential in modern kitchens, providing convenience and assistance to users during cooking. The range hood is a crucial component of the kitchen appliance, responsible for removing cooking fumes from the kitchen.

[0003] During use, oil droplets will flow into the oil cup of a range hood. Currently, most traditional oil cups in range hoods are visual oil cups. These visual oil cups simply add a viewing window, and users can only judge the liquid level by observing it manually. After the range hood has been used for a long time, a large amount of oil will accumulate in the visual window of the oil cup, which will reduce its visibility and affect the user's judgment, often resulting in oil overflow. Summary of the Invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0005] Therefore, one objective of this invention is to provide an oil cup level detection method. This method continuously acquires multiple pressure values ​​from two pressure sensing components located on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components. First, it accurately determines the total pressure value of the oil cup. Then, based on the accurate total pressure value, it accurately determines the oil cup level. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, it precisely determines the oil cup level, thereby avoiding the inconvenience and errors of visual inspection and allowing users to accurately know whether the oil cup is full.

[0006] Therefore, a second objective of the present invention is to provide an oil cup level detection device.

[0007] Therefore, a third objective of this invention is to provide a range hood.

[0008] Therefore, a fourth object of the present invention is to provide a computer-readable storage medium.

[0009] To achieve the above objectives, a first aspect of the present invention provides a method for detecting the liquid level in an oil cup, used in a range hood. The range hood includes a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup. The method for detecting the liquid level in the oil cup includes the following steps: acquiring a first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods; acquiring a third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods, where n is an integer greater than or equal to 1; determining a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values; determining a total pressure value of the 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 converting the total pressure value into the liquid level height of the oil cup.

[0010] According to an embodiment of the present invention, the oil cup level detection method first acquires a first pressure value currently detected by a first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods, and acquires a third pressure value currently detected by a second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Then, it determines a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values. Finally, 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, it proceeds to the next step. The average pressure value of the oil cup is determined, and then the total pressure value is converted into the liquid level height of the oil cup. By continuously acquiring multiple pressure values ​​from two pressure sensing components located on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level status of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level status of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0011] In some embodiments, determining the total pressure value of the oil cup based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value includes: determining whether the first pressure sensing component meets a first preset condition based on the n+1 second pressure values, and determining whether the second pressure sensing component meets a second preset condition based on the n+1 fourth pressure values; if the first pressure sensing component meets the first preset condition, and the second pressure sensing component does not meet the second preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value; or, if the first pressure sensing component does not meet the first preset condition... If the first preset condition is met, and the second pressure sensing component is determined to meet the second preset condition, then the sum of the first average value and the third pressure value is taken as the total pressure value; or if the first pressure sensing component is determined not to meet the first preset condition, and the second pressure sensing component is determined not to meet the second preset condition, then 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 determined to meet the first preset condition, and the second pressure sensing component is determined to meet the second preset condition, then the cumulative running time of the range hood is obtained. When the cumulative running time exceeds a preset time threshold, it is determined that the oil cup is full; otherwise, it is determined that the oil cup is not full.

[0012] In some embodiments, determining whether the first pressure sensing component meets the first preset condition based on n+1 second pressure values ​​includes: calculating the slope of the straight line containing the pressure values ​​of the first pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n first slopes; when all n first slopes are less than or equal to a preset threshold, 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.

[0013] In some embodiments, determining whether the second pressure sensing component meets the second preset condition based on n+1 fourth pressure values ​​includes: calculating the slope of the straight line containing the pressure values ​​of the second pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n second slopes; when all n second slopes are less than or equal to a preset threshold, 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.

[0014] In some embodiments, after determining the total pressure value of the oil cup, the method further includes: compensating the total pressure value based on the cumulative running time.

[0015] In some embodiments, compensating the total pressure value based on the cumulative runtime includes: determining the target duration range in which the cumulative runtime falls; determining the target pressure compensation value corresponding to the target duration range, wherein different duration ranges correspond to different pressure compensation values; and compensating the total pressure value based on the pressure compensation value.

[0016] In some embodiments, when the total pressure value is converted into the liquid level height of the oil cup, the process includes: if it is determined that the first pressure sensing component does not meet the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the total pressure value is converted into a corresponding first liquid level height based on a pre-calibrated pressure value and liquid level height mapping relationship, and the first liquid level height is used as the liquid level height of the oil cup; otherwise, the first running time of the range hood from the current time of power-on to the current time, and the second running time of the range hood from the current time of power-on to power-off are obtained; a liquid level compensation value is determined based on the first running time, the second running time, a preset running time threshold, and a preset liquid level full cup alarm threshold; the total pressure value is converted into a corresponding first liquid level height based on a pre-calibrated pressure value and liquid level height mapping relationship, and the sum of the first liquid level height and the liquid level compensation value is used as the liquid level height of the oil cup.

[0017] To achieve the above objectives, a second aspect of the present invention provides an oil cup level detection device for a range hood. The range hood includes a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup. The oil cup level detection device includes: an acquisition module, configured to acquire a first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods, and to acquire a third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods, wherein n is an integer greater than or equal to 1; a first determination module, configured to determine a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values; a second determination module, configured to determine a total pressure value of the 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 a conversion module, configured to convert the total pressure value into the oil cup level height.

[0018] The oil cup level detection device according to an embodiment of the present invention is used to implement the oil cup level detection method of the above embodiment of the present invention. First, it acquires a first pressure value currently detected by a first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods. Then, it acquires a third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Next, it determines a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values. Finally, based on the first pressure value, the n+1 second pressure values, the third pressure value, and the n+1 fourth pressure values... The total pressure value of the oil cup is determined by 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. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level state of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level state of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0019] To achieve the above objectives, a third aspect of the present invention provides a range hood, comprising: a range hood body; an oil cup disposed on the range hood body; a first pressure sensing component and a second pressure sensing component, the first pressure sensing component and the second pressure sensing component being correspondingly disposed on both sides of the oil cup; and an oil cup level detection device as described in the above embodiments of the present invention; or, a controller for executing an oil cup level detection method as described in the above embodiments of the present invention.

[0020] A range hood according to an embodiment of the present invention includes a range hood body; an oil cup disposed on the range hood body; a first pressure sensing component and a second pressure sensing component, the first pressure sensing component and the second pressure sensing component being correspondingly disposed on both sides of the oil cup; and a controller, the controller being configured to execute the oil cup level detection method as described in the above embodiment of the present invention, firstly acquiring a first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled over 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 over n+1 sampling periods, then determining a first average value of the n+1 second pressure values, and determining the n+1 fourth pressure values. The second average value is used to determine the total pressure value of the oil cup. Then, based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value, the total pressure value of the oil cup is determined. Finally, the total pressure value is converted into the liquid level height of the oil cup. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is accurately determined first. Then, based on the accurate total pressure value of the oil cup, the liquid level state of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level state of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0021] To achieve the above objectives, a fourth aspect of the present invention provides a computer-readable storage medium storing an oil cup level detection program, which, when executed by a processor, implements the oil cup level detection method as described in the above embodiments of the present invention.

[0022] According to an embodiment of the present invention, a computer-readable storage medium stores an oil cup level detection program. When executed by a processor, the oil cup level detection program implements the oil cup level detection method as described in the above embodiment of the present invention. First, it acquires a first pressure value currently detected by a first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods. Then, it acquires a third pressure value currently detected by a second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Next, it determines a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values. Finally, based on the first pressure value, the n+1 second pressure values, and... The total pressure value of the oil cup is determined by the third pressure value, 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. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level status of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level status of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0023] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0024] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a flowchart of an oil cup level detection method according to an embodiment of the present invention; Figure 2 This is a flowchart of an oil cup level detection method according to another embodiment of the present invention; Figure 3 This is a flowchart of an oil cup level detection method according to another embodiment of the present invention; Figure 4 This is a structural diagram of an oil-absorbing range hood with an oil cup liquid level detection system according to a specific embodiment of the present invention; Figure 5 This is a flowchart of an oil cup level detection method according to a specific embodiment of the present invention; Figure 6 This is a flowchart illustrating how an MCU calculates the pressure value currently borne by the bottom of the oil cup according to a specific embodiment of the present invention; Figure 7This is a flowchart illustrating how an MCU calculates the pressure value currently borne by the bottom of the oil cup according to a specific embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of an oil cup level detection device according to an embodiment of the present invention; Figure 9 A schematic diagram of a range hood according to an embodiment of the present invention; Figure 10 A schematic diagram of the structure of a range hood according to another embodiment of the present invention.

[0025] Figure label: 100-Oil cup level detection device; 110-Acquisition module; 120-First determination module; 130-Second determination module; 140-Conversion module; 200-Range hood; 210-Range hood body; 220-Oil cup; 230-First pressure sensing component; 240-Second pressure sensing component; 250-Controller. Detailed Implementation

[0026] The embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present invention are described in detail below.

[0027] The following is for reference. Figures 1-10 This invention describes an oil cup level detection method, apparatus, range hood, and storage medium according to embodiments of the present invention.

[0028] In one embodiment of the present invention, an oil cup level detection method is provided for a range hood, the range hood including a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup.

[0029] In a specific embodiment, a first pressure sensing component and a second pressure sensing component are respectively provided on both sides of the oil cup, for detecting the pressure on both sides of the oil cup. Specifically, the first pressure sensing component is, for example, a pressure sensor located on the left side of the oil cup, and the second pressure sensing component is, for example, a pressure sensor located on the right side of the oil cup.

[0030] Figure 1 This is a flowchart of an oil cup level detection method according to an embodiment of the present invention, as follows: Figure 1 As shown, the oil cup level detection method includes: Step S1: Obtain the first pressure value currently detected by the first pressure sensing component and the n+1 second pressure values ​​sampled in n+1 sampling periods, and obtain the third pressure value currently detected by the second pressure sensing component and the n+1 fourth pressure values ​​sampled in n+1 sampling periods, where n is an integer greater than or equal to 1.

[0031] In a specific embodiment, the first pressure value currently detected by the first pressure sensing component and the third pressure value currently detected by the second pressure sensing component are acquired simultaneously. Additionally, within n+1 sampling periods, n+1 second pressure values ​​sampled by the first pressure sensing component and n+1 fourth pressure values ​​sampled by the second pressure sensing component are acquired simultaneously. Specifically, n is an integer greater than or equal to 1, for example, 10.

[0032] Specifically, the oil cup level detection method first acquires the first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled in n+1 sampling cycles, and acquires the third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled in n+1 sampling cycles. That is, it continuously acquires multiple pressure values ​​from the two pressure sensing components set on both sides of the oil cup, which facilitates the subsequent determination of the oil cup level state based on the continuously acquired multiple pressure values ​​from both sides.

[0033] Step S2: Determine the first average of the n+1 second pressure values, and determine the second average of the n+1 fourth pressure values.

[0034] Specifically, the oil cup level detection method then determines the first average of n+1 second pressure values ​​and the second average of n+1 fourth pressure values, so as to facilitate the subsequent determination of the oil cup level status based on the first average and / or the second average.

[0035] Step S3: Determine the total pressure value of the oil cup based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value.

[0036] In a specific embodiment, the total pressure value of the oil cup is determined based on a first pressure value, n+1 second pressure values, a third pressure value, n+1 fourth pressure values, a first average value, and a second average value. Specifically, for example, it can be first determined whether the oil cup is tilted to one side and / or whether the pressure sensing component is malfunctioning based on the n+1 second pressure values ​​and n+1 fourth pressure values. Then, based on the tilt condition and / or the malfunction of the pressure sensing component, the total pressure value of the oil cup is determined by combining the first average value and the second average value.

[0037] Specifically, the oil cup level detection method then determines the total pressure value of the oil cup based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value, thereby obtaining an accurate total pressure value of the oil cup, which facilitates the accurate determination of the oil cup level status based on the accurate total pressure value of the oil cup.

[0038] Step S4: Convert the total pressure value into the liquid level height of the oil cup.

[0039] In a specific embodiment, the total pressure value is converted into the liquid level height of the oil cup. Specifically, for example, the liquid level height of the oil cup corresponding to the total pressure value can be determined according to a preset pressure value to liquid level height correspondence table, which can be obtained, for example, through experiments or experience.

[0040] In a specific embodiment, when converting the total pressure value into the liquid level height of the oil cup, the liquid level height can be supplemented according to a pre-calibrated compensation value, which improves accuracy and greatly reduces the probability of misjudgment of the liquid level. Specifically, for example, the target liquid level height corresponding to the total pressure value can be determined first according to a preset pressure value to liquid level height correspondence table, and then the target liquid level height is added to the pre-calibrated compensation value to obtain the liquid level height of the oil cup. The pressure value to liquid level height correspondence table and the compensation value can be obtained, for example, through experiments or experience.

[0041] In a specific embodiment, after converting the total pressure value into the liquid level height of the oil cup, the liquid level height can be displayed in real time or periodically, and an alarm can be triggered when the liquid level in the oil cup reaches a preset alarm height. Specifically, for example, the liquid level height can be displayed through the range hood's built-in display screen or a mobile phone connected to the range hood. The preset alarm height is, for example, 90% of the total height, and the alarm can be triggered through methods such as screen flashing or a buzzer.

[0042] Specifically, this oil cup level detection method converts the total pressure value into the oil cup level height, thereby accurately determining the oil cup level status.

[0043] Specifically, the oil cup level detection method first acquires the first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods, and then acquires the third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Next, it determines the first average value of the n+1 second pressure values ​​and the second average value of the n+1 fourth pressure values. Finally, 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... The total pressure value of the oil cup is determined, and then the total pressure value is converted into the liquid level height of the oil cup. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level state of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level state of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0044] In one embodiment of the present invention, step S3 determines the total pressure value of the oil cup based on a first pressure value, n+1 second pressure values, a third pressure value, n+1 fourth pressure values, a first average value, and a second average value, including: determining whether a first pressure sensing component meets a first preset condition based on n+1 second pressure values, and determining whether a second pressure sensing component meets a second preset condition based on n+1 fourth pressure values; if it is determined that the first pressure sensing component meets the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value; Alternatively, if it is determined that the first pressure sensing component does not meet the first preset condition, and the second pressure sensing component meets the second preset condition, then the sum of the first average value and the third pressure value is taken as the total pressure value; or if it is determined that the first pressure sensing component does not meet the first preset condition, and the second pressure sensing component does not meet the second preset condition, then the sum of the first average value and the second average value is taken as the total pressure value; or if it is determined that the first pressure sensing component meets the first preset condition, and the second pressure sensing component meets the second preset condition, then the cumulative running time of the range hood is obtained, and the liquid level status is determined based on the cumulative running time.

[0045] In a specific embodiment, the first pressure sensing component is judged to meet a first preset condition based on n+1 second pressure values, and the second pressure sensing component is judged to meet a second preset condition based on n+1 fourth pressure values. If the first preset condition is met, the pressure data collected by the first pressure sensing component is considered to have no reference value; if the first preset condition is not met, the pressure data collected by the first pressure sensing component is considered to have reference value. Similarly, if the second preset condition is met, the pressure data collected by the second pressure sensing component is considered to have no reference value; if the second preset condition is not met, the pressure data collected by the second pressure sensing component is considered to have reference value. Specifically, for example, if the errors among the n+1 second pressure values ​​are all small, the first pressure sensing component can be considered to meet the first preset condition; similarly, if the errors among the n+1 fourth pressure values ​​are all small, the second pressure sensing component can be considered to meet the second preset condition.

[0046] In a specific embodiment, when it is determined that the first pressure sensing component meets the first preset condition and the second pressure sensing component does not meet the second preset condition, that is, when it is determined that the pressure data detected by the first pressure sensing component is not meaningful and the pressure data detected by the second pressure sensing component is meaningful, the sum of the second average value and the first pressure value is taken as the total pressure value.

[0047] In a specific embodiment, when it is determined that the first pressure sensing component does not meet the first preset condition and the second pressure sensing component meets the second preset condition, that is, when it is determined that the pressure data detected by the first pressure sensing component has reference significance and the pressure data detected by the second pressure sensing component does not have reference significance, the sum of the first average value and the third pressure value is taken as the total pressure value.

[0048] In a specific embodiment, when it is determined that the first pressure sensing component does not meet the first preset condition and the second pressure sensing component does not meet the second preset condition, that is, when it is determined that the pressure data detected by the first pressure sensing component has reference significance and the pressure data detected by the second pressure sensing component has reference significance, the sum of the first average value and the third pressure value is taken as the total pressure value.

[0049] In a specific embodiment, when it is determined that the first pressure sensing component meets the first preset condition and the second pressure sensing component meets the second preset condition, that is, when it is determined that the pressure data detected by the first pressure sensing component is not meaningful and the pressure data detected by the second pressure sensing component is not meaningful, the cumulative running time of the range hood is obtained, and the liquid level status is determined based on the cumulative running time.

[0050] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, the method determines whether the first pressure sensing component meets the first preset condition based on n+1 second pressure values, and determines whether the second pressure sensing component meets the second preset condition based on n+1 fourth pressure values; if the first pressure sensing component meets the first preset condition and the second pressure sensing component does not meet the second preset condition, the sum of the second average value and the first pressure value is taken as the total pressure value; or, if the first pressure sensing component does not meet the first preset condition and the second pressure sensing component meets the second preset condition, the sum of the first average value and the third pressure value is taken as the total pressure value; or, if the first pressure sensing component does not meet the first preset condition and the second pressure sensing component meets the second preset condition, the sum of the first average value and the third pressure value is taken as the total pressure value; or, if the first pressure sensing component does not meet the first preset condition and the second pressure sensing component does not meet the second preset condition, the sum of the second average value and the third pressure value is taken as the total pressure value. If the sensing component does not 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 it is determined that the first pressure sensing component meets the first preset condition and the second pressure sensing component meets the second preset condition, the cumulative running time of the range hood is obtained, and the liquid level status is determined based on the cumulative running time; thus, under the premise of determining whether the first pressure sensing component meets the first preset condition and whether the second pressure sensing component meets the second preset condition, the accurate total pressure value of the oil cup can be obtained based on the first pressure value and / or the third pressure value and / or the first average value and / or the second average value and / or the cumulative running time of the range hood, which facilitates the accurate determination of the liquid level status of the oil cup based on the accurate total pressure value of the oil cup.

[0051] In one embodiment of the present invention, determining whether the first pressure sensing component meets the first preset condition based on n+1 second pressure values ​​includes: calculating the slope of the straight line containing the pressure values ​​of the first pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n first slopes; when it is determined that all n first slopes are less than or equal to a preset threshold, it is determined that the first pressure sensing component meets the first preset condition; otherwise, it is determined that the first pressure sensing component does not meet the first preset condition.

[0052] In a specific embodiment, the slope of the straight line containing the pressure values ​​at two consecutive sampling times within n+1 sampling periods of the first pressure sensing component is first calculated, resulting in n first slopes. When all n first slopes are less than or equal to a preset threshold, the first pressure sensing component is determined to meet a first preset condition, meaning that the first pressure sensing component detects a small change in the liquid pressure value inside the oil cup within n+1 sampling periods. In this case, the pressure data collected by the first pressure sensing component is considered meaningless. Otherwise, the first pressure sensing component is determined not to meet the first preset condition, meaning that the first pressure sensing component detects a large change in the liquid pressure value inside the oil cup within n+1 sampling periods. In this case, the pressure data collected by the first pressure sensing component is considered meaningful. Specifically, the preset threshold is set as needed, for example, to 0.

[0053] Specifically, according to the oil cup level detection method provided in the embodiment of the present invention, the slope of the straight line containing the pressure values ​​of the first pressure sensing component at two consecutive sampling times within n+1 sampling periods is calculated to obtain n first slopes; when it is determined that all n first slopes are less than or equal to a preset threshold, it is determined that the first pressure sensing component meets the first preset condition; otherwise, it is determined that the first pressure sensing component does not meet the first preset condition. In this way, it is possible to accurately determine whether the first pressure sensing component meets the first preset condition, which facilitates the subsequent determination of how to determine the total pressure value of the oil cup based on whether the first pressure sensing component meets the first preset condition.

[0054] In one embodiment of the present invention, determining whether the second pressure sensing component meets the second preset condition based on n+1 fourth pressure values ​​includes: calculating the slope of the straight line containing the pressure values ​​of the second pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n second slopes; when all n second slopes are determined to be less than or equal to a preset threshold, it is determined that the second pressure sensing component meets the second preset condition; otherwise, it is determined that the second pressure sensing component does not meet the second preset condition.

[0055] In a specific embodiment, the slope of the straight line containing the pressure values ​​at two consecutive sampling times within n+1 sampling periods of the second pressure sensing component is first calculated, resulting in n second slopes. When all n second slopes are less than or equal to a preset threshold, the second pressure sensing component is determined to meet a second preset condition, meaning that the second pressure sensing component detects a small change in the liquid pressure value inside the oil cup within n+1 sampling periods. In this case, the pressure data collected by the second pressure sensing component is considered meaningless. Otherwise, the second pressure sensing component is determined not to meet the second preset condition, meaning that the second pressure sensing component detects a large change in the liquid pressure value inside the oil cup within n+1 sampling periods. In this case, the pressure data collected by the second pressure sensing component is considered meaningful. Specifically, the preset threshold is set as needed, for example, to 0.

[0056] Specifically, according to the oil cup level detection method provided in the embodiment of the present invention, the slope of the straight line containing the pressure values ​​of the second pressure sensing component at two consecutive sampling times within n+1 sampling periods is calculated to obtain n second slopes; when it is determined that all n second slopes are less than or equal to a preset threshold, it is determined that the second pressure sensing component meets the second preset condition; otherwise, it is determined that the second pressure sensing component does not meet the second preset condition. In this way, it is possible to accurately determine whether the second pressure sensing component meets the second preset condition, which facilitates the subsequent determination of how to determine the total pressure value of the oil cup based on whether the second pressure sensing component meets the second preset condition.

[0057] In one embodiment of the present invention, determining the liquid level status based on the cumulative running time includes: when the cumulative running time exceeds a preset time threshold, determining that the oil cup is full; otherwise, determining that the oil cup is not full.

[0058] In a specific embodiment, when the cumulative running time of the range hood exceeds a preset time threshold, the oil cup is determined to be full; otherwise, the oil cup is determined to be insufficient. Specifically, the preset time threshold can be set based on experiments or experience.

[0059] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, when the cumulative running time of the range hood exceeds a preset time threshold, it is determined that the oil cup is full; otherwise, it is determined that the oil cup is not full. In this way, when the oil cup level cannot be determined based on the pressure value, the cumulative running time of the range hood is used to determine whether the oil cup is full, thereby enabling the user to be properly reminded that the oil cup is full after the two pressure sensing components are damaged.

[0060] Figure 2 This is a flowchart of an oil cup level detection method according to another embodiment of the present invention, as follows: Figure 2As shown, in one embodiment of the present invention, after converting the total pressure value into the liquid level height of the oil cup in step S4, the oil cup liquid level detection method further includes: step S5: when the liquid level height of the oil cup exceeds a preset height threshold, it is determined that the oil cup is full.

[0061] In a specific embodiment, after converting the total pressure value into the liquid level height of the oil cup, the oil cup is determined to be full when the liquid level height exceeds a preset height threshold. Specifically, the preset height threshold is, for example, 90% of the total height.

[0062] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, after converting the total pressure value into the oil cup level height, when the oil cup level height exceeds a preset height threshold, it is determined that the oil cup is full; thus, it is possible to determine whether the oil cup is full based on the level height, which facilitates accurate warning to the user.

[0063] Figure 3 This is a flowchart of an oil cup level detection method according to another embodiment of the present invention, as follows: Figure 3 As shown, in one embodiment of the present invention, after determining the total pressure value of the oil cup, step S3 further includes: compensating the total pressure value based on the cumulative running time.

[0064] In specific embodiments, the total pressure value can also be compensated based on the cumulative running time. Specifically, for example, a compensation value corresponding to the cumulative running time can be determined according to a preset compensation rule, and then the total pressure value can be compensated based on the compensation value.

[0065] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, after determining the total pressure value of the oil cup, the total pressure value is also compensated based on the cumulative running time. In this way, the influence of the cumulative running time on the total pressure value is taken into account and compensated, so that the total pressure value of the oil cup can be determined more accurately.

[0066] In one embodiment of the present invention, step S3 compensates the total pressure value based on the cumulative running time, including: determining the target duration range in which the cumulative running time is located; determining the target pressure compensation value corresponding to the target duration range, wherein different duration ranges correspond to different pressure compensation values; and compensating the total pressure value based on the pressure compensation value.

[0067] In a specific embodiment, the target duration range of the cumulative running time is first determined, then the target pressure compensation value corresponding to the target duration range is determined, and finally, the total pressure value is compensated based on the pressure compensation value. Specifically, different duration ranges correspond to different pressure compensation values. For example, if the cumulative running time is between 0 and a first preset duration, it is determined to be in the low target duration range and corresponds to a low target pressure compensation value; if the cumulative running time is between the first preset duration and a second preset duration, it is determined to be in the medium target duration range and corresponds to a medium target pressure compensation value; if the cumulative running time is greater than the second preset duration, it is determined to be in the high target duration range and corresponds to a high target pressure compensation value.

[0068] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, the target time range of the cumulative running time is first determined, and then the target pressure compensation value corresponding to the target time range is determined. Different time ranges correspond to different pressure compensation values. Finally, the total pressure value is compensated based on the pressure compensation value, so that the total pressure value can be compensated based on the cumulative running time, which makes it easier to determine the total pressure value of the oil cup more accurately.

[0069] In one embodiment of the present invention, when step S4 converts the total pressure value into the liquid level height of the oil cup, it includes: if it is determined that the first pressure sensing component does not meet the first preset condition and the second pressure sensing component does not meet the second preset condition, then the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the first liquid level height is used as the liquid level height of the oil cup; otherwise, the first running time of the range hood from the current time of power-on to the current time and the second running time of the range hood from the current time of power-on to power-off are obtained; the liquid level compensation value is determined based on the first running time, the second running time, the preset running time threshold and the preset liquid level full cup alarm threshold; the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the sum of the first liquid level height and the liquid level compensation value is used as the liquid level height of the oil cup.

[0070] In a specific embodiment, when both the first pressure sensing component and the second pressure sensing component simultaneously fail to meet the first preset condition, the total pressure value is converted into a corresponding first liquid level height based on a pre-calibrated mapping relationship between pressure value and liquid level height, and this first liquid level height is used as the liquid level height of the oil cup. Specifically, the pre-calibrated mapping relationship between pressure value and liquid level height is, for example, a correspondence table calibrated based on experiments or experience.

[0071] In a specific embodiment, when both the first pressure sensing component and the second pressure sensing component cannot simultaneously meet the first preset condition and the second preset condition, the following steps are taken: First, the first running time of the range hood from startup to the current moment and the second running time of the range hood from startup to shutdown are acquired. Then, a liquid level compensation value is determined based on the first running time, the second running time, a preset running time threshold, and a preset full-cup alarm threshold. Finally, the total pressure value is converted into the corresponding first liquid level height based on a pre-calibrated pressure value and liquid level height mapping relationship. The sum of the first liquid level height and the liquid level compensation value is taken as the liquid level height of the oil cup. Specifically, the pre-calibrated pressure value and liquid level height mapping relationship is, for example, a correspondence table calibrated based on experiments or experience, and the preset running time threshold and the preset full-cup alarm threshold are, for example, determined based on experiments or experience.

[0072] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, if it is determined that the first pressure sensing component does not meet the first preset condition and the second pressure sensing component does not meet the second preset condition, then the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the first liquid level height is used as the liquid level height of the oil cup; otherwise, the first running time of the range hood from the current time of power-on to the current time and the second running time of the range hood from the current time of power-on to power-off are obtained; the liquid level compensation value is determined based on the first running time, the second running time, the preset running time threshold and the preset liquid level full cup alarm threshold; the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the sum of the first liquid level height and the liquid level compensation value is used as the liquid level height of the oil cup; thus, when the pressure of the current oil cup is converted into the corresponding liquid level, a certain compensation is made according to the usage time of the oil cup, which not only improves the accuracy, but also greatly reduces the probability of misjudgment of the liquid level.

[0073] In one embodiment of the present invention, the first pressure sensing component includes at least one pressure sensor, and the second pressure sensing component includes at least one pressure sensor.

[0074] In a specific embodiment, a first pressure sensing component and a second pressure sensing component are respectively provided on both sides of the oil cup, for detecting the pressure on both sides of the oil cup. The first pressure sensing component includes at least one pressure sensor, and the second pressure sensing component includes at least one pressure sensor. Specifically, the first pressure sensing component may include, for example, multiple pressure sensors respectively disposed on the upper, middle, and lower parts of the left side of the oil cup, and the second pressure sensing component may include, for example, multiple pressure sensors respectively disposed on the upper, middle, and lower parts of the right side of the oil cup.

[0075] Specifically, according to the oil cup level detection method provided in the embodiments of the present invention, the first pressure sensing component includes at least one pressure sensor, and the second pressure sensing component includes at least one pressure sensor, thereby enabling more accurate detection of the pressure in the oil cup.

[0076] The oil cup level detection method of the present invention described above in conjunction with specific embodiments is described below. In this specific embodiment, an oil cup level detection method and an oil cup level detection system are provided, and the oil cup level detection method is implemented by the oil cup level detection system.

[0077] Figure 4 This is a structural diagram of a range hood with an oil cup liquid level detection system according to a specific embodiment of the present invention, as shown below. Figure 4 As shown in this specific embodiment, the range hood with oil cup level detection system includes a range hood body (not shown in the figure), a pressure sensor, a display screen, an oil cup level detection system, and a controller. Specifically, the range hood body includes a housing, a fan, and other components; the display screen is electrically connected to the controller and displays relevant data according to the button input method, which in this specific embodiment can display the liquid level height; the oil cup level detection system includes a pressure sensor, a display screen, and a control circuit, which is electrically connected to the controller and detects the pressure of the oil in the oil cup on the bottom of the oil cup, wherein two pressure sensors are installed on both sides of the oil cup; the controller is an MCU (Microcontroller Unit), which is electrically connected to an external power supply, converts the pressure signal into an electrical signal, and then converts it into a liquid level height signal according to relevant algorithm logic, which is then displayed on the display screen.

[0078] Figure 5 This is a flowchart of an oil cup level detection method according to a specific embodiment of the present invention, as follows: Figure 5 As shown in this specific embodiment, the oil cup level detection method includes the following steps: S10: Initialization.

[0079] S20: Oil cup not installed or installed incorrectly.

[0080] S30: The screen flashes or a buzzer sounds to indicate to the user that the oil cup is not installed or is not installed correctly.

[0081] S40: Liquid level detection device fault diagnosis (whether communication is normal).

[0082] S50: The screen flashes to display fault codes to alert the user.

[0083] S60: The MCU reads the total running time of the fan up to the current moment. .

[0084] S70: Determine total running time .

[0085] S80: The MCU calculates the pressure value currently borne by the bottom of the oil cup.

[0086] S90: The MCU converts the pressure value into a corresponding liquid level height value (this height value can be a scale value or a percentage value of the full liquid level height, etc.).

[0087] S100: The display screen shows the liquid level value.

[0088] S110: Determine the liquid level .

[0089] S120: Reminds the user that the oil cup is full of oil.

[0090] In this specific embodiment, the control flow of the oil cup level detection method includes: first proceeding to S10; if S20 is true, proceeding to S30, otherwise proceeding to S40; if S40 is true, proceeding to S50, otherwise proceeding to S60; if S70 is true, proceeding to S120, otherwise returning to S60, then proceeding to S80, then S90, then proceeding to S100; if S110 is true, proceeding to S120, otherwise returning to S80.

[0091] Figure 6 This is a flowchart illustrating how an MCU calculates the pressure value currently borne by the bottom of the oil cup according to a specific embodiment of the present invention. Figure 6 As shown in this specific embodiment, step S80, where the MCU calculates the pressure value currently borne by the bottom of the oil cup, includes: S81: Initialization.

[0092] S82: Left pressure sensor records the current pressure value. .

[0093] S83: Right pressure sensor records the current pressure value. .

[0094] S84: Left pressure sensor detection Pressure value per sampling period , , ..., , .

[0095] S85: Right pressure sensor detection Pressure value per sampling period , , ..., , .

[0096] S86: Calculate the left pressure sensor at The slope of the straight line containing the pressure values ​​at two consecutive sampling times within a sampling period ,in The sampling period.

[0097] S87: Judgment .

[0098] S88: Calculate the right pressure sensor at The slope of the straight line containing the pressure values ​​at two consecutive sampling times within a sampling period ,in The sampling period.

[0099] S89: Judgment .

[0100] S810: Calculates the readings detected by the left pressure sensor. Average pressure over one sampling period .

[0101] S811: Calculates the readings detected by the right pressure sensor. Average pressure over one sampling period .

[0102] S812: When satisfied And not satisfied At that time, calculate the pressure exerted by the oil contaminant on the oil cup. .

[0103] S813: When not satisfied And satisfy At that time, calculate the pressure exerted by the oil contaminant on the oil cup. .

[0104] S814: When not satisfied And not satisfied At that time, calculate the pressure exerted by the oil contaminant on the oil cup. .

[0105] Figure 7 This is a flowchart illustrating how an MCU calculates the pressure value currently borne by the bottom of the oil cup according to a specific embodiment of the present invention. Figure 7 As shown, in this specific embodiment, step S90, where the MCU converts the pressure value into a corresponding liquid level height value, includes: S91: Initialization.

[0106] S92: Read the total running time of the fan up to the current moment. .

[0107] S94: Determine the total running time .

[0108] S93: When satisfied At that time, calculate the pressure value corresponding to the current liquid level in the oil cup. .

[0109] S94: Determine the total running time .

[0110] S95: When satisfied At that time, calculate the pressure value corresponding to the current liquid level in the oil cup. .

[0111] S96: Determine the total running time .

[0112] S97: When satisfied At that time, calculate the pressure value corresponding to the current liquid level in the oil cup. .

[0113] S98: Judgment and .

[0114] S99: Read the running time of the range hood from the moment it was turned on to the current moment. .

[0115] S910: Read the runtime from power-on to power-off. .

[0116] S911: Calculate the increase in liquid level from the start of the range hood to the current moment. .

[0117] S912: When satisfied and At that time, the MCU calculates the corresponding oil cup level output value based on the correlation between the current oil cup pressure value and the fan running time. ( It can be a specific liquid level value or a percentage of the full scale of the liquid level.

[0118] S913: When not satisfied simultaneously and At that time, the MCU calculates the corresponding oil cup level output value based on the correlation between the current oil cup pressure value and the fan running time. ( It can be a specific liquid level value or a percentage of the full scale of the liquid level.

[0119] In this specific embodiment, the range hood with oil cup level detection system and the oil cup level detection method have the following advantages compared with the prior art: (1) The oil cup level detection system not only detects the installation of the oil cup, but also adds fault detection of the sensor; (2) The oil cup level detection system consists of a pressure sensor (or a pressure sensor and related circuits), a display screen, and a control circuit, making it simple and reliable; (3) The oil cup level detection system can display the real-time quantitative level of the oil cup of the range hood, providing a certain degree of intuitiveness; (4) The pressure sensor in the oil cup level detection system is applied to the range hood and installed on the left and right sides of the oil cup (not limited to the top or bottom), making the structure simple and easy to implement; (5) The oil cup level detection system uses dual pressure sensors, so when one sensor fails, it can detect the fault of the other sensor. The system uses another sensor to employ a single-sensor detection algorithm and combines the running time of the range hood from the start of the current use to the current moment to estimate the liquid level height, so as to ensure the normal use of this function; (6) When judging whether the sensor is faulty, the oil cup liquid level detection system uses the slope value of the straight line of the two previous use cycles as the trend judgment condition, which effectively reduces the error; (7) The oil cup liquid level detection method adds the fan running time as a judgment condition for the oil cup to be full, which not only improves the accuracy, but also can normally remind the user that the oil cup is full after the two pressure sensors are damaged; (8) The oil cup liquid level detection method makes certain compensation based on the usage time of the oil cup when the pressure of the current oil cup is converted into the corresponding liquid level, which not only improves the accuracy, but also greatly reduces the probability of misjudgment of the liquid level.

[0120] In summary, the oil cup level detection method provided by the embodiments of the present invention first acquires the first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled in n+1 sampling periods, and acquires the third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled in n+1 sampling periods. Then, it determines the first average value of the n+1 second pressure values ​​and the second average value of the n+1 fourth pressure values. Finally, 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 determines the total pressure value of the oil cup, and finally the total pressure value is converted into the liquid level height of the oil cup. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined, and then the liquid level of the oil cup is accurately determined based on the accurate total pressure value. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0121] In one embodiment of the present invention, an oil cup level detection device 100 is also provided for a range hood 200. The range hood 200 includes a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup.

[0122] Figure 8 This is a schematic diagram of an oil cup level detection device according to an embodiment of the present invention. Figure 8 As shown, in one embodiment of the present invention, the oil cup level detection device 100 includes: an acquisition module 110, configured to acquire a first pressure value currently detected by a first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods, and to acquire a third pressure value currently detected by a second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods, wherein n is an integer greater than or equal to 1; a first determination module 120, configured to determine a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values; a second determination module 130, configured to determine the total pressure value of the 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 a conversion module 140, configured to convert the total pressure value into the oil cup level height.

[0123] In one embodiment of the present invention, the second determining module 130 determines the total pressure value of the oil cup based on a first pressure value, n+1 second pressure values, a third pressure value, n+1 fourth pressure values, a first average value, and a second average value, including: determining whether the first pressure sensing component meets a first preset condition based on the n+1 second pressure values, and determining whether the second pressure sensing component meets a second preset condition based on the n+1 fourth pressure values; if it is determined that the first pressure sensing component meets the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value; or, if it is determined that the first pressure value meets the first preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value; or, if it is determined that the first pressure value meets the second preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value. If the force sensing component does not meet the first preset condition, and the second pressure sensing component meets the second preset condition, then the sum of the first average value and the third pressure value is taken as the total pressure value; or if the first pressure sensing component does not meet the first preset condition, and the second pressure sensing component does not meet the second preset condition, then 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 meets the first preset condition, and the second pressure sensing component meets the second preset condition, then the cumulative running time of the range hood is obtained. When the cumulative running time exceeds a preset time threshold, it is determined that the oil cup is full; otherwise, it is determined that the oil cup is not full.

[0124] In one embodiment of the present invention, the second determining module 130 determines whether the first pressure sensing component meets the first preset condition based on n+1 second pressure values, including: calculating the slope of the straight line containing the pressure values ​​of the first pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n first slopes; when it is determined that all n first slopes are less than or equal to a preset threshold, it is determined that the first pressure sensing component meets the first preset condition; otherwise, it is determined that the first pressure sensing component does not meet the first preset condition.

[0125] In one embodiment of the present invention, the second determining module 130 determines whether the second pressure sensing component meets the second preset condition based on n+1 fourth pressure values, including: calculating the slope of the straight line containing the pressure values ​​of the second pressure sensing component at two consecutive sampling times within n+1 sampling periods to obtain n second slopes; when it is determined that all n second slopes are less than or equal to a preset threshold, it is determined that the second pressure sensing component meets the second preset condition; otherwise, it is determined that the second pressure sensing component does not meet the second preset condition.

[0126] In one embodiment of the present invention, the second determining module 130 is further configured to: after determining the total pressure value of the oil cup, compensate the total pressure value based on the cumulative running time.

[0127] In one embodiment of the present invention, the second determining module 130 compensates the total pressure value based on the cumulative running time, including: determining the target duration range in which the cumulative running time is located; determining the target pressure compensation value corresponding to the target duration range, wherein different duration ranges correspond to different pressure compensation values; and compensating the total pressure value based on the pressure compensation value.

[0128] In one embodiment of the present invention, when the conversion module 140 converts the total pressure value into the liquid level height of the oil cup, it includes: if it is determined that the first pressure sensing component does not meet the first preset condition and the second pressure sensing component does not meet the second preset condition, then the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the first liquid level height is used as the liquid level height of the oil cup; otherwise, the first running time of the range hood from the time it is turned on to the current time and the second running time of the range hood from the time it is turned on to the time it is turned off are obtained; a liquid level compensation value is determined based on the first running time, the second running time, a preset running time threshold and a preset liquid level full cup alarm threshold; and the sum of the first liquid level height and the liquid level compensation value is used as the liquid level height of the oil cup.

[0129] It should be noted that the specific implementation of the oil cup level detection device 100 in this embodiment of the invention is similar to the specific implementation of the oil cup level detection method described in the above embodiment of the invention. For details, please refer to the description of the oil cup level detection method section. To reduce redundancy, it will not be repeated here.

[0130] Specifically, the oil cup level detection device 100 according to an embodiment of the present invention is used to implement the oil cup level detection method of the above embodiment of the present invention. First, it acquires the first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods; then, it acquires the third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Next, it determines the first average value of the n+1 second pressure values ​​and the second average value of the n+1 fourth pressure values. Finally, based on the first pressure value, the n+1 second pressure values, the third pressure value, and the n+1 fourth pressure values... The fourth pressure value, the first average value, and the second average value determine the total pressure value of the oil cup. Finally, the total pressure value is converted into the liquid level height of the oil cup. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level state of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level state of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0131] In one embodiment of the present invention, a range hood 200 is also provided.

[0132] Figure 9 This is a structural schematic diagram of a range hood according to an embodiment of the present invention. Figure 9 As shown, in one embodiment of the present invention, the range hood 200 includes: a range hood body 210; an oil cup 220 disposed on the range hood body 210; a first pressure sensing component 230 and a second pressure sensing component 240 disposed on opposite sides of the oil cup 220; and an oil cup liquid level detection device 100 as described in the above embodiment of the present invention.

[0133] Figure 10 This is a structural schematic diagram of a range hood according to another embodiment of the present invention. Figure 10 As shown, in another embodiment of the present invention, the range hood 200 includes: a range hood body 210; an oil cup 220 disposed on the range hood body 210; a first pressure sensing component 230 and a second pressure sensing component 240 disposed on opposite sides of the oil cup 220; and a controller 250 for executing the oil cup level detection method as described in the above embodiment of the present invention.

[0134] It should be noted that the specific implementation method of the range hood 200 in this embodiment of the invention for detecting the oil cup level is similar to the specific implementation method described in the oil cup level detection method of the above embodiment of the invention. For details, please refer to the description of the oil cup level detection method section. In order to reduce redundancy, it will not be repeated here.

[0135] Furthermore, other components and functions of the range hood 200 according to the above embodiments of the present invention are known to those skilled in the art, and will not be described in detail in order to reduce redundancy.

[0136] Specifically, the range hood 200 according to an embodiment of the present invention includes: a range hood body 210; an oil cup 220 disposed on the range hood body 210; a first pressure sensing component 230 and a second pressure sensing component 240, the first pressure sensing component 230 and the second pressure sensing component 240 being correspondingly disposed on both sides of the oil cup 220; and an oil cup liquid level detection device 100 as described in the above embodiment of the present invention; or, a controller 250, the controller 250 being used to execute an oil cup liquid level detection method as described in the above embodiment of the present invention, firstly 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, and then determining n+ The system first averages one second pressure value and determines the second average of n+1 fourth pressure values. Then, based on the first pressure value, n+1 second pressure values, third pressure value, n+1 fourth pressure values, the first average, and the second average, the total pressure value of the oil cup is determined. Finally, the total pressure value is converted into the liquid level height of the oil cup. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level state of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level state of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0137] In one embodiment of the present invention, a computer-readable storage medium is also provided.

[0138] In one embodiment of the present invention, a computer-readable storage medium stores an oil cup level detection program, which, when executed by a processor, implements the oil cup level detection method as described in the above embodiment of the present invention.

[0139] It should be noted that when the computer-readable storage medium of the present invention executes the oil cup level detection program through the processor, its specific implementation is similar to the specific implementation described in the oil cup level detection method of the above embodiments of the present invention. For details, please refer to the description of the oil cup level detection method section. To reduce redundancy, it will not be repeated here.

[0140] Specifically, according to embodiments of the present invention, a computer-readable storage medium stores an oil cup level detection program. When the oil cup level detection program is executed by a processor, it implements the oil cup level detection method as described in the above embodiments of the present invention. First, it acquires a first pressure value currently detected by a first pressure sensing component and n+1 second pressure values ​​sampled over n+1 sampling periods. Then, it acquires a third pressure value currently detected by a second pressure sensing component and n+1 fourth pressure values ​​sampled over n+1 sampling periods. Next, it determines a first average value of the n+1 second pressure values ​​and a second average value of the n+1 fourth pressure values. Finally, based on the first pressure value and the n+1 second pressure values... The total pressure value of the oil cup is determined by the first average value, the third pressure value, 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. In this way, by continuously acquiring multiple pressure values ​​from two pressure sensing components set on both sides of the oil cup, as well as the average pressure value detected by the two pressure sensing components, the total pressure value of the oil cup is first accurately determined. Then, based on the accurate total pressure value of the oil cup, the liquid level status of the oil cup is accurately determined. That is, based on the accurately determined total pressure value and the fixed correspondence between the total pressure value and the liquid level, the liquid level status of the oil cup is accurately determined, thereby avoiding the inconvenience and error of visual inspection, allowing users to accurately know whether the oil cup is full.

[0141] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0142] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A method for detecting the liquid level in an oil cup, characterized in that, For use in a range hood, the range hood includes a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup, and the oil cup liquid level detection method includes the following steps: The first pressure value currently detected by the first pressure sensing component and the n+1 second pressure values ​​sampled in n+1 sampling periods are obtained, and the third pressure value currently detected by the second pressure sensing component and the n+1 fourth pressure values ​​sampled in n+1 sampling periods are obtained, where n is an integer greater than or equal to 1. Determine a first average of n+1 of the second pressure values, and determine a second average of n+1 of the fourth pressure values; The total pressure value of the oil cup is determined based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value. The total pressure value is converted into the liquid level height of the oil cup.

2. The oil cup level detection method according to claim 1, characterized in that, The step of determining the total pressure value of the oil cup based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value includes: Based on n+1 of the second pressure values, it is determined whether the first pressure sensing component meets the first preset condition, and based on n+1 of the fourth pressure values, it is determined whether the second pressure sensing component meets the second preset condition. If it is determined that the first pressure sensing component meets the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the sum of the second average value and the first pressure value is taken as the total pressure value; or, If it is determined that the first pressure sensing component does not meet the first preset condition, and it is determined that the second pressure sensing component meets the second preset condition, then the sum of the first average value and the third pressure value is taken as the total pressure value; or If it is determined that the first pressure sensing component does not meet the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the sum of the first average value and the second average value is taken as the total pressure value; or, If it is determined that the first pressure sensing component meets the first preset condition and the second pressure sensing component meets the second preset condition, then the cumulative running time of the range hood is obtained. When the cumulative running time exceeds a preset time threshold, it is determined that the oil cup is full; otherwise, it is determined that the oil cup is not full.

3. The oil cup level detection method according to claim 2, characterized in that, The step of determining whether the first pressure sensing component meets the first preset condition based on n+1 of the second pressure values ​​includes: Calculate the slope of the straight line containing the pressure values ​​at two consecutive sampling times within n+1 sampling periods of the first pressure sensing component to obtain n first slopes; When all n of the first slopes are less than or equal to a preset threshold, the first pressure sensing component is determined to meet the first preset condition; otherwise, the first pressure sensing component is determined not to meet the first preset condition.

4. The oil cup level detection method according to claim 2, characterized in that, The step of determining whether the second pressure sensing component meets the second preset condition based on n+1 of the fourth pressure values ​​includes: Calculate the slope of the straight line containing the pressure values ​​at two consecutive sampling times within n+1 sampling periods of the second pressure sensing component, and obtain n second slopes; When all n of the second slopes are less than or equal to a preset threshold, the second pressure sensing component is determined to meet the second preset condition; otherwise, the second pressure sensing component is determined not to meet the second preset condition.

5. The oil cup level detection method according to claim 2, characterized in that, After determining the total pressure value of the oil cup, the process also includes: The total pressure value is compensated based on the cumulative running time.

6. The oil cup level detection method according to claim 5, characterized in that, The compensation of the total pressure value based on the cumulative runtime includes: Determine the target duration range within which the cumulative runtime falls; Determine the target pressure compensation value corresponding to the target duration range, wherein different duration ranges correspond to different pressure compensation values; The total pressure value is compensated based on the pressure compensation value.

7. The oil cup level detection method according to claim 2, characterized in that, When the total pressure value is converted into the liquid level height of the oil cup, it includes: If it is determined that the first pressure sensing component does not meet the first preset condition, and it is determined that the second pressure sensing component does not meet the second preset condition, then the total pressure value is converted into the corresponding first liquid level height based on the pre-calibrated pressure value and liquid level height mapping relationship, and the first liquid level height is used as the liquid level height of the oil cup. Otherwise, obtain the first running time of the range hood from the moment it is turned on to the current moment, and the second running time of the range hood from the moment it is turned on to the moment it is turned off; The liquid level compensation value is determined based on the first running time, the second running time, the preset running time threshold, and the preset liquid level full cup alarm threshold. Based on the pre-calibrated pressure value and liquid level height mapping relationship, the total pressure value is converted into the corresponding first liquid level height, and the sum of the first liquid level height and the liquid level compensation value is taken as the liquid level height of the oil cup.

8. An oil cup level detection device, characterized in that, For use in a range hood, the range hood includes a first pressure sensing component and a second pressure sensing component disposed on both sides of the oil cup, and the oil cup level detection device includes: The acquisition module is used to acquire the first pressure value currently detected by the first pressure sensing component and n+1 second pressure values ​​sampled in n+1 sampling periods, and to acquire the third pressure value currently detected by the second pressure sensing component and n+1 fourth pressure values ​​sampled in n+1 sampling periods, where n is an integer greater than or equal to 1. The first determining module is used to determine a first average value of n+1 of the second pressure values, and to determine a second average value of n+1 of the fourth pressure values; The second determining module is used to determine the total pressure value of the oil cup based on the first pressure value, n+1 second pressure values, the third pressure value, n+1 fourth pressure values, the first average value, and the second average value; The conversion module is used to convert the total pressure value into the liquid level height of the oil cup.

9. A range hood, characterized in that, include: The range hood itself; An oil cup is provided on the main body of the range hood; A first pressure sensing component and a second pressure sensing component are respectively disposed on both sides of the oil cup; and, The oil cup level detection device as described in claim 8; or, A controller for performing the oil cup level detection method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an oil cup level detection program, which, when executed by a processor, implements the oil cup level detection method as described in any one of claims 1-7.