A waterproof control method for a bottom-inlet tea bar machine

By setting voltage detection cycles and teapot lifting operation detection methods in the bottom-inlet tea bar machine, the problem of coupler failure caused by water contact due to manual teapot lifting is solved, realizing waterproof control of the tea bar machine and ensuring normal operation and safe use of the equipment.

CN119769909BActive Publication Date: 2025-12-02HANGZHOU JIUYANG WATER PURIFICATION SYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411814966.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-12-02
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

During the use of a bottom-inlet tea bar machine, manually lifting the kettle can easily cause the coupler to come into contact with water and fail, affecting the normal operation of the tea bar machine.

Method used

By determining the current voltage detection cycle of the tea bar machine's temperature sensor and collecting voltage data from multiple sensors during water pump operation, the system uses comprehensive judgment based on the voltage data to detect the lifting of the kettle and immediately controls the water pump to shut off when the lifting of the kettle is detected, thus preventing water from spraying into the coupler.

Benefits of technology

This effectively prevents the risk of short circuit failure of electronic components such as NTC in the coupler due to contact with moisture, improves the detection accuracy and response speed of the teapot lifting operation, and ensures the normal operation of the tea bar machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119769909B_ABST
    Figure CN119769909B_ABST
Patent Text Reader

Abstract

This specification discloses a waterproof control method for a bottom-inlet tea bar machine, relating to the field of tea bar machine technology. The method includes: determining the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine; under the triggering of the water pump operation of the tea bar machine, collecting the voltage value of the temperature sensor according to the current voltage detection cycle to determine multiple sensor voltage data; based on the multiple sensor voltage data, detecting a kettle lifting operation, and controlling the water pump to shut off when the kettle lifting operation is detected. By collecting multiple temperature sensor voltage data within the current voltage detection cycle and comprehensively judging the multiple sensor voltage data, the kettle lifting operation can be detected in a timely manner, shortening the detection time of the kettle lifting operation, improving the detection accuracy of the kettle lifting operation, and reducing the possibility of false judgment; controlling the water pump to shut off when the kettle lifting operation is detected avoids the problem of a small amount of water spraying out into the coupler during the operation of the water pump due to lifting the kettle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This manual relates to the field of tea bar machine technology, and in particular to a waterproof control method for a bottom-inlet tea bar machine. Background Technology

[0002] As a common water dispensing device, the design of the water inlet method in tea bar machines directly affects the user experience and the reliability of the equipment. Traditional tea bar machines generally use a top-inlet water design. While this design meets basic water dispensing needs to a certain extent, it has several drawbacks. The main problems with top-inlet water designs are water splashing and cumbersome manual operation. During the water inlet process, the strong water flow easily splashes water, affecting the overall aesthetics of the equipment and potentially polluting the surrounding environment. Furthermore, users need to manually open the kettle lid to dispense water, which is not only cumbersome but also poses a safety hazard such as scalding if handled improperly. To solve these problems, bottom-inlet tea bar machines have emerged. Bottom-inlet tea bar machines utilize a coupler that draws water directly from the water tank to the heating kettle, effectively avoiding the water splashing and manual lid opening issues associated with top-inlet designs, greatly improving the user experience. Users simply place the kettle on top of the coupler, and the water dispensing process is completed automatically without manual operation, making it both convenient and safe.

[0003] However, when the user lifts the kettle during the water intake process, a small amount of water may spray into the coupler. If this water comes into contact with electronic components such as the NTC (Negative Temperature Coefficient Thermistor) inside the coupler, it may cause a short circuit and malfunction. As a crucial temperature sensor in the tea bar machine, the failure of the NTC will directly affect the normal operation of the equipment, such as inaccurate heating temperature and failure of the protection mechanism. During the water dispensing process, the water pump is on. If the kettle is lifted during this process, the water pump must be immediately shut off to stop water flow; otherwise, water will splash out through the coupler and flow into its interior, causing the NTC to malfunction. The main reason for water entering the bottom-inlet coupler is that during the operation of the water pump, the kettle is lifted manually, and at the moment of lifting, the water pump has not completely stopped working, allowing a small amount of water to spray into the coupler. In conclusion, currently, during the use of bottom-inlet tea bar machines, manually lifting the kettle can lead to the risk of water contact and coupler failure, affecting the normal operation of the tea bar machine. Summary of the Invention

[0004] This specification provides one or more embodiments of a waterproof control method for a bottom-inlet tea bar machine, which solves the following technical problem: Currently, during the use of a bottom-inlet tea bar machine, manually lifting the kettle may cause the coupler to fail due to water contact, affecting the normal operation of the tea bar machine.

[0005] One or more embodiments of this specification employ the following technical solutions:

[0006] This specification provides one or more embodiments of a waterproof control method for a bottom-inlet tea bar machine. The method includes: determining the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine; under the triggering of the water pump operation of the tea bar machine, collecting the voltage value of the temperature sensor according to the current voltage detection cycle to determine multiple sensor voltage data; based on the multiple sensor voltage data, detecting the tea bar machine for lifting the teapot operation, and controlling the water pump to shut down when the lifting operation is detected.

[0007] Further, determining the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine specifically includes: obtaining the waterproof control duration threshold corresponding to the tea bar machine; and determining the current voltage detection cycle corresponding to the temperature sensor through the waterproof control duration threshold.

[0008] Furthermore, the current voltage detection cycle corresponding to the temperature sensor is determined by the waterproof control duration threshold, specifically including: determining the current voltage detection cycle corresponding to the temperature sensor based on the product of the waterproof control duration threshold and a pre-set margin ratio.

[0009] Further, determining the current voltage detection cycle corresponding to the temperature sensor through the waterproof control duration threshold specifically includes: acquiring the theoretical voltage detection parameters of the temperature sensor, wherein the theoretical voltage detection parameters include the theoretical acquisition cycle of each voltage data; determining the standard control duration parameters corresponding to the temperature sensor through the waterproof control duration threshold and a pre-set margin ratio; and correcting the standard control duration parameters based on the theoretical voltage detection parameters to determine the current voltage detection cycle corresponding to the temperature sensor.

[0010] Furthermore, based on the theoretical voltage detection parameters, the standard control duration parameters are corrected to determine the current voltage detection cycle corresponding to the temperature sensor. Specifically, this includes: performing a division operation on the standard control duration parameters and the theoretical voltage detection parameters to determine the remainder between the standard control duration parameters and the theoretical voltage detection parameters; when the remainder is non-zero, determining the current voltage detection cycle corresponding to the temperature sensor based on the difference between the standard control duration parameters and the remainder.

[0011] Further, obtaining the waterproof control duration threshold corresponding to the tea bar machine specifically includes: obtaining the sensor specification data corresponding to the temperature sensor of the tea bar machine, and determining the teapot lifting test parameter set based on the sensor specification data, wherein the teapot lifting test parameter set includes sensor voltage acquisition parameters and water pump voltage acquisition parameters; performing a whole-machine teapot lifting test on the tea bar machine according to the teapot lifting test parameter set, and collecting sensor voltage detection data and water pump voltage detection data; analyzing the sensor voltage detection data and the water pump voltage detection data to determine the waterproof control duration threshold corresponding to the tea bar machine.

[0012] Further, based on the sensor specification data, a set of kettle test parameters is determined, specifically including: determining the sensor voltage acquisition parameters corresponding to the temperature sensor according to the sensor acquisition accuracy in the sensor specification data, wherein the sensor voltage acquisition parameters include the minimum voltage acquisition period and the number of sensor voltage acquisitions corresponding to the temperature sensor voltage; determining the minimum voltage acquisition period corresponding to the water pump voltage according to the minimum voltage acquisition period corresponding to the temperature sensor voltage, and determining the number of water pump voltage acquisitions based on the number of sensor voltage acquisitions, wherein the number of water pump voltage acquisitions is less than the number of sensor voltage acquisitions.

[0013] Furthermore, the sensor voltage detection data and the water pump voltage detection data are analyzed to determine the waterproof control duration threshold corresponding to the tea bar machine. Specifically, this includes: determining the sensor disconnection detection time based on the sensor voltage detection data; determining the water pump stop operation time based on the water pump voltage detection data; and determining the waterproof control duration threshold corresponding to the tea bar machine based on the sensor disconnection detection time and the water pump stop operation time.

[0014] Furthermore, based on the voltage data from the multiple sensors, the tea bar machine is subjected to kettle-lifting operation detection, specifically including: acquiring the disconnection reference voltage data corresponding to the temperature sensor when the kettle is lifted; and performing kettle-lifting operation detection on the tea bar machine based on the voltage data from the multiple sensors and the disconnection reference voltage data.

[0015] Furthermore, based on the voltage data from the multiple sensors and the disconnection reference voltage data, the tea bar machine is used to detect a teapot lifting operation. Specifically, this includes: determining the average voltage data of the multiple sensor voltage data; and determining that a teapot lifting operation has been detected when the average voltage data is not less than the disconnection reference voltage data.

