Intelligent vending machine perfume spray device and control method
The smart vending machine perfume spray device, with its inclined tilt structure, dual power supply interfaces, and modular design, solves the shortcomings of existing devices in terms of human-computer interaction, power supply, maintenance, and environmental adaptability. It achieves a perfume spray effect with high user experience, high stability, and easy operation and maintenance, and is suitable for various new retail scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI QUZHI NETWORK TECH CO LTD
- Filing Date
- 2026-04-08
- Publication Date
- 2026-07-24
Smart Images

Figure CN122441591A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent vending machine technology, specifically relating to an intelligent vending machine perfume spray device and control method. Background Technology
[0002] With the rapid development of offline new retail formats, smart vending machines, with their advantages of being unmanned, flexibly deployed, and covering a wide range of scenarios, have been widely used in the offline sales and sampling of fast-moving consumer goods and beauty fragrance products. Among them, perfumes and fragrances are consumer goods with a strong sensory experience, and users' purchase / receipt decisions heavily rely on the prior fragrance experience. However, most current smart vending machines in the sales and sampling scenarios of perfumes cannot provide users with pre-delivery product experience or multiple fragrance comparison services, resulting in low user conversion rates and poor user experience, which restricts the large-scale application of fragrance products in smart unmanned retail channels.
[0003] Currently, the mainstream technical solutions for liquid atomization fragrance testing spray devices are mainly divided into two categories: liquid pressure spray devices and ultrasonic atomization spray devices.
[0004] One type is the liquid pressure spray device. This type of device achieves liquid spraying by pressurizing the pump body. Although it can achieve stable mist output, it has the disadvantages of large spray volume, complex pipeline structure, and large overall size of the device. In addition, the pump body will generate obvious noise when it is working, which cannot be adapted to the compact installation space and low noise environment requirements of smart vending machines, making it difficult to apply on a large scale in unmanned retail scenarios.
[0005] Secondly, there are conventional ultrasonic spray devices. These devices utilize the high-frequency oscillation of ultrasonic atomizing plates to atomize liquids. They have advantages such as small size, simple structure, and low noise, making them the mainstream choice for fragrance testing devices. However, most existing conventional ultrasonic spray devices are top-spray structures that use a water-absorbing rod to supply water to the top ultrasonic atomizing plate. Their spray direction and installation height cannot be adapted to the human-machine interaction dimensions of smart vending machines. At the same time, they are not specifically designed for the vending machine's power supply system, simultaneous operation of multiple fragrances, protection against humid environments, and offline maintenance needs, resulting in many application limitations.
[0006] To address the aforementioned issues, the industry has developed a four-channel perfume spray device adapted for smart vending machines. This device features a multi-channel atomization structure, enabling multi-fragrance testing, and is the closest existing technology to this invention. However, in practical applications, this device still suffers from the following technical shortcomings that urgently need to be addressed:
[0007] First, the human-computer interaction experience is poor. The nozzle position is too low, requiring users to bend over to operate it when trying out the fragrance, which cannot meet the comfortable fragrance-smelling needs of the mainstream height group of 130cm-180cm. Second, the power supply capacity is limited. The device uses a single USB interface for power supply. Due to the limitation of the total output power of the USB interface, when all four nozzles are working at the same time, the output mist volume of the nozzles will decrease and the atomization will be unstable, which cannot meet the needs of multiple nozzles spraying at the same time. Third, installation and debugging are inconvenient. The device does not have physical test buttons. The installation, debugging and maintenance process can only be controlled by the host computer software, which cannot achieve independent debugging of a single nozzle, significantly reducing the efficiency of offline installation and maintenance. Fourth, maintenance and disassembly are difficult. The circuit part of the device is connected to the nozzle unit through an integrated wiring harness. When a single nozzle fails, the entire wiring harness must be disassembled for maintenance and disassembly. It cannot achieve quick replacement of a single nozzle in a modular way, which increases the time and labor costs of offline maintenance. In addition, the device does not have specific protection and lighting interaction design for the humid working environment of the spray nozzle. Long-term operation in a humid environment is prone to circuit failure, and it cannot achieve lighting effects that match the interactive scene of the vending machine, resulting in insufficient scene adaptability.
[0008] In summary, existing perfume spray devices adapted to smart vending machines have significant technical shortcomings in terms of human-computer interaction experience, power supply capability, ease of debugging, maintainability, and environmental adaptability. They cannot meet the large-scale application requirements of perfume products in smart unmanned retail scenarios, which demand high experience, high stability, and easy maintenance. Therefore, there is an urgent need to develop a smart vending machine perfume spray device and method that specifically addresses the above-mentioned technical problems. Summary of the Invention
[0009] To address this issue, the present invention provides a smart vending machine perfume spray device and control method, which solves the problem that existing technologies cannot meet the large-scale application requirements of perfume products in smart unmanned retail scenarios, which demand high experience, high stability, and easy maintenance.
[0010] To achieve the above objectives, the present invention provides the following technical solution: a smart vending machine perfume spray device, comprising a main frame, a main control module, at least six atomizing spray bottle modules, and atomizing drive modules corresponding one-to-one with the atomizing spray bottle modules. The main frame adopts an inclined tilt structure design, the atomizing spray bottle modules are evenly distributed in the center along the main frame, and the spray direction of the nozzles of the atomizing spray bottle modules is inclined upward with respect to the horizontal plane.
[0011] The main control module is equipped with a dual power supply interface unit, which includes a USB power supply interface and an external power supply interface. The USB power supply interface is used to adapt to the USB interface of the industrial control computer of the smart vending machine, and the external power supply interface is used to adapt to the 12V power supply interface of the smart vending machine.
[0012] The output terminal of the main control module is detachably electrically connected to the control terminal of each atomizing drive module through an independent interface, and each atomizing drive module is electrically connected to the corresponding atomizing spray bottle module; the atomizing spray bottle module adopts a modular structure, and the atomizing drive module is integrated on the corresponding atomizing spray bottle module.
[0013] As a preferred embodiment of the perfume spray device for intelligent vending machines, the main frame has an inclination angle of 30°, and the spray direction of the nozzle of the atomizing spray bottle module is set at a 30° angle upward to the horizontal plane;
[0014] The main frame is a sheet metal frame made of 304 stainless steel by bending and welding. The sheet metal frame is provided with mounting docking holes that match the reserved panel positions of the intelligent vending machine interactive device. The inner side of the sheet metal frame is provided with six-piece buckle positions for fixing the atomizing spray bottle module.
[0015] As a preferred solution for the perfume spray device in a smart vending machine, the main control module also includes a power supply switching and power control unit, and a DC-DC step-down module;
[0016] The power supply switching and power control unit is configured to: when the USB power supply interface is connected, limit the atomizing spray bottle module to work simultaneously, and the total power of the device shall not exceed 2.5W;
[0017] When the external power supply interface is connected, the 12V input voltage is stepped down to 5V through the DC-DC step-down module to power the main control module and the atomization drive module, so as to support the simultaneous operation of all six atomization spray bottle modules.
[0018] As a preferred solution for a perfume spray device in a smart vending machine, the atomizing spray bottle module includes a nozzle assembly, a bottle body, a snap-fit structure, and a detachable pull ring;
[0019] The nozzle assembly is sealed to the bottle body, and the snap-fit structure is located on the outside of the nozzle assembly. The snap-fit structure matches and engages with the six snap-fit positions of the main frame.
[0020] The detachable pull ring is linked to the buckle structure. When the bottle body is engaged with the main frame, the pull ring causes the buckle structure to separate from the six-piece buckle position through the force applied by the pull ring. The bottle body is made of PP material.
[0021] As a preferred solution for the perfume spray device of the smart vending machine, the nozzle assembly is provided with an ultrasonic atomizing plate, a water-absorbing fiber cotton swab, and a cotton swab support spring inside;
[0022] The cotton swab support tower spring is located at the inner bottom of the bottle body. The cotton swab support tower spring provides axial support force for the absorbent fiber cotton swab, so that the top of the absorbent fiber cotton swab is in close contact with the bottom surface of the ultrasonic atomizing plate.
[0023] The ultrasonic atomizing plate is provided with a water-proof drainage hole, which is used to prevent atomization failure caused by water accumulation during long-term operation.
[0024] The atomization driving module outputs a 100kHz high-frequency driving signal to the ultrasonic atomizing plate, driving the ultrasonic atomizing plate to complete the atomization work.
[0025] As a preferred embodiment of the perfume spray device for smart vending machines, the top of the nozzle assembly is provided with a recessed annular groove, which is a mounting position for an RGB light ring.
[0026] The recessed annular groove is equipped with an RGB light ring, which uses 6 WS2812 LED beads evenly distributed around the circumference. Each LED bead is connected to the main control module via a bus.
[0027] The RGB light ring is embedded in the recessed annular groove, and its surface is sprayed with UV conformal paint and filled with a transparent potting compound layer. The transparent potting compound layer is used for waterproof protection and uniform light distribution.
[0028] As a preferred solution for the perfume spray device in a smart vending machine, the main control module includes a PCB circuit board and an STC15W204S main control microcontroller soldered on the PCB circuit board; the main control microcontroller has at least 14 I / O ports, which are used to realize the drive control of the six atomizing spray bottle modules, the six key inputs and serial communication.
[0029] On the PCB circuit board, each of the atomization driving modules is equipped with one 2P independent female connector, one physical debugging button and one working status indicator light.
[0030] Each I / O port of the main control microcontroller is connected to the corresponding 2P independent female interface through a MOS transistor switching unit to control the on / off state of the atomization drive module.
[0031] Each I / O port is equipped with a freewheeling diode at its corresponding output port. The freewheeling diode is an FR107W type diode, which is used to prevent the reverse voltage of the subsequent atomization drive module from damaging the main control component.
[0032] The input terminal of the USB power supply interface is equipped with a TVS protection device of SMF5.0A specification. The main control module is also equipped with a USB to serial communication unit. The USB to serial communication unit is equipped with an anti-current backflow circuit unit, which is composed of a B5817WS diode and a 270Ω resistor.
[0033] The main control module is also equipped with a watchdog unit and a fault fuse unit; the USB to serial communication unit uses a USB 2.0 interface to communicate with the host computer of the smart vending machine, supporting a maximum baud rate of 2Mbps and a custom encrypted communication protocol; the watchdog unit is used to automatically trigger a complete machine reset when the device is in an abnormal operating state.
[0034] The fault fuse unit is configured to: when the single-channel atomizing spray bottle module triggers a reset action more than 5 times during the execution of the action, set the corresponding nozzle channel to a fault-locked state, stop responding to the action command of that channel, and resume operation after receiving a fault clearing command issued by the host computer.
[0035] The present invention also provides a method for controlling perfume spray in a smart vending machine, applied to the aforementioned smart vending machine perfume spray device, comprising the following steps:
[0036] S1. Power Supply Access and Working Mode Determination: The main control module's power supply switching and power control unit detect the type of the power supply interface in real time. If a USB power supply interface is detected, it enters the single-channel spray restriction mode, allowing a single atomizing spray bottle module to work at the same time. If an external power supply interface is detected, it enters the full-power working mode, supporting all six atomizing spray bottle modules to work simultaneously.
[0037] S2. Communication and Command Parsing: The main control module establishes a communication link with the host computer of the smart vending machine through the USB to serial communication unit, continuously listens for and receives the encapsulation commands issued by the host computer; it performs protocol parsing on the received commands, verifies the packet header, check bit and data length. If the verification is successful, the corresponding command is executed; if the verification fails, the current data is discarded and the receiving error information is fed back to the host computer.
[0038] S3. Action Execution and Linkage Control: The main control module drives the atomization drive module through the MOS transistor switching unit of the corresponding IO port according to the parsed instructions, and controls the start and stop of spraying and the amount of spraying of the corresponding atomization spray bottle module; at the same time, it controls the color value and dynamic lighting effect of the corresponding RGB light ring according to the instructions.
[0039] S4. Status Feedback and Fault Protection: After the main control module executes the instruction, it encapsulates the execution status, device operating parameters and fault information according to the communication protocol and sends them back to the host computer. When the fault fuse unit detects that the single-channel atomizing spray bottle module has triggered overcurrent protection or the number of resets exceeds the preset threshold, it activates the fault fuse mechanism, locks the corresponding fault channel and reports the fault information.
[0040] As a preferred solution for the perfume spray control method of intelligent vending machines, in S2, the main control module supports two working modes: an active feedback automatic execution mode and a passive feedback instruction response mode.
[0041] In automatic execution mode, the main control module saves the configuration information locally according to the configuration parameters pre-sent by the host computer, and automatically executes the preset linkage actions, including the timed start and stop of the spray nozzle, the automatic increase / decrease of the spray volume, and the dynamic linkage lighting effects of the multi-channel RGB light rings.
[0042] As a preferred embodiment of the perfume spray control method for smart vending machines, the method further includes a linkage and interaction process with the smart vending machine:
[0043] The main control module maintains periodic polling communication with the MCU of the smart vending machine. If the device does not respond within a timeout period, the host computer sends a USB interface reset command and a device reset command in sequence. After three consecutive unresponsive attempts, the device is determined to be faulty and a maintenance work order is generated in the background. In the normal interaction process, after receiving the command, the device responds and executes the spray and light effects. After the actions are completed, it sends a completion signal to the host computer, triggering the smart vending machine's dispensing process.
[0044] The present invention has the following advantages:
[0045] First, this invention, through the oblique tilt structure design of the main frame, achieves upward spraying from the nozzle. Combined with an optimized 30° tilt angle, it perfectly adapts to the comfortable fragrance-smelling needs of the mainstream height group of 130cm to 180cm. This solves the pain point of existing devices where the nozzle position is too low and users need to bend over to try the fragrance, greatly improving the convenience and comfort of fragrance testing in unmanned retail scenarios. At the same time, it accurately controls the spray height and diffusion range, allowing the perfume scent to stably cover the user's mouth and nose area, resulting in a better fragrance testing experience and effectively helping to improve the offline conversion efficiency of fragrance products.
[0046] Secondly, this invention adopts a dual power supply interface design of USB and external 12V, combined with power supply switching and power control unit, which can be adapted to the existing power supply system of smart vending machines without the need to modify the circuit of the vending machine; the USB power supply mode can meet the installation and debugging requirements of a single nozzle, while the external 12V power supply mode can support the simultaneous and stable operation of all six nozzles. This solves the technical defects of existing devices, such as limited power supply from a single USB power supply, mist volume attenuation when multiple nozzles spray simultaneously, and unstable atomization. It ensures uniform and stable atomization effect in scenarios where multiple fragrances are tested simultaneously, and meets the needs of offline multi-fragrance testing.
[0047] Third, the atomizing spray bottle module integrates an atomization drive module, which can be detachably connected to the main control module through an independent interface. With the quick-release design of the snap-fit structure and the disassembly pull ring, it can achieve tool-free quick disassembly and assembly of a single spray bottle. This solves the problems of difficult maintenance and disassembly caused by the integrated wiring harness design of existing devices, and the need to disassemble the entire machine for a single-channel failure. At the same time, each spray nozzle is equipped with an independent physical debugging button, which can complete the independent debugging and maintenance of a single spray nozzle. This greatly improves the efficiency of offline installation, debugging, and fault replacement, and significantly reduces the operation and maintenance time and labor costs in unmanned retail scenarios.
[0048] Fourth, this invention optimizes the entire process for protection in humid working environments of the spray device. The ultrasonic atomizing plate is equipped with anti-water accumulation and drainage holes, solving the problems of atomization failure and hole blockage caused by water accumulation during long-term operation. The RGB light ring adopts dual protection of UV conformal coating and transparent potting compound, which can meet the stable operation in humid environments and even water immersion scenarios, solving the problem that existing devices are prone to short circuits and component damage when working in humid environments for a long time. At the same time, with the addition of circuit protection designs such as freewheeling diodes, anti-current reverse flow circuits, and TVS protection devices, it effectively avoids reverse voltage and surge damage to the main control components, greatly improving the working stability and service life of the device, and adapting to the long-term continuous operation requirements of unattended scenarios.
[0049] Fifth, this invention constructs a complete fault self-handling mechanism through the design of a watchdog unit and a fault fuse unit. The watchdog unit can automatically trigger a system reset when the device is malfunctioning, significantly reducing the downtime of the device. The fault fuse unit can lock the fault for multiple abnormal resets of a single nozzle, ensuring that a single-channel fault does not affect the normal operation of other channels, preventing the fault from escalating and affecting the operation of the entire device. At the same time, it can report the fault location to the host computer, solving the problems of difficult fault location and system paralysis caused by a single-channel fault in existing devices, and significantly reducing the operation and maintenance pressure in unattended scenarios.
[0050] Sixth, this invention supports independent control of single / multi-channel spraying, adjustment of mist volume, and millisecond-level alternating spraying. Combined with the independent color value and dynamic lighting effect control of the RGB light ring, it can be deeply integrated with the interactive process of smart vending machines to enhance the interactive atmosphere of offline activities. At the same time, it supports both active feedback automatic execution mode and passive feedback command response mode, which can flexibly adapt to various new retail scenarios such as free product sampling, brand offline activities, and regular merchandise sales. The device has strong compatibility and scalability, which greatly expands the application boundaries of fragrance products in unmanned retail channels. Attached Figure Description
[0051] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely exemplary, and those skilled in the art can derive other embodiments based on the provided drawings without creative effort.
[0052] The structures, proportions, sizes, etc. illustrated in this specification are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed herein, and are not intended to limit the conditions under which the present invention can be implemented. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in the proportions, or adjustments to the size, without affecting the effects and objectives that the present invention can produce, should still fall within the scope of the technical content disclosed in the present invention.
[0053] Figure 1 This is a schematic diagram of the overall structure of the perfume spray device for an intelligent vending machine provided in an embodiment of the present invention;
[0054] Figure 2 This is a schematic diagram of the main frame of the perfume spray device for an intelligent vending machine provided in an embodiment of the present invention;
[0055] Figure 3 This is a schematic diagram of the intelligent vending machine perfume spray device provided in an embodiment of the present invention after removing part of the atomizing spray bottle module;
[0056] Figure 4 This is a schematic diagram of the six-channel atomizing spray bottle module structure of the intelligent vending machine perfume spray device provided in this embodiment of the invention;
[0057] Figure 5 This is a schematic diagram of the perfume spray device for a smart vending machine after installation, as provided in this embodiment of the invention.
[0058] Figure 6 This is a schematic diagram of the control architecture of the perfume spray device for an intelligent vending machine provided in an embodiment of the present invention;
[0059] Figure 7 This is a cross-sectional structural diagram of the single-channel atomizing spray bottle module of the intelligent vending machine perfume spray device provided in this embodiment of the invention;
[0060] Figure 8 This is a top view of the single-channel atomizing spray bottle module of the intelligent vending machine perfume spray device provided in this embodiment of the invention;
[0061] Figure 9 This is a circuit diagram of the main control module of the perfume spray device for an intelligent vending machine provided in an embodiment of the present invention;
[0062] Figure 10This is a circuit diagram of the atomization drive part of the perfume spray device for an intelligent vending machine provided in an embodiment of the present invention;
[0063] Figure 11 This is a schematic diagram of the communication between the intelligent vending machine perfume spray device and the host computer provided in this embodiment of the invention;
[0064] Figure 12 This is a schematic diagram of the perfume spray control method for intelligent vending machines provided in an embodiment of the present invention.
[0065] In the diagram: 1. Main frame; 2. Main control module; 3. Atomizing spray bottle module; 4. Atomization drive module;
[0066] 11. Sheet metal frame; 12. Mounting docking holes; 13. Six-piece snap-fit connector; 21. USB power supply interface; 22. External power supply interface; 23. Power supply switching and power control unit; 24. DC-DC step-down module; 25. PCB circuit board; 26. Main control microcontroller; 27. 2P independent female connector; 28. Physical debugging button; 29. Working status indicator light;
[0067] 31. Nozzle assembly; 32. Bottle body; 33. Snap-fit structure; 34. Removal pull ring; 35. Ultrasonic atomizing plate; 36. Water-absorbing fiber cotton swab; 37. Cotton swab support spring; 38. Anti-water accumulation drainage hole; 39. Recessed annular groove. Detailed Implementation
[0068] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0069] See Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5This invention provides a perfume spray device for a smart vending machine, comprising a main frame 1, a main control module 2, at least six atomizing spray bottle modules 3, and atomizing drive modules 4 corresponding to the atomizing spray bottle modules 3. The main frame 1 adopts an inclined tilt structure design, and the atomizing spray bottle modules 3 are evenly distributed in the center along the main frame 1. The spray direction of the nozzles of the atomizing spray bottle modules 3 is inclined upward with respect to the horizontal plane. The main control module 2 is provided with a dual power supply interface unit, which includes a USB power supply interface 21 and an external power supply interface 22. The USB power supply interface 21 is used to adapt to the USB interface of the industrial control computer of the smart vending machine, and the external power supply interface 22 is used to adapt to the 12V power supply interface of the smart vending machine. The output end of the main control module 2 is detachably electrically connected to the control end of each atomizing drive module 4 through an independent interface, and each atomizing drive module 4 is electrically connected to the corresponding atomizing spray bottle module 3. The atomizing spray bottle module 3 adopts a modular structure, and the atomizing drive module 4 is integrated on the corresponding atomizing spray bottle module 3.
[0070] Addressing the shortcomings of the applicant's previous generation four-channel spray device, where the nozzles were positioned too low and users had to bend over to smell the fragrance, the main frame 1 features an angled structure that directs the spray upwards. This allows the aerosol from the perfume atomization to directly diffuse to the user's mouth and nose area, eliminating the need for bending over to sample the fragrance and fundamentally optimizing the human-computer interaction experience. The atomizing spray bottle modules 3 are centrally and evenly distributed, ensuring consistent diffusion across all spray channels. Users can enjoy a uniform fragrance experience from any position on the front of the device, making it suitable for scenarios where multiple fragrances are displayed simultaneously.
[0071] Furthermore, addressing the limitations of the previous generation device's single USB power supply and the attenuation of mist output when multiple sprayers were operating simultaneously, a dual power supply mode was implemented to accommodate two standard power supply systems for smart vending machines. The USB power interface 21 can directly connect to the standard USB port of the vending machine's industrial control computer without additional wiring modifications, meeting the needs of single-channel debugging and easy installation. The external 12V power interface directly connects to the vending machine's built-in 12V power output port, providing ample power redundancy and resolving the power bottleneck issue of multiple simultaneous operations at its source. In addition, addressing the shortcomings of the previous generation device's integrated wiring harness for circuitry and nozzles, which made disassembly and maintenance inconvenient, an integrated design of the atomizing spray bottle module 3 and atomizing drive module 4 was adopted. Each spray bottle corresponds to an independent drive module, which can be detachably connected to the main control module 2 via an independent interface, enabling independent disassembly and replacement of individual spray bottles without disassembling the entire wiring harness, significantly reducing the difficulty of offline maintenance. Simultaneously, the modular design allows for quick fragrance changes, adapting to the fragrance replacement needs of different activity scenarios.
[0072] In one possible embodiment, the main frame 1 has an inclination angle of 30°, and the spray direction of the nozzle of the atomizing spray bottle module 3 is set at a 30° angle upward to the horizontal plane; the main frame 1 is a sheet metal frame 11 made of 304 stainless steel by bending and welding, and the sheet metal frame 11 is provided with mounting docking holes 12 that match the reserved panel position of the intelligent vending machine interactive device, and the inner side of the sheet metal frame 11 is provided with six-piece buckle positions 13 for fixing the atomizing spray bottle module 3.
[0073] Specifically, based on ergonomic principles, the device is optimized for the mainstream height group in China, ranging from 130cm to 180cm. The nozzle is installed on the vending machine at a height of 116.6cm from the ground. Combined with a 30° upward spray angle, it achieves a minimum spray height of 10cm and a maximum spray height of 30cm. The atomized aerosol can cover the lower limit of the mouth and nose area for users of 130cm height and the upper limit for users of 180cm height, allowing for comfortable inhalation without bending over or standing on tiptoe. This is the optimal tilt design that caters to people of different heights. Simultaneously, the 30° tilt angle prevents atomized droplets from falling vertically and accumulating on the nozzle surface, further alleviating the water accumulation problem.
[0074] The sheet metal frame 11 is made of 304 stainless steel through bending and welding, possessing excellent rust resistance, corrosion resistance, and deformation resistance, making it suitable for long-term use in unmanned retail scenarios. It also shields against external electromagnetic interference, preventing signal interference to the main control module 2's circuitry. The mounting holes 12 perfectly match the reserved panel positions of the vending machine's interactive device, eliminating the need for drilling or modification of the vending machine body, enabling rapid installation and significantly reducing the modification and time costs of offline installation. Six sets of latches are evenly distributed along the center of the frame, corresponding one-to-one with the latch structure 33 of the atomizing spray bottle module 3. The assembly offset of a single set of latches is compatible with ±1mm, allowing for quick plug-and-play installation of the atomizing spray bottle module 3 without screws, while ensuring accurate installation and maintaining the spray angle consistent with the preset 30° tilt angle, avoiding spray direction deviation caused by installation errors.
[0075] See Figure 6 In one possible embodiment, the main control module 2 further includes a power supply switching and power control unit 23 and a DC-DC step-down module 24; the power supply switching and power control unit 23 is configured to: when the USB power supply interface 21 is connected, limit the atomizing spray bottle module 3 to work simultaneously, and the total power of the device shall not exceed 2.5W;
[0076] When the external power supply interface 22 is connected, the 12V input voltage is stepped down to 5V through the DC-DC step-down module 24 to power the main control module 2 and the atomization drive module 4, so as to support the simultaneous operation of all six atomizing spray bottle modules 3.
[0077] Specifically, the power supply switching and power control unit has a built-in voltage detection circuit and power current limiting circuit, which can automatically identify the type of power supply interface connected and match the corresponding power control strategy. When a USB 5V power supply is detected, the power current limiting mechanism is triggered, limiting the maximum operating power of the whole machine to no more than 2.5W. This power is the safe output power limit of the standard USB 2.0 interface, which can avoid overload damage to the USB interface of the vending machine's industrial control computer. Therefore, only a single atomizing spray bottle module 3 can work at the same time, meeting the basic requirements for installation and debugging. When an external 12V power supply is detected, the power limit is lifted, and all 6 spray ports are allowed to work simultaneously, meeting the needs of scenarios where multiple fragrances are tested at the same time.
[0078] Among them, the DC-DC step-down module 24 adopts a switching power supply step-down architecture, which can efficiently step down the 12V DC voltage input from the vending machine to a stable 5V DC voltage. It has high conversion efficiency and can provide a maximum continuous output current of 3A, which fully meets the power requirements of the six atomization drive modules 4 working at the same time. At the same time, the DC-DC module has built-in overcurrent, overvoltage and overheat protection, which can cut off the output when the back-end circuit fails, prevent the fault from expanding and ensure the safety of the vending machine power supply system.
[0079] See Figure 7 and Figure 8 In one possible embodiment, the atomizing spray bottle module 3 includes a nozzle assembly 31, a bottle body 32, a snap-fit structure 33, and a detachable pull ring 34; the nozzle assembly 31 is sealed to the bottle body 32, the snap-fit structure 33 is located on the outside of the nozzle assembly 31, and the snap-fit structure 33 is matched and snapped with the six-slot snap-fit position 13 of the main frame 1; the detachable pull ring 34 is linked to the snap-fit structure 33, and when the bottle body 32 is snapped to the main frame 1, the detachable pull ring 34 is forced to separate the snap-fit structure 33 from the six-slot snap-fit position 13; the bottle body 32 is made of PP material.
[0080] Specifically, a quick-release design with a snap-fit structure 33 and a disassembly pull ring 34 is adopted. During installation, the atomizing spray bottle module 3 is pushed into the snap-fit position of the main frame 1. The snap-fit structure 33 achieves self-locking fixation with the six-link snap-fit position 13 through elastic deformation, and the installation can be completed without tools. During disassembly, the disassembly pull ring 34 is pulled outward, and the snap-fit structure 33 is driven to retract inward through the lever linkage structure, releasing the self-locking with the snap-fit position, so that the atomizing spray bottle module 3 can be pulled out as a whole. This achieves quick disassembly and assembly without tools, which solves the pain point of the existing device requiring disassembly of the entire wiring harness for single-channel spray bottle maintenance, and greatly improves the efficiency of fragrance replacement and fault replacement.
[0081] The nozzle assembly 31 and the bottle body 32 are connected by a threaded seal, which, together with a sealing ring, achieves a complete seal, preventing leakage of the perfume during transportation, shaking, and operation. The bottle body 32 is made of PP material, which has excellent resistance to alcohol and fragrance corrosion, allowing for long-term storage of perfume liquids without material aging or swelling. PP material also offers good food contact safety, meeting the compliance requirements of offline retail scenarios. The bottle body 32 has a designed capacity of 60ml, and with a spray rate of 40-50ml / hour, it can support 1.2-1.5 hours of continuous spraying. A single 10-second spray can support 432-540 uses, fully meeting the usage cycle requirements of offline activities.
[0082] See Figure 7 and Figure 8 In one possible embodiment, the nozzle assembly 31 is internally provided with an ultrasonic atomizing plate 35, a water-absorbing fiber cotton swab 36, and a cotton swab support spring 37. The cotton swab support spring 37 is located at the inner bottom of the bottle body 32, and provides axial support force for the water-absorbing fiber cotton swab 36, so that the top of the water-absorbing fiber cotton swab 36 is in close contact with the bottom surface of the ultrasonic atomizing plate 35. The ultrasonic atomizing plate 35 is provided with a water-proof drainage hole 38, which is used to prevent atomization failure caused by water accumulation during long-term operation. The atomization drive module 4 outputs a 100kHz high-frequency drive signal to the ultrasonic atomizing plate 35 to drive the ultrasonic atomizing plate 35 to complete the atomization work.
[0083] Specifically, this device employs microporous ultrasonic atomization technology. The resonant frequency of the ultrasonic atomizing plate 35 is 108-110KHz, and the atomization drive module 4 outputs a 100kHz high-frequency drive signal, which matches the resonant frequency of the atomizing plate, driving the atomizing plate to generate high-frequency mechanical oscillation. Through the cavitation effect of the oscillation, the perfume liquid delivered to the surface of the atomizing plate by the absorbent fiber cotton swab 36 is dispersed to form 3-5μm micron-sized aerosol droplets, achieving pressureless and low-noise atomization spraying. Compared with pressure pump spraying devices, it is noiseless, small in size, and has controllable spray volume, making it more suitable for the use scenarios of smart vending machines.
[0084] The absorbent fiber swab 36 is made of 8mm hydrophilic fiber material. Through capillary action, it continuously delivers the perfume liquid in the bottle 32 to the bottom surface of the ultrasonic atomizing plate 35, ensuring a continuous liquid supply to the surface of the atomizing plate and preventing dry burning damage. The cotton swab support spring 37 is made of stainless steel and is located at the bottom of the bottle 32. It provides continuous axial upward support for the absorbent fiber swab 36. Regardless of the liquid level in the bottle 32 or whether the device shakes, it ensures that the top of the absorbent fiber swab 36 is always in close contact with the bottom surface of the ultrasonic atomizing plate 35, eliminating problems such as interruption of liquid supply and atomization interruption caused by poor contact.
[0085] Among them, the edge of the ultrasonic atomizing plate 35 is provided with anti-water accumulation drainage holes 38, which can quickly discharge the residual liquid that has not been atomized on the surface of the atomizing plate, and avoid the problem of liquid covering the micropore area of the atomizing plate for a long time, which leads to micropore blockage, reduced atomization efficiency, or even failure to atomize. Structurally, it solves the pain point of atomization failure caused by water accumulation during long-term operation of existing devices, and improves the stability of continuous operation of the device.
[0086] In one possible embodiment, the top of the nozzle assembly 31 is provided with a recessed annular groove 39, which is a mounting position for an RGB LED ring. An RGB LED ring is installed inside the recessed annular groove 39. The RGB LED ring uses 6 WS2812 LED beads evenly distributed around the circumference, and each LED bead is connected to the main control module 2 via a bus. After the RGB LED ring is embedded in the recessed annular groove 39, the surface is sprayed with UV conformal paint and filled with a transparent potting compound layer. The transparent potting compound layer is used for waterproof protection and uniform light distribution.
[0087] Specifically, the RGB light ring uses WS2812 programmable full-color LED beads, with six beads evenly distributed circumferentially on a ring-shaped PCB. It connects to the main control module 2 via a single-bus communication method, requiring only one signal line to achieve independent color value, brightness, and on / off control for each bead. This significantly saves the I / O port resources of the main control module 2, allowing for time-sharing of the same I / O port with button functions. Combined with the control logic of the main control module 2, it can achieve functions such as corresponding light ring illumination when a single nozzle sprays, matching different light colors to different fragrances, and dynamic lighting effect cycling. This deeply integrates with the vending machine's interactive process, enhancing the interactive atmosphere of the offline scenario.
[0088] The recessed annular groove 39 provides a limiting installation space for the RGB LED ring, preventing uneven lighting caused by misalignment. After the LED ring is soldered, a UV conformal coating is sprayed onto its surface to provide the first layer of moisture-proof, corrosion-proof, and mildew-proof protection for the LED chips, resistors, pins, and other electronic components. Then, a transparent epoxy resin potting compound is used to completely fill the entire LED ring and the recessed annular groove 39, forming a second layer of completely sealed waterproof protection. This allows for normal operation even when submerged in water, solving the problem of LED chips being easily damaged by moisture and short circuits in humid environments. At the same time, the transparent potting compound layer has a good light diffusion effect, which can convert the point light source of the LED chip into a uniform surface light source, avoiding glare from the LED chip and improving the visual effect of the light.
[0089] See Figure 9 , Figure 10 and Figure 11In one possible embodiment, the main control module 2 includes a PCB circuit board 25 and an STC15W204S main control microcontroller 26 soldered onto the PCB circuit board 25. The main control microcontroller 26 has at least 14 I / O ports for driving and controlling six atomizing spray bottle modules 3, six-way button input, and serial communication. On the PCB circuit board 25, each atomizing drive module 4 is provided with one 2P independent female connector 27, one physical debugging button 28, and one working status indicator 29. Each I / O port of the main control microcontroller 26 is connected to the corresponding MOSFET switching unit. A 2P independent female connector 27 is connected to control the on / off state of the atomization drive module 4; each IO port has a freewheeling diode, which is an FR107W type diode, to prevent the reverse voltage of the downstream atomization drive module 4 from damaging the main control component; the input end of the USB power supply interface 21 is equipped with an SMF5.0A specification TVS protection device; the main control module 2 is also equipped with a USB to serial communication unit, which is equipped with an anti-current backflow circuit unit, which is composed of a B5817WS diode and a 270Ω resistor.
[0090] Specifically, the main control module 2 uses the STC15W204S enhanced 51 core microcontroller as the control core. This microcontroller has built-in large-capacity Flash, EEPROM and hardware watchdog, and has the advantages of strong anti-interference ability, industrial-grade operating temperature range and fast response speed, making it suitable for the harsh working environment of unmanned retail scenarios. The microcontroller is equipped with at least 14 I / O ports, of which 6 are used for the switch control of the atomizing spray bottle module 3, 6 are used for the input of the physical debugging button 28, and the remaining I / O ports are used for serial communication. The resource allocation is fully matched to the control requirements of the 6 spray devices, without the need for expansion I / O chips, simplifying circuit design and reducing the failure rate.
[0091] Each atomization drive module 4 has an independent 2P female connector, a physical debugging button 28, and a working status indicator 29, enabling completely independent control and debugging of each channel. The physical debugging button 28 can directly trigger the on / off switch of the corresponding channel's spray, allowing for single-channel debugging and troubleshooting during offline installation without connecting to a host computer software, thus solving the pain point of existing devices that can only be debugged through software. The working status indicator 29 can display the spray working status and fault status of the corresponding channel in real time, facilitating maintenance personnel to quickly locate faults. The MOSFET switching unit controls the on / off state of the MOSFET through a weak-level signal from the microcontroller's I / O port, thereby controlling the high-power supply of the atomization drive module 4, achieving low-voltage control of high-voltage, and avoiding damage caused by the microcontroller's I / O port directly driving a high-current load.
[0092] The freewheeling diodes are FR107W fast recovery diodes, connected in parallel between the positive and negative terminals of each output port. The atomization circuit of the atomization drive module 4 is an inductive load, which generates a reverse electromotive force at the moment the MOSFET is turned off. The freewheeling diodes provide a discharge path for this reverse voltage, preventing the reverse voltage from breaking down the MOSFET and the microcontroller's I / O port. The TVS protection device is an SMF5.0A specification, connected in parallel at the input of the USB power interface 21. It can instantly break down and conduct when the USB interface is plugged in or unplugged, electrostatic discharge occurs, or surge voltage occurs, clamping the voltage within a safe range and protecting the subsequent circuits from damage. The anti-current reverse flow circuit unit utilizes the unidirectional conduction characteristic of the B5817WS Schottky diode, combined with a 270Ω current-limiting resistor, to prevent the current from the external 12V power supply circuit from flowing back into the USB interface when the USB interface is powered off, thus preventing damage to the vending machine's industrial control computer's USB port.
[0093] In one possible embodiment, the main control module 2 is further equipped with a watchdog unit and a fault circuit interrupter unit; the USB to serial communication unit uses a USB 2.0 interface to communicate with the host computer of the smart vending machine, supporting a maximum baud rate of 2Mbps and a custom encrypted communication protocol; the watchdog unit is used to automatically trigger a complete machine reset when the device is in an abnormal operating state; the fault circuit interrupter unit is configured to: when the single-channel atomizing spray bottle module 3 triggers a reset action more than 5 times during the execution of the action, set the corresponding spray nozzle channel to a fault-locked state, stop responding to the action command of that channel, and resume operation after receiving a fault clearing command issued by the host computer.
[0094] Specifically, the USB-to-serial communication unit uses the CH340N serial port chip to convert the USB interface to a TTL serial port, establishing a stable communication link with the vending machine's Android host computer. It supports a maximum communication baud rate of 2Mbps, enabling rapid command transmission and response. The device's single command response time is ≤30ms, perfectly matching the vending machine's real-time interactive needs. A custom encrypted communication protocol is employed, with command frames containing a fixed header, address bits, control commands, data bits, and a checksum. Only commands with a complete checksum match are executed, effectively preventing misjudgment and accidental spraying caused by electromagnetic interference. Furthermore, protocol encryption prevents malicious tampering of control commands by third parties, enhancing the device's operational security.
[0095] The watchdog unit uses a hardware watchdog timer built into the STC15W204S microcontroller. When the device is running normally, the main program will periodically send a "feed the watchdog" signal to the watchdog timer to reset the timer count. When the device experiences abnormal states such as program crash, system freeze, or communication deadlock, the main program cannot perform the feeding operation normally. After the watchdog timer count overflows, it will automatically trigger a hardware reset of the entire microcontroller, allowing the device to automatically restart and resume normal operation without manual on-site reset. This solves the pain point of the device not being able to automatically recover from a crash in unattended scenarios and greatly improves the online rate of the device.
[0096] In addition, the main control module 2 collects the operating current and status of each atomizing spray bottle module 3 in real time. When a short circuit, overcurrent, or atomizing plate fault occurs in a single nozzle, overcurrent protection is triggered and the channel is reset. When the channel triggers the reset action more than 5 times, the fault fuse unit will set the channel to a fault-locked state, stopping the response to all action commands of the channel, to prevent the main control board components from burning out due to continuous fault triggering. At the same time, single-channel locking does not affect the operation of other normal channels, preventing single-channel failure from paralyzing the entire machine. The device will transmit the fault channel information back to the host computer through the communication protocol. The host computer can report to the background to generate an operation and maintenance work order and locate the fault point. Only when the operation and maintenance personnel have investigated the fault and issued a fault clearing command through the host computer will the channel be unlocked and resume operation. This realizes active fault protection, accurate fault location, and hierarchical handling, greatly reducing the operation and maintenance pressure in unattended scenarios.
[0097] See Figure 12 This invention also provides a method for controlling perfume spray in a smart vending machine, applied to the perfume spray device of the smart vending machine described in the above embodiments, comprising the following steps:
[0098] S1. Power supply access and working mode determination: The power supply switching and power control unit 23 of the main control module 2 detects the type of power supply interface in real time. If the USB power supply interface 21 is detected, it enters the single-channel spray restriction mode, allowing a single-channel atomizing spray bottle module 3 to work at the same time. If the external power supply interface 22 is detected, it enters the full-power working mode, supporting all six atomizing spray bottle modules 3 to work at the same time.
[0099] The voltage detection circuit collects the input voltage of the power supply port in real time, distinguishes between USB 5V power supply and external 12V power supply, and automatically matches the corresponding working mode without manual configuration, avoiding overload damage caused by power supply mode mismatch. In single-channel spray restriction mode, the main control module 2 will use interlock logic to ensure that only one atomizing spray bottle module 3 can be triggered at the same time. Even if the host computer issues instructions for multiple channels to work at the same time, only one channel action will be executed, ensuring the safety of USB power supply from the bottom layer. In full-power working mode, the interlock restriction is released, supporting 6 spray nozzles to work at the same time and millisecond-level alternating cycle operation, meeting the needs of scenarios where multiple fragrances are tested at the same time.
[0100] S2. Communication and Command Parsing: The main control module 2 establishes a communication link with the host computer of the smart vending machine through the USB to serial communication unit, continuously listens for and receives the encapsulation commands issued by the host computer; it performs protocol parsing on the received commands, verifies the packet header, check bit and data length. If the verification is successful, the corresponding command is executed; if the verification fails, the current data is discarded and the receiving error information is fed back to the host computer.
[0101] The system employs a master-slave communication architecture, with the vending machine's host computer as the master and the spraying device as the slave. The slave continuously monitors the serial port data and receives command frames from the master. Upon receiving data, it first extracts the frame header, data length, and checksum, comparing them with the rules agreed upon in the protocol. Only commands with matching frame headers, correct data lengths, and consistent checksum calculations are considered valid and proceed to execution. If any check fails, the data is deemed interference or an invalid command, the frame is discarded, and a reception error is reported to the host computer, requesting a retransmission. This effectively avoids malfunctions caused by electromagnetic interference and data transmission packet loss, ensuring communication reliability.
[0102] S3. Action Execution and Linkage Control: According to the parsed instructions, the main control module 2 drives the atomization drive module 4 through the MOS transistor switching unit of the corresponding IO port, and controls the start and stop of spraying and the amount of spraying of the corresponding atomization spray bottle module 3; simultaneously, it controls the color value and dynamic lighting effect of the corresponding RGB light ring according to the instructions.
[0103] The spray start / stop control is achieved by controlling the on / off state of the MOSFET, with the on / off duration corresponding to the spray duration. Spray volume adjustment is achieved by using a software timer to simulate a PWM signal, controlling the MOSFET's duty cycle, and thus adjusting the average output power of the atomization drive module 4, achieving linear adjustment of the spray volume. The RGB LED ring control is synchronized with the spray action, allowing the ring to light up when the spray starts and turn off when the spray stops, or to match the corresponding color and dynamic lighting effects according to the fragrance, achieving linkage between spray action and lighting effects, enhancing the interactive experience. The microcontroller's instruction execution cycle is in the microsecond range, achieving a response time of ≤30ms, perfectly matching the real-time interactive process of the vending machine.
[0104] S4. Status Feedback and Fault Protection: After the main control module 2 executes the instruction, it encapsulates the execution status, device operating parameters and fault information according to the communication protocol and sends them back to the host computer. When the fault fuse unit detects that the single-channel atomizing spray bottle module 3 has triggered overcurrent protection or the number of resets exceeds the preset threshold, it starts the fault fuse mechanism, locks the corresponding fault channel and reports the fault information.
[0105] After executing the command, the device encapsulates the execution result, channel operating status, current power supply mode, fault information, and other data into a response frame according to the communication protocol and sends it back to the host computer, realizing a complete closed loop of command interaction. The host computer can determine the device's operating status based on the response information and execute the next step of the shipping process. At the same time, the device monitors the operating current and reset count of each channel in real time. When an overcurrent or short-circuit fault is detected, the overcurrent protection is immediately triggered to cut off the power supply to the corresponding channel to prevent the fault from escalating. When the number of resets of a single channel exceeds the preset threshold of 5 times, the fault fuse mechanism is activated to lock the channel and send the fault code back to the host computer, realizing active fault protection and reporting.
[0106] In one possible embodiment, in S2, the main control module 2 supports two working modes: an active return automatic execution mode and a passive return instruction response mode.
[0107] In automatic execution mode, the main control module 2 saves the configuration information locally according to the configuration parameters pre-sent by the host computer, and automatically executes the preset linkage actions, including the timed start and stop of the spray nozzle, the automatic increase / decrease of the spray volume, and the dynamic linkage lighting effects of the multi-channel RGB light rings.
[0108] Specifically, the passive feedback command response mode is the default working mode of the device. It adopts a question-and-answer communication method. The device will only execute the corresponding action and send back the response information after the host computer issues a command. When there is no command, it will remain in standby mode. This mode is fully compatible with the conventional interaction process of vending machines. For example, after the user scans the code, the host computer will issue the corresponding fragrance spray command. After the device executes the command, it will send back a completion signal. Then the host computer will trigger the dispensing process. This mode can accurately match the user's operation actions, avoid invalid spraying, and save perfume consumables.
[0109] The active feedback automatic execution mode is the device's offline automatic operation mode. The host computer can send the preset running script and configuration parameters to the main control module 2 in advance via serial communication. The main control module 2 stores the configuration parameters in the microcontroller's built-in EEPROM, and the data will not be lost after power failure. After configuration, even if the host computer does not send commands in real time, the device will automatically execute linkage actions according to the preset script, including timed spraying at fixed time intervals, gradual adjustment of spray volume, cyclical alternation of spraying from multiple nozzles, and dynamic running light / breathing light effects of the RGB light ring. This mode is suitable for the atmosphere creation needs of offline brand events, exhibitions and other scenarios, and can realize unattended automatic fragrance diffusion and lighting atmosphere display without the need for real-time control by the host computer, greatly improving the device's scenario adaptability.
[0110] In one possible embodiment, the method further includes an interactive process with a smart vending machine:
[0111] The main control module 2 maintains periodic polling communication with the MCU of the smart vending machine. If the device does not respond within a timeout period, the host computer sends a USB interface reset command and a device reset command in sequence. After three consecutive unresponsive attempts, the device is determined to be faulty and a maintenance work order is generated in the background. In the normal interaction process, after receiving the command, the device responds and executes the spray and light effects. After the actions are completed, it sends a completion signal to the host computer, triggering the smart vending machine's dispensing process.
[0112] Specifically, a timed heartbeat polling mechanism is established between the host computer and the device. The host computer sends a heartbeat query command to the device at fixed intervals. Upon receiving the command, the device sends back a heartbeat response frame to confirm that the device is online and communication is normal. If the host computer does not receive a response within the timeout period after sending the heartbeat command, it is determined to be a single communication failure. The host computer first sends a soft reset command to the device to try to restart and recover. If there is still no response, a USB interface reset command is sent to reset the vending machine's USB port to resolve the communication port deadlock issue. If no response is received after three consecutive resets, it is determined to be a hardware failure of the device. The host computer reports the fault information to the backend operation and maintenance system, automatically generates an operation and maintenance work order, and notifies the operation and maintenance personnel to conduct on-site inspection. This eliminates the need for regular manual inspections and significantly reduces the operation and maintenance costs of unmanned retail scenarios.
[0113] Users scan the QR code on the vending machine screen with their mobile phones. The vending machine's host computer recognizes the user's operation, matches the corresponding fragrance and product information, and sends a spray command to the spray device for the corresponding channel. The device responds within ≤30ms, executing the spray action and corresponding RGB lighting effects. After completing the spray action, the device sends an action completion signal back to the host computer. Upon receiving the completion signal, the host computer sends a delivery command to the vending machine's dispensing device. The dispensing device then dispenses the product, and the user receives it. The entire process is complete, solving the pain point of existing smart vending machines' inability to preview fragrance products, improving user experience, and increasing product conversion efficiency.
[0114] Although the present invention has been described in detail above with general descriptions and specific embodiments, modifications or improvements can be made to it, which will be obvious to those skilled in the art. Therefore, all such modifications or improvements made without departing from the spirit of the present invention fall within the scope of protection claimed by the present invention.
Claims
1. A smart vending machine perfume spray device, comprising a main frame (1), a main control module (2), at least six atomizing spray bottle modules (3), and atomizing drive modules (4) corresponding one-to-one with the atomizing spray bottle modules (3), characterized in that: The main frame (1) adopts an inclined tilt structure design, the atomizing spray bottle module (3) is evenly distributed in the center along the main frame (1), and the spray direction of the nozzle of the atomizing spray bottle module (3) is set obliquely upward with respect to the horizontal plane; The main control module (2) is provided with a dual power supply interface unit, which includes a USB power supply interface (21) and an external power supply interface (22). The USB power supply interface (21) is used to adapt to the industrial control computer USB interface of the smart vending machine, and the external power supply interface (22) is used to adapt to the power supply interface of the smart vending machine. The output terminal of the main control module (2) is detachably electrically connected to the control terminal of each atomization drive module (4) through an independent interface. Each atomization drive module (4) is electrically connected to the corresponding atomization spray bottle module (3). The atomization spray bottle module (3) adopts a modular structure, and the atomization drive module (4) is integrated on the corresponding atomization spray bottle module (3).
2. The perfume spray device for intelligent vending machines according to claim 1, characterized in that: The tilt angle of the main frame (1) is 30°, and the spray direction of the nozzle of the atomizing spray bottle module (3) is set at a 30° angle upward to the horizontal plane; The main frame (1) is a sheet metal frame (11) made of 304 stainless steel by bending and welding. The sheet metal frame (11) is provided with mounting docking holes (12) that match the reserved panel position of the smart vending machine interactive device. The inner side of the sheet metal frame (11) is provided with six-piece buckle positions (13) for fixing the atomizing spray bottle module (3).
3. The perfume spray device for intelligent vending machines according to claim 1, characterized in that: The main control module (2) also includes a power supply switching and power control unit (23) and a DC-DC step-down module (24). The power supply switching and power control unit (23) is configured to: when the USB power supply interface (21) is connected, restrict the atomizing spray bottle module (3) to work simultaneously, and the total power of the machine shall not exceed 2.5W; When the external power supply interface (22) is connected, the 12V input voltage is stepped down to 5V through the DC-DC step-down module (24) to power the main control module (2) and the atomization drive module (4) so as to support the simultaneous operation of all six atomization spray bottle modules (3).
4. The intelligent vending machine perfume spray device according to claim 2, characterized in that: The atomizing spray bottle module (3) includes a nozzle assembly (31), a bottle body (32), a buckle structure (33), and a disassembly pull ring (34). The nozzle assembly (31) is sealed to the bottle body (32), the buckle structure (33) is located on the outside of the nozzle assembly (31), and the buckle structure (33) is matched and snapped with the six-piece buckle position (13) of the main frame (1). The disassembly pull ring (34) is linked with the buckle structure (33). When the bottle body (32) is engaged with the main frame (1), the disassembly pull ring (34) is forced to separate the buckle structure (33) from the six-link buckle position (13). The bottle body (32) is made of PP material.
5. The intelligent vending machine perfume spray device according to claim 4, characterized in that: The nozzle assembly (31) is equipped with an ultrasonic atomizing plate (35), a water-absorbing fiber cotton swab (36), and a cotton swab support tower spring (37). The cotton swab support tower spring (37) is located at the inner bottom of the bottle body (32). The cotton swab support tower spring (37) provides axial support force for the absorbent fiber cotton swab (36), so that the top of the absorbent fiber cotton swab (36) is in close contact with the bottom surface of the ultrasonic atomizing plate (35). The ultrasonic atomizing plate (35) is provided with a water-proof drainage hole (38), which is used to prevent atomization failure caused by water accumulation during long-term operation. The atomization driving module (4) outputs a 100kHz high-frequency driving signal to the ultrasonic atomizing plate (35) to drive the ultrasonic atomizing plate (35) to complete the atomization work.
6. The perfume spray device for intelligent vending machines according to claim 4, characterized in that: The top of the nozzle assembly (31) is provided with a recessed annular groove (39), which is an RGB light ring mounting position. The recessed annular groove (39) is equipped with an RGB light ring. The RGB light ring uses 6 WS2812 LED beads evenly distributed in the circumference. Each LED bead is connected to the main control module (2) through a bus. The RGB light ring is embedded in the recessed annular groove (39), and its surface is sprayed with UV three-proof paint and filled with a transparent potting compound layer. The transparent potting compound layer is used for waterproof protection and uniform light distribution.
7. The intelligent vending machine perfume spray device according to claim 1, characterized in that: The main control module (2) includes a PCB circuit board (25) and an STC15W204S main control microcontroller (26) soldered on the PCB circuit board (25); the main control microcontroller (26) is provided with at least 14 IO ports, which are used to realize the drive control of the six atomizing spray bottle modules (3), six key inputs and serial communication; On the PCB circuit board (25), each of the atomization driving modules (4) is provided with a 2P independent female connector (27), a physical debugging button (28) and a working status indicator (29). Each I / O port of the main control microcontroller (26) is connected to the corresponding 2P independent female interface (27) through the MOS tube switching unit to control the on / off of the atomization drive module (4); Each IO port is equipped with a freewheeling diode at its corresponding output port. The freewheeling diode is an FR107W type diode, which is used to prevent the reverse voltage of the subsequent atomization drive module (4) from breaking down the main control component. The input terminal of the USB power supply interface (21) is equipped with a TVS protection device of SMF5.0A specification. The main control module (2) is also equipped with a USB to serial communication unit. The USB to serial communication unit is equipped with an anti-current backflow circuit unit. The anti-current backflow circuit unit is composed of a B5817WS diode and a 270Ω resistor. The main control module (2) is also equipped with a watchdog unit and a fault fuse unit; the USB to serial communication unit uses a USB2.0 interface to communicate with the host computer of the smart vending machine, and supports a maximum baud rate of 2Mbps and a custom encrypted communication protocol; the watchdog unit is used to automatically trigger a complete machine reset when the device is in an abnormal operating state; The fault fuse unit is configured to: when the single-channel atomizing spray bottle module (3) triggers the reset action more than 5 times during the execution of the action, set the corresponding nozzle channel to the fault lock state, stop responding to the action command of the channel, and resume work after receiving the fault clearing command issued by the host computer.
8. A method for controlling perfume spray in an intelligent vending machine, characterized in that: The perfume spray device applied to the smart vending machine according to any one of claims 1 to 7 includes the following steps: S1. Power supply access and working mode determination: The power supply switching and power control unit (23) of the main control module (2) detects the type of power supply interface in real time. If the USB power supply interface (21) is detected, it enters the single-channel spray restriction mode, allowing the single-channel atomizing spray bottle module (3) to work at the same time. If the external power supply interface (22) is detected, it enters the full-power working mode, supporting all six atomizing spray bottle modules (3) to work at the same time. S2. Communication and instruction parsing: The main control module (2) establishes a communication link with the host computer of the smart vending machine through the USB to serial communication unit, continuously listens for and receives the encapsulation instructions sent by the host computer; performs protocol parsing on the received instructions, verifies the packet header, check bit and data length, executes the corresponding instruction if the verification is successful, discards the current data if the verification fails, and feeds back the receiving error information to the host computer. S3. Action execution and linkage control: The main control module (2) drives the atomization drive module (4) through the MOS tube switching unit of the corresponding IO port according to the parsed instructions, and controls the spray start and stop and spray volume of the corresponding atomization spray bottle module (3); and controls the color value and dynamic lighting effect of the corresponding RGB light ring according to the instructions. S4. Status feedback and fault protection: After the main control module (2) executes the instruction, it encapsulates the execution status, device operating parameters and fault information according to the communication protocol and sends them back to the host computer. When the fault fuse unit detects that the single-channel atomizing spray bottle module (3) triggers overcurrent protection or the number of resets exceeds the preset threshold, it starts the fault fuse mechanism, locks the corresponding fault channel and reports the fault information.
9. The method for controlling perfume spray in an intelligent vending machine according to claim 8, characterized in that: In S2, the main control module (2) supports two working modes: an active return automatic execution mode and a passive return instruction response mode. In automatic execution mode, the main control module (2) saves the configuration information locally according to the configuration parameters pre-sent by the host computer, and automatically executes the preset linkage actions, including the timed start and stop of the spray nozzle, the automatic increase / decrease of the spray volume, and the dynamic linkage lighting effect of the multi-channel RGB light ring.
10. The method for controlling perfume spray in an intelligent vending machine according to claim 8, characterized in that: The method also includes a linkage and interaction process with smart vending machines: The main control module (2) maintains a timed polling communication with the MCU of the smart vending machine. If the device does not respond after a timeout, the host computer sends the USB interface reset command and the device reset command in sequence. After three consecutive unresponsive attempts, the device is determined to be faulty and a maintenance work order is generated in the background. In the normal interaction process, after receiving the instruction, the device responds and executes the spray and light effects. After the actions are completed, it sends a completion signal to the host computer, triggering the smart vending machine's dispensing process.
Citation Information
Patent Citations
Improvement in plows
US6611A