Water dispenser based on photoelectric sensor

By using telescopic and correction mechanisms in the water dispenser, the height and position of the photoelectric detection mechanism are automatically adjusted, combined with the distance measuring sensor and camera, the problem of inaccurate positioning of the water cup is solved, the stability and applicability of the water dispenser are improved, and the stability and applicability of the water dispenser are avoided. Scalds and waste of water resources.

CN119111996APending Publication Date: 2024-12-13CHUANDONG MAGNETIC ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411541116.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

During use, existing water dispensers lack the ability to position the water cup and adjust the position of the photoelectric sensor during use, resulting in problems such as detection of dead corners, scalds and waste of water resources.

Method used

A water dispenser based on photoelectric sensor is designed, using a telescopic mechanism and a correction mechanism. The rotation of the unidirectional screw and the bidirectional screw is driven by the second and third motors to realize the automatic adjustment of the height and position of the photoelectric detection mechanism, combined with The range measuring sensor and range measuring camera ensure accurate positioning and stable clamping of the water cup.

Benefits of technology

It improves the scope of application and stability of the water dispenser, avoids scalds and waste of water resources, enhances adaptability and reliability in different environments, and provides a safe and reliable user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119111996A_ABST
    Figure CN119111996A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of water dispensers, in particular to a water dispenser based on a photoelectric sensor, which comprises a cabinet type water dispenser, a touch screen is fixedly mounted at the upper end of the front surface of the cabinet type water dispenser, and a single chip microcomputer controller is arranged at the top of the cabinet type water dispenser and positioned on the rear side of the touch screen; a water cup containing bin is formed in the front side of the top of the cabinet type water dispenser, a telescopic mechanism is fixedly installed on one side of the cabinet type water dispenser, a second motor is used for driving a one-way lead screw to rotate, a sliding rod slides in a vertical sliding groove so as to adjust the height of a photoelectric detection mechanism, the cabinet type water dispenser can adapt to different water cup sizes, and the application range is widened; the gear and the rack are meshed to drive the sliding block to drive the mounting frame to move front and back, the front-back position of the photoelectric sensor body is automatically adjusted, the single-chip microcomputer controller, the distance measuring sensor and the camera are matched, the height and the water level are accurately measured, scalding caused by water outlet deviation is avoided, use convenience and detection adaptability are improved, and user safety is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water dispensers, in particular to a water dispenser based on a photoelectric sensor. Background Art

[0002] A water dispenser is a common device for providing drinking water. It is mainly composed of a water tank, a heating or cooling device, a water outlet system, etc. The water tank is used to store a certain amount of drinking water and is the storage part of the water source. The heating device can heat the water to a suitable temperature to meet people's needs for drinking hot water, such as making tea and coffee. Common heating methods include inner tank heating and instant heating. Inner tank heating provides hot water by heating the water in the inner tank, and has a certain water storage capacity; instant heating is to quickly heat the water at the moment it flows out, and can supply hot water in time without waiting for a long time. The cooling device can cool the water and provide people with cold drinking water in summer and other times. The cooling methods include semiconductor cooling and compressor cooling. Semiconductor cooling is relatively energy-saving but has limited cooling speed and temperature range. Compressor cooling has high efficiency but relatively high energy consumption. The water outlet system includes a faucet or a water outlet to facilitate people to take water, and some water dispensers also have intelligent control functions, such as controlling the temperature and water volume of the water outlet through buttons or sensors. Some water dispensers are equipped with filtering devices to purify the water source, remove impurities, odors and some harmful substances in the water, and provide people with healthier drinking water.

[0003] At present, water dispensers are widely used in public places, bringing convenience to people's daily drinking water. However, most of the water dispensers in public places are not very intelligent. Some are completely manually controlled. If you are not careful, you may get scalded because the cup mouth is not aligned. If you are not focused, water will often overflow, resulting in a waste of water resources.

