WO2015131457A1 - Method and system for automatically auditing pcb project file - Google Patents

Method and system for automatically auditing pcb project file Download PDF

Info

Publication number
WO2015131457A1
WO2015131457A1 PCT/CN2014/079374 CN2014079374W WO2015131457A1 WO 2015131457 A1 WO2015131457 A1 WO 2015131457A1 CN 2014079374 W CN2014079374 W CN 2014079374W WO 2015131457 A1 WO2015131457 A1 WO 2015131457A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
pcb
gerber
engineering
preset
Prior art date
Application number
PCT/CN2014/079374
Other languages
French (fr)
Chinese (zh)
Inventor
曾波
Original Assignee
深圳市百能信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市百能信息技术有限公司 filed Critical 深圳市百能信息技术有限公司
Publication of WO2015131457A1 publication Critical patent/WO2015131457A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types

Definitions

  • the invention relates to the technical field of printed circuit boards, and in particular to a method and system for automatically auditing PCB engineering documents.
  • PCB Printed Circuit Board
  • the traditional PCB project file review process requires engineering personnel to interpret each Gerber for a layer. Manual judgment format, inter-layer alignment, layer judgment, measurement size, establishment of PK) file, judgment of total number of holes, minimum aperture, etc., since the graphic elements may exceed 1 million, it takes a long time to analyze the rules and regulations. A large number of the most line width and line gap violations, and then the engineering staff to eliminate the false line, copper, characters take a lot of time. The average time to review a piece of information is approximately 30 minutes, and the review is not efficient.
  • the main object of the present invention is to provide a method and system for automatically auditing PCB engineering documents, aiming at realizing automatic review of PCB engineering documents to improve the efficiency of material collection.
  • the present invention provides a method of automatically auditing a PCB engineering file, the method comprising:
  • the file package includes a Gerber file and/or a plate making specification file; displaying a graphic of the Gerber file online, parsing the Gerber file and/or using a preset parameter extraction rule to analyze the Gerber file and/or the general engineering parameter description language rule library
  • the documentation obtains the PCB engineering parameters; generates SPEC files according to the PCB engineering parameters, and outputs the display after integrating the analysis results.
  • the online display of the graph of the Gerber file is parsed by using a preset parameter extraction rule
  • the Gerber file and/or the general engineering parameter description language rule base parsing the plate making specification file obtains the PCB engineering parameters, including:
  • the Gerber file When the Gerber file is named by the standard, the Gerber file is parsed to obtain the PCB layer and the number of layers, and the layer name of the Gerber file is modified by a preset layer naming rule, and the layer name is automatically sorted according to the layer name;
  • the PCB line and layer are identified by using graphics technology and the layer name of the Gerber file is modified by a preset layer naming rule.
  • the names are automatically sorted by layer.
  • the drilling position, the minimum number of holes and the minimum aperture are obtained, and the blind buried hole penetration property of the drilling file is defined according to the preset drilling naming rules, and the drilling center and the outer layer are pressed.
  • the online display of the graph of the Gerber file is parsed by using a preset parameter extraction rule
  • the Gerber file and/or the general engineering parameter description language rule base parsing the plate making specification file obtains the PCB engineering parameters, including:
  • the elements belonging to the violation are sorted from small to large and filtered to obtain the minimum line spacing.
  • the graphic of the Gerber file is displayed online, and the preset parameter extraction rule is used for parsing
  • the Gerber file and/or the general engineering parameter description language rule base parsing the plate specification file to obtain PCB engineering parameters including:
  • the engineering parameter description file is extracted by using the preset general engineering parameter description language rule library to match the text file of the unified format, and the control information contained in the plate making specification file is collected.
  • the receiving the file package submitted by the user, before the file package includes the Gerber file and/or the plate making specification file the method further includes:
  • the SPEC file is generated according to the PCB engineering parameters, and after the integrated analysis result is output and displayed, the method further includes:
  • the present invention also provides a system for automatically auditing PCB engineering files, the system comprising:
  • a receiving module configured to receive a file package submitted by a user, where the file package includes a Gerber file and/or a plate making specification file;
  • the engineering parameter obtaining module is configured to display a graphic of the Gerber file online, and use the preset parameter extraction rule to parse the Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain the PCB engineering parameter;
  • the output module is configured to generate a SPEC file according to the PCB engineering parameter, and output the parsing result, and output the module, where the engineering parameter obtaining module specifically includes:
  • a naming and identifying unit configured to: when the Gerber file adopts a standard naming, parse and obtain the PCB layer and the number of layers, and modify the layer name of the Gerber file by using a preset layer naming rule, and automatically press the layer name according to the layer name. Do not sort;
  • a graphic recognition unit configured to: when the Gerber file is not named by the standard, after the Gerber file is read, use the graphic technology to identify the PCB line and the layer and modify the Gerber file by using a preset layer naming rule.
  • the layer name automatically sorted by layer name according to the layer name.
  • the engineering parameter obtaining module specifically includes:
  • a first parsing unit configured to parse the Gerber file to obtain a top line region range, obtain a preliminary drilling format and a location distribution region according to the parameter extraction rule, and obtain a preliminary drilling pattern and a position distribution region, and a center point pair with the top layer pad Bit
  • the drilling parameter acquisition unit is configured to determine the drilling position, the minimum number of holes and the minimum aperture after determining the drilling according to the success rate of the alignment, and define a blind buried hole penetration property of the drilling file according to a preset drilling naming rule. And align the center of the hole with the outer line;
  • the aperture display unit is configured to display the usage information of the aperture table, and highlight the use element corresponding to the currently viewed aperture;
  • a shape determining unit configured to construct a shape of the PCB according to a selection element of a graphic of the Gerber file, and calculate a continuous maximum outer contour to form a profile;
  • a calculation unit for calculating the test points of the PCB, the process, and the area of the gold that requires surface treatment, and generating a report of the tool information of the drilled hole.
  • the engineering parameter obtaining module specifically includes:
  • a negative element deleting unit configured to parse the Gerber file to obtain a PCB negative element, and delete the PCB negative element
  • a screening unit configured to select a picture element as a start element, and use a range that is different from the picture element area to a preset minimum search interval as a search unit, search for a network connected to the start element, and detect the non-identical network, The primitive of the non-size line is determined to be a violation;
  • the minimum line spacing obtaining unit is configured to sort the primitives belonging to the violation case from small to large and select to obtain the minimum line spacing.
  • the engineering parameter obtaining module further includes:
  • a traversing unit configured to traverse the file package, and parse the plate-making description file contained therein into a text file in a unified format
  • the matching unit extracts the engineering parameter description file by using the preset general engineering parameter description language rule library to match the unified format text file, and collects the control information included in the plate making specification file.
  • the system further includes a preset module, specifically configured to:
  • An export module for exporting Gerber files to RS274X format files and/or ODB++ format files.
  • the invention displays, parses, processes and recognizes the PCB engineering parameters on the received file through the rule base, so that the system can automatically standardize the PCB engineering parameters to generate the Spec file and output it to the user, shortening the manual review time and improving the PCB.
  • the efficiency of the engineering review, the audit process and the audit results are more intuitive.
  • FIG. 1 is a schematic flowchart of an embodiment of an automatic auditing PCB engineering file according to an embodiment of the present invention
  • FIG. 2 is a startup file auditing module in an embodiment of an automatic auditing PCB engineering file provided by the present invention, and parsing the Gerber by using a preset rule
  • FIG. 3 is a schematic diagram of a process for a file auditing module in a method for automatically reviewing a PCB project file according to another embodiment of the present invention, which uses a preset rule to parse the Gerber file to obtain a PCB engineering parameter;
  • FIG. 4 is a schematic diagram showing a flow of a step of verifying a PCB project parameter by using a preset rule in a startup file review module according to another embodiment of the method for automatically reviewing a PCB project file provided by the present invention
  • FIG. 5 is a schematic diagram of a process of a method for activating a file auditing module according to another embodiment of the method for automatically reviewing a PCB project file provided by the present invention, and using the preset rule to parse the Gerber file to obtain a PCB engineering parameter;
  • FIG. 6 is a schematic flow chart of still another embodiment of an automatic auditing PCB engineering file method provided by the present invention.
  • FIG. 7 is a schematic structural view of an embodiment of an automatic audit PCB engineering file system provided by the present invention.
  • FIG. 8 is a schematic structural diagram of an engineering parameter acquisition module in an embodiment of an automatic audit PCB engineering file system provided by the present invention.
  • FIG. 9 is a schematic structural diagram of an engineering parameter acquisition module in another embodiment of an automatic audit PCB engineering file system provided by the present invention.
  • FIG. 11 is a schematic structural view of still another embodiment of an automatic audit PCB engineering file system provided by the present invention.
  • Figure 12 is a schematic structural view of still another embodiment of the automatic audit PCB engineering file system provided by the present invention.
  • the present invention relates to a method and system for automatically auditing PCB engineering files, wherein the PCB engineering files include Gerber files (photographic files), plate making documents, and the like.
  • the protocol rules are used to analyze the Gerber engineering parameters (layer number, minimum line width, minimum line spacing, size, number of holes, minimum aperture, etc.) using geometrical techniques and engineering experience rules.
  • the review of the plate-making documentation uses the preset rule base to identify the engineering information (thickness, surface treatment, copper thickness, etc.) of the text description, and finally integrates the output engineering review form.
  • the invention mainly relates to the automatic auditing of PCB engineering files, and the rapid review of the files by using preset rules, automatically generating PCB engineering auditing orders, etc., which greatly shortens the time of manual review and improves material efficiency.
  • Step 110 Receive a file package submitted by a user, where the file package includes a Gerber file and/or a plate making specification file;
  • the server receives the file submitted by the user through the Internet (for example, an email), a client, or a local area network.
  • the file includes a Gerber file.
  • the file package includes Contains the platemaking documentation.
  • Gerber files refer to the lithography files in the PCB manufacturing industry, which can be exported through design software, such as Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN and other design software.
  • the Gerber file contains parameters such as coordinates, shape descriptions, and so on. Standard Gerber files can be divided into RS-274 and RS-274X. Commonly used data codes include ASCII.
  • the company (IBM) introduced the character encoding table) and so on.
  • the plate-making documentation complements the PCB design and includes a description of the PCB engineering parameters, such as descriptions of PCB engineering parameters and controls.
  • the format and content of the plate-making instructions provided by different users are different. For example, it can be Word format, Excel format, TXT format or image file, etc.
  • Some control documents also contain controls or layout information.
  • Step 120 Display a graphic of the Gerber file online, and parse the Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain the PCB engineering parameter by using the preset parameter extraction rule;
  • the parameter extraction rule is preset according to the engineering design rule of the PCB file, so that the system can obtain the corresponding engineering parameter of the PCB file by using the parameter extraction rule to identify a certain feature of the PCB file.
  • Parameter extraction rules include primitive definition rules, format rules, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC item range keywords, etc.
  • the PCB industry rule base is derived from SPEC item value field keywords and conjunction word keywords.
  • PCB engineering parameters include at least the minimum line width size and source, minimum line spacing size and source, PCB format, layer, line, hole structure, minimum aperture, total number of holes, and size.
  • the system may use the parameter extraction rule to parse the Gerber file to obtain the PCB engineering parameters, and then extract the outer layer line from the layers and the outer layer line.
  • the ring-sized frame is used as the PCB size.
  • the project parameter description file for example, picture, Word, Excel, etc.
  • the general engineering parameter description language can also be used to match the engineering parameter description file contained in the Gerber file. For example, picture) to get the project parameters.
  • the file submitted by the user includes a Gerber file or a plate making specification file
  • the system parses the Gerber file and/or the general engineering parameter description language to resolve the plate making document according to the file type in the file package. Go to PCB engineering parameters.
  • the size of the minimum line width and the size of the minimum line spacing are measured according to the center, inner and outer edges, end points or track center of the elements in the Gerber file, and the specific measurement standards are selected according to actual needs.
  • online visualization makes it easy to view Gerber graphics, making it easy to zoom in and out and drag and drop.
  • Step 130 Generate a SPEC file according to the PCB engineering parameters, and integrate the analysis result to output the display; after parsing the file package to obtain the PCB engineering parameters, the analysis result is integrated into a standard SPEC (Engineering Auditing Document), a standardized structural drawing (for example, The standardized structure diagram can include layer structure, drilling structure and other commonly used structural diagrams), and the output is displayed.
  • SPEC Engineing Auditing Document
  • the standardized structure diagram can include layer structure, drilling structure and other commonly used structural diagrams
  • FIG. 2 Please refer to FIG. 2 , and more specifically, a specific process diagram for obtaining PCB engineering parameters in a method for automatically reviewing a PCB project file in another embodiment.
  • step 120 Take the following steps to get the project parameters:
  • Step 121 When the Gerber file is named as a standard, the Gerber file is parsed to obtain the PCB layer and the number of layers, and the layer name of the Gerber file is modified by a preset layer naming rule, and the layer name is automatically sorted according to the layer name.
  • the system can identify the PCB layer and the number of layers according to the naming rules according to the Gerber file name, and according to the naming of different standards, according to the preset
  • the naming rules give uniform naming.
  • the specific way includes defining the layer with a suffix in the layer name, such as top.
  • Step 122 When the Gerber file is not named by the standard, after the Gerber file is read, the PCB circuit and the layer are identified by using the graphic technology, and the layer name of the Gerber file is modified by a preset layer naming rule. , automatically sort by layer name according to the layer name.
  • the system reads the element information from the read Gerber file, for example, PCB wire characteristics, copper shape, heat dissipation aperture, pressure division pattern shape, etc., due to different functions of each layer of the PCB will be included
  • Different primitives use graphics technology to identify the number of PCB layers and layers. Based on the recognition results, they are uniformly named according to the preset naming rules.
  • the specific method includes defining the layer with a suffix in the layer name. , such as top.
  • the system parses the PCB engineering parameters such as the PCB drilling format, the position, the number of holes, and the aperture from the Gerber file.
  • the method for automatically reviewing the PCB engineering file is used. A specific process diagram of the PCB engineering parameters is obtained. As shown in FIG. 3, step 120 specifically includes:
  • Step 123 Parsing the Gerber file to obtain a range of the top line region, and obtaining a preliminary drilling pattern and a position distribution region according to the parameter extraction rule by referring to the top layer line region range, and the top layer pad The center point is aligned.
  • the parameter extraction rule is set according to the area arrangement rule corresponding to the drilling coordinate form, and the system parses the Gerber file to obtain data such as the top line area, and refers to the top line area according to the preset rule to obtain the preliminary drilling pattern and the position distribution.
  • the area further, aligns the initially determined drilling pattern and position with the center of gravity of the top layer pad, and generally selects the extreme value drilling holes in the position distribution area for alignment, such as upper left, middle left, lower left, upper right, right middle, Drill holes in the lower right, upper middle and lower middle positions, and count the success rate of the alignment of each extreme drilling.
  • Step 124 After determining the drilling according to the success rate of the alignment, obtaining the drilling position, the minimum number of holes and the minimum aperture, defining a blind buried hole penetration property of the drilling file according to a preset drilling naming rule, and pressing the drilling center Align with the outer line.
  • the extreme drilling with high success rate is determined as the drilling hole, and then the PCB engineering parameters such as the drilling position, the minimum number of holes and the minimum aperture are obtained.
  • the drill named drll-3 is defined as a drill passing through 1-3 layers.
  • Holes, and so on, drl2-4 are defined as drill holes that run through 1-4.
  • Step 125 Display the usage information of the aperture table, and highlight the use element corresponding to the currently viewed aperture.
  • Step 126 According to the selection element of the graphic of the Gerber file, construct the shape of the PCB, and calculate the continuous maximum outer contour to form a profile.
  • the largest outer contour is a closed polygon, and the calculation of the polygon determines the size of the desired PCB.
  • Step 127 Calculate the test points of the PCB, the process, and the area of the gold that needs to be surface treated, and generate a report of the tool information of the hole.
  • the data obtained in this step is an important parameter required in the PCB production test process, and on this basis, the Set can be further parameterized according to the customer's requirements, so that the package can be shipped.
  • step 120 a flow chart for parsing a Gerber file to obtain PCB engineering parameters in a method for automatically auditing a PCB project file in another embodiment is shown in FIG. 4.
  • the specific steps in step 120 include:
  • Step 128 Parse the Gerber file to obtain the PCB negative element, and delete the PCB negative element; After parsing the Gerber file to obtain the PCB line, use the polygon difference operation to merge and obtain the PCB negative element, and delete the negative element.
  • Step 129 Select a picture element as a start element, and use a range that is different from the picture element area to a preset minimum search interval as a search unit, and search for a network connected to the start element to determine a search range, and detect the non-identity
  • the elements of the network and non-size lines are determined to be illegal;
  • the range of the minimum search pitch (for example, may be lOmi l ) that is different from the pad area is determined as the search range, and the search range is not the network. If the distance of the non-dimension line is less than 10mi l, if it is, it is determined to be a violation.
  • Step 12A Sorting the primitives belonging to the violation case from small to large and filtering to obtain the minimum line spacing
  • the primitives belonging to the violation are sorted from small to large, and the exposed line pairs are identified to remove the false lines and the copper skin to obtain the true minimum line spacing.
  • FIG. 5 is a schematic flowchart of analyzing a plate-making specification file in a method for automatically reviewing a PCB project file in another embodiment, and step 120 specifically includes:
  • Step 12B traversing the file package, and parsing the plate description file contained therein into a text file in a unified format
  • the system needs to obtain the PCB engineering parameter information from the plate-making specification files of different formats. Collect PCB engineering parameter information contained in the plate specification file when the system traverses the received package to include a separate plate specification file or a plate specification file embedded in the Gerber file.
  • the plate-making description file of different formats is first converted into a text file of a unified format, so that the text file of the unified format is directly processed in the subsequent steps, when the plate-making specification file is a PDF format or a picture.
  • Step 12C extracting an engineering parameter description file by using a preset general engineering parameter description language rule library to match a unified format text file, and collecting control information included in the plate making specification file;
  • the general engineering parameter description language rule base may specifically include, but is not limited to, an industry rule base (which may include SPEC item value domain keywords and connection keywords), an industry SPEC item name keyword, and an industry SPEC item value. Domain keywords, etc.
  • the rule base can be pre-stored in a memory in the system in a specific data format. After the system is initialized, the general engineering parameter description language rule base is called from the memory and then matched with the unified format text file obtained in step S280.
  • the text file may be firstly matched by the industry rule library to extract Keyword, if there is a synonym in the text, you can first convert it into an industry standard word, and further use the industry SPEC item name keyword to match the collected keywords to obtain the SPEC project value field, and then judge the selected item of the SPEC project value field. Get relevant data and output relevant data such as standard SPEC project value range.
  • the system also determines the control of the plate specification file in order to extract the relevant engineering parameter description data. While reviewing the platemaking documentation through the above steps, it also supports traditional original document review to supplement the review.
  • control information and the engineering parameter description file obtained by matching the plate making specification file are integrated with the relevant parameters obtained by parsing the Gerber file, and the standard engineering review form and structure are displayed. Figure and so on.
  • the method further includes:
  • Step 100 Pre-set parameter extraction rule and/or general engineering parameter description language rule base;
  • the system can accept the user input preset parameter extraction rule and/or general engineering parameter description language rule base, Gerber file parsing Rules include primitive definition rules, formatting rules, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC items Value keywords, etc.
  • the PCB industry rule base is derived from SPEC item value keywords and conjunction keywords.
  • the method further includes:
  • Step 140 Export the Gerber file to an RS274X format file and/or an 0DB++ format file. Exporting Gerber files to RS274X format files and / or 0DB++ format files can further expand the scope of application of this solution and provide richer services according to users' needs.
  • the method for automatically auditing PCB engineering files provided by the invention directly displays, parses, processes and recognizes PCB engineering parameters through the rule library, so that the system can automatically normalize PCB engineering parameters to generate Spec files and output to the user. , shortening the time for manual review, improving the efficiency of PCB engineering review, and making the audit process and audit results more intuitive.
  • FIG. 7 is a schematic diagram of the structure of the system 70 for automatically reviewing PCB engineering files proposed by the present invention.
  • the system includes:
  • the receiving module 710 is configured to receive a file package submitted by the user, where the file package includes a Gerber file and/or a plate making specification file;
  • the engineering parameter obtaining module 720 is configured to display a graphic of the Gerber file online, and parse the Gerber file and/or the general engineering parameter description language rule library by using a preset parameter extraction rule to obtain a PCB engineering parameter;
  • the output module 730 is configured to generate a SPEC file according to the PCB engineering parameters, and integrate the analysis result to output the display.
  • the receiving module 710 receives the file submitted by the user through the Internet (for example, an email), a client, or a local area network.
  • the file may include a Gerber file.
  • the file The plate also contains a plate description document.
  • Gerber files refer to the lithography files in the PCB manufacturing industry, which can be exported through design software, such as Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN and other related software.
  • the Gerber file contains parameters such as coordinates and shape descriptions of the primitives. Standard Gerber files can be divided into RS-274 and RS-274X. Common data codes include ASCII, EBCDIC and so on.
  • the plate-making documentation complements the PCB design and includes descriptions of PCB engineering parameters, such as descriptions of PCB engineering parameters and controls.
  • the format and content of the plate-making instructions provided by different users are different. For example, it can be Word format, Excel format, TXT format or image file, etc.
  • Some control documents also contain controls or layout information.
  • the parameter extraction rule is preset according to the engineering design rule of the PCB file, so that the engineering parameter module 720 can obtain the corresponding engineering parameter of the PCB file after identifying a certain feature of the PCB file by using the parameter extraction rule.
  • Parameter extraction rules may include Gerber file parsing rules and/or general engineering parameter description language libraries, Gerber file parsing rules including primitive definition rules, format rules Then, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC item value domain keywords, and so on.
  • the PCB industry rule base is derived from SPEC item value field keywords and conjunction word keywords.
  • PCB engineering parameters include at least the minimum line width size and source, minimum line spacing size and source, PCB format, layer, line, hole structure, minimum aperture, total number of holes, and size.
  • the engineering parameter obtaining module 720 may use the parameter extraction rule to parse the Gerber file to obtain the PCB engineering parameter, and then extract the outer layer line from each layer and The outer frame of the outer ring ring size is used as the PCB size.
  • the engineering parameter description file for example, picture, Word, Excel, etc.
  • the engineering parameter obtaining module 720 can also match the Gerber file by using the general engineering parameter description language. To get engineering parameters.
  • the file submitted by the user includes a Gerber file or a plate making specification file
  • the engineering parameter obtaining module 720 uses the parameter extraction rule to parse the Gerber file and/or the general engineering parameter description language according to the file type in the file package. Documentation, get PCB engineering parameters.
  • the output module 730 integrates the analysis result into a standard engineering review form SPEC document, a standardized structure diagram (for example, the standardized structure diagram may include a layer structure, a drilling structure) As well as other commonly used structural diagrams), the output is displayed.
  • FIG. 8 is a schematic structural diagram of an engineering parameter obtaining module 720 in a system 70 for automatically reviewing a PCB project file in another embodiment.
  • the engineering parameter obtaining module 720 specifically includes a name. Identification unit 721 and graphic recognition unit 722, wherein:
  • a naming and identifying unit 721 configured to parse the Gerber file when the Gerber file is named as a standard Get the PCB layer and the number of layers and modify the layer name of the Gerber file by the preset layer naming rules, and automatically sort by layer name according to the layer name;
  • the graphic recognition unit 722 is configured to: when the Gerber file is not used for standard naming, after the Gerber file is read, use the graphic technology to identify the PCB line and the layer and modify the Gerber file by using a preset layer naming rule.
  • the layer name is automatically sorted by layer name according to the layer name.
  • the name recognition unit 721 can identify the PCB layer and the layer number according to the Gerber file name and the reference naming rule after identifying the Gerber file. For Gerber files that are not named with standard naming rules, the PCB layer and layer number cannot be obtained directly.
  • the graphic recognition unit 722 reads the primitive information from the Gerber file, for example, the PCB wire characteristics, the copper shape, the heat dissipation aperture, the pressure division pattern shape, etc., and the different functions of each layer of the PCB may contain different The graphics element 722 identifies the number of layers and layers of the PCB using pattern recognition techniques.
  • the engineering parameter acquisition module 720 can also obtain PCB engineering parameters such as PCB drilling format, position, number of holes, and aperture from the Gerber file.
  • PCB engineering parameters such as PCB drilling format, position, number of holes, and aperture from the Gerber file.
  • FIG. 9 A schematic structural diagram of the engineering parameter obtaining module 720, as shown in FIG. 9, the module specifically includes:
  • the first parsing unit 723 is configured to parse the Gerber file to obtain a range of the top line region, and obtain a preliminary drilling format and a location distribution area according to the parameter extraction rule by referring to the top line region range, and align with the top pad center point;
  • the drilling parameter obtaining unit 724 is configured to obtain a drilling position, a minimum hole number and a minimum aperture after determining the drilling according to the alignment success rate, and define a blind buried hole penetration property of the drilling file according to a preset drilling naming rule. , and align the center of the hole with the outer line.
  • the aperture display unit 725 is configured to display usage information of the aperture table, and highlight the currently viewed The use element corresponding to the aperture;
  • the shape determining unit 726 is configured to construct a shape of the PCB according to the selected element of the graphic of the Gerber file, and calculate a continuous maximum outer contour to form a profile;
  • the calculation unit 727 is used to calculate the test points of the PCB, the process, and the area of the gold that needs surface treatment, and generate a report of the tool information of the hole.
  • the parameter extraction rule is set according to the area arrangement rule corresponding to the drilling coordinate form, and the first parsing unit 723 parses the Gerber file to obtain data such as the top line area, and refers to the top line area according to the preset rule to obtain the preliminary drilling hole.
  • the format and the position distribution area, further, the initially determined drilling pattern and position are aligned with the center of gravity of the top layer pad, and the extreme value drilling holes in the position distribution area are usually selected for alignment, such as upper left, middle left, lower left, upper right , the middle right, the lower right, the upper middle and lower middle holes, and count the success rate of each extreme drilling.
  • the drilling parameter acquisition unit 724 determines the extremum drilling with high success rate of the alignment as the drilling hole, and then obtains the PCB such as the drilling position, the minimum number of holes and the minimum aperture. Engineering parameter data.
  • the engineering parameter obtaining module 720 can also obtain the minimum line spacing and the minimum line width from the Gerber file.
  • the engineering parameter module 720 specifically includes: a negative element deleting unit 728, Parsing the Gerber file to obtain the PCB negative element, and deleting the detected PCB negative element;
  • the filtering unit 729 is configured to select a primitive as a start element, and a range that is different from the primitive area to a preset minimum search span as a search unit, and the network connected to the start element is determined as a search range, and the detected range is detected.
  • the non-same network, non-dimension line primitives are determined to be illegal;
  • the line spacing obtaining unit 72A is configured to filter the violation cases from small to large to obtain the minimum line spacing.
  • the negative element deletion unit 728 parses the Gerber file to obtain the PCB line, the polygon difference element is used to obtain the PCB negative element, and the detected negative element is further deleted.
  • the screening unit 729 takes the start element as a pad as an example, and determines a range that is different from the pad area to a preset minimum search pitch (for example, may be lOmil) as the search range, and the search range is not the network, the non-size. Whether the line's primitive is less than lOmil, and if so, it is determined to be a violation.
  • the line spacing obtaining unit 72A sorts the violations from small to large, and recognizes that the exposed line pairs are selected to exclude the false lines and the copper sheets to obtain the true minimum line spacing.
  • FIG. 11 a schematic structural diagram of an engineering parameter obtaining module in another embodiment is shown in FIG. 11.
  • the receiving module receives a file package including a Gerber file and a plate making specification file
  • the engineering parameter The acquisition module also includes:
  • a text parsing unit 72B configured to traverse the file package, and parse the plate-making description file included therein into a text file in a unified format
  • the matching unit 72C is configured to extract a project parameter description file by using a preset general engineering parameter description language rule library to match the unified format text file, and control information included in the mobile phone plate making specification file;
  • the system needs to obtain the PCB engineering parameter information from the plate-making specification files of different formats.
  • the text parsing unit 72B traverses the received file package and further includes a separate plate making specification file or a plate making specification file embedded in the Gerber file, the PCB engineering parameter information included in the plate making specification file is collected.
  • the text parsing unit 72B first converts the plate-making description files of different formats into a text file of a unified format, so as to directly process the text file of the unified format in the subsequent steps, when the plate-making specification file is a PDF format or a picture, the text
  • the parsing unit 72B converts it into OCR (Optical Character Recognition Technology) technology first Word, and further converted into a text format by the Word parsing engine; when the coring specification file is Word, the text parsing unit 72B converts into a text format by the Word parsing engine; when the coring specification file is in the Excel format, the text parsing unit 72B passes The Excel parsing engine converts to text format and so on.
  • OCR Optical Character Recognition Technology
  • the general engineering parameter description language rule base may specifically include, but is not limited to, an industry rule base (which may include SPEC item value domain keywords and connection keywords), an industry SPEC item name keyword, and an industry SPEC item value. Domain keywords, etc.
  • the rule base can be pre-stored in a memory in the system in a specific data format.
  • the matching unit 72C calls the general engineering parameter description language rule base from the memory and matches the obtained unified format text file. For example, the matching unit 72C may first use the industry rule library to perform full text matching on the text file.
  • the system determines the control of the plate specification file in order to extract the relevant engineering parameter description data. While reviewing the platemaking documentation through the above steps, it also supports traditional original document review to supplement the review.
  • the output module 30 integrates the control information and the engineering parameter description file obtained by the matching plate making specification file with the relevant parameters obtained by parsing the Gerber file, and outputs a standard engineering review. Single, structure diagram, etc.
  • FIG. 12 a schematic diagram of a structure of a system 70 for automatically reviewing a PCB project file according to another embodiment is shown in FIG. 12.
  • the system further includes:
  • the preset module 700 is configured to preset a parameter extraction rule and/or a general engineering parameter description language rule base.
  • the exporting module 740 is configured to export the Gerber file into an RS274X format file and/or an 0DB++ format file.
  • the preset module 700 can accept a user input preset parameter extraction rule and/or a general engineering parameter description language rule base, and the Gerber file parsing rule includes a primitive definition rule, a format rule, a special rule, a formula rule, Specific algorithm packages, rules of thumb, and integration rules; general engineering parameter description language rules may include: industry rule base, industry SPEC item name keywords, industry SPEC item value domain keywords, and so on.
  • the PCB industry rule base is based on SPEC item value keywords and conjunction keywords.
  • the system for automatically auditing PCB engineering files provided by the invention parses, processes and recognizes PCB engineering parameters through the rule base, so that the system can automatically standardize the PCB engineering parameters and output to the user, thereby shortening the manual auditing. Time to improve the efficiency of PCB engineering audits.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a method and system for automatically auditing a PCB project file. The method comprises: receiving a file package submitted by a user, the file package containing a Gerber file and/or a plate-making description file; displaying a pattern of the Gerber file on-line, parsing the Gerber file using a pre-set parameter extraction rule and/or parsing the plate-making description file using a general project parameter description language rule base, so as to acquire a PCB project parameter; and according to the PCB project parameter, generating an SPEC file, and after the parsing results are integrated, outputting and displaying same. By means of the present invention, by comparing the received Gerber file according to the pre-set rule, the PCB project parameter is recognized, so that the system can automatically acquire the PCB project parameter and output same to a user after the PCB project parameter is standardized, and therefore, the manual auditing time of the Gerber file is shortened, the PCB material auditing efficiency is improved, and the auditing process and the auditing result are more intuitive.

