• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2021, Vol. 43 ›› Issue (10): 1796-1802.

• 图形与图像 • 上一篇    下一篇

基于Zynq的SDI视频图像分割系统

王炜琛1,涂海洋2,王伟明1,赵晓博1   

  1. (1.石家庄铁道大学电气与电子工程学院,河北 石家庄 050043;2.空装北京军代局驻石家庄地区军代室,河北 石家庄050000)
  • 收稿日期:2020-05-13 修回日期:2020-08-20 接受日期:2021-10-25 出版日期:2021-10-25 发布日期:2021-10-22
  • 基金资助:
    河北省军民科技协同创新专项(20355601D);河北省自然科学基金(E2016210104)

A SDI video image segmentation system based on Zynq

WANG Wei-chen1,TU Hai-yang2,WANG Wei-ming1,ZHAO Xiao-bo1   

  1. (1.School of Electrical and Electronic Engineering,Shijiazhuang Tiedao University,Shijiazhuang 050043;

    2.Military Representative Office of Beijing Military Epresentative Bureau in Shijiazhuang,Shijiazhuang 050000,China)

  • Received:2020-05-13 Revised:2020-08-20 Accepted:2021-10-25 Online:2021-10-25 Published:2021-10-22

摘要: 为弥补传统视频图像分割器抗干扰能力弱、帧率低、设计复杂等缺点,选取XILINX Zynq XC7Z035 FPGA 异构平台,并与SDI技术相融合,采用高清数字串行解码芯片TW6874对4路数字视频图像进行同步采集,输出BT.1120数据至FPGA,以实现4路视频分开显示。为满足视频图像的分辨率和帧率要求,首先对视频图像数据进行像素抽样,其次利用AXI4-Stream Data FIFO进行行输入缓存,处理数据灵活,便于拓展,为进一步集成算法提供了基础。AXI4-Stream Data FIFO每行960个数据产生s_axi_s2mm_tlast信号与AXI DMA进行握手,将数据缓存至DDR3 SDRAM中,缓存540行之后进行下一个缓冲区地址的切换,AXI DMA每路视频图像均有3个缓冲区,从而完成三缓存设计,保证视频图像无撕裂现象。最后将缓存数据输出至SMPTE SDI IP核进行显示。实验结果表明:该系统实现了4路SDI视频图像分割,系统资源占用少,且视频图像帧率高,层次明显,无撕裂、无失真现象。

关键词: Zynq, SDI, BT.1120, AXI DMA, 行缓存, DDR3 SDRAM, 三缓存

Abstract: To make up for the shortcomings of the traditional video image splitter such as weak anti-interference ability, low frame rate, and complex design, Xilinx Zynq XC7Z035 FPGA heterogeneous platform is selected and integrated with SDI technology. The high-definition digital serial decoding chip TW6874 is used to synchronously collect 4 digital video images, and output BT.1120 data to FPGA, in order to realize the separate display of 4 channels of video. In order to meet the resolution and frame rate requirements of video images, pixel resampling of video image data is first performed. Secondly, AXI4-Stream Data FIFO is used for line input buffering, which is flexible in processing data and easy to expand, which provides a basis for further integration of algorithms. AXI4-Stream Data FIFO generates s_axi_s2mm_tlast signal for each line of 960 data and handshake with AXI DMA, buffers the data in DDR3 SDRAM, and buffers the next buffer address after 540 lines. AXI DMA has 3 video images per channel buffer, thus completing the three-buffer design, to ensure that the video image is not torn. Finally, the cached data is output to the SMPTE SDI IP core for display. The experimental results show that the system realizes the 4-channel SDI video image segmentation, the system resource utilization rate is low, the video image frame rate is high, the layer is obvious, and no tearing and distortion occurs.


Key words: Zynq, SDI, BT.1120, AXI DMA, line buffer, DDR3 SDRAM, three caches