CN111327861A - Image transmission system and method based on FPGA single differential pair - Google Patents

Image transmission system and method based on FPGA single differential pair Download PDF

Info

Publication number
CN111327861A
CN111327861A CN201811544752.9A CN201811544752A CN111327861A CN 111327861 A CN111327861 A CN 111327861A CN 201811544752 A CN201811544752 A CN 201811544752A CN 111327861 A CN111327861 A CN 111327861A
Authority
CN
China
Prior art keywords
state
fpga
gtx
synchronous
clock
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201811544752.9A
Other languages
Chinese (zh)
Other versions
CN111327861B (en
Inventor
白志强
李战行
于云翔
张艳辉
张建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huahang Radio Measurement Research Institute
Original Assignee
Beijing Huahang Radio Measurement Research Institute
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 Beijing Huahang Radio Measurement Research Institute filed Critical Beijing Huahang Radio Measurement Research Institute
Priority to CN201811544752.9A priority Critical patent/CN111327861B/en
Publication of CN111327861A publication Critical patent/CN111327861A/en
Application granted granted Critical
Publication of CN111327861B publication Critical patent/CN111327861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable

Abstract

An image transmission system and method based on single differential pair of FPGA, including sending end and receiving end; the sending end and the receiving end both comprise an FPGA with a GTX interface and a clock module, and the FPGA comprises a 7series transfer Wizard IP core and an image data synchronization module; a 120M differential clock output by the clock module is connected to a differential clock input end of the GTX; the transmitting end and the receiving end of the GTX are connected by a coaxial cable or a twisted pair. The invention provides an image transmission system method based on a single differential pair of an FPGA (field programmable gate array). A pair of CML (China Mobile language) differential cables is used for realizing the transmission of 0.6-1.5 Gbps serial image signals, a low-power-consumption gigabit transceiver GTX owned by a xilinx 7series chip is used for realizing the serial-parallel conversion of high-speed serial signals, 8B/10B coding and decoding are carried out, and then FPGA logic is used for realizing the synchronization of image data and the extraction of effective data signals.

Description

Image transmission system and method based on FPGA single differential pair
Technical Field
The invention relates to the field of image data transmission interfaces, in particular to a method for realizing high-speed serial image data transmission by using a single differential pair based on an FPGA (field programmable gate array).
Background
At present, in the field of image transmission, interfaces are various, and the application is wider in LVDS transmission technology. LVDS is a low-cost, low-power consumption signal transmission technique that is widely used in parallel and lower-rate serial image data transmission systems. LVDS applications are limited where a single pair of data exceeds 1 Gbps. CML is the simplest of high speed data transfer interfaces, with matched input and output circuitry, and supports higher data transfer rates. Meanwhile, in engineering application, a data cable can generate various adverse effects such as nonlinear disturbance on a system platform, and how to reduce the number of transmission cables is particularly important for the whole system. Therefore, it is a good solution to select a single differential pair of CML levels for image transmission. In addition, for CML single differential pair image transmission, a more implementation scheme is to select a TI integrated chip TLK1501 which integrates a serial-parallel conversion module, a clock module and an 8B/10B coding and decoding module. However, the chip size is large and the peripheral circuit is complicated.
Disclosure of Invention
In order to solve the problems, the invention provides an image transmission system and method based on a single differential pair of an FPGA.
An image transmission system based on a single differential pair of an FPGA comprises a sending end and a receiving end; the sending end and the receiving end both comprise an FPGA with a GTX interface and a clock module, and the FPGA comprises a 7series transfer Wizard IP core and an image data synchronization module; a 120M differential clock output by the clock module is connected to a differential clock input end of the GTX; the transmitting end and the receiving end of the GTX are connected by a coaxial cable or a twisted pair.
An image transmission method based on FPGA single differential pair, which utilizes the system of claim 1, and comprises the following steps:
s1, configuring a GTX gigabit serial transceiver by utilizing a 7series transfer Wizard IP core in the FPGA, setting an MGT reference clock to be 120MHz, setting the transmission rate to be 0.6Gbps, and selecting an MGT reference clock pin according to a circuit interface pin;
s2, configuring a GTX gigabit serial transceiver by using a 7series Transfer Wizard IP core in the FPGA, setting the bit width of input and output data to be 16/20, selecting an 8B/10B coding and decoding mode, and setting an RP clock to be 60 MHz; setting the 8B/10B control code as a K28.5 code, setting the mask code as 0B0001111111, and setting the alignment mode as 2-byte alignment;
s3, generating a 7series Transfer Wizard IP core inside the FPGA, and instantiating and connecting an external GTX clock and a data interface to complete pin distribution;
s4, the image data synchronization module detects an IDLE code to carry out synchronization operation, and the IDLE code consists of K28.5+ D5.6 or K28.5+ D16.2 codes according to an 8B/10B coding rule; a state machine is realized in the FPGA for monitoring different states, including a synchronous capture state, a synchronous state and an error code monitoring state; before effective data transmission, the state machine needs to enter a synchronous capture state; in the state, if the state machine monitors 5 continuous IDLE codes, the state machine enters a synchronous state, and starts to receive effective data after entering the synchronous state to obtain a data effective state indicating signal and effective data; otherwise, continuing monitoring until entering a synchronous state; after entering the synchronous state, when monitoring the data error code, the state machine enters the error code monitoring state, and after entering the error code monitoring state, if monitoring 3 continuous error codes, the state machine returns to the synchronous capturing state again; and if 5 IDLE codes are monitored continuously, entering a synchronous state, otherwise, continuing monitoring until the synchronous state is entered.
The invention provides an image transmission system method based on a single differential pair of an FPGA (field programmable gate array). A pair of CML (China Mobile language) differential cables is used for realizing the transmission of 0.6-1.5 Gbps serial image signals, a low-power-consumption gigabit transceiver GTX owned by a xilinx 7series chip is used for realizing the serial-parallel conversion of high-speed serial signals, 8B/10B coding and decoding are carried out, and then FPGA logic is used for realizing the synchronization of image data and the extraction of effective data signals.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention,
FIG. 2 is a schematic view of the method of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
An image transmission system based on a single differential pair of an FPGA (field programmable gate array) as shown in FIG. 1 comprises a sending end and a receiving end; the transmitting end and the receiving end both comprise an FPGA with a GTX interface and a clock module, and the FPGA comprises a 7series transfer wizardIP core and an image data synchronization module; a 120M differential clock output by the clock module is connected to a differential clock input end of the GTX; the transmitting end and the receiving end of the GTX are connected by a coaxial cable or a twisted pair.
An image transmission method based on a single differential pair of an FPGA adopts the system equipment, and comprises the following steps:
s1, configuring a GTX gigabit serial transceiver by utilizing a 7series transfer Wizard IP core in the FPGA, setting an MGT reference clock to be 120MHz, setting the transmission rate to be 0.6Gbps, and selecting an MGT reference clock pin according to a circuit interface pin;
s2, configuring a GTX gigabit serial transceiver by using a 7series Transfer Wizard IP core in the FPGA, setting the bit width of input and output data to be 16/20, selecting an 8B/10B coding and decoding mode, and setting an RP clock to be 60 MHz; setting the 8B/10B control code as a K28.5 code, setting the mask code as 0B0001111111, and setting the alignment mode as 2-byte alignment;
s3, generating a 7series Transfer Wizard IP core inside the FPGA, and instantiating and connecting an external GTX clock and a data interface to complete pin distribution;
s4, the image data synchronization module detects an IDLE code to carry out synchronization operation, and the IDLE code consists of K28.5+ D5.6 or K28.5+ D16.2 codes according to an 8B/10B coding rule; a state machine is realized in the FPGA for monitoring different states, including a synchronous capture state, a synchronous state and an error code monitoring state; before effective data transmission, the state machine needs to enter a synchronous capture state; in the state, if the state machine monitors 5 continuous IDLE codes, the state machine enters a synchronous state, and starts to receive effective data after entering the synchronous state to obtain a data effective state indicating signal and effective data; otherwise, continuing monitoring until entering a synchronous state; after entering the synchronous state, when monitoring the data error code, the state machine enters the error code monitoring state, and after entering the error code monitoring state, if monitoring 3 continuous error codes, the state machine returns to the synchronous capturing state again; if 5 IDLE codes are monitored continuously, the synchronous state is entered, otherwise, the monitoring is continued until the synchronous state is entered, as shown in fig. 2.
The invention provides an image transmission method based on a single differential pair of an FPGA (field programmable gate array). The image transmission method is based on a xilinZYNQ hardware platform, and selects a zc7030 chip with a GTX transceiver. The image transmission method utilizes a pair of CML level differential cables to realize the transmission of 0.6-1.5 Gbps serial image signals, utilizes a low-power-consumption gigabit transceiver GTX possessed by a xilinx 7series chip to realize the serial-parallel conversion of high-speed serial signals, 8B/10B coding and decoding, and then utilizes FPGA logic to realize the synchronization of image data and the extraction of effective data signals. The invention has the obvious characteristic of simple external transmission interface, only uses a pair of differential cables to complete image transmission, and utilizes a GTX interface and a corresponding IP core provided by xilinx ZYNQ to be matched with a small amount of FPGA logic to realize the transceiving of high-speed serial image data, thereby greatly improving the design efficiency, simplifying the transmission interface circuit and reducing the influence of interface wiring on the system.

Claims (2)

1. An image transmission system based on a single differential pair of an FPGA comprises a sending end and a receiving end; the sending end and the receiving end both comprise an FPGA with a GTX interface and a clock module, and the FPGA comprises a 7series Transfer Wizard IP core and an image data synchronization module; a 120M differential clock output by the clock module is connected to a differential clock input end of the GTX; the transmitting end and the receiving end of the GTX are connected by a coaxial cable or a twisted pair.
2. An image transmission method based on FPGA single differential pair, which utilizes the system of claim 1, and comprises the following steps:
s1, configuring a GTX gigabit serial transceiver by utilizing a 7series Transfer Wizard IP core in the FPGA, setting an MGT reference clock to be 120MHz, setting the transmission rate to be 0.6Gbps, and selecting an MGT reference clock pin according to a circuit interface pin;
s2, configuring a GTX gigabit serial transceiver by using a 7series Transfer Wizard IP core in the FPGA, setting the bit width of input and output data to be 16/20, selecting an 8B/10B coding and decoding mode, and setting an RP clock to be 60 MHz; setting the 8B/10B control code as a K28.5 code, setting the mask code as 0B0001111111, and setting the alignment mode as 2-byte alignment;
s3, generating a 7series Transfer Wizard IP core inside the FPGA, and instantiating and connecting an external GTX clock and a data interface to complete pin distribution;
s4, the image data synchronization module detects an IDLE code to carry out synchronization operation, and the IDLE code consists of K28.5+ D5.6 or K28.5+ D16.2 codes according to an 8B/10B coding rule; a state machine is realized in the FPGA for monitoring different states, including a synchronous capture state, a synchronous state and an error code monitoring state; before effective data transmission, the state machine needs to enter a synchronous capture state; in the state, if the state machine monitors 5 continuous IDLE codes, the state machine enters a synchronous state, and starts to receive effective data after entering the synchronous state to obtain a data effective state indicating signal and effective data; otherwise, continuing monitoring until entering a synchronous state; after entering the synchronous state, when monitoring the data error code, the state machine enters the error code monitoring state, and after entering the error code monitoring state, if monitoring 3 continuous error codes, the state machine returns to the synchronous capturing state again; and if 5 IDLE codes are monitored continuously, entering a synchronous state, otherwise, continuing monitoring until the synchronous state is entered.
CN201811544752.9A 2018-12-17 2018-12-17 Image transmission method based on FPGA single differential pair Active CN111327861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811544752.9A CN111327861B (en) 2018-12-17 2018-12-17 Image transmission method based on FPGA single differential pair

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811544752.9A CN111327861B (en) 2018-12-17 2018-12-17 Image transmission method based on FPGA single differential pair

Publications (2)

Publication Number Publication Date
CN111327861A true CN111327861A (en) 2020-06-23
CN111327861B CN111327861B (en) 2021-02-19

Family

ID=71166208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811544752.9A Active CN111327861B (en) 2018-12-17 2018-12-17 Image transmission method based on FPGA single differential pair

Country Status (1)

Country Link
CN (1) CN111327861B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1503591A2 (en) * 2003-07-31 2005-02-02 Samsung Electronics Co., Ltd. Device for separating a Single Program Transport Stream from a Multiple Program Transport Stream
CN102064886A (en) * 2010-11-03 2011-05-18 中国科学院长春光学精密机械与物理研究所 Camera interface full-mode fiber transmission system
CN102123060A (en) * 2011-03-24 2011-07-13 索尔思光电(成都)有限公司 FPGA (Field Programmable Gate Array) based error code testing method
CN102143357A (en) * 2011-05-09 2011-08-03 施勒智能建筑系统(上海)有限公司 Methods for transmitting audio, video and data by using category-5 network cable
CN104583791A (en) * 2012-09-13 2015-04-29 英特尔公司 Interface circuitry for a test apparatus
CN105846818A (en) * 2016-03-21 2016-08-10 青岛海信电器股份有限公司 Signal transmission circuit in display device
CN107404623A (en) * 2017-07-10 2017-11-28 中国民用航空总局第二研究所 The remote receiver and method of multipoint location system based on CPCI frameworks
CN107426551A (en) * 2016-05-24 2017-12-01 中国科学院长春光学精密机械与物理研究所 A kind of syntype Cameralink digital picture optical transmitter and receiver receiving terminals and transmitting terminal based on FPGA

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1503591A2 (en) * 2003-07-31 2005-02-02 Samsung Electronics Co., Ltd. Device for separating a Single Program Transport Stream from a Multiple Program Transport Stream
CN102064886A (en) * 2010-11-03 2011-05-18 中国科学院长春光学精密机械与物理研究所 Camera interface full-mode fiber transmission system
CN102123060A (en) * 2011-03-24 2011-07-13 索尔思光电(成都)有限公司 FPGA (Field Programmable Gate Array) based error code testing method
CN102143357A (en) * 2011-05-09 2011-08-03 施勒智能建筑系统(上海)有限公司 Methods for transmitting audio, video and data by using category-5 network cable
CN104583791A (en) * 2012-09-13 2015-04-29 英特尔公司 Interface circuitry for a test apparatus
CN105846818A (en) * 2016-03-21 2016-08-10 青岛海信电器股份有限公司 Signal transmission circuit in display device
CN107426551A (en) * 2016-05-24 2017-12-01 中国科学院长春光学精密机械与物理研究所 A kind of syntype Cameralink digital picture optical transmitter and receiver receiving terminals and transmitting terminal based on FPGA
CN107404623A (en) * 2017-07-10 2017-11-28 中国民用航空总局第二研究所 The remote receiver and method of multipoint location system based on CPCI frameworks

Also Published As

Publication number Publication date
CN111327861B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN102064886B (en) Camera interface full-mode fiber transmission system
CN103716118B (en) The data is activation and method of reseptance of a kind of AMR and device
CN100489821C (en) Communication system for use between electronic devices and method thereof
CN104320184A (en) High-speed optical module for fiber channel
CN102681971A (en) Aurora protocol based method for conducting high-speed interconnection between field programmable gate arrays (FPGAs)
CN113572486B (en) Transmitter with low-speed SerDes interface, receiver with low-speed SerDes interface and circuit design method of transmitter
CN106063181B (en) Receiver circuit and the method operated on receiver circuit
CN102662893A (en) Multifunctional bus data conversion system
CN102751984B (en) High-speed clock data recovery system realization method and structure using same
CN102799558A (en) RS422 communication module based on CPCI bus
CN111327861B (en) Image transmission method based on FPGA single differential pair
CN204231356U (en) A kind of high-speed optical module for optical-fibre channel
CN101964657B (en) Low power consumption USB circuit
CN114442514A (en) USB3.0/3.1 control system based on FPGA
CN203859833U (en) Improved underwater high-definition video optical fiber communication device
CN103686170B (en) Short-distance multi-channel video transmission method and device
CN206379950U (en) A kind of error code instrument system
CN215452948U (en) Optical fiber trigger pulse transmission device
CN105205024A (en) 100 G high-speed transmission CFP (Centum Form-factor Pluggable) encapsulation cable module
CN202602676U (en) A CAN signal transmission circuit
CN201114169Y (en) Serial communication interface isolation driver circuit
CN204967825U (en) SFP digit light device and fiber optical transceiver based on SDH network
CN219227609U (en) JESD204B data transmission system based on optical fiber medium
CN218526326U (en) Short-distance transmission CAN protocol communication network
CN205017324U (en) Cable module and interconnection arrangement based on 100G transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant