In order to make the data transmission between CCD imaging camera and computer easy and real time, a design scheme of interface circuit based on USB and Camera link is presented. Logic circuit is designed by VHDL language, and then implemented in FPGA to control the interface chips. Software is programmed by VC + +. USB interface is used to receive the command data, and Camera Link interface is used to send the image data. Experiments show that the circuit meets the demand of different imaging systems when the data is large and high speed.%为了使CCD相机和上位机之间能够进行简单、实时的数据传输,提出一种以USB和Camera Link接口相结合的数据传输系统设计方案.通过FPGA对接口芯片进行控制,使用VHDL语言进行逻辑电路的设计,并采用VC++编写上位机软件.实现由USB接口接收数据,USB或Camera Link接口输出数据.实验表明,设计的系统能够准确、实时地接收控制命令和向上位机发送高速率、大容量的图像数据,可以应用在不同数据传输要求的CCD相机中.
展开▼