Search

CN-122006977-A - Dispensing equipment control method and device and electronic equipment

CN122006977ACN 122006977 ACN122006977 ACN 122006977ACN-122006977-A

Abstract

The application discloses a dispensing equipment control method, a dispensing equipment control device and electronic equipment, which are applied to the electronic equipment, wherein the method comprises the steps of collecting an area image of a target point glue area through a camera; the method comprises the steps of identifying an area image, determining a target point glue edge in a target point glue area, determining a gap width corresponding to the target point glue edge, determining a target point glue speed corresponding to the gap width according to a preset mapping relation, wherein the preset mapping relation is used for describing a corresponding relation between the gap width of a glue dispensing edge and the glue dispensing speed, and sending a control instruction to glue dispensing equipment according to the target point glue speed, wherein the control instruction is used for instructing the glue dispensing equipment to dispense glue to the target point glue edge according to the target point glue speed. By the control method and the control device for the dispensing equipment and the electronic equipment, the electronic equipment can dynamically control the dispensing speed of the dispensing equipment according to the gap width of the product, so that the gap can be better filled with the colloid, and the product quality and the dispensing efficiency are improved.

Inventors

  • HUANG JIAJIE

Assignees

  • 东莞高伟光学电子有限公司

Dates

Publication Date
20260512
Application Date
20241112

Claims (10)

  1. 1. A dispensing apparatus control method, characterized in that it is applied to an electronic apparatus, the method comprising: Collecting an area image of a target point glue area through a camera; Identifying the area image and determining a target point glue edge in the target point glue area; Determining the gap width corresponding to the target point glue edge; Determining a target point glue speed corresponding to the gap width according to a preset mapping relation, wherein the preset mapping relation is used for describing the corresponding relation between the gap width of the glue dispensing edge and the glue dispensing speed; And sending a control instruction to the dispensing equipment according to the target dispensing speed, wherein the control instruction is used for instructing the dispensing equipment to dispense the target dispensing edge according to the target dispensing speed.
  2. 2. The method of claim 1, wherein the identifying the area image, determining a target point glue edge in the target point glue area, comprises: determining a search area in the area image, wherein the search area comprises the image content of the target point gum area; Determining a search image feature from the search area; Matching the search area with a plurality of prestored first dispensing area templates according to the search parameters and the search image characteristics so as to determine a target dispensing area template corresponding to the search area from the plurality of first dispensing areas; and determining the target point glue edge in the target point glue area according to the position information of the glue point edge corresponding to the target point glue area template.
  3. 3. The method according to claim 2, wherein the matching the search area with a plurality of pre-stored first dispensing area templates according to the search parameter and the search image feature to determine a target dispensing area template corresponding to the search area from the plurality of first dispensing areas includes: matching the searching image features with a plurality of prestored first dispensing region templates to obtain the profile matching degree of the searching region corresponding to each first dispensing region template; selecting a second dispensing region template with the outline matching degree larger than a preset matching degree threshold from the plurality of first dispensing region templates; calculating the template similarity between any two second dispensing area templates; and determining a second dispensing area template with template similarity smaller than a preset similarity threshold as a target dispensing area template.
  4. 4. The method of claim 1, wherein the identifying the area image, after determining the target point glue edge in the target point glue area, further comprises: Determining an adjacent edge adjacent to the target point glue edge, and determining a first intersection point between the adjacent edge and the target point glue edge; Determining the offset between the adjacent edge and the target point glue edge according to the first intersection point; determining a first dispensing length corresponding to the dispensing edge of the target point; determining a dispensing initial position according to the first dispensing length, the offset and the first intersection point; The method for dispensing the glue edge of the target point according to the glue speed of the target point comprises the steps of: and sending a control instruction to the dispensing equipment according to the dispensing starting position and the target dispensing speed, wherein the control instruction is used for indicating the dispensing equipment to start from the dispensing starting position and to dispense the target dispensing edge according to the target dispensing speed.
  5. 5. The method of claim 4, wherein said determining a spot size start position based on said first spot size length, said offset, and said first intersection point comprises: Calculating the sum of the first dispensing length and the offset to obtain a second dispensing length; Determining an arc passing through the glue edge of the target point according to the first intersection point and the second glue dispensing length, wherein the arc takes the first intersection point as a circle center, and the radius is the second glue dispensing length; And determining a second intersection point of the circular arc and the target point glue edge as a glue dispensing starting position.
  6. 6. The method of claim 1, wherein determining the gap width corresponding to the target glue edge comprises: dividing the target point glue edge into a plurality of sections of equal-length sub-edges, and determining the corresponding gap width of each sub-edge; the sending a control instruction to the dispensing equipment according to the target point glue speed comprises the following steps: And sending a control instruction to the dispensing equipment according to the target point glue speeds corresponding to the sub-edges of the sections, wherein the control instruction is used for indicating the dispensing equipment to sequentially dispense the sub-edges according to the target point glue speeds corresponding to the sub-edges.
  7. 7. The method of claim 6, wherein prior to said sending a control command to the dispensing device in accordance with the target dispensing speed, the method further comprises: Coordinate information of a plurality of guide points is determined on the target point adhesive edge, wherein the guide points at least comprise two end points of the target point adhesive edge and the corresponding adhesive dispensing point of each sub edge; The method for sending the control instruction to the dispensing equipment according to the target point glue speed corresponding to each of the plurality of sub-edges comprises the following steps: And sending a control instruction to the dispensing equipment according to the coordinate information of the guide points and the target point glue speeds corresponding to the sub-edges, wherein the control instruction is used for indicating the dispensing equipment to dispense glue to the target point glue edges according to the moving track formed by the coordinate information of the guide points and the target point glue speeds corresponding to the sub-target glue edges where the guide points are located.
  8. 8. The method according to any one of claims 1-7, wherein before said sending a control instruction to the dispensing device according to said target dispensing speed, the method further comprises: collecting a depth image of the target point glue area through a camera; Determining a first relative distance between the target point gum edge and the camera according to the depth image; determining the relative height between the target point glue edge and the reference plane according to the first relative position between the camera and the reference plane, the second relative position between the glue dispensing equipment and the reference plane and the first relative distance; determining the dispensing height of the target point glue edge according to the relative height; the sending a control instruction to the dispensing equipment according to the target point glue speed comprises the following steps: and sending a control instruction to dispensing equipment according to the dispensing height and the target point dispensing speed, wherein the control instruction is used for indicating the dispensing equipment to dispense the target point dispensing edge according to the dispensing height and the target point dispensing speed.
  9. 9. The utility model provides a dispensing equipment controlling means which characterized in that is applied to electronic equipment, includes: The image acquisition module is used for acquiring an area image of the target point glue area through the camera; The glue dispensing edge determining module is used for identifying the area image and determining the glue dispensing edge of the target point in the target point glue dispensing area; the gap width determining module is further used for determining the gap width corresponding to the target point glue edge; the dispensing speed determining module is further used for determining a target dispensing speed corresponding to the gap width according to a preset mapping relation, wherein the preset mapping relation is used for describing the corresponding relation between the gap width of the dispensing edge and the gap width; the control module is used for sending a control instruction to the dispensing equipment according to the target point glue speed, and the control instruction is used for indicating the dispensing equipment to dispense glue to the target point glue edge according to the target point glue speed.
  10. 10. An electronic device comprising a memory storing executable program code, a processor coupled to the memory, the processor invoking the executable program code stored in the memory to perform the method of any of claims 1-8.

Description

Dispensing equipment control method and device and electronic equipment Technical Field The application relates to the technical field of dispensing, in particular to a dispensing equipment control method and device and electronic equipment. Background In the production and manufacturing process of the product, the product is often required to be pasted, encapsulated, insulated, fixed, smooth in surface and the like by using a dispensing process. At present, the dispensing process of dispensing the product mainly depends on manual operation, but the gap of the product cannot be well covered by the colloid due to the difference of skill levels of operators, so that the reliability and the production efficiency of the product are affected. Disclosure of Invention The embodiment of the application discloses a control method and device for dispensing equipment and electronic equipment, which enable the electronic equipment to dynamically control the dispensing speed of the dispensing equipment according to the gap width of a product, so that the gap can be better filled with colloid, and the product quality and dispensing efficiency are improved. The first aspect of the embodiment of the application discloses a dispensing equipment control method, which is applied to electronic equipment and comprises the following steps: Collecting an area image of a target point glue area through a camera; Identifying the area image and determining a target point glue edge in the target point glue area; Determining the gap width corresponding to the target point glue edge; Determining a target point glue speed corresponding to the gap width according to a preset mapping relation, wherein the preset mapping relation is used for describing the corresponding relation between the gap width of the glue dispensing edge and the glue dispensing speed; And sending a control instruction to the dispensing equipment according to the target dispensing speed, wherein the control instruction is used for instructing the dispensing equipment to dispense the target dispensing edge according to the target dispensing speed. In some possible embodiments, the identifying the area image, determining the target point glue edge in the target point glue area, includes: determining a search area in the area image, wherein the search area comprises the image content of the target point gum area; Determining a search image feature from the search area; Matching the search area with a plurality of prestored first dispensing area templates according to the search parameters and the search image characteristics so as to determine a target dispensing area template corresponding to the search area from the plurality of first dispensing areas; and determining the target point glue edge in the target point glue area according to the position information of the glue point edge corresponding to the target point glue area template. In some possible embodiments, the matching the search area with a plurality of pre-stored first glue dispensing area templates according to the search parameter and the search image feature to determine a target glue dispensing area template corresponding to the search area from the plurality of first glue dispensing areas includes: matching the searching image features with a plurality of prestored first dispensing region templates to obtain the profile matching degree of the searching region corresponding to each first dispensing region template; selecting a second dispensing region template with the outline matching degree larger than a preset matching degree threshold from the plurality of first dispensing region templates; calculating the template similarity between any two second dispensing area templates; and determining a second dispensing area template with template similarity smaller than a preset similarity threshold as a target dispensing area template. In some possible embodiments, after the identifying the area image and determining the target point glue edge in the target point glue area, the method further includes: Determining an adjacent edge adjacent to the target point glue edge, and determining a first intersection point between the adjacent edge and the target point glue edge; Determining the offset between the adjacent edge and the target point glue edge according to the first intersection point; determining a first dispensing length corresponding to the dispensing edge of the target point; determining a dispensing initial position according to the first dispensing length, the offset and the first intersection point; the step of sending a control instruction to the dispensing equipment according to the target point glue speed, wherein the control instruction is used for instructing the dispensing equipment to dispense glue on the target point glue edge according to the target point glue speed, and comprises the following steps: and sending a control instruction to the dispensing equipment according to the dispensi