[0016] The above-mentioned technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: Firstly, by determining the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine, and considering the control time between disconnecting the sensor and stopping the water pump in the tea bar machine, the current voltage detection cycle is determined, ensuring that the setting of the current voltage detection cycle meets the corresponding waterproof control duration of the tea bar machine. Secondly, by continuously collecting voltage data from multiple temperature sensors corresponding to the temperature sensor within the current voltage detection cycle, and through comprehensive judgment of the voltage data from multiple sensors, the lifting operation can be detected in a timely manner, shortening the detection time of the lifting operation and improving the detection accuracy of the lifting operation, reducing the possibility of misjudgment. Thirdly, when the lifting operation is detected, the water pump is immediately controlled to shut off, thereby avoiding a small amount of water spraying into the coupler due to lifting the kettle during the water pump's operation. This effectively prevents the risk of short-circuiting and failing of electronic components such as the NTC in the coupler due to contact with moisture. By collecting voltage data in real time within the current voltage detection cycle, the voltage data is used to accurately detect the lifting operation and immediately shut off the water pump, effectively avoiding the situation where a small amount of water sprays into the coupler due to lifting the kettle. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0018] Figure 1 A schematic flowchart illustrating a waterproof control method for a bottom-inlet tea bar machine provided in the embodiments of this specification;

[0019] Figure 2 This is a schematic diagram illustrating a water dispensing scenario for a bottom-inlet tea bar machine, as provided in an embodiment of this specification. Detailed Implementation

[0020] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0021] This specification provides a waterproof control method for a bottom-inlet tea bar machine. It should be noted that the executing entity in this specification can be a server or any device with data processing capabilities. Figure 1 This is a flowchart illustrating a waterproof control method for a bottom-inlet tea bar machine provided in an embodiment of this specification, as shown below. Figure 1 As shown, the main steps include the following:

[0022] Step S101: Determine the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine.

[0023] During the water dispensing process of the bottom-inlet tea bar machine, the water pump is turned on. If the kettle is lifted during this process, the water pump must be turned off immediately to stop the water flow. Otherwise, water will splash out through the coupler and flow into the coupler, causing the NTC to fail. Figure 2 This is a schematic diagram illustrating a water dispensing scenario for a bottom-inlet tea bar machine, as provided in an embodiment of this specification. A temperature sensor is installed at the bottom of the kettle body of the tea bar machine, such as... Figure 2 As shown, the temperature sensor is a negative temperature coefficient (NTC) temperature sensor. Coupler assemblies are located at the bottom of the kettle body, with the upper coupler assembly at the bottom inside the kettle and the lower coupler assembly at the bottom outside the kettle. These coupler assemblies are connected to the water pump, forming a water circuit. The water pump is used to pump water from the storage device. The NTC temperature sensor is connected to the main control board via the coupler's metal terminals. When the kettle is placed normally on the base, the coupler's metal terminals are in close contact, ensuring unobstructed circuitry between the NTC temperature sensor and the main control board. When the kettle is lifted, the connection between the coupler's metal terminals is broken, causing a circuit interruption between the NTC temperature sensor and the main control board. The main control board detects this circuit interruption signal to determine that the kettle has been lifted. Since the control command to shut down the water pump is sent and controlled almost in real time, the duration of this interruption is negligible. Therefore, to ensure the water pump shuts down the moment the kettle is lifted, the detection cycle for kettle lifting detection needs to be strictly controlled to ensure that the kettle is lifted within this detection cycle, thus shortening the time between the actual lifting operation and the detection board's detection of the lifting.

[0024] During the research on the bottom-inlet tea bar machine, experiments were conducted on the water pump voltage and NTC voltage. The study revealed that for a certain type of NTC temperature sensor, the time from when the main control board detects the NTC disconnection the instant the kettle is lifted to when the water pump stops operating is 20ms. This means that to shut off the water pump the instant the kettle is lifted, the control time between NTC disconnection and pump stoppage needs to be shortened to within 20ms. If the time between NTC disconnection detection and pump stoppage exceeds 20ms, residual water may spray into the coupler the instant the kettle is lifted, causing NTC detection to fail. However, for tea bar machines equipped with different types of temperature sensors, the time from when the main control board detects the temperature sensor disconnection the instant the kettle is lifted to when the water pump stops operating varies. Therefore, it is necessary to determine the current voltage detection cycle for the temperature sensor in each tea bar machine.

[0025] Determining the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine specifically includes: obtaining the waterproof control duration threshold corresponding to the tea bar machine; and determining the current voltage detection cycle corresponding to the temperature sensor through the waterproof control duration threshold.

[0026] In one embodiment of this specification, a waterproof control duration threshold corresponding to the tea bar machine is obtained. This threshold refers to the total time from detecting the kettle being lifted to the water pump starting to shut off. Even if the kettle is lifted quickly during water dispensing, the water pump can be controlled to shut off rapidly, preventing residual water from spraying out and entering the coupler, thus preventing NTC failure. This waterproof control duration threshold is used to determine the current voltage detection cycle corresponding to the temperature sensor, ensuring that the kettle lifting operation can be detected within the current voltage detection cycle.

[0027] Obtaining the waterproof control duration threshold for the tea bar machine specifically includes: acquiring the sensor specification data of the temperature sensor of the tea bar machine; determining the teapot lifting test parameter set based on the sensor specification data, wherein the teapot lifting test parameter set includes sensor voltage acquisition parameters and water pump voltage acquisition parameters; performing a whole-machine teapot lifting test on the tea bar machine according to the teapot lifting test parameter set, and collecting sensor voltage detection data and water pump voltage detection data; analyzing the sensor voltage detection data and water pump voltage detection data to determine the waterproof control duration threshold for the tea bar machine.

[0028] Different tea bar machines have different types of built-in temperature sensors, resulting in varying data acquisition accuracy. Consequently, the waterproof control duration thresholds differ between these machines. Determining the appropriate waterproof control duration threshold requires a full-machine test. During this test, data is collected by manually lifting the teapot to obtain the corresponding waterproof control duration threshold. Before conducting the full-machine test, a set of test parameters needs to be set according to the type of temperature sensor used in each tea bar machine.

[0029] First, obtain the sensor specification data for the temperature sensor of the tea bar machine. Different sensor specifications correspond to different sensor accuracies and corresponding voltage acquisition parameters. In addition to determining the sensor voltage acquisition parameters during the overall machine testing, since the waterproof control duration threshold needs to be determined (the time threshold from detecting the kettle being lifted to the water pump starting to shut off), it is also necessary to determine the water pump voltage acquisition period. The water pump voltage acquisition parameters are closely related to the sensor acquisition parameters. Using the sensor accuracy data from the sensor specification data, determine the kettle-lifting test parameter set, which includes both sensor voltage acquisition parameters and water pump voltage acquisition parameters.

[0030] After determining the aforementioned set of teapot test parameters, a complete testing environment for the tea bar machine is set up. During the overall testing, external probes can be used: one probe is connected to the water pump at one end and grounded at the other; the other probe is connected to the temperature sensor at one end and grounded at the other. After the tea bar machine is powered on, the water pump is controlled to dispense water. Simultaneously, using the two external probes and a high-precision data acquisition device, the voltage of the water pump and temperature sensor is measured according to the teapot test parameters. Alternatively, software testing algorithms can be designed for data acquisition. For example, an NTC detection function can be set to scan every 4ms according to the teapot test parameters, acquiring the NTC voltage value every 4ms and converting it to a digital signal via an AD converter. The software algorithm is designed to acquire 20 NTC data points per cycle, filtering out the maximum and minimum values, and calculating the average of the remaining 18 data points as the output value for one acquisition cycle. The total cycle time is 80ms. The water pump detection function is set to scan once every 4ms, and the water pump voltage value Vpump is collected once every 4ms. It is then converted into a digital signal by an AD converter. The software algorithm is designed to collect 10 water pump voltage values ​​per cycle, filter out the maximum and minimum values, and calculate the average value of the remaining 8 data as the output value of one acquisition cycle. The total time of one cycle is 40ms.

[0031] Subsequently, additional manual intervention was implemented by lifting the kettle during water dispensing to collect sensor voltage and water pump voltage data. It should be noted that this sensor and water pump voltage data includes voltage changes during both normal water dispensing and kettle lifting. Based on the sensor and water pump voltage data, the corresponding waterproof control duration threshold for the tea bar machine was determined.

[0032] During this process, multiple tests can be conducted. For example, after starting the water pump, perform multiple kettle lifting operations to obtain sensor voltage detection data and water pump voltage detection data corresponding to each kettle lifting operation during a single water extraction. Alternatively, the water pump can be started multiple times, with manual kettle lifting performed after each pump start. The average value of these multiple test results is used as the waterproof control duration threshold. Since a smaller waterproof control duration threshold is more beneficial for waterproof control, the minimum value among the multiple test results can also be used to determine the waterproof control duration threshold.

[0033] During testing, the voltage of the water pump and temperature sensor was precisely collected using an external probe, ensuring data accuracy. Direct measurement reduced signal loss and interference during transmission, improving data reliability. Multiple tests allowed for the collection of more data samples, reducing the impact of random errors. Averaging or minimizing the data from multiple tests further improved the accuracy and stability of the results. The waterproof control duration threshold determined based on the test data better reflects the actual working conditions of the tea bar machine. It promptly shuts off the water pump when the kettle is detected being lifted, preventing water overflow or leakage and thus improving the machine's waterproof performance. Optimizing test parameters and data processing methods shortened testing time and improved the response speed of waterproof control. An accurate waterproof control duration threshold helps prevent water damage and extends the lifespan of the tea bar machine. Optimized waterproof control performance reduces repair and replacement costs due to water damage, eliminating user concerns about water overflow or leakage.

