WO2016201892A1 - Fpga-based synchronous video switching system and method - Google Patents

Fpga-based synchronous video switching system and method Download PDF

Info

Publication number
WO2016201892A1
WO2016201892A1 PCT/CN2015/095519 CN2015095519W WO2016201892A1 WO 2016201892 A1 WO2016201892 A1 WO 2016201892A1 CN 2015095519 W CN2015095519 W CN 2015095519W WO 2016201892 A1 WO2016201892 A1 WO 2016201892A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
switching
signal
synchronization
digital video
Prior art date
Application number
PCT/CN2015/095519
Other languages
French (fr)
Chinese (zh)
Inventor
杨磊
Original Assignee
邦彦技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 邦彦技术股份有限公司 filed Critical 邦彦技术股份有限公司
Publication of WO2016201892A1 publication Critical patent/WO2016201892A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising

Definitions

  • the present invention relates to the field of signal processing, and more particularly to an FPGA-based video synchronization switching system and method.
  • the present invention provides an FPGA-based video synchronous switching system and method, which does not require an external video signal buffer, and only requires a small internal FIFO unit to perform signal isolation and storage.
  • Multi-channel video can be switched synchronously at any time, and supports switching of multiple high-resolution videos at the same time, with high integration and flexible mode.
  • An FPGA-based video synchronous switching system comprising an AD conversion module, which converts an input analog video signal into a digital video signal; a resolution detection module that samples a digital video signal and outputs relevant sampling parameters; a central processing unit, The AD conversion module adjusts the corresponding digital video signal according to the relevant sampling parameter, and receives and transmits the external switching parameter; the CPU interface module is used for connecting the central processor and the FPGA internal storage unit; the first signal synchronization module is more The circuit digital video signal performs multi-level synchronization; the synchronous logic switching module converts and outputs the synchronized multi-channel digital video signals according to the switching parameter; the DA conversion module converts the switched digital video signal into an analog video signal; A processing module that multiplies the input clock signal and outputs a high speed detection clock signal to the resolution detection module.
  • the synchronous logic switching module includes a clock switching module and a video switching module; the clock switching module switches the pixel clocks of the synchronized multiple digital video signals to a video signal switching module and a DA conversion module, and according to The switching parameter outputs a multi-way reset signal to the video signal switching module; the video switching module buffers the synchronized multi-channel digital video signal, and selects and outputs the digital video signal to the DA conversion module according to the switching parameter.
  • the clock switching module includes a reset signal module, a switching selection module, a global buffer module, and an ODDR module; the reset signal module generates a multi-way reset signal output to the video signal switching module according to the switching parameter; and the switching selection module pairs pixels
  • the clock is switched to select the output to the global buffer module; the global buffer module outputs the pixel clock signal to the global clock network and the ODDR module; the ODDR module outputs the pixel clock to the DA Conversion module.
  • the video switching module includes a video signal storage module, a synchronization selection module, and a second signal synchronization module; the video signal storage module buffers the synchronized multiple digital video signals, and correspondingly according to the multiple reset signals The storage module performs resetting; the synchronization selection module selects data in the corresponding buffer memory according to the switching parameter for output; and the second signal synchronization module performs multi-stage synchronization on the selected output data and outputs the data to the DA. Conversion module.
  • the buffer storage uses an FPGA internal FIFO buffer isolation memory unit.
  • An FPGA-based video synchronization switching method includes the following steps:
  • the high-speed detection clock signal is used to sample the digital video signal, obtain relevant sampling parameters, and simultaneously perform multi-level synchronization on the multi-channel digital video signals;
  • step A4 is further included. Obtaining a pixel clock in the synchronized multi-channel digital video signal, and acquiring a multi-channel reset signal according to the switching parameter; B. buffering the synchronized multi-channel digital video signal.
  • the step S04 includes:
  • step B buffer is stored as a FIFO buffer isolation storage.
  • the invention has the beneficial effects that the invention realizes arbitrary synchronous switching of multiple video sources to multiple video outputs based on the manner of FPGA synchronous sequential logic, without compression and transformation in the process of internal video image transmission, the circuit is simple, and the integration degree is high. It does not require external memory, supports switching of multiple resolution videos while ensuring image quality, and solves the image quality degradation caused by the excessive extension of image lines caused by FPGA combination logic switching mode, and the analog device switching mode. The disadvantages of low integration and inflexibility of the device.
  • FIG. 1 is a schematic block diagram of an FPGA-based video synchronous switching system according to the present invention.
  • FIG. 2 is a more detailed schematic diagram of an FPGA-based video synchronization switching system according to the present invention.
  • FIG. 3 is a schematic diagram of a clock switching module
  • FIG. 4 is a schematic diagram of a video switching module
  • FIG. 5 is a flow chart of steps of a method for video synchronization switching based on FPGA according to the present invention.
  • FIG. 6 is a flow chart of step S04;
  • Figure 7 is a schematic diagram of an embodiment of the present invention.
  • Figure 8 is a schematic block diagram of another embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of a synchronous logic switching module for one video output of another embodiment.
  • FIG. 1 is a schematic block diagram of an FPGA-based video synchronous switching system, including an AD conversion module, which converts an input analog video signal into a digital video signal; and a resolution detection module that performs digital video signals Sampling, outputting related sampling parameters; the central processing unit adjusts the corresponding digital video signal output by the AD conversion module according to the relevant sampling parameters, and receives and transmits external switching parameters; the CPU interface module is used to connect the central processing unit and the FPGA internal storage.
  • an AD conversion module which converts an input analog video signal into a digital video signal
  • a resolution detection module that performs digital video signals Sampling, outputting related sampling parameters
  • the central processing unit adjusts the corresponding digital video signal output by the AD conversion module according to the relevant sampling parameters, and receives and transmits external switching parameters
  • the CPU interface module is used to connect the central processing unit and the FPGA internal storage.
  • a first signal synchronization module that performs multi-stage synchronization on the multi-channel digital video signal; a synchronous logic switching module that switches the synchronized multi-channel digital video signals according to the switching parameters; the DA conversion module switches the output
  • the digital video signal is converted into an analog video signal; the clock processing module multiplies the input clock signal and outputs a high speed detection clock signal to the resolution detecting module.
  • the synchronous logic switching module includes a clock switching module and a video switching module;
  • the switching module switches the pixel clock in the synchronized multi-channel digital video signal to the video signal switching module and the DA conversion module, and generates a multi-way reset signal to the video signal switching module according to the switching parameter;
  • the video switching module will synchronize The subsequent multi-channel digital video signal is buffer-stored, and the output digital video signal is selected to the DA conversion module according to the switching parameter.
  • the clock switching module includes a reset signal module, a switching selection module, a global buffer module, and an ODDR module; and the reset signal module is configured according to a switching parameter.
  • the video switching module includes a video signal storage module, a synchronization selection module, and a second signal synchronization module; the video signal storage module will be synchronized.
  • the multi-channel digital video signal is buffer-stored, and resets the corresponding storage module according to the multi-way reset signal; the synchronization selection module selects data in the corresponding buffer memory according to the switching parameter for output; the second signal synchronization module Multi-level synchronization of selected output data and output to DA Conversion module.
  • the buffer storage of the present invention uses an FPGA internal FIFO buffer isolation storage unit.
  • FIG. 5 is a flow chart showing the steps of an FPGA-based video synchronization switching method according to the present invention, including the following steps:
  • the high-speed detection clock signal is used to sample the digital video signal, obtain relevant sampling parameters, and simultaneously perform multi-level synchronization on the multi-channel digital video signals;
  • the step S04 further includes the step A. Obtaining a pixel clock in the synchronized multi-channel digital video signal, and acquiring a multi-channel reset signal according to the switching parameter; B. buffering the synchronized multi-channel digital video signal.
  • step S04 shown in FIG. 6 includes:
  • the step B buffer is stored as a FIFO buffer isolation storage.
  • the multi-channel analog video signal is converted into a multi-channel digital video signal by the AD conversion module, and the resolution detection module uses the high-speed detection clock generated by the clock processing module to the AD conversion module.
  • the output multi-channel digital video signal is sampled, and the collected related parameters are submitted to the central processor through the CPU interface module, and the central processor performs relevant settings on the AD conversion module according to the corresponding parameters, and receives and transmits the external switching finger parameters. .
  • the first signal synchronization module performs multi-stage synchronization on multiple digital video signals by inserting multi-level registers in the path of signal transmission, thereby reducing line delay between registers, improving the operating frequency of the system, and meeting the requirements of input timing constraints.
  • the switching selection module in the clock switching module switches and selects the pixel clock in the multi-level synchronized digital video signal according to the switching parameter output by the central processing unit, and introduces a pixel clock of the switching selection output into the logic through the global buffer module.
  • the global clock network which reduces the routing delay of the clock inside the logic.
  • the pixel clock is output to the DA conversion module through the ODDR module, which reduces the output delay of the pixel clock.
  • the reset signal module in the clock switching module generates a multi-way reset signal to the video signal storage module according to the switching parameter, and the video signal storage module resets the corresponding storage module.
  • the video signal storage module Before implementing the video switching function, the video signal storage module performs FIFO buffer storage on the line synchronization signal, the field synchronization signal and the data signal of each video, and separates the input video signal from the output video signal to perform processing separately.
  • the input timing constraint and output timing constraints of the video signal increase the operating frequency of the video interface.
  • the synchronization selection module selects the data in the corresponding buffer memory in the video signal memory according to the switching parameter for output, and the clock output by the global buffer module is used as the system clock, and the second signal synchronization module passes the signal transmission.
  • Multi-level registers are inserted into the path to synchronize multi-channel digital video signals, reduce line delay between registers, improve the operating frequency of the system, meet the requirements of output timing constraints, and output data signals to the DA conversion module.
  • the DA conversion module converts the input digital video signal and the pixel clock output from the ODDR module into an analog video signal output.
  • the invention is based on the FIFO buffer isolation of the line synchronization signal, the field synchronization signal and the data signal of the multi-channel video to realize the synchronization of the front and rear ends of the signal, and increases the working frequency of the system by adding appropriate timing constraints to the video input and output, and supports the HD video. .
  • the FPGA realizes any synchronous switching output of multiple input video, the method is simple and easy to implement, has no influence on video quality, and is easy to expand, and occupies less logic resources.
  • This embodiment is based on any synchronous switching output of 5 VGA video inputs to 4 VGA videos.
  • VGA video signals are input and converted into digital video information of the RGB888 color mode by the AD decoding chip. Since the VGA decoder chip cannot determine the effective area of the video output, it is necessary to set the effective area of the output through the central processing unit. If the central processor does not know the resolution, the effective area of the video output may be deviated. As a result, when the display is output, it will cause black edges of the video.
  • the clock processing module multiplies the externally input clock to generate the high-speed detection clock required by the VGA resolution detection module.
  • the clock logic block also eliminates duty cycle distortion of the external input clock and reduces clock jitter.
  • the VGA resolution detection module samples the relevant video signal output by the VGA decoder chip through the high-speed clock, and submits the collected related parameters to the central processor, and the central processor sets the VGA decoder chip according to the corresponding parameters, thereby outputting A valid video area that eliminates black edges.
  • the switching parameters of the video can be set by the central processing unit.
  • the CPU interface module is based on the BUS bus read and write timing of the central processing unit, and realizes the interface of the central processing unit to operate the internal storage unit of the FPGA through the BUS bus.
  • the CPU interface module can be modified according to the interface requirements of different CPUs.
  • the first signal synchronization module performs multi-level synchronization on each input VGA digital video signal, and inserts a multi-level register in the path of the signal transmission, thereby reducing the register.
  • the line delay between the lines increases the operating frequency of the system and meets the input timing constraints.
  • FIG. 9 is a schematic block diagram of a synchronous logic switching module for video output of another embodiment, and the synchronous logic switching module mainly includes a clock switching function and a video switching function.
  • the clock switching function switches the pixel clock of the input 5 video channels, and introduces one clock of the switching selection output into the global clock network of the logic through the global buffer module, thereby reducing the wiring delay of the clock inside the logic.
  • the pixel clock is output through the logic internal ODDR module, which reduces the output delay of the pixel clock.
  • the clock switching module simultaneously generates 5 reset signals to the video signal storage module, and resets the corresponding storage modules according to the switching parameters.
  • the video signal storage module performs FIFO buffer storage on the line synchronization signal, the field synchronization signal and the data signal of each video, and separates the input video signal from the output video signal to separately process, thereby implementing input timing constraints of the front and rear end video signals. And output timing constraints to improve the operating frequency of the video interface.
  • the DA conversion chip converts the selected output data signal into an analog video signal output.
  • the invention realizes any synchronous switching of multiple video sources to multiple video outputs based on the manner of FPGA synchronous timing logic, without compression and transformation during internal video image transmission, and supports multiple resolutions while ensuring image quality.
  • the switching of the video solves the image quality degradation caused by the excessive extension of the image line caused by the combination mode switching mode of the FPGA, and the disadvantages of low integration and inflexibility caused by the analog device switching mode.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention provides an FPGA-based synchronous video switching system and method. The system comprises: an AD conversion module; a DA conversion module; a resolution detection module, configured to sample a digital video signal, and output a relevant sampling parameter; a central processing unit, configured to adjust output of the AD conversion module, and receive and transmit an external switching parameter; a CPU interface module; a first signal synchronization module, configured to perform multi-stage synchronization on multiple digital video signals; a synchronous logic switching module, configured to switch and output, according to the switching parameter, the multiple synchronized digital video signals; and a clock processing module, configured to perform frequency multiplication on an input clock signal, and output a high-speed detection clock signal to the resolution detection module. The present invention is capable of arbitrarily switching multi-video output, supporting switching of multiple resolution videos while guaranteeing the image quality, and solving the problems of reduction of the image quality, low integration level and inflexibility of a traditional switching mode. The present invention can be widely applied to the field of signal processing.