Description

一种自动审核 PCB工程文件的方法及系统  Method and system for automatically auditing PCB engineering files
技术领域 Technical field
本发明涉及印刷电路板技术领域, 具体是一种自动审核 PCB工程文件的方 法及系统。  The invention relates to the technical field of printed circuit boards, and in particular to a method and system for automatically auditing PCB engineering documents.
背景技术 Background technique
目前, 一个 PCB (PrintedCircuitBoard, 印刷电路板) 工程文件通常是由多 个 Gerber文件和 /或制版说明文件组成的, 传统对 PCB工程文件审核流程需要 工程人员解读, 每个 Gerber对应一个图层, 需要人工判断格式、 层间对位、 层 别判断、 测量尺寸、 建立 PK)file、 判断总孔数、 最小孔径等, 由于图形元素可 能超过 100万, 需要经过长时间的涉及规则检査分析计算出大量的最线宽线距 违例情况, 再经过工程人员排除假线, 铜皮、 字符需要花费大量的时间。 审核 一个资料的平均时间大约是 30分钟, 审核效率不高。  Currently, a PCB (Printed Circuit Board) project file is usually composed of multiple Gerber files and/or plate making documents. The traditional PCB project file review process requires engineering personnel to interpret each Gerber for a layer. Manual judgment format, inter-layer alignment, layer judgment, measurement size, establishment of PK) file, judgment of total number of holes, minimum aperture, etc., since the graphic elements may exceed 1 million, it takes a long time to analyze the rules and regulations. A large number of the most line width and line gap violations, and then the engineering staff to eliminate the false line, copper, characters take a lot of time. The average time to review a piece of information is approximately 30 minutes, and the review is not efficient.
发明内容 Summary of the invention
本发明的主要目的在于提供一种自动审核 PCB工程文件的方法及系统, 旨 在实现对 PCB工程文件的自动审核, 以提高采料效率。  The main object of the present invention is to provide a method and system for automatically auditing PCB engineering documents, aiming at realizing automatic review of PCB engineering documents to improve the efficiency of material collection.
为了达到上述目的, 本发明提出一种自动审核 PCB工程文件的方法, 该方 法包括:  In order to achieve the above object, the present invention provides a method of automatically auditing a PCB engineering file, the method comprising:
接收用户提交的文件包, 所述文件包包含 Gerber文件和 /或制版说明文件; 在线显示 Gerber文件的图形,利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB工程参数; 根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显示。  Receiving a file package submitted by a user, the file package includes a Gerber file and/or a plate making specification file; displaying a graphic of the Gerber file online, parsing the Gerber file and/or using a preset parameter extraction rule to analyze the Gerber file and/or the general engineering parameter description language rule library The documentation obtains the PCB engineering parameters; generates SPEC files according to the PCB engineering parameters, and outputs the display after integrating the analysis results.
其中, 所述在线显示 Gerber文件的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB 工程参数, 具体包括: The online display of the graph of the Gerber file is parsed by using a preset parameter extraction rule The Gerber file and/or the general engineering parameter description language rule base parsing the plate making specification file obtains the PCB engineering parameters, including:
当 Gerber文件采用标准命名时, 则解析所述 Gerber文件获取到 PCB层别 及层数并通过预设的层别命名规则修改 Gerber文件的层别名称, 根据层别名称 自动按层别排序;  When the Gerber file is named by the standard, the Gerber file is parsed to obtain the PCB layer and the number of layers, and the layer name of the Gerber file is modified by a preset layer naming rule, and the layer name is automatically sorted according to the layer name;
当 Gerber文件未采用标准命名时, 则在读取到所述 Gerber文件后, 利用图 形学技术识别到 PCB线路及层别并通过预设的层别命名规则修改 Gerber文件的 层别名称, 根据层别名称自动按层别排序。  When the Gerber file is not named by the standard, after the Gerber file is read, the PCB line and layer are identified by using graphics technology and the layer name of the Gerber file is modified by a preset layer naming rule. The names are automatically sorted by layer.
其中, 所述在线显示 Gerber文件的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB 工程参数, 具体包括:  The online display of the Gerber file graphic, using the preset parameter extraction rule parsing Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain PCB engineering parameters, specifically including:
解析所述 Gerber文件获取顶层线路区域范围, 根据所述参数提取规则参照 所述顶层线路区域范围获取初步钻孔格式以及位置分布区域, 并与顶层焊盘中 心点对位;  Parsing the Gerber file to obtain a range of the top line area, and obtaining a preliminary drilling pattern and a position distribution area according to the parameter extraction rule according to the top line area range, and aligning with the top layer center point;
根据对位成功率确定钻孔后, 获取到钻孔位置、 最小孔数与最小孔径, 根 据预设的钻孔命名规则定义钻孔文件的盲埋孔贯通属性, 并按钻孔中心与外层 线路对齐;  After determining the drilling according to the success rate of the alignment, the drilling position, the minimum number of holes and the minimum aperture are obtained, and the blind buried hole penetration property of the drilling file is defined according to the preset drilling naming rules, and the drilling center and the outer layer are pressed. Line alignment
显示光圈表的使用信息, 并高亮显示当前査看的光圈对应的使用元素; 根据 Gerber文件的图形的选择元素,构建 PCB的外形,并计算出连续的最 大外轮廓, 形成 Profile;  Display the usage information of the aperture table, and highlight the use element corresponding to the aperture currently viewed; construct the shape of the PCB according to the selection element of the graphic of the Gerber file, and calculate the continuous maximum outer contour to form a profile;
计算 PCB的测试点、 猡程以及需要表面处理的化金面积, 生成钻孔的刀具 信息的报表。  Calculate the PCB test points, the process, and the area of the gold that needs to be surface treated to generate a report of the tool information for the hole.
其中, 所述在线显示 Gerber文件的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB 工程参数, 具体包括: The online display of the graph of the Gerber file is parsed by using a preset parameter extraction rule The Gerber file and/or the general engineering parameter description language rule base parsing the plate making specification file obtains the PCB engineering parameters, including:
解析所述 Gerber文件获取 PCB负片元素, 删除所述 PCB负片元素; 选取一图元为开始元素, 将与图元面积相差为预设的最小搜索间距的范围 作为搜索单位, 搜索与开始元素相连接的网络, 并将检测到的非同一网络、 非 尺寸线的图元确定为违例情况;  Parsing the Gerber file to obtain a PCB negative element, deleting the PCB negative element; selecting an element as a start element, and separating the area from the primitive area to a preset minimum search pitch as a search unit, and searching for the start element The network, and the detected non-same network, non-dimensional line of the picture element is determined as a violation;
将属于违例情况的图元由小到大排序后筛选, 以获取到最小线距。  The elements belonging to the violation are sorted from small to large and filtered to obtain the minimum line spacing.
其中, 所述在线显示 Gerber文件的图形, 利用预置的参数提取规则解析 Wherein, the graphic of the Gerber file is displayed online, and the preset parameter extraction rule is used for parsing
Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB 工程参数, 具体包括: The Gerber file and/or the general engineering parameter description language rule base parsing the plate specification file to obtain PCB engineering parameters, including:
遍历所述文件包, 将其中所包含的制版说明文件解析为统一格式的文本文 件;  Traversing the package to parse the plate description file contained therein into a unified format text file;
利用预置的通用工程参数描述语言规则库匹配所述统一格式的文本文件提 取工程参数描述文件, 并收集制版说明文件中所包含的控件信息。  The engineering parameter description file is extracted by using the preset general engineering parameter description language rule library to match the text file of the unified format, and the control information contained in the plate making specification file is collected.
其中, 所述接收用户提交的文件包, 所述文件包包含 Gerber文件和 /或制版 说明文件之前, 还包括:  The receiving the file package submitted by the user, before the file package includes the Gerber file and/or the plate making specification file, the method further includes:
预置所述参数提取规则和 /或通用工程参数描述语言规则库;  Presetting the parameter extraction rule and/or the general engineering parameter description language rule base;
所述根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显示之后, 还包括:  The SPEC file is generated according to the PCB engineering parameters, and after the integrated analysis result is output and displayed, the method further includes:
将 Gerber文件导出为 RS274X格式文件和 /或 ODB++格式文件。  Export Gerber files to RS274X format files and / or ODB++ format files.
本发明还提出一种自动审核 PCB工程文件的系统, 该系统包括:  The present invention also provides a system for automatically auditing PCB engineering files, the system comprising:
接收模块, 用于接收用户提交的文件包, 所述文件包包含 Gerber文件和 / 或制版说明文件; 工程参数获取模块, 用于在线显示 Gerber文件的图形, 利用预置的参数提 取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文件 获取到 PCB工程参数; a receiving module, configured to receive a file package submitted by a user, where the file package includes a Gerber file and/or a plate making specification file; The engineering parameter obtaining module is configured to display a graphic of the Gerber file online, and use the preset parameter extraction rule to parse the Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain the PCB engineering parameter;
输出模块, 用于根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出 其中, 所述工程参数获取模块具体包括:  The output module is configured to generate a SPEC file according to the PCB engineering parameter, and output the parsing result, and output the module, where the engineering parameter obtaining module specifically includes:
命名识别单元,用于当所述 Gerber文件采用标准命名时,则解析获取到 PCB 层别及层数并通过预设的层别命名规则修改 Gerber文件的层别名称, 根据层别 名称自动按层别排序;  a naming and identifying unit, configured to: when the Gerber file adopts a standard naming, parse and obtain the PCB layer and the number of layers, and modify the layer name of the Gerber file by using a preset layer naming rule, and automatically press the layer name according to the layer name. Do not sort;
图形识别单元, 用于当所述 Gerber文件未采用标准命名时, 则在读取到 Gerber文件后,利用图形学技术识别到 PCB线路及层别并通过预设的层别命名 规则修改 Gerber文件的层别名称, 根据层别名称自动按层别排序。  a graphic recognition unit, configured to: when the Gerber file is not named by the standard, after the Gerber file is read, use the graphic technology to identify the PCB line and the layer and modify the Gerber file by using a preset layer naming rule. The layer name, automatically sorted by layer name according to the layer name.
其中, 所述工程参数获取模块具体包括:  The engineering parameter obtaining module specifically includes:
第一解析单元, 用于解析所述 Gerber文件获取到顶层线路区域范围, 根据 所述参数提取规则参照所述顶层线路区域范围获取初步钻孔格式以及位置分布 区域, 并与顶层焊盘中心点对位;  a first parsing unit, configured to parse the Gerber file to obtain a top line region range, obtain a preliminary drilling format and a location distribution region according to the parameter extraction rule, and obtain a preliminary drilling pattern and a position distribution region, and a center point pair with the top layer pad Bit
钻孔参数获取单元, 用于根据对位成功率确定钻孔后, 获取到钻孔位置、 最小孔数与最小孔径, 根据预设的钻孔命名规则定义钻孔文件的盲埋孔贯通属 性, 并按钻孔中心与外层线路对齐;  The drilling parameter acquisition unit is configured to determine the drilling position, the minimum number of holes and the minimum aperture after determining the drilling according to the success rate of the alignment, and define a blind buried hole penetration property of the drilling file according to a preset drilling naming rule. And align the center of the hole with the outer line;
光圈显示单元, 用于显示光圈表的使用信息, 并高亮显示当前査看的光圈 对应的使用元素;  The aperture display unit is configured to display the usage information of the aperture table, and highlight the use element corresponding to the currently viewed aperture;
外形确定单元,用于根据 Gerber文件的图形的选择元素,构建 PCB的外形, 并计算出连续的最大外轮廓, 形成 Profile; 计算单元, 用于计算 PCB的测试点、 猡程以及需要表面处理的化金面积, 生成钻孔的刀具信息的报表。 a shape determining unit, configured to construct a shape of the PCB according to a selection element of a graphic of the Gerber file, and calculate a continuous maximum outer contour to form a profile; A calculation unit for calculating the test points of the PCB, the process, and the area of the gold that requires surface treatment, and generating a report of the tool information of the drilled hole.
其中, 所述工程参数获取模块具体包括:  The engineering parameter obtaining module specifically includes:
负片元素删除单元,用于解析所述 Gerber文件获取 PCB负片元素,删除所 述 PCB负片元素;  a negative element deleting unit, configured to parse the Gerber file to obtain a PCB negative element, and delete the PCB negative element;
筛选单元, 用于选取一图元为开始元素, 将与图元面积相差为预设的最小 搜索间距的范围作为搜索单位, 搜索与开始元素相连接的网络, 并将检测到的 非同一网络、 非尺寸线的图元确定为违例情况;  a screening unit, configured to select a picture element as a start element, and use a range that is different from the picture element area to a preset minimum search interval as a search unit, search for a network connected to the start element, and detect the non-identical network, The primitive of the non-size line is determined to be a violation;
最小线距获取单元, 用于将属于违例情况的图元由小到大排序后筛选, 以 获取到最小线距。  The minimum line spacing obtaining unit is configured to sort the primitives belonging to the violation case from small to large and select to obtain the minimum line spacing.
其中, 所述工程参数获取模块还包括:  The engineering parameter obtaining module further includes:
遍历单元, 用于遍历所述文件包, 将其中所包含的制版说明文件解析为统 一格式的文本文件;  a traversing unit, configured to traverse the file package, and parse the plate-making description file contained therein into a text file in a unified format;
匹配单元, 利用预置的通用工程参数描述语言规则库匹配所述统一格式的 文本文件提取工程参数描述文件, 并收集制版说明文件中所包含的控件信息。  The matching unit extracts the engineering parameter description file by using the preset general engineering parameter description language rule library to match the unified format text file, and collects the control information included in the plate making specification file.
其中, 所述系统还包括预置模块, 具体用于:  The system further includes a preset module, specifically configured to:
预置所述参数提取规则和 /或通用工程参数描述语言规则库;  Presetting the parameter extraction rule and/or the general engineering parameter description language rule base;
导出模块, 用于将 Gerber文件导出为 RS274X格式文件和 /或 ODB++格式 文件。  An export module for exporting Gerber files to RS274X format files and/or ODB++ format files.
本发明通过规则库对接收到的文件进行在线显示、解析、处理并识别出 PCB 工程参数, 使得系统可以自动将 PCB工程参数标准化生成 Spec文件并输出至 用户, 缩短了人工审核的时间, 提高 PCB工程审核的效率, 审核过程和审核结 果更为直观。 附图说明 The invention displays, parses, processes and recognizes the PCB engineering parameters on the received file through the rule base, so that the system can automatically standardize the PCB engineering parameters to generate the Spec file and output it to the user, shortening the manual review time and improving the PCB. The efficiency of the engineering review, the audit process and the audit results are more intuitive. DRAWINGS
图 1为本发明提供的自动审核 PCB工程文件方法一实施例的流程示意图; 图 2为本发明提供的自动审核 PCB工程文件方法一实施例中启动文件审核 模块, 利用预置规则解析所述 Gerber文件获取到 PCB工程参数步骤的流程示意 图;  1 is a schematic flowchart of an embodiment of an automatic auditing PCB engineering file according to an embodiment of the present invention; FIG. 2 is a startup file auditing module in an embodiment of an automatic auditing PCB engineering file provided by the present invention, and parsing the Gerber by using a preset rule; A schematic diagram of the process of obtaining a PCB engineering parameter step from a file;
图 3为本发明提供的自动审核 PCB工程文件方法又一实施例中启动文件审 核模块, 利用预置规则解析所述 Gerber文件获取到 PCB工程参数步骤的流程示 意图;  FIG. 3 is a schematic diagram of a process for a file auditing module in a method for automatically reviewing a PCB project file according to another embodiment of the present invention, which uses a preset rule to parse the Gerber file to obtain a PCB engineering parameter;
图 4为本发明提供的自动审核 PCB工程文件方法又一实施例中启动文件审 核模块, 利用预置规则解析所述 Gerber文件获取到 PCB工程参数步骤的流程示 意图;  4 is a schematic diagram showing a flow of a step of verifying a PCB project parameter by using a preset rule in a startup file review module according to another embodiment of the method for automatically reviewing a PCB project file provided by the present invention;
图 5为本发明提供的自动审核 PCB工程文件方法又一实施例中启动文件审 核模块, 利用预置规则解析所述 Gerber文件获取到 PCB工程参数步骤的流程示 意图;  FIG. 5 is a schematic diagram of a process of a method for activating a file auditing module according to another embodiment of the method for automatically reviewing a PCB project file provided by the present invention, and using the preset rule to parse the Gerber file to obtain a PCB engineering parameter;
图 6为本发明提供的自动审核 PCB工程文件方法又一实施例中的流程示意 图;  6 is a schematic flow chart of still another embodiment of an automatic auditing PCB engineering file method provided by the present invention;
图 7 为本发明提供的自动审核 PCB 工程文件系统一实施例中的结构示意 图;  7 is a schematic structural view of an embodiment of an automatic audit PCB engineering file system provided by the present invention;
图 8为本发明提供的自动审核 PCB工程文件系统一实施例中工程参数获取 模块的结构示意图;  8 is a schematic structural diagram of an engineering parameter acquisition module in an embodiment of an automatic audit PCB engineering file system provided by the present invention;
图 9为本发明提供的自动审核 PCB工程文件系统又一实施例中工程参数获 取模块的结构示意图;  9 is a schematic structural diagram of an engineering parameter acquisition module in another embodiment of an automatic audit PCB engineering file system provided by the present invention;
图 10为本发明提供的自动审核 PCB工程文件系统又一实施例中工程参数获 取模块的结构示意图; 10 is an engineering parameter obtained in another embodiment of the automatic audit PCB engineering file system provided by the present invention Take a schematic diagram of the structure of the module;
图 11为本发明提供的自动审核 PCB工程文件系统又一实施例中的结构示意 图;  11 is a schematic structural view of still another embodiment of an automatic audit PCB engineering file system provided by the present invention;
图 12为本发明提供的自动审核 PCB工程文件系统又一实施例中的结构示意 图。  Figure 12 is a schematic structural view of still another embodiment of the automatic audit PCB engineering file system provided by the present invention.
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说 明。  The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式 detailed description
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。  The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明涉及一种自动审核 PCB工程文件的方法及系统, 其中, PCB工程文 件包括有 Gerber文件 (光绘文件) 、 制版说明文件等。 在对 Gerber文件进行 的审核中根据协议规则进行解析, 利用几何图形学技术与工程经验规则计算 Gerber工程参数 (层数、 最小线宽、 最小线距、 尺寸、 孔数、 最小孔径等), 而 制版说明文件的审核则利用预置规则库识别文字描述的工程信息(板厚、 表面 处理、 铜厚等), 最后整合输出工程审核单。  The present invention relates to a method and system for automatically auditing PCB engineering files, wherein the PCB engineering files include Gerber files (photographic files), plate making documents, and the like. In the review of the Gerber file, the protocol rules are used to analyze the Gerber engineering parameters (layer number, minimum line width, minimum line spacing, size, number of holes, minimum aperture, etc.) using geometrical techniques and engineering experience rules. The review of the plate-making documentation uses the preset rule base to identify the engineering information (thickness, surface treatment, copper thickness, etc.) of the text description, and finally integrates the output engineering review form.
本发明主要涉及对 PCB工程文件的自动审核, 利用预置的规则对文件进行 快速的复核后, 自动生成 PCB工程审核单等, 大大缩短了人工复核的时间, 提 高了材料效率。  The invention mainly relates to the automatic auditing of PCB engineering files, and the rapid review of the files by using preset rules, automatically generating PCB engineering auditing orders, etc., which greatly shortens the time of manual review and improves material efficiency.
请参照图 1, 为本发明一实施例中提出的自动审核 PCB工程文件的方法的 流程示意图, 如图 1所示, 该方法包括: 步骤 110: 接收用户提交的文件包, 所述文件包包含 Gerber文件和 /或制 版说明文件; 1 is a schematic flowchart of a method for automatically reviewing a PCB project file according to an embodiment of the present invention. As shown in FIG. 1, the method includes: Step 110: Receive a file package submitted by a user, where the file package includes a Gerber file and/or a plate making specification file;
服务器通过互联网 (例如电子邮件) 、 客户端或者局域网等方式接收到用 户提交的文件包, 在本实施例中, 该文件包内包含有 Gerber 文件, 在其他的 实施例中, 该文件包内还包含制版说明文件。 其中, Gerber文件是指 PCB制造 业中的光绘文件, 可以通过设计软件导出, 例如 Protel , AutoCAD , PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN等设计软件。 Gerber 文件中包含 图元的坐标、 形状描述等参数。 标准的 Gerber文件可以分为 RS-274和 RS-274X 两 种 , 常 用 的 数 据 码 包 括 ASCII  The server receives the file submitted by the user through the Internet (for example, an email), a client, or a local area network. In this embodiment, the file includes a Gerber file. In other embodiments, the file package includes Contains the platemaking documentation. Among them, Gerber files refer to the lithography files in the PCB manufacturing industry, which can be exported through design software, such as Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN and other design software. The Gerber file contains parameters such as coordinates, shape descriptions, and so on. Standard Gerber files can be divided into RS-274 and RS-274X. Commonly used data codes include ASCII.
器公司(IBM)推出的字符编码表)等。 而制版说明文件是对 PCB设计的补充, 其 中包含有对 PCB工程参数的说明, 例如 PCB工程参数的描述、 控件。 不同用户 提供的制版说明文件格式及内容不同, 例如, 可以为 Word格式、 Excel格式、 TXT格式或者图片文件等, 在一些制版说明文件中还包含控件或者版面信息。 The company (IBM) introduced the character encoding table) and so on. The plate-making documentation complements the PCB design and includes a description of the PCB engineering parameters, such as descriptions of PCB engineering parameters and controls. The format and content of the plate-making instructions provided by different users are different. For example, it can be Word format, Excel format, TXT format or image file, etc. Some control documents also contain controls or layout information.
步骤 120: 在线显示 Gerber 文件的图形, 利用预置的参数提取规则解析 Gerber 文件和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB 工程参数;  Step 120: Display a graphic of the Gerber file online, and parse the Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain the PCB engineering parameter by using the preset parameter extraction rule;
其中, 参数提取规则根据 PCB文件的工程设计规律特点预先设定, 使得系 统利用该参数提取规则识别到 PCB文件的某一特征后即可获取到 PCB文件相应 的工程参数。 参数提取规则包括图元定义规则、 格式规则、 专用规则、 公式规 则、 特定算法程序包、 经验规则以及整合规则; 通用工程参数描述语言规则可 以包括: 行业规则库、 行业 SPEC项名称关键字、 行业 SPEC项值域关键字等, PCB行业规则库根据 SPEC项值域关键字和连接词关键字获得。 在接收到文件包 以后, 系统利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述 语言规则库解析制版说明文件获取到 PCB工程参数。 The parameter extraction rule is preset according to the engineering design rule of the PCB file, so that the system can obtain the corresponding engineering parameter of the PCB file by using the parameter extraction rule to identify a certain feature of the PCB file. Parameter extraction rules include primitive definition rules, format rules, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC item range keywords, etc. The PCB industry rule base is derived from SPEC item value field keywords and conjunction word keywords. After receiving the file package, the system uses the preset parameter extraction rules to parse the Gerber file and/or the general engineering parameter description language rule library to analyze the plate making specification file to obtain the PCB engineering parameters.
更为具体的, PCB 工程参数至少包括最小线宽的尺寸及出处、 最小线距的 尺寸及出处、 PCB 格式、 层别、 线路、 钻孔结构、 最小孔径、 总孔数及尺寸 等。 在本实施例中, 当用户提交的文件中包含有 Gerber 文件时, 则系统可利 用参数提取规则解析 Gerber文件获得 PCB工程参数后, 从各层提取出围住外层 线路并与接近外层线路环形大小的外框作为 PCB尺寸, 在 Gerber文件中包含工 程参数描述文件 (例如, 图片、 Word、 Excel 等) 时, 还可利用通用工程参数 描述语言匹配 Gerber文件中所包含的工程参数描述文件(例如, 图片) 以获取 工程参数。 在其他实施例中, 用户提交的文件包内包含有 Gerber 文件或者制 版说明文件, 系统根据文件包中的文件类型利用参数提取规则解析 Gerber 文 件和 /或通用工程参数描述语言解析制版说明文件, 获取到 PCB 工程参数。 所 述最小线宽的尺寸和最小线距的尺寸按 Gerber 文件中元素的中心、 内外边 缘、 端点或轨迹中心进行测量, 具体的测量标准根据实际需要进行选择。 并且 在线可视化使得査看 Gerber 图形非常方便, 可轻松实现滚轮缩放, 拖拽移 动。  More specifically, PCB engineering parameters include at least the minimum line width size and source, minimum line spacing size and source, PCB format, layer, line, hole structure, minimum aperture, total number of holes, and size. In this embodiment, when the file submitted by the user includes a Gerber file, the system may use the parameter extraction rule to parse the Gerber file to obtain the PCB engineering parameters, and then extract the outer layer line from the layers and the outer layer line. The ring-sized frame is used as the PCB size. When the project parameter description file (for example, picture, Word, Excel, etc.) is included in the Gerber file, the general engineering parameter description language can also be used to match the engineering parameter description file contained in the Gerber file. For example, picture) to get the project parameters. In other embodiments, the file submitted by the user includes a Gerber file or a plate making specification file, and the system parses the Gerber file and/or the general engineering parameter description language to resolve the plate making document according to the file type in the file package. Go to PCB engineering parameters. The size of the minimum line width and the size of the minimum line spacing are measured according to the center, inner and outer edges, end points or track center of the elements in the Gerber file, and the specific measurement standards are selected according to actual needs. And online visualization makes it easy to view Gerber graphics, making it easy to zoom in and out and drag and drop.
步骤 130: 根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显示; 在解析文件包获取到 PCB工程参数后, 将解析结果整合为标准的 SPEC (工 程审核单单据) 、 标准化的结构图 (例如, 该标准化的结构图中可以包括层结 构、 钻孔结构以及其他常用的结构图) 后, 输出显示。  Step 130: Generate a SPEC file according to the PCB engineering parameters, and integrate the analysis result to output the display; after parsing the file package to obtain the PCB engineering parameters, the analysis result is integrated into a standard SPEC (Engineering Auditing Document), a standardized structural drawing (for example, The standardized structure diagram can include layer structure, drilling structure and other commonly used structural diagrams), and the output is displayed.
请参照图 2, 更为具体的, 为又一实施例中自动审核 PCB工程文件的方法 中获取到 PCB工程参数的具体流程示意图, 在本实施例中, 并在步骤 120中采 取以下步骤获取工程参数: Please refer to FIG. 2 , and more specifically, a specific process diagram for obtaining PCB engineering parameters in a method for automatically reviewing a PCB project file in another embodiment. In this embodiment, and in step 120, Take the following steps to get the project parameters:
步骤 121 : 当 Gerber文件为标准命名时, 解析该 Gerber文件获取到 PCB 层别及层数并通过预设的层别命名规则修改 Gerber 文件的层别名称, 根据层 别名称自动按层别排序。  Step 121: When the Gerber file is named as a standard, the Gerber file is parsed to obtain the PCB layer and the number of layers, and the layer name of the Gerber file is modified by a preset layer naming rule, and the layer name is automatically sorted according to the layer name.
若读取到的 Gerber文件采用了标准命名, 那么系统在识别到 Gerber文件 后根据 Gerber文件名, 参照命名规则可以识别出 PCB层别及层数, 并针对不同 标准下的命名, 根据预设的命名规则给予统一命名, 具体的方式包括在层别名 称中用后缀定义层别, 如 top。  If the read Gerber file is named by the standard, then after identifying the Gerber file, the system can identify the PCB layer and the number of layers according to the naming rules according to the Gerber file name, and according to the naming of different standards, according to the preset The naming rules give uniform naming. The specific way includes defining the layer with a suffix in the layer name, such as top.
步骤 122: 当所述 Gerber文件未采用标准命名时, 则在读取到 Gerber文 件后, 利用图形学技术识别到 PCB线路及层别并通过预设的层别命名规则修改 Gerber文件的层别名称, 根据层别名称自动按层别排序。  Step 122: When the Gerber file is not named by the standard, after the Gerber file is read, the PCB circuit and the layer are identified by using the graphic technology, and the layer name of the Gerber file is modified by a preset layer naming rule. , automatically sort by layer name according to the layer name.
对于没有采用标准命名规则命名的 Gerber文件, 则无法直接获取到 PCB层 别及层数。 此时, 系统从读取到的 Gerber 文件中读取到的图元信息, 例如, PCB导线特性、 铜皮形状、 散热光圈、 分压图形状等, 由于 PCB每一层别的功 能不同会包含不同的图元, 则利用图形学技术识别到 PCB层数以及层别, 同样 在识别结果的基础上根据预设的命名规则给予统一命名, 具体的方式包括在层 别名称中用后缀定义层别, 如 top。  For Gerber files that are not named with standard naming rules, the PCB layer and number of layers cannot be obtained directly. At this time, the system reads the element information from the read Gerber file, for example, PCB wire characteristics, copper shape, heat dissipation aperture, pressure division pattern shape, etc., due to different functions of each layer of the PCB will be included Different primitives use graphics technology to identify the number of PCB layers and layers. Based on the recognition results, they are uniformly named according to the preset naming rules. The specific method includes defining the layer with a suffix in the layer name. , such as top.
在又一实施例中, 系统从 Gerber文件中解析获取到 PCB钻孔格式、 位置、 孔数以及孔径等 PCB工程参数, 请参照图 3, 为又一实施例中自动审核 PCB工 程文件的方法中获取到 PCB工程参数的具体的流程示意图, 如图 3所示, 步骤 120具体包括:  In another embodiment, the system parses the PCB engineering parameters such as the PCB drilling format, the position, the number of holes, and the aperture from the Gerber file. Referring to FIG. 3, in another embodiment, the method for automatically reviewing the PCB engineering file is used. A specific process diagram of the PCB engineering parameters is obtained. As shown in FIG. 3, step 120 specifically includes:
步骤 123: 解析 Gerber文件获取顶层线路区域范围, 根据参数提取规则参 照所述顶层线路区域范围获取初步钻孔格式以及位置分布区域, 并与顶层焊盘 中心点对位。 Step 123: Parsing the Gerber file to obtain a range of the top line region, and obtaining a preliminary drilling pattern and a position distribution region according to the parameter extraction rule by referring to the top layer line region range, and the top layer pad The center point is aligned.
其中, 参数提取规则根据钻孔坐标形式对应的面积排布规律而设置, 系统 解析 Gerber 文件后获取到顶层线路区域等数据, 根据预置规则参照顶层线路 区域, 获取到初步钻孔格式以及位置分布区域, 进一步地, 将初步确定的钻孔 格式及位置与顶层焊盘重心对位, 通常选取位置分布区域中的极值钻孔进行对 位, 如左上、 左中、 左下、 右上、 右中、 右下、 上中、 下中等位置的钻孔, 并 统计各极值钻孔的对位成功率。  The parameter extraction rule is set according to the area arrangement rule corresponding to the drilling coordinate form, and the system parses the Gerber file to obtain data such as the top line area, and refers to the top line area according to the preset rule to obtain the preliminary drilling pattern and the position distribution. The area, further, aligns the initially determined drilling pattern and position with the center of gravity of the top layer pad, and generally selects the extreme value drilling holes in the position distribution area for alignment, such as upper left, middle left, lower left, upper right, right middle, Drill holes in the lower right, upper middle and lower middle positions, and count the success rate of the alignment of each extreme drilling.
步骤 124: 根据对位成功率确定钻孔后, 获取到钻孔位置、 最小孔数与最 小孔径, 根据预设的钻孔命名规则定义钻孔文件的盲埋孔贯通属性, 并按钻孔 中心与外层线路对齐。  Step 124: After determining the drilling according to the success rate of the alignment, obtaining the drilling position, the minimum number of holes and the minimum aperture, defining a blind buried hole penetration property of the drilling file according to a preset drilling naming rule, and pressing the drilling center Align with the outer line.
将对位成功率高的极值钻孔确定为钻孔, 进而获取到钻孔位置、 最小孔数 与最小孔径等 PCB工程参数, 例如将命名为 drll-3定义为贯穿 1-3层的钻孔, 依次类推, drl2-4定义为贯穿 1-4的钻孔。  The extreme drilling with high success rate is determined as the drilling hole, and then the PCB engineering parameters such as the drilling position, the minimum number of holes and the minimum aperture are obtained. For example, the drill named drll-3 is defined as a drill passing through 1-3 layers. Holes, and so on, drl2-4 are defined as drill holes that run through 1-4.
步骤 125: 显示光圈表的使用信息, 并高亮显示当前査看的光圈对应的使 用元素。  Step 125: Display the usage information of the aperture table, and highlight the use element corresponding to the currently viewed aperture.
高亮显示当前査看光圈对应的使用元素能够使査看更为清晰, 定位更为准 确。  Highlighting the currently used element for viewing the aperture will make the view clearer and the positioning more accurate.
步骤 126: 根据 Gerber文件的图形的选择元素, 构建 PCB的外形, 并计算 出连续的最大外轮廓, 形成 Profile。  Step 126: According to the selection element of the graphic of the Gerber file, construct the shape of the PCB, and calculate the continuous maximum outer contour to form a profile.
最大外轮廓是一个封闭的多边形, 通过对该多边形的计算可以确定所需 PCB的大小。  The largest outer contour is a closed polygon, and the calculation of the polygon determines the size of the desired PCB.
步骤 127: 计算 PCB的测试点、 猡程以及需要表面处理的化金面积, 生成 钻孔的刀具信息的报表。 该步骤中获得的数据是 PCB生产测试过程中所需的重要参数, 并在此基础 上能进一步按客人要求参数化设计 Set , 以便套版出货。 Step 127: Calculate the test points of the PCB, the process, and the area of the gold that needs to be surface treated, and generate a report of the tool information of the hole. The data obtained in this step is an important parameter required in the PCB production test process, and on this basis, the Set can be further parameterized according to the customer's requirements, so that the package can be shipped.
请参照图 4, 为又一实施例中自动审核 PCB工程文件的方法中解析 Gerber 文件获取到 PCB工程参数的流程示意图, 如图 4所示, 步骤 120中的具体步骤 包括:  Referring to FIG. 4, a flow chart for parsing a Gerber file to obtain PCB engineering parameters in a method for automatically auditing a PCB project file in another embodiment is shown in FIG. 4. The specific steps in step 120 include:
步骤 128: 解析 Gerber文件获取 PCB负片元素, 删除 PCB负片元素; 解析 Gerber文件获取到 PCB线路后, 利用多边形差运算合并获取 PCB负片 元素, 将负片元素删除。  Step 128: Parse the Gerber file to obtain the PCB negative element, and delete the PCB negative element; After parsing the Gerber file to obtain the PCB line, use the polygon difference operation to merge and obtain the PCB negative element, and delete the negative element.
步骤 129: 选取一图元为开始元素, 将与图元面积相差为预设的最小搜索 间距的范围作为搜索单位, 搜索与开始元素相连接的网络确定为搜索范围, 并 将检测到的非同一网络、 非尺寸线的图元确定为违例情况;  Step 129: Select a picture element as a start element, and use a range that is different from the picture element area to a preset minimum search interval as a search unit, and search for a network connected to the start element to determine a search range, and detect the non-identity The elements of the network and non-size lines are determined to be illegal;
在本实施例中, 以开始元素为焊盘为例, 将与焊盘面积相差为预设的最小 搜索间距 (例如, 可以为 lOmi l ) 的范围确定为搜索范围, 将搜索范围内非本 网络、 非尺寸线的图元是否距离小于 10mi l, 若是, 则将其确定为违例情况。  In this embodiment, taking the start element as a pad as an example, the range of the minimum search pitch (for example, may be lOmi l ) that is different from the pad area is determined as the search range, and the search range is not the network. If the distance of the non-dimension line is less than 10mi l, if it is, it is determined to be a violation.
步骤 12A: 将属于违例情况的图元由小到大排序后筛选, 以获取到最小线 距;  Step 12A: Sorting the primitives belonging to the violation case from small to large and filtering to obtain the minimum line spacing;
将属于违例情况的图元由小到大排序, 识别到有暴露的线对塞选出, 以排 除假线以及铜皮从而获取到真实的最小线距。  The primitives belonging to the violation are sorted from small to large, and the exposed line pairs are identified to remove the false lines and the copper skin to obtain the true minimum line spacing.
请参照图 5, 图 5为又一实施例中自动审核 PCB工程文件的方法中解析制 版说明文件的流程示意图, 步骤 120具体包括:  Referring to FIG. 5, FIG. 5 is a schematic flowchart of analyzing a plate-making specification file in a method for automatically reviewing a PCB project file in another embodiment, and step 120 specifically includes:
步骤 12B: 遍历文件包, 将其中所包含的制版说明文件解析为统一格式的 文本文件;  Step 12B: traversing the file package, and parsing the plate description file contained therein into a text file in a unified format;
由于各个 PCB设计方案的描述规则、 版面不同, 会存在不同格式的制版说 明文件, 系统需要从不同格式的制版说明文件中获取到 PCB工程参数信息。 当 系统遍历接收到的文件包中还包括单独的制版说明文件或者嵌入于 Gerber 文 件中的制版说明文件时, 收集制版说明文件中所包含的 PCB工程参数信息。 在 本实施例中, 先将不同格式的制版说明文件转化为统一格式的文本文件, 从而 在后续的步骤中直接对该统一格式的文本文件进行处理, 当该制版说明文件为 PDF格式或者图片时, 利用 0C (ROpticalCharacterRecognition, 光学字符识 别技术) 技术将其先转换为 Word, 并进一步通过 Word解析引擎转化为文本格 式; 当该制版说明文件为 Word时, 通过 Word解析引擎转化为文本格式; 当该 制版说明文件为 Excel格式时, 通过 Excel解析引擎转化为文本格式等。 Due to the different description rules and layouts of each PCB design scheme, there will be different formats of the plate making theory. For the document, the system needs to obtain the PCB engineering parameter information from the plate-making specification files of different formats. Collect PCB engineering parameter information contained in the plate specification file when the system traverses the received package to include a separate plate specification file or a plate specification file embedded in the Gerber file. In this embodiment, the plate-making description file of different formats is first converted into a text file of a unified format, so that the text file of the unified format is directly processed in the subsequent steps, when the plate-making specification file is a PDF format or a picture. , using 0C (ROpticalCharacterRecognition, optical character recognition technology) technology to convert it to Word, and further converted to text format through the Word parsing engine; when the plate-making specification file is Word, through the Word parsing engine into a text format; When the plate specification file is in Excel format, it is converted into a text format by the Excel parsing engine.
步骤 12C: 利用预置的通用工程参数描述语言规则库匹配统一格式的文本 文件提取工程参数描述文件, 并收集制版说明文件中包含的控件信息;  Step 12C: extracting an engineering parameter description file by using a preset general engineering parameter description language rule library to match a unified format text file, and collecting control information included in the plate making specification file;
其中, 根据实际情况, 该通用工程参数描述语言规则库具体可以包括但不 限于行业规则库(其中可包含 SPEC项目值域关键字及连接关键词)、 行业 SPEC 项名称关键字、 行业 SPEC 项值域关键字等。 该规则库可以以特定的数据格式 预先存储于系统中的存储器中。 当系统初始化后, 从存储器中调用该通用工程 参数描述语言规则库后匹配步骤 S280 中获取到的统一格式的文本文件, 例 如, 可以首先利用行业规则库对该文本文件进行全文匹配, 以提取到关键字, 若文本中存在同义词, 可先将其转化为行业标准单词, 进一步利用行业 SPEC 项名称关键字匹配收集到的关键字以获取到 SPEC项目值域后, 判断 SPEC项目 值域的选中项获取到相关数据, 并输出标准 SPEC 项目值域等相关数据。 除此 以外, 系统还判断制版说明文件的控件中, 以便提取到相关工程参数描述数 据。 在通过以上步骤对制版说明文件进行审核的同时, 也支持传统的原始文件 审核以对审核进行补充。 从制版说明文件获取到控件信息及工程参数描述文件后, 将匹配制版说明 文件获取到的控件信息及工程参数描述文件与解析 Gerber 文件获取到的相关 参数整合后输出显示标准的工程审核单、 结构图等。 The general engineering parameter description language rule base may specifically include, but is not limited to, an industry rule base (which may include SPEC item value domain keywords and connection keywords), an industry SPEC item name keyword, and an industry SPEC item value. Domain keywords, etc. The rule base can be pre-stored in a memory in the system in a specific data format. After the system is initialized, the general engineering parameter description language rule base is called from the memory and then matched with the unified format text file obtained in step S280. For example, the text file may be firstly matched by the industry rule library to extract Keyword, if there is a synonym in the text, you can first convert it into an industry standard word, and further use the industry SPEC item name keyword to match the collected keywords to obtain the SPEC project value field, and then judge the selected item of the SPEC project value field. Get relevant data and output relevant data such as standard SPEC project value range. In addition to this, the system also determines the control of the plate specification file in order to extract the relevant engineering parameter description data. While reviewing the platemaking documentation through the above steps, it also supports traditional original document review to supplement the review. After obtaining the control information and the engineering parameter description file from the plate making specification file, the control information and the engineering parameter description file obtained by matching the plate making specification file are integrated with the relevant parameters obtained by parsing the Gerber file, and the standard engineering review form and structure are displayed. Figure and so on.
请参照图 6, 在前述实施例的基础上, 又一实施例中, 在接步骤 1 10之前 还包括:  Referring to FIG. 6, on the basis of the foregoing embodiment, in another embodiment, before step 1 10, the method further includes:
步骤 100 : 预置参数提取规则和 /或通用工程参数描述语言规则库; 在本实施例中, 系统可以接受用户的输入预置参数提取规则和 /或通用工 程参数描述语言规则库, Gerber文件解析规则包括图元定义规则、 格式规则、 专用规则、 公式规则、 特定算法程序包、 经验规则以及整合规则; 通用工程参 数描述语言规则可以包括: 行业规则库、 行业 SPEC项名称关键字、 行业 SPEC 项值域关键字等。 PCB行业规则库根据 SPEC 项值域关键字和连接词关键字获 得。 通过预置的步骤, 使得系统可以及时地更新参数提取规则和通用工程参数 描述语言规则库, 使得审核的结果更为准确。 在系统启动后, 对各规则库进行 初始化了, 以审核接收到文件包并获取到工程参数。  Step 100: Pre-set parameter extraction rule and/or general engineering parameter description language rule base; In this embodiment, the system can accept the user input preset parameter extraction rule and/or general engineering parameter description language rule base, Gerber file parsing Rules include primitive definition rules, formatting rules, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC items Value keywords, etc. The PCB industry rule base is derived from SPEC item value keywords and conjunction keywords. Through the preset steps, the system can update the parameter extraction rules and the general engineering parameter description language rule base in time, so that the audit result is more accurate. After the system is started, each rule base is initialized to review the received package and obtain the project parameters.
在步骤 130之后还包括:  After step 130, the method further includes:
步骤 140 : 将 Gerber文件导出为 RS274X格式文件和 /或 0DB++格式文件。 将 Gerber文件导出为 RS274X格式文件和 /或 0DB++格式文件能进一步扩大 本方案的应用范围, 根据用户的需要提供更丰富的服务。  Step 140: Export the Gerber file to an RS274X format file and/or an 0DB++ format file. Exporting Gerber files to RS274X format files and / or 0DB++ format files can further expand the scope of application of this solution and provide richer services according to users' needs.
本发明提供的自动审核 PCB工程文件的方法, 通过规则库对接收到的文件 进行在线显示、 解析、 处理并识别出 PCB工程参数, 使得系统可以自动将 PCB 工程参数标准化生成 Spec 文件并输出至用户, 缩短了人工审核的时间, 提高 PCB工程审核的效率, 审核过程和审核结果更为直观。  The method for automatically auditing PCB engineering files provided by the invention directly displays, parses, processes and recognizes PCB engineering parameters through the rule library, so that the system can automatically normalize PCB engineering parameters to generate Spec files and output to the user. , shortening the time for manual review, improving the efficiency of PCB engineering review, and making the audit process and audit results more intuitive.
请参照图 7, 为本发明提出的自动审核 PCB工程文件的系统 70的结构示意 图, 如图 7所示, 该系统包括: Please refer to FIG. 7, which is a schematic diagram of the structure of the system 70 for automatically reviewing PCB engineering files proposed by the present invention. Figure, as shown in Figure 7, the system includes:
接收模块 710, 用于接收用户提交的文件包, 所述文件包中包含 Gerber文 件和 /或制版说明文件;  The receiving module 710 is configured to receive a file package submitted by the user, where the file package includes a Gerber file and/or a plate making specification file;
工程参数获取模块 720, 用于在线显示 Gerber文件的图形, 利用预置的参 数提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明 文件获取到 PCB工程参数;  The engineering parameter obtaining module 720 is configured to display a graphic of the Gerber file online, and parse the Gerber file and/or the general engineering parameter description language rule library by using a preset parameter extraction rule to obtain a PCB engineering parameter;
输出模块 730, 用于根据 PCB工程参数生成 SPEC文件, 整合解析结果后输 出显示。  The output module 730 is configured to generate a SPEC file according to the PCB engineering parameters, and integrate the analysis result to output the display.
接收模块 710通过互联网 (例如电子邮件) 、 客户端或者局域网等方式接 收到用户提交的文件包, 在本实施例中, 该文件包内可以包含有 Gerber 文 件, 在其他的实施例中, 该文件包内还包含制版说明文件。 其中, Gerber文件 是指 PCB 制造业中的光绘文件, 可以通过设计软件导出, 例如 Protel , AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN等涉及软件。 Gerber文 件中包含图元的坐标、 形状描述等参数。 标准的 Gerber文件可以分为 RS-274 和 RS-274X两种, 常用的数据码包括 ASCII , EBCDIC等。 而制版说明文件是对 PCB设计的补充, 其中包含有对 PCB工程参数的说明, 例如 PCB工程参数的描 述、 控件。 不同用户提供的制版说明文件格式及内容不同, 例如, 可以为 Word 格式、 Excel 格式、 TXT格式或者图片文件等, 在一些制版说明文件中还包含 控件或者版面信息。  The receiving module 710 receives the file submitted by the user through the Internet (for example, an email), a client, or a local area network. In this embodiment, the file may include a Gerber file. In other embodiments, the file The plate also contains a plate description document. Among them, Gerber files refer to the lithography files in the PCB manufacturing industry, which can be exported through design software, such as Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN and other related software. The Gerber file contains parameters such as coordinates and shape descriptions of the primitives. Standard Gerber files can be divided into RS-274 and RS-274X. Common data codes include ASCII, EBCDIC and so on. The plate-making documentation complements the PCB design and includes descriptions of PCB engineering parameters, such as descriptions of PCB engineering parameters and controls. The format and content of the plate-making instructions provided by different users are different. For example, it can be Word format, Excel format, TXT format or image file, etc. Some control documents also contain controls or layout information.
其中, 参数提取规则根据 PCB文件的工程设计规律特点预先设定, 使得工 程参数模块 720利用该参数提取规则在识别到 PCB文件的某一特征后即可获取 到 PCB文件相应的工程参数。 参数提取规则可以包括 Gerber文件解析规则和 / 或通用工程参数描述语言库, Gerber文件解析规则包括图元定义规则、 格式规 则、 专用规则、 公式规则、 特定算法程序包、 经验规则以及整合规则; 通用工 程参数描述语言规则可以包括: 行业规则库、 行业 SPEC 项名称关键字、 行业 SPEC项值域关键字等。 PCB行业规则库根据 SPEC项值域关键字和连接词关键字 获得。 在接收到文件包以后, 工程参数获取模块 20 利用预置的参数提取规则 对该文件包进行识别, 以获取 PCB工程参数。 The parameter extraction rule is preset according to the engineering design rule of the PCB file, so that the engineering parameter module 720 can obtain the corresponding engineering parameter of the PCB file after identifying a certain feature of the PCB file by using the parameter extraction rule. Parameter extraction rules may include Gerber file parsing rules and/or general engineering parameter description language libraries, Gerber file parsing rules including primitive definition rules, format rules Then, special rules, formula rules, specific algorithm packages, empirical rules, and integration rules; general engineering parameter description language rules can include: industry rule base, industry SPEC item name keywords, industry SPEC item value domain keywords, and so on. The PCB industry rule base is derived from SPEC item value field keywords and conjunction word keywords. After receiving the file package, the engineering parameter acquisition module 20 identifies the file package by using a preset parameter extraction rule to obtain PCB engineering parameters.
更为具体的, PCB 工程参数至少包括最小线宽的尺寸及出处、 最小线距的 尺寸及出处、 PCB 格式、 层别、 线路、 钻孔结构、 最小孔径、 总孔数及尺寸 等。 在本实施例中, 当用户提交的文件中包含有 Gerber 文件时, 则工程参数 获取模块 720可利用参数提取规则解析 Gerber文件获得 PCB工程参数后, 从各 层提取出围住外层线路并与接近外层线路环形大小的外框作为 PCB 尺寸, 在 Gerber文件中包含工程参数描述文件 (例如, 图片、 Word、 Excel等) 时, 工 程参数获取模块 720还可利用通用工程参数描述语言匹配 Gerber文件以获取工 程参数。 在其他实施例中, 用户提交的文件包内包含有 Gerber 文件或者制版 说明文件, 工程参数获取模块 720根据文件包中的文件类型利用参数提取规则 解析 Gerber文件和 /或通用工程参数描述语言解析制版说明文件, 获取到 PCB 工程参数。  More specifically, PCB engineering parameters include at least the minimum line width size and source, minimum line spacing size and source, PCB format, layer, line, hole structure, minimum aperture, total number of holes, and size. In this embodiment, when the file submitted by the user includes the Gerber file, the engineering parameter obtaining module 720 may use the parameter extraction rule to parse the Gerber file to obtain the PCB engineering parameter, and then extract the outer layer line from each layer and The outer frame of the outer ring ring size is used as the PCB size. When the engineering parameter description file (for example, picture, Word, Excel, etc.) is included in the Gerber file, the engineering parameter obtaining module 720 can also match the Gerber file by using the general engineering parameter description language. To get engineering parameters. In other embodiments, the file submitted by the user includes a Gerber file or a plate making specification file, and the engineering parameter obtaining module 720 uses the parameter extraction rule to parse the Gerber file and/or the general engineering parameter description language according to the file type in the file package. Documentation, get PCB engineering parameters.
在解析文件包获取到 PCB工程参数后, 输出模块 730将解析结果整合将其 为标准的工程审核单 SPEC单据、 标准化的结构图(例如, 该标准化的结构图中 可以包括层结构、 钻孔结构以及其他常用的结构图) 后, 输出显示。  After parsing the file package to obtain the PCB engineering parameters, the output module 730 integrates the analysis result into a standard engineering review form SPEC document, a standardized structure diagram (for example, the standardized structure diagram may include a layer structure, a drilling structure) As well as other commonly used structural diagrams), the output is displayed.
请参照图 8, 为又一实施例中自动审核 PCB工程文件的系统 70中工程参数 获取模块 720的结构示意图, 在前述实施例的基础上, 更为具体的, 工程参数 获取模块 720具体包括命名识别单元 721和图形识别单元 722, 其中:  Please refer to FIG. 8 , which is a schematic structural diagram of an engineering parameter obtaining module 720 in a system 70 for automatically reviewing a PCB project file in another embodiment. On the basis of the foregoing embodiment, more specifically, the engineering parameter obtaining module 720 specifically includes a name. Identification unit 721 and graphic recognition unit 722, wherein:
命名识别单元 721, 用于当 Gerber文件为标准命名时, 解析该 Gerber文 件获取到 PCB层别及层数并通过预设的层别命名规则修改 Gerber文件的层别名 称, 根据层别名称自动按层别排序; a naming and identifying unit 721, configured to parse the Gerber file when the Gerber file is named as a standard Get the PCB layer and the number of layers and modify the layer name of the Gerber file by the preset layer naming rules, and automatically sort by layer name according to the layer name;
图形识别单元 722, 用于当所述 Gerber文件未采用标准命名时, 则在读取 到 Gerber文件后, 利用图形学技术识别到 PCB线路及层别并通过预设的层别命 名规则修改 Gerber文件的层别名称, 根据层别名称自动按层别排序。  The graphic recognition unit 722 is configured to: when the Gerber file is not used for standard naming, after the Gerber file is read, use the graphic technology to identify the PCB line and the layer and modify the Gerber file by using a preset layer naming rule. The layer name is automatically sorted by layer name according to the layer name.
若读取到的 Gerber文件采用了标准命名, 那么命名识别单元 721在识别到 Gerber文件后根据 Gerber文件名, 参照命名规则可以识别出 PCB层别及层数。 而对于没有采用标准命名规则命名的 Gerber文件, 则无法直接获取到 PCB层别 及层数。 此时, 图形识别单元 722从 Gerber文件中读取到图元信息, 例如, PCB导线特性、 铜皮形状、 散热光圈、 分压图形状等, 由于 PCB每一层别的功 能不同会包含不同的图元, 则图形识别单元 722利用图形识别技术识别到 PCB 层数及层别。  If the read Gerber file is named by standard, the name recognition unit 721 can identify the PCB layer and the layer number according to the Gerber file name and the reference naming rule after identifying the Gerber file. For Gerber files that are not named with standard naming rules, the PCB layer and layer number cannot be obtained directly. At this time, the graphic recognition unit 722 reads the primitive information from the Gerber file, for example, the PCB wire characteristics, the copper shape, the heat dissipation aperture, the pressure division pattern shape, etc., and the different functions of each layer of the PCB may contain different The graphics element 722 identifies the number of layers and layers of the PCB using pattern recognition techniques.
进一步地, 在又一实施例中, 工程参数获取模块 720还可以从 Gerber文件 中获取到 PCB钻孔格式、 位置、 孔数以及孔径等 PCB工程参数, 请参照图 9, 为又一实施例中工程参数获取模块 720的结构示意图, 如图 9所示, 该模块具 体包括:  Further, in another embodiment, the engineering parameter acquisition module 720 can also obtain PCB engineering parameters such as PCB drilling format, position, number of holes, and aperture from the Gerber file. Referring to FIG. 9, in another embodiment, A schematic structural diagram of the engineering parameter obtaining module 720, as shown in FIG. 9, the module specifically includes:
第一解析单元 723, 用于解析所述 Gerber文件获取到顶层线路区域范围, 根据参数提取规则参照顶层线路区域范围获取初步钻孔格式以及位置分布区 域, 并与顶层焊盘中心点对位;  The first parsing unit 723 is configured to parse the Gerber file to obtain a range of the top line region, and obtain a preliminary drilling format and a location distribution area according to the parameter extraction rule by referring to the top line region range, and align with the top pad center point;
钻孔参数获取单元 724, 用于根据对位成功率确定钻孔后, 获取到钻孔位 置、 最小孔数与最小孔径, 根据预设的钻孔命名规则定义钻孔文件的盲埋孔贯 通属性, 并按钻孔中心与外层线路对齐。  The drilling parameter obtaining unit 724 is configured to obtain a drilling position, a minimum hole number and a minimum aperture after determining the drilling according to the alignment success rate, and define a blind buried hole penetration property of the drilling file according to a preset drilling naming rule. , and align the center of the hole with the outer line.
光圈显示单元 725, 用于显示光圈表的使用信息, 并高亮显示当前査看的 光圈对应的使用元素; The aperture display unit 725 is configured to display usage information of the aperture table, and highlight the currently viewed The use element corresponding to the aperture;
外形确定单元 726, 用于根据 Gerber文件的图形的选择元素, 构建 PCB的 外形, 并计算出连续的最大外轮廓, 形成 Profile;  The shape determining unit 726 is configured to construct a shape of the PCB according to the selected element of the graphic of the Gerber file, and calculate a continuous maximum outer contour to form a profile;
计算单元 727, 用于计算 PCB的测试点、 猡程以及需要表面处理的化金面 积, 生成钻孔的刀具信息的报表。  The calculation unit 727 is used to calculate the test points of the PCB, the process, and the area of the gold that needs surface treatment, and generate a report of the tool information of the hole.
其中, 参数提取规则根据钻孔坐标形式对应的面积排布规律而设置, 第一 解析单元 723解析 Gerber文件后获取到顶层线路区域等数据, 根据预置规则参 照顶层线路区域, 获取到初步钻孔格式以及位置分布区域, 进一步地, 将初步 确定的钻孔格式及位置与顶层焊盘重心对位, 通常选取位置分布区域中的极值 钻孔进行对位, 如左上、 左中、 左下、 右上、 右中、 右下、 上中、 下中等位置 的钻孔, 并统计各极值钻孔的对位成功率。  The parameter extraction rule is set according to the area arrangement rule corresponding to the drilling coordinate form, and the first parsing unit 723 parses the Gerber file to obtain data such as the top line area, and refers to the top line area according to the preset rule to obtain the preliminary drilling hole. The format and the position distribution area, further, the initially determined drilling pattern and position are aligned with the center of gravity of the top layer pad, and the extreme value drilling holes in the position distribution area are usually selected for alignment, such as upper left, middle left, lower left, upper right , the middle right, the lower right, the upper middle and lower middle holes, and count the success rate of each extreme drilling.
第一解析单元 723统计出对位成功率后, 钻孔参数获取单元 724将对位成 功率高的极值钻孔确定为钻孔, 进而获取到钻孔位置、 最小孔数与最小孔径等 PCB工程参数数据。  After the first parsing unit 723 calculates the success rate of the alignment, the drilling parameter acquisition unit 724 determines the extremum drilling with high success rate of the alignment as the drilling hole, and then obtains the PCB such as the drilling position, the minimum number of holes and the minimum aperture. Engineering parameter data.
更为具体的, 又一实施例中, 工程参数获取模块 720还可以从 Gerber文件 中获取到最小线距与最小线宽, 参照图 10, 工程参数模块 720具体包括: 负片元素删除单元 728, 用于解析 Gerber文件获取 PCB负片元素, 删除检 测到的 PCB负片元素;  More specifically, in another embodiment, the engineering parameter obtaining module 720 can also obtain the minimum line spacing and the minimum line width from the Gerber file. Referring to FIG. 10, the engineering parameter module 720 specifically includes: a negative element deleting unit 728, Parsing the Gerber file to obtain the PCB negative element, and deleting the detected PCB negative element;
筛选单元 729, 用于选取一图元为开始元素, 将与图元面积相差为预设的 最小搜索间距的范围作为搜索单位, 搜索与开始元素相连接的网络确定为搜索 范围, 并将检测到的非同一网络、 非尺寸线的图元确定为违例情况;  The filtering unit 729 is configured to select a primitive as a start element, and a range that is different from the primitive area to a preset minimum search span as a search unit, and the network connected to the start element is determined as a search range, and the detected range is detected. The non-same network, non-dimension line primitives are determined to be illegal;
线距获取单元 72A, 用于将违例情况由小到大排序后筛选, 以获取到最小 线距。 负片元素删除单元 728解析 Gerber文件获取 PCB线路后, 利用多边形差运 算合并获取 PCB负片元素, 进一步将检测到的负片元素删除。 筛选单元 729以 开始元素为焊盘时为例, 将与焊盘面积相差为预设的最小搜索间距 (例如, 可 以为 lOmil ) 的范围确定为搜索范围, 将搜索范围内非本网络、 非尺寸线的图 元是否距离小于 lOmil , 若是, 则将其确定为违例情况。 线距获取单元 72A将 违例情况由小到大排序, 识别到有暴露的线对塞选出, 以排除假线以及铜皮从 而获取到真实的最小线距。 The line spacing obtaining unit 72A is configured to filter the violation cases from small to large to obtain the minimum line spacing. After the negative element deletion unit 728 parses the Gerber file to obtain the PCB line, the polygon difference element is used to obtain the PCB negative element, and the detected negative element is further deleted. The screening unit 729 takes the start element as a pad as an example, and determines a range that is different from the pad area to a preset minimum search pitch (for example, may be lOmil) as the search range, and the search range is not the network, the non-size. Whether the line's primitive is less than lOmil, and if so, it is determined to be a violation. The line spacing obtaining unit 72A sorts the violations from small to large, and recognizes that the exposed line pairs are selected to exclude the false lines and the copper sheets to obtain the true minimum line spacing.
请参照图 11, 为又一实施例中工程参数获取模块的结构示意图, 如图 11 所示, 在本实施例中, 当接收模块接收到包含 Gerber 文件及制版说明文件的 文件包时, 工程参数获取模块还包括:  Referring to FIG. 11, a schematic structural diagram of an engineering parameter obtaining module in another embodiment is shown in FIG. 11. In this embodiment, when the receiving module receives a file package including a Gerber file and a plate making specification file, the engineering parameter The acquisition module also includes:
文本解析单元 72B, 用于遍历文件包, 将其中所包含的制版说明文件解析 为统一格式的文本文件;  a text parsing unit 72B, configured to traverse the file package, and parse the plate-making description file included therein into a text file in a unified format;
匹配单元 72C, 用于利用预置的通用工程参数描述语言规则库匹配统一格 式的文本文件提取工程参数描述文件, 并手机制版说明文件中所包含的控件信 息;  The matching unit 72C is configured to extract a project parameter description file by using a preset general engineering parameter description language rule library to match the unified format text file, and control information included in the mobile phone plate making specification file;
由于各个 PCB设计方案的描述规则、 版面不同, 会存在不同格式的制版说 明文件, 系统需要从不同格式的制版说明文件中获取到 PCB工程参数信息。 在 本实施例中, 当文本解析单元 72B遍历接收到的文件包还包括单独的制版说明 文件或者嵌入于 Gerber 文件中的制版说明文件时, 收集制版说明文件中所包 含的 PCB工程参数信息。 文本解析单元 72B先将不同格式的制版说明文件转化 为统一格式的文本文件, 从而在后续的步骤中直接对该统一格式的文本文件进 行处理, 当该制版说明文件为 PDF格式或者图片时, 文本解析单元 72B利用 OCR ( OpticalCharacterRecognition , 光学字符识别技术) 技术将其先转换为 Word , 并进一步通过 Word 解析引擎转化为文本格式; 当该制版说明文件为 Word时, 文本解析单元 72B通过 Word解析引擎转化为文本格式; 当该制版说 明文件为 Excel格式时, 文本解析单元 72B通过 Excel解析引擎转化为文本格 式等。 Due to the different description rules and layouts of each PCB design scheme, there will be different formats of the plate making specification files, and the system needs to obtain the PCB engineering parameter information from the plate-making specification files of different formats. In this embodiment, when the text parsing unit 72B traverses the received file package and further includes a separate plate making specification file or a plate making specification file embedded in the Gerber file, the PCB engineering parameter information included in the plate making specification file is collected. The text parsing unit 72B first converts the plate-making description files of different formats into a text file of a unified format, so as to directly process the text file of the unified format in the subsequent steps, when the plate-making specification file is a PDF format or a picture, the text The parsing unit 72B converts it into OCR (Optical Character Recognition Technology) technology first Word, and further converted into a text format by the Word parsing engine; when the coring specification file is Word, the text parsing unit 72B converts into a text format by the Word parsing engine; when the coring specification file is in the Excel format, the text parsing unit 72B passes The Excel parsing engine converts to text format and so on.
其中, 根据实际情况, 该通用工程参数描述语言规则库具体可以包括但不 限于行业规则库(其中可包含 SPEC项目值域关键字及连接关键词)、 行业 SPEC 项名称关键字、 行业 SPEC 项值域关键字等。 该规则库可以以特定的数据格式 预先存储于系统中的存储器中。 当系统初始化后, 匹配单元 72C从存储器中调 用该通用工程参数描述语言规则库后匹配获取到的统一格式的文本文件, 例 如, 匹配单元 72C可以首先利用行业规则库对该文本文件进行全文匹配, 以提 取到关键字, 若文本中存在同义词, 可先将其转化为行业标准单词, 进一步利 用行业 SPEC项名称关键字匹配收集到的关键字以获取到 SPEC项目值域后, 判 断 SPEC项目值域的选中项获取到相关数据, 并输出标准 SPEC项目值域等相关 数据。 除此以外, 系统还判断制版说明文件的控件中, 以便提取到相关工程参 数描述数据。 在通过以上步骤对制版说明文件进行审核的同时, 也支持传统的 原始文件审核以对审核进行补充。  The general engineering parameter description language rule base may specifically include, but is not limited to, an industry rule base (which may include SPEC item value domain keywords and connection keywords), an industry SPEC item name keyword, and an industry SPEC item value. Domain keywords, etc. The rule base can be pre-stored in a memory in the system in a specific data format. After the system is initialized, the matching unit 72C calls the general engineering parameter description language rule base from the memory and matches the obtained unified format text file. For example, the matching unit 72C may first use the industry rule library to perform full text matching on the text file. To extract the keyword, if there is a synonym in the text, you can first convert it into an industry standard word, and further use the industry SPEC item name keyword to match the collected keywords to obtain the SPEC project value field, and then judge the SPEC project value field. The selected item gets the relevant data and outputs relevant data such as the standard SPEC project value range. In addition to this, the system also determines the control of the plate specification file in order to extract the relevant engineering parameter description data. While reviewing the platemaking documentation through the above steps, it also supports traditional original document review to supplement the review.
从制版说明文件获取到控件信息及工程参数描述文件后, 输出模块 30 将 匹配制版说明文件获取到的控件信息及工程参数描述文件与解析 Gerber 文件 获取到的相关参数整合后输出显示标准的工程审核单、 结构图等。  After obtaining the control information and the engineering parameter description file from the plate making specification file, the output module 30 integrates the control information and the engineering parameter description file obtained by the matching plate making specification file with the relevant parameters obtained by parsing the Gerber file, and outputs a standard engineering review. Single, structure diagram, etc.
请参照图 12, 为又一实施例提出的自动审核 PCB工程文件的系统 70的结 构示意图, 如图 12所示, 在前述实施例的基础上, 该系统还包括:  Referring to FIG. 12, a schematic diagram of a structure of a system 70 for automatically reviewing a PCB project file according to another embodiment is shown in FIG. 12. On the basis of the foregoing embodiment, the system further includes:
预置模块 700, 用于预置参数提取规则和 /或通用工程参数描述语言规则 库。 导出模块 740, 用于将 Gerber文件导出为 RS274X格式文件和 /或 0DB++格 式文件。 The preset module 700 is configured to preset a parameter extraction rule and/or a general engineering parameter description language rule base. The exporting module 740 is configured to export the Gerber file into an RS274X format file and/or an 0DB++ format file.
在本实施例中, 预置模块 700 可以接受用户的输入预置参数提取规则和 / 或通用工程参数描述语言规则库, Gerber文件解析规则包括图元定义规则、 格 式规则、 专用规则、 公式规则、 特定算法程序包、 经验规则以及整合规则; 通 用工程参数描述语言规则可以包括: 行业规则库、 行业 SPEC 项名称关键字、 行业 SPEC项值域关键字等。 PCB行业规则库根据 SPEC项值域关键字和连接词 关键字获得。 通过预置的步骤, 使得系统可以及时地更新参数提取规则和通用 工程参数描述语言规则库, 使得审核的结果更为准确。 在系统启动后, 对各规 则库进行初始化了, 以审核接收到文件包并获取到工程参数。  In this embodiment, the preset module 700 can accept a user input preset parameter extraction rule and/or a general engineering parameter description language rule base, and the Gerber file parsing rule includes a primitive definition rule, a format rule, a special rule, a formula rule, Specific algorithm packages, rules of thumb, and integration rules; general engineering parameter description language rules may include: industry rule base, industry SPEC item name keywords, industry SPEC item value domain keywords, and so on. The PCB industry rule base is based on SPEC item value keywords and conjunction keywords. Through the preset steps, the system can update the parameter extraction rules and the general engineering parameter description language rule base in time, so that the audit result is more accurate. After the system is started, each rule library is initialized to review the received package and obtain the project parameters.
本发明提供的自动审核 PCB工程文件的系统, 通过规则库对接收到的文件 进行解析、 处理并识别出 PCB工程参数, 使得系统可以自动将 PCB工程参数标 准化后输出至用户, 缩短了人工审核的时间, 提高 PCB工程审核的效率。  The system for automatically auditing PCB engineering files provided by the invention parses, processes and recognizes PCB engineering parameters through the rule base, so that the system can automatically standardize the PCB engineering parameters and output to the user, thereby shortening the manual auditing. Time to improve the efficiency of PCB engineering audits.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易想到的变 化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该 以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种自动审核 PCB工程文件的方法, 其特征在于, 包括: 1. A method for automatically reviewing PCB engineering documents, which is characterized by including:
接收用户提交的文件包, 所述文件包包含 Gerber 文件和 /或制版说明文 件; Receive file packages submitted by users, which include Gerber files and/or plate making instructions files;
在线显示 Gerber文件的图形, 利用预置的参数提取规则解析 Gerber文件 和 /或通用工程参数描述语言规则库解析制版说明文件获取到 PCB工程参数; 根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显示。 Display the graphics of the Gerber file online, use the preset parameter extraction rules to parse the Gerber file and/or the general engineering parameter description language rule base to parse the plate making instruction file to obtain the PCB engineering parameters; generate a SPEC file based on the PCB engineering parameters, integrate the analysis results and output show.
2、 根据权利要求 1所述的方法, 其特征在于, 所述在线显示 Gerber文件 的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语 言规则库解析制版说明文件获取到 PCB工程参数, 具体包括: 2. The method according to claim 1, characterized in that, the graphics of the Gerber file are displayed online, and the Gerber file is analyzed using preset parameter extraction rules and/or the general engineering parameter description language rule library is used to analyze the plate making description file. PCB engineering parameters, including:
当 Gerber文件采用标准命名时, 则解析所述 Gerber文件获取到 PCB层别 及层数并通过预设的层别命名规则修改 Gerber 文件的层别名称, 根据层别名 称自动按层别排序; When the Gerber file adopts standard naming, the Gerber file is parsed to obtain the PCB layer level and number of layers, and the layer name of the Gerber file is modified through the preset layer naming rules, and the layer name is automatically sorted according to the layer name;
当 Gerber文件未采用标准命名时, 则在读取到所述 Gerber文件后, 利用 图形学技术识别到 PCB线路及层别并通过预设的层别命名规则修改 Gerber文件 的层别名称, 根据层别名称自动按层别排序。 When the Gerber file does not use standard naming, after reading the Gerber file, graphics technology is used to identify the PCB circuit and layer and modify the layer name of the Gerber file through the preset layer naming rules. According to the layer Alias names are automatically sorted by layer.
3、 根据权利要求 1所述的方法, 其特征在于, 所述在线显示 Gerber文件 的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语 言规则库解析制版说明文件获取到 PCB工程参数, 具体包括: 3. The method according to claim 1, characterized in that, the graphics of the Gerber file are displayed online, and the Gerber file is parsed using preset parameter extraction rules and/or the general engineering parameter description language rule library is used to parse the plate making instruction file. PCB engineering parameters, including:
解析所述 Gerber 文件获取顶层线路区域范围, 根据所述参数提取规则参 照所述顶层线路区域范围获取初步钻孔格式以及位置分布区域, 并与顶层焊盘 中心点对位; Parse the Gerber file to obtain the top line area range, obtain the preliminary drilling format and location distribution area with reference to the top line area range according to the parameter extraction rules, and align it with the top pad center point;
根据对位成功率确定钻孔后, 获取到钻孔位置、 最小孔数与最小孔径, 根 据预设的钻孔命名规则定义钻孔文件的盲埋孔贯通属性, 并按钻孔中心与外层 线路对齐; After the drilling is determined based on the alignment success rate, the drilling position, minimum number of holes, and minimum hole diameter are obtained, and the blind and buried hole penetration attributes of the drilling file are defined according to the preset drilling naming rules, and according to the drilling center and outer layer line alignment;
显示光圈表的使用信息, 并高亮显示当前査看的光圈对应的使用元素; 根据 Gerber文件的图形的选择元素, 构建 PCB的外形, 并计算出连续的最 大外轮廓, 形成 Profi le; Display the usage information of the aperture table, and highlight the usage elements corresponding to the currently viewed aperture; Construct the shape of the PCB based on the selected elements of the graphics in the Gerber file, and calculate the continuous maximum outer contour to form the Profile;
计算 PCB的测试点、 猡程以及需要表面处理的化金面积, 生成钻孔的刀具 信息的报表。 Calculate PCB test points, roughness, and gold-plated area that require surface treatment, and generate a report of drilling tool information.
4、 根据权利要求 1所述的方法, 其特征在于, 所述在线显示 Gerber文件 的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语 言规则库解析制版说明文件获取到 PCB工程参数, 具体包括: 4. The method according to claim 1, characterized in that, the graphics of the Gerber file are displayed online, and the Gerber file is parsed using preset parameter extraction rules and/or the general engineering parameter description language rule library is used to parse the plate making instruction file. PCB engineering parameters, including:
解析所述 Gerber文件获取 PCB负片元素, 删除所述 PCB负片元素; 选取一图元为开始元素, 将与图元面积相差为预设的最小搜索间距的范围 作为搜索单位, 搜索与开始元素相连接的网络, 并将检测到的非同一网络、 非 尺寸线的图元确定为违例情况; Parse the Gerber file to obtain the PCB negative element, delete the PCB negative element; select a graphic element as the start element, use the range that differs from the area of the graphic element by the preset minimum search spacing as the search unit, and connect the search to the start element network, and determine the detected primitives that are not the same network and non-dimension lines as violations;
将属于违例情况的图元由小到大排序后筛选, 以获取到最小线距。 Sort the primitives belonging to violations from small to large and then filter them to obtain the minimum line distance.
5、 根据权利要求 1所述的方法, 其特征在于, 所述在线显示 Gerber文件 的图形, 利用预置的参数提取规则解析 Gerber文件和 /或通用工程参数描述语 言规则库解析制版说明文件获取到 PCB工程参数, 具体包括: 5. The method according to claim 1, characterized in that, the graphics of the Gerber file are displayed online, and the Gerber file is parsed using preset parameter extraction rules and/or the general engineering parameter description language rule library is used to parse the plate making instruction file. PCB engineering parameters, including:
遍历所述文件包, 将其中所包含的制版说明文件解析为统一格式的文本文 件; Traverse the file package and parse the platemaking instruction files contained therein into text files in a unified format;
利用预置的通用工程参数描述语言规则库匹配所述统一格式的文本文件提 取工程参数描述文件, 并收集制版说明文件中所包含的控件信息; Utilize the preset general engineering parameter description language rule base to match the unified format text file to extract the engineering parameter description file, and collect the control information contained in the plate making description file;
所述接收用户提交的文件包, 所述文件包包含 Gerber文件和 /或制版说明 文件之前, 还包括: 预置所述参数提取规则和 /或通用工程参数描述语言规则库; The receiving of the file package submitted by the user, before the file package includes the Gerber file and/or the plate making instruction file, also includes: Preset the parameter extraction rules and/or general engineering parameter description language rule library;
所述根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显示之后, 还 包括: The SPEC file is generated based on the PCB engineering parameters, and after integrating the analysis results and outputting the display, it also includes:
将 Gerber文件导出为 RS274X格式文件和 /或 0DB++格式文件。 Export Gerber files to RS274X format files and/or 0DB++ format files.
6、 一种自动审核 PCB工程文件的系统, 其特征在于, 该系统包括: 接收模块, 用于接收用户提交的文件包, 所述文件包包含 Gerber文件和 / 或制版说明文件; 6. A system for automatically reviewing PCB engineering files, characterized in that the system includes: a receiving module for receiving a file package submitted by the user, where the file package includes Gerber files and/or plate making instructions files;
工程参数获取模块, 用于在线显示 Gerber 文件的图形, 利用预置的参数 提取规则解析 Gerber文件和 /或通用工程参数描述语言规则库解析制版说明文 件获取到 PCB工程参数; The engineering parameter acquisition module is used to display the graphics of the Gerber file online, and uses the preset parameter extraction rules to parse the Gerber file and/or the general engineering parameter description language rule base to parse the plate making specification file to obtain the PCB engineering parameters;
输出模块, 用于根据 PCB工程参数生成 SPEC文件, 整合解析结果后输出显 Output module, used to generate SPEC files based on PCB engineering parameters, integrate the analysis results and output the display
7、根据权利要求 6所述的系统, 其特征在于, 所述工程参数获取模块具体 包括: 7. The system according to claim 6, characterized in that the engineering parameter acquisition module specifically includes:
命名识别单元, 用于当所述 Gerber 文件采用标准命名时, 则解析获取到 PCB层别及层数并通过预设的层别命名规则修改 Gerber文件的层别名称, 根据 层别名称自动按层别排序; The naming recognition unit is used to parse and obtain the PCB layer and number of layers when the Gerber file adopts standard naming, and modify the layer name of the Gerber file through the preset layer naming rules, and automatically press the layer name according to the layer name. Don’t sort;
图形识别单元, 用于当所述 Gerber 文件未采用标准命名时, 则在读取到 Gerber文件后, 利用图形学技术识别到 PCB线路及层别并通过预设的层别命名 规则修改 Gerber文件的层别名称, 根据层别名称自动按层别排序。 Graphic recognition unit, used when the Gerber file does not use standard naming, after reading the Gerber file, use graphics technology to identify the PCB lines and layers and modify the Gerber file through the preset layer naming rules Layer name, automatically sort by layer based on the layer name.
8、根据权利要求 6所述的系统, 其特征在于, 所述工程参数获取模块具体 包括: 8. The system according to claim 6, characterized in that the engineering parameter acquisition module specifically includes:
第一解析单元, 用于解析所述 Gerber 文件获取到顶层线路区域范围, 根 据所述参数提取规则参照所述顶层线路区域范围获取初步钻孔格式以及位置分 布区域, 并与顶层焊盘中心点对位; The first parsing unit is used to parse the Gerber file to obtain the top-level line area range, root According to the parameter extraction rules, the preliminary drilling pattern and position distribution area are obtained with reference to the top-level line area range, and aligned with the top-level pad center point;
钻孔参数获取单元, 用于根据对位成功率确定钻孔后, 获取到钻孔位置、 最小孔数与最小孔径, 根据预设的钻孔命名规则定义钻孔文件的盲埋孔贯通属 性, 并按钻孔中心与外层线路对齐; The drilling parameter acquisition unit is used to obtain the drilling position, minimum number of holes, and minimum hole diameter after determining the drilling based on the alignment success rate, and define the blind and buried hole penetration attributes of the drilling file according to the preset drilling naming rules. And align it with the outer line according to the center of the drill hole;
光圈显示单元, 用于显示光圈表的使用信息, 并高亮显示当前査看的光圈 对应的使用元素; The aperture display unit is used to display the usage information of the aperture table and highlight the usage elements corresponding to the currently viewed aperture;
外形确定单元, 用于根据 Gerber文件的图形的选择元素, 构建 PCB 的外 形, 并计算出连续的最大外轮廓, 形成 Profile; The shape determination unit is used to construct the shape of the PCB based on the selected elements of the Gerber file graphics, and calculate the continuous maximum outer contour to form a Profile;
计算单元, 用于计算 PCB的测试点、 猡程以及需要表面处理的化金面积, 生成钻孔的刀具信息的报表。 The calculation unit is used to calculate the PCB test points, process and gold-plated area that require surface treatment, and generate a report of drilling tool information.
9、根据权利要求 6所述的系统, 其特征在于, 所述工程参数获取模块具体 包括: 9. The system according to claim 6, characterized in that the engineering parameter acquisition module specifically includes:
负片元素删除单元, 用于解析所述 Gerber文件获取 PCB负片元素, 删除所 述 PCB负片元素; Negative element deletion unit, used to parse the Gerber file to obtain PCB negative elements, and delete the PCB negative elements;
筛选单元, 用于选取一图元为开始元素, 将与图元面积相差为预设的最小 搜索间距的范围作为搜索单位, 搜索与开始元素相连接的网络, 并将检测到的 非同一网络、 非尺寸线的图元确定为违例情况; The filtering unit is used to select a graphic element as the start element, use the range that differs from the area of the graphic element by the preset minimum search distance as the search unit, search for the network connected to the start element, and compare the detected non-identical networks, Elements other than dimension lines are determined to be violations;
最小线距获取单元, 用于将属于违例情况的图元由小到大排序后筛选, 以 获取到最小线距。 The minimum line spacing acquisition unit is used to sort the primitives belonging to violation conditions from small to large and then filter them to obtain the minimum line spacing.
10、 根据权利要求 6所述的系统, 其特征在于, 所述工程参数获取模块还 包括: 10. The system according to claim 6, characterized in that the engineering parameter acquisition module further includes:
遍历单元, 用于遍历所述文件包, 将其中所包含的文件解析为统一格式的 文本文件; Traversal unit, used to traverse the file package and parse the files contained in it into a unified format text file;
匹配单元, 利用预置的通用工程参数描述语言规则库匹配所述统一格式的 文本文件提取工程参数描述文件, 并收集制版说明文件中所包含的控件信息; 所述系统还包括: The matching unit uses the preset general engineering parameter description language rule base to match the uniform format text file to extract the engineering parameter description file, and collects the control information contained in the plate making description file; the system also includes:
预置模块, 用于预置所述参数提取规则和 /或通用工程参数描述语言规则 库; A preset module, used to preset the parameter extraction rules and/or the general engineering parameter description language rule library;
导出模块, 用于将 Gerber文件导出为 RS274X格式文件和 /或 0DB++格式文 件。 Export module, used to export Gerber files to RS274X format files and/or 0DB++ format files.
PCT/CN2014/079374 2014-03-03 2014-06-06 Method and system for automatically auditing pcb project file WO2015131457A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410075847.6 2014-03-03
CN201410075847.6A CN103823882A (en) 2014-03-03 2014-03-03 Method and system for automatically auditing PCB project files

