# US 2020/0394782 A1 · Method for planning screw locking path using ant colony algorithm

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394782 A1
- Document ID: US20200394782A1
- Status: Published application
- Kind: A1
- Application number: 16/897,989
- Filed: 2020-06-10
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Wuyi University
- Applicants: Wuyi University
- Inventors: Shufen Liang; Huimin XIE; Fangchen YANG; Hui HUANG; Guanhua ZOU; Shufeng HUANG; Baisheng LI; Peiran LIANG; Zeming WU; Lintao ZHU; Xiaoming LI; Lidian LIANG; Chen CHEN
- Web page: https://patentgrep.com/patent/US20200394782A1

## CPC

- G06V 10/40: Extraction of image or video features
- B23P 19/06: Screw or nut setting or loosening machines
- G06T 7/0004: {Industrial image inspection}
- G06T 7/73: using feature-based methods
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06T 2207/30108: Industrial image inspection
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- B23P: METAL-WORKING NOT OTHERWISE PROVIDED FOR; COMBINED OPERATIONS; UNIVERSAL MACHINE TOOLS (arrangements for copying or controlling B23Q)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Disclosed is a method for planning screw locking path using an ant colony algorithm, which includes: obtaining designated positions of screw holes to be locked; using a distance between the screw holes to be locked as pheromone; obtaining a set of initial paths for all lockings; determining whether a condition for ending an iteration is met, and the condition is whether all the locking paths have passed through all the designated positions; if the condition for ending the iteration is not met, obtaining a supplementary path for each locking path to form an entire path of each locking path until the condition for ending the iteration is met; taking a set of entire paths of all the locking paths as a set of final paths; obtaining a shortest path from the set of final paths.

## Claims

### Claim 1

A method for planning screw locking path using an ant colony algorithm, comprising:
obtaining designated positions of screw holes to be locked;
using a distance between the screw holes to be locked as pheromone;
obtaining a set of initial paths for all lockings;
determining whether a condition for ending an iteration is met, and the condition being whether all locking paths have passed through all the designated positions;
in response to the condition for ending the iteration being not met, obtaining a supplementary path for each locking path to form an entire path of each locking path until the condition for ending the iteration is met;
taking a set of entire paths of all the locking paths as a set of final paths;
obtaining a shortest path from the set of final paths.

### Claim 2 (depends on 1)

The method of claim 1, wherein the pheromone is a shortest distance between two screw holes obtained by calculating and comparing the distances between the screw holes.

### Claim 3 (depends on 1)

The method of claim 1, wherein obtaining a supplementary path for each locking path to form an entire path of each locking path comprising:
obtaining a set of positions on the supplementary path for each locking path, and each position in the set of positions on the supplementary path being connected to a certain position and being not any of positions in the set of the initial paths;
continuing each locking path and updating the pheromone;
determining whether each locking path has reached a last position of the set of positions on the supplementary path, the last position being a last designated position;
in response to each locking path having reached a last position of the set of positions on the supplementary path, obtaining a sub-path between the last position reached by each locking path and an end position, thereby forming the entire path of the locking path.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
adding only a minimum value of a path traversed by each locking path to the set of final paths.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining designated positions of screw holes to be locked comprises:
capturing an image of a product in real time by using a camera;
extracting feature points from the captured image which combined with environmental features, are uses to construct a corresponding screw hole coordinate map;
through feature matching, calculating a two-dimensional coordinate corresponding to the image and using the two-dimensional coordinate as a natural path coordinate.