Description

一种基于FPGA的视频同步切换系统及方法  FPGA-based video synchronous switching system and method
技术领域Technical field
本发明涉及信号处理领域,更具体的,涉及一种基于FPGA的视频同步切换系统及方法。 The present invention relates to the field of signal processing, and more particularly to an FPGA-based video synchronization switching system and method.
背景技术Background technique
随着视频领域的迅速拓展,视频格式越来越多,分辨率越来越大,用户对视频的清晰度要求越来越高,而对视频的切换需求领域也越来越广泛。With the rapid expansion of the video field, more and more video formats, more and more resolution, users have higher and higher requirements for video clarity, and the field of video switching needs is more and more extensive.
目前许多视频切换都是基于模拟器件的方式,实现方式非常不灵活,而且集成度也不高。组合逻辑的切换方式则会导致视频通道延时过大,不能有效支持高分辨率高数据速率的视频格式,从而降低了图像质量,特别是高清视频,其切换后的视频质量被大大降低。而专业的切换芯片又不够灵活,只能适应特定方式的视频切换模式,不能支持后续的升级。Many video switching is currently based on analog devices, the implementation is very inflexible, and the integration is not high. The switching mode of the combination logic will cause the video channel delay to be too large, and can not effectively support the high-resolution and high-data rate video format, thereby reducing the image quality, especially for high-definition video, and the quality of the switched video is greatly reduced. The professional switching chip is not flexible enough to adapt to the video switching mode of a specific mode, and cannot support subsequent upgrades.
有鉴于此,本发明的目的在于提供一种新的技术方案以解决现存的技术问题。In view of this, it is an object of the present invention to provide a new technical solution to solve the existing technical problems.
发明内容Summary of the invention
本发明为了克服上述现有技术中至少一种缺陷或不足,提供一种基于FPGA的视频同步切换系统及方法,无需外挂视频信号缓冲器,只需内部少量的FIFO单元做信号的隔离存储,支持多路视频任意同步切换,同时支持多种高分辨率视频的切换,集成度高,方式灵活。In order to overcome at least one of the above-mentioned defects or shortcomings in the prior art, the present invention provides an FPGA-based video synchronous switching system and method, which does not require an external video signal buffer, and only requires a small internal FIFO unit to perform signal isolation and storage. Multi-channel video can be switched synchronously at any time, and supports switching of multiple high-resolution videos at the same time, with high integration and flexible mode.
为达到上述有益效果,本发明的技术方案如下:In order to achieve the above beneficial effects, the technical solution of the present invention is as follows:
一种基于FPGA的视频同步切换系统,包括AD转换模块,其将输入的模拟视频信号转换为数字视频信号;分辨率检测模块,其对数字视频信号进行采样,输出相关采样参数;中央处理器,其根据相关采样参数调节AD转换模块输出相应的数字视频信号,接收并传输外部的切换参数;CPU接口模块,其用于连接中央处理器和FPGA内部存储单元;第一信号同步模块,其对多路数字视频信号进行多级同步;同步逻辑切换模块,其根据切换参数将同步后的多路数字视频信号进行切换输出;DA转换模块,其将切换输出的数字视频信号转换为模拟视频信号;时钟处理模块,其将输入的时钟信号进行倍频,输出高速检测时钟信号至分辨率检测模块。An FPGA-based video synchronous switching system, comprising an AD conversion module, which converts an input analog video signal into a digital video signal; a resolution detection module that samples a digital video signal and outputs relevant sampling parameters; a central processing unit, The AD conversion module adjusts the corresponding digital video signal according to the relevant sampling parameter, and receives and transmits the external switching parameter; the CPU interface module is used for connecting the central processor and the FPGA internal storage unit; the first signal synchronization module is more The circuit digital video signal performs multi-level synchronization; the synchronous logic switching module converts and outputs the synchronized multi-channel digital video signals according to the switching parameter; the DA conversion module converts the switched digital video signal into an analog video signal; A processing module that multiplies the input clock signal and outputs a high speed detection clock signal to the resolution detection module.
进一步,所述同步逻辑切换模块包括时钟切换模块和视频切换模块;所述时钟切换模块将同步后的多路数字视频信号中的像素时钟进行切换输出至视频信号切换模块和DA转换模块,并根据切换参数输出多路复位信号至视频信号切换模块;所述视频切换模块将同步后的多路数字视频信号缓冲存储,并根据切换参数选择输出数字视频信号至DA转换模块。Further, the synchronous logic switching module includes a clock switching module and a video switching module; the clock switching module switches the pixel clocks of the synchronized multiple digital video signals to a video signal switching module and a DA conversion module, and according to The switching parameter outputs a multi-way reset signal to the video signal switching module; the video switching module buffers the synchronized multi-channel digital video signal, and selects and outputs the digital video signal to the DA conversion module according to the switching parameter.
进一步,所述时钟切换模块包括复位信号模块、切换选择模块、全局缓冲模块和ODDR模块;所述复位信号模块根据切换参数生成多路复位信号输出至视频信号切换模块;所述切换选择模块对像素时钟进行切换选择输出至所述全局缓冲模块;所述全局缓冲模块将像素时钟信号输出至全局时钟网络和ODDR模块;所述ODDR模块输出像素时钟至DA 转换模块。Further, the clock switching module includes a reset signal module, a switching selection module, a global buffer module, and an ODDR module; the reset signal module generates a multi-way reset signal output to the video signal switching module according to the switching parameter; and the switching selection module pairs pixels The clock is switched to select the output to the global buffer module; the global buffer module outputs the pixel clock signal to the global clock network and the ODDR module; the ODDR module outputs the pixel clock to the DA Conversion module.
进一步,所述视频切换模块包括视频信号存储模块、同步选择模块和第二信号同步模块;所述视频信号存储模块将同步后的多路数字视频信号进行缓冲存储,并根据多路复位信号对相应的存储模块进行复位;所述同步选择模块根据切换参数选择相应的缓冲存储器中的数据进行输出;所述第二信号同步模块对选择输出的数据进行多级同步后输出至DA 转换模块。Further, the video switching module includes a video signal storage module, a synchronization selection module, and a second signal synchronization module; the video signal storage module buffers the synchronized multiple digital video signals, and correspondingly according to the multiple reset signals The storage module performs resetting; the synchronization selection module selects data in the corresponding buffer memory according to the switching parameter for output; and the second signal synchronization module performs multi-stage synchronization on the selected output data and outputs the data to the DA. Conversion module.
进一步,所述缓冲存储采用FPGA内部FIFO缓冲隔离存储单元。Further, the buffer storage uses an FPGA internal FIFO buffer isolation memory unit.
一种基于FPGA的视频同步切换方法,包括以下步骤:An FPGA-based video synchronization switching method includes the following steps:
S01. 将输入的模拟视频信号转换为数字视频信号;将输入的时钟信号进行倍频,获取高速检测时钟信号;S01. Converting the input analog video signal into a digital video signal; multiplying the input clock signal to obtain a high-speed detection clock signal;
S02. 用高速检测时钟信号对数字视频信号进行采样,获取相关采样参数,同时对多路数字视频信号进行多级同步;S02. The high-speed detection clock signal is used to sample the digital video signal, obtain relevant sampling parameters, and simultaneously perform multi-level synchronization on the multi-channel digital video signals;
S03. 根据相关采样参数调节输出相应的数字视频信号,并接收外部的切换参数;S03. Adjusting and outputting a corresponding digital video signal according to the relevant sampling parameter, and receiving an external switching parameter;
S04. 根据切换参数将同步后的多路数字视频信号进行切换输出;S04. switching the synchronized multi-channel digital video signals according to the switching parameters;
S05. 将切换输出的数字视频信号转换为模拟视频信号。S05. Convert the digital video signal of the switched output to an analog video signal.
进一步,所述步骤S04之前还包括步骤A. 获取同步后的多路数字视频信号中的像素时钟,根据切换参数获取多路复位信号;B. 将同步后的多路数字视频信号缓冲存储。Further, before step S04, step A4 is further included. Obtaining a pixel clock in the synchronized multi-channel digital video signal, and acquiring a multi-channel reset signal according to the switching parameter; B. buffering the synchronized multi-channel digital video signal.
具体的,所述步骤S04包括:Specifically, the step S04 includes:
S401. 根据多路复位信号对相应的存储地址进行复位;S401. Reset the corresponding storage address according to the multiple reset signal;
S402.根据切换参数选择相应存储地址的数据;S402. Select data of a corresponding storage address according to the switching parameter.
S403. 对选择的数据进行多级同步后输出。S403. Perform multi-level synchronization on the selected data and output.
进一步,所述步骤B缓冲存储为FIFO缓冲隔离存储。Further, the step B buffer is stored as a FIFO buffer isolation storage.
本发明的有益效果:本发明将基于FPGA同步时序逻辑的方式来实现多路视频源到多路视频输出的任意同步切换,内部视频图像传输过程中无压缩和变换,电路简单,集成度高,无需外部存储器,在保证了图像质量的情况下支持多种分辨率视频的切换,解决了FPGA组合逻辑切换方式导致的图像线路延伸过大而导致的图像质量的降低,以及模拟器件切换方式导致的器件集成度不高和不灵活的弊端。The invention has the beneficial effects that the invention realizes arbitrary synchronous switching of multiple video sources to multiple video outputs based on the manner of FPGA synchronous sequential logic, without compression and transformation in the process of internal video image transmission, the circuit is simple, and the integration degree is high. It does not require external memory, supports switching of multiple resolution videos while ensuring image quality, and solves the image quality degradation caused by the excessive extension of image lines caused by FPGA combination logic switching mode, and the analog device switching mode. The disadvantages of low integration and inflexibility of the device.
附图Drawing
图1为本发明一种基于FPGA的视频同步切换系统的原理框图;1 is a schematic block diagram of an FPGA-based video synchronous switching system according to the present invention;
图2为本发明一种基于FPGA的视频同步切换系统更具体的原理图;2 is a more detailed schematic diagram of an FPGA-based video synchronization switching system according to the present invention;
图3为时钟切换模块的原理图;3 is a schematic diagram of a clock switching module;
图4为视频切换模块的原理图;4 is a schematic diagram of a video switching module;
图5为本发明一种基于FPGA的视频同步切换方法的步骤流程图;5 is a flow chart of steps of a method for video synchronization switching based on FPGA according to the present invention;
图6为步骤S04的流程图;Figure 6 is a flow chart of step S04;
图7为本发明一具体实施例的原理图;Figure 7 is a schematic diagram of an embodiment of the present invention;
图8为本发明另一具体实施例的原理框图;Figure 8 is a schematic block diagram of another embodiment of the present invention;
图9为另一具体实施例的一路视频输出的同步逻辑切换模块原理框图。FIG. 9 is a schematic block diagram of a synchronous logic switching module for one video output of another embodiment.
具体实施方式detailed description
下面结合附图和具体实施例对本发明的技术方案作进一步说明,但本发明不受所述具体实施例所限。The technical solutions of the present invention are further described below with reference to the accompanying drawings and specific embodiments, but the present invention is not limited to the specific embodiments.
对于本领域技术人员来说附图中某些公知结构及其说明可能省略是可以理解的。It will be apparent to those skilled in the art that certain known structures and their description may be omitted.
如图1所示的本发明一种基于FPGA的视频同步切换系统的原理框图,包括AD转换模块,其将输入的模拟视频信号转换为数字视频信号;分辨率检测模块,其对数字视频信号进行采样,输出相关采样参数;中央处理器,其根据相关采样参数调节AD转换模块输出相应的数字视频信号,接收并传输外部的切换参数;CPU接口模块,其用于连接中央处理器和FPGA内部存储单元;第一信号同步模块,其对多路数字视频信号进行多级同步;同步逻辑切换模块,其根据切换参数将同步后的多路数字视频信号进行切换输出;DA转换模块,其将切换输出的数字视频信号转换为模拟视频信号;时钟处理模块,其将输入的时钟信号进行倍频,输出高速检测时钟信号至分辨率检测模块。FIG. 1 is a schematic block diagram of an FPGA-based video synchronous switching system, including an AD conversion module, which converts an input analog video signal into a digital video signal; and a resolution detection module that performs digital video signals Sampling, outputting related sampling parameters; the central processing unit adjusts the corresponding digital video signal output by the AD conversion module according to the relevant sampling parameters, and receives and transmits external switching parameters; the CPU interface module is used to connect the central processing unit and the FPGA internal storage. a first signal synchronization module that performs multi-stage synchronization on the multi-channel digital video signal; a synchronous logic switching module that switches the synchronized multi-channel digital video signals according to the switching parameters; the DA conversion module switches the output The digital video signal is converted into an analog video signal; the clock processing module multiplies the input clock signal and outputs a high speed detection clock signal to the resolution detecting module.
进一步作为本发明优选的实施方式,如图2所示的本发明一种基于FPGA的视频同步切换系统更具体的原理图,所述同步逻辑切换模块包括时钟切换模块和视频切换模块;所述时钟切换模块将同步后的多路数字视频信号中的像素时钟进行切换输出至视频信号切换模块和DA转换模块,并根据切换参数生成多路复位信号至视频信号切换模块;所述视频切换模块将同步后的多路数字视频信号缓冲存储,并根据切换参数选择输出数字视频信号至DA转换模块。Further, as a preferred embodiment of the present invention, as shown in FIG. 2, a more specific schematic diagram of an FPGA-based video synchronization switching system, the synchronous logic switching module includes a clock switching module and a video switching module; The switching module switches the pixel clock in the synchronized multi-channel digital video signal to the video signal switching module and the DA conversion module, and generates a multi-way reset signal to the video signal switching module according to the switching parameter; the video switching module will synchronize The subsequent multi-channel digital video signal is buffer-stored, and the output digital video signal is selected to the DA conversion module according to the switching parameter.
进一步,作为优选的实施方式,如图3所示的时钟切换模块的原理图,所述时钟切换模块包括复位信号模块、切换选择模块、全局缓冲模块和ODDR模块;所述复位信号模块根据切换参数生成多路复位信号至视频信号切换模块;所述切换选择模块对像素时钟进行切换选择输出至所述全局缓冲模块;所述全局缓冲模块将像素时钟信号输出至全局时钟网络和ODDR模块;所述ODDR模块输出像素时钟至DA 转换模块。Further, as a preferred embodiment, as shown in the schematic diagram of the clock switching module shown in FIG. 3, the clock switching module includes a reset signal module, a switching selection module, a global buffer module, and an ODDR module; and the reset signal module is configured according to a switching parameter. Generating a multiple reset signal to the video signal switching module; the switching selection module switches the pixel clock to select the output to the global buffer module; the global buffer module outputs the pixel clock signal to the global clock network and the ODDR module; ODDR module output pixel clock to DA Conversion module.
进一步作为优先的实施方式,如图4所示的视频切换模块的原理图,所述视频切换模块包括视频信号存储模块、同步选择模块和第二信号同步模块;所述视频信号存储模块将同步后的多路数字视频信号进行缓冲存储,并根据多路复位信号对相应的存储模块进行复位;所述同步选择模块根据切换参数选择相应的缓冲存储器中的数据进行输出;所述第二信号同步模块对选择输出的数据进行多级同步后输出至DA 转换模块。As a preferred implementation manner, as shown in the schematic diagram of the video switching module shown in FIG. 4, the video switching module includes a video signal storage module, a synchronization selection module, and a second signal synchronization module; the video signal storage module will be synchronized. The multi-channel digital video signal is buffer-stored, and resets the corresponding storage module according to the multi-way reset signal; the synchronization selection module selects data in the corresponding buffer memory according to the switching parameter for output; the second signal synchronization module Multi-level synchronization of selected output data and output to DA Conversion module.
进一步作为优选的实施方式,本发明所述缓冲存储采用FPGA内部FIFO缓冲隔离存储单元。Further, as a preferred implementation manner, the buffer storage of the present invention uses an FPGA internal FIFO buffer isolation storage unit.
如图5所示的本发明一种基于FPGA的视频同步切换方法的步骤流程图,包括以下步骤:FIG. 5 is a flow chart showing the steps of an FPGA-based video synchronization switching method according to the present invention, including the following steps:
S01. 将输入的模拟视频信号转换为数字视频信号;将输入的时钟信号进行倍频,获取高速检测时钟信号;S01. Converting the input analog video signal into a digital video signal; multiplying the input clock signal to obtain a high-speed detection clock signal;
S02. 用高速检测时钟信号对数字视频信号进行采样,获取相关采样参数,同时对多路数字视频信号进行多级同步;S02. The high-speed detection clock signal is used to sample the digital video signal, obtain relevant sampling parameters, and simultaneously perform multi-level synchronization on the multi-channel digital video signals;
S03. 根据相关采样参数调节输出相应的数字视频信号,并接收外部的切换参数;S03. Adjusting and outputting a corresponding digital video signal according to the relevant sampling parameter, and receiving an external switching parameter;
S04. 根据切换参数将同步后的多路数字视频信号进行切换输出;S04. switching the synchronized multi-channel digital video signals according to the switching parameters;
进一步作为优先的实施方式,所述步骤S04之前还包括步骤A. 获取同步后的多路数字视频信号中的像素时钟,根据切换参数获取多路复位信号;B. 将同步后的多路数字视频信号缓冲存储。Further, as a preferred implementation manner, the step S04 further includes the step A. Obtaining a pixel clock in the synchronized multi-channel digital video signal, and acquiring a multi-channel reset signal according to the switching parameter; B. buffering the synchronized multi-channel digital video signal.
具体的,如图6所示的步骤S04的流程图,包括:Specifically, the flowchart of step S04 shown in FIG. 6 includes:
S401. 根据多路复位信号对相应的存储地址进行复位;S401. Reset the corresponding storage address according to the multiple reset signal;
S402. 根据切换参数选择相应存储地址的数据;S402. Select data of a corresponding storage address according to the switching parameter;
S403. 对选择的数据进行多级同步后输出。S403. Perform multi-level synchronization on the selected data and output.
S05. 将切换输出的数字视频信号转换为模拟视频信号。S05. Convert the digital video signal of the switched output to an analog video signal.
进一步作为优先的实施方式,所述步骤B缓冲存储为FIFO缓冲隔离存储。Further as a preferred implementation manner, the step B buffer is stored as a FIFO buffer isolation storage.
实施例1Example 1
如图7所示的本发明一具体实施例的原理图,多路模拟视频信号经AD转换模块转换为多路数字视频信号,分辨率检测模块用时钟处理模块产生的高速检测时钟对AD转换模块输出的多路数字视频信号进行采样,并将采集到的相关参数通过CPU接口模块提交中央处理器,中央处理器根据相对应的参数对AD转换模块进行相关设置,接收并传输外部的切换指参数。As shown in the schematic diagram of an embodiment of the present invention, the multi-channel analog video signal is converted into a multi-channel digital video signal by the AD conversion module, and the resolution detection module uses the high-speed detection clock generated by the clock processing module to the AD conversion module. The output multi-channel digital video signal is sampled, and the collected related parameters are submitted to the central processor through the CPU interface module, and the central processor performs relevant settings on the AD conversion module according to the corresponding parameters, and receives and transmits the external switching finger parameters. .
第一信号同步模块通过在信号传输的路径上插入多级寄存器对多路数字视频信号进行多级同步,减少寄存器之间的线路延迟,提高系统的工作频率,满足输入时序约束的要求。时钟切换模块中的切换选择模块根据中央处理器输出的切换参数对多级同步后的数字视频信号中的像素时钟进行切换选择,并将切换选择输出的一路像素时钟通过全局缓冲模块引入到逻辑内部的全局时钟网络,从而降低时钟在逻辑内部的布线延时。像素时钟通过ODDR模块输出至DA转换模块,,这样可以降低像素时钟的输出延时。时钟切换模块中的复位信号模块根据切换参数产生多路复位信号给视频信号存储模块,视频信号存储模块对相应的存储模块进行复位。The first signal synchronization module performs multi-stage synchronization on multiple digital video signals by inserting multi-level registers in the path of signal transmission, thereby reducing line delay between registers, improving the operating frequency of the system, and meeting the requirements of input timing constraints. The switching selection module in the clock switching module switches and selects the pixel clock in the multi-level synchronized digital video signal according to the switching parameter output by the central processing unit, and introduces a pixel clock of the switching selection output into the logic through the global buffer module. The global clock network, which reduces the routing delay of the clock inside the logic. The pixel clock is output to the DA conversion module through the ODDR module, which reduces the output delay of the pixel clock. The reset signal module in the clock switching module generates a multi-way reset signal to the video signal storage module according to the switching parameter, and the video signal storage module resets the corresponding storage module.
在实现视频切换功能之前,视频信号存储模块对每一路视频的行同步信号、场同步信号和数据信号进行FIFO缓冲存储,将输入的视频信号和输出的视频信号隔离开来分别处理,从而实现前后端视频信号的输入时序约束和输出时序约束,提高视频接口的工作频率。在切换输出时,同步选择模块根据切换参数选择视频信号存储器中相应的缓冲存储器中的数据进行输出,同时由全局缓冲模块输出的时钟做为系统时钟,第二信号同步模块对通过在信号传输的路径上插入多级寄存器对多路数字视频信号进行多级同步,减少寄存器之间的线路延迟,提高系统的工作频率,满足输出时序约束的要求,将数据信号输出至DA转换模块。Before implementing the video switching function, the video signal storage module performs FIFO buffer storage on the line synchronization signal, the field synchronization signal and the data signal of each video, and separates the input video signal from the output video signal to perform processing separately. The input timing constraint and output timing constraints of the video signal increase the operating frequency of the video interface. When switching the output, the synchronization selection module selects the data in the corresponding buffer memory in the video signal memory according to the switching parameter for output, and the clock output by the global buffer module is used as the system clock, and the second signal synchronization module passes the signal transmission. Multi-level registers are inserted into the path to synchronize multi-channel digital video signals, reduce line delay between registers, improve the operating frequency of the system, meet the requirements of output timing constraints, and output data signals to the DA conversion module.
DA转换模块将输入的数字视频信号和ODDR模块输出的像素时钟转换为模拟视频信号输出。The DA conversion module converts the input digital video signal and the pixel clock output from the ODDR module into an analog video signal output.
本发明基于对多路视频的行同步信号、场同步信号和数据信号进行FIFO缓冲隔离的方式来实现信号前后端的同步,通过对视频输入输出添加合适的时序约束提高系统的工作频率,支持高清视频。基于FPGA实现多路输入视频的任意同步切换输出,方法简单容易实现,对视频质量无影响,并且易于扩展,而且占用逻辑资源少。The invention is based on the FIFO buffer isolation of the line synchronization signal, the field synchronization signal and the data signal of the multi-channel video to realize the synchronization of the front and rear ends of the signal, and increases the working frequency of the system by adding appropriate timing constraints to the video input and output, and supports the HD video. . The FPGA realizes any synchronous switching output of multiple input video, the method is simple and easy to implement, has no influence on video quality, and is easy to expand, and occupies less logic resources.
实施例2Example 2
本实施例基于5路VGA视频输入到4路VGA视频的任意同步切换输出。This embodiment is based on any synchronous switching output of 5 VGA video inputs to 4 VGA videos.
如图8所示的另一具体实施例的原理框图,输入5路VGA视频信号,通过AD解码芯片转换为RGB888彩色模式的数字视频信息。由于VGA解码芯片不能够确定视频输出的有效区域,需要通过中央处理器对其输出的有效区域进行设置,在中央处理器不知道其分辨率的情况下,会导致视频输出的有效区域产生偏差,从而显示器输出的时候,会导致视频有黑边出现。时钟处理模块对外部输入的时钟进行倍频,产生VGA分辨率检测模块所需要的高速检测时钟。时钟逻辑模块还可消除外部输入时钟的占空比失真及减少时钟抖动。As shown in the block diagram of another embodiment shown in FIG. 8, five VGA video signals are input and converted into digital video information of the RGB888 color mode by the AD decoding chip. Since the VGA decoder chip cannot determine the effective area of the video output, it is necessary to set the effective area of the output through the central processing unit. If the central processor does not know the resolution, the effective area of the video output may be deviated. As a result, when the display is output, it will cause black edges of the video. The clock processing module multiplies the externally input clock to generate the high-speed detection clock required by the VGA resolution detection module. The clock logic block also eliminates duty cycle distortion of the external input clock and reduces clock jitter.
VGA分辨率检测模块通过高速时钟对VGA解码芯片输出的相关视频信号进行采样,并将采集到的相关参数提交给中央处理器,中央处理器根据相对应的参数对VGA解码芯片进行设置,从而输出有效的视频区域,达到消除黑边的效果。可以通过中央处理器设置视频的切换参数。The VGA resolution detection module samples the relevant video signal output by the VGA decoder chip through the high-speed clock, and submits the collected related parameters to the central processor, and the central processor sets the VGA decoder chip according to the corresponding parameters, thereby outputting A valid video area that eliminates black edges. The switching parameters of the video can be set by the central processing unit.
CPU接口模块是根据中央处理器的BUS总线读写时序,实现中央处理器通过BUS总线操作FPGA内部存储单元的接口。CPU接口模块可以根据不同的CPU的接口要求进行修改。The CPU interface module is based on the BUS bus read and write timing of the central processing unit, and realizes the interface of the central processing unit to operate the internal storage unit of the FPGA through the BUS bus. The CPU interface module can be modified according to the interface requirements of different CPUs.
由于逻辑芯片规模比较大,会导致内部线路延时也比较大,第一信号同步模块对输入的每路VGA数字视频信号进行多级同步,在信号传输的路径上插入多级寄存器,从而减少寄存器之间的线路延时,提高系统的工作频率,满足输入时序约束要求。Due to the large scale of the logic chip, the internal line delay is also relatively large. The first signal synchronization module performs multi-level synchronization on each input VGA digital video signal, and inserts a multi-level register in the path of the signal transmission, thereby reducing the register. The line delay between the lines increases the operating frequency of the system and meets the input timing constraints.
如图9所示的另一具体实施例的一路视频输出的同步逻辑切换模块原理框图,同步逻辑切换模块内部主要包含有时钟切换功能和视频切换功能。时钟切换功能对输入的5路视频通道的像素时钟进行切换选择,并将切换选择输出的一路时钟通过全局缓冲模块引入到逻辑内部的全局时钟网络,从而降低时钟在逻辑内部的布线延时。通过逻辑内部的ODDR模块输出像素时钟,这样可以降低像素时钟的输出延时。时钟切换模块同时产生5路复位信号给视频信号存储模块,根据切换参数对相应的存储模块进行复位。FIG. 9 is a schematic block diagram of a synchronous logic switching module for video output of another embodiment, and the synchronous logic switching module mainly includes a clock switching function and a video switching function. The clock switching function switches the pixel clock of the input 5 video channels, and introduces one clock of the switching selection output into the global clock network of the logic through the global buffer module, thereby reducing the wiring delay of the clock inside the logic. The pixel clock is output through the logic internal ODDR module, which reduces the output delay of the pixel clock. The clock switching module simultaneously generates 5 reset signals to the video signal storage module, and resets the corresponding storage modules according to the switching parameters.
视频信号存储模块对每一路视频的行同步信号、场同步信号和数据信号进行FIFO缓冲存储,将输入的视频信号和输出的视频信号隔离开来分别处理,从而实现前后端视频信号的输入时序约束和输出时序约束,提高视频接口的工作频率。在切换输出时,根据切换参数选择相应的缓冲存储器中的数据进行输出,同时由全局缓冲模块输出的时钟作为系统时钟,对选择输出的数据信号进行同步之后输出至DA转换芯片,从而减小逻辑内部同步寄存器之间的延时。The video signal storage module performs FIFO buffer storage on the line synchronization signal, the field synchronization signal and the data signal of each video, and separates the input video signal from the output video signal to separately process, thereby implementing input timing constraints of the front and rear end video signals. And output timing constraints to improve the operating frequency of the video interface. When switching the output, the data in the corresponding buffer memory is selected according to the switching parameter for output, and the clock outputted by the global buffer module is used as the system clock, and the data signal of the selected output is synchronized and output to the DA conversion chip, thereby reducing logic. The delay between internal sync registers.
DA转换芯片将选择输出的数据信号转换为模拟视频信号输出。The DA conversion chip converts the selected output data signal into an analog video signal output.
本发明将基于FPGA同步时序逻辑的方式来实现多路视频源到多路视频输出的任意同步切换,内部视频图像传输过程中无压缩和变换,在保证了图像质量的情况下支持多种分辨率视频的切换,解决了FPGA组合逻辑切换方式导致的图像线路延伸过大而导致的图像质量的降低,以及模拟器件切换方式导致的器件集成度不高和不灵活的弊端。The invention realizes any synchronous switching of multiple video sources to multiple video outputs based on the manner of FPGA synchronous timing logic, without compression and transformation during internal video image transmission, and supports multiple resolutions while ensuring image quality. The switching of the video solves the image quality degradation caused by the excessive extension of the image line caused by the combination mode switching mode of the FPGA, and the disadvantages of low integration and inflexibility caused by the analog device switching mode.
附图中描述位置关系的用于仅用于示例性说明,不能理解为对本专利的限制。The positional relationship described in the drawings is for illustrative purposes only and is not to be construed as limiting the invention.
显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。It is apparent that the above-described embodiments of the present invention are merely illustrative of the present invention and are not intended to limit the embodiments of the present invention. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.

