Wire harness wiring quality control system and wiring control method based on images

Through the image-based wire harness routing quality control system, digital management of aviation wire harness drawings is realized, solving the problems of huge drawings, easy damage, and cumbersome wire locating in traditional aviation wire harness laying, and improving the laying efficiency and accuracy.

CN120633104AActive Publication Date: 2025-09-12CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510665038.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-09-12
Estimated Expiration
2045-05-22

AI Technical Summary

Technical Problem

The traditional aviation wiring harness laying process has problems such as huge drawings, difficult modification, easy damage, and cumbersome wire tracing, resulting in low efficiency and lack of accuracy.

Method used

An image-based harness routing quality control system is used to achieve digital management of aviation harness drawings. Through OCR recognition and highlighting, combined with image correction and split-screen modules, the wiring efficiency and accuracy are improved.

Benefits of technology

It realizes the digital management of aviation wiring harness drawings, reduces printing time, simplifies the modification process, improves wiring efficiency and accuracy, and relieves wiring workers from the trouble of visually identifying wiring harness numbers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120633104A_ABST
    Figure CN120633104A_ABST
Patent Text Reader

Abstract

The invention discloses an image-based wire harness wiring quality control system and a wiring control method, and the system can highlight a specific wire harness track on a drawing through the recognition of a wire harness number and a terminal number, can eliminate the recognition of the wire harness number by the naked eyes of a wire laying worker, can search a wire harness with a corresponding number from a number book, and improves the wiring quality. And searching a starting terminal and an ending terminal of the corresponding wire harness on the drawing. By using the system, the wire laying efficiency and accuracy of wire laying workers can be greatly improved, and the productivity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital manufacturing, and in particular relates to an image-based wire harness wiring quality control system and a wiring control method. Background Art

[0002] In the aviation manufacturing industry, using Computer-Aided Design (CAD) drafting technology to create aviation wiring harnesses is a critical task. Wiring harnesses are essential components of aircraft electrical systems, connecting and transmitting power, signals, and data. Using CAD for wiring harness design improves design efficiency, enables precise geometric modeling, and facilitates digital document management.

[0003] While CAD has achieved significant success in the drawing of aviation wiring harnesses, significantly increasing the efficiency and accuracy of their design, the traditional process for aviation manufacturing, particularly during wiring harness layout, involves drawing the wiring harness drawings using CAD, printing them using a specialized printer, laying them out on a workbench, and then laying the harness. This process presents several pain points: 1. Aviation drawings are extremely large, ranging from several meters to dozens of meters in length; 2. Modifications are cumbersome, requiring reprints if errors are made; 3. Drawings are easily damaged, requiring workers to use welding tools, which can easily ignite paper drawings; and 4. Wire tracing is difficult, requiring workers to look up the required wiring harness from a paper wiring diagram and then find the corresponding terminal numbers on the drawing, a tedious process. Therefore, it is necessary to digitally transform the entire process, achieving a digital, 1:1 display of drawings to reduce drawing preparation time and enabling wire harness highlighting to improve wiring efficiency and accuracy.

[0004] Therefore, the present invention discloses an image-based wire harness routing quality control system and a routing control method. Summary of the Invention

[0005] This invention discloses an image-based wiring harness quality control system and wiring control method. This system can display a 1:1 ratio of aviation wiring harness drawings, input wiring harness and terminal information using technologies such as code scanning and optical character recognition (OCR), and highlight the wiring harness based on the input information. This improves the efficiency and accuracy of aviation wiring harness installation and reduces the printing time of aviation wiring harness drawings.

[0006] The present invention is achieved through the following technical solutions: An image-based wire harness routing quality control system includes a drawing and wiring table management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated in a human-computer interaction interface; the drawing and wiring table management module is used to upload and preview drawings and wiring table information; the DWG parsing and processing module is used to parse uploaded drawings and calculate wiring harness paths; the image rendering module is used to render drawings and highlight wiring harnesses; the image correction and split-screen module is used to merge and compensate for seams between drawings and display and manage drawings on split screens; and the wiring information recognition module is used to recognize wiring harness information and terminal information on drawings.

[0007] In order to better realize the present invention, further, the wiring information identification module includes a wiring harness information identification module and a terminal information identification module. The wiring harness information identification module is used to identify the wiring harness mold corresponding to the wiring harness and the identification code corresponding to the wiring harness; the terminal information identification module is used to identify the terminal mold corresponding to the terminal.

[0008] In order to better implement the present invention, further, a user management module is included, and the user management module is used to implement user interaction and data management.

[0009] A method for controlling the quality of wiring harness routing based on an image, comprising the following steps: Step S1: Upload the drawings and wiring table to a designated directory in the database for storage through the drawings and wiring table management module, and preview the drawings and wiring table through the image rendering module; Step S2: Searching for keywords in the database for fuzzy matching through the drawing and wiring table management module, checking the correctness of the drawings and wiring tables found in the search, and deleting drawings and wiring tables with incorrect verification; Step S3: Identify the wiring harness and terminals using a wiring information identification module; Step S4: The DWG parsing module calculates the wiring harness path in the drawing based on the identification results of the wiring harness and terminals; Step S5: The image rendering module parses the image data according to the result of the wire harness path calculation, creates a graphic entity, and then highlights the graphic entity; Step S6: The image correction and split-screen module displays the image in split-screen mode, and compensates and splices the images in the seam areas between the screens to finally generate an actual display screen.

[0010] In order to better implement the present invention, further, the step S1 specifically includes: Step S1.1, uploading the drawings and wiring table to the designated directory in the database for storage through the drawings and wiring table management module; Step S1.2: query the database for the path of the drawing according to the uploaded drawing number, and obtain the corresponding drawing according to the path; query the database for the path of the wiring table according to the uploaded wiring table number, and obtain the corresponding drawing and wiring table according to the path; Step S1.3, the drawing and wiring table management module converts the drawing into JSON data and sends the JSON data to the image rendering module; the drawing and wiring table management module converts the wiring table into a CSV file and sends the CSV file to the image rendering module; Step S1.4: The image rendering module generates a thumbnail of the drawing for preview based on the incoming JSON data, and generates List structure data of the wiring table for preview based on the incoming CSV file.

[0011] In order to better implement the present invention, further, the step S2 specifically includes: Step S2.1, perform fuzzy matching in the database based on the searched keywords, and when the search hits, obtain the path of the drawing and wiring diagram; Step S2.2, verifying the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: When a verification error occurs, delete the corresponding drawings and wiring tables according to the path.

[0012] In order to better implement the present invention, further, step S3 specifically includes: Step S3.1, obtaining a wiring harness image, recognizing the input wiring harness image through a wiring information recognition module, and extracting features based on pixels of characters in the wiring harness image to obtain wiring harness characters; Step S3.2, arranging the line harness characters horizontally in space; Step S3.3, using paddle's lightweight OCR model to recognize the wiring harness characters to identify the wiring harness; Step S3.4: Obtain the terminal image, and use the paddle's lightweight OCR model to recognize the terminal image to obtain the terminal characters; Step S3.5: Merge the terminal characters, remove the overlapping parts of the terminal characters, and identify the terminals through the identified terminal characters.

[0013] In order to better implement the present invention, further, the step S4 specifically includes: Step S4.1, abstract the line segments of the wiring track layer in the drawing into nodes in the graph, calculate the connectivity between the nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2, calculating the closest line segment entity to each terminal graphic entity; Step S4.3, read the wiring table file, and obtain the starting terminal number, ending terminal number, and wire number of each row record; Step S4.4: For each row of records in the wiring table, use the starting terminal number as the starting point and the ending terminal number as the end point, use the Dijkstra algorithm to calculate the path in the diagram, and add line numbers as marks to the line segment objects in the path.

