A coffee cup defect detection system

CN122591175APending Publication Date: 2026-08-18FUTURE TECH JIANGXI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610424181.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-11
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0005]本发明的目的在于:解决当前自助咖啡机缺少检测咖啡杯是否形变或破损的功能的问题

Benefits of technology

在本申请的方案中:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122591175A_ABST
    Figure CN122591175A_ABST
Patent Text Reader

Abstract

The application provides a coffee cup defect detection system and relates to the field of self-service coffee machines.A coffee cup defect detection system comprises a cup body sealing module, a gas management module, a pressure detection and judgment module, a gas recovery and treatment module and a central control module.The gas management module and the pressure detection and judgment module are arranged to inject gas into the sealed cup and monitor the pressure change, so as to determine whether the coffee cup is deformed or damaged, realize the detection function, restore the slightly deformed coffee cup by using the gas, disinfect the inside of the coffee cup, ensure that each coffee cup is sterilized and disinfected, improve the sanitary condition and reliability, and ensure high detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of self-service coffee machines, and more specifically, to a coffee cup defect detection system. Background Technology

[0002] In the field of automatic coffee machines, ensuring the hygiene of the coffee produced and the smoothness of the process are of paramount importance. Among these, the integrity of the disposable coffee cup used to collect the coffee is a fundamental prerequisite.

[0003] However, existing self-service coffee machines lack the function to detect whether the coffee cup is deformed or broken. If the coffee cup is broken, cracked, or severely deformed, it will cause coffee to leak, contaminate the inside of the machine, cause equipment failure and customer complaints, and affect the user experience and the operator's reputation.

[0004] Therefore, we have made improvements to this and proposed a defective coffee cup detection system. Summary of the Invention

[0005] The purpose of this invention is to solve the problem that current self-service coffee machines lack the function of detecting whether coffee cups are deformed or damaged.

[0006] To achieve the above-mentioned objectives, the present invention provides the following coffee cup defect detection system to improve the aforementioned problems.

[0007] The application is as follows: A defective coffee cup detection system includes: The cup sealing module is used to receive the coffee cup and form a sealed pressure chamber; A gas management module is used to inject a specific concentration of ozone mixture into the sealed pressure chamber to establish the pressure required for detection. The pressure detection and judgment module is used to monitor the pressure changes in the sealed pressure chamber and judge the integrity of the coffee cup based on the pressure decay rate. The gas recovery and treatment module is used to recover or purify the gas in the sealed pressure chamber according to the judgment result. The central control module is used for coordination and control, and works in a timely manner.

[0008] As a preferred technical solution of this application, the cup sealing module includes: The cup positioning unit is used to listen to the cup positioning signal and scan the cup rim status to generate cup rim height data; A sealing actuator is used to receive the cup opening height data and drive the sealing cap to press the cup opening with a constant optimal pressure (F_seal); The sealing status self-test unit is used to detect the initial airtightness of the sealing cavity by applying a small negative pressure after sealing is completed. If the sealing fails, it triggers the defective product judgment and skips the subsequent gas injection and pressure holding process.

[0009] As a preferred technical solution of this application, the gas management module includes: The ozone generation unit is activated upon receiving a command to generate and output an ozone-air mixture with a stable concentration in the range of 2-5 ppm. The gas circuit control unit is used to receive mode commands and control the flow of gas to perform injection, pressure holding, extraction or discharge operations; The injection volume adaptive calculation unit is used to calculate the equivalent volume of gas to be injected (V_inject) based on the current effective volume (V_cup), target pressure value (P_target), and current atmospheric pressure (P_atm) of the cup, so as to achieve precise pressurization.

[0010] As a preferred technical solution of this application, the pressure detection and judgment module includes: The pressure monitoring unit is used to collect pressure data at high frequency during the pressure holding phase and generate a pressure-time curve; The leakage detection unit is used to dynamically calculate the real-time pressure decay rate (ΔP / Δt) and compare it with the threshold (R_threshold) to determine whether there is a leak. The failure mode analysis unit is used to analyze the characteristics of the pressure decay curve, distinguish between failure modes such as cup breakage or poor sealing, and trigger differentiated gas handling commands.

[0011] As a preferred technical solution of this application, the failure mode analysis unit is configured as follows: In the case of cup breakage, the gas control unit is instructed to discharge gas to the purification unit; In the case of a poorly sealed mode, the gas circuit control unit is instructed to attempt to recover any residual ozone gas inside the cup.

[0012] As a preferred technical solution of this application, the gas recovery and treatment module includes: The gas recovery unit is used to establish a negative pressure path to extract and temporarily store the gas in the good product cup or micro-leak cup; The gas purification unit is used to decompose the gas in the defective cup into oxygen before discharging it. A gas delivery unit is used to deliver the recovered gas to the ozone water preparation module; The gas quality monitoring and dynamic distribution unit is used to monitor the ozone concentration (C_recycle) of the recovered gas and distribute it to the ozone water preparation module or the internal air duct of the machine according to the concentration value.

[0013] As a preferred technical solution of this application, the central control module includes: The timing control unit is used to define and control the state transition timing of the entire detection process; The signal processing and decision-making unit is used to receive the judgment results and make a final decision, triggering subsequent physical actions; The system performance optimization unit is used to collect system operation data, dynamically adjust the holding time (T_hold) and sealing pressure (F_seal), and perform predictive maintenance.

[0014] As a preferred technical solution of this application, it further includes an ozone water preparation module connected to the gas delivery unit, the ozone water preparation module comprising: Water storage unit, used to store water for preparation; The gas-liquid mixing unit is used to mix the recovered ozone gas with water using the Venturi effect to prepare ozone water. An ozone water storage and distribution unit is used to store a fixed amount of ozone water and pump it to the parts to be cleaned during the self-cleaning process.

[0015] As a preferred technical solution of this application, the ozone water preparation module further includes: The cleaning demand calculation and concentration management unit is used to calculate cleaning demand based on machine usage data and monitor the concentration (C_current) and volume (V_current) of ozone water to achieve on-demand preparation and concentration maintenance.

[0016] As a preferred technical solution of this application, for coffee cups determined to be defective, the central control module instructs the cup receiving device to perform a high-acceleration displacement action, using inertial force to detach the defective cup from the cup receiving device and drop it into the waste cup collection bin, thus completing the rejection.

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: In the scheme of this application: 1. This application, through the setting of a gas management module and a pressure detection and judgment module, realizes the injection of gas into the sealed cup and monitors its pressure changes to determine whether the coffee cup is deformed or damaged, thus realizing the detection function. It can also use gas to restore the coffee cup with slight deformation, and at the same time, it can also disinfect the inside of the coffee cup, ensuring that each coffee cup can be sterilized and disinfected, improving hygiene and reliability, while ensuring high detection accuracy, and solving the problem that existing self-service coffee machines lack the function of detecting whether the coffee cup is deformed or damaged; 2. By setting up a gas recovery and treatment module and an ozone water preparation module, the process of recovering the detected ozone gas and dissolving it in clean water to make a highly efficient cleaning solution is realized, which transforms the detection cost into cleaning benefits and is used for disinfection and cleaning of the internal pipelines of the machine. This achieves self-maintenance and solves the problem that the resources consumed in detection and disinfection in the existing technology cannot be recycled. 3. By setting up a sealing status self-testing unit and a failure mode analysis unit, it is possible to quickly pre-test the sealing performance before gas injection and accurately diagnose different leakage modes, which improves the stability, detection accuracy and efficiency during operation. It solves the problem that the traditional pressure detection method in the existing technology has to perform ineffective gas injection and waiting due to the failure of the sealing ring or obvious broken cup, resulting in long detection cycle and low efficiency. 4. By setting up an adaptive injection volume calculation unit and a system performance optimization unit, the system dynamically adjusts the gas injection volume according to the actual volume of the cup and optimizes the system operating parameters based on historical data. This enables the system to have self-learning and optimization capabilities, ensuring long-term stable detection reliability and solving the problems of high detection misjudgment rate and poor consistency caused by individual cup differences or deterioration of system component performance in the existing technology. Attached Figure Description