Claims (9)

  1. 一种基于FPGA的视频同步切换系统,其特征在于,包括: An FPGA-based video synchronization switching system, comprising:
    AD转换模块,其将输入的模拟视频信号转换为数字视频信号;An AD conversion module that converts the input analog video signal into a digital video signal;
    分辨率检测模块,其对数字视频信号进行采样,输出相关采样参数;a resolution detection module that samples a digital video signal and outputs relevant sampling parameters;
    中央处理器,其根据相关采样参数调节AD转换模块输出相应的数字视频信号,接收并传输外部的切换参数;a central processing unit that adjusts an AD conversion module to output a corresponding digital video signal according to relevant sampling parameters, and receives and transmits an external switching parameter;
    CPU接口模块,其用于连接中央处理器和FPGA内部存储单元;a CPU interface module for connecting a central processing unit and an FPGA internal storage unit;
    第一信号同步模块,其对多路数字视频信号进行多级同步;a first signal synchronization module that performs multi-level synchronization on multiple digital video signals;
    同步逻辑切换模块,其根据切换参数将同步后的多路数字视频信号进行切换输出;a synchronous logic switching module, which switches and outputs the synchronized multiple digital video signals according to the switching parameters;
    DA转换模块,其将切换输出的数字视频信号转换为模拟视频信号;a DA conversion module that converts the switched digital video signal into an analog video signal;
    时钟处理模块,其将输入的时钟信号进行倍频,输出高速检测时钟信号至分辨率检测模块。A clock processing module that multiplies the input clock signal and outputs a high speed detection clock signal to the resolution detection module.
  2. 根据权利要求1所述的一种基于FPGA的视频同步切换系统,其特征在于,所述同步逻辑切换模块包括时钟切换模块和视频切换模块;The FPGA-based video synchronization switching system according to claim 1, wherein the synchronization logic switching module comprises a clock switching module and a video switching module;
    所述时钟切换模块将同步后的多路数字视频信号中的像素时钟进行切换输出至视频信号切换模块和DA转换模块,并根据切换参数输出多路复位信号至视频信号切换模块;The clock switching module switches the pixel clock in the synchronized multi-channel digital video signal to the video signal switching module and the DA conversion module, and outputs a multi-channel reset signal to the video signal switching module according to the switching parameter;
    所述视频切换模块将同步后的多路数字视频信号缓冲存储,并根据切换参数选择输出数字视频信号至DA转换模块。The video switching module buffers the synchronized multi-channel digital video signals, and selects and outputs the digital video signals to the DA conversion module according to the switching parameters.
  3. 根据权利要求2所述的一种基于FPGA的视频同步切换系统,其特征在于,所述时钟切换模块包括复位信号模块、切换选择模块、全局缓冲模块和ODDR模块;The FPGA-based video synchronization switching system according to claim 2, wherein the clock switching module comprises a reset signal module, a switch selection module, a global buffer module, and an ODDR module;
    所述复位信号模块根据切换参数生成多路复位信号输出至视频信号切换模块;The reset signal module generates a multi-way reset signal output to the video signal switching module according to the switching parameter;
    所述切换选择模块对像素时钟进行切换选择输出至所述全局缓冲模块;The switching selection module switches and selects a pixel clock to output to the global buffer module;
    所述全局缓冲模块将像素时钟信号输出至全局时钟网络和ODDR模块;The global buffer module outputs a pixel clock signal to the global clock network and the ODDR module;
    所述ODDR模块输出像素时钟至DA 转换模块。The ODDR module outputs a pixel clock to the DA conversion module.
  4. 根据权利要求3所述的一种基于FPGA的视频同步切换系统,其特征在于,所述视频切换模块包括视频信号存储模块、同步选择模块和第二信号同步模块;The FPGA-based video synchronization switching system according to claim 3, wherein the video switching module comprises a video signal storage module, a synchronization selection module, and a second signal synchronization module;
    所述视频信号存储模块将同步后的多路数字视频信号进行缓冲存储,并根据多路复位信号对相应的存储模块进行复位;The video signal storage module buffers the synchronized multiple digital video signals, and resets the corresponding storage modules according to the multiple reset signals;
    所述同步选择模块根据切换参数选择相应的缓冲存储器中的数据进行输出;The synchronization selection module selects data in the corresponding buffer memory according to the switching parameter for output;
    所述第二信号同步模块对选择输出的数据进行多级同步后输出至DA 转换模块。The second signal synchronization module performs multi-stage synchronization on the selected output data and outputs the data to the DA conversion module.
  5. 根据权利要求4所述的一种基于FPGA的视频同步切换系统,其特征在于,所述缓冲存储采用FPGA内部FIFO缓冲隔离存储单元。The FPGA-based video synchronization switching system according to claim 4, wherein the buffer storage uses an FPGA internal FIFO buffer isolation storage unit.
  6. 一种基于FPGA的视频同步切换方法,其特征在于,包括以下步骤:An FPGA-based video synchronization switching method, comprising the following steps:
    S01. 将输入的模拟视频信号转换为数字视频信号;S01. Converting the input analog video signal into a digital video signal;
    将输入的时钟信号进行倍频,获取高速检测时钟信号;Multiplying the input clock signal to obtain a high-speed detection clock signal;
    S02. 用高速检测时钟信号对数字视频信号进行采样,获取相关采样参数,同时对多路数字视频信号进行多级同步;S02. The high-speed detection clock signal is used to sample the digital video signal, obtain relevant sampling parameters, and simultaneously perform multi-level synchronization on the multi-channel digital video signals;
    S03. 根据相关采样参数调节输出相应的数字视频信号,并接收外部的切换参数;S03. Adjusting and outputting a corresponding digital video signal according to the relevant sampling parameter, and receiving an external switching parameter;
    S04. 根据切换参数将同步后的多路数字视频信号进行切换输出;S04. switching the synchronized multi-channel digital video signals according to the switching parameters;
    S05. 将切换输出的数字视频信号转换为模拟视频信号。S05. Convert the digital video signal of the switched output to an analog video signal.
  7. 根据权利要求6所述的一种基于FPGA的视频同步切换方法,其特征在于,所述步骤S04之前还包括步骤A. 获取同步后的多路数字视频信号中的像素时钟,根据切换参数获取多路复位信号;B. 将同步后的多路数字视频信号缓冲存储。The FPGA-based video synchronization switching method according to claim 6, wherein the step S04 further comprises a step A. Obtaining a pixel clock in the synchronized multi-channel digital video signal, and acquiring a multi-channel reset signal according to the switching parameter; B. buffering the synchronized multi-channel digital video signal.
  8. 根据权利要求7所述的一种基于FPGA的视频同步切换方法,其特征在于,所述步骤S04具体包括:The FPGA-based video synchronization switching method according to claim 7, wherein the step S04 specifically includes:
    S401. 根据多路复位信号对相应的存储地址进行复位;S401. Reset the corresponding storage address according to the multiple reset signal;
    S402.根据切换参数选择相应存储地址的数据;S402. Select data of a corresponding storage address according to the switching parameter.
    S403. 对选择的数据进行多级同步后输出。S403. Perform multi-level synchronization on the selected data and output.
  9. 根据权利要求8所述的一种基于FPGA的视频同步切换方法,其特征在于,所述步骤B缓冲存储为FIFO缓冲隔离存储。The FPGA-based video synchronization switching method according to claim 8, wherein the step B buffer storage is FIFO buffer isolation storage.