[0004] The Chinese patent with the publication number of "CN218635816U" discloses an intelligent control device for water outlet of a water dispenser, which includes a water dispenser housing, a ranging camera, an ultrasonic sensor, a photoelectric sensor, a stepper motor, a water pump and a single-chip microcomputer, wherein the photoelectric sensor, the ranging camera and the ultrasonic sensor all communicate with the single-chip microcomputer; the photoelectric sensor is arranged on one side of the water dispenser housing, the ranging camera and the ultrasonic sensor are arranged on the inner side of the top of the water dispenser housing, the photoelectric sensor is driven by a nut seat and a slider, the nut seat is arranged on a screw rod, the slider is arranged on a slide rail, the screw rod is driven by a stepper motor, and the operation of the stepper motor is controlled by a single-chip microcomputer; a water outlet is arranged on the inner side of the top of the water dispenser housing, the water outlet is connected to an external water source through a water pump, and the water pump is controlled by a single-chip microcomputer; the projection of the water outlet is located within the recognition range of the ranging camera, and the utility model is composed of a photoelectric sensor and an ultrasonic sensor, which can accurately control the water outlet of the water dispenser;

[0005] During the actual application, although the above device has a certain degree of adjustable function, it has some obvious limitations in the specific use process. It can only adjust the height of the photoelectric sensor. However, in daily life, the size and shape of the water cups used by each person are different. Since the photoelectric sensor cannot be adjusted in the left and right directions, it is very easy to cause the appearance of detection blind spots. For example, when encountering a small-sized water cup or a special-shaped water cup, the photoelectric sensor may not be able to accurately detect the position of the water cup, and it is obviously impossible to achieve good adaptation;

[0006] At the same time, in actual use, it is difficult for people to place the water cup accurately in a stable and appropriate position every time. As a result, it is easy for the water cup to be misaligned with the water outlet. On the one hand, when this misalignment occurs, if water is discharged at this time, the hot water may flow to the outside of the cup, causing scalding, posing a safety hazard to the user; on the other hand, especially when the water dispenser is used in public transportation systems such as trains, the vehicle will shake during driving. At this time, if the water cup is not placed stably or there is no good positioning mechanism, the water cup will easily be shaken and tipped over. This situation will not only cause a waste of water resources, but may also affect the surrounding environment. Obviously, the water dispenser performs poorly in terms of stability. Therefore, in order to better meet user needs, improve the user experience, and avoid potential safety hazards and waste of resources, the existing water dispensers urgently need to be improved in design to adapt to various usage scenarios and user needs. Summary of the invention

[0007] The object of the present invention is to provide a water dispenser based on a photoelectric sensor to solve the problem in the above background technology that the existing water dispenser lacks the ability to position the water cup and flexibly adjust the position of the photoelectric sensor.

[0008] To achieve the above-mentioned purpose, the present invention provides a water dispenser based on a photoelectric sensor, including a cabinet-type water dispenser, a touch screen is fixedly installed on the upper front end of the cabinet-type water dispenser, a single-chip controller is provided on the top of the cabinet-type water dispenser located at the rear side of the touch screen, a water cup placement compartment is provided on the front side of the top of the cabinet-type water dispenser, a telescopic mechanism is fixedly installed on one side of the cabinet-type water dispenser, a photoelectric detection mechanism is fixedly installed on the top of the telescopic mechanism, a correction mechanism is fixedly installed on the rear side of the bottom of the water cup placement compartment, a distance measuring camera is fixedly installed in the middle of the rear side of the top of the water cup placement compartment, a drainage faucet is fixedly installed on the front side of the top of the water cup placement compartment, and the input end of the drainage faucet is connected to the output end of the water pump in the cabinet-type water dispenser;

[0009] The correction mechanism includes a transverse slide groove and a first motor. The transverse slide groove is opened at the rear side of the bottom of the water cup placement bin. The interior of the transverse slide groove is rotatably connected with a bidirectional screw rod. The threads at both ends of the bidirectional screw rod have opposite rotation directions. The output end of the first motor is fixedly installed on the upper end of one side of the cabinet water dispenser. The output end of the first motor is fixedly connected to one end of the bidirectional screw rod. Both ends of the bidirectional screw rod are threadedly connected with correction parts.

