Sprayer

The degree of bubble calculating through optical sensors and processing circuits is solved, and the problem of the existing sprayer being accidentally cut off when the liquid level is insufficient is achieved, achieving more accurate liquid level judgment and safe operation of the vibrator.

CN120094773APending Publication Date: 2025-06-06PIXART IMAGING INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935527.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-12-05
Filing Date
2024-07-12
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

When the liquid level is insufficient, existing sprayers may misjudgment the liquid level due to bubbles left by the oscillating liquid covering the grid, resulting in the vibrator being unable to be powered off and may be damaged.

Method used

An optical sensor is used to sense optical data on the mesh or container surface, and the bubble degree is calculated through the processing circuit to determine whether the vibrator is turned off.

Benefits of technology

More accurately judge the liquid level, avoid accidentally power outage, and extend the service life of the vibrator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120094773A_ABST
    Figure CN120094773A_ABST
Patent Text Reader

Abstract

The invention discloses a sprayer, comprising: a container for containing a liquid; the channel comprises a first opening, a second opening, a vibrator and a grid, and when the liquid in the container passes through the vibrator through the first opening, the liquid becomes gas and is diffused through the second opening; the first optical sensor is used for sensing first optical data of at least one part of the grid or at least one part of the surface of the container; and the processing circuit is used for calculating the foaming degree of the grid or the surface according to the first optical data and judging whether the vibrator is turned off or not according to the foaming degree. In another aspect, the processing circuitry estimates the liquid level of the liquid but does not turn off the vibrator accordingly. Thus, the vibrator can be turned on or off more accurately, and the liquid level can be estimated more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sprayer, and more particularly to a sprayer capable of activating the shutoff of a vibrator according to the foaming degree of the sprayer. Background Art

[0002] In a sprayer, a liquid container is used to contain the liquid to be vaporized. The sprayer usually includes an ultrasonic vibrator, which is arranged in the lower part of the liquid container. The ultrasonic vibrator is usually implemented as a grid including a plurality of small holes. Under such a structure, the liquid passes through the small holes, and the grid vibrates at a high frequency (such as ultrasound) so that the liquid is ejected in the form of gas. When little or no liquid passes through the grid, the ultrasonic vibrator is at risk of being damaged. Therefore, the prior art detects whether there is liquid in the liquid container, or detects a decrease in the liquid level, and turns off the vibrator based on the detection result.

[0003] The conventional method for determining whether the liquid level in a container is low or zero is to place at least two electrodes on a grid. When the liquid level is sufficient to cover the grid, the electrodes are conductive. When the liquid level is too low or there is no liquid so that there is no liquid or not enough liquid to cover the grid, the electrodes will not conduct.

[0004] One problem with the prior art is that even if there is no liquid in the container, there may be bubbles left over from oscillating the liquid and covering the grid. This can cause the electrodes to conduct electricity even if the liquid level is not high enough for the ultrasonic vibrator to produce gas output. Therefore, even if there is no liquid in the container, the vibrator will not be powered off, and the vibrator may be damaged. Summary of the invention

[0005] An object of the present invention is to disclose a sprayer in which the vibrator can be turned off under appropriate conditions.

[0006] Another object of the present invention is to disclose a sprayer that can accurately predict the liquid level.

[0007] An embodiment of the present invention discloses a sprayer, comprising: a container for containing liquid; a channel comprising a first opening, a second opening, a vibrator and a grid, wherein when the liquid in the container passes through the vibrator through the first opening, the liquid becomes gas and is emitted through the second opening; a first optical sensor for sensing first optical data of at least a portion of the grid or at least a portion of the surface of the container; and a processing circuit for calculating the foaming degree of the grid or the surface according to the first optical data, and judging whether the vibrator should be turned off according to the foaming degree.

[0008] Another embodiment of the present invention discloses a sprayer, comprising: a container for containing liquid; a channel comprising a first opening, a second opening, a vibrator and a grid, wherein when the liquid in the container passes through the vibrator through the first opening, the liquid becomes gas and is emitted through the second opening; a first optical sensor for sensing first optical data of at least a portion of the grid or at least a portion of the surface of the container; and a processing circuit for calculating the degree of bubbling of the grid or the surface based on the first optical data, and predicting the liquid level of the liquid based on the bubbling degree.