[0014] In order to better implement the present invention, further, the step S5 specifically includes: Step S5.1, parsing the JSON data of the drawing to obtain the layer information, line number information and graphic entity information; Step S5.2: Create a corresponding layer in the ThreeJS layer space according to the layer information; create a corresponding graphic entity in ThreeJS according to the line number information and the graphic entity information; Step S5.3: Create a corresponding index structure based on the line number in the JSON data, and each line number points to the corresponding graphic entity based on the index structure; Step S5.4: call the index structure and search for the corresponding graphic entity according to the line number input by the user. If there is a previously highlighted wire harness in the graphic entity, first restore the color of the previously highlighted wire harness. Step S5.5, traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

[0015] In order to better implement the present invention, further, step S6 specifically includes: Step S6.1: Treat the seam between screens as a non-displayable pixel area, and add the display area of ​​the screen and the non-displayable pixel area to obtain an equivalent display area; Step S6.2: creating an equivalent canvas according to the area and proportion of the equivalent display area; Step S6.3: Laying the rendered drawing on the equivalent canvas, and cutting out the portion of the equivalent canvas corresponding to the seam between the screens to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of equal size, and create N numbered display windows, each display window corresponding to one sub-image; Step S6.5: According to the numbers of the display windows, the display windows are moved to corresponding display screen areas in numerical order to achieve full-screen display.

[0016] Compared with the prior art, the present invention has the following advantages and beneficial effects: (1) The present invention realizes the digital management of aviation wiring harness drawings and wiring table files, which is convenient for query and search; (2) The present invention enables previewing of drawings, making it easier to check drawings before starting the laying work; (3) The present invention realizes the transformation of the wiring harness routing process from paper template drawings to digital electronic drawings. By digitally displaying the wiring drawings in a 1:1 ratio, the time for printing drawings can be greatly saved. Moreover, since paper drawings are no longer used, the modification of drawings is facilitated and damage to drawings is avoided. (4) This system highlights the specific wiring harness tracks on the drawing by identifying the harness number and the terminal number. This eliminates the need for wire laying workers to visually identify the harness number, search for the corresponding harness number in the number book, and then find the starting and ending terminals of the corresponding harness on the drawing. By using this system, the efficiency and accuracy of wire laying workers can be greatly improved, thereby increasing productivity. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 Schematic diagram of the process steps for wiring harness quality control; Figure 2 This is a schematic diagram of the structure of the wire harness wiring quality control system. DETAILED DESCRIPTION

[0018] Example 1: This embodiment is an image-based wiring harness quality control system, such as Figure 2 As shown, it includes a drawing and wiring table management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated in the human-computer interaction interface; the drawing and wiring table management module is used to upload and preview the drawings and wiring table information; the DWG parsing and processing module is used to parse the uploaded drawings and calculate the wiring harness path; the image rendering module is used to render the drawings and highlight the wiring harness; the image correction and split-screen module is used to merge and compensate for the seams between drawings, and to display and manage the drawings in split-screen; the wiring information recognition module is used to recognize the wiring harness information and terminal information on the drawings; and it also includes a user management module, which is used to realize user interaction and data management.

[0019] The wiring information identification module includes a wiring harness information identification module and a terminal information identification module. The wiring harness information identification module is used to identify the wiring harness mold corresponding to the wiring harness and the identification code corresponding to the wiring harness; the terminal information identification module is used to identify the terminal mold corresponding to the terminal.

[0020] Example 2: This embodiment of the invention provides an image-based wiring harness quality control method, such as Figure 1 As shown, the following steps are included: Step S1: Upload the drawings and wiring table to a designated directory in the database for storage through the drawings and wiring table management module, and preview the drawings and wiring table through the image rendering module; Step S2: Searching for keywords in the database for fuzzy matching through the drawing and wiring table management module, checking the correctness of the drawings and wiring tables found in the search, and deleting drawings and wiring tables with incorrect verification; Step S3: Identify the wiring harness and terminals using a wiring information identification module; Step S4: The DWG parsing module calculates the wiring harness path in the drawing based on the identification results of the wiring harness and terminals; Step S5: The image rendering module parses the image data according to the result of the wire harness path calculation, creates a graphic entity, and then highlights the graphic entity; Step S6: The image correction and split-screen module displays the image in split-screen mode, and compensates and splices the images in the seam areas between the screens to finally generate an actual display screen.

