Steaming oven water tank liquid level detection device based on capacitive touch MCU
Through the combination of capacitive touch MCU and temperature compensation algorithm, non-contact accurate detection of liquid level in the steaming oven is achieved, which solves the problems of float contamination, photoelectric sensor complexity and ultrasonic wave being easily affected by temperature in the existing technology, and provides high-quality Accurate and stable liquid level detection.
Patent Information
- Application Number
- CN202410821751.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-20
AI Technical Summary
The existing steam oven liquid level detection device has problems such as float contamination, complex photoelectric sensor structure, and ultrasonic waves are easily affected by temperature and water mist, making it difficult to achieve accurate and stable liquid level detection.
A liquid level detection device based on capacitive touch MCU is used to measure capacitance changes in a non-contact manner. It is combined with the NTC temperature measurement detection module and LDO linear voltage regulator circuit, and uses the UART communication protocol and temperature compensation algorithm to achieve accurate liquid level detection.
It improves the accuracy and stability of liquid level detection, avoids liquid pollution and the impact of water quality, has a simple structure and is quick to install. It is suitable for different temperature environments and meets the water level control needs of steaming ovens.
Smart Images

Figure CN118670478A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of steam oven water tank liquid level detection equipment, and in particular to a steam oven water tank liquid level detection device based on a capacitive touch MCU. Background Art
[0002] In a steam oven, the water tank plays an important role, providing steam and humidity to keep the food moist and tasty. The water level control of the water tank can affect the steaming and baking effect, energy efficiency, and safety of use. The liquid level detection devices on the market usually use float-type water level sensors, photoelectric water level sensors, and ultrasonic sensors for liquid level detection. Float-type water level sensors are generally composed of a float and a sensor. The float floats up and down with the change of the water level. The sensor will detect the change of the float position to determine the height of the water level. However, in this way, the float needs to contact the water, which may cause pollution to the water quality; the photoelectric water level sensor is usually composed of a light emitter and a receiver. The light emitter emits light, which will be refracted and reflected when passing through the water surface. The receiver will receive the reflected light signal and determine the water level according to the intensity of the reflected light. However, this method requires holes to be opened in the structure, and the detection accuracy is easily affected by the turbidity of the water. The ultrasonic sensor has a blind spot when detecting the water level and is easily affected by temperature. It cannot be used in media with water mist or a large amount of foam. If there are obstacles, it will affect the ultrasonic emission and cause signal loss, affecting the measurement results. The above-mentioned sensors do not meet the needs of personnel. In order to more accurately detect the water level in the water tank, we proposed a steam oven water tank liquid level detection device based on a capacitive touch MCU. Summary of the invention
[0003] Based on the technical problems existing in the background technology, the present invention proposes a steam oven water tank liquid level detection device based on a capacitive touch MCU.
[0004] The present invention proposes a steam oven water tank liquid level detection device based on a capacitive touch MCU, comprising a steam oven water tank liquid level detection device body, the steam oven water tank liquid level detection device body comprising a capacitive touch MCU module, a steam oven main controller, an NTC temperature measurement detection module, an LDO linear voltage regulator circuit, a debugging tool, a touch detection circuit and a liquid level detection copper foil, the steam oven main controller, the NTC temperature measurement detection module, the LDO linear voltage regulator circuit, the debugging tool, the touch detection circuit and the liquid level detection copper foil are all connected to the capacitive touch MCU module;
[0005] The main body of the steam oven water tank liquid level detection device also includes a water tank and a steam oven shell.
[0006] Preferably, the number of the liquid level detection copper foils is 13, which are used to detect 13 levels of liquid levels. The liquid level detection copper foils are attached to the inner wall of the steam oven shell near the water tank. The thickness of the water tank is 3 mm, the thickness of the steam oven shell is 4 mm, and the air gap between the water tank and the steam oven shell is 2 mm.
[0007] Preferably, the NTC temperature measurement detection module is used to collect the temperature in the water tank and perform temperature compensation on the collected temperature, and the LDO linear voltage regulator circuit is used to stabilize the voltage to ensure that the power supply of the capacitive touch MCU module is stable and the power supply ripple is within a reasonable range.
[0008] Preferably, the LDO linear voltage stabilization circuit includes a chip U1, a pin 1 of the chip U1 is electrically connected to one end of a capacitor C3 and one end of a resistor R1, the other end of the capacitor C3 and a pin 2 of the chip U1 are both grounded, a pin 3 of the chip U1 is electrically connected to one end of a resistor R6, the other end of the resistor R6 and a pin 1 of the chip U1 are both electrically connected to a power supply voltage VCC, a pin 5 of the chip U1 is electrically connected to one end of a capacitor C1, one end of a capacitor C2 and one end of a resistor R3, the other end of the capacitor C1 and the other end of the capacitor C2 are both grounded, and the other end of the resistor R3 and the other end of the resistor R1 are both electrically connected to a 3.3V voltage.
[0009] Preferably, the capacitive touch MCU module includes an MCU chip U2, pin 1 of the MCU chip U2 is electrically connected to one end of a resistor R9, and the other end of the resistor R9 is electrically connected to a test point T1, pin 2 of the MCU chip U2 is electrically connected to one end of a resistor R11, and the other end of the resistor R11 is electrically connected to a test point T11, pin 3 of the MCU chip U2 is electrically connected to one end of a resistor R13, and the other end of the resistor R13 is electrically connected to a test point T5, pin 4 and pin 5 of the MCU chip U2 are electrically connected to one end of a resistor R15 and one end of a resistor R17, respectively, and the other end of the resistor R15 and the other end of the resistor R17 are electrically connected to a test point T12 and a test point T13, respectively, and pin 7 of the MCU chip U2 is electrically connected to one end of a capacitor C6 and one end of a capacitor C5, and the other end of the capacitor C6 and the other end of the capacitor C5 are both electrically connected to Pin 8 of the MCU chip U2 is electrically connected, and pin 7 of the MCU chip U2 is also grounded. Pins 11, 12, 15, 16, 17, 18, 19, and 20 of the MCU chip U2 are electrically connected to one end of the resistor R21, one end of the resistor R20, one end of the resistor R10, one end of the resistor R19, one end of the resistor R18, one end of the resistor R16, one end of the resistor R14, and one end of the resistor R12, respectively. The other end of the resistor R21, the other end of the resistor R20, the other end of the resistor R10, the other end of the resistor R19, the other end of the resistor R18, the other end of the resistor R16, the other end of the resistor R14, and the other end of the resistor R12 are electrically connected to test points T10, T9, T8, T7, T6, T4, T3, and T2, respectively.
[0010] Pin 6 of the MCU chip U2 is electrically connected to one end of a resistor R5, the other end of the resistor R5 is electrically connected to one end of a resistor R4, one end of the resistor R2 and one end of a capacitor C4, and the other end of the resistor R4 and the other end of the capacitor C4 are both grounded;
[0011] Pin 13 and pin 14 of the MCU chip U2 are electrically connected to one end of resistor R7 and one end of resistor R8 respectively, the other end of resistor R7 is electrically connected to pin 3 of pin connector P1, pin 2 of pin connector P1 is electrically connected to the other end of resistor R8, pin 1 of pin connector P1 is grounded, and pin 4 of pin connector P1 is electrically connected to power supply voltage VCC.
[0012] Preferably, the model of the MCU chip U2 is AS9072DT-M.
[0013] Preferably, the capacitive touch MCU module communicates with the steam oven main controller via a UART communication protocol.
[0014] Preferably, the NTC temperature measurement module can obtain the real-time value of the same liquid level capacitance detection at different temperatures in real time, thereby obtaining the capacitance change of the liquid level detection channel caused by temperature, obtaining the temperature compensation coefficient and substituting it into the temperature compensation algorithm, so as to eliminate the influence of temperature on the liquid level detection accuracy.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] The present invention detects the liquid level in the water tank by measuring the change of capacitance in a non-contact manner, and combined with a temperature compensation algorithm, can perform accurate liquid level detection at different temperatures, thereby improving detection accuracy. Compared with other liquid level detection sensors, the present invention has the advantages of simple structure and installation process, fast dynamic response, and no need to open holes in the water tank and the shell. It only needs to stick the liquid level detection copper foil to the outer wall of the water tank or the inner wall of the steam oven shell close to the water tank to detect the liquid level. The non-contact measurement method makes it unaffected by substances such as dirt, impurities, and sediments in the liquid and various properties of the liquid itself, thereby making the detection accuracy and stability higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a system block diagram of a steam oven water tank liquid level detection device based on a capacitive touch MCU proposed by the present invention;
[0018] Figure 2 This is a schematic diagram of a liquid level detection copper foil attached to a steam oven shell in a steam oven water tank liquid level detection device based on a capacitive touch MCU proposed by the present invention;
[0019] Figure 3 for Figure 2 Schematic diagram of the left view structure;
[0020] Figure 4 This is a circuit diagram of an LDO linear voltage regulator circuit in a steam oven water tank liquid level detection device based on a capacitive touch MCU proposed by the present invention;
[0021] Figure 5 A circuit diagram of a capacitive touch MCU module of a steam oven water tank liquid level detection device based on a capacitive touch MCU proposed by the present invention. DETAILED DESCRIPTION
[0022] The present invention will be further explained below in conjunction with specific embodiments.
[0023] Example
[0024] Reference Figure 1-5This embodiment proposes a steam oven water tank liquid level detection device based on a capacitive touch MCU, including a steam oven water tank liquid level detection device body, the steam oven water tank liquid level detection device body includes a capacitive touch MCU module, a steam oven main controller, an NTC temperature measurement detection module, an LDO linear voltage regulator circuit, a debugging tool, a touch detection circuit and a liquid level detection copper foil, the steam oven main controller, the NTC temperature measurement detection module, the LDO linear voltage regulator circuit, the debugging tool, the touch detection circuit and the liquid level detection copper foil are all connected to the capacitive touch MCU module; wherein the liquid level detection copper foil can detect a small capacitance change caused by a water level change;
[0025] The capacitive touch MCU module communicates with the main controller of the steam oven through the UART communication protocol. The NTC temperature measurement module is used to collect the temperature in the water tank and perform temperature compensation on the collected temperature. The LDO linear voltage regulator circuit is used to stabilize the voltage to ensure that the power supply of the capacitive touch MCU module is stable and the power supply ripple is within a reasonable range. The NTC temperature measurement module can obtain the real-time value of the same liquid level capacitance detection at different temperatures in real time, thereby obtaining the capacitance change of the liquid level detection channel caused by temperature, obtaining the temperature compensation coefficient and substituting it into the temperature compensation algorithm to eliminate the influence of temperature on the liquid level detection accuracy.
[0026] The LDO linear voltage stabilizing circuit includes a chip U1, wherein a pin 1 of the chip U1 is electrically connected to one end of a capacitor C3 and one end of a resistor R1, the other end of the capacitor C3 and a pin 2 of the chip U1 are both grounded, a pin 3 of the chip U1 is electrically connected to one end of a resistor R6, the other end of the resistor R6 and a pin 1 of the chip U1 are both electrically connected to a power supply voltage VCC, a pin 5 of the chip U1 is electrically connected to one end of a capacitor C1, one end of a capacitor C2 and one end of a resistor R3, the other end of the capacitor C1 and the other end of the capacitor C2 are both grounded, and the other end of the resistor R3 and the other end of the resistor R1 are both electrically connected to a 3.3V voltage;
[0027] The capacitive touch MCU module includes an MCU chip U2, wherein the model of the MCU chip U2 is AS9072DT-M, and pin 1 of the MCU chip U2 is electrically connected to one end of a resistor R9, and the other end of the resistor R9 is electrically connected to a test point T1, and pin 2 of the MCU chip U2 is electrically connected to one end of a resistor R11, and the other end of the resistor R11 is electrically connected to a test point T11, and pin 3 of the MCU chip U2 is electrically connected to one end of a resistor R13, and the other end of the resistor R13 is electrically connected to a test point T5, and pins 4 and 5 of the MCU chip U2 are electrically connected to one end of a resistor R15 and one end of a resistor R17, respectively, and the other end of the resistor R15 and the other end of the resistor R17 are electrically connected to test points T12 and T13, respectively, and pin 7 of the MCU chip U2 is electrically connected to one end of a capacitor C6 and one end of a capacitor C5, and the other end of the capacitor C6 is electrically connected to a test point T12. The other end of capacitor C5 is electrically connected to pin 8 of MCU chip U2, pin 7 of MCU chip U2 is also grounded, pin 11, pin 12, pin 15, pin 16, pin 17, pin 18, pin 19 and pin 20 of MCU chip U2 are electrically connected to one end of resistor R21, one end of resistor R20, one end of resistor R10, one end of resistor R19, one end of resistor R18, one end of resistor R16, one end of resistor R14 and one end of resistor R12 respectively, and the other end of resistor R21, the other end of resistor R20, the other end of resistor R10, the other end of resistor R19, the other end of resistor R18, the other end of resistor R16, the other end of resistor R14 and the other end of resistor R12 are electrically connected to test point T10, test point T9, test point T8, test point T7, test point T6, test point T4, test point T3 and test point T2 respectively;
[0028] Pin 6 of the MCU chip U2 is electrically connected to one end of a resistor R5, the other end of the resistor R5 is electrically connected to one end of a resistor R4, one end of the resistor R2 and one end of a capacitor C4, and the other end of the resistor R4 and the other end of the capacitor C4 are both grounded;
[0029] Pin 13 and pin 14 of the MCU chip U2 are electrically connected to one end of the resistor R7 and one end of the resistor R8, respectively. The other end of the resistor R7 is electrically connected to pin 3 of the pin connector P1. Pin 2 of the pin connector P1 is electrically connected to the other end of the resistor R8. Pin 1 of the pin connector P1 is grounded. Pin 4 of the pin connector P1 is electrically connected to the power supply voltage VCC.
[0030] The main body of the steam oven water tank liquid level detection device also includes a water tank and a steam oven shell, wherein the number of liquid level detection copper foils is 13, which are used to detect 13 levels of liquid levels. The liquid level detection copper foils are attached to the inner wall of the steam oven shell near the water tank. The thickness of the water tank is 3mm, the thickness of the steam oven shell is 4mm, and the air gap between the water tank and the steam oven shell is 2mm.
[0031] This embodiment detects the liquid level in the water tank by measuring the change in capacitance, and uses a special capacitance detection chip to perform capacitance detection and data processing to achieve the purpose of liquid level detection. Compared with other liquid level detection sensors, it has the advantages of simple structure and installation process, fast dynamic response, and no need to open holes in the water tank and the shell. It only needs to stick the PCB to the outer wall of the water tank or the inner wall of the steam oven close to the water tank to detect the liquid level. The non-contact measurement method is not affected by substances such as dirt, impurities, sediments in the liquid and various properties of the liquid itself. In combination with the temperature compensation algorithm, accurate liquid level detection can be performed at different temperatures. It communicates with the steam oven main controller through the UART communication protocol, which can meet the requirements of water level control of the steam oven, ensure the stability, energy efficiency and safety of the steaming and baking process, and provide a high-quality cooking experience.
[0032] In this embodiment, when the liquid level of the water tank is detected, the liquid level detection copper foil is attached to the inner wall of the steam oven shell near the water tank, and a stable voltage is provided for the entire device through an LDO linear voltage stabilizing circuit. 13 levels of liquid levels are detected respectively through 13 liquid level detections. When the liquid level in the water tank reaches the liquid level detection copper foil area, the liquid level detection copper foil can detect the capacitance change at this position, and transmit the detected liquid level value and capacitance value to the capacitive touch MCU module. In the process of detecting the liquid level, the NTC temperature measurement detection module collects the temperature of the environment and transmits it to the capacitive touch MCU module. The capacitive touch MCU module sends the collected data to the steam oven main controller through the UART communication protocol. In the process of detecting the temperature by the NTC temperature measurement detection module, the real-time value of the same liquid level capacitance detection at different temperatures is obtained in real time, thereby obtaining the capacitance change of the liquid level detection channel due to the influence of temperature, obtaining the temperature compensation coefficient and substituting it into the temperature compensation algorithm, and performing temperature compensation, thereby eliminating the influence of temperature on the liquid level detection accuracy;
[0033] When the water tank is empty and full, instructions are sent to the capacitive touch MCU module respectively. The capacitive touch MCU module writes the capacitance value sent by each channel into the EEPROM as a basis for judgment, so as to eliminate the influence of different chips, peripheral device errors, structural tolerances, etc. The steam oven main controller reads the empty and full values of the EEPROM, sums them and divides them by 2 to obtain the median value, subtracts the empty value from the full value and multiplies it by 5% or 10% (or any one data according to the actual accuracy) to obtain the error value, and obtains the judgment threshold of each channel (respectively: full judgment value and empty judgment value) by adding and subtracting the error value from the median value. When the real-time value after temperature compensation is greater than the full judgment value, the output liquid level reaches the current channel. When it is lower than the empty judgment value, the output liquid level is lower than the current channel, and when the liquid level is in the middle, the result of the last judgment is retained, thereby realizing the detection of the water tank liquid level. According to the water tank liquid level, the main controller of the steam oven can control the steam oven power, issue a water addition or water shortage alarm, or perform water shortage protection, etc. This non-contact measurement does not require physical contact with the liquid, and detects the height of the liquid level through changes in capacitance, reducing the direct contact between the sensor and the liquid to be measured, avoiding pollution and corrosion. In addition, the water level detection is not affected by factors such as the turbidity of the water quality, which enables it to work reliably in various complex environments. In addition, the temperature compensation function is used to reduce the influence of temperature on the detection accuracy and improve the detection accuracy.
[0034] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A steam oven water tank liquid level detection device based on a capacitive touch MCU, comprising a steam oven water tank liquid level detection device body, characterized in that: The steam oven water tank liquid level detection device body comprises a capacitive touch MCU module, a steam oven main controller, an NTC temperature measurement detection module, an LDO linear voltage stabilization circuit, a debugging tool, a touch detection circuit and a liquid level detection copper foil, and the steam oven main controller, the NTC temperature measurement detection module, the LDO linear voltage stabilization circuit, the debugging tool, the touch detection circuit and the liquid level detection copper foil are all connected to the capacitive touch MCU module; The main body of the steam oven water tank liquid level detection device also includes a water tank and a steam oven shell.
2. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 1, characterized in that: There are 13 liquid level detection copper foils for detecting 13 levels of liquid levels. The liquid level detection copper foils are attached to the inner wall of the steam oven shell near the water tank. The thickness of the water tank is 3 mm, the thickness of the steam oven shell is 4 mm, and the air gap between the water tank and the steam oven shell is 2 mm.
3. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 1, characterized in that: The NTC temperature measurement and detection module is used to collect the temperature in the water tank and perform temperature compensation on the collected temperature. The LDO linear voltage regulator circuit is used to stabilize the voltage to ensure that the power supply of the capacitive touch MCU module is stable and the power supply ripple is within a reasonable range.
4. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 1, characterized in that: The LDO linear voltage stabilization circuit includes a chip U1, wherein pin 1 of the chip U1 is electrically connected to one end of a capacitor C3 and one end of a resistor R1, the other end of the capacitor C3 and pin 2 of the chip U1 are both grounded, pin 3 of the chip U1 is electrically connected to one end of a resistor R6, the other end of the resistor R6 and pin 1 of the chip U1 are both electrically connected to a power supply voltage VCC, pin 5 of the chip U1 is electrically connected to one end of the capacitor C1, one end of the capacitor C2 and one end of the resistor R3, the other end of the capacitor C1 and the other end of the capacitor C2 are both grounded, and the other end of the resistor R3 and the other end of the resistor R1 are both electrically connected to a 3.3V voltage.
5. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 4, characterized in that: The capacitive touch MCU module includes an MCU chip U2, wherein pin 1 of the MCU chip U2 is electrically connected to one end of a resistor R9, and the other end of the resistor R9 is electrically connected to a test point T1, pin 2 of the MCU chip U2 is electrically connected to one end of a resistor R11, and the other end of the resistor R11 is electrically connected to a test point T11, pin 3 of the MCU chip U2 is electrically connected to one end of a resistor R13, and the other end of the resistor R13 is electrically connected to a test point T5, pin 4 and pin 5 of the MCU chip U2 are electrically connected to one end of a resistor R15 and one end of a resistor R17, respectively, and the other end of the resistor R15 and the other end of the resistor R17 are electrically connected to a test point T12 and a test point T13, respectively, and pin 7 of the MCU chip U2 is electrically connected to one end of a capacitor C6 and one end of a capacitor C5, and the other end of the capacitor C6 and the other end of the capacitor C5 are both connected to the MC Pin 8 of the U chip U2 is electrically connected, and pin 7 of the MCU chip U2 is also grounded. Pins 11, 12, 15, 16, 17, 18, 19, and 20 of the MCU chip U2 are electrically connected to one end of the resistor R21, one end of the resistor R20, one end of the resistor R10, one end of the resistor R19, one end of the resistor R18, one end of the resistor R16, one end of the resistor R14, and one end of the resistor R12, respectively. The other end of the resistor R21, the other end of the resistor R20, the other end of the resistor R10, the other end of the resistor R19, the other end of the resistor R18, the other end of the resistor R16, the other end of the resistor R14, and the other end of the resistor R12 are electrically connected to test points T10, T9, T8, T7, T6, T4, T3, and T2, respectively. Pin 6 of the MCU chip U2 is electrically connected to one end of a resistor R5, the other end of the resistor R5 is electrically connected to one end of a resistor R4, one end of the resistor R2 and one end of a capacitor C4, and the other end of the resistor R4 and the other end of the capacitor C4 are both grounded; Pin 13 and pin 14 of the MCU chip U2 are electrically connected to one end of resistor R7 and one end of resistor R8 respectively, the other end of resistor R7 is electrically connected to pin 3 of pin connector P1, pin 2 of pin connector P1 is electrically connected to the other end of resistor R8, pin 1 of pin connector P1 is grounded, and pin 4 of pin connector P1 is electrically connected to power supply voltage VCC.
6. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 5, characterized in that: The model of the MCU chip U2 is AS9072DT-M.
7. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 1, characterized in that: The capacitive touch MCU module communicates with the steam oven main controller via the UART communication protocol.
8. The device for detecting liquid level of a steam oven water tank based on a capacitive touch MCU according to claim 1, characterized in that: The NTC temperature measurement module can obtain the real-time value of the same liquid level capacitance detection at different temperatures in real time, thereby obtaining the capacitance change of the liquid level detection channel caused by temperature, obtaining the temperature compensation coefficient and substituting it into the temperature compensation algorithm, thereby eliminating the influence of temperature on the liquid level detection accuracy.
Citation Information
Cited By
Battery pack water inlet detection device with self-checking function and detection method thereof
CN120121223A
Over-the-air detection method and system of water level sensor, medium and equipment
CN120403807A