[0010] Furthermore, the correction part includes a slider, which is slidably connected to the inner ends of the transverse slide groove, a connecting part is fixedly installed on the top of the slider, a fixing block is fixedly installed on the front end of the connecting part, and a clamping frame is fixedly installed on the inner side of the fixing block.

[0011] Furthermore, the telescopic mechanism includes a vertical slide groove, which is opened at the upper end of the cabinet water dispenser on a side away from the first motor. A second motor is fixedly connected to the bottom of the vertical slide groove, and a one-way screw rod is fixedly installed on the output end of the second motor. The one-way screw rod is rotatably connected to the inside of the vertical slide groove, and a sliding rod is threadedly connected to the outer surface of the one-way screw rod. The top of the sliding rod passes through the vertical slide groove and is fixedly connected to the bottom of the photoelectric detection mechanism.

[0012] Furthermore, the top view shape of the clamping frame is V-shaped, the internal overall cross-sectional shape of the sliding rod and the vertical sliding groove is convex, the internal overall cross-sectional shape of the sliding block and the horizontal sliding groove is also convex, and the outer surfaces of the sliding block and the sliding rod are fixedly connected with wear-resistant gaskets.

[0013] Furthermore, the photoelectric detection mechanism includes a support rod, which is fixedly installed on the top of the sliding rod. A cross rail is fixedly installed on the top of the support rod. A photoelectric detection component is movably installed inside the cross rail. The outside of the photoelectric detection component is fixedly connected to a driving component.

[0014] Furthermore, a mounting plate is fixedly mounted on the top rear side of the cross rail, and a distance measuring sensor is fixedly mounted on the top of the mounting plate.

[0015] Furthermore, the photoelectric detection component includes a sliding block, which is slidably connected to the inside of the cross rail, a mounting frame is fixedly installed on the top of the sliding block, a photoelectric sensor body is fixedly installed on the top of the mounting frame, and the driving component is fixedly installed on the outside of the mounting frame.

[0016] Furthermore, the driving assembly includes a side arm and a rack, the side arm is fixedly installed on a side of the mounting frame away from the cross rail, a third motor is fixedly installed on the outer side of the side arm, the output end of the third motor passes through the side arm and a gear is fixedly installed, the rack is fixedly installed on the lower end of the side of the cross rail close to the side arm, and the gear and rack are meshingly connected.

[0017] Furthermore, a storage cavity is provided at the lower end of the front side of the cabinet-type water dispenser, a sealing door is hinged on the front side of the storage cavity, and an ultraviolet lamp is fixedly connected to the interior of the storage cavity.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] First, in the present invention, the second motor is started to drive the one-way screw to rotate, thereby driving the slide bar to slide up and down in the vertical slide groove, so as to realize flexible adjustment of the height of the photoelectric detection mechanism. This design can well adapt to water cups of different sizes, greatly expanding the application scope of the device. In addition, during the adjustment process, the third motor can be started to drive the sliding block in the horizontal rail to slide by utilizing the meshing connection between the gear and the rack, thereby driving the mounting frame to move forward and backward, so as to realize automatic adjustment of the front and rear position of the photoelectric sensor body. At the same time, the single-chip microcomputer controller, the ranging sensor and the ranging camera work together, the ranging sensor accurately identifies the height of the photoelectric sensor, and the camera detects the water level of the water cup in real time. The cooperation of multiple sensors improves the detection adaptation performance, ensures that no water will flow when the water cup is placed with deviation, effectively prevents scalding the human body, and brings a safe, reliable and convenient use experience to users.

[0020] Firstly, in the present invention, the correction mechanism significantly improves the practicality and stability of the device. During the use of the device, after the water cup is placed in the water cup placement bin, the ranging camera and the photoelectric detection mechanism will detect the position of the water cup. When it is found that the position of the water cup and the drain faucet is deviated, the first motor is started to drive the bidirectional screw to rotate. Since the threads at both ends of the bidirectional screw have opposite rotation directions, the slider can slide back and forth in the horizontal sliding groove, driving the two V-shaped clamping frames that are connected to each other to displace each other. For a circular water cup, the inclined surface of the inner wall of the clamping frame plays a guiding role, prompting the water cup to be clamped in the center, and the position is corrected to ensure that the drain faucet is aligned with the water cup. In special scenarios with frequent shaking such as trains, starting the first motor to drive the clamping frame to move to clamp and fix the water cup can effectively prevent the water cup from tipping over, reduce the problems of water resource waste and equipment damage that may be caused by the tipping over of the water cup, and further enhance the adaptability and reliability of the device in different environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of the overall structure of the present invention;

[0022] Figure 2 It is a rear view structure schematic diagram of the present invention;

[0023] Figure 3 It is a schematic diagram of the top view structure of the present invention;

[0024] Figure 4 It is a schematic diagram of the structure in the present invention when viewed from above;

[0025] Figure 5This is a schematic diagram of the internal structure of the water cup placement area in the present invention;

[0026] Figure 6 It is a schematic diagram of the structure of the photoelectric detection mechanism in the present invention;

[0027] Figure 7 It is a schematic diagram of the structure of the driving component in the present invention;

[0028] Figure 8 It is a schematic diagram of the structure of the correction piece in the present invention;

[0029] Fig. 9 It is a schematic diagram of the structure of the electronic component circuit connection module in the present invention.

[0030] In the figure: 1. Cabinet water dispenser; 2. Touch screen; 3. Cup storage compartment; 4. Distance measuring camera; 5. Drain faucet; 6. Telescopic mechanism; 61. Vertical slide; 62. Second motor; 63. One-way screw; 64. Slide; 7. Photoelectric detection mechanism; 71. Support rod; 72. Cross rail; 73. Photoelectric detection assembly; 731. Sliding block; 732. Mounting frame; 733. Photoelectric sensor body; 74. Distance measuring sensor; 75. Mounting plate; 76. Drive assembly; 761. Side arm; 762. Gear; 763. Third motor; 764. Rack; 8. Storage chamber; 9. Correction mechanism; 91. Horizontal slide; 92. First motor; 93. Two-way screw; 94. Correction piece; 941. Slider; 942. Connector; 943. Fixing block; 944. Clamping frame; 10. Sealing door. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] See also Figure 1-Figure 9 In an embodiment of the present invention, a water dispenser based on a photoelectric sensor includes a cabinet water dispenser 1, a touch screen 2 is fixedly installed on the upper front end of the cabinet water dispenser 1, a single-chip controller is provided on the top of the cabinet water dispenser 1 behind the touch screen 2, a cup placement compartment 3 is provided on the front side of the top of the cabinet water dispenser 1, a telescopic mechanism 6 is fixedly installed on one side of the cabinet water dispenser 1, a photoelectric detection mechanism 7 is fixedly installed on the top of the telescopic mechanism 6, a correction mechanism 9 is fixedly installed on the rear side of the bottom of the water cup placement compartment 3, a distance measuring camera 4 is fixedly installed in the middle of the rear side of the top of the water cup placement compartment 3, a drainage faucet 5 is fixedly installed on the front side of the top of the water cup placement compartment 3, and the input end of the drainage faucet 5 is connected to the output end of the water pump in the cabinet water dispenser 1;

[0033] The correction mechanism 9 includes a transverse slide groove 91 and a first motor 92. The transverse slide groove 91 is opened at the bottom rear side of the water cup placement bin 3. The internal rotation of the transverse slide groove 91 is connected with a bidirectional screw rod 93. The two ends of the bidirectional screw rod 93 have opposite threaded rotation directions. The output end of the first motor 92 is fixedly installed on the upper end of one side of the cabinet water dispenser 1. The output end of the first motor 92 is fixedly connected to one end of the bidirectional screw rod 93. Both ends of the bidirectional screw rod 93 are threadedly connected with a correction piece 94. The touch screen 2 at the upper front end of the cabinet water dispenser 1 is convenient for users to operate and set. The single-chip microcomputer controller at the rear side of the top can accurately control the operation of the entire device. The water cup placement bin 3 at the front side of the top provides a special placement area for the water cup. In conjunction with the telescopic mechanism 6 and the photoelectric detection mechanism 7, accurate detection and adjustment of the position and state of the water cup can be achieved. The telescopic mechanism 6 can flexibly change the photoelectric detection mechanism 7. The position of the cup can be better adapted to different situations. The correction mechanism 9 in the cup placement bin 3 plays a significant role. The bidirectional screw 93 in the horizontal slide groove 91 can drive the correction piece 94 with threaded connections at both ends to move under the drive of the first motor 92. Since the threads at both ends of the bidirectional screw 93 rotate in opposite directions, the correction pieces 94 can be moved closer to or farther away from each other. For the cups placed in the bin, especially the round cups, the V-shaped design of the correction piece 94 can be guided by the inner wall slope to center the cup and ensure that the drain faucet 5 is accurately aligned with the cup. Whether in daily use or in a shaking environment such as a train, the position of the cup can be effectively corrected to improve the accuracy of water output and avoid water waste and equipment damage caused by position deviation. At the same time, the ranging camera 4 can monitor the cup situation in real time, further improving the intelligence of the water dispenser and the convenience and stability of use.