[0021] In order to better implement the present invention, further, the step S1 specifically includes: Step S1.1, uploading the drawings and wiring table to the designated directory in the database for storage through the drawings and wiring table management module; Step S1.2: query the database for the path of the drawing according to the uploaded drawing number, and obtain the corresponding drawing according to the path; query the database for the path of the wiring table according to the uploaded wiring table number, and obtain the corresponding drawing and wiring table according to the path; Step S1.3, the drawing and wiring table management module converts the drawing into JSON data and sends the JSON data to the image rendering module; the drawing and wiring table management module converts the wiring table into a CSV file and sends the CSV file to the image rendering module; Step S1.4: The image rendering module generates a thumbnail of the drawing for preview based on the incoming JSON data, and generates List structure data of the wiring table for preview based on the incoming CSV file.

[0022] In order to better implement the present invention, further, the step S2 specifically includes: Step S2.1, perform fuzzy matching in the database based on the searched keywords, and when the search hits, obtain the path of the drawing and wiring diagram; Step S2.2, verifying the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: When a verification error occurs, delete the corresponding drawings and wiring tables according to the path.

[0023] In order to better implement the present invention, further, step S3 specifically includes: Step S3.1, obtaining a wiring harness image, recognizing the input wiring harness image through a wiring information recognition module, and extracting features based on pixels of characters in the wiring harness image to obtain wiring harness characters; Step S3.2, arranging the line harness characters horizontally in space; Step S3.3, using paddle's lightweight OCR model to recognize the wiring harness characters to identify the wiring harness; Step S3.4: Obtain the terminal image, and use the paddle's lightweight OCR model to recognize the terminal image to obtain the terminal characters; Step S3.5: Merge the terminal characters, remove the overlapping parts of the terminal characters, and identify the terminals through the identified terminal characters.

[0024] In order to better implement the present invention, further, the step S4 specifically includes: Step S4.1, abstract the line segments of the wiring track layer in the drawing into nodes in the graph, calculate the connectivity between the nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2, calculating the closest line segment entity to each terminal graphic entity; Step S4.3, read the wiring table file, and obtain the starting terminal number, ending terminal number, and wire number of each row record; Step S4.4: For each row of records in the wiring table, use the starting terminal number as the starting point and the ending terminal number as the end point, use the Dijkstra algorithm to calculate the path in the diagram, and add line numbers as marks to the line segment objects in the path.

[0025] In order to better implement the present invention, further, the step S5 specifically includes: Step S5.1, parsing the JSON data of the drawing to obtain the layer information, line number information and graphic entity information; Step S5.2: Create a corresponding layer in the ThreeJS layer space according to the layer information; create a corresponding graphic entity in ThreeJS according to the line number information and the graphic entity information; Step S5.3: Create a corresponding index structure based on the line number in the JSON data, and each line number points to the corresponding graphic entity based on the index structure; Step S5.4: call the index structure and search for the corresponding graphic entity according to the line number input by the user. If there is a previously highlighted wire harness in the graphic entity, first restore the color of the previously highlighted wire harness. Step S5.5, traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

[0026] In order to better implement the present invention, further, step S6 specifically includes: Step S6.1: Treat the seam between screens as a non-displayable pixel area, and add the display area of ​​the screen and the non-displayable pixel area to obtain an equivalent display area; Step S6.2: creating an equivalent canvas according to the area and proportion of the equivalent display area; Step S6.3: Laying the rendered drawing on the equivalent canvas, and cutting out the portion of the equivalent canvas corresponding to the seam between the screens to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of equal size, and create N numbered display windows, each display window corresponding to one sub-image; Step S6.5: According to the numbers of the display windows, the display windows are moved to corresponding display screen areas in numerical order to achieve full-screen display.