[0009] According to the above-described embodiments, the vibrator can be activated / deactivated more appropriately and the liquid level can be estimated more accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 FIG. 4 is a schematic diagram of a sprayer according to an embodiment of the present invention.

[0011] Figure 2 Draws Figure 1 A partial enlarged diagram of the .

[0012] Figure 3 A schematic diagram of the step of determining the foaming degree according to an embodiment of the present invention is shown.

[0013] Figure 4 FIG. 4 is a schematic diagram of at least one electrode disposed on a grid according to an embodiment of the present invention.

[0014] Figure 5 FIG. 4 is a schematic diagram of a sprayer according to another embodiment of the present invention.

[0015] Figure 6 FIG. 1 is a diagram showing a method of performing a multi-functional optical fiber transmission system according to an embodiment of the present invention. Figure 5 A flow chart of the action of the nebulizer is shown.

[0016] The reference numerals are described as follows:

[0017] 100 Sprayer

[0018] 101 Container

[0019] 103 Main Body

[0020] 105 Grid

[0021] 109 channels

[0022] 110 Light-transmitting window

[0023] 111 Power

[0024] 113 Processing Circuit

[0025] 115 Switch

[0026] 117LED

[0027] 119 Detection Device

[0028] 123 Light Source

[0029] 125 substrate

[0030] 127 Light-transmitting window

[0031] 500 Sprayer

[0032] BI Binary Image

[0033] EL_1, EL_2, EL_3 electrodes

[0034] OP_1 First opening

[0035] OP_2 Second opening

[0036] OS_11, OS_12, OS_13, OS_14 first optical sensor

[0037] OS_15, OS_16, OS_17 first optical sensor

[0038] SI sensing image

[0039] Sr_1 first surface

[0040] Sr_2 second surface

[0041] Sr_2 third surface

[0042] Sr_4 fourth surface DETAILED DESCRIPTION

[0043] The present invention will be described below with multiple embodiments. Please note that the "first", "second" and similar descriptions in each embodiment are only used to define different elements, parameters, data, signals or steps. They are not used to limit their order. For example, the first device and the second device may have the same structure but are different devices.

[0044] Figure 11 is a schematic diagram of a sprayer according to an embodiment of the present invention. The sprayer 100 includes a container 101, a main body 103, a grid 105, a channel 109, a power supply 111, a processing circuit 113, a switch 115 and an LED (light-emitting diode) 117. The container 101 is used to contain liquid. In one embodiment, the container 101 can be removed from the main body 103, and the container 101 has a first opening OP_1 to release the liquid. The main body 103 includes a channel 109 for aerosol (gas) flow. The channel 109 has a second opening OP_2. In one embodiment, the second opening faces the first opening OP_1 of the container 101 to receive liquid from the container 101. In another embodiment, the first opening OP_1 overlaps with the second opening OP_2.

[0045] The grid 105 is arranged in the second opening OP_2 to vaporize the liquid in the container 101 into gas. In short, when the liquid in the container 101 passes through the grid 105 through the first opening OP_1, the liquid becomes gas and is discharged through the second opening OP_2. In other words, in this example, the grid 105 acts as a vibrator. However, the grid 105 and the vibrator can be two independent devices. The power supply 111 provides power (current) to the elements in the sprayer 100, such as providing power to the processing circuit 113, the grid 105 and the optical sensor, which will be described in the following description.

[0046] The switch 115 may be disposed on the outer surface of the sprayer 100 to allow the user to start and stop the power supply of the sprayer 100. In this case, the switch 115 is electrically connected to the processing circuit 113, so that when the user turns the sprayer 100 on or off, the processing circuit 113 will activate the grid 105 accordingly. Figure 1 As shown, the processing circuit 113 is also electrically connected to the grid 105 , so that the processing circuit 113 can directly shut down the grid 105 when a low liquid level or a zero liquid level in the container 101 is detected.

[0047] In one embodiment, the nebulizer 100 includes at least one optical sensor for sensing first optical data of at least a portion of the grid 105, or for sensing first optical data of at least a portion of the surface of the container 101. The position of the first optical sensor will be as follows: Figure 2 describe.

[0048] In this case, the processing circuit 113 is used to calculate the degree of bubbling of the grid 105 or the surface according to the first optical data. The processing circuit 113 is also used to determine whether to turn off the vibrator according to the degree of bubbling. For example, if the processing circuit 113 determines that the liquid level in the container 101 becomes low according to the degree of bubbling, the processing circuit 113 turns off the vibrator. On the contrary, if the processing circuit 113 determines that the liquid level in the container 101 is still high according to the degree of bubbling, the processing circuit 113 will not turn off the vibrator.

[0049] In the above case, the user can be notified that the liquid level in the container 101 is low by emitting a sound or activating a visual indicator such as, but not limited to, LED 117, which is located above the switch 115. LED 117 can be controlled by the processing circuit 113 after receiving feedback from the processing circuit 113.

[0050] The first optical sensor may be disposed at any position as long as the first optical sensor can sense the first optical data of at least a portion of the surface of the grid 105 or the container 101. In order to describe the position of the first optical sensor, the Figure 1 part of the description. Figure 2 Draws Figure 1 Please note that for ease of illustration, Figure 2 Not shown Figure 1 Some of the components in.

[0051] exist Figure 2 In the embodiment of the present invention, the container 101 includes a first surface Sr_1, a second surface Sr_2 and a third surface Sr_3. The second surface Sr_2 is opposite to the first surface Sr_1. The third surface Sr_3 is connected between the first surface Sr_1 and the second surface Sr_2, and is not parallel to the first surface Sr_1 and the second surface Sr_2. Figure 2 In the embodiment of the present invention, the angle between the third surface Sr_3 and the second surface Sr_2 and the angle between the third surface Sr_3 and the first surface Sr_1 are both 90°, but are not limited thereto. In other words, the container 101 may have other shapes, such as a trapezoid, instead of Figure 1 and Figure 2 The rectangle shown.

[0052] In one embodiment, the first opening OP_1 is located on the first surface Sr_1, and the first optical sensor is disposed on the second surface Sr_2, for example. Figure 2The first optical sensor OS_11 or the first optical sensor OS_12 is shown. In another embodiment, the first optical sensor is disposed on the third surface Sr_3, such as the first optical sensor OS_13. In yet another embodiment, the first optical sensor is disposed in a corner formed by the second surface Sr_2 and the third surface Sr_3, such as the first optical sensor OS_14. In yet another embodiment, the first optical sensor is located in the channel 109, such as the first optical sensor OS_15 or the first optical sensor OS_16.

[0053] In one embodiment, the first optical data is at least one sensed image, and the processing circuit 113 calculates the foaming degree according to the brightness information of the sensed image. Figure 3 A schematic diagram of the steps of determining the foaming degree according to an embodiment of the present invention is depicted. Figure 3 In the embodiment of the present invention, the sensed image SI sensed by the first optical sensor is converted into a binary image BI, which has only two pixel values ​​0 and 1. The number of pixels with pixel values ​​0 and 1 can be respectively obtained by Figure 3 The histogram shown is calculated, but not limited. In one embodiment, a pixel with a pixel value of 1 represents a bubble image, and a pixel with a pixel value of 0 represents a non-bubble image. Therefore, the number of pixels with pixel values ​​of 0 and 1 can be calculated to obtain the degree of foaming.

[0054] In one embodiment, the relationship between the number of pixels and the degree of foaming is recorded and a table is generated. For example, if the number of pixels with a pixel value of 1 is between 0 and 100, it means that the degree of foaming is low. For another example, if the number of pixels with a pixel value of 1 is above 1000, it means that the degree of foaming is high.

[0055] In one embodiment, Figure 3 The sensing image shown is sensed by the first optical sensor (e.g., the first optical sensor OS_11 or OS_15) facing the second opening OP_2. In another embodiment, the liquid level can be determined based on the brightness uniformity of the sensing image. In this case, the first optical sensor can output an image quality index representing the brightness uniformity.

[0056] If the liquid level is low, the surface may be exposed to the liquid, so the brightness uniformity of the sensed image may decrease due to the image of the surface. For example, if the liquid level in the container 101 is too low so that the fourth surface Sr_4 is exposed to the liquid, the sensed image of the first optical sensor OS_12 may have low brightness uniformity due to the image of the fourth surface Sr_4. In addition, in one embodiment, the sprayer 100 also includes a light-transmitting window 110 and a first optical sensor OS_17. The light-transmitting window 110 is opposite to the second surface Sr_2, and the first optical sensor OS_17 faces the liquid above the first surface Sr_1 through the light-transmitting window 110. In this case, if the liquid level in the container 101 is low, the image sensed by the first optical sensor OS_17 has low brightness uniformity. In this case, the low brightness uniformity may be caused by the image of the second surface Sr_2 or the image of the liquid.