[0018] Figure 1 The system flowchart of the coffee cup defect detection system provided in this application; Figure 2 A system flowchart for the detection preparation and parameter optimization stages of the coffee cup defect detection system provided in this application; Figure 3 A system flowchart for the sealing pre-inspection and gas injection stages in the coffee cup defect detection system provided in this application; Figure 4 A system flowchart for the pressure holding detection and failure analysis stages of the coffee cup defect detection system provided in this application; Figure 5 A system flowchart for the gas handling and resource allocation stage of the coffee cup defect detection system provided in this application; Figure 6 A system flowchart for the gas handling and distribution stage in the coffee cup defect detection system provided in this application; Figure 7 The system flowchart for the ozone water preparation and application stage of the coffee cup defect detection system provided in this application. Detailed Implementation

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

[0020] To enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0021] It should be noted that, unless otherwise specified, the embodiments and features and technical solutions in the present invention can be combined with each other.

[0022] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0023] Example 1 Please refer to Figure 1 A defective coffee cup detection system, comprising: The cup sealing module is used to receive the coffee cup and form a leak-free, sealed pressure chamber at the start of detection; Under the command of the central control module, the gas management module works in precise coordination with modules such as pressure detection and gas recovery to complete the entire process of pressurization, pressure holding and medium recovery within the cup. The pressure detection and judgment module establishes pressure by injecting ozone into the cup. If the cup is damaged or not properly sealed (such as due to severe deformation), the internal pressure will not be maintained and will decay. This module is used to monitor the real-time changes in pressure inside the sealed cup and accurately judge the integrity of the coffee cup based on this data. The judgment result determines the subsequent processing path of the current cup, ensuring the quality of coffee output and the efficiency of system operation. The gas recovery and treatment module performs refined processing of the gas in the testing station based on the judgment results: it recovers the usable gas in the good product cup as a resource, treats the waste gas in the defective product cup to be harmless, and ensures that ozone is not directly emitted into the external environment of the machine. The central control module receives data from various sensors, sends instructions to each execution unit, precisely schedules the timing of the entire detection process, and manages the status and health of the system. The ozone water preparation module receives recovered ozone gas from the gas delivery unit of the gas recovery and treatment module, mixes it with clean water to prepare a high-concentration ozone water solution, and stores it for use in the self-cleaning program of the coffee machine for disinfection and cleaning of internal pipes.

[0024] Furthermore, such as Figure 1 , Figure 2 and Figure 3 As shown, the cup sealing module includes: The cup positioning unit continuously monitors the signal indicating that the cup is in place. This signal is generated by a photoelectric sensor or microswitch on the cup receiver, indicating that the coffee cup has been accurately placed into the inspection station by the cup dropper. Once this signal is received, the cup positioning unit is immediately activated and quickly scans the flatness and height of the cup rim edge using a set of distance sensors (such as laser rangefinders or ultrasonic sensors) to determine whether the cup is severely tilted or collapsed (such cups do not require further inspection and can be directly regarded as defective products). If the cup rim meets the sealing requirements, the unit generates a confirmation signal and sends this signal, along with the cup rim height calibration data, to the timing control unit of the central control module. The sealing execution unit receives a "execute seal" command from the timing control unit, which includes cup rim height data provided by the cup positioning unit. The sealing execution unit drives a sealing cap with pressure feedback to descend, quickly moving to a position close to the cup rim based on the cup rim height data. Before contacting the cup rim, the cap switches to a slow and compliant motion. Once in contact with the cup rim, its built-in pressure feedback mechanism starts working, ensuring that the cup rim is pressed with a constant, optimal pressure (F_seal) that allows the cup rim to elastically deform for a seal without crushing the cup. After reaching the preset pressure, the unit sends a sealing completion signal back to the timing control unit. Upon receiving the "sealing complete" signal, the timing control unit first instructs the sealing status self-test unit to start. Through a miniature, highly sensitive negative pressure sensor, a very small amount of gas is extracted from the sealed cavity via a tiny air passage on the sealing cap (for example, generating a tiny negative pressure of -0.5 kPa). Subsequently, the air passage is closed, and the sensor monitors the maintenance of this tiny negative pressure. If the negative pressure is stable, it proves that the seal is good; if the negative pressure quickly rises back to atmospheric pressure, it proves that the sealing ring has failed or there is a serious defect in the cup mouth, and there is no need to perform subsequent ozone injection and pressure holding tests. The pre-inspection results (good seal or seal failure) are sent directly to the leak detection unit. If the seal fails, the leak detection unit can immediately determine that this is a faulty cup and notify the timing control unit to skip the subsequent time-consuming gas injection and pressure holding process and directly enter the exhaust gas treatment process. This shortens the judgment time for obviously faulty cups and improves system efficiency. The data from the sealing status self-test unit can be used for long-term monitoring of the wear of the sealing rings in the sealing actuator. If the sealing failure rate gradually increases, a maintenance warning can be sent to the host to indicate that the sealing rings need to be replaced, thus achieving predictive maintenance.

