CN102819552B - Automatically the method and system of PCB project file are audited - Google Patents

Automatically the method and system of PCB project file are audited Download PDF

Info

Publication number
CN102819552B
CN102819552B CN201210213179.XA CN201210213179A CN102819552B CN 102819552 B CN102819552 B CN 102819552B CN 201210213179 A CN201210213179 A CN 201210213179A CN 102819552 B CN102819552 B CN 102819552B
Authority
CN
China
Prior art keywords
file
pcb
engineering parameter
parameter
rule
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210213179.XA
Other languages
Chinese (zh)
Other versions
CN102819552A (en
Inventor
曾波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN PCB PARTNER INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN PCB PARTNER INFORMATION TECHNOLOGY Co Ltd
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 SHENZHEN PCB PARTNER INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN PCB PARTNER INFORMATION TECHNOLOGY Co Ltd
Priority to CN201210213179.XA priority Critical patent/CN102819552B/en
Publication of CN102819552A publication Critical patent/CN102819552A/en
Application granted granted Critical
Publication of CN102819552B publication Critical patent/CN102819552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to the method and system of a kind of automatic examination & verification PCB project file, the method comprises the following steps: receive the file bag that user submits to, and file bag comprises Gerber file and/or plate-making supporting paper;Startup file auditing module, utilizes the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse resolution file bag and gets PCB engineering parameter;Output display after integration analysis result.The present invention is by comparing to the Gerber file received according to presetting rule, identify PCB engineering parameter, make system can PCB engineering parameter exporting after its standardization to user automatically, shorten the manual examination and verification time of Gerber file, improve PCB and adopt the efficiency of material examination & verification.

Description

Automatically the method and system of PCB project file are audited
Technical field
The present invention relates to printed-board technology field, specifically automatically audit the method and system of PCB project file.
Background technology
At present, one PCB(PrintedCircuitBoard, printed circuit board (PCB)) project file is usually by multiple Gerber files and/or what plate-making supporting paper formed, PCB project file auditing flow is needed engineering staff to understand by tradition, the corresponding figure layer of each Gerber, need artificial judgment form, interlayer alignment, layer does not judge, measurement size, set up Profile, judge total hole count, minimum-value aperture etc., owing to graphic element can exceed that 1,000,000, need to calculate substantial amounts of most live width line-spacing violations through relating to rule check analysis for a long time, line simulator is got rid of then through engineering staff, copper sheet, character requires a great deal of time.The average time of one data of examination & verification is about 30 minutes, and review efficiency is not high.
Summary of the invention
Present invention is primarily targeted at a kind of method that automatic examination & verification PCB project file is provided, it is intended to realize the automatic examination & verification to PCB project file, adopt material efficiency to improve.
In order to achieve the above object, the present invention proposes a kind of method of automatic examination & verification PCB project file, and the method comprises the following steps:
Receiving the file bag that user submits to, described file bag comprises Gerber file and/or plate-making supporting paper;
Startup file auditing module, utilizes the regular and/or general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output display after integration analysis result.
Preferably, described engineering parameter include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size.
Preferably, described startup file auditing module, utilize the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse and resolve the described file bag step that gets PCB engineering parameter and specifically include:
When Gerber file adopts standard name, then resolve described Gerber file acquisition to PCB layer the other and number of plies;
When Gerber file is provided without standard name, then, after reading described Gerber file, utilizes graphics techniques to recognize PCB circuit and layer is other.
Preferably, described startup file auditing module, utilize the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse and resolve the described file bag step that gets PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition top line regional extent, obtain primary drilling form and position distribution region according to described parameter extraction rule with reference to described top line regional extent, and with the some para-position of top layer pad center;
After determining boring according to para-position success rate, get bore position, minimum hole count and minimum-value aperture.
Preferably, described startup file auditing module, utilize the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse and resolve the described file bag step that gets PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition PCB negative film element, delete described PCB negative film element;
Choosing a pel is start element, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, and the network that search is connected with start element, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
By belong to violations the ascending sequence of graphic element after screening, with get minimum line from.
Preferably, startup file auditing module, utilize the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse and resolve the described file bag step that gets PCB engineering parameter and specifically include:
Travel through described file bag, the plate-making supporting paper wherein comprised is resolved to the text of consolidation form;
Utilize the text that preset general engineering parameter describes the language rule storehouse described consolidation form of coupling to extract engineering parameter and describe file, and collect the control information comprised in plate-making supporting paper.
Preferably, the file bag that the described user of reception submits to, also include before the step that described file bag comprises Gerber file and/or plate-making supporting paper:
Regular and/or the general engineering parameter of preset described parameter extraction describes language rule storehouse.
The present invention also proposes the system of a kind of automatic examination & verification PCB project file, and this system includes:
Receiver module, for receiving the file bag that user submits to, described file bag comprises Gerber file and/or plate-making supporting paper;
Engineering parameter identification module, for startup file auditing module, utilizes the regular and/or general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output module, is used for integrating output display after analysis result.
Preferably, described engineering parameter include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size.
Preferably, described engineering parameter identification module specifically includes:
Name recognition unit, for when described Gerber file adopts standard name, is not then analyzed and acquired by PCB layer not and the number of plies;
Figure recognizing unit, for when described Gerber file is provided without standard name, then, after reading Gerber file, utilizing graphics techniques to recognize PCB circuit and layer be other.
Preferably, described engineering parameter acquisition module specifically includes:
First resolution unit, is used for resolving described Gerber file acquisition to top line regional extent;
Bit cell, for obtaining primary drilling form and position distribution region according to described parameter extraction rule with reference to described top line regional extent, and with the some para-position of top layer pad center;
Drilling parameter acquiring unit, after determining boring according to para-position success rate, gets bore position, minimum hole count and minimum-value aperture.
Preferably, described engineering parameter acquisition module specifically includes:
Negative film element deletes unit, is used for resolving described Gerber file acquisition PCB negative film element, deletes described PCB negative film element;
Screening unit, it is start element for choosing a pel, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, the network that search is connected with start element, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
Minimum line from acquiring unit, for will belong to violations the ascending sequence of graphic element after screening, with get minimum line from.
Preferably, described engineering parameter acquisition module also includes:
Traversal Unit, is used for traveling through described file bag, and the plate-making supporting paper wherein comprised resolves to the text of consolidation form;
Matching unit, utilizes the text that preset general engineering parameter describes the language rule storehouse described consolidation form of coupling to extract engineering parameter and describes file, and collect the control information comprised in plate-making supporting paper.
Preferably, described system also includes preset module, specifically for:
Regular and/or the general engineering parameter of preset described parameter extraction describes language rule storehouse.
The file received is resolved, processes and identifies PCB engineering parameter by rule base by the present invention so that system can export after PCB engineering parameter standardization to user automatically, shortens the time of manual examination and verification, improves the efficiency of PCB project examination.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of automatic examination & verification PCB project file method one embodiment provided by the invention;
Fig. 2 is startup file auditing module in automatic examination & verification PCB project file method one embodiment provided by the invention, utilizes presetting rule to resolve the described Gerber file acquisition schematic flow sheet to PCB engineering parameter step;
Fig. 3 is startup file auditing module in the automatic examination & verification PCB another embodiment of project file method provided by the invention, utilizes presetting rule to resolve the described Gerber file acquisition schematic flow sheet to PCB engineering parameter step;
Fig. 4 is startup file auditing module in the automatic examination & verification PCB another embodiment of project file method provided by the invention, utilizes presetting rule to resolve the described Gerber file acquisition schematic flow sheet to PCB engineering parameter step;
Fig. 5 is startup file auditing module in the automatic examination & verification PCB another embodiment of project file method provided by the invention, utilizes presetting rule to resolve the described Gerber file acquisition schematic flow sheet to PCB engineering parameter step;
Fig. 6 is the schematic flow sheet in the automatic examination & verification PCB another embodiment of project file method provided by the invention;
Fig. 7 is the structural representation in automatic examination & verification PCB project file system one embodiment provided by the invention;
Fig. 8 is the structural representation of engineering parameter acquisition module in automatic examination & verification PCB project file system one embodiment provided by the invention;
Fig. 9 is the structural representation of engineering parameter acquisition module in the automatic examination & verification PCB another embodiment of project file system provided by the invention;
Figure 10 is the structural representation of engineering parameter acquisition module in the automatic examination & verification PCB another embodiment of project file system provided by the invention;
Figure 11 is the structural representation in the automatic examination & verification PCB another embodiment of project file system provided by the invention;
Figure 12 is the structural representation in the automatic examination & verification PCB another embodiment of project file system provided by the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention relates to the method and system of a kind of automatic examination & verification PCB project file, wherein, PCB project file includes Gerber file (gerber files), plate-making supporting paper etc..The examination & verification that Gerber file is carried out resolves according to protocol rule, utilize geometric figure learn a skill with engineering experience rule calculate Gerber engineering parameter (number of plies, minimum feature, minimum line from, size, hole count, minimum-value aperture etc.), the engineering information (thickness of slab, surface treatment, copper thickness etc.) that the examination & verification of supporting paper of making a plate then utilizes presetting rule storehouse to identify that word describes, finally integrates output project examination list.
The invention mainly relates to the automatic examination & verification to PCB project file, after utilizing preset rule that file is quickly checked, automatically generate PCB project examination list etc., substantially reduce the time of manual review, improve material efficiency.
Refer to Fig. 1, the schematic flow sheet of the method automatically auditing PCB project file for proposing in one embodiment of the invention, as it is shown in figure 1, the method comprises the following steps:
S100: receive the file bag that user submits to, described file bag comprises Gerber file and/or plate-making supporting paper;
Server receives, by modes such as the Internet (such as Email), client or LANs, the file bag that user submits to, in the present embodiment, include Gerber file in this document bag, in other examples, in this document bag, also comprise plate-making supporting paper.Wherein, Gerber file refers to the gerber files in PCB manufacturing industry, it is possible to derived by design software, for instance the design softwares such as Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN.Gerber file comprises the parameters such as the coordinate of pel, shape description.The Gerber file of standard can be divided into RS-274 and RS-274X two kinds, conventional numeric data code includes ASCII(AmericanStandardCodeforInformationInterchange, ASCII(American Standard Code for information interchange)), EBCDIC (ExtendedBinaryCodedDecimalInterchangeCode, for the character code table that International Business Machines Corporation (IBM) releases) etc..And supporting paper of making a plate is supplementing PCB design, wherein include the explanation to PCB engineering parameter, for instance the description of PCB engineering parameter, control.Plate-making supporting paper form and content that different user provides are different, for instance, it is possible to for Word format, Excel form, TXT form or picture file etc., in some plate-making supporting papers, also comprise control or layout information.
S200: startup file auditing module, utilizes the regular and/or general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Wherein, parameter extraction rule presets according to the engineering design rule trend of PCB file so that system utilizes this parameter extraction rule can get the corresponding engineering parameter of PCB file after recognizing a certain feature of PCB file.Parameter extraction rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;General engineering parameter describes language rule and may include that industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword etc., and PCB industry rule base obtains according to SPEC item codomain keyword and conjunction keyword.After receiving file bag, system utilizes the regular and/or general engineering parameter of preset parameter extraction to describe language rule storehouse resolution file bag and gets PCB engineering parameter.
More specifically, PCB engineering parameter at least include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size etc..In the present embodiment, when the file that user submits to includes Gerber file, after then the available parameter extraction rule parsing Gerber file of system obtains PCB engineering parameter, extract from each layer and surround outer-layer circuit and with the housing close to outer-layer circuit loop size as PCB size, Gerber file comprises engineering parameter and describes file (such as, picture, Word, Excel etc.) time, it is also with general engineering parameter to describe the engineering parameter that comprises in language coupling Gerber file and describe file (such as, picture) to obtain engineering parameter.In other embodiments, Gerber file or plate-making supporting paper is included in the file bag that user submits to, system utilizes parameter extraction rule parsing and/or general engineering parameter to describe language resolution file bag according to the file type in file bag, gets PCB engineering parameter.
S300: output display after integration analysis result;
After resolution file bag gets PCB engineering parameter, analysis result is integrated into the SPEC(project examination only evidence of standard), standardized structure chart (such as, this standardized structure chart can include Rotating fields, hole structure and other conventional structure charts) after, output display.
Refer to Fig. 2, more specifically, for the method auditing PCB project file automatic in another embodiment gets the idiographic flow schematic diagram of PCB engineering parameter, in the present embodiment, and take following steps to obtain engineering parameter in step s 200:
S210: when Gerber file is standard name, resolve this Gerber file acquisition to PCB layer the other and number of plies;
If the Gerber file read have employed standard name, then with reference to naming rule, system according to Gerber filename, may identify which out that PCB layer is other and the number of plies after recognizing Gerber file.
S220: when described Gerber file is provided without standard name, then, after reading Gerber file, utilizes graphics techniques to recognize PCB circuit and layer is other;
For the Gerber file not adopting standard naming rule to name, then cannot not be directly obtained PCB layer not and the number of plies.Now, the primitive information that system reads from the Gerber file read, for instance, PCB wire characteristic, copper sheet shape, heat radiation aperture, dividing potential drop diagram shape etc., owing to each layer of PCB other function difference can comprise different pels, then utilize graphics techniques to recognize PCB layer number and layer is other.
In another embodiment, system is analyzed and acquired by the PCB engineering parameters such as PCB boring form, position, hole count and aperture from Gerber file, refer to Fig. 3, for the method auditing PCB project file automatic in another embodiment gets the concrete schematic flow sheet of PCB engineering parameter, as it is shown on figure 3, step S200 specifically includes:
S230: resolve Gerber file acquisition top line regional extent, obtains primary drilling form and position distribution region according to parameter extraction rule with reference to described top line regional extent, and with the some para-position of top layer pad center;
Wherein, parameter extraction rule according to borehole coordinate form corresponding area arrangement rule and arrange, the data such as top line region are got after system analysis Gerber file, according to presetting rule with reference to top line region, get primary drilling form and position distribution region, further, by the boring form primarily determined that and position and top layer pad center of gravity para-position, extreme value boring in usual chosen position distributed areas carries out para-position, such as upper left, left, lower-left, upper right, right, bottom right, upper, the boring of lower middle position, and add up the para-position success rate of each extreme value boring.
S240: after determining boring according to para-position success rate, gets bore position, minimum hole count and minimum-value aperture;
Extreme value boring high for para-position success rate is defined as boring, and then gets the PCB engineering parameters such as bore position, minimum hole count and minimum-value aperture.
Refer to Fig. 4, for resolving the Gerber file acquisition schematic flow sheet to PCB engineering parameter in the method auditing PCB project file automatic in another embodiment, as shown in Figure 4, the concrete steps in step S200 include:
S250: resolve Gerber file acquisition PCB negative film element, deletes PCB negative film element;
Resolve Gerber file acquisition after PCB circuit, utilize polygon difference operation to merge and obtain PCB negative film element, negative film element is deleted.
S260: choosing a pel is start element, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, the network that search is connected with start element is defined as hunting zone, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
In the present embodiment, for start element for pad, to differ into default minimum search spacing (such as with bonding pad area, can be 10mil) scope be defined as hunting zone, by the graphic element of present networks non-in hunting zone, non-dimension line, whether distance is less than 10mil, if so, violations then it is defined as.
S270: by belong to violations the ascending sequence of graphic element after screening, with get minimum line from;
The ascending sequence of graphic element that will belong to violations, plug is selected by the line recognizing exposure, to get rid of line simulator and copper sheet thus get real minimum line from.
Refer to the schematic flow sheet resolving plate-making supporting paper in the method that Fig. 5, Fig. 5 are examination & verification PCB project file automatically in another embodiment, step S200 specifically includes:
S280: traversal file bag, resolves to the text of consolidation form by the plate-making supporting paper wherein comprised;
Due to the description rule of each PCB design scheme, space of a whole page difference, there is the plate-making supporting paper of different-format, system needs to get PCB engineering parameter information from the plate-making supporting paper of different-format.When the system file bag that receives of traversal also includes independent plate-making supporting paper or be embedded in Gerber file plate-making supporting paper time, collect the PCB engineering parameter information comprised in plate-making supporting paper.In the present embodiment, first the plate-making supporting paper of different-format is converted into the text of consolidation form, thus directly the text of this consolidation form being processed in subsequent steps, when this plate-making supporting paper is PDF or picture, utilize OCR(OpticalCharacterRecognition, OCR) it is first converted to Word, and is converted into text formatting by Word analytics engine further by technology;When this plate-making supporting paper is Word, it is converted into text formatting by Word analytics engine;When this plate-making supporting paper is Excel form, it is converted into text formatting etc. by Excel analytics engine.
S290: utilize the text that preset general engineering parameter describes language rule storehouse coupling consolidation form to extract engineering parameter and describe file, and collect the control information comprised in plate-making supporting paper;
Wherein, according to practical situation, this general engineering parameter describes language rule storehouse specifically can include but not limited to industry rule base (wherein can comprise SPEC project codomain keyword and connect key word), industry SPEC item name keys, industry SPEC item codomain keyword etc..This rule base can be pre-stored within the memorizer in system with specific data form.When after system initialization, the text mating the consolidation form got in step S280 after this general engineering parameter describes language rule storehouse is called from memorizer, such as, can carry out mating in full to text file first with industry rule base, to extract keyword, if text exists synonym, can first be translated into industry standard word, the keyword collected further with industry SPEC item title keyword match is with after getting SPEC project codomain, judge that the choice of SPEC project codomain gets related data, and the related data such as outputting standard SPEC project codomain.In addition, system also judges in the control of plate-making supporting paper, in order to extracts correlation engineering parameter and describes data.While plate-making supporting paper being audited by above step, also support that traditional original document is audited so that examination & verification to be supplemented.
Get control information from plate-making supporting paper and after engineering parameter describes file, the control information get coupling plate-making supporting paper and engineering parameter describe file integrate with the relevant parameter resolving Gerber file acquisition and arriving after the project examination list of output display standard, structure chart etc..
Refer to Fig. 6, on the basis of previous embodiment, in another embodiment, also included before receiving the step of the file bag that user submits to:
S090: preset parameter extracting rule and/or general engineering parameter describe language rule storehouse;
In the present embodiment, system can accept the input preset parameter extracting rule of user and/or general engineering parameter describes language rule storehouse, and Gerber document analysis rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;General engineering parameter describes language rule and may include that industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword etc..PCB industry rule base obtains according to SPEC item codomain keyword and conjunction keyword.By preset step so that system undated parameter extracting rule and general engineering parameter can describe language rule storehouse in time so that the result of examination & verification is more accurate.After system start-up, each rule base is initialized, receives file bag with examination & verification and get engineering parameter.
The method of automatic examination & verification PCB project file provided by the invention, by rule base, the file received is resolved, processes and identifies PCB engineering parameter, system can be exported after PCB engineering parameter standardization to user automatically, shorten the time of manual examination and verification, improve the efficiency of PCB project examination.
Refer to Fig. 7, for the structural representation of the system automatically auditing PCB project file that the present invention proposes, as it is shown in fig. 7, this system includes:
Receiver module 10, for receiving the file bag that user submits to, comprises Gerber file and/or plate-making supporting paper in described file bag;
Engineering parameter identification module 20, for startup file auditing module, utilizes the regular and/or general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output module 30, is used for integrating output display after analysis result.
Receiver module 10 receives, by modes such as the Internet (such as Email), client or LANs, the file bag that user submits to, in the present embodiment, Gerber file can be included in this document bag, in other examples, in this document bag, also comprise plate-making supporting paper.Wherein, Gerber file refers to the gerber files in PCB manufacturing industry, it is possible to derived by design software, for instance Protel, AutoCAD, PowerPCB, PADS, MENTOR, ALLEGRO, ZUKEN etc. relate to software.Gerber file comprises the parameters such as the coordinate of pel, shape description.The Gerber file of standard can be divided into RS-274 and RS-274X two kinds, and conventional numeric data code includes ASCII, EBCDIC etc..And supporting paper of making a plate is supplementing PCB design, wherein include the explanation to PCB engineering parameter, for instance the description of PCB engineering parameter, control.Plate-making supporting paper form and content that different user provides are different, for instance, it is possible to for Word format, Excel form, TXT form or picture file etc., in some plate-making supporting papers, also comprise control or layout information.
Wherein, parameter extraction rule presets according to the engineering design rule trend of PCB file so that engineering parameter module 20 utilizes this parameter extraction rule can get the corresponding engineering parameter of PCB file after recognizing a certain feature of PCB file.Parameter extraction rule can include the regular and/or general engineering parameter of Gerber document analysis and describe language library, and Gerber document analysis rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;General engineering parameter describes language rule and may include that industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword etc..PCB industry rule base obtains according to SPEC item codomain keyword and conjunction keyword.After receiving file bag, engineering parameter acquisition module 20 utilizes preset parameter extraction rule that this document bag is identified, to obtain PCB engineering parameter.
More specifically, PCB engineering parameter at least include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size etc..In the present embodiment, when the file that user submits to includes Gerber file, after then engineering parameter acquisition module 20 may utilize parameter extraction rule parsing Gerber file acquisition PCB engineering parameter, extract from each layer and surround outer-layer circuit and with the housing close to outer-layer circuit loop size as PCB size, Gerber file comprises engineering parameter and describes file (such as, picture, Word, Excel etc.) time, engineering parameter acquisition module 20 is also with general engineering parameter and describes language coupling Gerber file to obtain engineering parameter.In other embodiments, Gerber file or plate-making supporting paper is included in the file bag that user submits to, engineering parameter acquisition module 20 utilizes the regular and/or general engineering parameter of parameter extraction to describe language resolution file bag according to the file type in file bag, gets PCB engineering parameter.
After resolution file bag gets PCB engineering parameter, output module 30 by analysis result integrate be the project examination list SPEC document of standard, standardized structure chart (such as, this standardized structure chart can include Rotating fields, hole structure and other conventional structure charts) after, output display.
Refer to Fig. 8, for another embodiment is automatically audited the structural representation of engineering parameter identification module in the system of PCB project file, on the basis of previous embodiment, more specifically, engineering parameter identification module 20 specifically includes name recognition unit 21 and figure recognizing unit 22, wherein:
Name recognition unit 21, for when Gerber file is standard name, resolve this Gerber file acquisition to PCB layer the other and number of plies;
Figure recognizing unit 22, for when described Gerber file is provided without standard name, then, after reading Gerber file, utilizing graphics techniques to recognize PCB circuit and layer be other.
If the Gerber file read have employed standard name, then with reference to naming rule, name recognition unit 21 according to Gerber filename, may identify which out that PCB layer is other and the number of plies after recognizing Gerber file.And the Gerber file for not adopting standard naming rule to name, then cannot not be directly obtained PCB layer not and the number of plies.Now, figure recognizing unit 22 reads primitive information from Gerber file, such as, PCB wire characteristic, copper sheet shape, heat radiation aperture, dividing potential drop diagram shape etc., owing to each layer of PCB other function difference can comprise different pels, then figure recognizing unit 22 utilizes pattern recognition technique to recognize PCB layer number and layer is other.
Further, in another embodiment, engineering parameter acquisition module can also get the PCB engineering parameters such as PCB boring form, position, hole count and aperture from Gerber file, refer to Fig. 9, for the structural representation of engineering parameter acquisition module in another embodiment, as it is shown in figure 9, this module specifically includes:
First resolution unit 23, is used for resolving described Gerber file acquisition to top line regional extent;
Bit cell 24, for obtaining primary drilling form and position distribution region according to parameter extraction rule with reference to top line regional extent, and with the some para-position of top layer pad center;
Drilling parameter acquiring unit 25, after determining boring according to para-position success rate, gets bore position, minimum hole count and minimum-value aperture.
Wherein, parameter extraction rule according to borehole coordinate form corresponding area arrangement rule and arrange, first resolution unit 23 gets the data such as top line region after resolving Gerber file, bit cell 24 is according to presetting rule reference top line region, get primary drilling form and position distribution region, further, by the boring form primarily determined that and position and top layer pad center of gravity para-position, extreme value boring in usual chosen position distributed areas carries out para-position, such as upper left, left, lower-left, upper right, right, bottom right, upper, the boring of lower middle position, and add up the para-position success rate of each extreme value boring.
After bit cell 24 counts para-position success rate, extreme value boring high for para-position success rate is defined as boring by drilling parameter acquiring unit 25, and then gets the PCB engineering parameter data such as bore position, minimum hole count and minimum-value aperture.
More specifically, in another embodiment, engineering parameter acquisition module can also get from Gerber file minimum line from minimum feature, with reference to Figure 10, engineering parameter module specifically includes:
Negative film element deletes unit 26, is used for resolving Gerber file acquisition PCB negative film element, deletes the PCB negative film element detected;
Screening unit 27, it is start element for choosing a pel, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, the network that search is connected with start element is defined as hunting zone, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
Line-spacing acquiring unit 28, for will after ascending for violations sequence screen, with get minimum line from.
Negative film element deletion unit 26 utilizes polygon difference operation to merge and obtains PCB negative film element after resolving Gerber file acquisition PCB circuit, and the negative film element that will detect further is deleted.When screening unit 27 is for start element for pad, to differ into default minimum search spacing (such as with bonding pad area, can be 10mil) scope be defined as hunting zone, by the graphic element of present networks non-in hunting zone, non-dimension line, whether distance is less than 10mil, if so, violations then it is defined as.Line-spacing acquiring unit 28 is by ascending for violations sequence, and plug is selected by the line recognizing exposure, to get rid of line simulator and copper sheet thus get real minimum line from.
Refer to Figure 11, for the structural representation of engineering parameter acquisition module in another embodiment, as shown in figure 11, in the present embodiment, when receiver module receives the file bag comprising Gerber file and plate-making supporting paper, engineering parameter acquisition module also includes:
Text resolution unit 29a, is used for traveling through file bag, and the plate-making supporting paper wherein comprised resolves to the text of consolidation form;
Matching unit 29b, describes file the control information comprised in mobile phone plate-making supporting paper for utilizing the text that preset general engineering parameter describes language rule storehouse coupling consolidation form to extract engineering parameter;
Due to the description rule of each PCB design scheme, space of a whole page difference, there is the plate-making supporting paper of different-format, system needs to get PCB engineering parameter information from the plate-making supporting paper of different-format.In the present embodiment, when the text resolution unit 29a file bag that receives of traversal also include independent plate-making supporting paper or be embedded in Gerber file plate-making supporting paper time, collect the PCB engineering parameter information comprised in plate-making supporting paper.The plate-making supporting paper of different-format is first converted into the text of consolidation form by text resolution unit 29a, thus directly the text of this consolidation form being processed in subsequent steps, when this plate-making supporting paper is PDF or picture, text resolution unit 29a utilizes OCR(OpticalCharacterRecognition, OCR) it is first converted to Word, and is converted into text formatting by Word analytics engine further by technology;When this plate-making supporting paper is Word, text resolution unit 29a is converted into text formatting by Word analytics engine;When this plate-making supporting paper is Excel form, text resolution unit 29a is converted into text formatting etc. by Excel analytics engine.
Wherein, according to practical situation, this general engineering parameter describes language rule storehouse specifically can include but not limited to industry rule base (wherein can comprise SPEC project codomain keyword and connect key word), industry SPEC item name keys, industry SPEC item codomain keyword etc..This rule base can be pre-stored within the memorizer in system with specific data form.When after system initialization, matching unit 29b calls the text mating the consolidation form got after this general engineering parameter describes language rule storehouse from memorizer, such as, text file can be carried out mating in full first with industry rule base by matching unit 29b, to extract keyword, if text exists synonym, can first be translated into industry standard word, the keyword collected further with industry SPEC item title keyword match is with after getting SPEC project codomain, judge that the choice of SPEC project codomain gets related data, and the related data such as outputting standard SPEC project codomain.In addition, system also judges in the control of plate-making supporting paper, in order to extracts correlation engineering parameter and describes data.While plate-making supporting paper being audited by above step, also support that traditional original document is audited so that examination & verification to be supplemented.
Get control information from plate-making supporting paper and after engineering parameter describes file, control information that coupling plate-making supporting paper is got by output module 30 and engineering parameter describe file integrate with the relevant parameter resolving Gerber file acquisition and arriving after the project examination list of output display standard, structure chart etc..
Refer to Figure 12, for the structural representation of the system automatically auditing PCB project file that another embodiment proposes, as shown in figure 12, on the basis of previous embodiment, this system also includes:
Preset module 40, describes language rule storehouse for preset parameter extracting rule and/or general engineering parameter;
In the present embodiment, preset module 40 can accept the input preset parameter extracting rule of user and/or general engineering parameter describes language rule storehouse, and Gerber document analysis rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;General engineering parameter describes language rule and may include that industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword etc..PCB industry rule base obtains according to SPEC item codomain keyword and conjunction keyword.By preset step so that system undated parameter extracting rule and general engineering parameter can describe language rule storehouse in time so that the result of examination & verification is more accurate.After system start-up, each rule base is initialized, receives file bag with examination & verification and get engineering parameter.
The system of automatic examination & verification PCB project file provided by the invention, by rule base, the file received is resolved, processes and identifies PCB engineering parameter, system can be exported after PCB engineering parameter standardization to user automatically, shorten the time of manual examination and verification, improve the efficiency of PCB project examination.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (10)

1. the method for an automatic examination & verification PCB project file, it is characterised in that the method for described automatic examination & verification PCB project file comprises the following steps:
Preset parameter extracting rule and general engineering parameter describe language rule storehouse;
Receiving the file bag that user submits to, described file bag comprises Gerber file and plate-making supporting paper;
Startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output display after integration analysis result;
Or, the method for described automatic examination & verification PCB project file comprises the following steps:
Preset general engineering parameter describes language rule storehouse;
Receiving the file bag that user submits to, described file bag comprises plate-making supporting paper;
Startup file auditing module, utilizes preset general engineering parameter to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output display after integration analysis result;
Wherein, described plate-making supporting paper includes the explanation to PCB engineering parameter;The Gerber document analysis rule of described parameter extraction rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;Described general engineering parameter describes language rule storehouse and includes industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword;
Described startup file auditing module, utilize preset general engineering parameter to describe language rule storehouse to resolve the described file bag step that gets PCB engineering parameter and specifically include: travel through described file bag, the plate-making supporting paper wherein comprised resolves to the text of consolidation form;Utilize the text that preset general engineering parameter describes the language rule storehouse described consolidation form of coupling to extract engineering parameter and describe file, and collect the control information comprised in plate-making supporting paper;Described control information comprises PCB engineering parameter and describes data.
2. method according to claim 1, it is characterised in that described engineering parameter include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size.
3. method according to claim 2, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves the described file bag step that gets PCB engineering parameter and specifically include:
When Gerber file adopts standard name, then resolve described Gerber file acquisition to PCB layer the other and number of plies;
When Gerber file is provided without standard name, then, after reading described Gerber file, utilizes graphics techniques to recognize PCB circuit and layer is other.
4. method according to claim 2, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves the described file bag step that gets PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition top line regional extent, obtain primary drilling form and position distribution region according to described parameter extraction rule with reference to described top line regional extent, and with the some para-position of top layer pad center;
After determining boring according to para-position success rate, get bore position, minimum hole count and minimum-value aperture.
5. method according to claim 2, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves the described file bag step that gets PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition PCB negative film element, delete described PCB negative film element;
Choosing a pel is start element, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, and the network that search is connected with start element, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
By belong to violations the ascending sequence of graphic element after screening, with get minimum line from.
6. the system of an automatic examination & verification PCB project file, it is characterised in that this system automatically auditing PCB project file includes:
Preset module, describes language rule storehouse for preset parameter extracting rule and general engineering parameter;
Receiver module, for receiving the file bag that user submits to, described file bag comprises Gerber file and plate-making supporting paper;
Engineering parameter identification module, for startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output module, is used for integrating output display after analysis result;
Or, this system automatically auditing PCB project file described includes:
Preset module, describes language rule storehouse for preset general engineering parameter;
Receiver module, for receiving the file bag that user submits to, described file bag comprises plate-making supporting paper;
Engineering parameter identification module, for startup file auditing module, utilizes preset general engineering parameter to describe the language rule storehouse described file bag of parsing and gets PCB engineering parameter;
Output module, is used for integrating output display after analysis result;
Wherein, described plate-making supporting paper includes the explanation to PCB engineering parameter;The Gerber document analysis rule of described parameter extraction rule includes graphic element definition rule, format convention, dedicated rules, formula rule, special algorithm program package, empirical rule and integration rules;Described general engineering parameter describes language rule storehouse and includes industry rule base, industry SPEC item name keys, industry SPEC item codomain keyword;
Described startup file auditing module, utilizes preset general engineering parameter to describe language rule storehouse and resolves described file bag and get PCB engineering parameter and specifically include: travel through described file bag, the text that document analysis is consolidation form that will wherein comprise;Utilize the text that preset general engineering parameter describes the language rule storehouse described consolidation form of coupling to extract engineering parameter and describe file, and collect the control information comprised in plate-making supporting paper;Described control information comprises PCB engineering parameter and describes data.
7. system according to claim 6, it is characterised in that described engineering parameter include PCB form, layer not, circuit, minimum feature and line-spacing, hole structure, minimum-value aperture, total hole count and size.
8. system according to claim 7, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves described file bag and get PCB engineering parameter and specifically include:
When Gerber file adopts standard name, then resolve described Gerber file acquisition to PCB layer the other and number of plies;
When Gerber file is provided without standard name, then, after reading described Gerber file, utilizes graphics techniques to recognize PCB circuit and layer is other.
9. system according to claim 7, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves described file bag and get PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition top line regional extent, obtain primary drilling form and position distribution region according to described parameter extraction rule with reference to described top line regional extent, and with the some para-position of top layer pad center;
After determining boring according to para-position success rate, get bore position, minimum hole count and minimum-value aperture.
10. system according to claim 7, it is characterised in that described startup file auditing module, utilizes the regular and general engineering parameter of preset parameter extraction to describe language rule storehouse and resolves described file bag and get PCB engineering parameter and specifically include:
Resolve described Gerber file acquisition PCB negative film element, delete described PCB negative film element;
Choosing a pel is start element, using the scope of the minimum search spacing differed with figure elemental area as presetting as searching for unit, and the network that search is connected with start element, and the graphic element of the non-consolidated network detected, non-dimension line is defined as violations;
By belong to violations the ascending sequence of graphic element after screening, with get minimum line from.
CN201210213179.XA 2012-06-26 2012-06-26 Automatically the method and system of PCB project file are audited Active CN102819552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210213179.XA CN102819552B (en) 2012-06-26 2012-06-26 Automatically the method and system of PCB project file are audited

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210213179.XA CN102819552B (en) 2012-06-26 2012-06-26 Automatically the method and system of PCB project file are audited

Publications (2)

Publication Number Publication Date
CN102819552A CN102819552A (en) 2012-12-12
CN102819552B true CN102819552B (en) 2016-07-06

Family

ID=47303663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210213179.XA Active CN102819552B (en) 2012-06-26 2012-06-26 Automatically the method and system of PCB project file are audited

Country Status (1)

Country Link
CN (1) CN102819552B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Families Citing this family (29)

* 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
CN103279861A (en) * 2013-06-04 2013-09-04 深圳市百能信息技术有限公司 PCB engineering problem contrastive analysis and PCB engineering problem contrastive analysis result sending method and device
CN103577390B (en) * 2013-10-30 2016-06-08 广州美维电子有限公司 A kind of method automatically generating the folded structure table of PCB impedance and device
CN104699019B (en) * 2013-12-09 2019-09-17 中芯国际集成电路制造(上海)有限公司 Board restores checking system and board restores the method for inspection
CN104750750A (en) * 2013-12-31 2015-07-01 上海斐讯数据通信技术有限公司 GERBER file output method
CN103823882A (en) * 2014-03-03 2014-05-28 深圳市百能信息技术有限公司 Method and system for automatically auditing PCB project files
CN104199873A (en) * 2014-08-19 2014-12-10 深圳市兴森快捷电路科技股份有限公司 PCB design drawing device search method and system based on PDF circuit diagram
CN104281745B (en) * 2014-09-28 2018-01-05 深圳市兴森快捷电路科技股份有限公司 A kind of boring method using specified format file
CN104317998B (en) * 2014-10-17 2018-11-09 深圳市百能信息技术有限公司 A kind of method and apparatus of the manufacture compensation of the parameter of Gerber files
CN104346502B (en) * 2014-12-05 2017-11-14 中国电子科技集团公司第五十四研究所 A kind of method based on ODB++ file translations for editable PCB domains
CN104463209B (en) * 2014-12-08 2017-05-24 福建坤华仪自动化仪器仪表有限公司 Method for recognizing digital code on PCB based on BP neural network
CN104732515B (en) * 2014-12-22 2018-01-23 深圳市百能信息技术有限公司 A kind of method and apparatus of line and curve connection body extraction outline
CN104573242B (en) * 2015-01-14 2019-09-03 上海泰齐电子科技咨询有限公司 A kind of PCB design domain auditing system
CN104573243B (en) * 2015-01-14 2020-04-07 上海泰齐电子科技咨询有限公司 PCB design layout auditing device
CN105224739A (en) * 2015-09-25 2016-01-06 深圳市参数领航科技有限公司 A kind of method and system being applied to the combing of PCB specification
CN105718554A (en) * 2016-01-19 2016-06-29 深圳市天朗时代科技有限公司 Document collaboration conversion method and system
CN107403385B (en) * 2016-05-18 2021-03-09 平安科技(深圳)有限公司 Insurance information auditing method and device
CN105912883A (en) * 2016-06-30 2016-08-31 广州市皓轩软件科技有限公司 Structural data extraction method for ICD pacemaker
CN106529070B (en) * 2016-11-24 2020-04-17 深圳市景旺电子股份有限公司 Circuit board CAM data automatic processing method and system
CN106649852A (en) * 2016-12-30 2017-05-10 广州兴森快捷电路科技有限公司 Method and system for converting PCB file into Gerber file
CN107067228A (en) * 2017-03-31 2017-08-18 南京钧元网络科技有限公司 A kind of hand-held authentication intelligent checks system and its checking method
EP3639225A1 (en) * 2017-06-12 2020-04-22 Hexagon Technology Center GmbH Managing review of a design document
CN107644122A (en) * 2017-08-29 2018-01-30 深圳市兴森快捷电路科技股份有限公司 A kind of ODB++ file modifications method, apparatus and readable storage medium storing program for executing
CN109710980B (en) * 2018-11-30 2023-05-09 深圳市嘉立创科技发展有限公司 File auditing processing method, device, computer equipment and storage medium
CN109710264B (en) * 2018-12-19 2022-06-14 森大(深圳)技术有限公司 Gerber file conversion method, system, device and storage medium
CN109657374B (en) * 2018-12-25 2023-10-27 中科曙光信息产业成都有限公司 Modeling system and modeling method for printed circuit board
CN111507057B (en) * 2020-04-22 2023-10-03 深圳市亚派光电器件有限公司 PADS drawing output method and device and computer readable storage medium
CN112782177B (en) * 2020-12-09 2022-10-28 广州广合科技股份有限公司 Automatic data output method of AVI appearance inspection machine
CN113779925B (en) * 2021-11-10 2022-01-28 杭州捷配信息科技有限公司 Minimum line width calculation method and device suitable for PCB engineering file and application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869667A (en) * 2006-06-08 2006-11-29 李贤伟 Profile analysing method for investigating defect of printed circuit board
US7281232B1 (en) * 2004-02-12 2007-10-09 Nvidia Corporation Method and apparatus for automatically checking circuit layout routing
CN101441671A (en) * 2007-11-19 2009-05-27 英业达股份有限公司 Automatic detection method of layout

Patent Citations (3)

* 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
CN1869667A (en) * 2006-06-08 2006-11-29 李贤伟 Profile analysing method for investigating defect of printed circuit board
CN101441671A (en) * 2007-11-19 2009-05-27 英业达股份有限公司 Automatic detection method of layout

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
印制电路板制造中加工数据自动审查技术研究;孙煜晴;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110715(第2011年第07期);I136-751 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102819552A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
CN102819552B (en) Automatically the method and system of PCB project file are audited
CN103823882A (en) Method and system for automatically auditing PCB project files
US10824801B2 (en) Interactively predicting fields in a form
CN1892642B (en) Method and system for processing forms
US8254721B2 (en) Data input system, data input receiving device, data input receiving method and computer readable medium
US8508756B2 (en) Image forming apparatus having capability for recognition and extraction of annotations and additionally written portions
US20040218838A1 (en) Image processing apparatus and method therefor
US20090110288A1 (en) Document processing apparatus and document processing method
CN113723347B (en) Information extraction method and device, electronic equipment and storage medium
JP4785655B2 (en) Document processing apparatus and document processing method
US20150046784A1 (en) Extraction device for composite graph in fixed layout document and extraction method thereof
JP2007049388A (en) Image processing apparatus and control method thereof, and program
US11908215B2 (en) Information processing apparatus, information processing method, and storage medium
US10839146B2 (en) Information processing system, information processing apparatus, control method, and storage medium
US10803233B2 (en) Method and system of extracting structured data from a document
CN103049557A (en) Website resource management method and website resource management device
CN105930313A (en) Method and device for processing notification message
CN109726369A (en) A kind of intelligent template questions record Implementation Technology based on normative document
CN101394462B (en) Information processing apparatus and information processing method
JP2020181369A (en) Document reading system
JP4811133B2 (en) Image forming apparatus and image processing apparatus
JPH05159101A (en) Device and method for recognizing logical structure and contents of document
CN106204129A (en) The terminal unit recognition prize drawing image that authority is different carries out the method and system drawn a lottery
US20110055253A1 (en) Apparatus and methods for integrated management of spatial/geographic contents
JP2006146627A (en) Document information retrieval system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant