CN113259318A - High-speed data transmission method, system, storage medium, information data processing terminal - Google Patents

High-speed data transmission method, system, storage medium, information data processing terminal Download PDF

Info

Publication number
CN113259318A
CN113259318A CN202110387720.8A CN202110387720A CN113259318A CN 113259318 A CN113259318 A CN 113259318A CN 202110387720 A CN202110387720 A CN 202110387720A CN 113259318 A CN113259318 A CN 113259318A
Authority
CN
China
Prior art keywords
data
module
interface
tlk2711
lvds
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
CN202110387720.8A
Other languages
Chinese (zh)
Other versions
CN113259318B (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.)
Shanghai Institute of Technical Physics of CAS
Original Assignee
Shanghai Institute of Technical Physics of CAS
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 Shanghai Institute of Technical Physics of CAS filed Critical Shanghai Institute of Technical Physics of CAS
Priority to CN202110387720.8A priority Critical patent/CN113259318B/en
Publication of CN113259318A publication Critical patent/CN113259318A/en
Application granted granted Critical
Publication of CN113259318B publication Critical patent/CN113259318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Communication Control (AREA)

Abstract

The invention belongs to the technical field of information acquisition and transmission, and discloses a high-speed data transmission method, a system, a storage medium and an information data processing terminal, which comprise: the system comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiving module; the TLK2711/LVDS interface conversion module comprises a first LVDS interface conversion circuit, a second LVDS interface conversion circuit, a first TLK2711 interface conversion circuit and a second TLK2711 interface conversion circuit; the FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data gating module, a data caching module, a UDP sending module and a UDP receiving and processing module; the Ethernet transceiver module comprises an RJ45 network interface and an RTL8211 transceiver. The invention has the advantages of small volume, low cost, high stability, long transmission distance, high transmission code rate and strong universality.

Description