[0034] Based on the sensor specification data, the set of test parameters for lifting the kettle is determined, specifically including: determining the sensor voltage acquisition parameters corresponding to the temperature sensor according to the sensor acquisition accuracy in the sensor specification data, wherein the sensor voltage acquisition parameters include the minimum voltage acquisition period and the number of sensor voltage acquisitions corresponding to the temperature sensor voltage; determining the minimum voltage acquisition period corresponding to the water pump voltage according to the minimum voltage acquisition period corresponding to the temperature sensor voltage, and determining the number of water pump voltage acquisitions based on the number of sensor voltage acquisitions, wherein the number of water pump voltage acquisitions is less than the number of sensor voltage acquisitions.

[0035] In one embodiment of this specification, during the testing of the tea bar machine, it is necessary to determine the voltage acquisition parameters of the temperature sensor. Simultaneously, since the test item is the maximum allowable time from the temperature sensor disconnection to the water pump shutdown, the water pump voltage detection is correlated with the temperature sensor voltage detection; therefore, it is also necessary to reasonably set the water pump voltage acquisition parameters. The following is an example of determining the set of test parameters for the teapot under the design software test algorithm acquisition method: First, obtain the acquisition accuracy information from the temperature sensor specification data, typically including key parameters such as the temperature sensor's resolution and response time. These parameters directly affect the accuracy and real-time performance of the voltage acquisition. Based on the temperature sensor's acquisition accuracy and response time, determine the minimum acquisition period for the temperature sensor voltage and set the number of sensor voltage acquisitions. For example, if the minimum acquisition period is 4ms, the number of sensor voltage acquisitions can be set to 20, meaning an NTC voltage value is acquired every 4ms, for a total of 20 NTC voltage data points. The maximum and minimum values ​​are filtered out, and the average of the remaining 18 data points is calculated as the output value of one acquisition period. The total time for one period is 80ms.

[0036] Since the voltage detection of the water pump is correlated with that of the temperature sensor, the minimum sampling period for the water pump voltage can be set based on the minimum sampling period of the temperature sensor voltage. The number of water pump voltage samples is then determined based on the number of sensor voltage samples, combined with the characteristics of the water pump voltage variation and testing requirements. Because the water pump voltage variation is relatively stable, the number of water pump voltage samples can be less than the number of temperature sensor samples, and can be set to half the number of NTC sensor voltage samples. For example, the minimum sampling period for the water pump voltage is 4ms, scanning once every 4ms to collect one water pump voltage value, for a total of 10 water pump voltage values. The maximum and minimum values ​​are filtered out, and the average of the remaining 8 data points is used as the output value of one sampling period. The total time of one period is 40ms.

[0037] The voltage detection data of the sensor and the voltage detection data of the water pump are analyzed to determine the waterproof control duration threshold corresponding to the tea bar machine. Specifically, this includes: determining the sensor disconnection detection time based on the sensor voltage detection data; determining the water pump stop operation time based on the water pump voltage detection data; and determining the waterproof control duration threshold corresponding to the tea bar machine based on the sensor disconnection detection time and the water pump stop operation time.

[0038] In one embodiment of this specification, the voltage detection data of the sensor and the voltage detection data of the water pump are analyzed to determine the waterproof control duration threshold corresponding to the tea bar machine. The sensor voltage detection data is the continuous voltage output generated by the temperature sensor during power-on, water dispensing, and kettle lifting operations. Analyzing the sensor voltage detection data identifies the moment when the voltage suddenly drops, at which point the sensor has disconnected. This time point is marked as the sensor disconnection detection time. Analyzing the water pump voltage detection data identifies the moment when the voltage drops below a certain threshold and remains below it for a period of time (indicating that the water pump has stopped working), and this time point is marked as the water pump stop time. The time difference between the sensor disconnection detection time and the water pump stop time is calculated. This time difference reflects the time from sensor failure to water pump response cessation, and the corresponding waterproof control duration in this test is determined. Following the above method, the waterproof control duration corresponding to multiple test processes is obtained, and the threshold for the waterproof control duration corresponding to the tea bar machine is determined by taking the average or minimum value.

[0039] By analyzing sensor voltage detection data, the moment when the voltage suddenly drops can be accurately identified, i.e. the time when the sensor disconnects, ensuring the accuracy of the disconnection time. By analyzing water pump voltage detection data, the time when the water pump stops running can be determined, thereby assessing the water pump's response speed to sensor disconnection. By determining a reasonable waterproof control duration threshold, the water pump can be shut down in time when the sensor disconnects, effectively preventing damage caused by water leakage.

[0040] When determining the current voltage detection cycle of the temperature sensor using this waterproof control duration threshold, it can be achieved in two ways, as shown in the following two examples:

[0041] Example 1: The current voltage detection cycle of the temperature sensor is determined by the waterproof control duration threshold. Specifically, the current voltage detection cycle of the temperature sensor is determined by multiplying the waterproof control duration threshold by a pre-set margin ratio.

[0042] In one embodiment of this specification, after determining the waterproof control duration threshold, a safety margin is set based on the waterproof control duration threshold. First, a margin ratio is preset, for example, 80%. The margin ratio can be set based on empirical data; the smaller the margin ratio, the larger the reserved safety margin. For example, when the margin ratio is set to 80%, the corresponding safety margin is 20%. The current voltage detection period corresponding to the temperature sensor is determined by multiplying the waterproof control duration threshold and the margin ratio. For example, if the waterproof control duration threshold of the tea bar machine's temperature sensor is 20ms, then the corresponding current voltage detection period is 20ms * 80%, which is 16ms; if the waterproof control duration threshold of the tea bar machine's temperature sensor is 30ms, then the corresponding current voltage detection period is 30ms * 80%, which is 24ms.

[0043] After determining the waterproof control duration threshold, setting a safety margin on this basis brings several beneficial effects to the voltage detection cycle setting of the tea bar machine's temperature sensor. By setting a safety margin, additional time is reserved beyond the waterproof control duration threshold for potential unforeseen circumstances (such as voltage fluctuations, sensor response delays, etc.), helping to prevent safety hazards caused by insufficient time and thus improving overall safety. Setting a safety margin helps reduce the impact of environmental factors or internal changes on the voltage detection cycle, ensuring more stable operation of the tea bar machine and maintaining the accuracy and reliability of the temperature sensor, thereby guaranteeing the overall performance of the tea bar machine. A reasonable voltage detection cycle setting can improve the waterproof control effect of the tea bar machine.

[0044] Example 2: Determining the current voltage detection cycle of the temperature sensor using the waterproof control duration threshold specifically includes: acquiring the theoretical voltage detection parameters of the temperature sensor, wherein the theoretical voltage detection parameters include the theoretical acquisition cycle of each voltage data; determining the standard control duration parameters of the temperature sensor using the waterproof control duration threshold and a pre-set margin ratio; and correcting the standard control duration parameters based on the theoretical voltage detection parameters to determine the current voltage detection cycle of the temperature sensor.

[0045] In one embodiment of this specification, when determining the current voltage detection cycle corresponding to the temperature sensor through a waterproof control duration threshold, the theoretical voltage detection parameters of the temperature sensor are obtained. It should be noted that the theoretical voltage detection parameters include the theoretical acquisition cycle for each voltage data point. This theoretical acquisition cycle can be determined by the specifications of the temperature sensor and can be directly set to the minimum acquisition cycle during the testing phase, for example, 4ms. After determining the theoretical voltage detection parameters, the standard control duration parameters corresponding to the temperature sensor are determined using the waterproof control duration threshold and a pre-set margin ratio. The margin ratio setting here is the same as that in Embodiment 1 above. The standard control duration parameters corresponding to the temperature sensor are determined by multiplying the waterproof control duration threshold and the margin ratio. The standard control duration parameters are then corrected using the theoretical voltage detection parameters to determine the current voltage detection cycle corresponding to the temperature sensor.

[0046] Based on the theoretical voltage detection parameter, the standard control duration parameter is corrected to determine the current voltage detection cycle corresponding to the temperature sensor. Specifically, this includes: performing a division operation between the standard control duration parameter and the theoretical voltage detection parameter to determine the remainder between them; when the remainder is non-zero, the current voltage detection cycle corresponding to the temperature sensor is determined based on the difference between the standard control duration parameter and the remainder.

[0047] In one embodiment of this specification, a division operation is performed on the standard control duration parameter and the theoretical voltage detection parameter. The standard duration parameter is divided by the theoretical voltage detection parameter to obtain the remainder between the two. For example, assuming the standard control duration parameter is 16ms and the theoretical voltage detection parameter is 5ms, the remainder of 16 / 5 is 1. After obtaining the remainder between the standard control duration parameter and the theoretical voltage detection parameter, the remainder is subtracted from the standard control duration parameter to obtain the current voltage detection cycle corresponding to the temperature sensor. The current voltage detection cycle obtained in the above manner ensures that the current voltage detection cycle is an integer multiple of the theoretical voltage detection parameter, allowing for the acquisition of complete sensor voltage data. Furthermore, it also ensures that the current voltage detection cycle is less than the standard control duration parameter, satisfying the reserved safety margin.

[0048] Step S102: Triggered by the water pump operation of the tea bar machine, the voltage value of the temperature sensor is collected according to the current voltage detection cycle to determine the voltage data of multiple sensors.