[0034] See also Figure 1-Figure 5 and Figure 8The correcting member 94 includes a slider 941, which is slidably connected to the two ends of the inside of the horizontal sliding groove 91. A connecting member 942 is fixedly installed on the top of the slider 941, and a fixing block 943 is fixedly installed on the front end of the connecting member 942. A clamping frame 944 is fixedly installed on the inner side of the fixing block 943. The slider 941 slides at both ends of the inside of the horizontal sliding groove 91. This sliding connection method makes the movement of the correcting member 94 stable and smooth, and can accurately adjust the position according to the rotation of the two-way screw rod 93. The connecting member 942 connects the slider 941 with the fixing block 943 at the front end, which plays a good connection and transmission role, ensuring the stable power transmission from the slider 941 to the clamping frame 944. The fixing block 943 provides a stable installation foundation for the clamping frame 944 , so that the clamping frame 944 can work reliably, and the setting of the clamping frame 944 is even more critical. It can effectively clamp and adjust the position of the water cup placed in the water cup placement bin 3. When the bidirectional screw rod 93 rotates, the slider 941 drives the clamping frame 944 to move. The two clamping frames 944 cooperate with each other to accurately position and correct water cups of different shapes and sizes. For round water cups, their special shape design can use the inner wall slope for guidance, so that the water cup is quickly in the center position, thereby ensuring the accurate alignment of the drain faucet 5 and the water cup, improving the accuracy and stability of the water outlet of the water dispenser, reducing the water outlet problems and equipment operation failures that may be caused by improper positioning of the water cup, and providing users with a more convenient and reliable use experience.

[0035] See also Figure 1-Figure 6The telescopic mechanism 6 includes a vertical slide 61, which is opened at the upper end of the cabinet water dispenser 1 on one side away from the first motor 92. The second motor 62 is fixedly connected to the bottom of the vertical slide 61, and a one-way screw rod 63 is fixedly installed on the output end of the second motor 62. The one-way screw rod 63 is rotatably connected to the inside of the vertical slide 61, and the outer surface of the one-way screw rod 63 is threadedly connected to a slide rod 64. The top of the slide rod 64 passes through the vertical slide 61 and is fixedly connected to the bottom of the photoelectric detection mechanism 7. The top view of the clamping frame 944 is V-shaped. The overall internal cross-sectional shape of the slide rod 64 and the vertical slide 61 is set to a convex shape. The overall internal cross-sectional shape of the slider 941 and the horizontal slide 91 is also set to a convex shape. The outer surfaces of the slider 941 and the slide rod 64 are fixedly connected with wear-resistant gaskets. The vertical slide 61 provides a stable installation and operation space for the second motor 62, the one-way screw rod 63 and the slide rod 64. The second motor 62 drives the one-way screw rod 63 to rotate The convex cross-section design of the slide bar 64 and the vertical slide groove 61 and the slider 941 and the horizontal slide groove 91 ensures the stability of the connection, effectively prevents the slide bar 64 and the slider 941 from falling off or offsetting during the movement, and improves the accuracy and reliability of the movement. The V-shaped top view design of the clamping frame 944 is ingenious, which is convenient for guiding and clamping the water cup, especially for the round water cup, to achieve a good centering correction effect. The wear-resistant gaskets on the outer surface of the slider 941 and the slide bar 64 can reduce the friction loss between the components, extend the service life of the equipment, and ensure that the telescopic mechanism 6 and the correction mechanism 9 can still maintain stable performance during long-term use, thereby improving the operating efficiency and stability of the entire water dispenser system and providing users with a better quality experience.

[0036] See also Figure 1-Figure 6The photoelectric detection mechanism 7 includes a support rod 71, which is fixedly mounted on the top of the slide bar 64. A cross rail 72 is fixedly mounted on the top of the support rod 71. A photoelectric detection component 73 is movably mounted inside the cross rail 72. A driving component 76 is fixedly connected to the outside of the photoelectric detection component 73. A mounting plate 75 is fixedly mounted on the top rear side of the cross rail 72. A distance measuring sensor 74 is fixedly mounted on the top of the mounting plate 75. The support rod 71 provides a stable support for the cross rail 72 to ensure that the cross rail 72 and the components thereon can be stably installed. The photoelectric detection component 73 in the cross rail 72 can be flexibly moved under the action of the driving component 76, so that the photoelectric detection The range and position can be adjusted according to actual needs, which improves the flexibility and accuracy of detection. The distance sensor 74 on the mounting plate 75 can accurately measure the distance to the target object, and cooperate with the photoelectric detection component 73 to further enhance the detection capability of the water cup position, height and other information. This multi-component collaborative working mode enables the photoelectric detection mechanism 7 to obtain relevant data comprehensively and accurately, providing a reliable basis for the intelligent control of the water dispenser, thereby achieving more accurate water output control, water level monitoring and adaptive adjustment of the water cup position, improving the intelligence level of the water dispenser and the convenience and safety of user use.

[0037] See also Figure 1-Figure 6The photoelectric detection component 73 includes a sliding block 731, which is slidably connected to the inside of the cross rail 72. A mounting frame 732 is fixedly installed on the top of the sliding block 731, and a photoelectric sensor body 733 is fixedly installed on the top of the mounting frame 732. The driving component 76 is fixedly installed on the outside of the mounting frame 732. The driving component 76 includes a side arm 761 and a rack 764. The side arm 761 is fixedly installed on the side of the mounting frame 732 away from the cross rail 72. A third motor 763 is fixedly installed on the outside of the side arm 761. The output end of the third motor 763 passes through the side arm 761 and is fixedly installed with a gear 762. The rack 764 is fixedly installed at the lower end of the side of the cross rail 72 close to the side arm 761. The gear 762 and the rack 764 are meshed and connected. The sliding connection between the sliding block 731 and the cross rail 72 enables the mounting frame 732 to move smoothly on the cross rail 72. The photoelectric sensor body 733 is provided with flexible position adjustment capability, and the photoelectric sensor body 733 on the top of the mounting bracket 732 can accurately detect relevant information of objects such as water cups. The design of the driving component 76 is exquisite and practical. The side arm 761 provides a mounting position for the third motor 763 to ensure its stable operation. The gear 762 at the output end of the third motor 763 is meshed and connected with the rack 764 at the lower end of one side of the cross rail 72. When the third motor 763 is started, it can accurately drive the mounting bracket 732 and the photoelectric sensor body 733 to move on the cross rail 72, so as to realize accurate detection of objects at different positions. This structural design improves the accuracy and range of photoelectric detection, so that the water dispenser can more accurately sense the position and state of the water cup, thereby realizing functions such as smarter and more accurate water outlet control, and improving the user experience and the overall performance of the water dispenser.

[0038] See also Figure 1-Figure 5 A storage chamber 8 is provided at the lower end of the front side of the cabinet water dispenser 1, and a sealed door 10 is hinged on the front side of the storage chamber 8. An ultraviolet lamp is fixedly connected to the interior of the storage chamber 8. The storage chamber 8 provides users with additional storage space, which can be used to place water cups, tea leaves and other related items, which is convenient for users to use at any time, increasing the functionality and convenience of the water dispenser. The sealed door 10 hinged on the front side can effectively protect the items in the storage chamber 8, prevent dust from entering, and keep the storage environment clean. At the same time, the ultraviolet lamp fixedly connected to the inside of the storage chamber 8 plays a role in sterilization and disinfection. When storing items, the ultraviolet lamp can irradiate the inside of the storage chamber 8 to kill possible bacteria and viruses, ensure the hygiene and safety of the stored items, provide users with a healthier use environment, and further improve the overall quality and practicality of the water dispenser.