High-speed data transmission method, system, storage medium, information data processing terminal
Technical Field
The invention belongs to the technical field of information acquisition and transmission, and particularly relates to a high-speed data transmission method, a high-speed data transmission system, a high-speed data transmission storage medium and an information data processing terminal.
Background
At present, the core device of a modern infrared imaging system is a focal plane array (focal plane array FPA), which commonly includes a linear array infrared detector and an area array infrared detector. The camera is arranged on an airplane or a satellite to acquire remote ground sensing infrared data through push-broom imaging or swing-broom imaging or staring imaging. The information is usually acquired by imaging the target through a photoelectric detector and sending the data after AD quantization to a back-end processor or post-processing, and the amount of the original data is generally huge and the data rate is high.
With the development of remote sensing technology, pursuit of high time resolution, high spatial resolution and high radiation resolution is carried out, high-speed high-resolution AD is used in a large amount on technical lines, generally 14 bits or more, so that the data volume of transmission and processing is inevitably further increased, the data rate is further improved, the front end original code rate of a typical imaging camera at present reaches the magnitude of hundreds of Gbps, effective data output by a single spectrum section after preprocessing is often between hundreds of Mbps and 1Gbps, and an LVDS interface or a TLK2711 coaxial high-frequency interface is often adopted for data acquisition.
When ground test is carried out, imaging data transmitted by a camera is received firstly, and output data formats of various infrared cameras are often customized and cannot be directly sent to a computer for collection, so that conversion needs to be carried out in advance. At present, a conversion method is often adopted to convert high-speed signals of different interfaces into data which can be received by a USB2.0, USB3.0 or PCIE interface, but the interfaces often do not have the capability of long-distance transmission, and the application of the interfaces to many occasions needing long-distance operation or collection has difficulty. On the other hand, the PCIE interface is usually adopted to customize an acquisition card, and the stability of long-time operation is usually poor because the driver is usually developed by a manufacturer or a third party, regardless of a general acquisition card or a special acquisition card. The problems can be effectively solved by adopting a conversion circuit and a gigabit Ethernet interface. Therefore, a high-speed data transmission system based on a conversion circuit and a gigabit ethernet interface is needed.
Through the above analysis, the problems and defects of the prior art are as follows:
(1) the traditional camera ground data acquisition equipment has the defects of large size, high cost, strong specificity, high data rate, difficult long-distance transmission and the like.
(2) When ground test is carried out, various output data formats of the infrared cameras are often self-defined, cannot be directly sent to a computer for collection, and need to be converted in advance.
(3) In the existing conversion method, high-speed signals of different interfaces are converted into data which can be received by USB2.0, USB3.0 or PCIE interfaces, but the interfaces often do not have the capability of long-distance transmission, and the method is difficult to be applied to occasions needing long-distance operation or collection.
(4) The PCIE interface is adopted, an acquisition card is usually required to be customized, and the stability of the PCIE interface in long-time operation is poor because the drive is usually developed by a manufacturer or a third party no matter the PCIE interface is a general acquisition card or a special acquisition card.
The difficulty in solving the above problems and defects is:
different space cameras have different solutions due to the difference in the form of a digital transmission interface and the data format, a special conversion circuit needs to be developed, the problem of long-distance high-speed data stability transmission exists, and the solutions are required to meet the requirements of high-speed access and transmission, work stably for a long time and have certain universality. High-speed signals are easy to attenuate in long-distance transmission to cause signal instability, and the development of a special acquisition board card is limited by the installation space of a computer and has the problem of driving stability, so that the difficulty exists, and a high-speed data transmission method and a high-speed data transmission device with universality need to be developed to meet the ground test application requirement of a space camera.
The significance of solving the problems and the defects is as follows:
when ground test is carried out, imaging data transmitted by the space camera needs to be developed into a special switching circuit due to the inconsistency of the interfaces of the space camera at home and abroad, and needs to work in occasions of long-distance transmission, such as large-scale vacuum test and data receiving in an external field imaging test, the data transmission distance in the occasions often needs ten meters or even dozens of meters, and the continuous working time often reaches more than ten days.
Disclosure of Invention
The invention provides a high-speed data transmission method, a system, a storage medium and an information data processing terminal, and aims to solve the defects of large ground data acquisition equipment, high cost, strong specificity, difficult long-distance transmission and the like of a traditional camera.
The present invention is achieved as such, a high-speed data transmission method including the steps of:
analyzing an access object, and judging whether an output interface of an infrared camera adopts LVDS or an interface based on a TLK2711 high-speed transceiver; the step is used for judging whether the application range of the conversion circuit is met or not;
receiving gigabit Ethernet interface data, analyzing an instruction through a UDP (user Datagram protocol) receiving and processing module, and analyzing whether a packet sent to the device is analyzed according to an IP (Internet protocol) and an MAC (media access control) address; the step is used for analyzing the instruction frame, and gating and setting the channel;
thirdly, the high-speed data transmission system receives the camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module; the step of receiving serial differential input data is a precondition for correct conversion of data format;
step four, converting the serial data received by LVDS into 8-bit data; carrying out data conversion on the 16-bit data which is transmitted by the TLK2711 transceiver according to the significant digit; the step is used for converting serial data of an LVDS interface into parallel data, converting the data received by the TLK2711 transceiver into 8-bit bytes, and calculating clock frequency required by smooth code rate;
analyzing a data transmission period tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining a packet transmission interval t, determining the number of segmented packets as k, and determining the depth of a data cache 2 as M bytes; this step is used for frame format organization and smooth transmission code rate;
step six, writing the data into a cache 2, wherein the writing clock of the cache 2 is 125 MHz; the step is used for solving the problem of clock domain crossing, improving the transmission stability and matching the transmission requirement of the gigabit network;
step seven, reading the data in the cache 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP (user Datagram protocol) transmission module; the step is used for realizing the UDP protocol, and pre-stored data is framed and sent according to the standard UDP protocol.
And step eight, the upper computer acquires data for analysis and processing.
Further, in the first step, if the interface is adopted, analyzing the peak transmission data rate of a single channel, determining whether the effective data rate of each channel is not more than 0.8Gbps within the range of the high-speed data transmission system, determining a data transmission protocol, determining a data transmission period tg, and determining the total number N of channels; and the data output interface is connected to the high-speed data transmission system through a serial cable.
Further, in the second step, after analyzing whether the packet sent to the device is the packet sent to the device according to the IP and the MAC address, if the packet is the packet sent to the device, further analyzing the instruction according to the instruction code table, switching the data source according to the instruction, and selecting the network port; wherein the data source is from an LVDS interface or a TLK2711 transceiver.
Further, in step four, the analyzing the significand includes:
if the data is 16-bit valid, the data is directly split into 2 data of 8 bytes; if other bits are valid, such as 10 bits and 12 bits, the least common multiple I of the bit q and 8 is calculated, then a cache 1 is opened up, and the write clock CLKW of the cache 1 satisfies the following formula:
q/CLKw=I/(8×125M)。
further, in step five, the determining method includes:
(1) the framing transmission time must be less than the data transmission interval, where P +42 contains 42 bytes of the framing overhead;
((P+42)/CLKf+t)×k<tg;
(2) each packet of valid data P must not exceed 1500 bytes;
(3) number of split packets: k is (L/P), and k is rounded and added with 1;
(4) the packet transmission interval t is larger than 96 125MHz periods according to the requirement of a UDP protocol;
(5) data cache depth: m is more than or equal to L bytes.
It is another object of the present invention to provide a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
analyzing the access object, and judging whether the output interface of the infrared camera adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing an instruction through a UDP receiving and processing module, and analyzing whether a packet sent to the device is analyzed according to an IP and an MAC address;
the high-speed data transmission system receives camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via the LVDS into 8-bit data; 16-bit data which is transmitted by a TLK2711 transceiver is analyzed to obtain effective digits;
analyzing a data transmission period tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into the 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, a packet transmission interval t, the number of segmentation packets as k, and determining the depth of a data cache 2 as M bytes;
writing data into a cache 2, wherein the writing clock of the cache 2 is 125 MHz;
reading out the data in the cache 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP (user Datagram protocol) transmission module;
the upper computer acquires data for analysis and processing.
Another object of the present invention is to provide an information data processing terminal for implementing the high-speed data transmission method.
Another object of the present invention is to provide a high speed data transmission system to which the high speed data transmission method is applied, the high speed data transmission system including: the system comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiving module;
the TLK2711/LVDS interface conversion module is used for receiving and converting an LVDS interface and a TLK2711 high-speed transceiver interface, converting an LVDS input signal into a single-ended signal and transmitting the single-ended signal to the FPGA data conversion module, and deserializing received high-speed serial data and converting the deserialized high-speed serial data into a parallel signal and transmitting the parallel signal to the FPGA data conversion module by the TLK2711 high-speed transceiver interface;
the FPGA data conversion module is used for arranging data according to a certain format and protocol and sending the data to the Ethernet receiving and sending module for data transmission;
the Ethernet receiving and transmitting module adopts UDP protocol and is used for receiving the downlink data of the computer through the network port and transmitting the uplink network data.
Further, the TLK2711/LVDS interface conversion module includes a first LVDS interface conversion circuit, a second LVDS interface conversion circuit, a first TLK2711 interface conversion circuit, and a second TLK2711 interface conversion circuit;
LVDS input signals are converted into single-ended signals and sent to the FPGA data conversion module, and the LVDS input signals are divided into 4 lines including enable lines, clocks and data; wherein the data line is 2 bits;
the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the deserialized data into 16-bit parallel signals which are sent to the FPGA data conversion module.
Furthermore, the FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data gating module, a data caching module, a UDP sending module and a UDP receiving and processing module;
the LVDS data deserializing module is used for converting a serial input signal into data with 8 bit width and sending the data to the cache module for storage;
the parallel data processing module is used for carrying out format conversion on the 16-bit data received and converted by the TLK2711 transceiver, converting effective data bits in the 16-bit data into 8-bit data according to a protocol, and sending the 8-bit data to the cache module for storage;
the UDP sending module is used for realizing a UDP sending protocol, controlling the cache to read and sending out the data according to a preset packet;
and the UDP receiving and processing module is used for realizing the receiving function of the UDP packet sent by the computer, analyzing the packet and decoding and processing the instruction in the packet.
Further, the instruction comprises access selection and network port switching;
the access selection is used for selecting whether the access data source is LVDS or TLK2711 transceiver circuit;
and the network port switching is used for selecting which network port interface the uplink data port is.
Furthermore, the ethernet transceiving module comprises an RJ45 network interface and an RTL8211 transceiver, and the RTL8211 transceiver is connected to the RJ45 network interface through a line.
By combining all the technical schemes, the invention has the advantages and positive effects that: the high-speed data transmission system provided by the invention converts non-standard interface data (LVDS interface and TLK 2711-based high-speed transceiver interface) output by the space infrared camera into standard protocol data by utilizing a mature standard Ethernet interface, exerts the high-speed data transmission function of the existing computer interface and realizes long-distance high-speed data transmission. The high-speed data transmission system provided by the invention has the characteristics of small volume, low cost, high stability, long transmission distance, high transmission code rate and strong universality, and can be used in ground test equipment of a space infrared camera.
The invention converts the nonstandard data transmission interface of the space infrared camera into a standard gigabit Ethernet interface through data conversion. The invention can meet the requirements of data conversion and long-distance transmission, reduce the research and development work of a customized ground data receiving device, improve the universality of ground test equipment, reduce the development cost of the ground equipment and also improve the stability of the ground test equipment.
After the method is adopted, the high-speed transmission of the system data of the infrared camera is realized, and the actual measurement shows that the peak transmission rate of each channel is measured to be about 640Mbps by using the 4-channel transmission device of the method, the channel switching is carried out through an instruction, the transmission stability is high, and the transmission requirement of the infrared camera can be met. The device can be conveniently expanded, and the two computers can carry out data acquisition in parallel.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a high-speed data transmission method according to an embodiment of the present invention.
FIG. 2 is a block diagram of a high-speed data transmission system according to an embodiment of the present invention;
in the figure: 1. TLK2711/LVDS interface conversion module; 2. a first conversion circuit of the LVDS interface; 3. a second conversion circuit of the LVDS interface; 4. the TLK2711 interface is connected with a first conversion circuit; 5. the TLK2711 interface second conversion circuit; 6. an FPGA data conversion module; 7. an LVDS data deserializing module; 8. a parallel data processing module; 9. a data strobe module; 10. a data caching module; 11. a UDP sending module; 12. a UDP receiving and processing module; 13. an Ethernet transceiver module; 14. an RTL8211 transceiver; 15. an RJ45 network interface; 16. and (4) an upper computer.
Furthermore, the first conversion circuit of the LVDS interface and the second conversion circuit of the LVDS interface are in parallel relation and are used for expanding the scale of a channel; the first conversion circuit of the TLK2711 interface and the second conversion circuit of the TLK2711 interface are in parallel relation and are expansion of channel scale.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In view of the problems in the prior art, the present invention provides a high-speed data transmission method, system, storage medium, and information data processing terminal, and the present invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the high-speed data transmission method provided in the embodiment of the present invention includes the following steps:
s101, analyzing an access object, and judging whether an output interface of the infrared camera adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
s102, receiving gigabit Ethernet interface data, analyzing an instruction through a UDP receiving and processing module, and analyzing whether a packet sent to the device is analyzed according to an IP and an MAC address;
s103, the high-speed data transmission system receives the camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
s104, converting the serial data received by LVDS into 8-bit data; 16-bit data which is transmitted by a TLK2711 transceiver is analyzed to obtain effective digits;
s105, analyzing a data transmission period tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining a packet transmission interval t, determining the number of segmentation packets as k, and determining the depth of a data cache 2 as M bytes;
s106, writing the data into the cache 2, wherein the writing clock of the cache 2 is 125 MHz;
s107, reading out the data in the cache 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP (user Datagram protocol) transmission module;
and S108, the upper computer acquires data for analysis and processing.
Those skilled in the art can also implement the high-speed data transmission method provided by the present invention by using other steps, and the high-speed data transmission method provided by the present invention in fig. 1 is only one specific embodiment.
As shown in fig. 2, the high-speed data transmission system provided in the embodiment of the present invention includes: the system comprises a TLK2711/LVDS interface conversion module 1, a LVDS interface first conversion circuit 2, a LVDS interface second conversion circuit 3, a TLK2711 interface first conversion circuit 4, a TLK2711 interface second conversion circuit 5, an FPGA data conversion module 6, an LVDS data deserializing module 7, a parallel data processing module 8, a data gating module 9, a data caching module 10, a UDP sending module 11, a UDP receiving and processing module 12, an Ethernet transceiving module 13, an RTL8211 transceiver 14, an RJ45 network interface 15 and an upper computer 16.
The technical solution of the present invention is further described with reference to the following examples.
The high-speed data transmission method provided by the embodiment of the invention comprises the following steps:
s1, analyzing whether the access object and the output interface of the infrared camera adopt the interface of the TLK2711 high-speed transceiver, wherein the peak transmission data rate of a single channel is about 500Mbps, the data transmission period in the data transmission protocol is 500us, and the total number of the channels is 4; the data output interface is connected to the high-speed data transmission system through a serial cable, and a TLK2711 transceiver on the receiving device is set to receive;
s2, receiving gigabit Ethernet interface data, analyzing the instruction through a UDP receiving and processing module, setting the IP address of the device to be 192.168.0.2, setting the MAC address to be 6 bytes, further analyzing the instruction according to an instruction code table, switching a data source to be from a TLK2711 transceiver according to the instruction, and selecting 2 network ports;
s3, the high-speed data transmission system receives the camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
s4, the FPGA data conversion module adopts an FPGA based on XC6S45 series to convert serial data received by LVDS into 8-bit data; analyzing the valid digit of 16-bit data of a TLK2711 transceiver, wherein the valid digit is 10-bit valid, solving the least common multiple I of the digit q and 8, and then opening up a cache 1, wherein a write clock CLKW of the cache 1 meets the following formula:
q/CLKw is I/(8 × 125M), and finally the write word clock is determined to be 100 MHz;
s5, analyzing a data transmission period tg, converting data to be transmitted in each period into 10000 bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, a packet transmission interval t, the number of segmentation packets as k, determining the depth of a data cache 2 as M bytes, and the determination method comprises the following steps:
1) the framing transmission time must be less than the data transmission interval, where P +42 contains 42 bytes of the framing overhead;
((P+42)/CLKf+t)×k<tg
2) each packet of valid data P must not exceed 1500 bytes;
3) number of split packets: k is (L/P), and k is rounded and added with 1;
4) the packet transmission interval t is larger than 96 125MHz periods according to the requirement of a UDP protocol;
5) data cache depth: m is more than or equal to L bytes;
the determined data are: p takes 1000 bytes, packet transmission interval t takes 6us, the number k of divided packets is 10, and buffer memory M is 16384 bytes;
s6, writing the data into the cache 2, wherein the writing clock of the cache 2 is 125 MHz;
and S7, reading the data in the buffer 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP transmission module.
And S8, the upper computer acquires data for analysis and processing.
The receiving device is used for a receiving device of space infrared camera ground test equipment and comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiving module. The TLK2711/LVDS interface conversion module is used for receiving and converting an LVDS interface and a TLK2711 high-speed transceiver interface, converting an LVDS input signal into a single-ended signal and transmitting the single-ended signal to the FPGA data conversion module, and deserializing received high-speed serial data and converting the deserialized high-speed serial data into a parallel signal and transmitting the parallel signal to the FPGA data conversion module by the TLK2711 high-speed transceiver interface. The FPGA data conversion module is used for arranging data according to a certain format and protocol and sending the data to the Ethernet receiving and sending module for data transmission. The Ethernet transceiver module adopts UDP protocol, and is used for receiving the downlink data of the computer through the network port and sending the uplink network data. By adopting the method, the requirements of data conversion and long-distance transmission can be effectively met, the research and development work of a customized ground data receiving device is reduced, the universality of ground test equipment is improved, the development cost of the ground test equipment is reduced, and the stability of the ground test equipment is also improved.
The TLK2711/LVDS interface conversion module comprises an LVDS interface first conversion circuit, an LVDS interface second conversion circuit, a TLK2711 interface first conversion circuit and a TLK2711 interface second conversion circuit, wherein LVDS input signals are converted into single-ended signals and sent to the FPGA data conversion module, the LVDS input signals are divided into 4 lines including enable, clock and data, and the data lines are 2 bits; the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the deserialized data into 16-bit parallel signals which are sent to the FPGA data conversion module.
The FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data gating module, a data caching module, a UDP sending module and a UDP receiving and processing module. The LVDS data deserializing module is used for converting a serial input signal into data with 8 bit width and sending the data to the cache module for storage, the parallel data processing module is used for carrying out format conversion on the 16-bit data received and converted by the TLK2711 transceiver, converting effective data bits (for example, 10 bits) in the 16-bit data into 8-bit data according to a protocol and sending the effective data bits to the cache module for storage; the UDP sending module realizes a UDP sending protocol, controls the cache to read and sends out the data according to a preset packet; the UDP receiving and processing module realizes the receiving function of the UDP packet sent by the computer, analyzes the packet and decodes and processes the instruction in the packet.
The instruction of the invention comprises an access selection for selecting whether an access data source is LVDS or a TLK2711 transceiver circuit; the method comprises network port switching for selecting which network port interface the uplink data port is.
The Ethernet transceiving module comprises an RJ45 network interface and an RTL8211 transceiver, wherein the RTL8211 transceiver is connected with the RJ45 network interface through a line.
The invention provides a high-speed data transmission method and a high-speed data transmission device, which are used in ground test equipment of a space infrared camera. Because the data interface of the space infrared camera usually adopts LVDS or a high-speed serial converter based on TLK2711, data can not be directly acquired by a computer and needs to be switched, the traditional method is through a data acquisition card, because the driving problem usually has poor long-term stability, and a switching box and the computer using the acquisition card must be placed together, so the method is not suitable in many application occasions, and the computer without the acquisition card can not acquire data. The method can meet the requirements of data conversion and long-distance transmission, reduce the research and development work of a customized ground data receiving device, improve the universality of ground test equipment, reduce the development cost of the ground equipment, fully utilize the existing network interface of a computer and also improve the stability of the ground test equipment. The invention effectively overcomes the defects of large size, high cost, strong specificity, difficult long-distance transmission and the like of the traditional data acquisition equipment.
Compared with the prior art, the technical scheme adopted by the invention has the advantages that: the non-standard interface data output by the space infrared camera is converted into standard protocol data by utilizing a mature standard Ethernet interface, the high-speed data transmission function of the existing computer interface is exerted, and long-distance high-speed data transmission is realized. The method has the characteristics of small volume, low cost, high stability, long transmission distance, high transmission code rate and strong universality.
After the method is adopted, the following two space cameras are tested, and the actual measurement shows that the method realizes the high-speed transmission of the data of the infrared camera system.
The output of the visible-infrared double-spectrum camera is an LVDS interface, two groups of LVDS are used for transmitting data of a visible channel and an infrared channel respectively, each group of 4 lines (clock, enable and data 2 lines) are used, the transmission clock is 55MHz, the total peak transmission code rate is 220Mbps, the data transmission interface conversion is performed in a thermal vacuum test by applying the method, the data transmission interface conversion is performed by the device after the LVDS comes out of the vacuum tank interface, then the Ethernet data transmission is performed by adopting a 15-meter cable, the data are analyzed and processed in a control room, the data transmission stability is high in a large test process, and the transmission requirement of the camera can be met.
The output of middle and short wave dual-waveband infrared camera is TLK2711 interface, through two TLK2711 transmission medium wave channel, short wave channel data respectively, and the effective data peak transmission rate of every passageway is about 640Mbps, can carry out the data that the passageway was selected in the switching receipt of passageway through the instruction when ground test, and transmission stability is high, can satisfy infrared camera's transmission demand. The device can be conveniently expanded, and two computers can parallelly acquire double-channel data.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.)). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A high-speed data transmission method, characterized in that the high-speed data transmission method comprises:
analyzing the access object, and judging whether the output interface of the infrared camera adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing an instruction through a UDP receiving and processing module, and analyzing whether a packet sent to the device is analyzed according to an IP and an MAC address;
the high-speed data transmission system receives camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via the LVDS into 8-bit data; 16-bit data which is transmitted by a TLK2711 transceiver is analyzed to obtain effective digits;
analyzing a data transmission period tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into the 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, a packet transmission interval t, the number of segmentation packets as k, and determining the depth of a data cache 2 as M bytes;
writing data into a cache 2, wherein the writing clock of the cache 2 is 125 MHz;
reading out the data in the cache 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP (user Datagram protocol) transmission module;
the upper computer acquires data for analysis and processing.
2. The high-speed data transmission method according to claim 1, wherein the peak transmission data rate of a single channel is analyzed if the interface is employed, whether the effective data rate of each channel is within the range of the high-speed data transmission system does not exceed 0.8Gbps, a data transmission protocol is determined, a data transmission period tg is determined, and the total number of channels N is determined; and the data output interface is connected to the high-speed data transmission system through a serial cable.
3. The high-speed data transmission method according to claim 1, wherein after analyzing whether the packet is sent to the own device according to the IP and MAC addresses, if the packet is for the own device, further analyzing the instruction according to the instruction code table, switching the data source according to the instruction, and selecting the network port; wherein the data source is from an LVDS interface or a TLK2711 transceiver.
4. The high speed data transmission method of claim 1 wherein said analyzing the significand comprises: if the data is 16-bit valid, the data is directly split into 2 data of 8 bytes; if other bits are valid, such as 10 bits and 12 bits, the least common multiple I of the bit q and 8 is calculated, then a cache 1 is opened up, and the write clock CLKW of the cache 1 satisfies the following formula:
q/CLKw=I/(8×125M)。
5. the high speed data transmission method of claim 1, wherein the determining method comprises:
(1) the framing transmission time must be less than the data transmission interval, where P +42 contains 42 bytes of the framing overhead;
((P+42)/CLKf+t)×k<tg;
(2) each packet of valid data P must not exceed 1500 bytes;
(3) number of split packets: k is (L/P), and k is rounded and added with 1;
(4) the packet transmission interval t is larger than 96 125MHz periods according to the requirement of a UDP protocol;
(5) data cache depth: m is more than or equal to L bytes.
6. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
analyzing the access object, and judging whether the output interface of the infrared camera adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing an instruction through a UDP receiving and processing module, and analyzing whether a packet sent to the device is analyzed according to an IP and an MAC address;
the high-speed data transmission system receives camera data, and the converted data is sent to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via the LVDS into 8-bit data; 16-bit data which is transmitted by a TLK2711 transceiver is analyzed to obtain effective digits;
analyzing a data transmission period tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data are converted into the 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, a packet transmission interval t, the number of segmentation packets as k, and determining the depth of a data cache 2 as M bytes;
writing data into a cache 2, wherein the writing clock of the cache 2 is 125 MHz;
reading out the data in the cache 2, wherein the reading frequency is 125MHz, and the data is transmitted to an Ethernet interface through a UDP (user Datagram protocol) transmission module;
the upper computer acquires data for analysis and processing.
7. An information data processing terminal, characterized in that the information data processing terminal is used for realizing the high-speed data transmission method of any one of claims 1 to 5.
8. A high-speed data transmission system to which the high-speed data transmission method according to any one of claims 1 to 5 is applied, characterized by comprising: the system comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiving module;
the TLK2711/LVDS interface conversion module is used for receiving and converting an LVDS interface and a TLK2711 high-speed transceiver interface, converting an LVDS input signal into a single-ended signal and transmitting the single-ended signal to the FPGA data conversion module, and deserializing received high-speed serial data and converting the deserialized high-speed serial data into a parallel signal and transmitting the parallel signal to the FPGA data conversion module by the TLK2711 high-speed transceiver interface;
the FPGA data conversion module is used for arranging data according to a certain format and protocol and sending the data to the Ethernet receiving and sending module for data transmission;
the Ethernet receiving and transmitting module adopts UDP protocol and is used for receiving the downlink data of the computer through the network port and transmitting the uplink network data.
9. The high-speed data transmission system according to claim 8, wherein the TLK2711/LVDS interface conversion module comprises a first conversion circuit of LVDS interface, a second conversion circuit of LVDS interface, a first conversion circuit of TLK2711 interface, and a second conversion circuit of TLK2711 interface;
LVDS input signals are converted into single-ended signals and sent to the FPGA data conversion module, and the LVDS input signals are divided into 4 lines including enable lines, clocks and data; wherein the data line is 2 bits;
the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the deserialized data into 16-bit parallel signals which are sent to the FPGA data conversion module.
10. The high-speed data transmission system according to claim 8, wherein the FPGA data conversion module includes an LVDS data deserializing module, a parallel data processing module, a data gating module, a data buffering module, a UDP sending module, and a UDP receiving and processing module;
the LVDS data deserializing module is used for converting a serial input signal into data with 8 bit width and sending the data to the cache module for storage;
the parallel data processing module is used for carrying out format conversion on the 16-bit data received and converted by the TLK2711 transceiver, converting effective data bits in the 16-bit data into 8-bit data according to a protocol, and sending the 8-bit data to the cache module for storage;
the UDP sending module is used for realizing a UDP sending protocol, controlling the cache to read and sending out the data according to a preset packet;
the UDP receiving and processing module is used for realizing the receiving function of the UDP packet sent by the computer, analyzing the packet and decoding and processing the instruction in the packet;
the instruction comprises access selection and network port switching;
the access selection is used for selecting whether the access data source is LVDS or TLK2711 transceiver circuit;
the network port switching is used for selecting which network port interface the uplink data port is;
the Ethernet transceiver module comprises an RJ45 network interface and an RTL8211 transceiver, and the RTL8211 transceiver is connected with the RJ45 network interface through a line.
CN202110387720.8A 2021-04-12 2021-04-12 High-speed data transmission method, system, storage medium and information data processing terminal Active CN113259318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110387720.8A CN113259318B (en) 2021-04-12 2021-04-12 High-speed data transmission method, system, storage medium and information data processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110387720.8A CN113259318B (en) 2021-04-12 2021-04-12 High-speed data transmission method, system, storage medium and information data processing terminal

Publications (2)

Publication Number Publication Date
CN113259318A true CN113259318A (en) 2021-08-13
CN113259318B CN113259318B (en) 2023-05-05

Family

ID=77220543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110387720.8A Active CN113259318B (en) 2021-04-12 2021-04-12 High-speed data transmission method, system, storage medium and information data processing terminal

Country Status (1)

Country Link
CN (1) CN113259318B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138063A (en) * 2021-10-29 2022-03-04 苏州浪潮智能科技有限公司 Transmission method and device for reducing connector signals based on CPLD (complex programmable logic device)
CN114416447A (en) * 2022-01-12 2022-04-29 中国科学院国家空间科学中心 Ground test system suitable for high-speed data acquisition and transmission of effective load
CN115357534A (en) * 2022-07-29 2022-11-18 中国科学院合肥物质科学研究院 High-speed multi-channel LVDS acquisition system and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110085036A1 (en) * 2009-10-13 2011-04-14 Shenzhen Infinova Limited High speed dome camera with optic-electric slip ring arrangement
CN103647913A (en) * 2013-12-24 2014-03-19 中国科学院半导体研究所 Field programmable gate array (FPGA) based multichannel high-speed image data acquisition and storage system
CN103678206A (en) * 2013-11-18 2014-03-26 航天恒星科技有限公司 Remote sensing data entry processing structure based on FPGA system
US20150026450A1 (en) * 2013-07-22 2015-01-22 International Business Machines Corporation Dynamic Data Dimensioning by Partial Reconfiguration of Single or Multiple Field-Programmable Gate Arrays Using Bootstraps
CN104539886A (en) * 2014-12-09 2015-04-22 中国科学院上海技术物理研究所 Infrared digital image acquisition and transmission system and method based on optical fiber communication
CN105117505A (en) * 2015-09-22 2015-12-02 江西飞尚科技有限公司 Eight-channel high-speed synchronous data collecting system and method
CN106095334A (en) * 2016-06-03 2016-11-09 江苏科技大学 A kind of high-speed data acquisition storage system based on FPGA
CN109491940A (en) * 2018-12-18 2019-03-19 中国科学院西安光学精密机械研究所 Conversion circuit and conversion method for TLK2711 transmission interface and USB3.0 transmission interface
CN209312015U (en) * 2018-12-18 2019-08-27 中国科学院西安光学精密机械研究所 Conversion circuit of TLK2711 transmission interface and USB3.0 transmission interface

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110085036A1 (en) * 2009-10-13 2011-04-14 Shenzhen Infinova Limited High speed dome camera with optic-electric slip ring arrangement
US20150026450A1 (en) * 2013-07-22 2015-01-22 International Business Machines Corporation Dynamic Data Dimensioning by Partial Reconfiguration of Single or Multiple Field-Programmable Gate Arrays Using Bootstraps
CN103678206A (en) * 2013-11-18 2014-03-26 航天恒星科技有限公司 Remote sensing data entry processing structure based on FPGA system
CN103647913A (en) * 2013-12-24 2014-03-19 中国科学院半导体研究所 Field programmable gate array (FPGA) based multichannel high-speed image data acquisition and storage system
CN104539886A (en) * 2014-12-09 2015-04-22 中国科学院上海技术物理研究所 Infrared digital image acquisition and transmission system and method based on optical fiber communication
CN105117505A (en) * 2015-09-22 2015-12-02 江西飞尚科技有限公司 Eight-channel high-speed synchronous data collecting system and method
CN106095334A (en) * 2016-06-03 2016-11-09 江苏科技大学 A kind of high-speed data acquisition storage system based on FPGA
CN109491940A (en) * 2018-12-18 2019-03-19 中国科学院西安光学精密机械研究所 Conversion circuit and conversion method for TLK2711 transmission interface and USB3.0 transmission interface
CN209312015U (en) * 2018-12-18 2019-08-27 中国科学院西安光学精密机械研究所 Conversion circuit of TLK2711 transmission interface and USB3.0 transmission interface

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138063A (en) * 2021-10-29 2022-03-04 苏州浪潮智能科技有限公司 Transmission method and device for reducing connector signals based on CPLD (complex programmable logic device)
CN114138063B (en) * 2021-10-29 2023-07-14 苏州浪潮智能科技有限公司 CPLD-based transmission method and device for reducing connector signals
CN114416447A (en) * 2022-01-12 2022-04-29 中国科学院国家空间科学中心 Ground test system suitable for high-speed data acquisition and transmission of effective load
CN115357534A (en) * 2022-07-29 2022-11-18 中国科学院合肥物质科学研究院 High-speed multi-channel LVDS acquisition system and storage medium
CN115357534B (en) * 2022-07-29 2024-04-09 中国科学院合肥物质科学研究院 High-speed multipath LVDS acquisition system and storage medium

