[카메라·영상]

[카메라 링크] CameraLink Signal Capture Demo with ALTERA Cyclone IV

Neo Park 2016. 12. 23. 11:22

 

CameraLink Signal Capture Demo with ALTERA Cyclone IV (ACM-024) LVDS I/F

This is simple CameraLink LVDS signal capture demonstration. CameraLink LVDS signals are directly captured by ALTERA Cyclone IV FPGA board ACM-024, and displayed in TFT LCD. CameraLink signals are generated by an analog CameraLink driver. A cheap CCD camera module is connected to the driver's input.

 


Components

더블클릭을 하시면 이미지를 수정할 수 있습니다
   Click to Enlarge

Components
ALTERA Cyclone IV GX FPGA BoardACM-024 HuMANDATA
Universal boardZKB-105 HuMANDATA
CameraLinkACLD-400 (Japanese) STAC
4.3" LCD Touch Panel PackageTRDB-LTM (Discontinued) Terasic
UTL-021 is alternative product
 5″ Color LCD Display Module with Touch Panel
Color CCD CameraTR-1300C (Japanese)corona-dengyo
Download cable Terasic Blaster Terasic

Connector


   Click to Enlarge

CameraLink frame grabber connector is "10226-2210PE (3M)". Pins are converted into DIP scale with a conversion board "SOP28-1P27(Aitem-Lab, japanese)".

 


System Architecture

The FPGA receives LVDS signals (data x4, clock x1) from ACLD-400 and transfers RGB data to the LCD.

 


FPGA Configuration

LVDS signals are captured by FPGA internal components generated by MegaWizard "ALTLVDS_RX".


  Click to show all

 

Number of LVDS data signals is 4, so set "Number of Channels" to "4".
CameraLink transfer data in 7bits per one clock in one data-lane. Set "Deserialization Factor" to "7".

 


  Click to show all

ACLD-400 output clock at 24.5454MHz in NTSC mode, so set "Clock Frequency" to 24.55MHz.
Set "Input Dat Rate" to 171.8178 which multiply "Clock Frequency" by "Deserialization Factor".

 


Waveform

Here is FPGA internal data captured by SignalTap. You can see RPG data between holizonal synch signal assert.
 
Net Name Signal Explanation
rx_out[27] Spare Reserved bit
rx_out[20] DVAL Frame and Line data is valid
rx_out[19] FVAL Frame data is valid (Vertical synchronization signal)
rx_out[18] LVAL Line data is valid (Horizonal synchronization signal)
rx_out[22:21],[5:0] R[7:0] Red color data
rx_out[24:23],[11:6] G[7:0] Green color data
rx_out[26:25],[17:12] B[7:0] Blue color data


  Click to Enlarge


Design Files

Please be forewarned that we do not offer sample design files.
 

We hope you find this demonstration informative.
Please let us know if you notice any mistakes.




참조 : http://www2.hdl.co.jp/en/index.php/demonstration/cameralink-signal-capture.html