Dispensing detection method and device of dispensing machine, dispensing machine and medium
By scanning along the opposite trajectory in the dispensing machine to acquire data and combining it with image processing algorithms, the problems of low accuracy and efficiency in dispensing detection are solved, and efficient and accurate dispensing information acquisition is achieved.
Patent Information
- Application Number
- CN202211626574.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-12-16
AI Technical Summary
Existing dispensing machines suffer from low accuracy and efficiency in dispensing detection.
By scanning along opposite trajectories before and after dispensing, first and second scan data are acquired. Dispensing information is determined by combining data image conversion and image mapping algorithms.
This improves the accuracy and efficiency of dispensing information acquisition and detection, ensuring the accuracy of dispensing information and the high efficiency of detection.
Smart Images

Figure CN115780185B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of dispensing technology, and more particularly to a dispensing detection method, apparatus, dispensing machine, and medium for a dispensing machine. Background Technology
[0002] With the increasing development of consumer electronics, higher and higher requirements have been put forward for miniaturization, precision, integration and multi-functionality. In the assembly process of electronic components and electronic products, the dispensing machine, as a new type of automated equipment, mainly completes the function of dispensing adhesive into the corresponding position in a specific way through a pre-set path. As the key and core of electronic packaging technology, the improvement of its technical level is directly related to the quality of packaging technology. Summary of the Invention
[0003] This invention provides a dispensing detection method, apparatus, dispensing machine, and medium for a dispensing machine, which addresses the problems of poor dispensing accuracy and low efficiency in the prior art, improves the accuracy of dispensing information acquisition, and enhances detection efficiency.
[0004] In a first aspect, embodiments of the present invention provide a dispensing detection method for a dispensing machine, the dispensing machine comprising a processing module, a spraying module, and a scanning module; the processing module is electrically connected to the spraying module and the scanning module respectively;
[0005] The dispensing detection method includes:
[0006] The scanning module is controlled to perform a first scan of the product before dispensing along a first trajectory to obtain first scan data;
[0007] The spraying module is controlled to apply adhesive to the product along the second trajectory, and the scanning module is simultaneously controlled to perform a second scan of the product after adhesive application along the second trajectory to obtain second scan data; wherein the first trajectory and the second trajectory are opposite trajectories.
[0008] The dispensing information of the product is determined based on the first scan data and the second scan data.
[0009] Secondly, embodiments of the present invention provide a dispensing detection device for a dispensing machine, the dispensing machine including a processing module, a spraying module, and a scanning module; the processing module is electrically connected to the spraying module and the scanning module respectively; the dispensing detection device includes:
[0010] The first scanning module is used to control the scanning module to perform a first scan of the product before dispensing along the first trajectory and obtain the first scan data;
[0011] The second scanning and dispensing module is used to control the spraying module to dispense adhesive onto the product along the second trajectory, and simultaneously control the scanning module to perform a second scan on the dispensed product along the second trajectory to obtain second scan data; wherein, the first trajectory and the second trajectory are opposite trajectories;
[0012] The dispensing information determination module is used to determine the dispensing information of the product based on the first scan data and the second scan data.
[0013] Thirdly, embodiments of the present invention provide a dispensing machine, the dispensing machine comprising:
[0014] One or more processors;
[0015] Storage device for storing one or more programs.
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the dispensing detection method of the dispensing machine as described in any of the first aspects.
[0017] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a dispensing detection method for a dispensing machine as described in any of the first aspects.
[0018] This invention provides a dispensing detection method for a dispensing machine. First, a scanning module is controlled to perform a first scan along a first trajectory on the product before dispensing, acquiring first scan data. Then, a spraying module is controlled to dispense the product along a second trajectory, while simultaneously the scanning module performs a second scan along the second trajectory on the product after dispensing, acquiring second scan data. This simultaneous second scan during dispensing improves detection efficiency. The first and second trajectories are opposite. Finally, the dispensing information of the product is determined based on the first and second scan data. By employing this detection method, pre-dispensing and post-dispensing scans are performed on the product along the opposite first and second trajectories, ensuring the accuracy of dispensing information acquisition. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of exemplary embodiments of the present invention, the accompanying drawings used in describing the embodiments are briefly introduced below. Obviously, the accompanying drawings described are only a portion of the drawings of the embodiments to be described in this invention, and not all of the drawings. For those skilled in the art, other drawings can be obtained from these drawings without any creative effort.
[0020] Figure 1 This is a flowchart illustrating a detection method for a dispensing machine provided in Embodiment 1 of the present invention;
[0021] Figure 2 This is a flowchart illustrating a detection method for a dispensing machine according to Embodiment 2 of the present invention;
[0022] Figure 3 This is a schematic diagram of the structure of a dispensing machine provided in Embodiment 2 of the present invention;
[0023] Figure 4 This is a flowchart illustrating a detection method for a dispensing machine according to Embodiment 3 of the present invention;
[0024] Figure 5 This is a schematic diagram of the structure of a dispensing detection device for a dispensing machine provided in Embodiment 4 of the present invention;
[0025] Figure 6 This is a schematic diagram of the structure of a dispensing machine provided in Embodiment 5 of the present invention. Detailed Implementation
[0026] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a system, product, or device comprising a series of units is not necessarily limited to those steps or units explicitly listed, but may include other units not explicitly listed or inherent to such products or devices.
[0028] Example 1
[0029] Figure 1 This is a flowchart illustrating a detection method for a dispensing machine according to Embodiment 1 of the present invention. (Refer to...) Figure 1 As shown, the embodiments of the present invention can be applied to situations where dispensing and testing of products requiring adhesive are required. This method can be executed by the dispensing and testing device in the embodiments of the present invention. This system can be implemented by software and / or hardware, and can be integrated into the dispensing machine. The method specifically includes the following steps:
[0030] S110. The control scanning module performs a first scan of the product before dispensing along the first trajectory to obtain the first scan data.
[0031] Dispensing machines, also known as glue coaters, drippers, glue applicators, or glue dispensing machines, are specifically designed for fluid control. They are primarily used in product manufacturing processes to precisely dispense, inject, coat, or drip adhesives, paints, and other liquids onto specific locations on each product. They can be used to apply dots, lines, circles, or arcs. Currently, many products requiring dispensing have irregular shapes and uneven surfaces, thus demanding high precision in dispensing. Furthermore, a dispensing machine includes a processing module, a spraying module, and a scanning module. The processing module is electrically connected to both the spraying and scanning modules, allowing it to transmit dispensing and scanning commands to them respectively, thus enabling dispensing and scanning inspection of the product. Simultaneously, the processing module acquires the scanning structure from the scanning module, analyzes it, and obtains information on the dispensing status, completing the dispensing inspection process.
[0032] Furthermore, the processing module controls the scanning module to perform a first scan along the first trajectory line. The first trajectory can refer to the area scanned from the first end to the second end of the product before dispensing, and subsequent dispensing will be performed within this first trajectory area. During the first scan, the spraying module does not dispense adhesive onto the product; that is, the scanning module can acquire information such as the shape or surface condition of the product before dispensing, including the thickness, width, and distribution of the dispensing dots. This embodiment of the invention does not impose specific limitations on these aspects.
[0033] S120: Control the spraying module to apply adhesive to the product along the second trajectory, and simultaneously control the scanning module to perform a second scan of the product after adhesive application along the second trajectory to obtain the second scan data.
[0034] Furthermore, after the processing module controls the scanning module to perform the first scan along the first trajectory, the processor and the spraying module are positioned close to the end of the first trajectory. If the processing module controls the spraying module to perform dispensing, the dispensing process is performed along the second trajectory. The first and second trajectories are opposite trajectories. For example, if the area for dispensing in the product is a straight line, the first trajectory can be a straight line extending from the first end of the area to the second end, while the second trajectory is a straight line extending from the second end of the area to the first end. That is, the first and second trajectories are the same trajectory, only their directions of movement are opposite. Furthermore, the area for dispensing in the product can also be a circular area. In this case, the first trajectory can extend clockwise from the first end to the second end, and the second trajectory can extend counterclockwise from the second end to the first end. This embodiment of the invention does not specifically limit the shape of the dispensing area, i.e., the movement shape of the trajectory.
[0035] Furthermore, the processing module controls the spraying module to dispense adhesive onto the product along the second trajectory, thereby fulfilling the product's dispensing process requirements. While controlling the spraying module to dispense adhesive along the second trajectory, the processor also controls the scanning module to perform a second scan along the same trajectory. The second scanning trajectory can refer to scanning the product along the path of the first trajectory but in the opposite direction after dispensing, thereby acquiring information such as the shape or surface condition of the dispensed product. Since both the first and second scans target the same area of the product, the accuracy is higher when comparing the two scans subsequently. Moreover, the processing module controls the scanning module to perform a second scan simultaneously with dispensing, improving the detection efficiency of the dispensing machine.
[0036] S130. Determine the dispensing information of the product based on the first scan data and the second scan data.
[0037] Furthermore, the first and second scan data acquired by the scanning module are transmitted to the processing module. The processing module can determine the dispensing information on the product based on the two scan structures, thereby achieving dispensing detection. For example, the dispensing information may include the thickness of the adhesive, the width of the dispensing, and the distribution of the dispensing dots. Since the scan data generated by the two scans correspond to the same scan position and the time interval is short, the accuracy of the acquired dispensing information can be guaranteed.
[0038] In summary, the embodiments of the present invention provide a dispensing detection method for a dispensing machine. Performing a second scan while the product is being dispensed can improve detection efficiency. Furthermore, using the detection method provided by the present invention, the product is scanned before and after dispensing on a first and second trajectory with opposite paths. The time interval between the two scans is short, while ensuring that the scanning positions are the same, thereby ensuring the accuracy of dispensing information acquisition.
[0039] Example 2
[0040] Figure 2 This is a schematic flowchart of a detection method for a dispensing machine provided in Embodiment 2 of the present invention. Figure 3 This is a schematic diagram of a dispensing machine according to Embodiment 2 of the present invention, with reference to... Figure 2 and Figure 3 As shown, this second embodiment refines the above embodiment, specifically detailing how to control the movement trajectories of the scanning module and the spraying module to achieve the dispensing detection action. In this embodiment, the method specifically includes the following steps:
[0041] S210. Adjust the laser output from the scanning module to center the laser on the first trajectory of the product.
[0042] Specifically, the scanning module outputs a laser beam, which scans the product to obtain its scanning information. For example, the scanning module can output a 3D line laser; however, this embodiment of the invention does not specifically limit the type of laser output by the scanning module. Furthermore, before controlling the scanning module to perform the scan, aligning the center of the output laser with the first trajectory of the product to be glued (i.e., pre-positioning) ensures the accuracy of the position during the subsequent first and second scans.
[0043] S220: Control the position adjustment module to move along the first trajectory and drive the scanning module to move along the first trajectory, and control the scanning module to perform the first scan of the product before dispensing.
[0044] The dispensing machine also includes a position adjustment module, and both the spraying module and the scanning module are fixedly connected to the position adjustment module. The processing module is electrically connected to the position adjustment module, meaning that the processing module controls the position movement of the position adjustment module, thereby enabling the position movement of the spraying module and the scanning module.
[0045] Specifically, by controlling the position adjustment module to move along the first trajectory, the scanning module is also moved along the first trajectory to scan the product before dispensing. Furthermore, the direction of travel of the first trajectory is the same as the direction from the spraying module to the scanning module; that is, when the position adjustment module moves along the first trajectory, the scanning module is positioned before the spraying module, and the spraying module does not dispense adhesive along this trajectory.
[0046] Optionally, the position adjustment module includes a motion axis and a fixing unit. The fixing unit is slidably connected to the motion axis and electrically connected to the processing module. The spraying module and the scanning module are fixedly connected to the fixing unit. For example, see reference... Figure 3As shown, the dispensing machine 10 includes a position adjustment module 100, which includes a motion axis 110 and a fixing unit 120. Specifically, when the processing module (not shown in the figure) controls the position adjustment module 100 to move, it controls the fixing unit 120 to slide on the motion axis 110. For example, the processing module and the position adjustment module 100 can be electrically connected or communicatively connected; this embodiment of the invention does not impose specific limitations on this. Furthermore, the fixing unit 120 is fixedly connected to the scanning module 200 and the spraying module 300, meaning the positional relationship between the scanning module 200 and the spraying module 300 is fixed. Therefore, when the fixing unit 120 moves along the first trajectory, the scanning module 200 and the spraying module 300 also move along the first trajectory. However, at this time, the scanning module 200 performs the first scan of the product, while the spraying module 300 does not dispense adhesive onto the product.
[0047] Specifically, the movement of the scanning module along the first trajectory may include: controlling the fixed unit to move along the first trajectory and slide on the motion axis to drive the scanning module to move along the first trajectory.
[0048] For example, the processing module controls the fixed unit to move on the motion axis, specifically along a first trajectory, so that the scanning module can acquire scanning information of the product before dispensing. (Reference) Figure 3 As shown, the product 20 is scanned for the first time by the dispensing machine 10 before dispensing. For example, the product 20 can be an LCD screen, etc. This embodiment of the invention does not specify a particular shape, nor does it specifically limit the shape and area of the product 20 to be dispensed with glue. Specifically, the processing module controls the fixed unit 120 to move along the motion axis 110, thereby moving the scanning module 200. The first trajectory can be along the first end A of the product 20 to the second end B of the product 20. During the movement, the scanning module 200 scans the product 20 along the first trajectory. Based on the movement of the fixed unit 120, the spraying module 300 moves along with it. The spraying module 300 does not perform spraying during the first scan by the scanning module 200.
[0049] S230: Control the position adjustment module to move along the second trajectory and drive the spraying module and scanning module to move along the second trajectory, control the spraying module to apply glue to the product, and control the scanning module to perform a second scan on the product after glue application.
[0050] Specifically, after the first scan, the position adjustment module moves along the second trajectory, which in turn moves the spraying module and the scanning module along the same trajectory, enabling the dispensing of adhesive to the product and subsequent scanning. Furthermore, the direction of travel of the second trajectory is opposite to the direction from the spraying module to the scanning module. That is, when the position adjustment module moves along the second trajectory (opposite to the first trajectory), the scanning module is positioned after the spraying module, ensuring that the product is scanned a second time after dispensing while the scanning and spraying modules are moving.
[0051] Specifically, the movement of the scanning module and the spraying module along the second trajectory may include: controlling the fixed unit to move along the second trajectory and slide on the rotating shaft to drive the spraying module and the scanning module to move along the second trajectory.
[0052] For example, the processing module controls the fixed unit to move along the motion axis. After completing the first scan, i.e., after moving along the first trajectory, it moves along the second trajectory, enabling the spraying module to dispense adhesive onto the product and the scanning module to acquire the scanning information after dispensing adhesive. (Reference) Figure 3 As shown, after the dispensing machine 10 performs a first scan of the product 20 before dispensing, the fixing unit 120 drives the scanning module 200 and the spraying module 300 to move closer to the end of the first trajectory, that is, closer to... Figure 3 The second end B of product 20 is located at the second end of the product 20. The first trajectory can refer to movement from the first end A of product 20 to the second end B, while the second trajectory can refer to movement from the second end B of product 20 to the first end A; the two trajectories are in opposite directions. Specifically, the processing module controls the fixed unit 120 to move along the motion axis 110, thereby moving the spraying module 300 and the scanning module 200. During the movement, the spraying module 300 is positioned before the scanning module 200; that is, after dispensing adhesive onto product 20, the scanning module 200 performs a second scan of product 20. This ensures that the information from the two scans corresponds to the same position, facilitating accurate comparison of the dispensing information. Furthermore, since both the scanning module 200 and the spraying module 300 are fixed to the fixed unit 120, the interval between dispensing and subsequent information acquisition is short, further ensuring the accuracy of the dispensing information.
[0053] S240. Determine the dispensing information of the product based on the first scan data and the second scan data.
[0054] In summary, the dispensing detection method for a dispensing machine provided in this embodiment of the invention improves the accuracy of detection from all angles by first locating the relative position before scanning and dispensing, acquiring scanning data before and after dispensing, and scanning the product immediately after dispensing.
[0055] Example 3
[0056] Figure 4 This is a flowchart illustrating a detection method for a dispensing machine according to Embodiment 3 of the present invention. (Refer to...) Figure 4 As shown, this third embodiment refines the above embodiments, specifically detailing how to control and determine the dispensing information of the product. In this embodiment, the method specifically includes the following steps:
[0057] S310, The control scanning module performs a first scan of the product before dispensing along the first trajectory to obtain the first scan data.
[0058] S320: Control the spraying module to apply adhesive to the product along the second trajectory, and simultaneously control the scanning module to perform a second scan of the product after adhesive application along the second trajectory to obtain the second scan data.
[0059] S330. Determine the first scan image based on the first scan data.
[0060] Specifically, the processing module can convert the acquired first scan data into a first scan image using a data image conversion function. This image format ensures that subsequent result comparison and analysis are more intuitive and concrete.
[0061] S340. Determine the second scan image based on the second scan data.
[0062] Specifically, the processing module can convert the acquired second scan data into a second scan image using a data image conversion function. By using the image format, the subsequent comparison and analysis of the first and second scan images can be more intuitive and concrete.
[0063] S350. Determine the dispensing information of the product based on the first scanned image and the second scanned image.
[0064] Specifically, the processing module compares the acquired first scan image and second scan image. The first scan image is a scan image of the product without glue, and the second scan image is a scan image of the product with glue, thereby comparing and obtaining the glue information of the product.
[0065] Optionally, a stitching algorithm is used to stitch the first scanned image and the second scanned image together to obtain an integrated image; then an image mapping algorithm is used to obtain the dispensing information in the integrated image.
[0066] Specifically, the processing module can use a stitching algorithm to stitch the first and second scanned images together to obtain a stitched integrated image. When stitching the two scanned images, the horizontal and vertical coordinates of the images are aligned to obtain the dimensions of the product's scanned outline. Then, an image mapping algorithm is used to obtain the dispensing information from the integrated image. In other words, by using both image mapping and stitching algorithms, the determination of dispensing information can be more accurate, and the detection efficiency is also higher.
[0067] Optionally, when using an image mapping algorithm to obtain adhesive dispensing information in an integrated image, data points can be obtained from the integrated image, including a first data point and a second data point. The first data point is a data point from a first scanned image, and the second data point is a data point from a second scanned image. The difference between the first data point and the second data point is then obtained, and the difference is the thickness information of the adhesive dispensing.
[0068] For example, the first data point, i.e., the data information from the first scan, can be represented as coordinate data in the image, i.e., data1(i, j). The second data point, i.e., the data information from the second scan, can also be represented as coordinate data in the image, i.e., data2(i, j). By subtracting data2(i, j) from data1(i, j), the coordinate information of the difference is obtained, i.e., △data(i, j) = data1(i, j) - data2(i, j). △data(i, j) can represent the thickness of the adhesive dispensing, meaning that there is a thickness difference at the location of adhesive dispensing in the product, and no thickness difference at the location where adhesive is not dispensed. Through the calculation of the above coordinate data, the thickness information of the adhesive dispensing is obtained more intuitively and accurately. Furthermore, in addition to reflecting the thickness information of the adhesive dispensing, the data difference of the coordinates can also reflect the width information of the adhesive dispensing and the distribution of the adhesive dots, etc. This embodiment of the invention does not specifically limit this.
[0069] In summary, in the detection method for a dispensing machine provided by this embodiment of the invention, the two scan data obtained by the corresponding processing module can be converted into scan images by using a data-image conversion function, allowing for a more intuitive judgment of the dispensing situation. Furthermore, image mapping and stitching algorithms are employed to ensure that the obtained dispensing information is more accurate, thereby guaranteeing the accuracy of the dispensing detection method.
[0070] Example 4
[0071] Figure 5 This is a schematic diagram of the structure of a dispensing detection device for a dispensing machine according to Embodiment 4 of the present invention. The device can be applied to products with dispensing and scanning functions, and the device can be implemented by software and / or hardware.
[0072] like Figure 5As shown, the dispensing machine 30 includes: a first scanning module 310, a second scanning and dispensing module 320, and a dispensing information determination module 330.
[0073] The first scanning module 310 is used to control the scanning module to perform a first scan of the product before dispensing along the first trajectory and obtain the first scan data.
[0074] The second scanning and dispensing module 320 is used to control the spraying module to dispense adhesive onto the product along the second trajectory, and at the same time control the scanning module to perform a second scan on the dispensed product along the second trajectory to obtain the second scan data; wherein, the first trajectory and the second trajectory are opposite trajectories.
[0075] The dispensing information determination module 330 is used to determine the dispensing information of the product based on the first scan data and the second scan data.
[0076] The dispensing detection device for a dispensing machine provided in this invention firstly uses a first scanning module to control the scanning module to perform a first scan of the product before dispensing along a first trajectory, acquiring first scan data. Then, a second scanning and dispensing module controls the spraying module to dispense adhesive onto the product along a second trajectory, while simultaneously controlling the scanning module to perform a second scan of the product after dispensing along the second trajectory, acquiring second scan data. The first and second trajectories are opposite. Finally, a dispensing information determination module determines the dispensing information of the product based on the first and second scan data. This solves the problem of low accuracy in dispensing detection in existing technologies, ensuring the accuracy of dispensing information acquisition.
[0077] Example 5
[0078] Figure 6 This is a schematic diagram of the structure of a dispensing machine provided in Embodiment 5 of the present invention, as shown below. Figure 6 As shown, the dispensing machine provided in this embodiment of the invention includes: one or more processors 41 and a storage device 42; the processor 41 in the device may be one or more, Figure 6 Taking a processor 41 as an example; storage device 42 is used to store one or more programs; one or more programs are executed by one or more processors 41, so that one or more processors 41 implement the dispensing detection method of any dispensing machine in any embodiment of the present invention.
[0079] The processor 41, storage device 42, input device 43, and output device 44 in the device can be connected via a bus or other means. Figure 6 Taking the example of a connection between China and Israel via a bus.
[0080] The storage device 42 in this device serves as a computer-readable storage medium, which can be used to store one or more programs. These programs can be software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the dispensing detection method of the dispensing machine provided in this embodiment of the invention (e.g., attached...). Figure 5 The dispensing machine 30 shown includes: a first scanning module 310, a second scanning and dispensing module 320, and a dispensing information determination module 330. The processor 41 executes various functional applications and data processing of the terminal device by running software programs, instructions, and modules stored in the storage device 42, thereby realizing the dispensing detection method of the dispensing machine in the above method embodiment.
[0081] Storage device 42 may include a stored program area and a stored data area, wherein the stored program area may store the operating system and applications required for at least one function; the stored data area may store data created based on the use of the device, etc. Furthermore, storage device 42 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, storage device 42 may further include memory remotely located relative to processor 41, and this remote memory may be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0082] Input device 43 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 44 may include display devices such as a display screen.
[0083] Furthermore, when one or more programs included in the aforementioned device are executed by one or more processors 41, the programs perform the following operations: controlling the scanning module to perform a first scan of the product before dispensing along a first trajectory to obtain first scan data; controlling the spraying module to dispense adhesive onto the product along a second trajectory, and simultaneously controlling the scanning module to perform a second scan of the product after dispensing along the second trajectory to obtain second scan data; wherein the first trajectory and the second trajectory are opposite trajectories; and determining the dispensing information of the product based on the first scan data and the second scan data.
[0084] Example 6
[0085] Embodiment 6 of the present invention provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the program performs a dispensing detection method. The method includes: controlling a scanning module to perform a first scan of the product before dispensing along a first trajectory to obtain first scan data; controlling a spraying module to dispense adhesive into the product along a second trajectory, and simultaneously controlling the scanning module to perform a second scan of the product after dispensing along the second trajectory to obtain second scan data; wherein the first trajectory and the second trajectory are opposite trajectories; and determining the dispensing information of the product based on the first scan data and the second scan data.
[0086] Optionally, when executed by a processor, the program can also be used to execute the dispensing detection method of the dispensing machine provided in any embodiment of the present invention.
[0087] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof. A computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0088] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in connection with an instruction execution system, apparatus, or device.
[0089] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.
[0090] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0091] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A dispensing detection method of a dispensing machine, characterized in that, The point glue machine comprises a processing module, a spraying module and a scanning module; the processing module is electrically connected with the spraying module and the scanning module respectively; The point glue detection method comprises: Controlling the scanning module to perform first scanning on the product before glue dispensing along a first track to obtain first scanning data; Controlling the spraying module to perform glue dispensing on the product along a second track, and simultaneously controlling the scanning module to perform second scanning on the product after glue dispensing along the second track to obtain second scanning data; wherein the first track and the second track are opposite tracks; Determining glue dispensing information of the product according to the first scanning data and the second scanning data.
2. The glue inspection method of claim 1, wherein, The point glue machine further comprises a position adjusting module; the spraying module and the scanning module are fixedly connected with the position adjusting module; the processing module is electrically connected with the position adjusting module; Controlling the scanning module to perform first scanning on the product before glue dispensing along a first track comprises: Controlling the position adjusting module to move along the first track and drive the scanning module to move along the first track, and controlling the scanning module to perform first scanning on the product before glue dispensing; the advancing direction of the first track is the same as the direction in which the spraying module points to the scanning module; Controlling the spraying module to perform glue dispensing on the product along a second track, and simultaneously controlling the scanning module to perform second scanning on the product after glue dispensing along the second track comprises: Controlling the position adjusting module to move along the second track and drive the spraying module and the scanning module to move along the second track, and controlling the spraying module to perform glue dispensing on the product, and simultaneously controlling the scanning module to perform second scanning on the product after glue dispensing; wherein the advancing direction of the second track is opposite to the direction in which the spraying module points to the scanning module.
3. The glue inspection method of claim 2, wherein, The position adjusting module comprises a moving shaft and a fixed unit; the fixed unit is slidably connected with the moving shaft and electrically connected with the processing module; the spraying module and the scanning module are fixedly connected with the fixed unit; Controlling the position adjusting module to move along the first track and drive the scanning module to move along the first track comprises: Controlling the fixed unit to move along the first track and slide on the moving shaft to drive the scanning module to move along the first track; Controlling the position adjusting module to move along the second track and drive the spraying module and the scanning module to move along the second track comprises: Controlling the fixed unit to move along the second track and slide on the moving shaft to drive the spraying module and the scanning module to move along the second track.
4. The glue inspection method of claim 1, wherein, Determining glue dispensing information of the product according to the first scanning data and the second scanning data comprises: Determining a first scanning image according to the first scanning data; Determining a second scanning image according to the second scanning data; Determining glue dispensing information of the product according to the first scanning image and the second scanning image.
5. The glue inspection method of claim 4, wherein, Determining glue dispensing information of the product according to the first scanning image and the second scanning image comprises: The first scanning image and the second scanning image are spliced by using a splicing algorithm, and an integrated picture is obtained; The dispensing information in the integrated picture is obtained by using an image mapping algorithm.
6. The glue inspection method of claim 5, wherein, The dispensing information in the integrated picture is obtained by using an image mapping algorithm, including: Data points in the integrated picture are obtained, wherein the data points include first data points and second data points, the first data points are data points of the first scanning image, and the second data points are data points of the second scanning image; A difference value of the first data points and the second data points is obtained, and the difference value is thickness information of the dispensing.
7. The method of claim 1, wherein, Before controlling the scanning module to perform the first scanning on the product before dispensing along the first track, the method further includes: Adjusting the laser output by the scanning module, so that the center of the laser is located on the first track of the product.
8. A glue detecting device of a glue dispensing machine, characterized in that, The dispensing machine includes a processing module, a spraying module, and a scanning module; the processing module is electrically connected with the spraying module and the scanning module; the dispensing detection device is used to realize the dispensing detection method of the dispensing machine in any one of claims 1-7; the dispensing detection device includes: A first scanning module is configured to control the scanning module to perform the first scanning on the product before dispensing along a first track, and obtain first scanning data; A second scanning and dispensing module is configured to control the spraying module to dispense the product along a second track, and control the scanning module to perform the second scanning on the product after dispensing along the second track, and obtain second scanning data; wherein the first track and the second track are opposite tracks; A dispensing information determination module is configured to determine the dispensing information of the product according to the first scanning data and the second scanning data.
9. A glue dispenser, characterized in that, The dispensing machine includes: One or more processors; A storage device configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the dispensing detection method of the dispensing machine as claimed in any one of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the dispensing detection method of the dispensing machine as claimed in any one of claims 1-7.
Citation Information
Patent Citations
Glue-dispensing detection method, apparatus, device and medium
CN109118478A