Abstract:Aiming at the problem of time-consuming and labor-intensive routing path design in the cable layout design of complex electromechanical products, an automatic routing technology for complex electromechanical product cables based on multi rules particle swarm algorithm is proposed. Firstly, the cable routing environment of electromechanical products is analyzed, and the routing path is abstracted into a sequence of points to complete the definition of cable routing space. Through pose transformation, the problem of difficult interference detection between wiring paths and parts in electromechanical products is solved; in order to make full use of wiring space, multiple rules of particles are introduced into particle swarm algorithm; the number of particles, multi-scale collision detection, phase The adjacent path point replacement method and the fourth-order quasi-uniform B-spline curve method have four particle rules, which solve the problem that the wiring environment is complex and cannot obtain the optimal solution, and improve the search ability, solution speed and cable wiring quality of the algorithm. Through simulation analysis, the superiority of the algorithm is proved by comparing with other algorithms. An example proves that this method can efficiently search for feasible paths when laying out the wiring paths, the generated wiring paths do not interfere with the components in the three-dimensional space, and the paths are smooth without sudden changes. A new idea is provided for the automatic layout of cables for complex mechanical and electrical products.