[0057] In one embodiment, at least one electrode is set on the grid 105, such as Figure 4 As shown (taking three electrodes EL_1, EL_2, and EL_3 as an example). Please also note that the number, size, and arrangement of the electrodes are not limited to Figure 4 The electrodes EL_1, EL_2, and EL_3 are shown. If the number of electrodes is two or more, when the liquid level is sufficient to cover the grid 105, the electrodes are short-circuited (conductive to each other). On the contrary, when the liquid level is too low or empty so that there is no liquid or the liquid is insufficient to cover the grid 105, the electrodes will not be conductive to each other. If the number of electrodes is one, when the liquid level is sufficient to cover the grid 105, the electrode and another reference element (such as a metal wire) are conductive to each other. On the contrary, when the liquid level is too low or there is no liquid so that there is no liquid or insufficient liquid to cover the grid 105, the electrode is not conductive to another reference element.

[0058] Therefore, in Figure 4 In the embodiment of the present invention, the processing circuit 113 further determines whether the electrode is conductive. If the electrode is conductive, it may mean that the liquid level in the container 101 is high. In addition, if the foaming degree is lower than the first degree threshold, it may mean that the liquid level in the container 101 is high. On the contrary, if the foaming degree is higher than the first degree threshold, it may mean that the liquid level in the container 101 is low. Therefore, if the processing circuit 113 determines that the electrode is conductive and the foaming degree is lower than the first degree threshold, the processing circuit will not turn off the vibrator, because both results represent that the liquid level is still high.

[0059] In another embodiment, if the processing circuit 113 determines that the electrode is conductive but the foaming degree is higher than the second degree threshold, the processing circuit 101 turns off the vibrator. The first degree threshold and the second degree threshold may be the same or different. In another embodiment, the processing circuit 101 still keeps the vibrator running until the processing circuit 113 determines that the electrode is not conductive. In another embodiment, the processing circuit 101 turns off the vibrator based on only one of the result of whether the electrode is conductive and the result of the foaming degree, instead of referring to both results. Figure 1 , Figure 2 , Figure 3 and Figure 4 Such variations of the illustrated embodiments are intended to fall within the scope of the present invention.

[0060] The processing circuit 113 may turn off the vibrator according to other information of the first optical data. Figure 5 FIG. 2 is a schematic diagram of a sprayer according to another embodiment of the present invention. Figure 5 In the embodiment of the present invention, the sprayer 500 further includes a detection device 119 . The detection device 119 includes a processing circuit 113 , a second optical sensor OS_2 , and a light source 123 assembled in a substrate 125 .

[0061] The light source 123 irradiates the gas, and the irradiated gas is reflected by the channel 109 and detected by the second optical sensor OS_2. The processing circuit 113 receives brightness information (e.g., brightness value) from the second optical sensor OS_2, wherein the processing circuit 113 may be a DSP (digital signal processor), an MCU (microcontroller unit), or any hardware capable of calculating digital or analog signals. The second optical sensor OS_2 may be a CMOS image sensor or a photodiode capable of detecting light emitted by the light source 123. The light source 123 may be an LED or a laser capable of emitting light to the channel 109.

[0062] The power source 111 also provides power (e.g., current) to the substrate 125 to power the processing circuit 113, the second optical sensor OS_2, and the light source 123. The processing circuit 113 is electrically connected to the second optical sensor OS_2, the light source 123, and the vibrator to control the actions of the second optical sensor OS_2, the light source 123, and the vibrator. In one embodiment, the light source 123 can be controlled by another controller independent of the processing circuit 113.

[0063] like Figure 5 As shown, the channel 109 includes a light-transmitting window 127 facing the second optical sensor OS_2 and includes a light source 123 to allow light emitted by the light source 123 to pass through and illuminate the gas, and allow the second optical sensor OS_2 to detect the illuminated gas.