Also Published As

Publication number Publication date
CN113259318B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN113259318A (en) High-speed data transmission method, system, storage medium, information data processing terminal
CN110704351A (en) Host equipment data transmission expansion method based on AXI bus
CN111050093B (en) Camera-link full-based embedded image storage and image processing system and method
CN102638649B (en) USB3.0 high-speed high-definition industrial camera
CN108712625B (en) Multichannel real-time high-definition image transmission system and transmission method
CN108345553A (en) Satellite-borne high-resolution imaging data transmission and acquisition system
CN108462620B (en) Gilbert-level SpaceWire bus system
CN104780019A (en) Method for storing optical fiber communication data
CN108667706B (en) Ethernet serial server with dynamically adjustable serial number and data transmission method thereof
CN113114590B (en) AS6802 synchronous frame transparent transmission system and method in TTE switch
CN112653638B (en) Device for switching routes of multiple paths of intermediate frequencies and baseband at high speed and communication method thereof
CN112492247A (en) Video display design method based on LVDS input
CN202394225U (en) High-speed data acquisition module based on peripheral component interconnect (PIC) bus
US9229841B2 (en) Systems and methods for detecting errors and recording actions on a bus
CN105718401A (en) Multiplexing method and system for converting multi-path SMII signal to one-path MII signal
CN211791821U (en) Satellite-borne video compression device for directly transmitting video data to ground
CN112214429B (en) Data transmission device and method based on SRIO
CN106776393A (en) A kind of serial data method of reseptance and device without interruption
CN209419713U (en) Satellite-borne short wave infrared signal processing circuit
CN113132648A (en) High-speed real-time video transmission method based on FPGA
CN219499433U (en) Video control equipment
CN216979752U (en) Data interface equipment
KR100259819B1 (en) Data transmission method and apparatus for vod server
CN110536512B (en) Data buffer device for multipath control, multipath LED control system and control method
CN217428141U (en) Network card, communication equipment and network security system

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