Publications (1)

Publication Number Publication Date
WO2015131457A1 true WO2015131457A1 (en) 2015-09-11

Family

ID=50758946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079374 WO2015131457A1 (en) 2014-03-03 2014-06-06 Method and system for automatically auditing pcb project file

Country Status (2)

Country Link
CN (1) CN103823882A (en)
WO (1) WO2015131457A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10546088B2 (en) 2018-04-03 2020-01-28 International Business Machines Corporation Document implementation tool for PCB refinement
US10558778B2 (en) 2018-04-03 2020-02-11 International Business Machines Corporation Document implementation tool for PCB refinement
CN111861366A (en) * 2020-06-08 2020-10-30 远光软件股份有限公司 Project-ground intelligent auditing system and computer

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279862A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 Method and device for automatically generating and sending contract first draft based on E-mail
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files
CN104317998B (en) * 2014-10-17 2018-11-09 深圳市百能信息技术有限公司 A kind of method and apparatus of the manufacture compensation of the parameter of Gerber files
CN104537148A (en) * 2014-12-01 2015-04-22 艾法能源工程股份有限公司 Statistical method for bolt information in PDMS (Product Data Management System) model
CN105549532B (en) * 2016-02-29 2018-05-29 广东成德电子科技股份有限公司 A kind of electron plate numerical control processing track method and device for planning
CN107403385B (en) * 2016-05-18 2021-03-09 平安科技(深圳)有限公司 Insurance information auditing method and device
CN106529070B (en) * 2016-11-24 2020-04-17 深圳市景旺电子股份有限公司 Circuit board CAM data automatic processing method and system
CN106912162A (en) * 2017-01-18 2017-06-30 深圳市百能信息技术有限公司 A kind of PCB engineering problems are automatically extracted and the method and its system for examining
CN107480361B (en) * 2017-08-03 2021-04-23 深圳市景旺电子股份有限公司 Method, storage medium and device for generating circuit board processing information
CN109408840B (en) * 2017-08-17 2022-11-08 迈普通信技术股份有限公司 PCB (printed Circuit Board) online review method and device
CN107644122A (en) * 2017-08-29 2018-01-30 深圳市兴森快捷电路科技股份有限公司 A kind of ODB++ file modifications method, apparatus and readable storage medium storing program for executing
CN109086260B (en) * 2018-08-29 2020-01-14 中国标准化研究院 Food data processing method and device
CN111310403A (en) * 2018-11-23 2020-06-19 广州幻视电子科技有限公司 PCB pad intelligent modification technology
CN110187262B (en) * 2019-06-28 2021-08-24 广东正业科技股份有限公司 Selection method of surface copper thickness detection test point
CN111507057B (en) * 2020-04-22 2023-10-03 深圳市亚派光电器件有限公司 PADS drawing output method and device and computer readable storage medium
CN112418813B (en) * 2020-12-02 2024-04-05 上海三稻智能科技有限公司 AEO qualification intelligent rating management system and method based on intelligent analysis and identification and storage medium
CN112782177B (en) * 2020-12-09 2022-10-28 广州广合科技股份有限公司 Automatic data output method of AVI appearance inspection machine
CN113076715B (en) * 2021-04-02 2024-10-11 苏州谋时软件科技有限公司 Method and system for creating text blocks in Allegro
CN113312872B (en) * 2021-05-19 2024-02-23 深圳市百能信息技术有限公司 Gong belt manufacturing method and device, gong belt manufacturing equipment and storage medium
CN113569518B (en) * 2021-09-27 2021-12-14 杭州捷配信息科技有限公司 Set jointed board identification method for PCB engineering files and application thereof
CN113779925B (en) * 2021-11-10 2022-01-28 杭州捷配信息科技有限公司 Minimum line width calculation method and device suitable for PCB engineering file and application
CN114091401B (en) * 2022-01-11 2022-04-22 杭州捷配信息科技有限公司 Routing design method and device suitable for PCB production process and application
CN116011399B (en) * 2023-03-27 2023-06-13 深圳前海硬之城信息技术有限公司 Method, device and equipment for generating PCB drawing and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7281232B1 (en) * 2004-02-12 2007-10-09 Nvidia Corporation Method and apparatus for automatically checking circuit layout routing
CN102214261A (en) * 2011-07-11 2011-10-12 西安电子科技大学 Method for automatic check of process data of printed circuit board
CN102819552A (en) * 2012-06-26 2012-12-12 深圳市百能信息技术有限公司 Method and system for automatically examining and verifying Printed Circuit Board (PCB) project files
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7281232B1 (en) * 2004-02-12 2007-10-09 Nvidia Corporation Method and apparatus for automatically checking circuit layout routing
CN102214261A (en) * 2011-07-11 2011-10-12 西安电子科技大学 Method for automatic check of process data of printed circuit board
CN102819552A (en) * 2012-06-26 2012-12-12 深圳市百能信息技术有限公司 Method and system for automatically examining and verifying Printed Circuit Board (PCB) project files
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SUN, YUJING;: "Search on the Processing Data Auto-examining Technology in Manufacture of Printed Circuit Boards", CHINA MASTER'S THESES FULL-TEXT DATABASE, 31 December 2011 (2011-12-31) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10546088B2 (en) 2018-04-03 2020-01-28 International Business Machines Corporation Document implementation tool for PCB refinement
US10558778B2 (en) 2018-04-03 2020-02-11 International Business Machines Corporation Document implementation tool for PCB refinement
CN111861366A (en) * 2020-06-08 2020-10-30 远光软件股份有限公司 Project-ground intelligent auditing system and computer

Also Published As

Publication number Publication date
CN103823882A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
WO2015131457A1 (en) Method and system for automatically auditing pcb project file
CN108829858B (en) Data query method and device and computer readable storage medium
CN109753909B (en) Resume analysis method based on content blocking and BilSTM model
CN102819552B (en) Automatically the method and system of PCB project file are audited
CN108038091A (en) A kind of similar calculating of judgement document's case based on figure and search method and system
CN110110075A (en) Web page classification method, device and computer readable storage medium
US20130090918A1 (en) System, method and apparatus for detecting related topics and competition topics based on topic templates and association words
CN113094512B (en) Fault analysis system and method in industrial production and manufacturing
CN112182148A (en) Standard auxiliary compiling method based on full-text retrieval
CN113779983B (en) Text data processing method and device, storage medium and electronic device
CN113159118A (en) Logistics data index processing method, device, equipment and storage medium
KR20200068769A (en) Property knowledge extension system and property knowledge extension method using it
CN115858764A (en) Manuscript recommendation method, device, equipment and medium
CN114969467A (en) Data analysis and classification method and device, computer equipment and storage medium
CN116257877A (en) Data classification grading method for privacy calculation
CN116881156A (en) Automatic test method, device, equipment and storage medium
JP2001290840A (en) Keyword retrieval device
KR20120003567A (en) Log management system, log processing method of the same of and recording medium storing the log processing method of the same of
CN110968604A (en) Method for automatically retrieving illegal operation of internet operation enterprise
JP2002157262A (en) Classification rule definition supporting method
JP2007199906A (en) Keyword corresponding relation analyzing device and analyzing method
CN115186240A (en) Social network user alignment method, device and medium based on relevance information
KR20100115048A (en) System for distinguishing copy document and method therefor
CN114818635A (en) Data report generation method and device, electronic equipment and storage medium
CN108572997B (en) Integrated storage system and method of multi-source data with network attributes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14884872

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884872

Country of ref document: EP

Kind code of ref document: A1