摘要
针对将TCP/IP协议栈运用在嵌入式成像系统中作为通信方式时所存在的传输速度低的问题,提出一种将数据封装在自定义以太网帧中进行传输的通信方式,并针对这种方式实现了网卡的驱动。定义了三种帧格式分别用于启动曝光、数据传输、数据重传,设计了一种基于状态机的控制协议实现相机的控制及图像数据的传输,并最终在硬件平台上实现了基于这种方法的成像系统。实验测试表明,NiosII嵌入式处理器工作在150MHz、uCosII操作系统条件下,基于自定义以太网帧的传输方式能将图像数据的传输速率提升4倍以上,这种方式特别适用于传输速率要求较高且资源有限的嵌入式程序成像系统。
For disadvantage of lower transmission speed which exist in embedded imaging system using TCP/IP protocol stack,this paper proposed a new communication method which packaged the image data in custom Ethernet frame for transmission.This paper defined 3 kinds of frames which were used to start the exposure,data transmission,data retransmission,and designed a control method based on state machine for camera control and image data transmission.To achieve this method on the hardware platform which using the NiosII embedded processor,tested the network communication speed and made it compare with the speed of the system based on TCP/IP protocol stack.The resalts show that the increase of the speed is more than 4 times.This communication method is particularly suitable for the embedded imaging system which has limited hardware resources and high requirements of transmission rate.
出处
《计算机应用研究》
CSCD
北大核心
2011年第5期1854-1856,1860,共4页
Application Research of Computers
基金
国家自然科学基金面上资助项目(10603009)
北京市科技新星资助项目(2008B57)
北京市属高等学校人才强教计划资助项目
关键词
以太网
嵌入式系统
通信
成像系统
Ethernet
embedded system
communication
imaging system