[0025] Furthermore, such as Figure 1 , Figure 3 and Figure 4 As shown, the gas management module includes: The ozone generating unit is an adjustable ozone generator. It only begins operation at a preset power level after receiving a "start generation" command from the timing control unit of the central control module. This controls the stability and accuracy of the ozone concentration in the output gas. The ozone generating unit contains a miniature ozone concentration sensor that dynamically fine-tunes the generator's operating parameters (such as discharge voltage or ultraviolet intensity) based on real-time monitored concentration values. This ensures that the output ozone-air mixture concentration remains stable within the safe and effective range of 2-5 ppm set by the system. This concentration of ozone serves two functions: as a non-destructive detection medium and as a powerful disinfectant. Under pressure, it effectively kills bacteria on the inner wall of the cup and decomposes residual organic odor molecules, achieving instant disinfection of each coffee cup and ensuring the hygiene and safety of food contact surfaces. Once the target concentration is reached and stabilized, it sends a signal to the timing control unit indicating that gas preparation is complete. The gas path control unit receives mode commands (such as injection, pressure holding, retraction, and discharge) from the timing control unit. After the command is issued, the gas path control unit controls the on / off combinations of multiple solenoid valves in the internal gas path, as well as the start, stop, and direction of the gas pump, to achieve the specified gas path. Injection: The path is: ozone generation unit → inside the cup. The air pump rotates forward, pumping a fixed amount of ozone mixed gas into the sealed cup. In injection mode, the gas control unit pumps a fixed amount of ozone-air mixed gas into the sealed cup, increasing the pressure inside the cup. This pressure serves two purposes: first, to establish a basis for subsequent pressure leak detection; second, the uniform pressure applied to the cup wall can cause slightly deformed paper cups (such as cups with an out-of-round rim or cups that are dented) to attempt to return to their original shape, improving the reliability of subsequent coffee dispensing. Pressure holding: All valves leading to the cup body are closed, and the gas path enters a closed and static state, providing a stable monitoring window for the pressure detection module; Extraction: The path is: inside the cup → gas delivery unit of the gas recovery and processing module; the air pump reverses to extract the gas from the cup and deliver it away. Emission mode: The path is: inside the cup → gas purification unit of the gas recovery and treatment module, which directly discharges the gas inside the defective cup to the decomposer; The gas path control unit is the data source for the pressure monitoring unit (from the pressure detection and judgment module) because the pressure sensor is installed in the gas path leading to the cup. The injection volume adaptive calculation unit calculates and adjusts the required gas volume based on the coffee cup's nominal capacity and the actual cup shape scanned by the cup positioning unit (such as volume changes caused by slight deformation). After completing the cup rim scan, the cup positioning unit's data packet contains not only height information but also an algorithm to estimate the cup's current effective volume (V_cup). This data is shared by the timing control unit with the injection volume adaptive calculation unit. Based on the target pressure value (P_target), the current atmospheric pressure (P_atm), and the cup's effective volume (V_cup), the injection volume adaptive calculation unit uses the principle of the ideal gas law to calculate the required gas equivalent volume (V_inject), which can be simplified to: V_inject = V_cup*(P_target-P_atm) / P_atm, ensuring that cups of different volumes can be accurately pressurized to the same target pressure value. The calculated V_inject value will be sent as a control parameter to the ozone generation unit and the gas path control unit. The ozone generation unit can fine-tune the gas production time accordingly to ensure that the amount of gas generated just meets the demand and avoids overproduction. The gas path control unit can control the running time or speed of the gas pump to achieve quantitative injection. Since all cups are pressurized to almost the same absolute pressure value, their pressure decay curves during the pressure holding phase are highly comparable. This allows for more precise and uniform threshold settings for the leakage detection unit, improving the consistency and reliability of detection and judgment, and reducing misjudgments caused by different initial states of the cups.