[0064] By illuminating the emitted gas with the light source 123 and detecting the light information through the second optical sensor OS_2, the average intensity of the light received by the second optical sensor OS_2 can be calculated by the processing circuit 113, so that the processing circuit 113 can determine the average density of the gas. Although the present invention is not limited to detecting a specific gas suspension, the particles suspended in the emitted gas should be large enough to react to the density of the gas when illuminated by the light source.

[0065] When the gas is irradiated with the light source 123, the light will be reflected by the gas, and the amount / intensity of the reflected light will vary depending on the density of the gas. If the gas is very dense, the intensity of the reflected light will be very high. On the contrary, as the density of the gas decreases, the intensity of the reflected light will also decrease. In an embodiment of the present invention, at least one threshold corresponding to a specific intensity (e.g., low intensity) of the reflected light can be set. When the reflected light is lower than the threshold, it can be determined that the liquid level has become lower, resulting in an insufficient number of particles in the gas, making the gas less dense. At this point, the processing circuit 113 can perform an action to turn off the vibrator.

[0066] Since different liquids will have different densities when they become gases and are discharged, multiple thresholds corresponding to different liquids can be set. In this case, the processing circuit 113 can be set to a specific mode to detect a specific threshold corresponding to a specific liquid. In addition, multiple thresholds can be set for different densities of the same gas. When there is a low liquid level in the container 101, the vibrator can still emit gas, so it will not be damaged immediately. When the liquid level in the container 101 is almost zero, the vibrator is in danger of immediate damage. Therefore, in one embodiment, a first threshold corresponding to the first situation can be set, and a second threshold corresponding to the second situation can be set. When it is lower than the first threshold, the user can be notified that the liquid in the container 101 should be replaced, but it will not cause the vibrator to shut down immediately. In one embodiment, the inner surface of the channel 109 should not have high reflectivity, because high reflectivity may affect the intensity of the reflected light and cause an erroneous light intensity judgment result.

[0067] Regardless of whether the working mode is set with only one threshold or the working mode is set with multiple thresholds, when the parameter of the received light is lower than a threshold, the processing circuit 113 will directly stop the vibrator from generating gas. This threshold corresponds to a low liquid level, which means that the vibrator may be in danger of being damaged. For example, the processing circuit 113 determines whether the intensity of the reflected light received by the second optical sensor OS_2 is lower than the threshold, and determines that the liquid level is insufficient when the intensity is lower than the threshold. This threshold can be manually adjusted by the user, or automatically adjusted when the processor receives information about the liquid through a wired connection port (e.g., USB) or a wireless connection (e.g., Bluetooth).

[0068] In one embodiment, the light source 123 is infrared (IR) light, because it is invisible to the user and therefore does not affect or influence the user in any negative way. In another embodiment, the light source 123 may also include multiple light sources that emit light of multiple wavelengths, and the second optical sensor OS_2 may detect different light intensity information corresponding to these different wavelengths, so that the processing circuit 113 can analyze the density of the gas more accurately. In one embodiment, ultrasound may be used instead of infrared.

[0069] The standard size of the detectable particles may be 5 microns. In one embodiment, the detection device 119 is only capable of detecting a specific particle size. In another embodiment, the detection device 119 is capable of detecting particles within a certain size range. In this case, the second optical sensor OS_2 may be instructed which size of particles to detect, and the detection range of the second optical sensor OS_2 may be set accordingly.

[0070] Once the processing circuit 113 turns off the vibrator so that no gas is emitted, the second optical sensor OS_2 and the light source 123 may be reset or turned off accordingly.

[0071] The above structure can also be applied to a system for detecting the cleanliness / purity of air. As known to those skilled in the art, the presence of 2.5, 5, etc. particles in the air represents pollution. Therefore, the above embodiment can be applied to an air pollution index test system.

[0072] Please refer to Figure 6 , Figure 6 is a flow chart detailing the actions of the second optical sensor OS_2 and the processing circuit 113 of the nebulizer 500. Please also note that the process of the present invention is not limited to the steps detailed below; some steps may be inserted, deleted, and the order of the steps may be changed, as long as the method detects the density of the emitted gas and uses the density to control the action of the nebulizer.

[0073] Figure 6 The process includes the following steps:

[0074] Step 601: Start.

