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

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

Info

Publication number
CN113259318B
CN113259318B CN202110387720.8A CN202110387720A CN113259318B CN 113259318 B CN113259318 B CN 113259318B CN 202110387720 A CN202110387720 A CN 202110387720A CN 113259318 B CN113259318 B CN 113259318B
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.)
Active
Application number
CN202110387720.8A
Other languages
Chinese (zh)
Other versions
CN113259318A (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 following steps: the device comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiver module; 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; the FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data strobe 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 and 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 system, a storage medium and an information data processing terminal.
Background
Currently, a core device of a modern infrared imaging system is a focal plane array (focal plane array FPA), and a linear array infrared detector and an area array infrared detector are commonly used. The camera is arranged on an airplane or a satellite and acquires remote sensing infrared data on the ground through push-broom imaging, swing-broom imaging or staring imaging. The information is usually obtained by imaging the target through a photodetector and sending the data after AD quantization to a back end for processing or post processing, the original data volume is generally huge, and the data rate is high.
Along with development of remote sensing technology, pursuit of high time resolution, high spatial resolution and high radiation resolution is related to a large amount of high-speed high-resolution AD (analog to digital) on a technical route, generally 14 bits and more, thus necessarily resulting in further increase of data quantity and further improvement of data rate of transmission and processing, the current typical imaging camera has reached the order of hundreds of Gbps on the front-end original code rate, and effective data output by a single spectrum after preprocessing is often between hundreds of Mbps and 1Gbps, and data acquisition is often carried out by adopting an LVDS interface or a TLK2711 coaxial high-frequency interface.
When the ground test is carried out, imaging data transmitted by a camera are firstly received, and various different infrared camera output data formats are often customized, cannot be directly transmitted to a computer for acquisition and need to be converted 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 USB2.0, USB3.0 or PCIE interfaces, but the interfaces often have no long-distance transmission capability, and are difficult to apply to many occasions needing long-distance operation or acquisition. On the other hand, the PCIE interface often needs to customize an acquisition card, whether a general acquisition card or a special acquisition card, and because the driver is often developed by a manufacturer or a third party, the stability of long-time operation is often poor. And the problems can be effectively solved by adopting the gigabit Ethernet interface through the conversion circuit. Accordingly, there is a need for a high-speed data transmission system based on a switching circuit and a gigabit ethernet interface.
Through the above analysis, the problems and defects existing in the prior art are as follows:
(1) The traditional camera ground data acquisition equipment has the defects of huge size, high cost, strong specialization, higher data rate, difficult long-distance transmission and the like.
(2) When ground test is carried out, various different output data formats of the infrared camera are often customized, and cannot be directly sent to a computer for collection, and conversion is needed 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 have no long-distance transmission capability, and the application of the interfaces in many occasions needing long-distance operation or acquisition is difficult.
(4) The adoption of PCIE interfaces often requires custom acquisition cards, whether universal or proprietary, because the drivers are often developed by vendors or third parties, the stability of long-term operation is poor.
The difficulty of solving the problems and the defects is as follows:
different space cameras have different solutions because of the differences in the form of data transmission interfaces and the data formats, special conversion circuits need to be developed, long-distance high-speed data stability transmission problems exist, and the solutions are required to meet the requirements of high-speed access and transmission, long-time stable operation and certain universality. The high-speed signal is easy to attenuate in long-distance transmission, so that the signal is unstable, the development of a special acquisition board card is limited by the installation space of a computer, and the problem of driving stability exists, so that the development of a high-speed data transmission method and device with universality is difficult, and the ground test application requirement of a space camera is met.
The meaning of solving the problems and the defects is as follows:
when ground test is carried out, imaging data transmitted by a space camera is required to develop a special switching circuit due to the inconsistency of interfaces of the space cameras at home and abroad, and the special switching circuit is required to work in occasions of long-distance transmission, such as large-scale vacuum test and external field imaging test, the data transmission distance in the occasions often needs tens of meters or even tens of meters, and the continuous working time often reaches more than ten days.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a high-speed data transmission method, a system, a storage medium and an information data processing terminal, in particular relates to a space infrared camera ground test high-speed data transmission method, a system, a storage medium and an information data processing terminal, and aims to solve the defects of huge size, high cost, strong specificity, difficult long-distance transmission and the like of traditional camera ground data acquisition equipment.
The invention is realized in such a way that a high-speed data transmission method comprises the following steps:
analyzing an access object, and judging whether an infrared camera output interface 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;
step two, receiving gigabit Ethernet interface data, analyzing the instruction through a UDP receiving and processing module, and analyzing whether to send the packet to the device according to the IP and MAC addresses; the step is used for analyzing the instruction frame, and gating and setting the channel;
step three, the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module; the step of receiving serial differential input data is a precondition of correct conversion of data format;
step four, serial data received through LVDS are converted into 8-bit data; converting 16-bit data passing through the TLK2711 transceiver according to the significance bit; the step is used for converting serial data of LVDS interface into parallel data, converting data received by TLK2711 transceiver into 8 bit byte, and calculating clock frequency required by smooth code rate;
analyzing data transmission periods tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data is converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k at a packet transmission interval t, and determining the depth of a data buffer 2 as M bytes; the step is used for frame format organization and smoothing the transmission code rate;
step six, writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz; the step is used for solving the problem of crossing clock domains, improving the transmission stability and matching the transmission requirement of the gigabit network;
step seven, reading out the data of the buffer memory 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module; the method is used for realizing the UDP protocol, and pre-stored data is sent according to a standard UDP protocol group frame.
And step eight, the upper computer acquires data for analysis and processing.
Further, in the first step, if the interface is adopted, analyzing whether the peak transmission data rate of a single channel is 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, wherein the effective data rate of each channel is not more than 0.8 Gbps; the data output interface is connected to the high-speed data transmission system through a serial cable.
In the second step, according to the IP and MAC address, analyzing whether the packet is sent to the device, if the packet is the packet for 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 the fourth step, the analyzing the number of significant bits includes:
if the bit is 16-bit valid, the bit is directly split into 2 8-byte data; if other bits, such as 10 bits and 12 bits, are valid, the least common multiple I of the bits q and 8 is calculated, then a cache 1 is opened up, and the writing clock CLKw of the cache 1 meets the following formula:
q/CLKw=I/(8×125M)。
further, in the fifth step, the determining method includes:
(1) The framing transmission time must be less than the data transmission interval, where p+42 contains 42 bytes of framing overhead;
((P+42)/CLKf+t)×k<tg;
(2) The valid data P of each packet must not exceed 1500 bytes;
(3) Dividing the number of packets: k= (L/P), k is rounded by 1;
(4) The packet transmission interval t is larger than 96 125MHz periods according to UDP protocol;
(5) Data buffer depth: m is greater than or equal to L bytes.
Another object of the present invention is 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 an access object, and judging whether an infrared camera output interface adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing instructions through a UDP receiving and processing module, and analyzing whether packets are sent to the device or not according to IP and MAC addresses;
the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via LVDS into 8-bit data; 16 bits of data passing through the TLK2711 transceiver and analyzing the number of valid bits;
analyzing data transmission periods tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data is converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k at a packet transmission interval t, and determining the depth of a data buffer 2 as M bytes;
writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz;
reading out the data of the buffer memory 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module;
and 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 comprising: the device comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiver module;
the TLK2711/LVDS interface conversion module is used for receiving and converting the LVDS interface and the TLK2711 high-speed transceiver interface, converting LVDS input signals into single-ended signals and sending the single-ended signals to the FPGA data conversion module, and the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the received high-speed serial data into parallel signals and sending the parallel signals to the FPGA data conversion module;
the FPGA data conversion module is used for arranging data according to a certain format and protocol, and sending the data to the Ethernet transceiver module for data transmission;
and the Ethernet receiving and transmitting module adopts a 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 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;
the 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 of enabling, clock and data; wherein the data line is 2 bits;
the TLK2711 high speed transceiver interface deserializes the received high speed serial data, converts it into 16 bit parallel signals and sends it to the FPGA data conversion module.
Further, the FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data strobe module, a data buffer 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 8-bit-wide data and sending the data to the caching 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 valid data bits in the 16-bit data into 8-bit data according to a protocol, and sending the 8-bit data to the caching module for storage;
the UDP sending module is used for realizing UDP sending protocol, controlling cache reading and sending out 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;
an access selection, which is used for selecting whether the access data source is LVDS or a TLK2711 transceiver circuit;
and the network port switching is used for selecting which network port interface the uplink data port is, and the like.
Further, 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 circuit.
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 utilizes the mature standard Ethernet interface to convert the nonstandard interface data (LVDS interface and high-speed transceiver interface based on TLK 2711) output by the space infrared camera into standard protocol data, plays 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 on customized ground data receiving devices, improve the universality of ground test equipment, reduce the development cost of the ground test equipment and improve the stability of the ground test equipment.
After the invention is adopted, the high-speed transmission of the system data of the infrared camera is realized, and the actual measurement shows that the 4-channel transmission device applying the method has the peak transmission rate of about 640Mbps in each channel, and the channel switching is carried out by the instruction, so that the transmission stability is high, and the transmission requirement of the infrared camera can be met. The device can be conveniently expanded, and two computers can be used for data acquisition in parallel.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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. a TLK2711/LVDS interface conversion module; 2. the LVDS interface first conversion circuit; 3. a LVDS interface second conversion circuit; 4. the TLK2711 interface first conversion circuit; 5. the TLK2711 interface second conversion circuit; 6. the FPGA data conversion module; 7. 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 an upper computer.
Furthermore, the first converting circuit of the LVDS interface and the second converting circuit of the LVDS interface are in parallel relation, so that the channel scale is expanded; the TLK2711 interface first conversion circuit and the TLK2711 interface second conversion circuit are in parallel relationship, and are used for expanding the channel scale.
Detailed Description
The present invention will be described in further detail with reference to the following examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In view of the problems existing in the prior art, the present invention provides a high-speed data transmission method, a system, a storage medium, and an 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 by the embodiment of the invention includes the following steps:
s101, analyzing an access object, and judging whether an infrared camera output interface 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 sent or not according to an IP and MAC address;
s103, the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
s104, converting serial data received through LVDS into 8-bit data; 16 bits of data passing through the TLK2711 transceiver and analyzing the number of valid bits;
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 converting the data into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k at a packet transmission interval t, and determining the depth of a data buffer 2 as M bytes;
s106, writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz;
s107, reading out the data of the buffer 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module;
s108, the upper computer acquires data for analysis and processing.
Those skilled in the art may implement other steps in the high-speed data transmission method provided by the present invention, and the high-speed data transmission method provided by the present invention in fig. 1 is merely a specific embodiment.
As shown in fig. 2, a high-speed data transmission system provided by an embodiment of the present invention includes: the device comprises a TLK2711/LVDS interface conversion module 1, an LVDS interface first conversion circuit 2, an 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 strobe module 9, a data buffer module 10, a UDP transmission module 11, a UDP receiving and processing module 12, an Ethernet transceiver module 13, an RTL8211 transceiver 14, an RJ45 network interface 15 and a host computer 16.
The technical scheme of the present invention is further described below with reference to examples.
The high-speed data transmission method provided by the embodiment of the invention comprises the following steps:
s1, analyzing an access object, and judging whether an infrared camera output interface adopts an interface of a TLK2711 high-speed transceiver, wherein the peak transmission data rate of a single channel is about 500Mbps, the data transmission period in a data transmission protocol is 500us, and the total number of 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 192.168.0.2, setting the MAC address to 6 bytes by itself, further analyzing the instruction according to an instruction code table, switching data sources according to the instruction to be from a TLK2711 transceiver, and selecting network ports, wherein the number of the network ports is 2;
s3, the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
s4, an FPGA data conversion module adopts an FPGA based on an XC6S45 series to convert serial data received through LVDS into 8-bit data; the 16-bit data through the TLK2711 transceiver is analyzed, the significant bit number is 10 bits valid, the least common multiple I of the digits q and 8 is obtained, then a cache 1 is opened, and the writing clock CLKw of the cache 1 meets the following formula:
q/clkw=i/(8×125M), the write word clock is finally determined to be 100MHz;
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 converting the data into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k, and determining the depth of a data buffer 2 as M bytes, wherein the determining 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 framing overhead;
((P+42)/CLKf+t)×k<tg
2) The valid data P of each packet must not exceed 1500 bytes;
3) Dividing the number of packets: k= (L/P), k is rounded by 1;
4) The packet transmission interval t is larger than 96 125MHz periods according to UDP protocol;
5) Data buffer depth: m is more than or equal to L bytes;
the determined data are: p takes 1000 bytes, the packet transmission interval t takes 6us, the number k of divided packets is 10, and the buffer memory M is 16384 bytes;
s6, writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz;
and S7, reading out the data of the buffer memory 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module.
S8, the upper computer acquires data for analysis and processing.
The invention is used in the receiving device of the space infrared camera ground test equipment, which comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet receiving and transmitting module. The TLK2711/LVDS interface conversion module is used for receiving and converting the LVDS interface and the TLK2711 high-speed transceiver interface, converting LVDS input signals into single-ended signals and sending the single-ended signals to the FPGA data conversion module, and the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the received high-speed serial data into parallel signals and sending the parallel signals to the FPGA data conversion module. The FPGA data conversion module is used for arranging the data according to a certain format and protocol, and sending the data to the Ethernet receiving-transmitting module for data transmission. The Ethernet transceiver module adopts UDP protocol, which is used for receiving the downlink data of the computer through the network port and transmitting the uplink network data. The method can effectively solve the problems that the method can meet the requirements of data conversion and long-distance transmission, reduces the research and development work on customized ground data receiving devices, improves the universality of ground test equipment, reduces the development cost of the ground test equipment and also improves the stability of the ground test equipment.
The TLK2711/LVDS interface conversion module comprises an LVDS interface first conversion circuit, an LVDS interface second conversion circuit, an TLK2711 interface first conversion circuit and an 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 of enabling, clock and data, and the data lines are 2 bits; the TLK2711 high speed transceiver interface deserializes the received high speed serial data, converts it into 16 bit parallel signals and sends it to the FPGA data conversion module.
The FPGA data conversion module comprises an LVDS data deserializing module, a parallel data processing module, a data strobe module, a data buffer 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 8-bit wide data, sending the 8-bit wide data to the caching module for storage, converting the 16-bit data received and converted by the TLK2711 transceiver into format conversion by the parallel data processing module, converting valid data bits (for example, 10 bits) in the 16-bit data into 8-bit data according to a protocol, and sending the 8-bit data to the caching module for storage; the UDP transmission module realizes a UDP transmission protocol, controls cache reading and transmits 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, a transmission control module and a control module, wherein the access selection is used for selecting whether a data source is LVDS or a TLK2711 transceiver circuit; including network port switching for selecting which network port interface the upstream data port is, etc.
The Ethernet transceiver module comprises an RJ45 network interface and an RTL8211 transceiver, wherein the RTL8211 transceiver is connected with the RJ45 network interface through a circuit.
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 often adopts an LVDS or a high-speed serial converter based on the TLK2711, data cannot be directly acquired by a computer and needs to be transferred, the traditional method is that the data acquisition card is adopted, the driving problem often has poor long-term stability, the transfer box and the computer using the acquisition card must be placed together, the application occasions are unsuitable, and the computer without the acquisition card cannot acquire the data. The method can meet the requirements of data conversion and long-distance transmission, reduces the research and development work on customized ground data receiving devices, improves the universality of ground test equipment, reduces the development cost of the ground equipment, fully utilizes the existing network interfaces of computers, and also improves the stability of the ground test equipment. The invention effectively solves the defects of huge traditional data acquisition equipment, high cost, strong specificity, difficult long-distance transmission and the like.
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 using 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 infrared camera system data.
The visible infrared double-spectrum camera outputs an LVDS interface, two groups of LVDS are used for transmitting visible channel data and infrared channel data respectively, each group of 4 lines (clock, enabling data and 2 lines) is used for transmitting 55MHz, the total peak transmission code rate is 220Mbps, the method is used for carrying out data transmission interface conversion in a thermal vacuum test, the LVDS is carried out from a vacuum tank interface and then carries out data transmission interface conversion through the device, then 15 meters of cables are used for carrying out Ethernet data transmission, data analysis and processing are carried out 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 the medium-short wave dual-band infrared camera is a TLK2711 interface, the medium-wave channel and short-wave channel data are transmitted through two TLK2711 respectively, the effective data peak transmission rate of each channel is about 640Mbps, the channel switching can be carried out through instructions to receive the data of the selected channel during ground test, the transmission stability is high, and the transmission requirement of the infrared camera can be met. The device can be conveniently expanded, and two computers can be used for carrying out two-channel data acquisition in parallel.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When used in whole or in part, is implemented in the form of a computer program product comprising one or more computer instructions. When loaded or executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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)), etc.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the invention is not limited thereto, but any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention will be apparent to those skilled in the art within the scope of the present invention.

Claims (7)

1. A high-speed data transmission method, characterized in that the high-speed data transmission method comprises:
analyzing an access object, and judging whether an infrared camera output interface adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing instructions through a UDP receiving and processing module, and analyzing whether packets are sent to the device or not according to IP and MAC addresses;
the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via LVDS into 8-bit data; converting 16-bit data passing through the TLK2711 transceiver according to the significance number, and analyzing the significance number;
analyzing data transmission periods tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data is converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k at a packet transmission interval t, and determining the depth of a data buffer 2 as M bytes;
writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz;
reading out the data of the buffer memory 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module;
the upper computer acquires data for analysis and processing;
if LVDS or an interface based on a TLK2711 high-speed transceiver is adopted, analyzing the peak transmission data rate of a single channel, determining a data transmission protocol, determining a data transmission period tg and determining the total number N of channels if the effective data rate of each channel is not more than 0.8Gbps in the range of the high-speed data transmission system; the data output interface is connected to the high-speed data transmission system through a serial cable;
after analyzing whether the packet is sent to the device according to the IP and the MAC address, if the packet is the packet for 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;
the analyzing the number of significant bits includes: if the bit is 16-bit valid, the bit is directly split into 2 8-byte data; if the number is other, the least common multiple I of the numbers q and 8 is calculated, then a cache 1 is opened up, and the writing clock CLKw of the cache 1 meets the following formula:
q/CLKw=I/(8×125M)。
2. the high-speed data transmission method according to claim 1, wherein the high-speed data transmission method comprises:
(1) The framing transmission time must be less than the data transmission interval, where p+42 contains 42 bytes of framing overhead;
((P+42)/CLKf+t)×k<tg;
(2) The valid data P of each packet must not exceed 1500 bytes;
(3) Dividing the number of packets: k= (L/P), k is rounded by 1;
(4) The packet transmission interval t is larger than 96 125MHz periods according to UDP protocol;
(5) Data buffer depth: m is greater than or equal to L bytes.
3. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
analyzing an access object, and judging whether an infrared camera output interface adopts LVDS or an interface based on a TLK2711 high-speed transceiver;
receiving gigabit Ethernet interface data, analyzing instructions through a UDP receiving and processing module, and analyzing whether packets are sent to the device or not according to IP and MAC addresses;
the high-speed data transmission system receives camera data, and sends the converted data to the FPGA data conversion module through the TLK2711/LVDS interface conversion module;
converting serial data received via LVDS into 8-bit data; converting 16-bit data passing through the TLK2711 transceiver according to the significance number, and analyzing the significance number;
analyzing data transmission periods tg, converting data to be transmitted in each period into L bytes according to 8 bits, determining a transmission clock CLKf after the data is converted into 8 bits, determining the size of an IP packet of a data segmentation group as P bytes, determining the number of segmentation packets as k at a packet transmission interval t, and determining the depth of a data buffer 2 as M bytes;
writing data into the cache 2, wherein the writing clock of the cache 2 is 125MHz;
reading out the data of the buffer memory 2, wherein the reading frequency is 125MHz, and sending the data to an Ethernet interface through a UDP sending module;
and the upper computer acquires data for analysis and processing.
4. An information data processing terminal for implementing the high-speed data transmission method according to any one of claims 1 to 2.
5. A high-speed data transmission system applying the high-speed data transmission method according to any one of claims 1 to 2, characterized in that the high-speed data transmission system comprises: the device comprises a TLK2711/LVDS interface conversion module, an FPGA data conversion module and an Ethernet transceiver module;
the TLK2711/LVDS interface conversion module is used for receiving and converting the LVDS interface and the TLK2711 high-speed transceiver interface, converting LVDS input signals into single-ended signals and sending the single-ended signals to the FPGA data conversion module, and the TLK2711 high-speed transceiver interface deserializes the received high-speed serial data and converts the received high-speed serial data into parallel signals and sending the parallel signals to the FPGA data conversion module;
the FPGA data conversion module is used for arranging data according to formats and protocols and sending the data to the Ethernet transceiver module for data transmission;
and the Ethernet receiving and transmitting module adopts a UDP protocol and is used for receiving the downlink data of the computer through the network port and transmitting the uplink network data.
6. The high-speed data transmission system according to claim 5, wherein the TLK2711/LVDS interface conversion module includes an LVDS interface first conversion circuit, an LVDS interface second conversion circuit, and a TLK2711 interface first conversion circuit, a TLK2711 interface second conversion circuit;
the 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 of enabling, clock and data; wherein the data line is 2 lines;
the TLK2711 high speed transceiver interface deserializes the received high speed serial data, converts it into 16 bit parallel signals and sends it to the FPGA data conversion module.
7. The high-speed data transmission system according to claim 5, wherein the FPGA data conversion module comprises an LVDS data deserialization module, a parallel data processing module, a data strobe module, a data buffer module, a UDP transmission module, a UDP reception and processing module;
the LVDS data deserializing module is used for converting a serial input signal into 8-bit-wide data and sending the data to the caching 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 valid data bits in the 16-bit data into 8-bit data according to a protocol, and sending the 8-bit data to the caching module for storage;
the UDP sending module is used for realizing UDP sending protocol, controlling cache reading and sending out 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;
an access selection, which is used for selecting whether the access data source is LVDS or a 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 circuit.
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 CN113259318A (en) 2021-08-13
CN113259318B true 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)

Families Citing this family (3)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 中国科学院西安光学精密机械研究所 A kind of conversion circuit and conversion method of TLK2711 coffret and USB3.0 coffret
CN209312015U (en) * 2018-12-18 2019-08-27 中国科学院西安光学精密机械研究所 A kind of conversion circuit of TLK2711 coffret and USB3.0 coffret

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201708855U (en) * 2009-10-13 2011-01-12 深圳英飞拓科技股份有限公司 High-speed ball camera of photoelectric slipping ring transmission video
US9195470B2 (en) * 2013-07-22 2015-11-24 Globalfoundries Inc. Dynamic data dimensioning by partial reconfiguration of single or multiple field-programmable gate arrays using bootstraps

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 中国科学院西安光学精密机械研究所 A kind of conversion circuit and conversion method of TLK2711 coffret and USB3.0 coffret
CN209312015U (en) * 2018-12-18 2019-08-27 中国科学院西安光学精密机械研究所 A kind of conversion circuit of TLK2711 coffret and USB3.0 coffret

Also Published As

Publication number Publication date
CN113259318A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN113259318B (en) High-speed data transmission method, system, storage medium and information data processing terminal
CN106652894B (en) LED display control system
CN208013943U (en) A kind of spaceborne high-resolution imaging data transmission and acquisition system
CN104750588A (en) Serial port communication based pressure testing method
CN109947677B (en) AXI bus bit width conversion device supporting disorder function and data transmission method
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
CN102917213B (en) System and method for transmitting optical fiber video images
CN104991880B (en) A kind of FC AE ASM Communication Cards based on PCI E interfaces
CN103972909A (en) TSC (thyristor switched capacitor) system and RS485 communication method thereof based on FPGA (Field Programmable Gate Array)
CN112653638B (en) Device for switching routes of multiple paths of intermediate frequencies and baseband at high speed and communication method thereof
US9229841B2 (en) Systems and methods for detecting errors and recording actions on a bus
US7434084B1 (en) Method and apparatus for eliminating sampling errors on a serial bus
CN105955909A (en) Method for realizing bus bridge between APB and DCR bus
CN106652895B (en) Scanning card
CN108319560A (en) A kind of conversion circuit of TLK2711 coffrets and Camera-Link coffrets
CN109062837A (en) A kind of usb signal light teletransmission control module and method based on FPGA
CN211956461U (en) Serial data communication circuit and system
CN107370964A (en) A kind of digital usb signal converting system and implementation method for monitoring device
CN209419713U (en) A kind of spaceborne short-wave infrared signal processing circuit
CN112947156A (en) Distributed data transmission system and method based on FPGA
CN113573265A (en) General wireless communication module based on oil field net electricity digital equipment
CN206442460U (en) A kind of Portable HDMI video capture device based on FPGA
CN113132648A (en) High-speed real-time video transmission method based on FPGA
CN115098425B (en) Method for quickly searching screen dead pixels through USB interface based on FPGA
CN108206921A (en) A kind of HDMI distance transmission systems and its method of work based on FPGA

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