[0027] Example 3: An image-based harness wiring quality control system of this embodiment includes a drawing and wiring table management module, a harness information recognition module, a terminal information recognition module, a drawing parsing and processing module, an image rendering module, an image correction and split-screen module, and a user interaction interface; the drawing and wiring table management module includes upload, search, preview, and deletion operations for drawings and wiring tables; the harness information recognition module mainly includes an algorithm for harness information recognition, a mold for identifying harnesses, and a barcode scanner for identifying barcodes on harnesses; the terminal information recognition module mainly includes an algorithm for terminal information recognition and a mold for identifying terminals; the drawing parsing and processing module mainly includes parsing DWG files and path calculation; the image rendering module mainly realizes the rendering of DWG drawings and the highlighting of harnesses; the image correction and split-screen module mainly includes the seam compensation function and the multi-screen management function; the user interaction interface mainly provides a human-computer interaction interface.

[0028] An image-based harness routing quality control method, the specific process steps are as follows: Upload the wiring harness sample diagram and wiring harness logic (wiring table) file; Specifically, uploading the wiring harness sample diagram and wiring harness logic (wiring table) file includes the following steps: Create a folder in the specified location according to the product number and drawing name entered by the user; Store the file paths of the DWG drawing and wiring diagram into the database table based on the product number and drawing name entered by the user; Upload the DWG file and wiring list file to the specified directory for storage.

[0029] Preview drawings and wiring diagrams; Specifically, previewing drawings and wiring tables includes the following steps: Query the drawing path in the database according to the incoming drawing number; Get the DWG file according to the path; The drawing parsing and processing module converts the DWG file into JSON data and sends it to the image rendering module; The image rendering module generates thumbnails of drawings for preview based on the incoming JSON data.

[0030] Query the path of the wiring table in the database according to the input wiring table number; Get the Excel file according to the path; Convert Excel to CSV file; Read the record information in the CSV file, convert it into List structure data and return it to the operation interface; The operation interface renders the wiring diagram based on the received information.

[0031] Search, verify, and delete drawings and wiring lists; Specifically, searching, verifying, and deleting drawings and wiring tables include the following steps: Perform fuzzy matching in the database based on the search keywords; When the search is hit, get the path of the DWG file and the wiring list file; Check the correctness of drawings and wiring harness logic data, and display error prompts on the front end; Delete the DWG file and the wiring list file according to the file path.

[0032] Use a barcode scanner or a wire harness identification mold to identify the wire harness information; If the wire harness recognition mold is used for recognition, the wire harness number recognition module is called and the wire harness number recognition module is used to recognize the input wire harness image; Furthermore, the wiring harness image recognition specifically includes the following steps: Perform corrosion operations on the image; Feature extraction based on character pixels; Arrange the characters horizontally in space; Use the paddle lightweight OCR model to recognize characters; Terminal identification includes the following steps: Use the terminal identification mold to photograph the terminals; Use the terminal number identification module to identify the terminal number; The four images are recognized in the counter-clockwise order of the shooting, using the paddle's lightweight OCR model for OCR recognition; Merge the four recognized character strings and remove the duplicate characters. Compare the recognition results with the candidate set to obtain the final result.

[0033] Drawing analysis and processing specifically include the following steps: Parse DWG files into JSON format data, including: Check the version validity of the DWG file; Extract layer information from DWG drawings; Extract various fonts, line numbers, plug codes, sheath materials, line styles, line colors and other feature information from DWG drawings; Extract entity information from DWG drawings; Convert the exported DWG information into JSON format data.

[0034] Calculate the path in the drawing, including: Abstract the line segments of the wiring track layer in the drawing into nodes in the graph; Calculate the connectivity between nodes based on the connection relationship between line segments, and set the distance cost between each adjacent node to 1; Calculate the closest line entity to each terminal graphic entity; Read the wiring table file and obtain the starting terminal number, ending terminal number and wire number of each row; Each row in the wiring table starts with the starting terminal number and ends with the ending terminal number. The Dijkstra algorithm is used to calculate the path in the diagram, and the line number is added as a mark for the line segment object in the path. After the calculation is completed, the calculation result is returned to the image rendering module.

