摘 要:在FPGA圖像采集系統的基礎上,設計了一種遙控式且帶存儲功能的圖像采集系統。設計采用MT9T001作為圖像傳感器,以FPGA芯片EP2C8Q208和AVR單片機ATmega8L的組合為主,以高速視頻數模轉換芯片ADV7125和USB接口芯片VNC1L-1A為輔助,完成了圖像的采集、實時顯示、圖像以灰度位圖格式的存儲及對已存圖片的重新顯示、存儲控制、遙控器解碼及用遙控器調節圖像參數等功能。此設計應用到工業相機領域,操作簡單且方便靈活,對130萬像素的圖像數據實時顯示的速度可以達25 f/s,寫入存儲設備和從存儲設備中讀出并顯示的時間分別可達6 s和5 s。對圖像存儲功能的設計與實現進行了詳細介紹,并對遙控功能進行了描述。
關鍵詞:圖像采集; FPGA; ATmega8L; VNC1L-1A; 位圖; 遙控器解碼
中圖分類號:TP752 文獻標識碼:A
文章編號:1004-373X(2010)11-0144-03
Design and Achievement of Image Acquisition System with
Remote Control and Memory Functions
LIU Wei, LI Li, CHEN Hai-yan, WANG Fa-xiu, WANG Ying
(Beijing Vocationgal College of Electronic Science, Beijing 100015, China)
Abstract: Based on the image acquisition system achieved with FPGA, a kind of image acquisition system with remote control and memory functions was designed. The functions of image acquisition, real-time displaying, image storage in BMP form, image redisplay, memory control, decoding of remote controller, and adjustment of image parameters with remote controller are accomplished by taking MT9T001 as the image sensor, FPGA chip EP2C8Q208 and AVR chip Atmega8L composite as a main controller, and high speed D/A chip ADV7125 and USB interface chip VNC1L-1A as an assistant. This design can be used in industry, because it is easy and convenient to operate. The real-time displaying speed of images with 1.3 million pixels can reach 25 F/s. The save and readout speed from the storage device reaches 6 s and 5 s respectively. The design and achievement of image nstorage function are introduced in detail, and the remote control is described.
Keywords: image acquisition; FPGA; Atmega8L; VNC1L-1A; bitmap; decoder of remote controllor
0 引 言
圖像采集技術隨著科技的不斷進步在全球的應用已越來越廣泛,如軍用工業、醫療、電子等各領域。在國內,各行各業對采用圖像采集技術的工業自動化、智能化需求也廣泛出現,逐步開始了工業現場的應用,比如,制藥行業的藥品檢測分裝、印刷業的印刷色彩檢測、PCB板的表面質量檢測、LCD屏的質量檢測等。所以,以圖像采集功能為核心,開發一款適合工業領域應用且功能齊全、操作方便的圖像采集系統會給用戶帶來很大的實惠。
目前圖像采集方面已有很多且很完善的方案,本文設計選擇了利用FPGA進行圖像采集的方案\\,設計了一套圖像采集系統。與普通應用于工業方面的圖像采集系統不同,本系統添加了存儲功能,并對傳統的控制操作的方式進行了改進。……