[0075] If light of multiple wavelengths is provided, go to step 603; otherwise, go to step 604. If light of a single wavelength is provided, execute step 605.

[0076] Step 603: Light source mode selection.

[0077] Step 605: Continuous excitation light.

[0078] Step 607: Receive an optical signal.

[0079] Step 609: Is the received optical signal higher than the starting threshold? If yes, go to step 611; otherwise, go to step 611. If no, go back to step 607.

[0080] Step 611: Obtain the maximum amplitude.

[0081] Step 613: Determine whether the specific percentage of the maximum amplitude is lower than the weak spray threshold. If yes, go to step 615; otherwise, go to step 616. If no, return to step 611.

[0082] Step 615: Turn off the sprayer.

[0083] Step 617: End.

[0084] In the above Figure 5 and Figure 6 In the description of FIG. 1 , the processing circuit 113 turns off the vibrator only according to the second optical data sensed by the second optical sensor OS_2. However, the processing circuit 113 may also turn off the vibrator according to Figure 1 and Figure 2 The vibrator is turned off by using the first optical data shown in the embodiment and the second optical data described above.

[0085] According to the above description, if the brightness information of the second optical data is lower than the first threshold, it means that the liquid level may be low. In addition, if the foaming degree is lower than the third degree threshold, it may mean that the liquid level may still be high. Therefore, in one embodiment, if the brightness information of the second optical data is lower than the first threshold and the foaming degree is lower than the third degree threshold, the processing circuit will not turn off the vibrator. On the contrary, in another embodiment, if the brightness information of the second optical data is lower than the first threshold and the foaming degree is higher than the fourth degree threshold, the processing circuit turns off the vibrator. The third level threshold and the fourth level threshold may be the same, but may also be different.

[0086] In the above embodiment, all the detection results are used as a reference for shutting down the vibrator. However, the detection results can be used to estimate whether the liquid level in the container is high or low. For example, the processing circuit 113 can determine whether the liquid level in the container is high or low based on the foaming degree and / or the conduction of the electrode, or based on the Figure 5 and Figure 6 The processing circuit 113 estimates the liquid level in the container 101 based on the foaming level and / or the second optical data. In a more specific example, if the foaming level is lower than the first level threshold, the processing circuit 113 estimates the liquid level to be high, and if the foaming level is higher than the second level threshold, the processing circuit 113 estimates the liquid level to be low.

[0087] The aforementioned liquid level is not limited to being used to turn off the vibrator. For example, if the liquid level is low, the sprayer can generate a reminder message. For another example, in one embodiment, the container is connected to an external solution source, and the container is refilled if the liquid level is low. For another example, if the liquid level is low, the vibrator can be turned off; if the liquid level changes from low to high, the vibrator can be started again.

[0088] According to the above-described embodiments, the vibrator can be activated / deactivated more appropriately and the liquid level can be estimated more accurately.

