PCB打印機圖形光柵化質(zhì)量改進方法研究
發(fā)布時間:2018-07-16 23:38
【摘要】:隨著科技的進步和電子產(chǎn)品的普及,印制電路板(printed circuit board,PCB)在當(dāng)今的電子產(chǎn)品中已成為不可或缺的一部分。傳統(tǒng)的PCB制作一般采用加成法,,不僅工序流程復(fù)雜、原材料消耗大,并且產(chǎn)生的廢水廢棄物對環(huán)境造成了極大地危害;另外,由于受到生產(chǎn)模式的制約,傳統(tǒng)的PCB生產(chǎn)方式在制造精度上也存在著無法克服的問題。PCB噴墨打印技術(shù)在縮短生產(chǎn)周期、降低生產(chǎn)成本、提高生產(chǎn)精度、減少環(huán)境污染等方面具有諸多優(yōu)勢,逐漸成為PCB生產(chǎn)的主流。近年來,采用噴墨打印技術(shù)的PCB噴墨打印機的研究也日趨成熟,已經(jīng)逐漸應(yīng)用到PCB的生產(chǎn)制造中。圖形光柵化在PCB噴墨打印機中占據(jù)著重要的位置,研究PCB打印機圖形光柵化質(zhì)量改進方法對于提高PCB的制造精度具有重大意義。 該文首先介紹了PCB打印機圖形光柵化過程中的理論和方法,包括Gerber文件解析、基本圖形的光柵化算法和反走樣技術(shù);其次,著重研究了直線和圓的光柵化算法。利用直線關(guān)于中心點的對稱性以及直線上像素點之間的相關(guān)性,對直線的Bresenham算法進行了改進,使得算法每執(zhí)行一次,就能生成關(guān)于直線中心點對稱的兩行像素點,提高了直線的生成速度。為了提高直線的生成質(zhì)量,在改進的Bresenham算法的基礎(chǔ)上,引入了半球形濾波器算法,使得直線上的相鄰像素點的灰度值過度更加平緩,減輕了直線的鋸齒狀現(xiàn)象。針對圓的對稱性,采用了八分圓的畫圓思想,引入了圓的雙步生成概念,對圓的Bresenham算法進行了改進,使得算法每執(zhí)行一次能生成圓上的兩個像素點,提高了圓的生成速度;诟倪M的雙步畫圓算法,提出了反走樣算法,該算法能夠根據(jù)圓的每個邊界像素點在圓內(nèi)的面積,確定它們相應(yīng)的灰度值,使得生成的圓的平滑性更好,圖形質(zhì)量提高。 最后,基于以上研究,設(shè)計并實現(xiàn)了PCB打印機圖形光柵化系統(tǒng),并經(jīng)實驗驗證了上述改進光柵化算法的正確性,即能有效的提高圖形光柵化的速度和質(zhì)量。
[Abstract]:With the development of science and technology and the popularization of electronic products, printed circuit board (printed circuit) has become an indispensable part of electronic products. The traditional PCB manufacturing generally adopts addition method, not only the process is complex, the raw material consumption is large, and the waste water produced has caused great harm to the environment, in addition, because of the restriction of the production mode, The traditional PCB production mode also has some problems in manufacturing precision. PCB inkjet printing technology has many advantages in shortening production cycle, reducing production cost, improving production accuracy, reducing environmental pollution and so on. Gradually become the mainstream of PCB production. In recent years, the research of PCB inkjet printer using inkjet printing technology has become more and more mature, and has been gradually applied to PCB manufacturing. Graphic rasterization occupies an important position in PCB inkjet printers. It is of great significance to improve the quality of PCB printer graphics rasterization. This paper first introduces the theory and method of graphic rasterization of PCB printer, including Gerber file analysis, rasterization algorithm of basic graphics and anti-aliasing technology. Secondly, the rasterization algorithm of straight line and circle is studied emphatically. The Bresenham algorithm of a straight line is improved by using the symmetry of the center point of the line and the correlation between the pixels on the line, so that the algorithm can generate two rows of pixels about the symmetry of the center point of the line every time the algorithm is executed. The speed of generating straight line is improved. In order to improve the quality of straight line generation, the hemispherical filter algorithm is introduced on the basis of the improved Bresenham algorithm, which makes the gray value of adjacent pixels on the line more smooth and reduces the jagged phenomenon of the line. Aiming at the symmetry of a circle, the idea of drawing a circle with eight parts is adopted, the concept of double step generation of circle is introduced, and the Bresenham algorithm of circle is improved, so that two pixels on the circle can be generated every time the algorithm is executed, and the speed of circle generation is improved. Based on the improved two-step circle drawing algorithm, an anti-aliasing algorithm is proposed, which can determine the corresponding gray values according to the area of each edge pixel in the circle, which makes the generated circle smoother and the graphics quality improved. Finally, based on the above research, the graphic rasterization system of PCB printer is designed and implemented, and the correctness of the improved rasterization algorithm is verified by experiments, that is, the speed and quality of graphics rasterization can be improved effectively.
【學(xué)位授予單位】:重慶理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP334.8
本文編號:2128065
[Abstract]:With the development of science and technology and the popularization of electronic products, printed circuit board (printed circuit) has become an indispensable part of electronic products. The traditional PCB manufacturing generally adopts addition method, not only the process is complex, the raw material consumption is large, and the waste water produced has caused great harm to the environment, in addition, because of the restriction of the production mode, The traditional PCB production mode also has some problems in manufacturing precision. PCB inkjet printing technology has many advantages in shortening production cycle, reducing production cost, improving production accuracy, reducing environmental pollution and so on. Gradually become the mainstream of PCB production. In recent years, the research of PCB inkjet printer using inkjet printing technology has become more and more mature, and has been gradually applied to PCB manufacturing. Graphic rasterization occupies an important position in PCB inkjet printers. It is of great significance to improve the quality of PCB printer graphics rasterization. This paper first introduces the theory and method of graphic rasterization of PCB printer, including Gerber file analysis, rasterization algorithm of basic graphics and anti-aliasing technology. Secondly, the rasterization algorithm of straight line and circle is studied emphatically. The Bresenham algorithm of a straight line is improved by using the symmetry of the center point of the line and the correlation between the pixels on the line, so that the algorithm can generate two rows of pixels about the symmetry of the center point of the line every time the algorithm is executed. The speed of generating straight line is improved. In order to improve the quality of straight line generation, the hemispherical filter algorithm is introduced on the basis of the improved Bresenham algorithm, which makes the gray value of adjacent pixels on the line more smooth and reduces the jagged phenomenon of the line. Aiming at the symmetry of a circle, the idea of drawing a circle with eight parts is adopted, the concept of double step generation of circle is introduced, and the Bresenham algorithm of circle is improved, so that two pixels on the circle can be generated every time the algorithm is executed, and the speed of circle generation is improved. Based on the improved two-step circle drawing algorithm, an anti-aliasing algorithm is proposed, which can determine the corresponding gray values according to the area of each edge pixel in the circle, which makes the generated circle smoother and the graphics quality improved. Finally, based on the above research, the graphic rasterization system of PCB printer is designed and implemented, and the correctness of the improved rasterization algorithm is verified by experiments, that is, the speed and quality of graphics rasterization can be improved effectively.
【學(xué)位授予單位】:重慶理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP334.8
【參考文獻】
相關(guān)期刊論文 前10條
1 莊嚴;;印刷電子學(xué)的發(fā)展[J];電子元件與材料;2010年09期
2 祝大同;亞洲印制電路板業(yè)的現(xiàn)狀與發(fā)展[J];電子工藝技術(shù);1997年04期
3 劉濤;高青偉;趙國榮;;一種新的基于圓錐濾波的直線反走樣生成技術(shù)[J];工程圖學(xué)學(xué)報;2006年03期
4 孔令德;;基于面積加權(quán)反走樣算法的研究[J];工程圖學(xué)學(xué)報;2009年04期
5 張志龍,李吉成,沈振康;一種新的快速復(fù)雜連通區(qū)域掃描線填充算法[J];計算機工程與應(yīng)用;2004年31期
6 牛玉靜;唐棣;;嵌入半球形濾波快速反走樣畫線方法[J];計算機工程與應(yīng)用;2010年10期
7 牛玉靜;唐棣;;雙步圓的反走樣生成算法[J];計算機工程與應(yīng)用;2010年23期
8 樓劍濤;王秀和;;基于對稱的反走樣直線生成算法[J];計算機工程與應(yīng)用;2011年01期
9 歐陽開翠;曾令華;譚淵;白寶鋼;;對稱式八步直線生成算法[J];計算機科學(xué);2008年03期
10 江修,張煥春,經(jīng)亞枝,閔瑩;直線生成算法在飛機座艙全羅盤畫面繪制中的應(yīng)用[J];計算機輔助設(shè)計與圖形學(xué)學(xué)報;2003年11期
本文編號:2128065
本文鏈接:http://www.lk138.cn/kejilunwen/jisuanjikexuelunwen/2128065.html
最近更新
教材專著