Parallel detection device for cup body in-position status in multi-cup environment and system and method thereof

By using a control unit and a chip-level reflection sensor to detect the side of the cup in a multi-cup environment, it solves the problems of high misjudgment rate and high cost in the existing technology, and achieves accurate detection of the in-position status of the transparent cup. , reducing space occupation and cost, suitable for mass production.

CN110764098BActive Publication Date: 2024-09-20SHANDONG ACCURDX BIO-TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911164769.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-25
Publication Date
2024-09-20
Estimated Expiration
2039-11-25

AI Technical Summary

Technical Problem

The existing parallel detection of whether the transparent cup is in place in a multi-cup environment has problems such as high misjudgment rate, high cost and large space occupation. In particular, it is difficult to effectively detect the side of the cup.

Method used

Using a detection device composed of a control unit and multiple chip-level reflection sensors, by detecting the sides of the cup body, and using the calibration and detection threshold adjustment functions of the chip-level reflection sensors, the system can accurately detect the in-position status of the cup body in a multi-cup environment. detection. The device includes a control unit and multiple detection units. The detection unit is installed so that the sensing surface of the chip-level reflection sensor faces the side of the cup, and the cup is automatically moved into the detection position through the motion control device, combined with the emission and reception of infrared light information. , to achieve automated detection.

Benefits of technology

It improves the accuracy of judging the in-position status of the transparent cup, reduces the detection cost and space occupation, and realizes an economical and efficient detection solution suitable for mass production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110764098B
    Figure CN110764098B
Patent Text Reader

Abstract

The present invention relates to a parallel detection device for the in-place status of cup bodies in a multi-cup environment and a system and method thereof. The detection device comprises a control unit and a detection unit installed on the control unit; each detection unit is installed with a chip-level reflection sensor; the detection unit is installed so that each detection unit is located on the same side of the control unit and the sensing surfaces of the chip-level reflection sensors in the same row of detection units are facing the same side, parallel to each other and on the same horizontal line; the control unit is used to power the detection unit, issue instruction information or receive information fed back by the detection unit; the detection unit is used to receive instruction information, enable the sensor to calibrate its detection threshold or detect the in-place status of the cup body according to the instruction and feed back the result information to the control unit. The detection device has the advantages of small space occupation, low economic cost, high detection accuracy, etc. The detection system comprises the detection device and a motion control device. The detection method adopts the detection system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of cup body in-place status detection, and in particular relates to a cup body in-place status parallel detection device in a multi-cup position environment and a system and method thereof. Background Art

[0002] Existing multi-cup environment detection solutions usually use reflective sensors to detect information transmitted from the bottom or top of the cup. However, due to the weak reflection factor of the transparent cup, the difference in the intensity of the received information detected when there is a cup and when there is no cup is too weak, resulting in a high misjudgment rate of the detection results of the transparent cup by this method. In addition, there are small differences in the intensity of the received information at different cup positions, which will also cause errors in the recognition of the information detection threshold, resulting in the state of the cup being misjudged as no cup. Another commonly used detection method is to use a long-range sensor to transmit information from the bottom or top of the cup and receive it from the other end. This method is easily affected by the optical transmittance consistency of the cup holder or cup body process due to the angle range of the sensor's transmitted information. For transparent cups, in order to improve the distinction of the intensity of received information, a reflective fiber optic sensor can now be used to implement a solution for detecting whether the cup body is in place. However, although the reflective fiber optic sensor has a higher receiving sensitivity and adjustable receiving threshold, it can choose to scan various parts of the cup body; however, the existing reflective fiber optic sensor solution has the following disadvantages. For example, the single-channel back-end information transmission and reception processing modules (including optical modules for photoelectric conversion) of the fiber optic sensor solution are very large, which results in the problem of too much space occupied by the multi-channel detection modules for parallel detection in multi-position environments. For another example, the cost of a single-channel fiber optic sensor detection module can be more than 10 times that of an ordinary digital / analog sensor, resulting in a higher overall cost.

[0003] In addition, the existing solutions of using reflection sensors or through-beam sensors to detect whether the cup body is in place in a multi-cup environment are often limited by the size of the sensor, making it difficult to scan and detect the side of the cup body in a multi-cup environment.

[0004] Currently, there is no parallel detection system or method that can effectively detect whether a cup body (especially a transparent cup) is in place in a multi-cup environment, especially a parallel detection system or method that can detect whether a cup body (especially a transparent cup) is in place in a multi-cup environment by detecting the side of the cup body. Summary of the invention

[0005] In order to overcome the above-mentioned defects, the object of the present invention is to provide a device, system and method for parallel detection of the in-place status of cup bodies in a multi-cup environment with small space occupation and low economic cost.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A first aspect of the present invention provides a parallel detection device for cup body in-position status in a multi-cup position environment, the detection device comprising a control unit and a detection unit mounted on the control unit; each detection unit comprises a chip-level reflection sensor;

[0008] The control unit and the detection unit are not on the same plane; the detection units are installed so that each detection unit is located on the same side of the control unit and the sensing surfaces of the chip-level reflection sensors in the same row of detection units are facing the same side, parallel to each other and on the same horizontal line; and the detection units are installed so that the sensing surface of the chip-level reflection sensor installed on the detection unit faces the side of the cup body during detection;

[0009] The control unit is used to supply power to the detection unit, send command information to the detection unit, or receive information fed back by the detection unit;

[0010] The detection unit is used to receive instruction information sent by the control unit to enable the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the cup body in-place status in a multi-cup environment according to the instruction; and feed back the calibration result information or the detection result information to the control unit.

[0011] In a preferred example, the sending of instruction information to the detection unit refers to sending detection threshold calibration instruction information or cup body in-place status detection instruction information to the detection unit.

