单片机与嵌入式系统应用
單片機與嵌入式繫統應用
단편궤여감입식계통응용
MICROCONTROLLER & EMBEDDED SYSTEM
2012年
4期
55-58
,共4页
点光源标杆%图像%FIFO%单片机
點光源標桿%圖像%FIFO%單片機
점광원표간%도상%FIFO%단편궤
point source pole%image%FIFO%MCU
基于FIFO芯片AL422B,以飞思卡尔16位单片机MC9S12DG128为核心,采集摄像头芯片OV7670的图像信息,设计出以低速率的单片机采集高速率图像的图像采集系统。系统采用单片机控制FIFO芯片,先由FIFO实时读取摄像头芯片的一幅完整图像信息,再由单片机以低速率从FIFO的相应寄存器读取该幅图像,读取的同时进行相应的图像处理,得出所需图像中点光源的像素距离后通过FIFO进行下一幅图像的采集。本方案通过样机实验,完全能满足要求,确保了一副图像的完整性。
基于FIFO芯片AL422B,以飛思卡爾16位單片機MC9S12DG128為覈心,採集攝像頭芯片OV7670的圖像信息,設計齣以低速率的單片機採集高速率圖像的圖像採集繫統。繫統採用單片機控製FIFO芯片,先由FIFO實時讀取攝像頭芯片的一幅完整圖像信息,再由單片機以低速率從FIFO的相應寄存器讀取該幅圖像,讀取的同時進行相應的圖像處理,得齣所需圖像中點光源的像素距離後通過FIFO進行下一幅圖像的採集。本方案通過樣機實驗,完全能滿足要求,確保瞭一副圖像的完整性。
기우FIFO심편AL422B,이비사잡이16위단편궤MC9S12DG128위핵심,채집섭상두심편OV7670적도상신식,설계출이저속솔적단편궤채집고속솔도상적도상채집계통。계통채용단편궤공제FIFO심편,선유FIFO실시독취섭상두심편적일폭완정도상신식,재유단편궤이저속솔종FIFO적상응기존기독취해폭도상,독취적동시진행상응적도상처리,득출소수도상중점광원적상소거리후통과FIFO진행하일폭도상적채집。본방안통과양궤실험,완전능만족요구,학보료일부도상적완정성。
Based on FIFO chip AL422B, the paper takes Freescale 16 bit MCU MC9S12DG128 as the core, collects image information from camera chip OV7670 to realize the low rate MCU high speed image acquisition system. The system adopts the MCU control FIFO chip, the FIFO reads complete image information from camera at real time, and then MCU reads images from the FIFO corresponding register at low speed. At the same time the MCU processes the corresponding image in order to get the image point source pixel dis- tance, and the design acquires the next image by FIFO. The project meets the requirement through proto and ensures image integrity.