[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A sprayer, characterized in that: include: Containers, used to hold liquids; a channel including a first opening, a second opening, a vibrator, and a grid, wherein when the liquid in the container passes through the vibrator through the first opening, the liquid becomes gas and is emitted through the second opening; A first optical sensor for sensing first optical data of at least a portion of the grid or at least a portion of the surface of the container; as well as The processing circuit is used to calculate the bubbling degree of the grid or the surface according to the first optical data, and determine whether the vibrator should be turned off according to the bubbling degree.

2. The sprayer according to claim 1, characterized in that The first optical data is a sensing image, and the processing circuit calculates the foaming degree according to brightness information of the sensing image.

3. The sprayer according to claim 1, characterized in that Further including: electrodes, disposed on the grid; The processing circuit is further used to determine whether the electrode is conductive; If the processing circuit determines that the electrode is conductive and the bubbling level is lower than a first level threshold, the processing circuit does not turn off the vibrator.

4. The sprayer according to claim 1, characterized in that Further including: electrodes, disposed on the grid; The processing circuit is further used to determine whether the electrode is conductive; If the processing circuit determines that the electrode is turned on and the bubbling level is higher than a second level threshold, the processing circuit turns off the vibrator.

5. The sprayer according to claim 1, characterized in that Further including: A detection device, located outside the passage and comprising: a light source for emitting light to pass through the light-transmitting window of the channel to illuminate the gas in the channel so that the gas reflects the light to generate reflected light; and a second optical sensor, configured to sense second optical data generated according to the reflected light; If the brightness information of the second optical data is lower than a first threshold and the bubbling level is lower than a third threshold, the processing circuit does not turn off the vibrator.

6. The sprayer according to claim 1, characterized in that Further including: A detection device, located outside the passage and comprising: a light source for emitting light to pass through the light-transmitting window of the channel to illuminate the gas in the channel so that the gas reflects the light to generate reflected light; and a second optical sensor, configured to sense second optical data generated according to the reflected light; If the brightness information of the second optical data is lower than a first threshold and the bubbling level is higher than a fourth threshold, the processing circuit turns off the vibrator.

7. The sprayer according to claim 1, characterized in that The first opening is located on a first surface of the container and the first optical sensor is disposed on a second surface of the container, wherein the second surface is opposite to the first surface.

8. The sprayer according to claim 1, characterized in that The first opening is located on the first surface of the container and the first optical sensor is disposed on the third surface of the container, wherein the third surface is not parallel to the first surface.

9. The sprayer according to claim 1, characterized in that The container includes a first surface, a second surface, and a third surface; The first opening is located on the first surface, and the second surface is opposite to the first surface; The third surface is connected between the first surface and the second surface, and forms a corner with the second surface; The first optical sensor is located at the corner.

10. The sprayer according to claim 1, characterized in that The first optical sensor is located in the channel.

11. A sprayer, characterized in that: include: Containers, used to hold liquids; a channel including a first opening, a second opening, a vibrator, and a grid, wherein when the liquid in the container passes through the vibrator through the first opening, the liquid becomes gas and is emitted through the second opening; A first optical sensor for sensing first optical data of at least a portion of the grid or at least a portion of the surface of the container; as well as The processing circuit is used to calculate the foaming degree of the grid or the surface according to the first optical data, and predict the liquid level of the liquid according to the foaming degree.

12. The sprayer according to claim 10, characterized in that The first optical data is a sensing image, and the processing circuit predicts the liquid level according to brightness information of the sensing image.

13. The sprayer according to claim 11, characterized in that Further including: electrodes, disposed on the grid; The processing circuit is further used to determine whether the electrode is conductive; If the processing circuit determines that the electrode is conductive and the foaming level is lower than a first level threshold, the processing circuit predicts that the liquid level is high.

14. The sprayer according to claim 11, wherein Further including: electrodes, disposed on the grid; The processing circuit is further used to determine whether the electrode is conductive; If the processing circuit determines that the electrode is conductive and the foaming level is higher than a second level threshold, the processing circuit predicts that the liquid level is low.

15. The sprayer according to claim 11, characterized in that Further including: A detection device, located outside the passage and comprising: a light source for emitting light to pass through the light-transmitting window of the channel to illuminate the gas in the channel so that the gas reflects the light to generate reflected light; and a second optical sensor, configured to sense second optical data generated according to the reflected light; If the brightness information of the second optical data is lower than a first threshold and the foaming degree is lower than a third threshold, the processing circuit determines that the liquid level is high.

16. The sprayer according to claim 11, wherein: Further including: A detection device, located outside the passage and comprising: a light source for emitting light to pass through the light-transmitting window of the channel to illuminate the gas in the channel so that the gas reflects the light to generate reflected light; and a second optical sensor, configured to sense second optical data generated according to the reflected light; If the brightness information of the second optical data is lower than a first threshold and the foaming degree is higher than a fourth threshold, the processing circuit determines that the liquid level is low.

17. The sprayer according to claim 11, wherein: The first opening is located on a first surface of the container and the first optical sensor is disposed on a second surface of the container, wherein the second surface is opposite to the first surface.

18. The sprayer according to claim 11, wherein: The first opening is located on the first surface of the container and the first optical sensor is disposed on the third surface of the container, wherein the third surface is not parallel to the first surface.

19. The sprayer according to claim 11, characterized in that The container includes a first surface, a second surface, and a third surface; The first opening is located on the first surface, and the second surface is opposite to the first surface; The third surface is connected between the first surface and the second surface, and forms a corner with the second surface; The first optical sensor is located at the corner.

20. The sprayer according to claim 11, wherein The first optical sensor is located in the channel.