[0026] Furthermore, such as Figure 1 , Figure 3 and Figure 4 As shown, the pressure detection and judgment module includes: The pressure monitoring unit consists of a pressure sensor and its signal conditioning circuit. It continuously collects the real-time pressure signal (P_current) from the gas path control unit of the gas management module, which leads to the cup body, and converts it into a digital signal. After the timing control unit of the central control module issues the start pressure holding command, the unit enters a high-frequency sampling mode, records pressure data at millisecond intervals, forms a pressure-time curve (Pt curve), and sends this data stream to the leak judgment unit in real time. The leakage detection unit receives real-time pressure data streams from the pressure monitoring unit and uses them to calculate the pressure decay rate (ΔP / Δt) per unit time. During the pressure holding phase (t0 to t1), the system sets a maximum allowable pressure decay rate threshold (R_threshold). The algorithm continuously calculates the instantaneous decay rate R_current=(P_t0-P_current) / (t_current-t0); once R_current>R_threshold is found, it can be immediately determined to be a leak, without waiting for the pressure holding stage to end, thus speeding up the judgment of obviously damaged cups. The leakage detection unit also receives a primary defect signal from the sealing status self-test unit of the cup sealing module. If the signal is present, the pressure data is only used as an auxiliary verification, and the system can directly make the final judgment of defective products. After the judgment is completed, the leakage judgment unit sends the final instruction of "good product" or "defective product" to the signal processing and decision unit of the central control module to trigger subsequent actions; The Failure Mode and Effects Analysis (FMEA) unit analyzes the pressure decay curve characteristics to distinguish the failure mode of the coffee cup (whether it's a leaky seal or a broken cup), and provides differentiated treatment for different types of defective cups. When the leakage detection unit determines it to be a "defective product," the FMEA unit initiates the analysis. Mode A (rapid pressure collapse): The pressure drops rapidly to atmospheric pressure during the injection phase or the initial holding phase, which usually indicates macroscopic damage to the cup (such as cracks or holes). Mode B (Slow Linear Leakage): After the pressure is maintained for a period of time, it shows a stable and slow downward trend. This usually indicates that slight deformation of the cup opening leads to a poor seal, or that there is a very slight leak in the cup wall; For Mode A (damaged cup): The failure mode analysis unit sends a discharge command to the gas path control unit of the gas management module to discharge the gas in the cup to the gas purification unit of the gas recovery and treatment module for decomposition. At the same time, it sends a "hard defective product" command to the central control module to trigger the waste cup rejection mechanism. For Mode B (micro-leaking cup / deformed cup): The failure mode analysis unit sends an "attempt recovery" command to the gas path control unit of the gas management module. The system will attempt to draw back most of the ozone gas that has not yet leaked from the cup at a low flow rate and pressure, and deliver it to the gas delivery unit of the gas recovery and treatment module. If "Mode B" occurs frequently, the host will be notified of maintenance information such as "cup quality warning" or "cup dropper may be damaged" to improve the quality of operation from the source. Regardless of the mode, the "defective product" status must ultimately be confirmed with the central control module, triggering the physical rejection process: After receiving the final "defective product" confirmation signal from the leakage judgment unit or failure mode analysis unit, the central control module immediately starts the process; the timing control unit of the central control module first instructs the gas management module's gas path control unit to close all gas valves leading to the current detection cup, ensuring that the gas path is isolated from the cup to be rejected; then, the timing control unit sends a specific rapid displacement command to the drive cup receiving device, which controls the cup receiving device to carry the defective cup, move a short distance with extremely high acceleration, and then stop abruptly. Using inertial force, there is static friction between the cup body and the cup receiver. When the inertial force (F=m*a) generated by the acceleration of the cup receiver exceeds the maximum static friction, the cup body cannot move synchronously with the cup receiver and will slide relative to the cup receiver, thus detaching from the cup position of the cup receiver and falling into the waste cup collection bucket below. After the rejection process is completed, the cup receiving mechanism returns to the standby position, the cup sealing module resets, triggering the cup dropper to drop a new coffee cup, and the next detection cycle begins.

[0027] Furthermore, such as Figure 1 , Figure 5 , Figure 6 and Figure 7 As shown, the gas recovery and treatment module includes: The gas recovery unit is activated when the timing control unit of the central control module issues a "recovery" command (this command originates from the judgment of the good cup or the failure mode analysis unit's attempt to recover the micro-leaking cup). The gas recovery unit establishes a negative pressure gas extraction path from the detection station to this module. Working in conjunction with the gas path control unit of the gas management module, it receives the gas extracted from the cup by the air pump and temporarily stores it in a small buffer gas tank. It removes most of the gas from the cup and the vicinity, significantly reducing the residual ozone concentration to balance airflow fluctuations and prepare for subsequent stable delivery. When the gas purification unit receives a "discharge" command (which is based on the judgment of a damaged cup or an abnormal system condition), the gas purification unit processes the harmful gas. Through an ozone decomposer (such as by using a catalyst or heating method), the introduced ozone-containing gas is quickly decomposed into harmless oxygen (2O3→3O2). The treated gas is then discharged into the atmosphere inside the machine or through a ventilation duct, ensuring that ozone does not leak. The gas delivery unit continuously monitors the status of the gas recovery unit. When there is available recovered gas in the buffer tank, the gas delivery unit starts a delivery pump to deliver the gas to the external ozone water preparation module. The activation and deactivation of the gas delivery unit are managed by the timing control unit. Gas quality monitoring and dynamic rationing unit. A highly sensitive ozone concentration sensor is installed in the bypass of the outlet pipeline of the gas delivery unit to monitor the ozone concentration (C_recycle) of the recycled gas about to be sent out: When C_recycle ≥ C_min, such as C_min = 1.5 ppm: it is determined as high-quality gas, and the instruction is given to the gas delivery unit to transport all of it to the ozone water preparation module for preparing high-concentration cleaning disinfectant; When C_recycle < C_min, it is determined as low-quality gas (possibly due to multiple recycling). At this time, the benefit of transporting it to the ozone water preparation module is very low. This unit will switch the valve to guide this part of the gas to a duct. When trace ozone circulates in the duct, it can slightly disinfect and deodorize the air inside the machine, and finally decompose naturally in the duct.

[0028] Example 2 The coffee cup defect detection system provided in Example 1 is further optimized. Specifically, as Figure 2 、 Figure 3 、 Figure 4 and Figure 5 shown, the central control module includes: Timing control unit. The timing control unit defines a complete working process from standby, cup placement, sealing, gas injection, pressure holding, detection, gas treatment to reset. The transition of each state depends on a trigger condition (such as receiving the "ready" signal from the cup positioning unit) or a timeout mechanism. The timing control unit sends instructions (such as injection, withdrawal) to the gas path control unit of the gas management module, the sealing execution unit of the cup sealing module, etc., to ensure that all actions are executed in the preset order; Signal processing and decision-making unit. The signal processing and decision-making unit receives the judgment results (good product, mode A defect, mode B defect) from the leakage judgment unit and the failure mode analysis unit of the pressure detection and judgment module; based on this result, it makes a final ruling and sends an instruction to the coffee machine, such as "the cup is good, extraction can be carried out" or "the cup is defective, it needs to be removed and a new cup needs to be replenished"; at the same time, this final judgment is also sent to the timing control unit to trigger the corresponding subsequent gas treatment (recovery / purification) and physical removal process; System efficiency optimization unit. It collects and analyzes the operation data of the whole system, establishes a performance baseline, adjusts the operation parameters to maximize the efficiency, and predicts potential failures at the same time; the system efficiency optimization unit continuously collects and stores key data from each module, such as: the cup mouth flatness data provided by the cup positioning unit, the concentration stabilization time of the ozone generation unit, the initial pressure establishment value of the pressure monitoring unit, the pressure decay rate of the leakage judgment unit, the failure mode distribution of the failure mode analysis unit, etc.; Adaptive Holding Time: Analysis of historical data revealed that if the pressure decay rate is significantly lower than the threshold for multiple consecutive cycles, the holding time (T_hold) can be shortened, thereby improving the detection throughput. Formula: T_hold_new=max(T_min,T_base-k*(R_threshold-R_avg)) (where R_avg is the average decay rate and k is a coefficient); Sealing pressure adjustment: Based on the hardness characteristics of the cup mouth material scanned by the cup positioning unit (calculated through deformation feedback after being pressed), the final sealing pressure (F_seal) of the sealing execution unit is finely adjusted to achieve the best sealing effect and reduce the pressure on the fragile cup body.

[0029] Example 3 The coffee cup defect detection system provided in Examples 1 and 2 has been further optimized, such as... Figure 1 , Figure 6 and Figure 7 As shown, the ozone water preparation module includes: The water storage unit is a clean water storage tank with a built-in water level sensor, which provides a water source for the preparation of ozone water. When the water level is lower than the set value, it will control the water inlet valve to replenish water and ensure that there is enough water for gas-liquid mixing. The gas-liquid mixing unit is used to transfer ozone from the gas phase to the liquid phase, and its operation is triggered by two events: Timed trigger: The coffee machine's preset daily self-cleaning plan activates the gas-liquid mixing unit during off-peak hours (such as early morning); Event triggering: The gas-liquid mixing unit can also be activated when a "gas ready" signal (indicating that recovered gas is available) is received from the gas delivery unit; During operation, the water pump in the gas-liquid mixing unit draws water from the storage unit and flows through a mixer that uses the Venturi effect. The mixer uses the negative pressure generated by the water flow to automatically draw in ozone gas from the gas delivery unit and mix it thoroughly with the water flow to form preliminary ozone water. Subsequently, the gas-water mixture enters a static mixer or aeration tank, where sufficient time and contact area are provided to allow the ozone to fully dissolve in the water and reach a higher concentration. The ozone water storage and distribution unit includes a sealed storage tank resistant to ozone corrosion for storing prepared high-concentration ozone water. The storage tank is equipped with an ozone concentration sensor (such as an ORP oxidation-reduction potential sensor, whose reading is positively correlated with the ozone concentration) and a water level sensor. When the coffee machine needs self-cleaning, the ozone water storage and distribution unit receives the instruction and starts the distribution pump to accurately pump a certain amount of ozone water to the parts that need cleaning, such as the rinsing pipes of the extraction mechanism and the beverage outlet valve. After contacting organic matter and microorganisms, the ozone water quickly decomposes into oxygen, leaving no chemical residue. A cleaning requirement calculation and concentration management unit predicts the cleaning requirement according to the machine usage situation, and controls the preparation process to maintain the ozone water concentration stored within a stable and highly efficient bactericidal range; The cleaning requirement calculation and concentration management unit obtains data such as the number of coffee cups made recently and the syrup usage amount. Based on this data, it uses a simple model to calculate the cleaning requirement level (L_clean). For example, L_clean = k1*(number of coffee cups) + k2*(number of syrup uses). According to the value of L_clean, it calculates the minimum effective volume (V_min) and target concentration (C_target) of ozone water required for the next self-cleaning; The cleaning requirement calculation and concentration management unit continuously monitors the current water level (V_current) and current ozone concentration (C_current) in the storage tank of the ozone water storage and distribution unit: If V_current < V_min or C_current < C_target, and if there is gas supply from the gas delivery unit at this time, the unit will actively start the gas-liquid mixing unit for preparation until the target water level and concentration are reached; realizing preparation according to demand, avoiding the invalidation of ozone water due to long-term storage, and also avoiding the waste of energy and water resources caused by ineffective preparation.

[0030] In the present invention, unless otherwise clearly specified and defined, terms such as "installed", "connected", "connected to", "fixed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection, an electrical connection, or communicable with each other; it can be directly connected, or indirectly connected through an intermediate medium, and can be the communication inside two components or the interaction relationship between two components, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0031] Obviously, the embodiments described above are only a part of the embodiments of the present invention, rather than all embodiments. The drawings show preferred embodiments of the present invention, but do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosed content of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features. Any equivalent structure directly or indirectly using the content of the specification and drawings of the present invention in other related technical fields is equally within the scope of the patent protection of the present invention.

Claims

1. A defective coffee cup detection system, characterized in that, include: The cup sealing module is used to receive the coffee cup and form a sealed pressure chamber; A gas management module is used to inject a specific concentration of ozone mixture into the sealed pressure chamber to establish the pressure required for detection. The pressure detection and judgment module is used to monitor the pressure changes in the sealed pressure chamber and judge the integrity of the coffee cup based on the pressure decay rate. The gas recovery and treatment module is used to recover or purify the gas in the sealed pressure chamber according to the judgment result. The central control module is used for coordination and control, and works in a timely manner.

2. The coffee cup defect detection system according to claim 1, characterized in that, The cup sealing module includes: The cup positioning unit is used to listen to the cup positioning signal and scan the cup rim status to generate cup rim height data; A sealing actuator is used to receive the cup opening height data and drive the sealing cap to press the cup opening with a constant optimal pressure (F_seal); The sealing status self-test unit is used to detect the initial airtightness of the sealing cavity by applying a small negative pressure after sealing is completed. If the sealing fails, it triggers the defective product judgment and skips the subsequent gas injection and pressure holding process.

3. The coffee cup defect detection system according to claim 2, characterized in that, The gas management module includes: The ozone generation unit is activated upon receiving a command to generate and output an ozone-air mixture with a stable concentration in the range of 2-5 ppm. The gas circuit control unit is used to receive mode commands and control the flow of gas to perform injection, pressure holding, extraction or discharge operations; The injection volume adaptive calculation unit is used to calculate the equivalent volume of gas to be injected (V_inject) based on the current effective volume (V_cup), target pressure value (P_target), and current atmospheric pressure (P_atm) of the cup, so as to achieve precise pressurization.

4. The coffee cup defect detection system according to claim 3, characterized in that, The pressure detection and judgment module includes: The pressure monitoring unit is used to collect pressure data at high frequency during the pressure holding phase and generate a pressure-time curve; The leakage detection unit is used to dynamically calculate the real-time pressure decay rate (ΔP / Δt) and compare it with the threshold (R_threshold) to determine whether there is a leak. The failure mode analysis unit is used to analyze the characteristics of the pressure decay curve, distinguish between failure modes such as cup breakage or poor sealing, and trigger differentiated gas handling commands.

5. A coffee cup defect detection system according to claim 4, characterized in that, The failure mode analysis unit is configured as follows: In the case of cup breakage, the gas control unit is instructed to discharge gas to the purification unit; In the case of a poorly sealed mode, the gas circuit control unit is instructed to attempt to recover any residual ozone gas inside the cup.

6. The coffee cup defect detection system according to claim 1, characterized in that, The gas recovery and treatment module includes: The gas recovery unit is used to establish a negative pressure path to extract and temporarily store the gas in the good product cup or micro-leak cup; The gas purification unit is used to decompose the gas in the defective cup into oxygen before discharging it. A gas delivery unit is used to deliver the recovered gas to the ozone water preparation module; The gas quality monitoring and dynamic distribution unit is used to monitor the ozone concentration (C_recycle) of the recovered gas and distribute it to the ozone water preparation module or the internal air duct of the machine according to the concentration value.

7. The coffee cup defect detection system according to claim 1, characterized in that, The central control module includes: The timing control unit is used to define and control the state transition timing of the entire detection process; The signal processing and decision-making unit is used to receive the judgment results and make a final decision, triggering subsequent physical actions; The system performance optimization unit is used to collect system operation data, dynamically adjust the holding time (T_hold) and sealing pressure (F_seal), and perform predictive maintenance.

8. A coffee cup defect detection system according to claim 6, characterized in that, It also includes an ozone water preparation module connected to the gas delivery unit, the ozone water preparation module comprising: Water storage unit, used to store water for preparation; The gas-liquid mixing unit is used to mix the recovered ozone gas with water using the Venturi effect to prepare ozone water. An ozone water storage and distribution unit is used to store a fixed amount of ozone water and pump it to the parts to be cleaned during the self-cleaning process.

9. A coffee cup defect detection system according to claim 8, characterized in that, The ozone water preparation module also includes: The cleaning demand calculation and concentration management unit is used to calculate cleaning demand based on machine usage data and monitor the concentration (C_current) and volume (V_current) of ozone water to achieve on-demand preparation and concentration maintenance.

10. A coffee cup defect detection system according to claim 1, characterized in that, For coffee cups determined to be defective, the central control module instructs the cup receiving device to perform a high-acceleration displacement action, using inertial force to detach the defective cup from the cup receiving device and drop it into the waste cup collection bin, thus completing the rejection.