Printed board process information automatic adding method and system and storage medium
By automatically identifying and calculating printed board processing data and process route information, the automatic addition of symbol elements is solved, and the problems of low efficiency and error-prone symbol addition in the prior art are solved, and production efficiency and quality control capabilities are improved.
Patent Information
- Application Number
- CN202510184961.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-06-27
AI Technical Summary
In the existing printed board manufacturing technology, process information symbol addition is inefficient, prone to errors, and lacks automated processing, which makes it difficult to produce production efficiency and quality control.
By automatically identifying the printed board processing data and process route information, storing and calculating the size and position coordinates of symbol elements in a structured manner, a macro program that can be called by the CAM processing software is generated to realize the automatic addition of symbol elements.
It improves the working efficiency of printed board CAM engineering processing, reduces manual operation errors, ensures the consistency and stability of production quality, and promotes process standardization and information management.
Smart Images

Figure CN120216575A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of printed circuit board processing, and particularly to an automatic adding method, system and storage medium for printed circuit board process information. Background Art
[0002] At present, computer-aided manufacturing and processing technologies, namely CAD / CAM and drawing technologies, are generally applied in printed circuit board manufacturing technology.
[0003] In the CAM engineering processing process, first, the design files provided by customers are exported layer by layer into Gerber files (i.e., files recognizable by CAM software); then, in the CAM software, the Gerber files are adjusted according to the process technical indicators of the factory (for example: mirroring, solder mask expansion, line width adjustment, circuit adjustment, character height adjustment, etc.); then, the PCS (i.e., the finished product file delivered to customers) is formed into a panel (Sheet) according to the process technical indicators, and finally, a series of symbols (symbols) for explicitly presenting process information are added to each processing layer (for example: 1. Character string type: material number, batch number, date, layer name, etc. 2. Line type: corner line, border line, target marking line, process line, etc. 3. Shape Flash type: manual positioning target, CCD positioning target, electroplating contact point, V-groove processing hanging hole shielding, etc. 4. Floor Polygon type: process border filling, matching electroplating current density filling, oil plugging layer filling, composite filling, etc. 5. Hole Drill type: positioning hole, positioning slot, V-groove processing positioning hole, anti-fooling hole, etc.).
[0004] The processed Sheet is exported layer by layer into Gerber files and CNC processing files. Then it is transferred to physical production.
[0005] When adding symbols (symbols) in the existing CAM engineering processing process, generally three methods are adopted: Method 1: Manually add symbols (symbols). On each layer of the Sheet file formed by paneling, manually add relevant symbols (symbols) one by one.
[0006] Method 2: Add symbols (symbols) using a standard template, that is, first, the Sheet file formed by paneling is set into the template, and then, according to the process technical requirements and actual situations, relevant symbols (symbols) in the template are manually added, adjusted and deleted.
[0007] Method 3: Compile a macro program of the CAM processing software to provide a simple interaction interface and set some parameters to automatically add symbols (symbols).
[0008] The prior art has the following disadvantages: 1. High requirements for personnel. To ensure product quality and production efficiency, process designers are required to be very familiar with the production and processing capabilities of each process, equipment parameters, the performance of materials required for each process, etc., and add corresponding symbols according to the above relevant requirements.
[0009] 2. Low efficiency of manually adding symbols. Since adding symbols requires considering various factors such as process requirements, technical requirements of printed circuit board design, production and processing capabilities, and equipment parameters, there are many factors to consider; and according to the requirements and the size of the Sheet file, the coordinates of the symbol positions are calculated, with a large amount of calculation.
[0010] 3. A large variety and quantity of symbols involve many parameters. The manual calculation of symbol sizes and position coordinates is large, error-prone, and the manual operation positioning is prone to deviation from the calculated coordinates, which may cause batch production scrap and rework.
[0011] 4. Using the template method (Method 2) has poor flexibility, is not conducive to the effective use of materials, saving production costs, and has low manual modification efficiency and is error-prone.
[0012] 5. Compiling a macro program for the CAM processing software to provide a simple interaction interface (Method 3). Due to the limitation of its own programming ability, the interaction ability is weak, the operation efficiency is low, and it is difficult to realize data exchange with the database.
[0013] 6. The process control ability for symbol addition is weak and the traceability is poor. The operation process and symbol addition cannot be digitized, which is not conducive to the informatization management of production management. Summary of the Invention
[0014] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method, system and storage medium for automatically adding printed circuit board process information.
[0015] The purpose of the present invention is achieved through the following technical solutions: In the first aspect of the present invention, there is provided: A method for automatically adding printed circuit board process information, including the following steps: S1: Automatically identify the processing data of the target printed circuit board, access the printed circuit board process system through the data interface to obtain the process route information, set the processing technical requirements according to the processing data and the process route information, and structure and store the processing data, the process route information and the processing technical requirements in the database; S2: Determine the symbol elements to be added to each layer according to the processing data, the process route information and the processing technical requirements, and calculate the sizes and position coordinates of the symbol elements; S3: Automatically define the D code or tool of the object according to the size and position coordinates of the symbol elements, generate macro commands based on the position coordinates, determine the execution order of the macro commands according to the logical relationship of mutual interference of the added objects, generate a macro command set, output it as a macro program that can be called and executed by the CAM processing software, and automatically execute it; S4: Generate processing management data based on the data obtained in S1 - S3, and set process parameters according to the processing management data during the printed circuit board production process.
[0016] Preferably, the S1 further includes the following steps: Read the Sheet file, processing file information, and report file generated by the CAM processing software, obtain the design files of the printed circuit board wiring layer, solder mask layer, silk screen layer, via layer, and outer shape processing layer, as well as the printed circuit board processing technical requirement data set to obtain processing data; Read the structured process line data through the database interface, and obtain the process route information by obtaining the processing procedure information; Automatically set the processing technical requirements according to the processing data and process route information, and adjust the parameters according to the type of the target printed circuit board.
[0017] Preferably, the S2 further includes the following steps: Identify and analyze the symbol elements that need to be added during the production process according to the processing data, process route information, and processing technical requirements; According to the processing data, process route information, processing technical requirements, and the types of symbol elements that need to be added during the production process, set the D code, tool, symbol element layer serial number according to the rules and calculation formulas stored in the database, and calculate the size and position coordinates of the symbol elements.
[0018] Preferably, the S3 further includes the following steps: Automatically generate D code, tool addition macro commands, and symbol element addition macro commands according to the size and position coordinates of the symbol elements and the macro command compilation specification of the CAM processing software; Adjust the execution order of the symbol element addition macro commands according to the outer shape processing layer information and the interference rules of various symbol elements; Generate a macro command set according to the adjusted execution order of the symbol element addition macro commands, output it as a macro program that can be called and executed by the CAM processing software, and automatically execute it to complete the automatic addition of the symbol elements.
[0019] Preferably, the processing management data includes stock preparation size, platable area, and aperture table.
[0020] Preferably, the stock preparation size is used to calculate the material consumption.
[0021] Preferably, the area to be plated is used to calculate the electroplating current density, etching, and development transfer speed.
[0022] Preferably, the aperture table is used to configure the processing tool and calculate the corresponding material consumption.
[0023] The second aspect of the present invention provides: A printed circuit board process information automatic addition system for implementing any of the above printed circuit board process information automatic addition methods, including: A file reading module for reading Sheet files, processing file information, and report files generated by CAM processing software, obtaining the design files of the printed circuit board circuit layer, solder mask layer, silk screen layer, hole layer, and outer shape processing layer, as well as the printed circuit board processing technical requirement data set to obtain processing data; A process route reading module for reading structured process route data through a database interface to obtain processing procedure information and obtain process route information; A processing technical requirement setting module for automatically setting processing technical requirements based on the processing data and process route information, and adjusting parameters according to the type of the target printed circuit board; A data analysis module for identifying and analyzing the symbol elements that need to be added during the production process based on the processing data, process route information, and processing technical requirements; A symbol setting module for setting D codes, tools, and symbol element layer numbers according to the processing data, process route information, processing technical requirements, and types of symbol elements that need to be added during the production process, and calculating the sizes and position coordinates of the symbol elements according to the rules and calculation formulas stored in the database; A symbol addition macro command generation module for automatically generating D code, tool addition macro commands, and symbol element addition macro commands according to the sizes and position coordinates of the symbol elements, in combination with the macro command compilation specifications of the CAM processing software; A symbol addition order adjustment module for adjusting the execution order of the symbol element addition macro commands according to the outer shape processing layer information and the interference rules of various symbol elements; A symbol addition macro command set generation module for generating a macro command set according to the adjusted execution order of the symbol element addition macro commands and outputting it as a macro program that can be called and executed by the CAM processing software and automatically executed to complete the automatic addition of the symbol elements.
[0024] The third aspect of the present invention provides: A computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, any of the above printed circuit board process information automatic addition methods is implemented.
[0025] The beneficial effects of the present invention are: 1) The computer can quickly and automatically complete the addition of printed circuit board symbols (symbols), greatly improving the working efficiency of printed circuit board CAM engineering processing.
[0026] 2) It is applicable to Sheet files of various sizes, which is conducive to improving the utilization rate of materials and reducing production costs.
[0027] 3) Automatically calculate and set the D code, tool parameters, coordinates of each element, etc. of the symbol (symbol), avoiding quality problems caused by personnel quality, operating habits, work experience, personal cognition, etc., and ensuring the consistency and stability of the production and processing quality of printed circuit boards.
[0028] 4) It is conducive to the standardization, informatization, intelligentization, etc. of printed circuit board production processes, facilitating the carrying out of work such as CAM processing, production management, and material allocation of printed circuit boards.
[0029] 5) Combining with the database for data management is conducive to the digitization of processing information. Description of the Drawings
[0030] Figure 1 It is a flowchart of the method for automatically adding printed circuit board process information; Figure 2 It is a flowchart of the working process of the system for automatically adding printed circuit board process information. Detailed Embodiment
[0031] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
[0032] Refer to Figure 1 - Figure 2 , the first aspect of the present invention provides: A method for automatically adding printed circuit board process information, including the following steps: S1: Automatically identify the processing data of the target printed circuit board, access the printed circuit board process system through the data interface to obtain the process route information, set the processing technical requirements according to the processing data and the process route information, and structure and store the processing data, process route information, and processing technical requirements in the database; S2: Determine the symbol elements to be added to each layer according to the processing data, process route information, and processing technical requirements, and calculate the size and position coordinates of the symbol elements; S3: According to the size and position coordinates of the symbol elements, automatically define the D code or tool of the object, generate macro commands according to the position coordinates, determine the execution order of the macro commands according to the logical relationship of mutual interference of the added objects to generate a macro command set, and output it as a macro program that can be called and executed by the CAM processing software and automatically execute; S4: Generate processing management data based on the data obtained in S1 - S3, and set process parameters according to the processing management data during the production process of the printed circuit board.
[0033] In this embodiment, it is implemented through self - developed computer software, including the following steps: Step 1: Automatically identify the printed circuit board Sheet file to obtain relevant file data information, access the printed circuit board process system through the data interface to obtain the process route information, and set relevant printed circuit board processing technical requirements through the interaction interface, so that each item of information data is structured, and save the information into the database. Step 2: According to the relevant data information obtained in Step 1, determine the symbols (symbols) to be added to each layer, and automatically calculate the size and position coordinates of the relevant symbols (symbols). Step 3: According to the size and coordinates of the symbol (symbol) objects added to each layer, automatically define the D - code or tool of the object, and generate macro commands according to the coordinate data. Determine the running order according to the logical relationship of mutual interference between the added objects, generate a macro command set and output it as a macro program that can be called and executed by the CAM processing software and automatically execute. Step 4: Digital - structure the data information that needs to be recorded during the process from Step 1 to Step 3, and store the digitally - structured information in the database to realize the control, traceability of the symbol (symbol) addition process and the informatization of production management data. Provide data support for the setting of process parameters during the production process (including but not limited to: for example, [stock size] is used to calculate the consumption of relevant materials, [platable area] is used to calculate the electroplating current density, the transfer speed of etching and developing, [hole diameter table] is used to configure the corresponding processing tools and calculate the corresponding consumption, etc.).
[0034] Solve the problems of many considerations, many calculation categories, large calculation amount, easy errors in manual operation, difficult data information structuring, poor flexibility, poor interaction ability, and low work efficiency during the symbol (symbol) addition process that explicitly presents process information.
[0035] In some embodiments, S1 further includes the following steps: Read the Sheet file, processing file information, and report file generated by the CAM processing software to obtain the design files of the printed circuit board circuit layer, solder mask layer, silk - screen layer, hole layer, outer - shape processing layer, and the data set of printed circuit board processing technical requirements to obtain processing data; Through the database interface, read the structured process route data to obtain the processing procedure information to obtain the process route information; Automatically set the processing technical requirements according to the processing data and process route information, and adjust the parameters according to the type of the target printed circuit board.
[0036] In this embodiment, the corresponding parameters for adjusting the processing technical requirements can be manually set according to the actual situation.
[0037] In some embodiments, step S2 further includes the following steps: Identify and analyze the symbol elements that need to be added during the production process according to the processing data, process route information, and processing technical requirements; According to the processing data, process route information, processing technical requirements, and the types of symbol elements that need to be added during the production process, set the D code, tool, and symbol element layer sequence number according to the rules and calculation formulas stored in the database, and calculate the size and position coordinates of the symbol elements.
[0038] In this embodiment, according to the rules and calculation formulas stored in the database, set the D code (shape and related parameters), tool (diameter, type), and symbol element layer sequence number, and calculate the size and position coordinates of the symbol elements (including but not limited to: Flash\Line\Polygon\Text\Circle\Arc).
[0039] In some embodiments, step S3 further includes the following steps: According to the size and position coordinates of the symbol elements, and in combination with the macro command compilation specifications of the CAM processing software, automatically generate the D code, tool addition macro command, and symbol element addition macro command; Adjust the execution order of the symbol element addition macro command according to the outer shape processing layer information and the interference rules of various symbol elements; Generate a macro command set according to the adjusted execution order of the symbol element addition macro command and output it as a macro program that can be called and executed by the CAM processing software and automatically execute it to complete the automatic addition of the symbol elements.
[0040] In some embodiments, the processing management data includes the stock preparation size, plating area, and aperture table.
[0041] In some embodiments, the stock preparation size is used to calculate the material consumption.
[0042] In some embodiments, the plating area is used to calculate the electroplating current density and the transfer speed of etching and developing.
[0043] In some embodiments, the aperture table is used to configure the processing tool and calculate the corresponding material consumption.
[0044] The second aspect of the present invention provides: A printed circuit board process information automatic addition system for implementing any one of the above printed circuit board process information automatic addition methods, including: A file reading module for reading the Sheet file, processing file information, and report file generated by the CAM processing software, and obtaining the processing data from the printed circuit board circuit layer, solder mask layer, silk screen layer, via layer, and outer shape processing layer design files and the printed circuit board processing technical requirement data set; The process route reading module is used to read structured process route data through the database interface, obtain machining process information, and get the process route information; The machining technical requirement setting module is used to automatically set machining technical requirements according to machining data and process route information, and adjust parameters according to the type of the target printed circuit board; The data analysis module is used to identify and analyze the symbol elements that need to be added during the production process according to machining data, process route information, and machining technical requirements; The symbol setting module is used to set D codes, tools, and symbol element layer numbers according to machining data, process route information, machining technical requirements, and the types of symbol elements that need to be added during the production process, and calculate the sizes and position coordinates of the symbol elements according to the rules and calculation formulas stored in the database; The symbol addition macro command generation module is used to automatically generate D code addition macro commands, tool addition macro commands, and symbol element addition macro commands according to the sizes and position coordinates of the symbol elements and in combination with the macro command compilation specifications of the CAM processing software; The symbol addition order adjustment module is used to adjust the execution order of the symbol element addition macro commands according to the outer shape machining layer information and the interference rules of various symbol elements; The symbol addition macro command set generation module is used to generate a macro command set according to the adjusted execution order of the symbol element addition macro commands, output it as a macro program that can be called and executed by the CAM processing software, and automatically execute it to complete the automatic addition of symbol elements.
[0045] In this embodiment, an independently developed computer software is combined with a database and CAM processing software to automatically add various symbols required in the production and processing process according to the data information of the printed circuit board Sheet file, processing technical requirements, process line information, etc., and store the relevant data information in a structured manner in the database for easy production, process, and technical management. The automatic addition system for printed circuit board process information includes: a workflow module and a management module, and the workflow module is connected to the management module. The workflow module includes: a file reading module, a process route reading module, a processing technical requirement setting module, a data analysis module, a symbol setting module, a symbol addition macro command generation module, a symbol addition order adjustment module, and a symbol addition macro command set generation module. The management module includes: a processing information management module and a symbol rule management module. The processing information management module is used to store the corresponding processing information data generated during the operation of the workflow module in the database for later use and provide data support during the part production process. The symbol rule management module is used to manage and set the logical conditions for selecting various symbol elements in the database, D code standards, tool type parameters, relative distances between elements, calculation rules, etc. The processing information management module is connected to the file reading module, the process route reading module, and the processing technical requirement setting module; the symbol rule management module is connected to the data analysis module, the symbol setting module, the symbol addition macro command generation module, the symbol addition order adjustment module, and the symbol addition macro command set generation module.
[0046] The third aspect of the present invention provides: a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the above-mentioned method for automatically adding printed circuit board process information is implemented.
[0047] The above are only the preferred embodiments of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications, and environments, and can be changed within the scope of the concept described herein through the above teachings or the technology or knowledge in related fields. Any changes and modifications made by those skilled in the art without departing from the spirit and scope of the present invention shall fall within the protection scope of the appended claims of the present invention.
Claims
1. A method for automatically adding printed circuit board process information, characterized in that: The following steps are involved: S1: Automatically identify the processing data of the target printed circuit board, access the printed circuit board process system through the data interface to obtain the process route information, set the processing technical requirements according to the processing data and process route information, and structure the processing data, process route information and processing technical requirements and store them in the database; S2: Determine the symbol elements to be added to each layer according to the processing data, process route information and processing technology requirements, and calculate the size and position coordinates of the symbol elements; S3: According to the size and position coordinates of the symbol elements, the D code or tool of the object is automatically defined, and the macro command is generated according to the position coordinates. The running order of the macro command is determined according to the logical relationship of the added objects interfering with each other, and the macro command set is generated and output as a macro program that can be called and executed by the CAM processing software and automatically executed; S4: Generate processing management data according to the data obtained in S1-S3, and set process parameters according to the processing management data during the production process of the printed circuit board.
2. The method for automatically adding printed circuit board process information according to claim 1, characterized in that: The S1 further comprises the following steps: Read Sheet files, processing file information, and report files generated by CAM processing software, obtain the design files of the printed circuit board circuit layer, solder mask layer, silk screen layer, hole layer, and shape processing layer, as well as the printed circuit board processing technical requirement data set to obtain processing data; Through the database interface, read the structured process route data, obtain the processing procedure information and obtain the process route information; Automatically set processing technology requirements based on processing data and process route information, and adjust parameters according to the type of target printed circuit board.
3. The method for automatically adding printed circuit board process information according to claim 1, characterized in that: The S2 further comprises the following steps: Identify and analyze the symbol elements that need to be added during the production process based on processing data, process route information and processing technology requirements; According to the processing data, process route information, processing technology requirements, and the types of symbol elements that need to be added during the production process, the D code, tool, and symbol element layer number are set according to the rules and calculation formulas stored in the database, and the size and position coordinates of the symbol elements are calculated.
4. The method for automatically adding printed circuit board process information according to claim 1, characterized in that: The S3 further comprises the following steps: According to the size and position coordinates of the symbol elements, combined with the macro command compilation specifications of the CAM processing software, D codes, tool adding macro commands, and symbol element adding macro commands are automatically generated; According to the shape processing layer information and the interference rules of various symbol elements, adjust the execution order of the symbol element adding macro command; A macro command set is generated according to the adjusted execution sequence of the symbol element adding macro command and output as a macro program that can be called and executed by CAM processing software and automatically executed, thereby completing the automatic addition of symbol elements.
5. The method for automatically adding printed circuit board process information according to any one of claims 1 to 4, characterized in that: The processing management data includes material preparation size, platable area, and aperture table.
6. The method for automatically adding printed circuit board process information according to claim 5, characterized in that: The stock dimensions described are used to calculate material consumption.
7. The method for automatically adding printed circuit board process information according to claim 5, characterized in that: The plateable area is used to calculate the electroplating current density, and the transmission speed of etching and developing.
8. The method for automatically adding printed circuit board process information according to claim 5, characterized in that: The aperture table is used to configure machining tools and calculate corresponding material consumption.
9. A system for automatically adding process information of printed circuit boards, characterized in that: A method for automatically adding printed circuit board process information according to any one of claims 1 to 8, comprising: The file reading module is used to read Sheet files, processing file information, and report files generated by CAM processing software, and obtain the design files of the printed circuit layer, solder mask layer, silk screen layer, hole layer, and shape processing layer, as well as the printed circuit board processing technology requirement data set to obtain processing data; The process route reading module is used to read the structured process route data through the database interface, obtain the processing procedure information and obtain the process route information; The processing technology requirement setting module is used to automatically set the processing technology requirements according to the processing data and process route information, and adjust the parameters according to the type of the target printed circuit board; Data analysis module, used to identify and analyze the symbol elements that need to be added in the production process based on processing data, process route information and processing technology requirements; The symbol setting module is used to set the D code, tool, and symbol element layer number according to the processing data, process route information, processing technology requirements, and the types of symbol elements that need to be added during the production process, and to calculate the size and position coordinates of the symbol elements according to the rules and calculation formulas stored in the database; The symbol adding macro command generation module is used to automatically generate D code, tool adding macro command, and symbol element adding macro command according to the size and position coordinates of the symbol element and the macro command compilation specification of the CAM processing software; A symbol adding sequence adjustment module is used to adjust the execution sequence of the symbol element adding macro command according to the shape processing layer information and the interference rules of various symbol elements; The symbol adding macro command set generating module is used to generate the macro command set according to the adjusted execution sequence of the symbol element adding macro command and output it as a macro program that can be called and executed by the CAM processing software and automatically execute it to complete the automatic adding of symbol elements.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the method for automatically adding printed circuit board process information as described in any one of claims 1-8 is implemented.