Escolar Documentos
Profissional Documentos
Cultura Documentos
Abstract: At present, line-scan CCD camera with camera link output cannot be connected with the video ports of DM642. To
this issue, based on the detailed analysis of the camera link interface protocol, three specialized chips were chose for level
conversion; More over, a FIFO buffer has been designed in FPGA combined the camera specification and sequential. It solves
the interface problem between camera and DM642, that is the data butter of the different clock domains. The design has achieved
the control of the line-scan CCD camera and sampling of CCD signal. The tests indicate that, the interface circuit can sample
effectively. Moreover, it has Laid the foundation for further analyzing and processing of image data.
Key Words: Line-scan CCD, Camera Link Interface, FIFO, DM642
c
978-1-4244-5182-1/10/$26.00 2010 IEEE 2914
CC1 is only defined in L304Kc as the external clock configuration tool will be used to set the parameter on
synchronization signal (ExSYNC), used to select the computer.
exposure mode for the external trigger or internal trigger. The external synchronization clock signal of the camera can
Serial Communication Signals: Two LVDS pairs have be controlled by the FPGA[4][5]. The chip DS90LV017 is
been allocated for asynchronous serial communication to used to convert a TTL signal to a pair of LVDS control
and from the camera and frame grabber. Cameras and frame signal.
grabbers should support at least 9600 baud. Video signals include five pairs of LVDS, of which four
Based on the above analysis, we can come to the conclusion pairs of video signals and 1 clock signal. We choose
that the main problem of the interface design of the project's DS90CR288 as a receiver chip, used to receive differential
is how to format the three type Camera link signals into signal. The output signals are 28-bit data (24-bit image
signal which DM642 processor are receivable. data, 4 sync signal) and 1 bits TTL-level clock signal.
3.2 Video Data FIFO Interface Design and
3 CAMERA LINK INTERFACE DESIGN Implementation
L304kc is a line-scan CCD camera with LVDS signals The video data output mode of L304kc operates in 3tap
output. Therefore, interface circuit consists of two parts: 8bit. In this mode, L304kc camera operates with a 30MHz
one for level conversion of LVDS signal; another is pixel clock. On each clock cycle, the camera transmits 8
interface circuit design of the video image data and DSP. bits of data for a red pixel, 8 bits of data for a green pixel, 8
DM642 camera and the interface structure shown in Fig 2. bits of data for a glue pixel, a line valid bit and a data valid
bit. The camera link pixel clock is used to time data
sampling and transmission. As shown in Fig 3, the camera
samples and transmits data on each rising edge of the pixel
clock. Pixel data is only valid when line valid and data valid
bits are both high.
REFERENCES
HF EXT_ INTx
[1] Howard Johnson, Martin Graham, High Speed Digital
CAM-D D[0...23] Q[ 23...0] ED[ 23...0] Design, Publishing house of Electionics Industy, 2003.
[2] Specifications of the Camera Link Interface Standard for
Fig 4: The Interface Design Circuit Digital Cameras and Frame Grabbers.2000.
[3] Basler L304Kc Users manual, 2007.
4 THE EXPERIMENT RESULT [4] Ming Li, Junfa Wang. High-speed data sampling system
based on Camera Link[J].Infrared, 2005(7).
Schematic design input mode on QuartusĊ platform is
[5] Rafe Camerota, Joel Rosenberg, Data Acqusition Systems
popular with its simplify. We made a high-speed FIFO on
Using Cache Logic FPGAs, Atemel Corporation,1999.
Quartus Ċ platform, Using the macro function blocks
[6] Yanxing Song, Feng Yuan, Zhenliang Ding. The application
LPM_FIF0 + in LPM, according to the need to adjust of high-speed FIFO synchronous image acquisition system
parameters. [J]. Chinese Journal of Scientific Instrument, 2006,27 (6)
When the first-128 pixel data writes into the FIFO, the :1360-1361.
half-full signal trigger interrupt signal. At the same time, [7] Fei Han, Chunmei Hu, and Wei Li. TMS320C6000 Series
FIFO is mapped to the CE3 space of DM642. Then the DSP Development and Application Skills [C]. Beijing:
EMIFA begins to read data from the FIFO; When the 128 China electric power press,2008.
pixel data is read out, the rdreg will be low-level and stop [8] Minxia Kang, Jianzhong Cao, Yan Tian. Real-time video
reading data. During this period, FIFO still writes the other processing system in the design of cache ping-pong [J].
half buffer. When the second -128 pixel data is write into Journal of Projectiles; Rockets; Missiles and Guidance,
FIFO, DSP begin to read FIFO. In summary, the design of 2007,27 (4): 218-221.
[9] Jihua Wu, Cheng Wang. ALTERA FPGA / CPLD Design
[C] Beijing: Posts & Telecom Press, 2005.
[10] Abhyankar, Y; Sajish.C; Kulkarni. P.et al. Design of a
FPGA based data acquisition system for radio astronomy
applications. 16th International Conference on
Microelectronics, 2004, IEEE: 555-557.