[0035] Parse image data and generate rendered images, including: Parse the JSON data of the drawing to obtain layer information, line number information, graphic entity information, etc. According to the layer information, create the corresponding layer in the ThreeJS layer space; Create corresponding graphic entities in ThreeJS according to line number information and graphic entity information; Create a corresponding index structure based on the line number in the JSON data, and each line number points to its corresponding line segment entity; Render the image.

[0036] Query the corresponding graphic entity according to the line number entered by the user; If there is a previously highlighted harness, first restore the previously highlighted harness color; Traverse each graphic entity corresponding to the current input line number and change the line segment color attribute to red.

[0037] Re-render the drawing.

[0038] Image correction and screen splitting include the following steps: The seams between screens are considered as non-displayable pixel areas, and the entire display area is considered as ,in Refers to the equivalent pixel area of ​​each seam, which is calculated by multiplying its actual area by the PPI density of the screen used to obtain the equivalent display area; Create a canvas with the equivalent display area size and proportions; Laying the rendered drawing on the canvas created in step S1202; Cut out the part of the canvas corresponding to the seam to generate the actual displayed image; Crop the image in S12 into 10 3*1080*1920 images from left to right; Create 10 new windows, numbered 1 to 10, and display one picture in each window; According to the window number, the windows are moved to the corresponding display screen area in sequence and displayed in full screen.

[0039] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the scope of protection of the present invention.

Claims

1. An image-based wire harness routing quality control system, characterized in that: It includes a drawing and wiring table management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated in the human-computer interaction interface; the drawing and wiring table management module is used to upload and preview drawings and wiring table information; the DWG parsing and processing module is used to parse the uploaded drawings and calculate the wiring harness path; the image rendering module is used to render the drawings and highlight the wiring harness; the image correction and split-screen module is used to merge and compensate for the seams between drawings, and to display and manage the drawings in split-screen; the wiring information recognition module is used to recognize the wiring harness information and terminal information on the drawings.

2. The image-based wire harness routing quality control system according to claim 1, characterized in that: The wiring information identification module includes a wiring harness information identification module and a terminal information identification module. The wiring harness information identification module is used to identify the wiring harness mold corresponding to the wiring harness and the identification code corresponding to the wiring harness; the terminal information identification module is used to identify the terminal mold corresponding to the terminal.

3. The image-based wire harness routing quality control system according to claim 2, characterized in that: It also includes a user management module, which is used to implement user interaction and data management.

4. An image-based wire harness routing quality control method, implemented based on the wire harness routing quality control system according to any one of claims 1 to 3, characterized in that: The following steps are involved: Step S1: Upload the drawings and wiring table to a designated directory in the database for storage through the drawings and wiring table management module, and preview the drawings and wiring table through the image rendering module; Step S2: Searching for keywords in the database for fuzzy matching through the drawing and wiring table management module, checking the correctness of the drawings and wiring tables found in the search, and deleting drawings and wiring tables with incorrect verification; Step S3: Identify the wiring harness and terminals using a wiring information identification module; Step S4: The DWG parsing module calculates the wiring harness path in the drawing based on the identification results of the wiring harness and terminals; Step S5: The image rendering module parses the image data according to the result of the wire harness path calculation, creates a graphic entity, and then highlights the graphic entity; Step S6: The image correction and split-screen module displays the image in split-screen mode, and compensates and splices the images in the seam areas between the screens to finally generate an actual display screen.

5. The image-based wiring harness routing quality control method according to claim 4, characterized in that: The step S4 specifically includes: Step S4.1, abstract the line segments of the wiring track layer in the drawing into nodes in the graph, calculate the connectivity between the nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2, calculating the closest line segment entity to each terminal graphic entity; Step S4.3, read the wiring table file, and obtain the starting terminal number, ending terminal number, and wire number of each row record; Step S4.4: For each row of records in the wiring table, use the starting terminal number as the starting point and the ending terminal number as the end point, use the Dijkstra algorithm to calculate the path in the diagram, and add line numbers as marks to the line segment objects in the path.

6. The image-based wiring harness routing quality control method according to claim 4, characterized in that: The step S5 specifically includes: Step S5.1, parsing the JSON data of the drawing to obtain the layer information, line number information and graphic entity information; Step S5.2: Create a corresponding layer in the ThreeJS layer space according to the layer information; create a corresponding graphic entity in ThreeJS according to the line number information and the graphic entity information; Step S5.3: Create a corresponding index structure based on the line number in the JSON data, and each line number points to the corresponding graphic entity based on the index structure; Step S5.4: call the index structure and search for the corresponding graphic entity according to the line number input by the user. If there is a previously highlighted wire harness in the graphic entity, first restore the color of the previously highlighted wire harness. Step S5.5, traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

7. The image-based wiring harness routing quality control method according to claim 4, characterized in that: The step S6 specifically includes: Step S6.1: Treat the seam between screens as a non-displayable pixel area, and add the display area of ​​the screen and the non-displayable pixel area to obtain an equivalent display area; Step S6.2: creating an equivalent canvas according to the area and proportion of the equivalent display area; Step S6.3: Laying the rendered drawing on the equivalent canvas, and cutting out the portion of the equivalent canvas corresponding to the seam between the screens to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of equal size, and create N numbered display windows, each display window corresponding to one sub-image; Step S6.5: According to the numbers of the display windows, the display windows are moved to corresponding display screen areas in numerical order to achieve full-screen display.

8. The image-based wiring harness routing quality control method according to claim 4, characterized in that: The step S3 specifically includes: Step S3.1, obtaining a wiring harness image, recognizing the input wiring harness image through a wiring information recognition module, and extracting features based on pixels of characters in the wiring harness image to obtain wiring harness characters; Step S3.2, arranging the line harness characters horizontally in space; Step S3.3, using paddle's lightweight OCR model to recognize the wiring harness characters to identify the wiring harness; Step S3.4: Obtain the terminal image, and use the paddle's lightweight OCR model to recognize the terminal image to obtain the terminal characters; Step S3.5: Merge the terminal characters, remove the overlapping parts of the terminal characters, and identify the terminals through the identified terminal characters.

9. The image-based wiring harness routing quality control method according to claim 4, characterized in that: The step S2 specifically includes: Step S2.1, perform fuzzy matching in the database based on the searched keywords, and when the search hits, obtain the path of the drawing and wiring diagram; Step S2.2, verifying the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: When a verification error occurs, delete the corresponding drawings and wiring tables according to the path.

10. The image-based wire harness routing quality control method according to claim 4, characterized in that: The step S1 specifically includes: Step S1.1, uploading the drawings and wiring table to the designated directory in the database for storage through the drawings and wiring table management module; Step S1.2: query the database for the path of the drawing according to the uploaded drawing number, and obtain the corresponding drawing according to the path; query the database for the path of the wiring table according to the uploaded wiring table number, and obtain the corresponding drawing and wiring table according to the path; Step S1.3, the drawing and wiring table management module converts the drawing into JSON data and sends the JSON data to the image rendering module; the drawing and wiring table management module converts the wiring table into a CSV file and sends the CSV file to the image rendering module; Step S1.4: The image rendering module generates a thumbnail of the drawing for preview based on the incoming JSON data, and generates List structure data of the wiring table for preview based on the incoming CSV file.

Citation Information

Patent Citations

  • Wiring harness path generating system for full automatic wiring machine

    CN107992686A

  • Multi-screen projection system of large-scale complicated wiring harness auxiliary-wiring

    CN108133457A

  • Complex wiring harness wiring process intelligent design system

    CN112163397A

  • Image labeling method and device

    CN114143477A

  • Wire harness manufacturing process visualization device for wiring board

    CN116502588A