Oil cup liquid level detection method, device, equipment and storage medium
By detecting the temperature and level of the oil cup, and combining this with the ambient temperature to predict the liquid level height and perform water removal, the problem of oil cup overflow in range hoods has been solved, achieving rapid and accurate overflow prediction and intelligent management.
Patent Information
- Application Number
- CN202310831978.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2043-07-07
AI Technical Summary
Existing range hoods are prone to oil spillage, which can cause machine damage and contamination, and frequent emptying is inconvenient.
By detecting the temperature and level of the oil cup and combining it with the ambient temperature, the liquid level can be predicted, and water removal measures can be taken when there is a risk of overflow, including heating or drainage operations.
Quickly and accurately predict the risk of liquid overflow, reduce the frequency of tipping, reduce the risk of overflow, and improve the intelligence of the range hood and the user experience.
Smart Images

Figure CN117029054B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of range hood technology, and in particular to a method, device, equipment and storage medium for detecting the liquid level in an oil cup. Background Technology
[0002] Range hoods are essential appliances for removing cooking fumes during daily cooking. Due to the variety of cooking scenarios, such as steaming, boiling, frying, and stir-frying, range hoods draw in both oil fumes and water vapor. After being centrifugally separated by an impeller, the oil and water droplets eventually flow into the oil cup below the range hood.
[0003] Currently, most range hoods avoid overflowing oil cups by increasing the frequency of emptying them, which is not only cumbersome but can also lead to oil spills if not emptied in time, potentially damaging the machine or causing pollution. Summary of the Invention
[0004] To address the technical problems of frequent pouring of oil cups and easy oil overflow, this application provides an oil cup level detection method that can solve the above-mentioned technical problems.
[0005] To achieve the above-mentioned objective, this application provides a method for detecting the liquid level in an oil cup, applicable to a range hood, the method comprising:
[0006] If the temperature of the oil cup is detected to be greater than the freezing point of water, the first liquid level height in the oil cup is obtained;
[0007] When the first liquid level is greater than the first preset liquid level threshold, the ambient temperature is obtained; the first liquid level is the sum of the water level and the oil level in the oil cup;
[0008] If it is determined that the water in the oil cup is at risk of freezing based on the ambient temperature, the liquid level is predicted based on the water level and the oil level to obtain the target liquid level; the target liquid level represents the height of the liquid level in the oil cup when the water in the oil cup is frozen.
[0009] If the target liquid level is greater than or equal to the second preset liquid level threshold, the oil cup is subjected to dehydration treatment; the second preset liquid level threshold is greater than the first preset liquid level threshold.
[0010] In some embodiments, the range hood is provided with a telescopic component and an optical transceiver component disposed at one end of the telescopic component, the optical transceiver component including a transmitter and a receiver disposed opposite to each other; obtaining the first liquid level height in the oil cup includes:
[0011] Control the telescopic component to move between a preset initial position and the bottom of the oil cup, and control the transmitter to emit target light waves to the receiver;
[0012] The first actual light energy received by the receiving end is obtained; the first actual light energy represents the energy of the target light wave actually received by the receiving end.
[0013] Boundary analysis is performed based on the first actual light energy, the first reference light energy, and the second reference light energy to obtain the first boundary line between the air layer and the oil layer, the first position of the telescopic component located on the first boundary line, the second boundary line between the oil layer and the water layer, and the second position of the telescopic component located on the second boundary line. The first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup. The second reference light energy represents the light energy received by the receiving end when the target light wave passes through the water layer in the oil cup.
[0014] The first liquid level height is obtained by analyzing and processing the liquid level height based on the preset initial position, the first position, and / or the second position.
[0015] In some embodiments, the method further includes:
[0016] If the temperature of the oil cup is detected to be less than or equal to the freezing point of the water, the second liquid level height in the oil cup is obtained;
[0017] When the second liquid level is greater than or equal to the second preset liquid level threshold, the oil cup is heated.
[0018] In some embodiments, the range hood is provided with a telescopic assembly and an optical transceiver assembly disposed at one end of the telescopic assembly; the optical transceiver assembly includes a transmitter and a receiver disposed opposite to each other; obtaining the second liquid level height in the oil cup includes:
[0019] Control the telescopic component to move between a preset initial position and the bottom of the oil cup, and control the transmitter to emit target light waves to the receiver;
[0020] Obtain the second actual optical energy received by the receiving end of the optical transceiver component;
[0021] Based on the second actual light energy and the first reference light energy, a boundary analysis is performed to obtain the third boundary line between the air layer and the oil layer in the oil cup and the third position of the telescopic component located on the third boundary line; the first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup.
[0022] The second liquid level height is obtained by analyzing and processing the liquid level height based on the preset initial position and the third position.
[0023] In some embodiments, the method further includes:
[0024] The current operating mode of the range hood is obtained; the range hood includes multiple preset operating modes, each with a different power consumption; the power consumption of each operating mode is directly proportional to the detection frequency of the oil cup temperature corresponding to each operating mode.
[0025] Based on the current operating mode, the detection cycle is analyzed and processed to obtain the current detection frequency of the oil cup temperature;
[0026] The temperature information of the oil cup is obtained based on the current detection frequency.
[0027] In some embodiments, when it is determined based on the ambient temperature that the water in the oil cup is at risk of freezing, predicting the liquid level height based on the water level height and the oil level height to obtain the target liquid level height includes:
[0028] When the ambient temperature is less than or equal to a preset temperature threshold, the water volume is obtained by performing water volume analysis based on the water level height.
[0029] The oil volume is obtained by performing volume analysis based on the oil level height.
[0030] Based on the water density, ice density, water volume, and oil volume, the liquid volume in the oil cup is predicted to obtain the target volume of the liquid in the oil cup when the water is in a frozen state.
[0031] The target liquid level height is obtained by analyzing the liquid level height based on the target volume.
[0032] In some embodiments, the step of removing water from the oil cup when the target liquid level is greater than or equal to a second preset liquid level threshold includes:
[0033] When the target liquid level is greater than or equal to the second preset liquid level threshold, the heating device is controlled to heat the oil cup.
[0034] Obtain the target water level in the oil cup;
[0035] If the target water level is less than the third preset liquid level threshold, the heating device is controlled to stop heating; the third preset liquid level threshold is less than the second preset liquid level threshold.
[0036] This application also provides an oil cup level detection device for use in a range hood, the device comprising:
[0037] The first acquisition module is used to acquire the first liquid level height in the oil cup when the temperature of the oil cup is detected to be greater than the freezing point of water.
[0038] The second acquisition module is used to acquire the ambient temperature when the first liquid level height is greater than the first preset liquid level threshold; the first liquid level height is the sum of the water level height and the oil level height in the oil cup;
[0039] The prediction module is used to predict the liquid level height based on the water level and the oil level when it is determined that there is a risk of freezing in the water in the oil cup according to the ambient temperature, and to obtain a target liquid level height; the target liquid level height represents the height of the liquid level in the oil cup when the water in the oil cup is in a frozen state;
[0040] The first processing module is used to perform liquid removal processing on the oil cup when the target liquid level height is greater than or equal to a second preset liquid level threshold; the second preset liquid level threshold is greater than the first preset liquid level threshold.
[0041] This application also provides an oil cup level detection device, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the oil cup level detection method as described above.
[0042] This application also provides a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or at least one program is loaded by a processor and executed as described above for the oil cup level detection method.
[0043] Implementing the embodiments of this application has the following beneficial effects:
[0044] The oil cup level detection method of this application obtains the first liquid level height in the oil cup, and predicts the liquid level height by combining the ambient temperature when the first liquid level height is greater than a first preset liquid level threshold. When the predicted target liquid level height is greater than or equal to a second preset liquid level threshold, water removal is performed. This method can not only quickly and accurately predict whether there is a risk of overflow in the oil cup, but also reduce the liquid level height by water removal when there is a risk of overflow. This not only reduces the risk of overflow, but also reduces the frequency of pouring oil, thereby improving the intelligence level of the range hood and the user experience. Attached Figure Description
[0045] To more clearly illustrate the oil cup level detection method, apparatus, equipment, and storage medium described in this application, the accompanying drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 A schematic diagram of a detection system for a range hood provided in an embodiment of this application;
[0047] Figure 2 This is a schematic diagram of the structure of a telescopic detection device in a range hood provided in an embodiment of this application;
[0048] Figure 3a A schematic diagram illustrating the relationship between the actual light energy received by the receiver and the displacement of the telescopic component when the oil cup is empty, as provided in an embodiment of this application.
[0049] Figure 3b A schematic diagram illustrating the relationship between the actual light energy received by the receiver and the displacement of the telescopic component in an oil cup containing an oil layer and a water layer, as provided in an embodiment of this application.
[0050] Figure 3c This is a schematic diagram showing the change between the actual light energy received by the receiver and the displacement of the telescopic component in an oil cup containing an oil layer, as described in an embodiment of this application.
[0051] Figure 4 A schematic flowchart of an oil cup level detection method provided in an embodiment of this application;
[0052] Figure 5 A flowchart illustrating a method for obtaining a first liquid level height provided in an embodiment of this application;
[0053] Figure 6 A flowchart illustrating a specific oil cup level detection method provided in this application embodiment;
[0054] Figure 7 A flowchart illustrating a method for obtaining a second liquid level height provided in an embodiment of this application;
[0055] Figure 8 A flowchart illustrating a method for obtaining a target liquid level height provided in an embodiment of this application;
[0056] Figure 9 This is a schematic diagram of the structure of an oil cup level detection device provided in an embodiment of this application;
[0057] Figure 10This is a schematic diagram of an electronic device for an oil cup level detection method provided in an embodiment of this application. Detailed Implementation
[0058] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0059] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0060] Please see Figure 1 The illustration shows a schematic diagram of a detection system for a range hood provided in an embodiment of this application. The implementation environment may include: a temperature detection module 01, a liquid level detection module 02, a heating module 03, and a processing module 04.
[0061] The processing module 04 is communicatively connected to the temperature detection module 01, the liquid level detection module 02, and the heating module 03, respectively.
[0062] The temperature detection module 01 can be used to detect the temperature of the oil cup and the ambient temperature, and send the ambient temperature and the oil cup temperature to the processing module 04 respectively;
[0063] The liquid level detection module 02 can be used to detect the liquid level height in the oil cup, specifically the water level height and the oil level height in the oil cup; and send the liquid level height to the processing module 04.
[0064] The heating module 03 can be used to heat the bottom of the oil cup, thereby removing the water from the oil cup.
[0065] In some exemplary embodiments, the range hood is further provided with a telescopic component 05 and an optical transceiver component disposed at one end of the telescopic component. The optical transceiver component 06 may include a transmitter 061 and a receiver 062 disposed opposite to each other.
[0066] The transmitter is used to send target light waves to the receiver. The amount of light energy received by the receiver will differ depending on the medium between the transmitter and receiver. The target light wave can be infrared light.
[0067] Based on the different absorption rates of water and oil for the same wavelength of light, the type of medium between the transmitter and receiver can be determined according to the different light energies received at the receiver.
[0068] The telescopic component can drive the optical transceiver component to move back and forth between the preset initial position and the bottom of the oil cup, thereby enabling the detection of the liquid level during the movement.
[0069] In some exemplary embodiments, a driving device is also included. The driving device is driven to the telescopic component and is communicatively connected to the processing module 04. The processing module 04 can be used to control the driving device to output driving force, thereby causing the driving device to drive the telescopic component to extend or retract.
[0070] In one example, such as Figure 2 The diagram shown is a structural schematic of a telescopic detection device in a range hood provided in an embodiment of this application.
[0071] Temperature detection module 01 can be a temperature sensor, and telescopic component can be a telescopic rod;
[0072] The temperature detection module 01 can be set between the telescopic component and the optical transceiver to detect the temperature of the oil cup after the optical transceiver is inserted into the liquid in the oil cup; at the same time, after the liquid level detection is completed and the telescopic component is reset, it is convenient to detect the ambient temperature.
[0073] Specifically, in one example, during the process of detecting liquid level using the aforementioned telescopic detection device, when the media between the receiving end and the transmitting end are different, the relationship between the change in light energy received by the receiving end and the displacement of the telescopic rod can be referred to... Figures 3a to 3c As shown.
[0074] Among them, such as Figure 3a The diagram shows the change between the actual light energy received by the receiver and the displacement of the telescopic component when the oil cup is empty in an embodiment of this application.
[0075] In this diagram, there is no liquid in the oil cup, and the actual light energy received by the receiver does not change with the displacement of the telescopic component.
[0076] like Figure 3b The diagram shows the change between the actual light energy received by the receiver and the displacement of the telescopic component in an oil cup containing an oil layer and a water layer, according to an embodiment of this application.
[0077] In the figure, there are water and oil layers in the oil cup. Taking the target light wave as an infrared light wave with a wavelength of 1020nm as an example, the actual light energy received by the receiver is different after passing through the air layer, oil layer and water layer. Moreover, the actual light energy decreases as the displacement of the telescopic rod increases.
[0078] like Figure 3c The diagram shows the change between the actual light energy received by the receiver and the displacement of the telescopic component in an oil cup containing an oil layer, according to an embodiment of this application.
[0079] In this diagram, the oil cup contains only an oil layer. The light waves received by the receiver have different actual light energy after passing through the air layer and the oil layer, and the actual light energy decreases as the displacement of the telescopic rod increases.
[0080] Please refer to Figure 4 The diagram illustrates a flow chart of an oil cup level detection method according to an embodiment of this application. This specification provides the operational steps of the method described in the embodiments or flow chart, but based on conventional or non-inventive methods, more or fewer operational steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many steps and does not represent the only possible execution order. The oil cup level detection method can be executed according to the method order shown in the embodiments or accompanying drawings. Specifically, as shown... Figure 4 As shown, the method, applied to a range hood, includes:
[0081] S401: If the temperature of the oil cup is detected to be greater than the freezing point of water, the first liquid level height in the oil cup is obtained.
[0082] In the embodiments of this application, the freezing point of water is the temperature at which water changes from a liquid state to a solid state; as an example, under standard atmospheric pressure, the freezing point of water can refer to 0°C.
[0083] The first liquid level height can refer to the overall height of the liquid level in the oil cup; as an example, if the oil cup contains both water and oil, the first liquid level height can be the sum of the water level height and the oil level height in the oil cup.
[0084] In some exemplary embodiments, an image acquisition device can be used to acquire image information of the oil cup; further, feature extraction is performed on the image information to obtain liquid level information in the oil cup; then, the first liquid level height in the oil cup can be determined based on the total height of the oil cup and the liquid level information.
[0085] S403, when the first liquid level height is greater than the first preset liquid level threshold, obtain the ambient temperature;
[0086] In this embodiment, the first preset liquid level threshold can refer to the minimum threshold of the liquid level in the oil cup. A first liquid level height greater than the first preset liquid level threshold indicates that the oil cup contains liquid and is not empty. As an example, the first preset liquid level threshold can be 0.
[0087] Ambient temperature can refer to the temperature of the environment outside the oil cup.
[0088] In some exemplary embodiments, the ambient temperature can be obtained based on the temperature detection module.
[0089] S405, if it is determined that there is a risk of freezing of the water in the oil cup based on the ambient temperature, the liquid level is predicted based on the water level and oil level to obtain the target liquid level.
[0090] In this embodiment of the application, the target liquid level height represents the height of the liquid level in the oil cup when the water in the oil cup is in a frozen state.
[0091] Optionally, if the ambient temperature is less than or equal to a preset temperature threshold, it can be determined that the water in the oil cup is at risk of freezing. The preset temperature threshold can be less than or equal to the freezing point of water; as an example, under standard atmospheric pressure, the preset temperature threshold can be less than or equal to 0°C.
[0092] In some exemplary embodiments, if it is determined that there is a risk of freezing in the water in the oil cup based on the ambient temperature, a preset water level and ice level relationship lookup table can be obtained, and the ice level height corresponding to the water level height can be found from the relationship lookup table based on the water level height; further, the sum of the ice level height and the oil level height is determined as the liquid level height.
[0093] S407, when the target liquid level is greater than or equal to the second preset liquid level threshold, the oil cup is dehydrated; the second preset liquid level threshold is greater than the first preset liquid level threshold.
[0094] In this embodiment, the second preset liquid level threshold can refer to the maximum limit threshold of the liquid level in the oil cup. A target liquid level height greater than or equal to the second preset liquid level threshold can indicate that the liquid stored in the oil cup is at risk of overflow. As an example, the second preset liquid level threshold can be less than or equal to the distance between the bottom of the oil cup and the lowest point of the top of the oil cup.
[0095] In some exemplary embodiments, when the target liquid level is greater than or equal to a second preset liquid level threshold, the heating device is controlled to heat the oil cup; simultaneously, the target water level in the oil cup can be obtained; and when the target water level is less than a third preset liquid level threshold, the heating device is controlled to stop heating; wherein, the third preset liquid level threshold is less than the second preset liquid level threshold. The third preset liquid level threshold may refer to a minimum threshold for the water level in the oil cup.
[0096] In one example, the heating device controlled by the normal operation of the range hood can be used to heat the bottom of the oil cup, so that the water in the oil cup evaporates and the water level is reduced.
[0097] By heating the oil cup to evaporate moisture and lower the water level, not only can water be quickly removed to prevent liquid overflow, but the number of times the user needs to empty the oil cup can also be reduced.
[0098] In some other exemplary embodiments, when the target liquid level is greater than or equal to a second preset liquid level threshold, a preset device can be used to drain some of the water from the bottom of the oil cup to reduce the water level in the oil cup.
[0099] Optionally, after the heating device stops heating, the current liquid level in the oil cup can be obtained; furthermore, if the current liquid level is greater than or equal to a second preset liquid level threshold, a pouring reminder can be issued to remind the user to pour out the oil and avoid liquid overflow.
[0100] In this embodiment, the present application obtains the first liquid level height in the oil cup, and predicts the liquid level height in combination with the ambient temperature when the first liquid level height is greater than the first preset liquid level threshold. When the predicted target liquid level height is greater than or equal to the second preset liquid level threshold, water removal is performed. This method can not only quickly and accurately predict whether there is a risk of overflow in the oil cup, but also reduce the liquid level height by water removal when there is a risk of overflow. This not only reduces the risk of overflow, but also reduces the frequency of pouring oil, thereby improving the intelligence level of the range hood and the user experience.
[0101] like Figure 5 The diagram shown is a flowchart illustrating a method for obtaining a first liquid level height according to an embodiment of this application; the details are as follows.
[0102] S501 controls the telescopic component to move between a preset initial position and the bottom of the oil cup, and controls the transmitter to emit target light waves to the receiver.
[0103] In the embodiments of this application, the target light wave can refer to an infrared light wave. As an example, the target light wave can be an infrared light wave with a wavelength of 1020nm, wherein the absorptivity of water to the beam can be 0.61 and the absorptivity of oil to the beam can be 0.11; the target light wave can also be an infrared light wave with a wavelength of 914nm, wherein the absorptivity of water to the beam can be 0.123 and the absorptivity of oil to the beam can be 0.215.
[0104] In some exemplary embodiments, the telescopic component can be controlled to move the optical transceiver component from a preset initial position toward the bottom of the oil cup, and during the movement, the transmitting end can be controlled to emit target light waves toward the receiving end; the light energy received by the receiving end is related to the medium between the receiving end and the transceiver.
[0105] S503, acquire the first actual optical energy received by the receiver;
[0106] In this embodiment of the application, the first actual light energy represents the energy of the target light wave actually received by the receiver.
[0107] In some exemplary embodiments, the light energy received by the receiver can be detected in real time to obtain the first actual light energy.
[0108] S505, based on the first actual light energy, the first reference light energy and the second reference light energy, boundary analysis is performed to obtain the first boundary line between the air layer and the oil layer, the first position of the expansion joint on the first boundary line, the second boundary line between the oil layer and the water layer, and the second position of the expansion joint on the second boundary line.
[0109] In this embodiment, the first reference light energy represents the light energy received by the receiver when the target light wave passes through the oil layer in the oil cup; the second reference light energy represents the light energy received by the receiver when the target light wave passes through the water layer in the oil cup.
[0110] Optionally, during the process of the telescopic component moving the optical transceiver component to the bottom of the oil cup, the boundary line where the first actual light energy equals the first reference light energy can be defined as the first dividing line.
[0111] The position of the telescopic component when the first actual light energy equals the first reference light energy is determined as the first position;
[0112] The boundary where the first actual light energy equals the second reference light energy is defined as the second dividing line.
[0113] The position of the telescopic component when the first actual light energy equals the second reference light energy is determined as the second position.
[0114] In some exemplary embodiments, the target light wave is taken as an infrared light wave with a wavelength of 1020 nm as an example.
[0115] When the first actual light energy is greater than the first reference light energy, the medium between the receiver and the transmitter is determined to be an air layer.
[0116] If the first actual light energy is less than or equal to the first reference light energy and greater than the second reference light energy, it can be determined that the medium between the receiver and the transmitter is an oil layer.
[0117] When the first actual light energy is less than or equal to the second reference light energy, it can be determined that the medium between the receiver and the transmitter is a water layer.
[0118] In some other exemplary embodiments, the target light wave is taken as an infrared light wave with a wavelength of 914 nm as an example.
[0119] When the first actual light energy is greater than the first reference light energy, the medium between the receiver and the transmitter is determined to be an air layer.
[0120] If the first actual light energy is less than or equal to the first reference light energy and greater than the second reference light energy, it can be determined that the medium between the receiver and the transmitter is a water layer.
[0121] When the first actual light energy is less than or equal to the second reference light energy, it can be determined that the medium between the receiver and the transmitter is an oil layer.
[0122] Optionally, during the process of the telescopic component moving the optical transceiver component towards the bottom of the oil cup, if the optical transceiver component is detected to have reached the water layer, or if the telescopic component is detected to have extended to the maximum extension displacement threshold, the telescopic component can be controlled to retract towards the preset initial position.
[0123] S507, based on the preset initial position, first position and / or second position, analyze and process the liquid level height to obtain the first liquid level height.
[0124] In some exemplary embodiments, the distance between a preset initial position and the bottom of the oil cup is obtained to obtain a first displacement, wherein the first displacement can be a preset displacement distance. Further, a second displacement can be obtained by displacement calculation based on the preset initial position and the first position; the difference between the first displacement and the second displacement is determined as the first liquid level height.
[0125] In some other exemplary embodiments, the distance between a preset initial position and the bottom of the oil cup is obtained to obtain a first displacement; the displacement is calculated based on the first position and the second position to obtain a third displacement; further, the third displacement is determined as the oil level height; the displacement is calculated based on the preset initial position and the second position to obtain a fourth displacement; further, the difference between the first displacement and the fourth displacement is determined as the water level height; and then the sum of the oil level height and the water level height is determined as the first liquid level height.
[0126] In this embodiment, this application utilizes the characteristic that water and oil have different absorption rates of light waves, resulting in different light energy received by the receiver. By comparing and analyzing the actual light energy received by the receiver with the first reference light energy in the oil layer and the second reference light energy in the water layer, the first boundary line, the second boundary line, the first position, and the second position can be quickly and accurately determined. Furthermore, by using the telescopic rod to preset the initial position and the displacement, the water level height, oil level height, and the first liquid level height can be accurately calculated.
[0127] In some exemplary embodiments, such as Figure 6 The diagram shown is a flowchart illustrating a specific oil cup level detection method provided in an embodiment of this application; the details are as follows.
[0128] S601, obtain the temperature information of the oil cup;
[0129] In some exemplary embodiments, temperature information in the oil cup can be obtained according to a preset detection frequency.
[0130] In some other exemplary embodiments, the current operating mode of the range hood can be obtained; the range hood includes multiple preset operating modes, each with a different power consumption; the power consumption of each operating mode is proportional to the detection frequency of the oil cup temperature corresponding to each operating mode; further, the detection cycle is analyzed and processed according to the current operating mode to obtain the current detection frequency of the oil cup temperature; and then the temperature information of the oil cup is obtained according to the current detection frequency.
[0131] In one example, the current running mode is obtained as follows:
[0132] When the range hood is detected to be running, the operating status of the fan is obtained;
[0133] If the fan is operating normally, it can be determined that the range hood is in normal power consumption mode.
[0134] When the fan is off, obtain the target duration between the fan's off time and the current time; if the target duration is greater than the preset duration threshold, the range hood can be determined to be in low power consumption mode; otherwise, the range hood is determined to be in normal power consumption mode.
[0135] By understanding the relationship between power consumption and detection frequency corresponding to different operating modes of the range hood, different detection frequencies can be used in different operating modes, thereby reducing energy consumption and saving costs while meeting detection requirements.
[0136] S603, determine whether the temperature information of the oil cup is greater than the freezing point of water;
[0137] If so, then it is determined that the water in the oil cup is not frozen; further steps S605-S611 can be performed.
[0138] If not, then it is determined that the water in the oil cup is frozen; further steps S621-S625 can be performed.
[0139] S605, obtain the first liquid level height in the oil cup;
[0140] S607, determine whether the first liquid level height is greater than the first preset liquid level threshold;
[0141] If so, proceed to step S609.
[0142] If not, proceed to steps S617-S619.
[0143] S609, obtain ambient temperature;
[0144] S611, when it is determined that there is a risk of freezing of the water in the oil cup based on the ambient temperature, the liquid level is predicted based on the water level and oil level to obtain the target liquid level.
[0145] S613, determine whether the target liquid level height is less than the second preset liquid level threshold;
[0146] If not, proceed to step S615.
[0147] If so, proceed to step S619.
[0148] S615, performs water removal treatment on the oil cup;
[0149] In the embodiments of this application, the detailed description of steps S603 to S615 can be found in steps S401-S407 above.
[0150] S617, confirm that the oil cup is empty;
[0151] S619, this round of testing is now complete.
[0152] S621, obtain the second liquid level height in the oil cup;
[0153] In some exemplary embodiments, an image acquisition device can be used to acquire image information of the oil cup; further, feature extraction is performed on the image information to obtain liquid level information in the oil cup; then, based on the total height of the oil cup and the liquid level information, the second liquid level height in the oil cup can be determined.
[0154] S623, determine whether the second liquid level height is less than the second preset liquid level threshold;
[0155] If not, proceed to step S625;
[0156] If so, proceed to step S619.
[0157] S625 heats the oil cup.
[0158] In some exemplary embodiments, the heating device can be controlled to heat the oil cup when the second liquid level height is greater than or equal to the second preset liquid level threshold.
[0159] In one example, a second power-controlled heating device can be used to heat the bottom of the oil cup, melting the ice and thus lowering the liquid level. The second power is greater than the first power.
[0160] In this embodiment, the liquid level in the oil cup is determined by combining parameters such as the oil cup temperature, the liquid level in the oil cup, and the ambient temperature. When the water in the oil cup is frozen or there is an overflow direction, heating is performed. This method can not only quickly and accurately predict whether there is a risk of overflow in the oil cup, but also reduce the liquid level by removing water when there is a risk of overflow. This not only reduces the risk of overflow, but also reduces the frequency of emptying the oil, improving the intelligence of the range hood and the user experience.
[0161] In some exemplary embodiments, such as Figure 7 The diagram shown is a flowchart illustrating a method for obtaining a second liquid level height according to an embodiment of this application, as detailed below.
[0162] S701 controls the telescopic component to move between a preset initial position and the bottom of the oil cup, and controls the transmitter to emit target light waves to the receiver.
[0163] In the embodiments of this application, the target light wave can refer to an infrared light wave. As an example, the target light wave can be an infrared light wave with a wavelength of 1020nm, wherein the absorptivity of water to the beam can be 0.61 and the absorptivity of oil to the beam can be 0.11; the target light wave can also be an infrared light wave with a wavelength of 914nm, wherein the absorptivity of water to the beam can be 0.123 and the absorptivity of oil to the beam can be 0.215.
[0164] In some exemplary embodiments, the telescopic component can be controlled to move the optical transceiver component from a preset initial position toward the bottom of the oil cup, and during the movement, the transmitting end can be controlled to emit target light waves toward the receiving end; the light energy received by the receiving end is related to the medium between the receiving end and the transceiver.
[0165] S703, acquire the second actual optical energy received by the receiver of the optical transceiver component;
[0166] In this embodiment of the application, the second actual light energy represents the energy of the target light wave actually received by the receiver.
[0167] In some exemplary embodiments, the light energy received by the receiver can be detected in real time to obtain the first actual light energy.
[0168] S705, based on the second actual light energy and the first reference light energy, boundary analysis is performed to obtain the third boundary line between the air layer and the oil layer in the oil cup and the third position of the telescopic component on the third boundary line.
[0169] In this embodiment of the application, the first reference light energy characterizes the light energy received by the receiver when the target light wave passes through the oil layer in the oil cup;
[0170] In some exemplary embodiments, the boundary line where the second actual light energy equals the first reference light energy can be determined as the third boundary line during the process of the telescopic component moving the optical transceiver component to the bottom of the oil cup;
[0171] The position of the telescopic component when the second actual light energy equals the first reference light energy is determined as the third position.
[0172] And when the second actual light energy is less than or equal to the first reference light energy, or when the telescopic component is detected to have extended to the maximum extension displacement threshold, the telescopic component can be controlled to retract towards the preset initial position.
[0173] S707 analyzes and processes the liquid level height based on the preset initial position and the third position to obtain the second liquid level height.
[0174] In some exemplary embodiments, the distance between a preset initial position and the bottom of the oil cup can be obtained to obtain a first displacement, wherein the first displacement can be a preset displacement distance. Further, a fifth displacement can be obtained by calculating the displacement based on the preset initial position and a third position; the difference between the first displacement and the fifth displacement is determined as the first liquid level height.
[0175] By leveraging the difference in light absorption rates between water and oil, which leads to different light energy received by the receiver, the third boundary line and third position can be quickly and accurately determined by comparing the actual light energy received by the receiver with the first reference light energy in the oil layer. Furthermore, by presetting the initial position and displacement of the telescopic rod, the second liquid level height can be accurately calculated. Moreover, this application controls the telescopic component to fold back after entering the oil layer, which can effectively prevent the telescopic component from touching the ice layer and avoid damage to the instrument.
[0176] In some exemplary embodiments, such as Figure 8 The diagram shown is a flowchart illustrating a method for obtaining a target liquid level height according to an embodiment of this application, as detailed below.
[0177] S801, when the ambient temperature is less than or equal to a preset temperature threshold, performs water volume analysis based on the water level to obtain the water volume;
[0178] In this embodiment of the application, when the ambient temperature is less than or equal to a preset temperature threshold, it can be determined that the water in the oil cup is at risk of freezing. The preset temperature threshold can be less than or equal to the freezing point of water; as an example, under standard atmospheric pressure, the preset temperature threshold can be less than or equal to 0°C.
[0179] In some exemplary embodiments, when the ambient temperature is less than or equal to a preset temperature threshold, a first preset relationship table between the water level and the water volume in the oil cup can be obtained; the water volume corresponding to the water level is obtained by searching the first preset relationship table according to the water level.
[0180] In some other exemplary embodiments, when the oil cup is of a regular shape, and when the ambient temperature is less than or equal to a preset temperature threshold, the bottom area of the oil cup and the area of the oil cup corresponding to the water level are obtained. Furthermore, the volume of water is calculated based on the bottom area of the oil cup, the area of the oil cup corresponding to the water level, and the water level.
[0181] S803, based on the oil level height, performs volume analysis of the oil to obtain the oil volume;
[0182] In some exemplary embodiments, a second preset relationship table between the oil level and the oil volume in the oil cup can be obtained; the oil volume corresponding to the oil level is obtained by searching the second preset relationship table according to the oil level.
[0183] In some other exemplary embodiments, when the oil cup is of a regular shape, the bottom area of the oil cup and the area of the oil cup corresponding to the oil level height can be obtained. Furthermore, the oil volume is calculated based on the bottom area of the oil cup, the area of the oil cup corresponding to the oil level height, and the oil level height to obtain the oil volume.
[0184] S805, based on water density, ice density, water volume and oil volume, predicts the liquid volume in the oil cup, and obtains the target volume of the liquid in the oil cup when the water in the oil cup is in a frozen state.
[0185] In some exemplary embodiments, the ice volume of water in an oil cup when it is frozen can be predicted based on water density, ice density, and water volume to obtain the target ice volume; further, the sum of the target ice volume and the oil volume is determined as the target volume.
[0186] In one example, with water density of 1 and ice density of 0.9, the quotient of water volume and 0.9 can be used to determine the target ice volume.
[0187] S807 analyzes and processes the liquid level height based on the target volume to obtain the target liquid level height.
[0188] In some exemplary embodiments, a third preset relationship table between the liquid level in the oil cup and the target volume can be obtained; the target liquid level corresponding to the target volume is obtained by searching the third preset relationship table according to the target volume.
[0189] In some other exemplary embodiments, when the oil cup has a regular shape, the bottom area of the oil cup can be obtained, and the liquid level height can be calculated based on the target volume and the bottom area to obtain the target liquid level height.
[0190] By using water density, ice density, and water volume, the volume of water after freezing can be quickly and accurately predicted. Then, based on the total volume of liquid in the oil cup, the target liquid level height after freezing can be accurately determined. This method can quickly and accurately predict the liquid level height in the oil cup after water freezes.
[0191] This application also provides an oil cup level detection device, such as... Figure 9 As shown, this is a structural schematic diagram of an oil cup level detection device provided in an embodiment of this application; specifically, it is applied to a range hood, and the device includes:
[0192] The first acquisition module 901 is used to acquire the first liquid level height in the oil cup when the temperature of the oil cup is detected to be greater than the freezing point of water.
[0193] The second acquisition module 902 is used to acquire the ambient temperature when the first liquid level height is greater than the first preset liquid level threshold; the first liquid level height is the sum of the water level height and the oil level height in the oil cup;
[0194] Prediction module 903 is used to predict the liquid level height based on the water level height and the oil level height when it is determined that there is a risk of freezing of the water in the oil cup according to the ambient temperature, and to obtain a target liquid level height; the target liquid level height represents the height of the liquid level in the oil cup when the water in the oil cup is in a frozen state;
[0195] The first processing module 904 is used to perform liquid removal processing on the oil cup when the target liquid level height is greater than or equal to a second preset liquid level threshold; the second preset liquid level threshold is greater than the first preset liquid level threshold.
[0196] In this embodiment, the range hood is provided with a telescopic component and an optical transceiver component disposed at one end of the telescopic component. The optical transceiver component includes a transmitter and a receiver disposed opposite to each other. The first acquisition module 901 includes:
[0197] The first control unit is used to control the telescopic component to move between a preset initial position and the bottom of the oil cup, and to control the transmitting end to emit target light waves to the receiving end;
[0198] The first acquisition unit is used to acquire the first actual light energy received by the receiving end; the first actual light energy represents the energy of the target light wave actually received by the receiving end.
[0199] The first processing unit is configured to perform boundary analysis based on the first actual light energy, the first reference light energy, and the second reference light energy to obtain a first boundary line between the air layer and the oil layer, a first position of the telescopic component located on the first boundary line, a second boundary line between the oil layer and the water layer, and a second position of the telescopic component located on the second boundary line; the first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup; the second reference light energy represents the light energy received by the receiving end when the target light wave passes through the water layer in the oil cup.
[0200] The second processing unit is used to analyze and process the liquid level height based on the preset initial position, the first position, and / or the second position to obtain the first liquid level height.
[0201] In this embodiment of the application, it also includes:
[0202] The third acquisition module is used to acquire the second liquid level height in the oil cup when the temperature information of the oil cup is detected to be less than or equal to the freezing point of the water.
[0203] The second processing module is used to heat the oil cup when the second liquid level height is greater than or equal to the second preset liquid level threshold.
[0204] In this embodiment, the range hood is provided with a telescopic assembly and an optical transceiver assembly disposed at one end of the telescopic assembly; the optical transceiver assembly includes a transmitter and a receiver disposed opposite to each other; the third acquisition module includes:
[0205] The second control unit is used to control the telescopic component to move between a preset initial position and the bottom of the oil cup, and to control the transmitting end to emit target light waves to the receiving end;
[0206] The second acquisition unit is used to acquire the second actual optical energy received by the receiving end of the optical transceiver component;
[0207] The third processing unit is used to perform boundary analysis based on the second actual light energy and the first reference light energy to obtain the third boundary line between the air layer and the oil layer in the oil cup and the third position of the telescopic component located on the third boundary line; the first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup.
[0208] The fourth processing unit is used to analyze and process the liquid level height based on the preset initial position and the third position to obtain the second liquid level height.
[0209] In this embodiment of the application, it also includes:
[0210] The fourth acquisition module is used to acquire the current operating mode of the range hood; the range hood includes multiple preset operating modes, and the power consumption of each preset operating mode is different; the power consumption of each operating mode is proportional to the detection frequency of the oil cup temperature of each operating mode.
[0211] The third processing module is used to analyze and process the detection cycle according to the current operating mode to obtain the current detection frequency of the oil cup temperature.
[0212] The fifth acquisition module is used to acquire the temperature information of the oil cup based on the current detection frequency.
[0213] In this embodiment of the application, the prediction module 903 includes:
[0214] The fifth processing unit is used to perform water volume analysis based on the water level height when the ambient temperature is less than or equal to a preset temperature threshold, so as to obtain the water volume.
[0215] The sixth processing unit is used to perform volume analysis of the oil based on the oil level height to obtain the oil volume;
[0216] The prediction unit is used to predict the liquid volume in the oil cup based on the water density, ice density, water volume, and oil volume, so as to obtain the target volume of the liquid in the oil cup when the water in the oil cup is in a frozen state.
[0217] The seventh processing unit is used to analyze and process the liquid level height based on the target volume to obtain the target liquid level height.
[0218] In this embodiment of the application, the first processing module 904 includes:
[0219] The third control unit is used to control the heating device to heat the oil cup when the target liquid level is greater than or equal to the second preset liquid level threshold.
[0220] The third acquisition unit is used to acquire the target water level height in the oil cup;
[0221] The fourth control unit is used to control the heating device to stop heating when the target water level is less than the third preset liquid level threshold; the third preset liquid level threshold is less than the second preset liquid level threshold.
[0222] It should be noted that the apparatus and method embodiments described in the device embodiments are based on the same inventive concept.
[0223] This application provides an oil cup level detection device, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the oil cup level detection method as described in the above method embodiment.
[0224] Furthermore, Figure 10 A schematic diagram of the hardware structure of an electronic device for implementing the oil cup level detection method provided in the embodiments of this application is shown. The electronic device can participate in or include the oil cup level detection device provided in the embodiments of this application. Figure 10 As shown, the electronic device 10 may include one or more processors 1002 (shown as 1002a, 1002b, ..., 1002n in the figure) 1002 (processor 1002 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 1004 for storing data, and a transmission device 1006 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 10 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device 100 may also include... Figure 10 The more or fewer components shown, or having the same Figure 10 The different configurations shown.
[0225] It should be noted that the aforementioned one or more processors 1002 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be wholly or partially integrated into any other element within the electronic device 100 (or mobile device). As involved in the embodiments of this application, the data processing circuit serves as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0226] The memory 1004 can be used to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the oil cup level detection method described in this embodiment. The processor 1002 executes various functional applications and data processing by running the software programs and modules stored in the memory 1004, thereby realizing the aforementioned oil cup level detection method. The memory 1004 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1004 may further include memory remotely located relative to the processor 1002, and these remote memories can be connected to the electronic device 100 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0227] The transmission device 1006 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the electronic device 100. In one example, the transmission device 1006 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In one embodiment, the transmission device 1006 may be a radio frequency (RF) module for wireless communication with the Internet.
[0228] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 100 (or mobile device).
[0229] Embodiments of this application also provide a computer-readable storage medium, which can be disposed in an electronic device to store at least one instruction or at least one program related to implementing an oil cup level detection method in the method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the oil cup level detection method provided in the above method embodiment.
[0230] Optionally, in this embodiment, the storage medium may be located at at least one of the multiple network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0231] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some implementations, multitasking and parallel processing are also possible or may be advantageous.
[0232] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
[0233] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and electronic device embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0234] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0235] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for detecting the liquid level in an oil cup, characterized in that, Applied to range hoods, the method includes: If the temperature of the oil cup is detected to be greater than the freezing point of water, the first liquid level height in the oil cup is obtained; When the first liquid level is greater than the first preset liquid level threshold, the ambient temperature is obtained; the first liquid level is the sum of the water level and the oil level in the oil cup; If it is determined that the water in the oil cup is at risk of freezing based on the ambient temperature, the liquid level is predicted based on the water level and the oil level to obtain the target liquid level; the target liquid level represents the height of the liquid level in the oil cup when the water in the oil cup is frozen. If the target liquid level is greater than or equal to the second preset liquid level threshold, the oil cup is subjected to dehydration treatment; the second preset liquid level threshold is greater than the first preset liquid level threshold. The range hood is equipped with a telescopic component and an optical transceiver component disposed at one end of the telescopic component. The optical transceiver component includes a transmitter and a receiver disposed opposite to each other. Obtaining the first liquid level height in the oil cup includes: Control the telescopic component to move between a preset initial position and the bottom of the oil cup, and control the transmitter to emit target light waves to the receiver; The first actual light energy received by the receiving end is obtained; the first actual light energy represents the energy of the target light wave actually received by the receiving end. Boundary analysis is performed based on the first actual light energy, the first reference light energy, and the second reference light energy to obtain the first boundary line between the air layer and the oil layer, the first position of the telescopic component located on the first boundary line, the second boundary line between the oil layer and the water layer, and the second position of the telescopic component located on the second boundary line. The first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup. The second reference light energy represents the light energy received by the receiving end when the target light wave passes through the water layer in the oil cup. Based on the preset initial position, the first position, and / or the second position, the liquid level height is analyzed and processed to obtain the first liquid level height.
2. The oil cup level detection method according to claim 1, characterized in that, The method further includes: If the temperature of the oil cup is detected to be less than or equal to the freezing point of the water, the second liquid level height in the oil cup is obtained; When the second liquid level is greater than or equal to the second preset liquid level threshold, the oil cup is heated.
3. The oil cup level detection method according to claim 2, characterized in that, The range hood is equipped with a telescopic component and an optical transceiver component disposed at one end of the telescopic component; the optical transceiver component includes a transmitter and a receiver disposed opposite to each other; obtaining the second liquid level height in the oil cup includes: Control the telescopic component to move between a preset initial position and the bottom of the oil cup, and control the transmitting end to emit target light waves to the receiving end; acquire the second actual light energy received by the receiving end of the optical transceiver component; Based on the second actual light energy and the first reference light energy, a boundary analysis is performed to obtain the third boundary line between the air layer and the oil layer in the oil cup and the third position of the telescopic component located on the third boundary line; the first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup. The second liquid level height is obtained by analyzing and processing the liquid level height based on the preset initial position and the third position.
4. The oil cup level detection method according to claim 1, characterized in that, The method further includes: The current operating mode of the range hood is obtained; the range hood includes multiple preset operating modes, each with a different power consumption; the power consumption of each operating mode is proportional to the detection frequency of the oil cup temperature corresponding to each operating mode; the detection cycle is analyzed and processed according to the current operating mode to obtain the current detection frequency of the oil cup temperature; the temperature information of the oil cup is obtained according to the current detection frequency.
5. The oil cup level detection method according to claim 1, characterized in that, When it is determined based on the ambient temperature that the water in the oil cup is at risk of freezing, the liquid level is predicted based on the water level and the oil level to obtain the target liquid level, including: When the ambient temperature is less than or equal to a preset temperature threshold, the volume of water is analyzed based on the water level to obtain the water volume; the volume of oil is analyzed based on the oil level to obtain the oil volume. Based on the water density, ice density, water volume, and oil volume, the liquid volume in the oil cup is predicted to obtain the target volume of the liquid in the oil cup when the water is frozen; based on the target volume, the liquid level height is analyzed and processed to obtain the target liquid level height.
6. The oil cup level detection method according to claim 1, characterized in that, When the target liquid level is greater than or equal to a second preset liquid level threshold, the oil cup is dehydrated, including: When the target liquid level is greater than or equal to the second preset liquid level threshold, the heating device is controlled to heat the oil cup; the target water level in the oil cup is obtained. If the target water level is less than the third preset liquid level threshold, the heating device is controlled to stop heating; the third preset liquid level threshold is less than the second preset liquid level threshold.
7. An oil cup level detection device, characterized in that, An application in range hoods, wherein the range hood is equipped with a telescopic component and an optical transceiver component disposed at one end of the telescopic component, the optical transceiver component including a transmitter and a receiver disposed opposite to each other; the device includes: The first acquisition module is used to acquire the first liquid level height in the oil cup when the temperature of the oil cup is detected to be greater than the freezing point of water. The second acquisition module is used to acquire the ambient temperature when the first liquid level height is greater than the first preset liquid level threshold; the first liquid level height is the sum of the water level height and the oil level height in the oil cup; The prediction module is used to predict the liquid level height based on the water level and the oil level when it is determined that there is a risk of freezing in the water in the oil cup according to the ambient temperature, and to obtain a target liquid level height; the target liquid level height represents the height of the liquid level in the oil cup when the water in the oil cup is in a frozen state; The first processing module is used to perform liquid removal processing on the oil cup when the target liquid level height is greater than or equal to a second preset liquid level threshold; the second preset liquid level threshold is greater than the first preset liquid level threshold. The first acquisition module includes: The first control unit is used to control the telescopic component to move between a preset initial position and the bottom of the oil cup, and to control the transmitting end to emit target light waves to the receiving end; The first acquisition unit is used to acquire the first actual light energy received by the receiving end; the first actual light energy represents the energy of the target light wave actually received by the receiving end. The first processing unit is configured to perform boundary analysis based on the first actual light energy, the first reference light energy, and the second reference light energy to obtain a first boundary line between the air layer and the oil layer, a first position of the telescopic component located on the first boundary line, a second boundary line between the oil layer and the water layer, and a second position of the telescopic component located on the second boundary line; the first reference light energy represents the light energy received by the receiving end when the target light wave passes through the oil layer in the oil cup; the second reference light energy represents the light energy received by the receiving end when the target light wave passes through the water layer in the oil cup. The second processing unit is used to analyze and process the liquid level height based on the preset initial position, the first position, and / or the second position to obtain the first liquid level height.
8. An oil cup level detection device, characterized in that, The device includes a processing unit and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processing unit to implement the oil cup level detection method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program, which is loaded and executed by a processing device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Range hood and oil quantity detecting method of oil cup thereof
CN108006753A
Oil cup heating method and device and range hood
CN110160105A
Maintenance-free moisture absorber, electrical equipment and breathing state monitoring method
CN115172017A