PCT/CN2015/095519 2015-06-16 2015-11-25 Fpga-based synchronous video switching system and method WO2016201892A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510199324.7 2015-06-16
CN201510199324.7A CN104836965B (en) 2015-06-16 2015-06-16 FPGA-based video synchronous switching system and method

Publications (1)

Publication Number Publication Date
WO2016201892A1 true WO2016201892A1 (en) 2016-12-22

Family

ID=53814579

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095519 WO2016201892A1 (en) 2015-06-16 2015-11-25 Fpga-based synchronous video switching system and method

Country Status (2)

Country Link
CN (1) CN104836965B (en)
WO (1) WO2016201892A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831359A (en) * 2017-11-20 2018-03-23 浙江钰烯腐蚀控制股份有限公司 Test pile
CN109491940A (en) * 2018-12-18 2019-03-19 中国科学院西安光学精密机械研究所 Conversion circuit and conversion method for TLK2711 transmission interface and USB3.0 transmission interface
CN109830204A (en) * 2019-03-25 2019-05-31 京东方科技集团股份有限公司 A kind of sequence controller, display driving method, display device
CN110852026A (en) * 2019-11-07 2020-02-28 许继集团有限公司 FPGA and time sequence convergence method thereof
CN112838860A (en) * 2019-11-23 2021-05-25 西安诺瓦星云科技股份有限公司 Data output method, device and system
CN113014838A (en) * 2021-03-03 2021-06-22 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113596373A (en) * 2021-07-28 2021-11-02 成都卓元科技有限公司 8K video processing architecture for converting 12G-SDI into HDMI2.1
CN113596348A (en) * 2021-04-29 2021-11-02 青岛信芯微电子科技股份有限公司 Image processing method and apparatus
CN113923381A (en) * 2021-10-12 2022-01-11 江西省智成测控技术研究所有限责任公司 Switcher capable of realizing multiple video interfaces and measuring method thereof
CN113923380A (en) * 2021-10-12 2022-01-11 江西省智成测控技术研究所有限责任公司 Multi-channel video processing switcher and measurement method thereof
CN113963655A (en) * 2021-10-29 2022-01-21 中航华东光电有限公司 High-reliability airborne display control system based on FPGA
CN114374837A (en) * 2021-12-29 2022-04-19 苏州长风航空电子有限公司 Multi-path ARINC818 testing system with self-adaptive link rate and resolution
CN114554027A (en) * 2022-03-16 2022-05-27 湖南双菱电子科技有限公司 Audio embedding processing and video-audio synchronous output processing method
CN115379070A (en) * 2022-08-24 2022-11-22 中船重工(武汉)凌久电子有限责任公司 Method for dynamically configuring clock to transmit HDMI image in real time based on FPGA
CN116156082A (en) * 2022-03-28 2023-05-23 中音讯谷科技有限公司 Multichannel audio/video switching analysis system

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836965B (en) * 2015-06-16 2018-02-23 邦彦技术股份有限公司 FPGA-based video synchronous switching system and method
CN105392044B (en) * 2015-11-02 2018-10-30 广州盈可视电子科技有限公司 With the control method of multiple videos switching of screen
CN105704541B (en) * 2016-01-07 2019-11-12 广州宏控电子科技有限公司 A kind of video seamless handover method
CN106454183A (en) * 2016-08-31 2017-02-22 北京竞业达数码科技有限公司 Configurable multi-way video switching device with various control interfaces
CN106713785A (en) * 2017-01-11 2017-05-24 北京华夏电通科技有限公司 Digital video switching method and device
CN107948613A (en) * 2017-12-29 2018-04-20 北京九方广维科技有限公司 Multi-path camera shares switching circuit and intercom system and shares method for sharing
CN109600532B (en) * 2018-12-13 2020-04-03 中国科学院西安光学精密机械研究所 Unmanned aerial vehicle multi-channel video seamless switching system and method
CN109788214B (en) * 2018-12-13 2020-04-03 中国科学院西安光学精密机械研究所 Multi-channel video seamless switching system and method based on FPGA
CN109743520A (en) * 2019-01-14 2019-05-10 苏州长风航空电子有限公司 A kind of multipath resolution dynamic self-adapting Airborne Video Recording System
CN109885273B (en) * 2019-03-08 2022-02-15 南昌黑鲨科技有限公司 Image display system and display method
CN114065694A (en) * 2020-08-03 2022-02-18 上海复旦微电子集团股份有限公司 FPGA wiring resource map compression method and global wiring module
CN112040089B (en) * 2020-09-24 2023-04-28 深圳市康维讯视频科技有限公司 Multi-channel signal zero-delay synchronization device for monitor based on FPGA
CN112449080B (en) * 2020-11-06 2022-06-28 广东欧谱曼迪科技有限公司 FPGA (field programmable Gate array) engineering method and device for dynamic interpolation, storage medium and terminal
CN112946383A (en) * 2021-01-27 2021-06-11 广州路派电子科技有限公司 Normal-temperature normal-power-output-level aging system and construction method for product
CN113807999B (en) * 2021-09-13 2022-11-04 中国航空无线电电子研究所 Multi-path graphic processing equipment
CN116095257B (en) * 2023-02-14 2024-08-06 矩阵时光数字科技有限公司 Multichannel HDMI video switching display system
CN117119128B (en) * 2023-08-18 2024-05-03 广东保伦电子股份有限公司 Control method for seamless switching of video matrix and video matrix system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212970A1 (en) * 2004-03-26 2005-09-29 Joskin Yves R Video frame grabber apparatus and method
CN101783869A (en) * 2009-01-20 2010-07-21 广东科学技术职业学院 Method for realizing self-adapting conversion of X-ray nonstandard video digital code by using FPGA (Field Programmable Gate Array)
CN103813107A (en) * 2014-03-05 2014-05-21 湖南兴天电子科技有限公司 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)
CN104836965A (en) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 FPGA-based video synchronous switching system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127839A (en) * 2007-08-20 2008-02-20 北京航空航天大学 Cellular shape image collection processing system
CN201266986Y (en) * 2008-08-19 2009-07-01 武汉力源信息技术有限公司 Device for digital compression video-recording and playback of audio and video
US8823721B2 (en) * 2009-12-30 2014-09-02 Intel Corporation Techniques for aligning frame data
CN101924884A (en) * 2010-06-26 2010-12-22 大连捷成实业发展有限公司 Digital video signal switching circuit and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212970A1 (en) * 2004-03-26 2005-09-29 Joskin Yves R Video frame grabber apparatus and method
CN101783869A (en) * 2009-01-20 2010-07-21 广东科学技术职业学院 Method for realizing self-adapting conversion of X-ray nonstandard video digital code by using FPGA (Field Programmable Gate Array)
CN103813107A (en) * 2014-03-05 2014-05-21 湖南兴天电子科技有限公司 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)
CN104836965A (en) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 FPGA-based video synchronous switching system and method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831359B (en) * 2017-11-20 2024-06-04 浙江钰烯腐蚀控制股份有限公司 Test pile
CN107831359A (en) * 2017-11-20 2018-03-23 浙江钰烯腐蚀控制股份有限公司 Test pile
CN109491940A (en) * 2018-12-18 2019-03-19 中国科学院西安光学精密机械研究所 Conversion circuit and conversion method for TLK2711 transmission interface and USB3.0 transmission interface
CN109830204B (en) * 2019-03-25 2022-08-09 京东方科技集团股份有限公司 Time schedule controller, display driving method and display device
CN109830204A (en) * 2019-03-25 2019-05-31 京东方科技集团股份有限公司 A kind of sequence controller, display driving method, display device
CN110852026A (en) * 2019-11-07 2020-02-28 许继集团有限公司 FPGA and time sequence convergence method thereof
CN110852026B (en) * 2019-11-07 2023-10-20 许继集团有限公司 FPGA and timing sequence convergence method thereof
CN112838860A (en) * 2019-11-23 2021-05-25 西安诺瓦星云科技股份有限公司 Data output method, device and system
CN113014838B (en) * 2021-03-03 2023-03-21 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113014838A (en) * 2021-03-03 2021-06-22 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113596348A (en) * 2021-04-29 2021-11-02 青岛信芯微电子科技股份有限公司 Image processing method and apparatus
CN113596348B (en) * 2021-04-29 2023-11-03 青岛信芯微电子科技股份有限公司 Image processing method and device
CN113596373A (en) * 2021-07-28 2021-11-02 成都卓元科技有限公司 8K video processing architecture for converting 12G-SDI into HDMI2.1
CN113923381B (en) * 2021-10-12 2023-06-23 江西省智成测控技术研究所有限责任公司 Switch capable of realizing multiple video interfaces and measuring method thereof
CN113923381A (en) * 2021-10-12 2022-01-11 江西省智成测控技术研究所有限责任公司 Switcher capable of realizing multiple video interfaces and measuring method thereof
CN113923380B (en) * 2021-10-12 2023-06-20 江西省智成测控技术研究所有限责任公司 Multipath video processing switcher and measuring method thereof
CN113923380A (en) * 2021-10-12 2022-01-11 江西省智成测控技术研究所有限责任公司 Multi-channel video processing switcher and measurement method thereof
CN113963655B (en) * 2021-10-29 2024-02-09 中航华东光电有限公司 High-reliability airborne display control system based on FPGA
CN113963655A (en) * 2021-10-29 2022-01-21 中航华东光电有限公司 High-reliability airborne display control system based on FPGA
CN114374837A (en) * 2021-12-29 2022-04-19 苏州长风航空电子有限公司 Multi-path ARINC818 testing system with self-adaptive link rate and resolution
CN114554027A (en) * 2022-03-16 2022-05-27 湖南双菱电子科技有限公司 Audio embedding processing and video-audio synchronous output processing method
CN116156082A (en) * 2022-03-28 2023-05-23 中音讯谷科技有限公司 Multichannel audio/video switching analysis system
CN115379070A (en) * 2022-08-24 2022-11-22 中船重工(武汉)凌久电子有限责任公司 Method for dynamically configuring clock to transmit HDMI image in real time based on FPGA

Also Published As

Publication number Publication date
CN104836965B (en) 2018-02-23
CN104836965A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
WO2016201892A1 (en) Fpga-based synchronous video switching system and method
WO2014139345A1 (en) Control method and device for ultra-high definition display and ultra-high definition television
WO2013042264A1 (en) Video processing device and video processing method
WO2014139289A1 (en) Resolution conversion method and device, and ultra-high definition television
US20110122262A1 (en) Method and apparatus for information reproduction
WO2015152485A1 (en) Method and apparatus for transmitting video signal
WO2021107293A1 (en) Electronic apparatus and control method thereof
JP2013048333A (en) Image processor, image processing method and image processing system
US10531056B2 (en) Projector, projecting system and transmission delay detection method thereof
JP2017085360A (en) Semiconductor device, image display system, and image signal output method
CN109618074B (en) Robustness design method for nonstandard input vesa time sequence
US10057524B2 (en) Image capturing apparatus
JP2006191389A (en) Video camera
TWM568005U (en) Video signal conversion device
JP2017200058A (en) Semiconductor device, video image display system, and video image signal output method
CN112653860A (en) Camera Link signal source data processing method based on HDMI interface
TWI428018B (en) Method and apparatus for image conversion
JP4584725B2 (en) Video processing device
JP2000152030A (en) Video signal processing circuit
JP4677755B2 (en) Image filter circuit and interpolation processing method
JP2018019284A (en) Video receiver
WO2022055005A1 (en) Delay synchronization processing apparatus and signal processing apparatus provided with same
US7920197B2 (en) Image pickup apparatus
JP4987957B2 (en) Head-separated imaging apparatus, control unit thereof, and signal processing method
US20240283890A1 (en) Device, method and program for combining video signals

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15895459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15895459

Country of ref document: EP

Kind code of ref document: A1