[0012] In a preferred example, the information fed back by the receiving detection unit refers to the calibration result information fed back by the receiving detection unit on whether the detection threshold calibration is qualified or the detection result information on whether the cup body is in place.

[0013] In a preferred example, the detection unit is in the shape of a sheet or a plate.

[0014] In a preferred example, the control unit is in the shape of a sheet or a plate.

[0015] In a preferred example, the detection device includes a control unit and a plurality of detection units.

[0016] In a preferred example, the number or arrangement of the detection units is determined according to the cup positions to be detected in parallel.

[0017] In a preferred example, each detection unit is installed at an angle to a control unit (eg, perpendicular to each other).

[0018] In a preferred example, the detection device includes a control unit and one or more rows of detection units mounted on the control unit.

[0019] In a preferred embodiment, the detection device includes a control unit and a row of detection units mounted on the control unit; the row of detection units includes one detection unit or multiple detection units. The number of detection units in the row of detection units is determined according to the cup positions to be tested. For example, a row of detection units includes 2-10 detection units.

[0020] In a preferred embodiment, the detection device includes a control unit and multiple rows of detection units installed on the control unit; each row of detection units includes one detection unit or multiple detection units. The number of rows of the detection units is determined according to the cup positions to be tested. For example, the detection device includes 2-10 rows of detection units. The number of detection units in each row of detection units is determined according to the cup positions to be tested. For example, each row of detection units includes 2-10 detection units.

[0021] In a preferred example, the installation of the detection unit is completed as follows: the control unit includes a control board; the detection unit includes a detection board; the chip-level reflective sensor is installed on the detection board; the detection board is installed on the control board; the control board and the detection board are not on the same plane; and the detection boards are installed so that each detection board is located on the same side of the control board and the sensing surfaces of the chip-level reflective sensors on the same row of detection boards are facing the same side, parallel to each other and on the same horizontal line, and the detection boards are installed so that the sensing surfaces of the chip-level reflective sensors installed on the detection boards face the side of the cup body during detection.

[0022] In a preferred embodiment, each detection board is installed at an angle to a control board (for example, perpendicular to each other).

[0023] In a preferred example, the detection unit transmits and receives light information through the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the in-place status of the cup body in a multi-cup environment; and the detection unit converts the light information results (reflecting the calibration results or detection results) received by it through the chip-level reflection sensor into electrical information results (reflecting the calibration results or detection results), and feeds them back to the control unit.

[0024] In a preferred example, the light information is infrared light information.

[0025] In a preferred embodiment, the size of the chip-level reflective sensor should satisfy:

[0026] (1) The detection unit including the chip-level reflection sensor can be inserted between the two cup bodies so that the sensing surface of the chip-level reflection sensor faces the side of the cup body;

[0027] (2) The sensing distance between the sensing surface of the chip-level reflection sensor and the side surface of the cup body facing the sensing surface is within the effective detection distance of the chip-level reflection sensor, so that the chip-level reflection sensor can realize effective light information transmission and reception.

[0028] In a preferred example, the chip-level reflective sensor supports a detection threshold calibration function and a detection threshold adjustment function after calibration.

[0029] In a preferred example, the chip-level reflective sensor supports a light information transmission power adjustment function.

[0030] In a preferred example, the chip-level reflective sensor is a sensor of model OPB9000.

[0031] In a preferred example, the detection unit also includes a power supply terminal capacitor of a chip-level reflective sensor.

[0032] In a preferred example, the capacitor is a chip ceramic capacitor.

[0033] In a preferred embodiment, a chip-level reflection sensor and a capacitor are installed on each detection board.

[0034] In a preferred example, the control board is provided with fixing holes for fixing the detection device to other structures (such as a supporting structure).

[0035] The second aspect of the present invention provides a parallel detection system for the in-place status of cups in a multi-cup position environment, the detection system comprising the detection device described in the first aspect of the present invention and a motion control device; the motion control device is used to control the movement of the multi-cup position environment so that a row of cups in the multi-cup position environment automatically enters the detection position of the detection device or is removed from the detection position of the detection device.

[0036] In a preferred example, the movement is linear movement.

[0037] In a preferred example, the motion control device is driven by an external stepper motor.

[0038] In a preferred example, the detection position of the detection device means that when the cup body enters this position, the sensing surface of the chip-level reflective sensor in the detection unit faces the side surface of the cup body.

[0039] In a preferred example, the detection position of the detection device means that when the cup body enters this position, the sensing distance between the sensing surface of the chip-level reflection sensor in the detection unit and the side of the cup body facing the sensing surface is within the effective detection distance of the chip-level reflection sensor.

[0040] In a preferred example, the detection system further includes a supporting structure; the supporting structure is used to fix the detection device.

[0041] In a preferred example, the support structure can be fixed above or below the detection device.

[0042] The third aspect of the present invention provides a method for parallel detection of the in-place status of cup bodies in a multi-cup environment, wherein the detection method adopts the parallel detection system for the in-place status of cup bodies in a multi-cup environment as described in the second aspect of the present invention; and the method comprises the following steps:

[0043] (a) Detection threshold calibration steps:

[0044] (1) moving the multi-cup environment carrying the cup bodies to the detection position of the detection device in the multi-cup environment cup body in-place status parallel detection system through the motion control device in the multi-cup environment cup body in-place status parallel detection system;

[0045] (2) setting an initial detection threshold of a chip-level reflective sensor in the detection device;

[0046] (3) setting the transmission power of the chip-level reflection sensor, and then transmitting light information to the side of the cup body at the transmission power;

[0047] If the chip-level reflective sensor can receive reflected light information that passes the initial detection threshold, then directly proceed to step (4); or

[0048] If the chip-level reflective sensor cannot receive the reflected light information that passes the initial detection threshold, the transmitting power of the chip-level reflective sensor is increased, and then light information is transmitted to the side of the cup body with the transmitting power; until the chip-level reflective sensor can receive the reflected light information that passes the initial detection threshold;

[0049] When the chip-level reflection sensor can receive the reflected light information passing through the initial detection threshold, the transmission power at this time is determined to be the transmission power used in the actual detection, which is recorded as the actual transmission power; the initial detection threshold at this time is determined to be the critical detection threshold of the chip-level reflection sensor;

[0050] (4) lowering the detection threshold used in the actual detection of the chip-level reflective sensor, recorded as the actual detection threshold; making the actual detection threshold slightly lower than the above critical detection threshold; retaining the multi-cup position environment and removing the cup body from the cup position; and then performing detection with the above actual transmission power;

[0051] If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that the detection threshold calibration step is completed, and step (b) can be directly performed with the above actual detection threshold and actual transmission power;

[0052] If the chip-level reflection sensor can receive the reflected light information that passes the actual detection threshold, it means that the emitted light power is too high and the detection threshold calibration step is not completed. Then, the cup body needs to be put back to the cup position; and return to step (2) to lower the initial detection threshold of the chip-level reflection sensor; and then enter steps (3)-(4) again; until the chip-level reflection sensor can no longer receive the reflected light information that passes the actual detection threshold;

[0053] (b) Steps for detecting the cup body in place:

[0054] The multi-cup environment to be detected is moved to the detection position by the motion control device; the in-place status of the cup bodies in the multi-cup environment is detected using the actual detection threshold and the actual detection power;

[0055] If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that there is no cup at the cup position corresponding to the chip-level reflective sensor;

[0056] If the chip-level reflective sensor can receive reflected light information that passes the actual detection threshold, it means that there is a cup at the cup position corresponding to the chip-level reflective sensor.

[0057] In a preferred embodiment, if the above detection method is performed on the same cup body, step (b) can be performed multiple times, while step (a) only needs to be performed once.

[0058] In a preferred example, the cup body is a transparent cup body or an opaque cup body.

[0059] In a preferred example, the multi-cup position environment is an array-type cup holder.

[0060] In a preferred example, the actual detection threshold is slightly lower than the above-mentioned critical detection threshold to such an extent that in step (4), before the cup body is removed from the multi-cup environment, the light signal reflected from the side of the cup body after the chip-level reflective sensor transmits the light signal with the actual transmission power of step (3) can completely pass the actual detection threshold.

[0061] The main advantages of the technical solution of the present invention include:

[0062] The present invention mainly solves the problem of parallel detection of whether a cup body (especially a transparent cup) is in place in a multi-cup position environment.

[0063] The present invention provides a parallel detection device for the in-place status of cup bodies in a multi-cup environment. The detection device achieves effective control in terms of space and cost. The detection device occupies a small space and is easy to use; the overall economic cost of the detection device is low and suitable for mass production. The device uses optical reflection technology in a weak reflection environment (such as a transparent cup) to improve the accuracy of judgment in a weak reflection environment (such as a transparent cup). Moreover, due to its small size, the detection device achieves parallel detection of whether the cup body (especially the transparent cup) is in place in a multi-cup environment by detecting the side of the cup body.

[0064] The present invention also provides a parallel detection system for the in-place status of cup bodies in a multi-cup environment. The detection system uses a motion control device in a multi-cup environment (such as an array cup rack) and optical reflection technology in a weak reflection environment (such as a transparent cup) to achieve automatic parallel detection of whether the cup bodies (especially transparent cups) in a multi-cup environment are in place.

[0065] The present invention also provides a method for parallel detection of the cup body in-place status in a multi-cup environment. The detection method adopts the above detection system, combines the detection threshold automatic calibration technology and the optical reflection technology in a weak reflection environment (such as a transparent cup), greatly improves the accuracy of the judgment result, especially improves the detection result of the transparent cup body in-place status.

[0066] It should be understood that within the scope of the present invention, the above-mentioned technical features of the present invention and the technical features specifically described below (such as embodiments) can be combined with each other to form a new or preferred technical solution. Due to space limitations, they will not be described one by one here. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a schematic diagram of a preferred detection device of the present invention.

[0068] Figure 2 This is a schematic diagram of a control board and a detection board in a preferred detection device of the present invention.

[0069] Figure 3 This is a schematic diagram of a preferred detection device of the present invention being fixed on a supporting structure.

[0070] Figure 4 This is a schematic diagram of a preferred array cup holder of the present invention.

[0071] Figure 5 It is a schematic structural diagram of a preferred cup body of the present invention.

[0072] Figure 6 Schematic diagram of the detection threshold calibration steps of the detection method of the present invention.

[0073] Figure 7Schematic diagram of a circuit of the detection device of the present invention.

[0074] Description of reference numerals:

[0075] 1: control unit; 11: control board; 2: detection unit; 21: detection board; 22: chip-level reflective sensor; 3: support structure; 4: fixing screw; 41: fixing screw mounting hole; 42: detection board mounting hole; 5: cup hole position (or called cup position); 61: external input voltage circuit; 62: internal voltage circuit; 631: first XH connector; 632: second XH connector; 64: RS232→TLL signal level converter; 65: LDO voltage converter; 66: micro control unit (MCU); 67: bidirectional pin; 68: receiving pin; 69: GND ground wire; 7: cup ring. DETAILED DESCRIPTION

[0076] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings so that the purpose, features and advantages of the present invention can be more clearly understood. It should be understood that the embodiments shown in the accompanying drawings are not intended to limit the scope of the present invention, but are only intended to illustrate the essential spirit of the technical solution of the present invention.