[0039] The working principle of the present invention is as follows: the photoelectric detection component 73 provided brings many advantages to the device during use. When it is needed, the second motor 62 can be started to run. After the second motor 62 runs, it can drive the one-way screw rod 63 to rotate. The rotation of the one-way screw rod 63 will drive the slide bar 64 to slide on the inner side of the vertical slide groove 61. In this way, the up and down sliding position of the slide bar 64 on the inner side of the vertical slide groove 61 can be adjusted, and then the height of the photoelectric detection mechanism 7 can be flexibly adjusted. This design enables the device to be well adapted to the height of water cups of different sizes, greatly improving its scope of application. In addition, during the adjustment process, the third motor 763 can also be started to run. The third motor 763 drives the gear 762 to rotate. Since the gear 762 and the rack 764 are meshed and connected, the sliding block 731 inside the cross rail 72 can be driven to slide. The sliding block The sliding of 731 will assist in driving the mounting bracket 732 to move forward and backward, and the forward and backward displacement of the mounting bracket 732 can realize the adjustment of the forward and backward position of the photoelectric sensor body 733. It can be seen that the device can automatically adjust the forward and backward position of the photoelectric sensor during use, which improves the convenience of using the water dispenser. Moreover, during the entire use process, the single-chip microcomputer controller is used to cooperate with the distance sensor 74, the photoelectric sensor body 733 and the distance camera 4 to work together. The distance sensor 74 can accurately identify the height of the photoelectric sensor, and the distance camera 4 can detect the water level in the water cup in real time. The coordinated use of this multi-sensor greatly improves the detection and adaptation performance of the device during the overall application period, and can ensure that water will not flow out when the water cup is placed in a deviation, effectively preventing the hot water from scalding the human body, and providing users with a safer and more reliable use experience.

[0040] The correction mechanism 9 is provided to further improve the practicality and stability of the device. When the device is in use, the water cup can be placed inside the water cup placement bin 3. At this time, the position of the water cup is adapted and detected by the ranging camera 4, and the photoelectric detection mechanism 7 also assists in the detection. If a position deviation is found between the water cup and the drain faucet 5, the first motor 92 can be started to operate. The first motor 92 can drive the bidirectional screw rod 93 to rotate. Since the threads at both ends of the bidirectional screw rod 93 rotate in opposite directions, the slider 941 can be driven by the bidirectional screw rod 93 to slide back and forth inside the horizontal slide groove 91. The mutual sliding of the sliders 941 will assist the two sleeved clamping frames 944 to move relative to each other. The two clamping frames 944 It is designed in a V-shape. When the water cup is round, the inclined surface of the inner wall of the V-shaped clamping frame 944 can play a good guiding role, so that the water cup can be in a centered clamping state, and the position of the water cup can be corrected quickly and conveniently, thereby ensuring that the drain faucet 5 and the water cup are in an accurate alignment state. In some special scenarios where the water cup needs to be clamped, such as when used in unstable areas with frequent shaking such as trains, the first motor 92 can also be started to drive the clamping frame 944 to move, clamp and fix the water cup to prevent the water cup from tipping over, effectively improving the stability during use, and reducing various problems that may be caused by the tipping over of the water cup, such as waste of water resources, equipment damage, etc., further improving the adaptability and reliability of the device in different environments.

Claims

