Font Size: a A A

The Research Of Analysis Of Gerber File And Its Graphic Drawing And Segmentation In PCB Processing

Posted on:2019-01-25Degree:MasterType:Thesis
Country:ChinaCandidate:X W HeFull Text:PDF
GTID:2370330572451567Subject:Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the continuous development of high-power lasers,it has become a trend to combine laser processing technology with modern programming techniques.The Gerber file is one of the standard formats for graphic conversion in the PCB industry,and it is widely used because of the diversity of data types,especially in the field of PCB laser processing,related software systems increasingly use Gerber to design and store graphics.However,in view of the large amount of data,complex structure and high level of secrecy in the Gerber file,the related copyright application software on the market is very rare.Therefore,it is of great significance to develop a software system that is based on Gerber files and suitable for laser processing.This dissertation is based on the national key R&D project related to laser processing,and related research has been carried out.This paper focuses on the parsing,rendering and segmentation techniques of Gerber files in PCB laser processing,and finally form a set of software system with visual interface.First of all,the paper makes a detailed summary of the technologies,which associated with Gerber files.At the same time,the technology of file parsing is analyzed and studied deeply,laying the foundation for the following research work.Secondly,on the basis of understanding and reading the official documents of Gerber files,this paper will design a set of data storage structure suitable for the implementation of this system,and accomplish the parsing of Gerber files through regular expression matching algorithm.Thirdly,C# technology is used to construct the overall architecture of the software,build three types of graphical library modules,which include Standard Aperture,Special Aperture and Aperture Macro.On this basis,the Gerber file graphics rendering and detailed display of each layer are realized,and the synchronization of the associated data of each module is completed.After that,the Gerber image is segmented by designing a reasonable intersection algorithm,and the Gerber subgraph,which generated by segmenting,is reversely output in the format of Gerber file.During this process,the accuracy of the mapping data and the output data can be kept consistent,which increase the flexibility of data processing in the process of PCB.In addition,the paper not only designs the drawing method of Circle Aperture and Square Aperture in the process of Gerber graphic drawing,but also solves the directionality problem of Outline Fill.Finally,detailed and comprehensive testing and analysis were performed on each functional module of the system,and the performance test and analysis of the system were completed.The test results show that the system has a complete function,stable operation and good performance.It can correctly parse,draw and divide large-capacity Gerber files on the premise of ensuring accuracy,and overall achieves the preset design goals.
Keywords/Search Tags:Gerber file, Data parsing, Graphic drawing, Two-dimensional image segmentation
PDF Full Text Request
Related items