[0077] In this document, certain specific details are set forth for the purpose of illustrating the various disclosed embodiments to provide a thorough understanding of the various disclosed embodiments. However, those skilled in the relevant art will recognize that the embodiments may be practiced without one or more of these specific details. In other cases, well-known devices, structures, and techniques associated with the present invention may not be shown or described in detail herein to avoid unnecessarily obscuring the description of the embodiments.

[0078] Unless the context requires otherwise, as used herein, the word "include" and variations such as "including" and "having" should be construed in an open, inclusive sense, ie, should be interpreted as meaning "including, but not limited to."

[0079] References herein to "one embodiment" or "an embodiment" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of "in one embodiment" or "in an embodiment" herein need not all refer to the same embodiment. Additionally, the particular features, structures, or characteristics may be combined in any manner in one or more embodiments.

[0080] As used herein, the singular forms "a", "an" and "the" include plural referents unless the context specifically dictates otherwise. It should be noted that the term "or" is generally used in its sense including "and / or" unless the context specifically dictates otherwise.

[0081] In this document, in order to clearly demonstrate the structure and working mode of the present invention, many directional words will be used for description, but the words "front", "back", "left", "right", "outside", "inside", "outward", "inward", "up", "down", etc. should be understood as convenient terms and should not be understood as restrictive terms.

[0082] The present invention designs a device for detecting the in-place status of cup bodies in a multi-cup environment, a system for detecting the in-place status of cup bodies in a multi-cup environment, and a method for detecting the in-place status of cup bodies in a multi-cup environment. Figures 1 to 7 The device, system and method for parallel detection of the in-place status of cup bodies in a multi-cup position environment of the present invention are described in detail by way of example.

[0083] The multi-cup environment of the present invention may be a cup holder. The multi-cup environment may include, for example, but not limited to, Figure 4 Array of cup holders shown.

[0084] The cup body of the present invention can be a transparent cup body or a non-transparent cup body. The cup body is for example but not limited to Figure 5 The cup shown.

[0085] The cup body in-position state of the present invention refers to whether the cup body is in the cup hole position. When one or more cup position holes in the multi-cup position environment carry a cup body, it means that the cup body is in position at the cup position hole or there is a cup at the cup hole position.

[0086] The term "multiple" as used herein means two or more (e.g., three, four, five, six, seven, eight, nine, ten or more). The term "multiple rows" as used herein means two or more (e.g., three, four, five, six, seven, eight, nine, ten or more).

[0087] The sensing surface of the chip-level reflective sensor described in the present invention refers to the surface or window of the sensor that transmits light information (such as infrared light information) and receives reflected light information (such as infrared light information), which can also be called an information transmitting or receiving surface, or an information transmitting or receiving window.

[0088] The present invention provides a device for parallel detection of the cup status in a multi-cup environment. Figure 1As shown, the detection device includes a control unit 1 and a detection unit 2 installed on the control unit; and each detection unit 2 includes a chip-level reflection sensor 22; the control unit and the detection unit are not on the same plane; the detection units are installed so that each detection unit is located on the same side of the control unit and the sensing surfaces of the chip-level reflection sensors in the same row of detection units are facing the same side, parallel to each other and on the same horizontal line; and the detection units are installed so that the sensing surface of the chip-level reflection sensor installed on the detection unit faces the side of the cup body during detection.

[0089] The control unit includes a control board 11. The control board may be a PCB circuit board. Figure 2 2A in FIG. The control board also includes a fixing screw mounting hole 41 for mounting the support structure and a detection board mounting hole 42 for mounting the detection board 21. The size of the control board can be 145mm x 40mm. Of course, the control unit also includes components mounted on the control board, for example, including but not limited to, a first XH connector 631, a second XH connector 632, an LDO voltage converter 65, a microcontroller unit (MCU) 66, an RS232→TLL signal level converter 64, etc. The control unit also includes a circuit mounted on the control board. For example, the LDO voltage converter (for example, model BL1117-33CX) step-down circuit (including an external input voltage circuit 61 and an internal voltage circuit 62) used in the power supply part, the control circuit and interface circuit of the MCU (for example, model STM32F030C6T6) to the detection unit, and the MCU and RS232→TLL signal level converter (for example, model SP3232EEA-L) circuit, etc. The voltage converter that supplies power to the multiple detection units can be powered by one group or by groups, depending on the number of detection units, to ensure the stability of the power supply voltage when the multiple detection units are detecting and drawing current at the same time.

[0090] The control unit is used to supply power to the detection unit, send command information to the detection unit, or receive information fed back by the detection unit. The sending of command information to the detection unit refers to sending detection threshold calibration command information or cup body in-place status detection command information to the detection unit. The detection threshold calibration command may include: detection threshold setting command, detection threshold calibration start command, detection threshold adjustment command, detection threshold calibration completion command, etc. For example, the receiving of information fed back by the detection unit refers to the calibration result information of whether the detection threshold calibration is qualified or the detection result information of whether the cup body is in place fed back by the detection unit.

[0091] The detection unit is used to receive instruction information sent by the control unit to enable the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the cup body in-place status in a multi-cup environment according to the instruction; and feed back the calibration result information or the detection result information to the control unit.

[0092] The detection unit is a detection unit for a single cup position. Therefore, according to the multi-cup position environment to be detected, the detection device can be provided with a control unit and multiple detection units, for example, including but not limited to 2-100 detection units or 2-50 detection units. Figure 4 In the 9x10 array cup holder shown in FIG. 1 , the detection device may be provided with a control unit and 10 detection units, such as Figure 1 shown.

[0093] In a preferred example, according to the multi-cup environment to be tested, the detection device may include a control unit and a row of detection units; the row of detection units includes one detection unit or multiple detection units. The number of detection units in the row of detection units is determined according to the number of cups to be tested. For example, a row of detection units includes 2-10 detection units.

[0094] In a preferred example, according to the multi-cup environment to be detected, the detection device may include a control unit and multiple rows of detection units; each row of detection units includes one detection unit or multiple detection units. The number of rows of the detection units is determined according to the number of cups to be tested. For example, the detection device includes 2-10 rows of detection units. The number of detection units in each row of detection units is determined according to the number of cups to be tested. For example, each row of detection units includes 2-10 detection units.

[0095] Each detection unit includes a detection board 21 and a chip-level reflection sensor 22 mounted on the detection board. In each detection unit, the chip-level reflection sensor is mounted on the side of the detection board. The detection board is mounted on the control board. The control board and the detection board are not on the same plane; the detection boards are installed so that each detection board is located on the same side of the control board and the sensing surfaces of the chip-level reflection sensors on the same row of detection boards are facing the same side, parallel to each other and on the same horizontal line, and the detection boards are installed so that the sensing surfaces of the chip-level reflection sensors installed on the detection boards face the side of the cup body during detection. For example, each detection board is mounted vertically on the control board (for example Figure 1 shown).

[0096] The detection board can be a PCB circuit board. Figure 2As shown in 2B in FIG. 2 , it is a convex shape. The dimensions of the detection plate can be: the dimensions of the non-convex part are: the long side is 15 mm and the short side is 14 mm; the long side of the convex part is 8 mm and the short side is 2.5 mm; the long side of the convex part overlaps with the short side of the non-convex part and the center coincides.

[0097] The detection unit is mounted on the control unit by welding the detection board in the detection unit and the control board in the control unit together. For example, the detection board is welded to the control board through a gold finger design, and the connection method can also be modified to be connected through a connector. The detection units are uniformly mounted on the same side of the control board.

[0098] The detection unit transmits and receives light information through the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the in-place status of the cup body in a multi-cup environment; and the detection unit converts the received light signal result (reflecting the calibration result or the detection result) into an electrical signal result (reflecting the calibration result or the detection result) through the chip-level reflection sensor, and then feeds it back to the control unit. For example, the light information is infrared light information. The detection unit will feed back the electrical signal (reflecting the calibration result or the detection result) to the control unit.

[0099] The chip-level reflective sensor should support the detection threshold calibration function and the detection threshold adjustment function after calibration. The chip-level reflective sensor should also support the optical information transmission power adjustment function to avoid the optical information reflected from the back of the detection plate on the other side of the cup body exceeding the receiving detection threshold, resulting in misjudgment of the cup body in place.

[0100] The chip-level reflective sensor minimizes the overall size of the detection unit due to its small size. The size of the chip-level reflective sensor should meet the following requirements: (1) the detection unit part including the chip-level reflective sensor can be inserted between the two cups, so that the sensing surface of the chip-level reflective sensor faces the side of the cup; (2) the sensing distance between the sensing surface of the chip-level reflective sensor and the side of the cup facing the sensing surface is within the effective detection distance of the chip-level reflective sensor, so that the chip-level reflective sensor can achieve effective light information transmission and reception. For example, the length of the chip-level reflective sensor is 4±0.5mm, the width is 2.2±0.5mm, and the height is 1.46±0.5mm. The chip-level reflective sensor can be OPB9000, which has a small size and meets the requirements of the application space. For a more detailed description of OPB9000, please refer to its chip specification https: / / www.ttelectronics.com / products / search-results / ? query=OPB9000. The size of the chip-level reflective sensor can be changed within the range of ±0.2mm or ±0.1mm as specified in the specification.

[0101] The sensing surface of the chip-level reflective sensor should face the side of the cup body, so as to complete the detection of the in-position state of the cup body at the cup position by transmitting and receiving infrared light information from the side of the cup body.

[0102] When measuring whether there is a cup body at a specific cup hole position, it is necessary to make the cup hole position be in the spatial position between two detection units. Therefore, in a row of detection units, except for the outermost detection unit, each detection unit needs to be set in the spatial position between two cup positions. The specific position of each detection unit should be set so that the sensing surface of the chip-level reflection sensor in the detection unit faces the side of the cup body and the sensing distance between the sensing surface of the chip-level reflection sensor in each detection unit and the side of the cup body facing the sensing surface should be within the effective detection distance of the chip-level reflection sensor. The effective detection distances of different chip-level reflection sensors can be consulted with reference to the instructions or manuals of each chip-level reflection sensor. Specifically, the sensing distance between the sensing surface of the chip-level reflection sensor and the side of the cup body facing the sensing surface is the center distance between the two cup positions - the diameter of the cup hole - the thickness of the detection plate - the thickness of the sensor - the avoidance distance of the cup body and the wall of the cup behind the sensing surface. Taking OPB9000 as a chip-level reflection sensor as an example, and Figure 4 As an example, the array cup holder shown in the figure Figure 5 Take the cup body shown as an example. The center distance between the two cup holes 5 is 13mm, and the hole diameter is 9mm. The cup body has a 1mm wide cup ring 7, which serves as a support when placed on the cup holder. The detection unit needs to be placed between the two cups (except the outermost one), considering the thickness of the detection plate (for example, 0.8mm) + the thickness of the reflective sensor (for example, 1.46mm), and then considering the avoidance of the back wall of the cup (for example, 0.2mm), the sensing distance left for the sensing surface of the reflective sensor and the side of the transparent cup body is (13-9)-0.8-1.46-0.2=1.54mm, which can be found in the chip manual of OPB9000 and verified by testing. This sensing distance is within the effective detection distance.

[0103] Preferably, the detection unit further comprises a power supply terminal capacitor of the chip-level reflective sensor, the capacitor is mounted on the detection board, for example, the capacitor is a ceramic chip bypass capacitor.

[0104] In a preferred embodiment, in order to make the size of the detection board as small as possible, no other electronic components are placed on the detection board except for a chip-level reflection sensor OPB9000 and a ceramic chip bypass capacitor. All other required electronic components are installed on the control board.

[0105] The parallel detection device for the cup body in-place status in a multi-cup position environment can identify the cup presence state (the sensor receives reflected light information passing the actual detection threshold) and the cup absence state (the sensor does not receive reflected light information passing the actual detection threshold) of the cup hole position through a chip-level reflective sensor (or chip-level reflective photoelectric sensor).

[0106] Specifically, when used to detect a 9*10 hole cup holder (such as Figure 4 When the cup body is in place, you can use Figure 1 Based on the adjustment of the moving direction of the multi-cup environment, you can choose to scan and detect 9 cup positions in a row, or scan and detect 10 cup positions in a row. If you choose to scan and detect 10 cup positions in a row, install 10 detection units on the control panel (such as Figure 1 If you select a row to scan and detect 9 cup positions, you only need to install 9 detection units on the control board. Both the control board and the detection board are single-sided soldered circuit boards.

[0107] The circuit principle of the detection device is as follows Figure 7 As shown. The detection device circuit includes an LDO voltage converter 65 circuit. The voltage converter circuit converts the external input voltage into an internal use voltage for use by each part of the circuit. For example, the voltage converter circuit is powered by an external 5V input, and the voltage is converted into 3.3V internally, which is used by each part of the circuit. The detection device circuit includes two XH connector circuits, including a first XH connector 631 and a second XH connector 632; the design enhances flexibility. The first XH connector 631 can be connected to a serial port of RS232 level; the second XH connector 632 can be connected to a serial port of TTL level; either of the two can be selected as a control interface, accept external instructions, perform internal operations, and feedback operation results. The first XH connector and the RS232→TLL signal level conversion 64 are connected to an RS232-TX transmission signal line and an RS232-RX reception signal line. The second XH connector and the RS232→TLL signal level conversion 64 are connected to a TLL-TX transmission signal line and a TLL-RX reception signal line. The detection device circuit includes an MCU circuit. The MCU can use various conventional processors (such as STM32F030C6T6). The MCU circuit is connected to two XH connector circuits and docked with various interfaces of the detection board. Each detection board connection occupies two pins, one pin 67 is used for bidirectional (CALI, used for configuration instructions and calibration instructions), and the other pin 68 is used for receiving (DET, receiving detection information). For example Figure 7 In the example, the MCU is connected to the interface of the 10-way detection board, and the MCU occupies 20 GPIO pins.

[0108] The present invention provides a parallel detection system for cup body in-position status in a multi-cup position environment. The detection system comprises the detection device and motion control device of the present invention.

[0109] The motion control device is used to control the movement of the multi-cup environment so that a row of cups in the multi-cup environment automatically enters the detection position of the detection device or is removed from the detection position of the detection device. For example, a trolley is used to carry the cup holder, and a stepper motor is used to drive the trolley to move. It should be noted that when a row of cup holes in the multi-cup environment automatically enters the detection position of the detection device, it is best to make the side of the cup body of each cup hole face the center of the sensing surface of the chip-level reflective sensor.

[0110] As used herein, the detection position of the detection device refers to the position where, when the cup enters the position, the sensing surface of the chip-level reflection sensor in the detection unit faces the side of the cup and the sensing distance between the sensing surface of the chip-level reflection sensor in the detection unit and the side of the cup facing the sensing surface is within the effective detection distance of the chip-level reflection sensor. The detection position can be a range, in which there can be many detection points. Being located at any detection point can make the sensing surface of the chip-level reflection sensor in the detection unit face the side of the cup and the sensing distance between the sensing surface of the chip-level reflection sensor in the detection unit and the side of the cup facing the sensing surface is within the effective detection distance of the chip-level reflection sensor.

[0111] In the detection device of the present invention, the control unit sends a detection threshold calibration instruction to the detection unit, so that the chip-level reflection sensor in the detection unit performs a detection threshold calibration step; after the detection threshold calibration is completed, the control unit sends a cup body in-place status detection instruction to the detection unit, so that the chip-level reflection sensor in the detection unit detects the cup body in-place status.

[0112] The detection device of the present invention can also be fixed (for example, by fixing screws) on the support structure 3 above the multi-cup environment (such as Figure 3 As shown). The support structure and the detection device can be fixed by fixing screws 4. The support structure can be fixed by fixing screws 4 and other fixing parts. After adjusting the support structure, the detection device of the present invention can also be fixed on the support structure under the multi-cup environment to achieve the same side detection. The cup body in the multi-cup environment can be driven by the motion control device, so that after each row of cups enters each detection unit, it is aligned with the sensor on the detection board and calibrated or detected. The motion control device controls the stepper motor to move through an external main control unit.

[0113] The present invention provides a method for parallel detection of the cup body in-place status in a multi-cup environment. The detection method adopts the detection system of the present invention; and the method comprises the following steps: (a) a detection threshold calibration step and (b) a cup body in-place status detection step.

[0114] The detection threshold calibration step (such as Figure 6 The following steps may be included:

[0115] (1) Using the motion control device in the detection system of the present invention, the multi-cup position environment carrying the cup bodies is moved to the detection position of the detection device in the detection system of the present invention (i.e., the cup holder is in place);

[0116] (2) setting an initial detection threshold of a chip-level reflective sensor in the detection device;

[0117] (3) setting the transmission power of the chip-level reflection sensor, and then emitting light information to the side of the cup body at the transmission power;

[0118] If the chip-level reflective sensor can receive reflected light information that passes the initial detection threshold, then directly proceed to step (4); or

[0119] If the chip-level reflective sensor cannot receive the reflected light information that passes the initial detection threshold, the transmitting power of the chip-level reflective sensor is increased, and then light information is transmitted to the side of the cup body with the transmitting power; until the chip-level reflective sensor can receive the reflected light information that passes the initial detection threshold;

[0120] When the chip-level reflection sensor can receive the reflected light information passing through the initial detection threshold, the transmission power at this time is determined to be the transmission power used in the actual detection, which is recorded as the actual transmission power; the initial detection threshold at this time is determined to be the critical detection threshold of the chip-level reflection sensor;

[0121] (4) lowering the detection threshold used in the actual detection of the chip-level reflective sensor, recorded as the actual detection threshold; making the actual detection threshold slightly lower than the above critical detection threshold; retaining the multi-cup position environment and removing the cup body from the cup position; and then performing detection using the above actual transmission power;

[0122] If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that the detection threshold calibration step is completed, and step (b) can be directly performed with the above actual detection threshold and actual transmission power;

[0123] If the chip-level reflection sensor can receive the reflected light information that passes the actual detection threshold, it means that the emitted light power is too high and the detection threshold calibration step is not completed. In this case, the cup body needs to be put back to the cup position; and return to step (2) to lower the initial detection threshold of the chip-level reflection sensor; and then enter steps (3)-(4) again; until the chip-level reflection sensor can no longer receive the reflected light information that passes the actual detection threshold.

[0124] The cup body in-place status detection step may include the following steps:

[0125] The multi-cup environment to be detected is moved to the detection position by the motion control device; the in-place status of the cup bodies in the multi-cup environment is detected using the actual detection threshold and the actual detection power;

[0126] If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that there is no cup at the cup position corresponding to the chip-level reflective sensor;

[0127] If the chip-level reflective sensor can receive reflected light information that passes the actual detection threshold, it means that there is a cup at the cup position corresponding to the chip-level reflective sensor.

[0128] In step (4), the multi-cup position environment is retained and the cup body is removed from the cup position. The cup body can be directly taken out of the multi-cup position environment; or the multi-cup position environment can be first moved out of the detection position, and then the cup body is removed from the cup position, and then the multi-cup position environment without the cup body is returned to the detection position.

[0129] In step (4), the cup body may be put back to the cup position directly; or the multi-cup position environment without cup bodies may be first moved out of the detection position, and then the cup body is put back to the cup position, and then the multi-cup position environment with cup bodies is returned to the detection position.

[0130] It should be understood that the detection threshold calibration step for a certain fixed environment only needs to be completed once, and after the calibration is completed, it is only necessary to directly perform the cup position detection. When the same cup body is used, no calibration is required for using different multi-cup position environments. For the same cup body, no calibration is required for the detection of the cup position status of different rows in the multi-cup position environment.

[0131] Taking into account the error factors, for example, due to the error of the cup holder hole position and the manufacturing process of the transparent cup, there will be a slight alignment deviation between the detection plate; for another example, the detection of the transparent cup is a weak reflection information detection, and it may also be misjudged as no cup when there is a cup; the reliability of the detection needs to be strengthened. In the cup body in-place status detection step, the reliability of the detection can be further strengthened through the following two software solutions.

[0132] The first is that the internal program uses a level detection method (the program is implemented as polling). This method determines whether there is a cup based on the detection output level of a fixed point. This method requires an external program to cooperate to control the motion control device to drive the multi-cup position environment to move in a straight line. The multi-cup position environment selects multiple fixed detection points during the movement to enhance the reliability of the detection. The step (b) includes: first, the multi-cup position environment to be detected is moved to a detection point in the detection position by the motion control device, and the actual detection threshold and actual detection power are used to detect the presence of the cup body in the multi-cup position environment; then, multiple detection points are added to the positions before and after the detection point along the movement direction of the multi-cup position environment within the detection position range, and the actual detection threshold and actual detection power are used to detect the presence of the cup body in the multi-cup position environment; as long as the detection result at any detection point shows that there is a cup at the cup position, it is determined that there is a cup in the multi-cup position environment; if the detection results at all detection points show that there is no cup at the cup position, it is determined that there is no cup in the multi-cup position environment. For example, 2 detection points can be added to each. A total of 5 detection points are achieved. For example, the spacing between the detection points is 0.5±0.2mm. The number of detection points can be adjusted and the spacing can be increased according to the actual measurement situation.

[0133] The second is that the internal program adopts the edge detection method (the program is implemented as an external pin edge interrupt). The presence or absence of a cup is judged based on the pin edge interrupt signal output by the detection unit during the movement. This method requires the cooperation of an external program to control the motion control device to drive the multi-cup position environment to move slowly (for example, at a specific slow speed determined after testing) continuously, and detect the pin edge interrupt signal during the movement to enhance the reliability of the detection. The step (b) includes: driving the multi-cup position environment to be detected to move slowly through the detection position through the motion control device; using the above-mentioned actual detection threshold and actual detection power to detect the in-position status of the cup body in the multi-cup position environment; if a pin edge interrupt signal is transmitted from the corresponding detection unit when entering a cup position during the movement, it is judged that there is a cup at the cup position, otherwise there is no cup.

[0134] All documents mentioned in the present invention are cited as references in this application, just as each document is cited as reference individually. In addition, it should be understood that after reading the above teachings of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the claims attached to this application.

Claims

1. A parallel detection device for cup status in a multi-cup environment, characterized in that: The detection device comprises a control unit and a detection unit mounted on the control unit; each detection unit comprises a chip-level reflection sensor; The control unit and the detection unit are not on the same plane; the detection units are installed so that each detection unit is located on the same side of the control unit and the sensing surfaces of the chip-level reflection sensors in the same row of detection units are facing the same side, parallel to each other and on the same horizontal line; and the detection units are installed so that the sensing surface of the chip-level reflection sensor installed on the detection unit faces the side of the cup body during detection; The control unit is used to supply power to the detection unit, send command information to the detection unit, or receive information fed back by the detection unit; The detection unit is used to receive the instruction information sent by the control unit to enable the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the in-position state of the cup body in a multi-cup environment according to the instruction; and feed back the calibration result information or the detection result information to the control unit; The control unit comprises a voltage converter for supplying power to the detection unit.

2. The device for parallel detection of cup status in a multi-cup environment according to claim 1, characterized in that: The installation of the detection unit is completed as follows: the control unit includes a control board; the detection unit includes a detection board; the chip-level reflection sensor is installed on the detection board; the detection board is installed on the control board; the control board and the detection board are not on the same plane; and the detection boards are installed so that each detection board is located on the same side of the control board and the sensing surfaces of the chip-level reflection sensors on the same row of detection boards are facing the same side, parallel to each other and on the same horizontal line, and the detection boards are installed so that the sensing surfaces of the chip-level reflection sensors installed on the detection boards face the side of the cup body during detection.

3. The device for parallel detection of cup status in a multi-cup environment according to claim 1, characterized in that: The detection unit transmits and receives light information through the chip-level reflection sensor to calibrate the detection threshold of the chip-level reflection sensor or detect the in-place status of the cup body in a multi-cup environment; and the detection unit converts the light information results of the reaction calibration results or detection results received by it into electrical information results of the reaction calibration results or detection results through the chip-level reflection sensor, and then feeds them back to the control unit.

4. The device for parallel detection of cup status in a multi-cup environment according to claim 1, characterized in that: The size of the chip-level reflective sensor should meet the following requirements: (1) The detection unit including the chip-level reflective sensor can be inserted between the two cup bodies so that the sensing surface of the chip-level reflective sensor faces the side of the cup body; (2) The sensing distance between the sensing surface of the chip-level reflective sensor and the side surface of the cup body facing the sensing surface is within the effective detection distance of the chip-level reflective sensor, so that the chip-level reflective sensor can realize effective light information transmission and reception.

5. The device for parallel detection of cup status in a multi-cup environment according to claim 1, characterized in that: The detection unit also includes a power supply terminal capacitor of the chip-level reflective sensor.

6. A parallel detection system for cup status in a multi-cup environment, characterized in that: The detection system comprises the detection device as claimed in claim 1 and a motion control device; the motion control device is used to control the movement of a multi-cup space environment so that a row of cups in the multi-cup space environment automatically enters the detection position of the detection device or is removed from the detection position of the detection device.

7. The parallel detection system for cup body in-position status in a multi-cup environment as claimed in claim 6, characterized in that: The detection system also includes a supporting structure; the supporting structure is used to fix the detection device.

8. A method for parallel detection of cup status in a multi-cup environment, characterized in that: The detection method adopts the parallel detection system for cup body in-place status in a multi-cup environment according to claim 6; and the method comprises the following steps: (a) Detection threshold calibration steps: (1) moving the multi-cup environment carrying the cup bodies to the detection position of the detection device in the multi-cup environment cup body in-place status parallel detection system through the motion control device in the multi-cup environment cup body in-place status parallel detection system; (2) setting an initial detection threshold of a chip-level reflective sensor in the detection device; (3) setting the transmission power of the chip-level reflection sensor, and then transmitting light information toward the side of the cup body at the transmission power; If the chip-level reflective sensor can receive reflected light information that passes the initial detection threshold, then directly proceed to step (4); or If the chip-level reflective sensor cannot receive the reflected light information that passes the initial detection threshold, the transmitting power of the chip-level reflective sensor is increased, and then light information is transmitted to the side of the cup body with the transmitting power; until the chip-level reflective sensor can receive the reflected light information that passes the initial detection threshold; When the chip-level reflection sensor can receive the reflected light information passing through the initial detection threshold, the transmission power at this time is determined to be the transmission power used in the actual detection, which is recorded as the actual transmission power; the initial detection threshold at this time is determined to be the critical detection threshold of the chip-level reflection sensor; (4) Lowering the detection threshold used in the actual detection of the chip-level reflective sensor, recorded as the actual detection threshold; making the actual detection threshold slightly lower than the above critical detection threshold; retaining the multi-cup position environment and removing the cup body from the cup position; and then performing detection with the above actual transmission power; If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that the detection threshold calibration step is completed, and step (b) can be directly performed with the above actual detection threshold and actual transmission power; If the chip-level reflection sensor can receive the reflected light information that passes the actual detection threshold, it means that the emitted light power is too high and the detection threshold calibration step is not completed. Then, the cup body needs to be put back to the cup position; and return to step (2) to lower the initial detection threshold of the chip-level reflection sensor; and then enter steps (3)-(4) again; until the chip-level reflection sensor can no longer receive the reflected light information that passes the actual detection threshold; (b) Cup body in-place status detection steps: The multi-cup environment to be detected is moved to the detection position by the motion control device; the in-place status of the cup bodies in the multi-cup environment is detected using the actual detection threshold and the actual detection power; If the chip-level reflective sensor cannot receive the reflected light information that passes the actual detection threshold, it means that there is no cup at the cup position corresponding to the chip-level reflective sensor; If the chip-level reflective sensor can receive reflected light information that passes the actual detection threshold, it means that there is a cup at the cup position corresponding to the chip-level reflective sensor.

9. The method for parallel detection of cup status in a multi-cup environment as claimed in claim 8, characterized in that: If the above detection method is performed on the same cup body, step (b) can be performed multiple times, while step (a) only needs to be performed once.