1. A water dispenser based on a photoelectric sensor, characterized in that: It comprises a cabinet-type water dispenser, wherein a touch screen is fixedly installed on the upper front end of the cabinet-type water dispenser, a single-chip microcomputer controller is provided on the top of the cabinet-type water dispenser at the rear side of the touch screen, a water cup placement compartment is provided on the front side of the top of the cabinet-type water dispenser, a telescopic mechanism is fixedly installed on one side of the cabinet-type water dispenser, a photoelectric detection mechanism is fixedly installed on the top of the telescopic mechanism, a correction mechanism is fixedly installed on the rear side of the bottom of the water cup placement compartment, a distance measuring camera is fixedly installed in the middle of the rear side of the top of the water cup placement compartment, a drainage faucet is fixedly installed on the front side of the top of the water cup placement compartment, and the input end of the drainage faucet is connected to the output end of the water pump in the cabinet-type water dispenser; The correction mechanism includes a transverse slide groove and a first motor. The transverse slide groove is opened at the rear side of the bottom of the water cup placement bin. The interior of the transverse slide groove is rotatably connected with a bidirectional screw rod. The threads at both ends of the bidirectional screw rod have opposite rotation directions. The output end of the first motor is fixedly installed on the upper end of one side of the cabinet water dispenser. The output end of the first motor is fixedly connected to one end of the bidirectional screw rod. Both ends of the bidirectional screw rod are threadedly connected with correction parts.

2. A water dispenser based on a photoelectric sensor according to claim 1, characterized in that: The correction piece includes a slider, which is slidably connected to the inner two ends of the transverse slide groove, a connecting piece is fixedly installed on the top of the slider, a fixing block is fixedly installed on the front end of the connecting piece, and a clamping frame is fixedly installed on the inner side of the fixing block.

3. A water dispenser based on a photoelectric sensor according to claim 2, characterized in that: The telescopic mechanism includes a vertical slide groove, which is opened at the upper end of the cabinet water dispenser on a side away from the first motor. A second motor is fixedly connected to the bottom of the vertical slide groove, and a one-way screw rod is fixedly installed on the output end of the second motor. The one-way screw rod is rotatably connected to the inside of the vertical slide groove, and a sliding rod is threadedly connected to the outer surface of the one-way screw rod. The top of the sliding rod passes through the vertical slide groove and is fixedly connected to the bottom of the photoelectric detection mechanism.

4. A water dispenser based on a photoelectric sensor according to claim 3, characterized in that: The clamping frame is V-shaped when viewed from above, the internal overall cross-sectional shape of the sliding rod and the vertical sliding groove is convex, the internal overall cross-sectional shape of the sliding block and the horizontal sliding groove is also convex, and the outer surfaces of the sliding block and the sliding rod are fixedly connected with wear-resistant gaskets.

5. A water dispenser based on a photoelectric sensor according to claim 3, characterized in that: The photoelectric detection mechanism includes a support rod, which is fixedly installed on the top of the sliding rod. A cross rail is fixedly installed on the top of the support rod. A photoelectric detection component is movably installed inside the cross rail. A driving component is fixedly connected to the outside of the photoelectric detection component.

6. A water dispenser based on a photoelectric sensor according to claim 5, characterized in that: A mounting plate is fixedly mounted on the top rear side of the cross rail, and a distance measuring sensor is fixedly mounted on the top of the mounting plate.

7. A water dispenser based on a photoelectric sensor according to claim 6, characterized in that: The photoelectric detection component includes a sliding block, which is slidably connected to the inside of the cross rail. A mounting frame is fixedly installed on the top of the sliding block, a photoelectric sensor body is fixedly installed on the top of the mounting frame, and the driving component is fixedly installed on the outside of the mounting frame.

8. A water dispenser based on a photoelectric sensor according to claim 7, characterized in that: The driving assembly includes a side arm and a rack. The side arm is fixedly installed on a side of the mounting frame away from the cross rail. A third motor is fixedly installed on the outer side of the side arm. The output end of the third motor passes through the side arm and a gear is fixedly installed. The rack is fixedly installed on the lower end of the side of the cross rail close to the side arm, and the gear and rack are meshingly connected.

9. A water dispenser based on a photoelectric sensor according to claim 1, characterized in that: A storage cavity is provided at the lower end of the front side of the cabinet-type water dispenser, a sealing door is hinged on the front side of the storage cavity, and an ultraviolet lamp is fixedly connected inside the storage cavity.