[0049] In one embodiment of this specification, triggered by the water pump operation of the tea bar machine, the sensor detection cycle is set according to the current voltage detection cycle, and a detection is performed once per theoretical voltage detection parameter within the sensor detection cycle. That is, multiple sensor voltage values ​​can be collected within the sensor detection cycle. Assuming the theoretical voltage detection parameter is 5ms and the current voltage detection cycle is 15ms, one sensor voltage data point is detected every 5ms, resulting in three data points detected within 15ms, all of which are sensor voltage data.

[0050] Step S103: Based on voltage data from multiple sensors, the tea bar machine is detected to lift the teapot. When the lifting operation is detected, the water pump is controlled to shut off.

[0051] In one embodiment of this specification, since the voltage of the temperature sensor changes accordingly when the user lifts the teapot, the tea bar machine can detect the teapot lifting operation based on multiple sensor voltage data. When the teapot lifting operation is detected, a shutdown command is sent to the water pump according to preset control logic.

[0052] Based on the voltage data from these multiple sensors, the tea bar machine is tested for kettle lifting operations. Specifically, this includes: acquiring the disconnection reference voltage data corresponding to the temperature sensor when the kettle is lifted; and testing the tea bar machine for kettle lifting operations based on the voltage data from these multiple sensors and the disconnection reference voltage data.

[0053] In one embodiment of this specification, the disconnection reference voltage data corresponding to the temperature sensor is acquired when the kettle is lifted. It should be noted that this disconnection reference voltage data can be obtained as a reference value during the overall machine testing process; generally, the disconnection voltage of the NTC sensor is 5V. By comparing the magnitudes of multiple sensor voltage data corresponding to the temperature sensor collected within the current voltage detection cycle with this disconnection reference voltage data, the kettle-lifting operation detection is performed on the tea bar machine.

[0054] In one embodiment of this specification, when detecting a kettle lift based on the relationship between multiple sensor voltage data and a disconnected reference voltage data, various determination methods can be employed. For example, if a specified number of consecutive sensor voltage data points are not less than the reference voltage data, it is determined that a kettle lift operation has been detected. Similarly, if more than half of the data collected in the current voltage detection cycle are not less than the reference voltage data, it is determined that a kettle lift operation has been detected.

[0055] Based on the voltage data from the multiple sensors and the disconnection reference voltage data, the tea bar machine is used to detect a teapot lifting operation. Specifically, this includes: determining the average voltage data of the multiple sensor voltage data; when the average voltage data is not less than the disconnection reference voltage data, it is determined that a teapot lifting operation has been detected.

[0056] In one embodiment of this specification, the average voltage data of multiple sensor voltage data can also be calculated, and the relationship between the average voltage data and the disconnection reference voltage data can be determined. When the average voltage data is not less than the disconnection reference voltage data, it is determined that a kettle lifting operation has been detected.

[0057] By comprehensively judging the voltage data from multiple sensors, the accuracy of detecting kettle lifting operations can be improved, and the possibility of misjudgment can be reduced. Using disconnection reference voltage data as the judgment basis, this data can be obtained through whole-machine testing, ensuring matching with the actual use environment. At the same time, by comparing the magnitude of multiple sensor voltage data with the disconnection reference voltage data, the detection of kettle lifting operations under different conditions can be adapted more flexibly. When a kettle lifting operation is detected, a shutdown command is immediately sent to the water pump to avoid water overflow caused by the water pump continuing to work.

[0058] The above technical solution firstly determines the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine. Considering the control time between disconnecting the sensor and stopping the water pump, the current voltage detection cycle is determined to ensure it meets the corresponding waterproof control duration of the tea bar machine. By continuously collecting voltage data from multiple temperature sensors within the current voltage detection cycle, and comprehensively judging the data, the lifting of the kettle can be detected promptly, shortening the detection time and improving the accuracy of detection, reducing the possibility of misjudgment. When the lifting of the kettle is detected, the water pump is immediately shut off, thus preventing a small amount of water from spraying into the coupler during pump operation. This effectively prevents the risk of short-circuiting and failing of electronic components such as the NTC in the coupler due to moisture contact. By collecting voltage data in real time within the current voltage detection cycle, the lifting of the kettle is accurately detected, and the water pump is immediately shut off, effectively preventing a small amount of water from spraying into the coupler due to the lifting of the kettle.

[0059] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0060] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0061] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0062] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0063] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0064] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0065] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0066] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0067] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.

Claims

1. A waterproof control method for a bottom-inlet tea bar machine, characterized in that, The method includes: Determine the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine; Triggered by the water pump operation of the tea bar machine, the voltage value of the temperature sensor is collected according to the current voltage detection cycle to determine the voltage data of multiple sensors. Based on the voltage data from the multiple sensors, the tea bar machine detects teapot lifting operations. When a teapot lifting operation is detected, the water pump is controlled to shut off. Determine the current voltage detection cycle corresponding to the temperature sensor of the tea bar machine, specifically including: Obtain the waterproof control duration threshold corresponding to the tea bar machine; The current voltage detection cycle corresponding to the temperature sensor is determined by using the waterproof control duration threshold.

2. The waterproof control method for a bottom-inlet tea bar machine according to claim 1, characterized in that, The current voltage detection cycle of the temperature sensor is determined by using the waterproof control duration threshold, specifically including: The current voltage detection cycle corresponding to the temperature sensor is determined by multiplying the waterproof control duration threshold and the preset margin ratio.

3. The waterproof control method for a bottom-inlet tea bar machine according to claim 1, characterized in that, The current voltage detection cycle of the temperature sensor is determined by using the waterproof control duration threshold, specifically including: Obtain the theoretical voltage detection parameters of the temperature sensor, wherein the theoretical voltage detection parameters include the theoretical acquisition period for each voltage data. The standard control duration parameter corresponding to the temperature sensor is determined by the waterproof control duration threshold and the preset margin ratio. Based on the theoretical voltage detection parameters, the standard control duration parameters are corrected to determine the current voltage detection cycle corresponding to the temperature sensor.

4. The waterproof control method for a bottom-inlet tea bar machine according to claim 3, characterized in that, Based on the theoretical voltage detection parameters, the standard control duration parameters are corrected to determine the current voltage detection cycle corresponding to the temperature sensor, specifically including: Perform a division operation on the standard control duration parameter and the theoretical voltage detection parameter to determine the remainder between the standard control duration parameter and the theoretical voltage detection parameter; When the remainder is non-zero, the current voltage detection cycle corresponding to the temperature sensor is determined based on the difference between the standard control duration parameter and the remainder.

5. The waterproof control method for a bottom-inlet tea bar machine according to claim 1, characterized in that, The threshold for the waterproof control duration of the tea bar machine is obtained, specifically including: Obtain the sensor specification data corresponding to the temperature sensor of the tea bar machine, and determine the teapot lifting test parameter set based on the sensor specification data, wherein the teapot lifting test parameter set includes sensor voltage acquisition parameters and water pump voltage acquisition parameters; According to the set of teapot lifting test parameters, the tea bar machine is subjected to a whole-machine teapot lifting test, and sensor voltage detection data and water pump voltage detection data are collected; The sensor voltage detection data and the water pump voltage detection data are analyzed to determine the waterproof control duration threshold corresponding to the tea bar machine.

6. The waterproof control method for a bottom-inlet tea bar machine according to claim 5, characterized in that, Based on the sensor specification data, the set of test parameters for the kettle is determined, specifically including: Based on the sensor acquisition accuracy in the sensor specification data, the sensor voltage acquisition parameters corresponding to the temperature sensor are determined, wherein the sensor voltage acquisition parameters include the minimum voltage acquisition period and the number of sensor voltage acquisitions corresponding to the temperature sensor voltage. The minimum voltage acquisition period corresponding to the temperature sensor voltage is determined, and the minimum voltage acquisition period corresponding to the water pump voltage is determined based on the number of sensor voltage acquisitions, wherein the number of water pump voltage acquisitions is less than the number of sensor voltage acquisitions.

7. The waterproof control method for a bottom-inlet tea bar machine according to claim 5, characterized in that, Analyzing the sensor voltage detection data and the water pump voltage detection data to determine the corresponding waterproof control duration threshold for the tea bar machine, specifically including: The sensor disconnection time is determined by the sensor voltage detection data; Based on the pump voltage detection data, determine the pump stop time; Based on the sensor disconnection detection time and the water pump stop running time, the waterproof control duration threshold corresponding to the tea bar machine is determined.

8. The waterproof control method for a bottom-inlet tea bar machine according to claim 1, characterized in that, Based on the voltage data from the multiple sensors, the tea machine is used to detect the teapot lifting operation, specifically including: Acquire the disconnection reference voltage data corresponding to the temperature sensor when the kettle is lifted; The tea bar machine is tested for lifting the teapot based on the voltage data from the multiple sensors and the disconnection reference voltage data.

9. A waterproof control method for a bottom-inlet tea bar machine according to claim 8, characterized in that, Based on the voltage data from the multiple sensors and the disconnection reference voltage data, the tea bar machine is subjected to teapot lifting operation detection, specifically including: Determine the average voltage data of the multiple sensor voltage data; When the average voltage data is not less than the disconnection reference voltage data, it is determined that a kettle lifting operation has been detected.

Citation Information

Patent Citations

  • Cooking equipment and temperature control method and device thereof

    CN110613306A

  • Electric kettle capable of cutting off water before being lifted

    CN220069465U