[go: up one dir, main page]

CN115208472A - Data transmission system and data sending and receiving method - Google Patents

Data transmission system and data sending and receiving method Download PDF

Info

Publication number
CN115208472A
CN115208472A CN202210732433.0A CN202210732433A CN115208472A CN 115208472 A CN115208472 A CN 115208472A CN 202210732433 A CN202210732433 A CN 202210732433A CN 115208472 A CN115208472 A CN 115208472A
Authority
CN
China
Prior art keywords
module
data transmission
signal
data
clock domain
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.)
Pending
Application number
CN202210732433.0A
Other languages
Chinese (zh)
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.)
China Aviation Optical Electrical Technology Co Ltd
Original Assignee
China Aviation Optical Electrical Technology Co Ltd
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 China Aviation Optical Electrical Technology Co Ltd filed Critical China Aviation Optical Electrical Technology Co Ltd
Priority to CN202210732433.0A priority Critical patent/CN115208472A/en
Publication of CN115208472A publication Critical patent/CN115208472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2575Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0201Add-and-drop multiplexing
    • H04J14/0202Arrangements therefor
    • H04J14/0205Select and combine arrangements, e.g. with an optical combiner at the output after adding or dropping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0267Optical signaling or routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0287Protection in WDM systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)

Abstract

一种数据传输系统以及数据发送、接收方法,该系统包括至少两个数据传输单元,第一数据传输单元至少包括一个光信号接收端,第二数据传输单元至少包括一个光信号发送端,光信号接收端通过光纤与光信号发送端连接。发送方法的步骤:数据发生源向数据传输单元发出N路电信号聚合转换,生成M路的电信号,并通过光电转换装置转换为T路光信号。接收方法的步骤:光信号源向数据传输单元发出T路光信号,并通过光电转换装置转换成M路电信号;M路电信号进行信号分离,得到目标信号并发送至数据应用端。通过电信号复用后转换为光信号,传输的链路比较简洁,同时增加以太网传输路数的时候只需要增加软件接口的配置,不需要重新增加铺设光纤数量。

Figure 202210732433

A data transmission system and a data transmission and reception method, the system includes at least two data transmission units, the first data transmission unit includes at least one optical signal receiving end, the second data transmission unit at least includes an optical signal transmitting end, and the optical signal The receiving end is connected with the optical signal transmitting end through an optical fiber. The steps of the sending method: the data generating source sends N circuits of electrical signal aggregation conversion to the data transmission unit, generates M circuits of electrical signals, and converts them into T circuits of optical signals through a photoelectric conversion device. The steps of the receiving method: the optical signal source sends out T-path optical signals to the data transmission unit, and converts them into M-path electrical signals through a photoelectric conversion device; the M-path electrical signals are separated to obtain target signals and send to the data application terminal. After the electrical signal is multiplexed and converted into an optical signal, the transmission link is relatively simple. At the same time, when the number of Ethernet transmission channels is increased, only the configuration of the software interface needs to be increased, and the number of optical fibers does not need to be re-laid.

Figure 202210732433

Description

一种数据传输系统以及数据发送、接收方法A data transmission system and data transmission and reception method

技术领域technical field

本发明属于通讯技术领域,具体涉及一种数据传输系统以及数据发送、接收方法。The invention belongs to the technical field of communication, and in particular relates to a data transmission system and a data sending and receiving method.

背景技术Background technique

目前列车通信普遍采用WTB(绞线式列车总线)或以太网电总线网络,随着国内高铁和地铁运行速度的提升,乘客对列车乘坐安全性、舒适性、便捷性要求越来越高,如乘客对车载娱乐设施的诉求等,这样对列车的数据网络吞吐量要求会越来越高,而传统的总线速率不能满足系统的传输要求。列车上的娱乐系统、健康管理系统和控车系统目前是三个完全独立的网络,如图1所示,均通过电缆进行信号传输,列车上链路铺设工作量大,电磁环境复杂,数据传输经常出现丢包现象。列车传统的通信系统的缺点总结如下:At present, train communication generally adopts WTB (Twisted Wire Train Bus) or Ethernet electric bus network. With the improvement of domestic high-speed rail and subway operation speed, passengers have higher and higher requirements for train ride safety, comfort and convenience, such as Passengers' demands for in-vehicle entertainment facilities, etc., so the data network throughput requirements of the train will become higher and higher, and the traditional bus rate cannot meet the transmission requirements of the system. The entertainment system, health management system and car control system on the train are currently three completely independent networks, as shown in Figure 1, all of which are transmitted through cables. The link laying workload on the train is heavy, the electromagnetic environment is complex, and data transmission is required. Packet loss often occurs. The disadvantages of the traditional communication system for trains are summarized as follows:

(1)目前列车上普遍采用百兆网络进行通讯,通讯速率低;(1) At present, the 100M network is generally used for communication on trains, and the communication rate is low;

(2)以太网信号采用电缆传输,传输距离在近100m之内,受到列车复杂电磁环境影响,网络会出现丢包现象;(2) The Ethernet signal is transmitted by cable, and the transmission distance is within nearly 100m. Affected by the complex electromagnetic environment of the train, the network will lose packets;

(3)目前列车上主要有娱乐系统、健康管理系统和控车系统三个网络系统,分开铺设,线缆数量大,布线铺设工作量大。(3) At present, there are mainly three network systems on the train: entertainment system, health management system and car control system.

发明内容SUMMARY OF THE INVENTION

为解决上述传统电缆铺设工作量大、通讯速率低、易发生丢包现象的技术问题,本发明提供一种数据传输系统以及数据发送、接收方法。In order to solve the above-mentioned technical problems of traditional cable laying workload, low communication rate and easy occurrence of packet loss, the present invention provides a data transmission system and a data transmission and reception method.

本发明的目的是采用以下技术方案来实现。依据本发明提出的一种数据传输系统,包括至少两个数据传输单元,其中两个数据传输单元分别为第一数据传输单元、第二数据传输单元,第一数据传输单元至少包括一个光信号接收端,第二数据传输单元至少包括一个光信号发送端,光信号接收端通过光纤接收光信号发送端发送的光信号。The purpose of the present invention is to adopt the following technical solutions to achieve. A data transmission system according to the present invention includes at least two data transmission units, wherein the two data transmission units are respectively a first data transmission unit and a second data transmission unit, and the first data transmission unit at least includes an optical signal receiving unit. The second data transmission unit includes at least one optical signal transmitting end, and the optical signal receiving end receives the optical signal sent by the optical signal transmitting end through the optical fiber.

进一步的,所述第二数据传输单元包括第二数字信号接收部、第二数字信号处理部,所述第二数字信号接收部与N路电缆通信连接,用于接收N路电缆的电信号,第二数字信号处理部将接收到的N路电信号进行聚合,形成M路电信号,第二数字信号处理部与第二光电转换装置连接,M路电信号通过第二光电转换装置转换为T路光信号,光信号通过光信号发送端发送并由光纤传输,所述N≥1,M≤N,T≤N。Further, the second data transmission unit includes a second digital signal receiving part and a second digital signal processing part, and the second digital signal receiving part is communicatively connected with the N-channel cable for receiving the electrical signals of the N-channel cable, The second digital signal processing unit aggregates the received N circuits of electrical signals to form M circuits of electrical signals, the second digital signal processing unit is connected to the second photoelectric conversion device, and the M circuits of electrical signals are converted into T by the second photoelectric conversion device The optical signal is sent through the optical signal sending end and transmitted by the optical fiber, where N≥1, M≤N, T≤N.

进一步的,所述第二数据传输单元包括第二交换机,所述N路电缆与第二交换机连接,第二交换机与第二数字信号接收部之间设置第二以太网信号转换装置,N路电缆的电信号通过第二交换机传输至第二以太网信号转换装置,经过转换的信号传递至第二数字信号接收部。Further, the second data transmission unit includes a second switch, the N-way cable is connected to the second switch, a second Ethernet signal conversion device is arranged between the second switch and the second digital signal receiving part, and the N-way cable is The electrical signal is transmitted to the second Ethernet signal conversion device through the second switch, and the converted signal is transmitted to the second digital signal receiving part.

进一步的,所述第二数字信号处理部包括组帧模块、时钟域变换模块、扰码模块、编码模块、链路误码检测模块、并串转换模块、高速串行收发模块,N路电信号通过上述模块聚合成M路电信号。Further, the second digital signal processing unit includes a framing module, a clock domain transformation module, a scrambling module, an encoding module, a link error detection module, a parallel-to-serial conversion module, a high-speed serial transceiver module, and an N-channel electrical signal. The above-mentioned modules are aggregated into M circuits of electrical signals.

进一步的,所述第一数据传输单元包括第一数字信号接收部、第一数字信号处理部,所述光信号接收端与第一光电转换装置连接,第一光电转换装置将接收到的T路光信号转换为M路电信号,然后传输到所述第一数字信号接收部,所述M路电信号经过第一数字信号处理部处理后,恢复成N路电信号,传输给对应的N路电缆,或者,第一数字信号接收部将所述M路电信号发送给另一光电转换装置,将转换后的信号再向另一数据传输单元发送,所述N≥1,M≤N,T≤N。Further, the first data transmission unit includes a first digital signal receiving part and a first digital signal processing part, the optical signal receiving end is connected to the first photoelectric conversion device, and the first photoelectric conversion device The optical signal is converted into M circuits of electrical signals, and then transmitted to the first digital signal receiving unit. After the M circuits of electrical signals are processed by the first digital signal processing unit, they are restored to N circuits of electrical signals and transmitted to the corresponding N circuits of electrical signals. cable, or, the first digital signal receiving part sends the M circuit electrical signals to another photoelectric conversion device, and sends the converted signal to another data transmission unit, the N≥1, M≤N, T ≤N.

进一步的,第一数字信号处理部通过第一以太网信号转换装置与第一交换机连接,第一交换机与对应的N路电缆连接,N路电信号经过第一以太网转换装置转换后传递至第一交换机,然后传递至N路电缆。Further, the first digital signal processing part is connected with the first switch through the first Ethernet signal conversion device, the first switch is connected with the corresponding N-way cables, and the N-way electrical signals are converted by the first Ethernet conversion device and transmitted to the first switch. A switch and then passed to the N-way cable.

进一步的,所述第一数字信号处理部包括串并转换模块、链路误码检测模块、解码模块、解扰模块、时钟域变换模块、解帧模块、高速串行收发模块,M路电信号经过上述模块处理后恢复成N路电信号。Further, the first digital signal processing unit includes a serial-to-parallel conversion module, a link error detection module, a decoding module, a descrambling module, a clock domain transformation module, a de-framing module, a high-speed serial transceiver module, and M circuits of electrical signals. After the above-mentioned module processing, it is restored to N circuits of electrical signals.

一种N路数据发送方法,所述方法使用所述数据传输系统,该方法包括以下步骤:A method for sending N-way data, the method uses the data transmission system, and the method comprises the following steps:

步骤1、数据发生源向数据传输单元发出N路电信号,其中N≥1;Step 1. The data generating source sends N electrical signals to the data transmission unit, where N≥1;

步骤2、数据传输单元接收所述N路电信号,并将所述N路电信号进行聚合转换,生成M路的电信号,其中M≤N;Step 2, the data transmission unit receives the N circuits of electrical signals, and aggregates and converts the N circuits of electrical signals to generate M circuits of electrical signals, where M≤N;

步骤3、所述M路电信号通过所述光电转换装置,转换为T路光信号,其中,T≤N;Step 3. The M circuits of electrical signals are converted into T circuits of optical signals by the photoelectric conversion device, where T≤N;

步骤4、所述T路光信号通过光信号发送端发送,并由T路光纤传输。Step 4: The T-path optical signal is sent through the optical signal sending end, and is transmitted by the T-path optical fiber.

进一步的,在数据聚合转换过程中,所述N路电信号通过数据传输单元中的组帧模块,按照设定的帧格式进行组装,并通过编码模块、并串转换模块、高速串行收发模块将M路电信号输出。Further, in the process of data aggregation conversion, the N circuits of electrical signals are assembled according to the set frame format through the framing module in the data transmission unit, and passed through the encoding module, the parallel-serial conversion module, and the high-speed serial transceiver module. Output the M circuit electrical signals.

进一步的,数据传输单元设置多个时钟域,包括以太网时钟域,组帧/解帧、校验处理时钟域,信号收发时钟域;以太网时钟域包括千兆以太网时钟域、百兆以太网时钟域,千兆以太网时钟域内包括千兆以太网采集模块,百兆以太网时钟域内包括百兆以太网采集模块,组帧/解帧、校验处理时钟域包括组帧/解帧模块,信号收发时钟域包括高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块;各时钟域之间通过异步FIFO进行隔离,数据聚合转换过程中,通过时钟域变换模块处理多个时钟域之间的转换。Further, the data transmission unit sets up multiple clock domains, including Ethernet clock domain, framing/de-framing, check processing clock domain, signal sending and receiving clock domain; Ethernet clock domain includes Gigabit Ethernet clock domain, Fast Ethernet clock domain The network clock domain, the Gigabit Ethernet clock domain includes the Gigabit Ethernet acquisition module, the 100M Ethernet clock domain includes the 100M Ethernet acquisition module, the framing/de-framing, check processing clock domain includes the framing/de-framing module , the signal transceiver clock domain includes high-speed serial transceiver module, link error detection module, 64B/66B encoding/decoding module, parallel-serial/serial-parallel conversion module, scrambling/descrambling module; asynchronous FIFO For isolation, in the process of data aggregation and conversion, the conversion between multiple clock domains is processed by the clock domain transformation module.

进一步的,在数据聚合转换过程中,经过编码的串行数据输入数据传输单元中的扰码模块,经过扰码计算后输出扰码数据。Further, in the process of data aggregation conversion, the encoded serial data is input into the scrambling code module in the data transmission unit, and the scrambled code data is output after the scramble code is calculated.

进一步的,数据聚合转换过程中,数据传输单元中,链路误码检测模块发送部分的测试码发生器,产生一个测试数字序列,编码后送入数据传输单元的输入端,经过数据传输单元传输后输出。Further, in the data aggregation conversion process, in the data transmission unit, the test code generator in the sending part of the link error detection module generates a test digital sequence, which is encoded and sent to the input end of the data transmission unit, and transmitted through the data transmission unit. output later.

一种光信号数据接收方法,使用所述数据传输系统,该方法包括以下步骤:A method for receiving optical signal data, using the data transmission system, the method includes the following steps:

步骤1、光信号源向数据传输单元发出T路光信号,所述T路光信号由T根光纤传输;Step 1. The optical signal source sends T optical signals to the data transmission unit, and the T optical signals are transmitted by T optical fibers;

步骤2、T路光信号通过光电转换装置转换成M路电信号;Step 2, the T-path optical signal is converted into the M-path electrical signal through the photoelectric conversion device;

步骤3、数据传输单元对M路电信号进行信号分离操作,得到目标信号,所述目标信号由N路子信号构成;Step 3, the data transmission unit performs a signal separation operation on the M circuits of electrical signals to obtain a target signal, and the target signal is composed of N circuits of sub-signals;

步骤4、将所述N路子信号发送至数据应用端;Step 4, sending the N-way sub-signals to the data application terminal;

所述N≥1,M≤N,T≤N。Said N≥1, M≤N, T≤N.

进一步的,在信号分离操作过程中,M路电信号通过串并转换模块、解码模块后恢复出数据帧形式,通过解帧模块输出目标信号。Further, during the signal separation operation, the M circuits of electrical signals pass through the serial-to-parallel conversion module and the decoding module to restore the data frame form, and output the target signal through the de-frame module.

进一步的,数据传输单元设置多个时钟域,包括以太网时钟域,组帧/解帧、校验处理时钟域,信号收发时钟域;以太网时钟域包括千兆以太网时钟域、百兆以太网时钟域,千兆以太网时钟域内包括千兆以太网采集模块,百兆以太网时钟域内包括百兆以太网采集模块,组帧/解帧、校验处理时钟域包括组帧/解帧模块,信号收发时钟域包括高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块;各时钟域之间通过异步FIFO进行隔离,信号分离操作过程中,通过时钟域变换模块处理多个时钟域之间的转换。Further, the data transmission unit sets up multiple clock domains, including Ethernet clock domain, framing/de-framing, check processing clock domain, signal sending and receiving clock domain; Ethernet clock domain includes Gigabit Ethernet clock domain, Fast Ethernet clock domain The network clock domain, the Gigabit Ethernet clock domain includes the Gigabit Ethernet acquisition module, the 100M Ethernet clock domain includes the 100M Ethernet acquisition module, the framing/de-framing, check processing clock domain includes the framing/de-framing module , the signal transceiver clock domain includes high-speed serial transceiver module, link error detection module, 64B/66B encoding/decoding module, parallel-serial/serial-parallel conversion module, scrambling/descrambling module; asynchronous FIFO For isolation, during the signal separation operation, the conversion between multiple clock domains is processed by the clock domain transformation module.

进一步的,在信号分离操作过程中,将扰码数据输入解扰模块,经过计算后,输出解扰数据,然后在解码模块进行解码。Further, during the signal separation operation, the scrambled data is input into the descrambling module, and after calculation, the descrambled data is output, and then decoded in the decoding module.

进一步的,在信号分离操作过程,在数据传输单元中,信号进入链路误码检测模块的接收部分解码,并从信号中得到同步时钟,接收部分的测试码发生器产生和发送部分相同的并且同步的数字序列,和接收到的信号进行比较,如果不一致便是误码,用计数器对误码的位数进行计数,然后记录存储、分析、显示测试结果。Further, in the signal separation operation process, in the data transmission unit, the signal enters the receiving part of the link error detection module for decoding, and obtains the synchronization clock from the signal, and the test code generator of the receiving part generates the same and the sending part. The synchronous digital sequence is compared with the received signal. If it is inconsistent, it is a bit error. The counter is used to count the number of error bits, and then the test results are recorded, stored, analyzed and displayed.

与现有技术相比,本发明的有益之处在于:现有技术中,列车通过以太网信号进行传输,每一路信号单独传输,列车需要几路以太网信号就需要铺设相应路数的电缆组件。本方案通过电信号复用后转换为光信号,传输的链路比较简洁,一路(采用波分复用光模块)或两路光纤就可以满足多路以太网信号的传输需求,同时增加以太网传输路数的时候只需要增加软件接口的配置,不需要重新增加铺设光纤数量。Compared with the prior art, the present invention has the advantages that: in the prior art, the train transmits through the Ethernet signal, and each signal is transmitted separately, and the train needs to lay a corresponding number of cable assemblies if several Ethernet signals are needed. . This solution converts electrical signals into optical signals after multiplexing, and the transmission link is relatively simple. One channel (using wavelength division multiplexing optical module) or two channels of optical fiber can meet the transmission requirements of multi-channel Ethernet signals, while adding Ethernet When the number of transmission channels is increased, only the configuration of the software interface needs to be increased, and there is no need to increase the number of laying fibers.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific preferred embodiments, and in conjunction with the accompanying drawings, are described in detail as follows.

附图说明Description of drawings

图1为现有技术中的列车以太网信号电缆传输示意图;1 is a schematic diagram of the transmission of a train Ethernet signal cable in the prior art;

图2为本发明实施例中一种数据传输系统的信号传输示意图;2 is a schematic diagram of signal transmission of a data transmission system in an embodiment of the present invention;

图3为图2中电源模块5V转3.3V的框图;Figure 3 is a block diagram of the power module in Figure 2 from 5V to 3.3V;

图4为千兆以太网信号处理框图;Figure 4 is a block diagram of Gigabit Ethernet signal processing;

图5为中百兆以太网信号处理框图;Fig. 5 is a block diagram of medium 100M Ethernet signal processing;

图6为软件功能框图;Fig. 6 is a software functional block diagram;

图7为数据传输示意图;7 is a schematic diagram of data transmission;

图8为时钟域变换示意图;8 is a schematic diagram of clock domain transformation;

图9a为扰码电路示意图;9a is a schematic diagram of a scrambling code circuit;

图9b为解码电路示意图Figure 9b is a schematic diagram of the decoding circuit

图10为信号采集、恢复子模块的功能框图;Figure 10 is a functional block diagram of a signal acquisition and recovery sub-module;

图11为链路误码检测模块的功能框图。Figure 11 is a functional block diagram of the link error detection module.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明一种数据传输系统的实施例,如图2至图11所示。An embodiment of a data transmission system of the present invention is shown in FIG. 2 to FIG. 11 .

本发明基于现有列车的以太网电信号通讯网络,在本发明中,把每个车厢内的娱乐系统、健康管理系统、控车系统等需要传输信号的系统的通讯接口进行电信号的聚合,聚合为一路电通讯接口后,把电信号转换为光信号进行传输,可以兼容列车的百兆和千兆通讯网络,从而实现全车通讯链路的光网络传输。车厢内的娱乐系统、健康管理系统、控车系统为数据发生源,也可以作为数据应用端。The present invention is based on the Ethernet electrical signal communication network of the existing train. In the present invention, the communication interfaces of the systems that need to transmit signals, such as the entertainment system, health management system, and car control system in each carriage, are aggregated for electrical signals. After being aggregated into one electrical communication interface, the electrical signal is converted into an optical signal for transmission, which can be compatible with the train's 100M and gigabit communication networks, thereby realizing the optical network transmission of the entire vehicle communication link. The entertainment system, health management system, and car control system in the carriage are the source of data generation, and can also be used as the data application terminal.

该系统包括多个数据传输单元,每个车厢均设置一个数据传输单元,每个数据传输单元包括交换机、以太网信号转换装置、信号处理模块、光模块、电源模块、时钟电路、光纤传输单元。交换机通过电缆与车厢内的娱乐系统、健康管理系统、控车系统连接。以太网信号转换装置包括以太网交换芯片(即图4中的PHY芯片),如图2所示。信号处理单元用于将多路以太网信号换转为一路高度差分电信号,或将一路高速差分信号转换为多路以太网信号。光模块的作用为光电转换或电光转换,其作为一种光电转换装置,其发出光信号的部分为光信号发送端,其接收光信号的部分为光信号接收端。光纤传输单元包括光缆组件、光纤连接器,光缆组件连接光模块、光纤连接器,相邻车厢的数据传输单元通过光纤连接器连接。时钟电路包括依次串联的有源晶振、时钟消抖芯片,有源晶振为时钟消抖晶片提供参考时钟,时钟消抖芯片为信号处理模块提供高速差分时钟。数据传输单元结合列车通讯系统,可以形成全列车光传输网络系统,该系统将多个车厢进行通信连接。数据传输单元还通过交换机与对应车厢的需要传输信号的各种系统进行通信连接,每个车厢内的各种系统通过交换机与以太网交换芯片通信连接。图2示出了该系统的其中一部分,其中M1、M2、M3为三个车厢,每个车厢内均设置有数据传输单元,通过光纤传输单元依次将各个车厢内的数据传输单元串联起来。The system includes a plurality of data transmission units, each car is provided with a data transmission unit, and each data transmission unit includes a switch, an Ethernet signal conversion device, a signal processing module, an optical module, a power module, a clock circuit, and an optical fiber transmission unit. The switch is connected to the entertainment system, health management system, and car control system in the cabin through cables. The Ethernet signal conversion device includes an Ethernet switch chip (ie, the PHY chip in FIG. 4 ), as shown in FIG. 2 . The signal processing unit is used for converting multiple Ethernet signals into one highly differential electrical signal, or converting one high-speed differential signal into multiple Ethernet signals. The function of the optical module is photoelectric conversion or electro-optical conversion. As a photoelectric conversion device, the part that emits an optical signal is the optical signal transmitting end, and the part that receives the optical signal is the optical signal receiving end. The optical fiber transmission unit includes an optical cable assembly and an optical fiber connector, the optical cable assembly is connected to the optical module and the optical fiber connector, and the data transmission units of the adjacent carriages are connected through the optical fiber connector. The clock circuit includes an active crystal oscillator and a clock debounce chip that are connected in series. The active crystal oscillator provides a reference clock for the clock debounce chip, and the clock debounce chip provides a high-speed differential clock for the signal processing module. The data transmission unit combined with the train communication system can form a whole train optical transmission network system, which connects multiple carriages for communication. The data transmission unit also communicates and connects with various systems in the corresponding carriages that need to transmit signals through the switch, and the various systems in each carriage communicate with the Ethernet switch chip through the switch. Figure 2 shows a part of the system, wherein M1, M2, and M3 are three cars, each car is provided with a data transmission unit, and the data transmission units in each car are connected in series through the optical fiber transmission unit.

以车厢M2为例进行说明,M2车厢内数据传输单元的光纤连接器与上一级车厢M1内数据传输单元的光纤连接器连接。通过光纤连接器接收的光信号通过光缆组件传输至光模块并在光模块中进行光电转换,将光信号转换为高速差分电信号,高速差分电信号进入信号处理模块中。信号处理模块按照功能分为多个功能模块,包括组帧/解帧模块、时钟域变换模块、扰码/解扰模块、64B/66B编码/解码模块、链路误码检测模块、高速串行收发模块、串并/并串转换模块、链路状态监控模块、时钟管理模块。高速差分电信号经过串并转换模块、链路误码检测模块、64B/66B解码模块、解扰模块、时钟域变换模块、解帧模块、高速串行收发模块,恢复成多路以太网信号。恢复出来的以太网信号根据需要,通过以太网交换芯片接入交换机,以太网交换芯片设置多个,信号处理模块上的以太网接口模块与对应的以太网交换芯片连接。通过交换机与本节车厢的各种系统进行信息交换后,多路以太网信号以相反的过程再输入光模块中,并通过光缆组件、光纤连接器与下一级车厢M3的数据传输单元通信连接,具体为:多路以太网信号经过以太网交换机、以太网交换芯片进入信号处理模块,在信号处理模块中,以太网信号依次经过组帧模块、时钟域变换模块、扰码模块、64B/66B编码模块、链路误码检测模块、并串转换模块、高速串行收发模块后聚合成一路电信号并进入光模块,在光模块中进行电光转换,将转换后的光信号通过光缆组件、光纤连接器与下一个车厢M3的数据传输单元通信连接。Taking the car M2 as an example for description, the optical fiber connector of the data transmission unit in the car M2 is connected to the optical fiber connector of the data transmission unit in the upper-level car M1. The optical signal received through the optical fiber connector is transmitted to the optical module through the optical cable assembly, and photoelectric conversion is performed in the optical module, and the optical signal is converted into a high-speed differential electrical signal, and the high-speed differential electrical signal enters the signal processing module. The signal processing module is divided into multiple functional modules according to functions, including framing/de-framing module, clock domain transformation module, scrambling/descrambling module, 64B/66B encoding/decoding module, link error detection module, high-speed serial Transceiver module, serial-parallel/parallel-serial conversion module, link status monitoring module, clock management module. The high-speed differential electrical signal is restored into a multi-channel Ethernet signal through a serial-parallel conversion module, a link error detection module, a 64B/66B decoding module, a descrambling module, a clock domain transformation module, a de-framing module, and a high-speed serial transceiver module. The recovered Ethernet signal is connected to the switch through the Ethernet switch chip as required, multiple Ethernet switch chips are provided, and the Ethernet interface module on the signal processing module is connected to the corresponding Ethernet switch chip. After exchanging information with various systems in this car through the switch, the multi-channel Ethernet signals are input into the optical module in the opposite process, and communicated with the data transmission unit of the next-level car M3 through the optical cable assembly and optical fiber connector. , specifically: the multi-channel Ethernet signal enters the signal processing module through the Ethernet switch and the Ethernet switch chip. In the signal processing module, the Ethernet signal sequentially passes through the framing module, the clock domain transformation module, the scrambling module, 64B/66B The encoding module, link error detection module, parallel-serial conversion module, and high-speed serial transceiver module are aggregated into one electrical signal and enter the optical module, where electrical-optical conversion is performed, and the converted optical signal is passed through the optical cable assembly, optical fiber The connector is communicatively connected to the data transmission unit of the next car M3.

以相邻的数据传输单元之间的单向传输为例进行说明,其中第一数据传输单元至少包括一个光信号接收端,第二数据传输单元至少包括一个光信号发送端,光信号接收端通过光纤接收光信号发送端发送的光信号。第二数据传输单元包括第二数字信号接收部、第二数字信号处理部、第二交换机、第二光电转换装置,第二数字信号接收部、第二数字信号处理部集成在第二数据传输单元的信号处理模块,第二数字信号接收部与N路电缆通信连接,用于接收N路电缆的电信号,N≥1,第二数字信号处理部将接收到的N路电信号进行聚合,形成M路电信号,M≤N,第二数字信号处理部与第二光电转换装置连接,M路电信号通过第二光电转换装置转换为T路光信号,T≤N,光信号通过光信号发送端发送并由光纤传输。N路电缆与第二交换机连接,第二交换机与第二数字信号接收部之间设置第二以太网信号转换装置,N路电缆的电信号通过第二交换机传输至第二以太网信号转换装置,经过转换的信号传递至第二数字信号接收部。第二数字信号处理部包括组帧模块、时钟域变换模块、扰码模块、编码模块、链路误码检测模块、并串转换模块、高速串行收发模块,N路电信号通过上述模块聚合成M路电信号。Taking the unidirectional transmission between adjacent data transmission units as an example, the first data transmission unit includes at least one optical signal receiving end, and the second data transmission unit includes at least one optical signal transmitting end, and the optical signal receiving end passes through. The optical fiber receives the optical signal sent by the transmitting end of the optical signal. The second data transmission unit includes a second digital signal receiving part, a second digital signal processing part, a second switch, and a second photoelectric conversion device, and the second digital signal receiving part and the second digital signal processing part are integrated in the second data transmission unit The signal processing module, the second digital signal receiving part is communicatively connected with the N-way cables for receiving the electrical signals of the N-way cables, N≥1, the second digital signal processing part aggregates the received N-way electrical signals to form M circuits of electrical signals, M≤N, the second digital signal processing part is connected to the second photoelectric conversion device, the M circuits of electrical signals are converted into T circuits of optical signals by the second photoelectric conversion device, T≤N, the optical signals are sent by optical signals terminal and transmitted by optical fiber. The N-way cable is connected to the second switch, and a second Ethernet signal conversion device is arranged between the second switch and the second digital signal receiving part, and the electrical signals of the N-way cable are transmitted to the second Ethernet signal conversion device through the second switch. The converted signal is transmitted to the second digital signal receiving part. The second digital signal processing part includes a framing module, a clock domain transformation module, a scrambling module, an encoding module, a link error detection module, a parallel-to-serial conversion module, and a high-speed serial transceiver module. M circuit electrical signal.

第一数据传输单元包括第一数字信号接收部、第一数字信号处理部、第一交换机、第一光电转换装置,第一数字信号接收部、第一数字信号处理部集成在第一数据传输单元的信号处理模块上,光信号接收端与第一光电转换装置连接,第一光电转换装置将接收到的T路光信号转换为M路电信号,然后传输到第一数字信号接收部,M路电信号经过第一数字信号处理部处理后,恢复成N路电信号,传输给对应的N路电缆,或者,第一数字信号接收部将所述M路电信号发送给另一光电转换装置,将转换后的信号再向另一数据传输单元发送,所述N≥1,M≤N,T≤N。第一数字信号处理部通过第一以太网信号转换装置与第一交换机连接,第一交换机与对应的N路电缆连接,N路电信号经过第一以太网转换装置转换后传递至第一交换机,然后传递至N路电缆。第一数字信号处理部包括串并转换模块、链路误码检测模块、解码模块、解扰模块、时钟域变换模块、解帧模块、高速串行收发模块,M路电信号经过上述模块处理后恢复成N路电信号。The first data transmission unit includes a first digital signal receiving part, a first digital signal processing part, a first switch, a first photoelectric conversion device, and the first digital signal receiving part and the first digital signal processing part are integrated in the first data transmission unit On the signal processing module, the optical signal receiving end is connected to the first photoelectric conversion device, and the first photoelectric conversion device converts the received T-path optical signal into M-path electrical signal, and then transmits it to the first digital signal receiving part, M-path After the electrical signal is processed by the first digital signal processing part, it is restored to N circuits of electrical signals and transmitted to the corresponding N circuits of cables, or the first digital signal receiving part sends the M circuits of electrical signals to another photoelectric conversion device, The converted signal is sent to another data transmission unit, where N≥1, M≤N, T≤N. The first digital signal processing part is connected with the first switch through the first Ethernet signal conversion device, the first switch is connected with the corresponding N-way cables, and the N-way electrical signals are converted by the first Ethernet conversion device and then transmitted to the first switch. Then pass to the N-way cable. The first digital signal processing part includes a serial-to-parallel conversion module, a link error detection module, a decoding module, a descrambling module, a clock domain transformation module, a de-framing module, and a high-speed serial transceiver module. After the M circuit electrical signals are processed by the above modules Restored to N-way electrical signal.

N路数据发送方法的步骤总结如下:The steps of the N-way data transmission method are summarized as follows:

步骤1、数据发生源向数据传输单元发出N路电信号,其中N≥1;Step 1. The data generating source sends N electrical signals to the data transmission unit, where N≥1;

步骤2、数据传输单元接收所述N路电信号,并将所述N路电信号进行聚合转换,生成M路的电信号,其中M≤N;Step 2, the data transmission unit receives the N circuits of electrical signals, and aggregates and converts the N circuits of electrical signals to generate M circuits of electrical signals, where M≤N;

步骤3、所述M路电信号通过所述光电转换装置,转换为T路光信号,其中,T≤N;Step 3. The M circuits of electrical signals are converted into T circuits of optical signals by the photoelectric conversion device, where T≤N;

步骤4、所述T路光信号通过光信号发送端发送,并由T路光纤传输。Step 4: The T-path optical signal is sent through the optical signal sending end, and is transmitted by the T-path optical fiber.

光信号数据接收方法的步骤总结如下:The steps of the optical signal data receiving method are summarized as follows:

步骤1、光信号源向数据传输单元发出T路光信号,所述T路光信号由T根光纤传输;Step 1. The optical signal source sends T optical signals to the data transmission unit, and the T optical signals are transmitted by T optical fibers;

步骤2、T路光信号通过光电转换装置转换成M路电信号;Step 2, the T-path optical signal is converted into the M-path electrical signal through the photoelectric conversion device;

步骤3、数据传输单元对M路电信号进行信号分离操作,得到目标信号,所述目标信号由N路子信号构成,N路子信号即为恢复出来的以太网电信号;Step 3, the data transmission unit performs a signal separation operation on the M circuits of electrical signals to obtain a target signal, and the target signal is composed of N circuits of sub-signals, and the N circuits of sub-signals are the recovered Ethernet electrical signals;

步骤4、将所述N路子信号发送至数据应用端;Step 4, sending the N-way sub-signals to the data application terminal;

所述N≥1,M≤N,T≤N。Said N≥1, M≤N, T≤N.

如图2所示,标号①到⑩是某一信号从车厢M1的交换机到车厢M3再流向下一级车厢的信号流向示意图,具体实现功能如下所示:As shown in Figure 2, the symbols ① to ⑩ are the schematic diagrams of the signal flow of a signal from the switch of the car M1 to the car M3 and then to the next-level car. The specific implementation functions are as follows:

1)可以实现多路百兆以太网信号、多路千兆以太网信号的组合传输;1) It can realize the combined transmission of multi-channel 100M Ethernet signals and multi-channel Gigabit Ethernet signals;

2)自定义数据帧格式,采用数据帧形式传送数据,通过数据帧标识符来区分不同类型数据帧,并实现特定功能;2) Customize the data frame format, transmit data in the form of data frames, distinguish different types of data frames by data frame identifiers, and realize specific functions;

3)实现64B/66B编解码等物理层数字编码技术,提高数据传输可靠性;3) Realize 64B/66B encoding and decoding and other physical layer digital encoding technologies to improve the reliability of data transmission;

4)通讯速率最高可达到10Gbps;4) The communication rate can reach up to 10Gbps;

5)系统可自行产生伪随机序列,对当前链路误码特性进行检测,当发现误码超过某一上限时,将产生告警信号。5) The system can generate pseudo-random sequences by itself to detect the error characteristics of the current link. When the error code exceeds a certain upper limit, an alarm signal will be generated.

信号处理模块包括FPGA主芯片,信号处理模块中的各个功能模块运行在FPGA主芯片上。FPGA主芯片选用Xilnix公司的Kintex7系列XC7K325T作为核心处理器件,该器件采用40nm工艺,具有极高的性价比,超低功耗等优势,还具有多种高级功能,尤其是极强的嵌入式系统处理能力和终极互联能力,可灵活构建高带宽接口,丰富的资源确保了设计余量,完全能满足设计需求。The signal processing module includes an FPGA main chip, and each functional module in the signal processing module runs on the FPGA main chip. The FPGA main chip selects the Kintex7 series XC7K325T of Xilnix as the core processing device. The device adopts the 40nm process, which has the advantages of extremely high cost performance, ultra-low power consumption, etc. It also has a variety of advanced functions, especially the extremely strong embedded system processing. Ability and ultimate interconnection capability, can flexibly build high-bandwidth interfaces, and abundant resources ensure design margins and fully meet design requirements.

电源模块的输入电压为5±0.25V,FPGA主芯片(型号XC7K325T-FFG676)的内核工作电压为3.3V、1.8V、1.25V、1.2V和1.0V,光模块电路的工作电压为3.3V。电源模块包括电源滤波网络、电源转换模块,电源模块将输入电压5V转换为3.3V,5V转3.3V系统框图如图3所示。为了防止电源反接、电路短路或输入过大的瞬时电压对电路后端造成损坏,电源输入端口进行了接口保护设计,用于电源反接、浪涌时的保护。The input voltage of the power module is 5±0.25V, the core working voltage of the FPGA main chip (model XC7K325T-FFG676) is 3.3V, 1.8V, 1.25V, 1.2V and 1.0V, and the working voltage of the optical module circuit is 3.3V. The power module includes a power filter network and a power conversion module. The power module converts the input voltage 5V to 3.3V, and the system block diagram of 5V to 3.3V is shown in Figure 3. In order to prevent the back end of the circuit from being damaged by reverse connection of the power supply, short circuit of the circuit or excessive input instantaneous voltage, the power input port is designed with interface protection for the protection of reverse connection of the power supply and surge.

数据传输单元的各模块集成在测试底板上,外部输入测试底板上的5V电压经过电源滤波网络后,经电源转换模块转换为3.3V电压。电源转换模块选用TI公司的PTH05000WAD芯片作为5V转3.3V的DC-DC转换模块,PTH05000WAD输入电压为4.5V~5.5V宽范围输入,输出电流可达6A。该3.3V电压用于测试底板上各模块电路工作。通过板间连接器输入至测试底板的5V电压经过电源模块转换为各模块需要的工作电压。Each module of the data transmission unit is integrated on the test backplane, and the 5V voltage on the external input test backplane passes through the power filter network and is converted into 3.3V by the power conversion module. The power conversion module uses TI's PTH05000WAD chip as the 5V to 3.3V DC-DC conversion module. The PTH05000WAD input voltage is 4.5V to 5.5V wide input, and the output current can reach 6A. The 3.3V voltage is used to test the operation of each module circuit on the backplane. The 5V voltage input to the test backplane through the inter-board connector is converted into the working voltage required by each module through the power module.

千兆以太网信号与其他信号的复合单纤光传输通常采用波分复用器进行,本发明采用FPGA主芯片对多路以太网信号进行处理后转换为一路光信号,光信号通过单纤进行光传输,省去了体积较大的波分复用器,可有效降低成本、缩小产品体积。The composite single-fiber optical transmission of Gigabit Ethernet signals and other signals is usually performed by a wavelength division multiplexer. The present invention uses an FPGA main chip to process multiple Ethernet signals and convert them into one optical signal, and the optical signal is transmitted through a single fiber. Optical transmission eliminates the need for bulky wavelength division multiplexers, which can effectively reduce costs and product volume.

本发明选用Marvell公司的以太网交换芯片88E6321进行千兆以太网信号的传输,以太网交换芯片88E6321全面支持IEEE802.3协议,其主要性能特点包括:The present invention selects the Ethernet switch chip 88E6321 of Marvell to transmit Gigabit Ethernet signals. The Ethernet switch chip 88E6321 fully supports the IEEE802.3 protocol, and its main performance features include:

1)集成2个10/100/1000以太网收发模块(基于PHYs);1) Integrate 2 10/100/1000 Ethernet transceiver modules (based on PHYs);

2)集成1个(G)MII端口;2) Integrate 1 (G)MII port;

3)集成2个SERDES端口,支持1000BASE-X,100BASE-FX;3) Integrate 2 SERDES ports, support 1000BASE-X, 100BASE-FX;

4)支持RGMII/SGMII接口与外部MAC连接;4) Support RGMII/SGMII interface to connect with external MAC;

5)RGMII时钟模式支持内部或者外部在RX传输路径上的延时;5) The RGMII clock mode supports internal or external delay on the RX transmission path;

6)灵活的优先级配置;6) Flexible priority configuration;

7)所有端口支持10Mbps和100Mbps的全双工或半双工模式;7) All ports support 10Mbps and 100Mbps full-duplex or half-duplex mode;

8)所有端口支持1000Mbps全双工模式;8) All ports support 1000Mbps full-duplex mode;

9)PHYs和MACs之间自适应速度和双工通信方式;9) Adaptive speed and duplex communication between PHYs and MACs;

10)具备电缆诊断检测功能;10) It has the function of cable diagnosis and detection;

11)3.3V单电源供电;11) 3.3V single power supply;

12)具有丰富的状态指示功能,具备速率和link指示;12) It has rich status indication functions, with rate and link indication;

13)支持25M时钟源;13) Support 25M clock source;

14)低功耗0.9W。14) Low power consumption 0.9W.

该以太网交换芯片实现多路独立的千兆以太网信号的电聚合和光纤传输,以太网信号流程图如图4所示。对于从以太网交换机收到的多路千兆以太网信号,首先经过网络变压器实现以太网信号的电平转换,然后经过以太网交换芯片(PHY芯片)将以太网信号转换成GMII信号,GMII信号传输给FPGA主芯片,通过FPGA主芯片将多路千兆以太网信号转换后的GMII信号进行数据打包,然后传输给光模块实现电光转换。转换后的光信号经过光纤连接器传递至下一级车厢的数据传输单元,光信号通过下一级车厢的光模块转换成高速差分电信号,然后将高速差分电信号传输给FPGA主芯片进行数据解析,还原出多路千兆以太网GMII信号,经以太网交换芯片及网络变压器后还原出多路百兆以太网和多路千兆以太网,实现光电转换。The Ethernet switching chip realizes the electrical aggregation and optical fiber transmission of multiple independent Gigabit Ethernet signals. The flow chart of the Ethernet signal is shown in Figure 4. For the multi-channel Gigabit Ethernet signal received from the Ethernet switch, the level conversion of the Ethernet signal is first realized through the network transformer, and then the Ethernet signal is converted into a GMII signal through the Ethernet switching chip (PHY chip), and the GMII signal It is transmitted to the FPGA main chip, and the GMII signal converted by the multi-channel Gigabit Ethernet signal is packaged by the FPGA main chip, and then transmitted to the optical module to realize electro-optical conversion. The converted optical signal is transmitted to the data transmission unit of the next-level car through the optical fiber connector. The optical signal is converted into a high-speed differential electrical signal through the optical module of the next-level car, and then the high-speed differential electrical signal is transmitted to the FPGA main chip for data processing. Analyze, restore the multi-channel Gigabit Ethernet GMII signal, and restore the multi-channel 100-megabit Ethernet and multi-channel Gigabit Ethernet after the Ethernet switching chip and network transformer to realize photoelectric conversion.

百兆以太网电路采用Marvell公司的芯片88E6061进行设计,并根据88E61061的数据手册进行电路设计,具体的功能框图如图5所示。百兆以太网处理方案架构与千兆类似,选用10/100Mbps以太网PHY芯片将以太网信号转为MII信号并行数据,输出给FPGA进行处理。The 100M Ethernet circuit is designed with Marvell's chip 88E6061, and the circuit is designed according to the data sheet of 88E61061. The specific functional block diagram is shown in Figure 5. The architecture of the Fast Ethernet processing solution is similar to that of Gigabit. The 10/100Mbps Ethernet PHY chip is used to convert the Ethernet signal into MII signal parallel data and output it to the FPGA for processing.

数据传输单元的软件功能框图如图6所示,软件功能集成在FPGA主芯片上,主要功能模块包括与以太网交换芯片连接的以太网接口模块、高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块、时钟域变换模块、时钟管理模块、数据组帧/解帧模块、链路状态监测模块、以太网采集/恢复模块,其中以太网采集模块包括千兆以太网采集模块、百兆以太网采集模块,千兆以太网采集模块、百兆以太网采集模块分别用于采集对应以太网接口模块传输来的数据。该软件功能可以实现多路以太网信号的组合传输。The software functional block diagram of the data transmission unit is shown in Figure 6. The software functions are integrated on the FPGA main chip. The main functional modules include an Ethernet interface module connected to the Ethernet switching chip, a high-speed serial transceiver module, and a link error detection module. , 64B/66B encoding/decoding module, parallel-serial/serial-parallel conversion module, scrambling/descrambling module, clock domain conversion module, clock management module, data framing/de-framing module, link status monitoring module, Ethernet acquisition /Recovery module, wherein the Ethernet acquisition module includes a Gigabit Ethernet acquisition module and a 100M Ethernet acquisition module. The Gigabit Ethernet acquisition module and the 100M Ethernet acquisition module are respectively used to collect the data transmitted by the corresponding Ethernet interface module. . This software function can realize the combined transmission of multiple Ethernet signals.

以太网信号组合之后通过光纤进行传输,传输速率可以根据以太网的聚合路数进行调整。数据组帧模块将接收到的数据按照设定的帧格式进行组装,之后经64B/66B编码模块、并串转换模块将高速串行调制信号输出。接收端在接收到信号之后,通过串并转换模块、64B/66B解码模块后恢复出数据帧形式,通过数据解帧模块输出千兆网络信号。同时,链路状态监测模块实时对当前链路状态进行检测。数据传输的格式如图7所示,数据以包的形式传递,一个时钟周期为64个位宽,每个数据包有240个时钟周期组成,帧头、帧尾、校验位、空闲信号共占据10个时钟周期。After the Ethernet signal is combined, it is transmitted through the optical fiber, and the transmission rate can be adjusted according to the number of aggregated Ethernet channels. The data framing module assembles the received data according to the set frame format, and then outputs the high-speed serial modulation signal through the 64B/66B encoding module and the parallel-serial conversion module. After receiving the signal, the receiving end restores the data frame form through the serial-parallel conversion module and the 64B/66B decoding module, and outputs the gigabit network signal through the data de-framing module. At the same time, the link status monitoring module detects the current link status in real time. The format of data transmission is shown in Figure 7. The data is transmitted in the form of packets. One clock cycle is 64 bits wide. Each data packet consists of 240 clock cycles. Occupies 10 clock cycles.

数据组帧是数据链路层的功能,是一种用来在一个比特流内分配或标记信道的技术。它在发送端与接收端定义一组有含义的标识符,通过这些标识符将数据进行分段传输。定义的标识符包括帧开始符、帧结束符、帧类型符等。通过标识可以判断数据帧的长度、数据帧的类型等,也可以对数据进行校验。在没有数据传输时,将传输空闲字符,以保证链路数据传递的连续性。Data framing is a function of the data link layer and is a technique used to allocate or label channels within a bit stream. It defines a set of meaningful identifiers at the sender and receiver, and transmits data in segments through these identifiers. The defined identifiers include frame start, frame end, frame type, and so on. Through the identification, the length of the data frame, the type of the data frame, etc. can be judged, and the data can also be checked. When there is no data transmission, idle characters will be transmitted to ensure the continuity of link data transmission.

在实现以太网信号时需要进行多次时钟域转换。系统内部涉及的时钟域包括以太网时钟域,组帧/解帧、校验处理时钟域,信号收发时钟域。在FPGA主芯片内部数据处理时,涉及到多个时钟域之间的转换,时钟域划分示意图如图8所示,以太网时钟域包括千兆以太网时钟域、百兆以太网时钟域,千兆以太网时钟域内包括千兆以太网采集模块,百兆以太网时钟域内包括百兆以太网采集模块,组帧/解帧、校验处理时钟域包括组帧/解帧模块,信号收发时钟域包括高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块。同时各时钟域之间通过异步FIFO进行隔离,可实现数据高效、稳定的转换与传输。Multiple clock domain transitions are required to implement an Ethernet signal. The clock domains involved in the system include Ethernet clock domain, framing/de-framing, check processing clock domain, and signal sending and receiving clock domain. In the internal data processing of the FPGA main chip, it involves the conversion between multiple clock domains. The schematic diagram of the clock domain division is shown in Figure 8. The Ethernet clock domain includes the Gigabit Ethernet clock domain, the Fast Ethernet clock domain, the gigabit Ethernet clock domain, and the The Gigabit Ethernet clock domain includes the Gigabit Ethernet acquisition module, the Fast Ethernet clock domain includes the Fast Ethernet acquisition module, the framing/de-framing, verification processing clock domain includes the framing/de-framing module, and the signal sending and receiving clock domain It includes high-speed serial transceiver module, link error detection module, 64B/66B encoding/decoding module, parallel-serial/serial-parallel conversion module, and scrambling/descrambling module. At the same time, each clock domain is isolated by asynchronous FIFO, which can realize efficient and stable data conversion and transmission.

64B/66B编码技术是IEEE802.3工作组为10Gbps以太网提出的编码技术,目的是减少编码开销,降低硬件的复杂性。64B/66B编码将64bit数据或控制信息编码成66bit块传输,66bit块的前两位表示同步头,主要用于接收端的数据对齐和接收数据位流的同步。同步头有“01”和“10”两种,“01”表示后面64bit都是数据,“10”表示后面的64bit是数据和控制信息的混合,其中紧挨着同步头的8bit是数据类型域,后面56bit时控制信息或者数据或两者的结合。64B/66B coding technology is a coding technology proposed by IEEE802.3 working group for 10Gbps Ethernet, the purpose is to reduce coding overhead and hardware complexity. 64B/66B encoding encodes 64-bit data or control information into 66-bit blocks for transmission. The first two bits of the 66-bit block represent the synchronization header, which is mainly used for data alignment at the receiving end and synchronization of the received data bit stream. There are two kinds of synchronization headers: "01" and "10". "01" indicates that the following 64 bits are data, "10" indicates that the following 64 bits are a mixture of data and control information, and the 8 bits next to the synchronization header are the data type field. , the following 56bit control information or data or a combination of the two.

除同步码外,64bit的数据必须经过扰码之后才能进行传输。64B/66B所用的扰码器多项式为:f(x)=x58+x39+1。扰码是一种将数据重新排列或者进行编码以使其最佳化的发布方法,主要作用是将数字通信中的“0”和“1”分布随机化,从而使比特信息模式被随机化,进一步减轻抖动和码间串扰,提高了通信的可靠性。从本质上讲,扰码正是为了达到上述目的而在待传输数据进入信道传输之前,对其进行的比特层的随机处理过程,与扰码过程相对应的解随机化过程称之为解扰。扰码的数学原理使用了多项式,多项式的选择通常是基于扰码的特性,包括生成数据的随机度,以及打乱连0和连1的能力。一个简单的扰码器包含一组排列好的触发器,用于移位数据流。大部分的触发器只需要简单地输出下一个比特流即可,但是在某些复杂的扰码电路中,触发器需要与数据流中的每个比特进行逻辑运算。扰码/解码的示意图如图9a、9b所示,经过编码的串行数据输入扰码模块,经过扰码计算后输出扰码数据;输出的扰码数据传递至另一装置数据传输单元后,将扰码数据输入解扰模块,经过计算后,输出解扰数据,然后在解码模块进行解码。In addition to the synchronization code, 64bit data must be scrambled before it can be transmitted. The scrambler polynomial used by 64B/66B is: f(x)=x 58 +x 39 +1. Scrambling is a distribution method that rearranges or encodes data to optimize it. Its main function is to randomize the distribution of "0" and "1" in digital communication, so that the bit information pattern is randomized. It further reduces jitter and inter-symbol crosstalk and improves the reliability of communication. In essence, scrambling code is the random processing process of the bit layer before the data to be transmitted enters the channel transmission to achieve the above purpose. The de-randomization process corresponding to the scrambling process is called descrambling. . The mathematics of scrambling code uses polynomials, and the choice of polynomial is usually based on the characteristics of the scrambling code, including the randomness of the generated data, and the ability to scramble consecutive 0s and 1s. A simple scrambler consists of an array of flip-flops that shift the data stream. Most flip-flops simply output the next bit stream, but in some complex scrambling circuits, flip-flops need to perform logical operations with each bit in the data stream. The schematic diagrams of scrambling/decoding are shown in Figures 9a and 9b. The coded serial data is input to the scrambling module, and the scrambled data is output after scrambling calculation; after the output scrambled data is transmitted to the data transmission unit of another device, The scrambled data is input into the descrambling module, and after calculation, the descrambled data is output, and then decoded in the decoding module.

以太网物理层信号处理直接由硬件芯片完成,FPGA主芯片通过GMII/MII接口与以太网交换芯片进行交互,实现数据传递。在该系统的发送端,以太网信号先进入异步FIFO中,经过时钟域转换同步到本地时钟下进行处理,其中,发送端的异步FIFO写时钟由以太网交换芯片提供。在接收端中,首先将以太网信号存储在异步FIFO中,然后用以太网交换芯片接收时钟读取接收端异步FIFO完成以太网信号恢复。如图10所示,以太网信号采集/恢复模块包括以太网信号采集模块、以太网信号恢复模块,数据传输单元作为发送端时,以太网交换芯片向以太网信号采集模块输入时钟及GMII/MII信号,同时该模块输入本地时钟,输出有效数据标识、以太网数据流;数据传输单元作为接收端时,本地时钟、有效数据标识、以太网数据流输入以太网信号恢复模块,同时输入以太网交换芯片的时钟,输出GMII/MII信号。The signal processing of the Ethernet physical layer is directly completed by the hardware chip, and the FPGA main chip interacts with the Ethernet switching chip through the GMII/MII interface to realize data transmission. At the sending end of the system, the Ethernet signal first enters the asynchronous FIFO, and is synchronized to the local clock through clock domain conversion for processing. The asynchronous FIFO writing clock of the sending end is provided by the Ethernet switch chip. In the receiving end, the Ethernet signal is first stored in the asynchronous FIFO, and then the Ethernet switching chip is used to receive the clock to read the asynchronous FIFO of the receiving end to complete the Ethernet signal recovery. As shown in Figure 10, the Ethernet signal acquisition/recovery module includes an Ethernet signal acquisition module and an Ethernet signal recovery module. When the data transmission unit is used as the sender, the Ethernet switch chip inputs the clock and GMII/MII to the Ethernet signal acquisition module. At the same time, the module inputs the local clock, and outputs the valid data ID and Ethernet data stream; when the data transmission unit is used as the receiving end, the local clock, valid data ID, and Ethernet data stream are input to the Ethernet signal recovery module, and are input to the Ethernet switch at the same time. Chip clock, output GMII/MII signal.

链路误码检测模块主要包含发送和接收两部分,如图11所示为链路误码检测模块的功能框图。链路误码检测模块的发送部分的测试码发生器产生一个已知的测试数字序列,如图所示的M序列生成器生成32为位M序列;编码后送入被检测系统的输入端,经过被测系统传输后输出,进入链路误码检测模块的接收部分解码并从接收信号中得到同步时钟,接收部分的测试码发生器产生和发送部分相同的并且同步的数字序列,和接收到的信号进行比较,如果不一致便是误码,用计数器对误码的位数进行计数,然后记录存储、分析、显示测试结果,如图所示的帧同步和误码检测模块对编码后的32位M序列进行解码,同时与测试吗发生器产生的数字序列进行比对,如果不一致,输出错误码,误码统计模块进行计数,并将告警信号输出,以便于记录存储、分析、显示测试结构。The link error detection module mainly includes two parts: sending and receiving. Figure 11 shows the functional block diagram of the link error detection module. The test code generator of the transmission part of the link error detection module generates a known test digital sequence, and the M sequence generator as shown in the figure generates 32-bit M sequences; after encoding, it is sent to the input end of the detected system, After being transmitted by the system under test and output, it enters the receiving part of the link error detection module to decode and obtain the synchronization clock from the received signal. The test code generator of the receiving part generates the same and synchronized digital sequence as the transmitting part, and receives the If there is any inconsistency, it is a bit error. Use a counter to count the number of bits in the error code, and then record, store, analyze, and display the test results. The frame synchronization and error detection module as shown in the figure The bit M sequence is decoded, and at the same time, it is compared with the digital sequence generated by the test generator. If it is inconsistent, the error code is output, the error code statistics module counts, and the alarm signal is output to facilitate record storage, analysis, and display of the test structure. .

本系统可实现链路误码检测,当发送端发送误码检测指令到接收端,接收端在检测到指令时将接收链路与发送链路回环,系统进入链路误码检测状态。误码检测主要包含以下几个过程和步骤:(1)以某种方式产生和发送的伪随机序列,并以相同相位的本地伪随机序列作为比较标准;(2)将本地伪随机序列与接收伪随机序列逐个进行比较,并输出误码标识信号;(3)对误码标识信号进行统计,计算出相应的误码率。The system can implement link error detection. When the sender sends an error detection command to the receiver, the receiver loops back the receive link and the sender when the command is detected, and the system enters the link error detection state. Error detection mainly includes the following processes and steps: (1) a pseudo-random sequence generated and transmitted in a certain way, and the local pseudo-random sequence of the same phase is used as the comparison standard; (2) the local pseudo-random sequence is compared with the receiving The pseudo-random sequences are compared one by one, and the error identification signal is output; (3) The error identification signal is counted to calculate the corresponding error rate.

高速串行收发模块采用Xilinx GTX硬核实现。由Xilinx core generate生成,在配置GTX数据收发速率为10.3125Gbps。GTX在进行数据直流平衡时有多种编码模式可用,如:8B/10B编解码,64B/66B编解码和64B/67B编解码等。串行速率较低时常用8B/10B编解码技术对数据进行处理,在数据速率较高时使用64B/66B和64B/67B编解码。本方案将采用64B/66B编解码技术实现数据直流平衡。采用该编码技术需要在系统内部实现多时钟域转换,对内部时钟布局布线要求较高。设计代码时需要使用内部专用时钟资源保证设计的可实现性。高速串行收发模块包括发送和接收两部分,与串并/并串转换模块、64B/66B编码/解码模块配合,主要实现数据的编解码和并串/串并转换,并输出参考时钟供其他模块使用。其中,GTX发送端实现数据的编码和并串转换。GTX收发模块内置有锁相环,外部输入时钟经锁相环输出,可有效降低时钟的抖动和频偏。同时在接收端内置CDR电路可恢复出数据时钟,用于接收端数据处理。The high-speed serial transceiver module is implemented with Xilinx GTX hard core. Generated by Xilinx core generate, the GTX data transmission and reception rate is 10.3125Gbps in configuration. GTX has a variety of encoding modes available when performing data DC balance, such as: 8B/10B codec, 64B/66B codec and 64B/67B codec, etc. When the serial rate is low, 8B/10B codec technology is commonly used to process data, and when the data rate is high, 64B/66B and 64B/67B codecs are used. This solution will use 64B/66B codec technology to achieve data DC balance. Adopting this coding technology needs to realize multi-clock domain conversion within the system, and has higher requirements on the layout and wiring of the internal clock. When designing code, it is necessary to use internal dedicated clock resources to ensure the achievability of the design. The high-speed serial transceiver module includes two parts: sending and receiving. It cooperates with the serial-parallel/parallel-serial conversion module and the 64B/66B encoding/decoding module. It mainly realizes data encoding and decoding and parallel-serial/serial-parallel conversion, and outputs a reference clock for other module usage. Among them, the GTX sender implements data encoding and parallel-serial conversion. The GTX transceiver module has a built-in phase-locked loop, and the external input clock is output through the phase-locked loop, which can effectively reduce the jitter and frequency deviation of the clock. At the same time, the built-in CDR circuit at the receiving end can recover the data clock for data processing at the receiving end.

现有技术中,列车通过以太网信号进行传输,每一路信号单独传输,列车需要几路以太网信号就需要铺设相应路数的电缆组件。本方案通过电信号复用后转换为光信号,传输的链路比较简洁,一路(采用波分复用光模块)或两路光纤就可以满足多路以太网信号的传输需求,同时增加以太网传输路数的时候只需要增加软件接口的配置,不需要重新增加铺设光纤数量。In the prior art, the train transmits through Ethernet signals, and each signal is transmitted independently. If the train needs several Ethernet signals, a corresponding number of cable assemblies need to be laid. This solution converts electrical signals into optical signals after multiplexing, and the transmission link is relatively simple. One channel (using wavelength division multiplexing optical module) or two channels of optical fiber can meet the transmission requirements of multi-channel Ethernet signals, while adding Ethernet When the number of transmission channels is increased, only the configuration of the software interface needs to be increased, and there is no need to increase the number of laying fibers.

该系统由硬件电路和软件程序两部分组成,硬件电路主要包含外部信号接口、电源电路、以太网交换芯片、光电/电光转换模块、FPGA主芯片。该系统可采用单纤双向或双纤双向进行传输,完成点对点通信。The system consists of hardware circuit and software program. The hardware circuit mainly includes external signal interface, power supply circuit, Ethernet switching chip, photoelectric/electrical-optical conversion module, and FPGA main chip. The system can use single-fiber bidirectional or dual-fiber bidirectional transmission to complete point-to-point communication.

在一个数据传输单元中,多路以太网信号组合之后通过光纤进行传输,传输速率为10Gbps,数据组帧/解帧模块将采集到的数据按照设定的帧格式进行组装,之后经编码、并串转换模块将10Gbps调制信号输出。另一个数据传输单元在接收到信号之后,通过串并转换、解码后恢复出数据帧形式,通过解帧将以太网信号输出,同时,链路状态监测模块实时对当前链路状态进行检测。In a data transmission unit, multi-channel Ethernet signals are combined and transmitted through optical fibers, and the transmission rate is 10Gbps. The data framing/de-framing module assembles the collected data according to the set frame format, and then encodes and de-frames the data. The serial conversion module outputs the 10Gbps modulated signal. After receiving the signal, another data transmission unit restores the data frame form through serial-parallel conversion and decoding, and outputs the Ethernet signal by de-framing. At the same time, the link status monitoring module detects the current link status in real time.

软件采用模块化设计,其中10Gbps通路部分可提供64位位宽,其他接口模块,如千兆以太网采集模块等,可根据控制信号和占据的数据位宽给10Gbps通路发送数据,实现数据组合传输。64位接口是数据接口,同时需要为后端模块提供多种频率的时钟来供后端模块使用,其中后端分频时钟需要与GTX用户时钟同源,便于后续模块复用,分频时需要借助FPGA内部的DCM模块实现。The software adopts a modular design, in which the 10Gbps channel part can provide a 64-bit bit width, and other interface modules, such as Gigabit Ethernet acquisition modules, etc., can send data to the 10Gbps channel according to the control signal and the occupied data bit width to realize data combined transmission. . The 64-bit interface is a data interface. At the same time, it is necessary to provide the back-end module with clocks of various frequencies for use by the back-end module. The back-end frequency division clock needs to be the same source as the GTX user clock, which is convenient for subsequent modules to reuse. It is realized with the help of the DCM module inside the FPGA.

尽管已经展示和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principle and spirit of the invention Variations, the scope of the invention is defined by the appended claims and their equivalents.

Claims (17)

1.一种数据传输系统,其特征在于:包括至少两个数据传输单元,其中两个数据传输单元分别为第一数据传输单元、第二数据传输单元,第一数据传输单元至少包括一个光信号接收端,第二数据传输单元至少包括一个光信号发送端,光信号接收端通过光纤接收光信号发送端发送的光信号。1. A data transmission system, characterized in that it comprises at least two data transmission units, wherein the two data transmission units are respectively a first data transmission unit and a second data transmission unit, and the first data transmission unit comprises at least one optical signal The receiving end, the second data transmission unit includes at least one optical signal transmitting end, and the optical signal receiving end receives the optical signal sent by the optical signal transmitting end through the optical fiber. 2.根据权利要求1所述的一种数据传输系统,其特征在于:所述第二数据传输单元包括第二数字信号接收部、第二数字信号处理部,所述第二数字信号接收部与N路电缆通信连接,用于接收N路电缆的电信号,第二数字信号处理部将接收到的N路电信号进行聚合,形成M路电信号,第二数字信号处理部与第二光电转换装置连接,M路电信号通过第二光电转换装置转换为T路光信号,光信号通过光信号发送端发送并由光纤传输,所述N≥1,M≤N,T≤N。2 . The data transmission system according to claim 1 , wherein the second data transmission unit comprises a second digital signal receiving part and a second digital signal processing part, and the second digital signal receiving part is connected to N-way cable communication connection is used to receive electrical signals of N-way cables. The second digital signal processing part aggregates the received N-way electrical signals to form M-way electrical signals. The second digital signal processing part and the second photoelectric conversion The device is connected, and the M circuits of electrical signals are converted into T circuits of optical signals through the second photoelectric conversion device, and the optical signals are sent through the optical signal transmitting end and transmitted by the optical fiber, where N≥1, M≤N, T≤N. 3.根据权利要求2所述的一种数据传输系统,其特征在于:所述第二数据传输单元包括第二交换机,所述N路电缆与第二交换机连接,第二交换机与第二数字信号接收部之间设置第二以太网信号转换装置,N路电缆的电信号通过第二交换机传输至第二以太网信号转换装置,经过转换的信号传递至第二数字信号接收部。3 . The data transmission system according to claim 2 , wherein the second data transmission unit comprises a second switch, the N-way cable is connected to the second switch, and the second switch is connected to the second digital signal. 4 . A second Ethernet signal conversion device is arranged between the receiving parts, the electrical signals of the N cables are transmitted to the second Ethernet signal conversion device through the second switch, and the converted signal is transmitted to the second digital signal receiving part. 4.根据权利要求2所述的一种数据传输系统,其特征在于:所述第二数字信号处理部包括组帧模块、时钟域变换模块、扰码模块、编码模块、链路误码检测模块、并串转换模块、高速串行收发模块,N路电信号通过上述模块聚合成M路电信号。4. A data transmission system according to claim 2, characterized in that: the second digital signal processing part comprises a framing module, a clock domain transformation module, a scrambling module, an encoding module, and a link error detection module , a parallel-serial conversion module, a high-speed serial transceiver module, and N circuits of electrical signals are aggregated into M circuits of electrical signals through the above modules. 5.根据权利要求1所述的一种数据传输系统,其特征在于:所述第一数据传输单元包括第一数字信号接收部、第一数字信号处理部,所述光信号接收端与第一光电转换装置连接,第一光电转换装置将接收到的T路光信号转换为M路电信号,然后传输到所述第一数字信号接收部,所述M路电信号经过第一数字信号处理部处理后,恢复成N路电信号,传输给对应的N路电缆,或者,第一数字信号接收部将所述M路电信号发送给另一光电转换装置,将转换后的信号再向另一数据传输单元发送,所述N≥1,M≤N,T≤N。5 . The data transmission system according to claim 1 , wherein the first data transmission unit comprises a first digital signal receiving part and a first digital signal processing part, and the optical signal receiving end is connected to the first digital signal receiving part. 6 . The photoelectric conversion device is connected, and the first photoelectric conversion device converts the received T-channel optical signal into M-channel electrical signal, and then transmits it to the first digital signal receiving part, and the M-channel electrical signal passes through the first digital signal processing part. After processing, it is restored to N circuits of electrical signals and transmitted to the corresponding N circuits of cables, or, the first digital signal receiving part sends the M circuits of electrical signals to another photoelectric conversion device, and then transmits the converted signals to another. The data transmission unit sends, the N≥1, M≤N, T≤N. 6.根据权利要求5所述的一种数据传输系统,其特征在于:第一数字信号处理部通过第一以太网信号转换装置与第一交换机连接,第一交换机与对应的N路电缆连接,N路电信号经过第一以太网转换装置转换后传递至第一交换机,然后传递至N路电缆。6. A data transmission system according to claim 5, wherein the first digital signal processing part is connected with the first switch through the first Ethernet signal conversion device, and the first switch is connected with the corresponding N-way cables, The N circuits of electrical signals are converted by the first Ethernet converting device and then transmitted to the first switch, and then transmitted to the N circuits of cables. 7.根据权利要求5所述的一种数据传输系统,其特征在于:所述第一数字信号处理部包括串并转换模块、链路误码检测模块、解码模块、解扰模块、时钟域变换模块、解帧模块、高速串行收发模块,M路电信号经过上述模块处理后恢复成N路电信号。7. A data transmission system according to claim 5, characterized in that: the first digital signal processing part comprises a serial-to-parallel conversion module, a link error detection module, a decoding module, a descrambling module, and a clock domain transform module, deframing module, high-speed serial transceiver module, M circuit electrical signals are restored to N circuits electrical signals after being processed by the above modules. 8.一种N路数据发送方法,其特征在于:所述方法使用权利要求1至7任意一项所述数据传输系统,该方法包括以下步骤:8. An N-way data transmission method, characterized in that: the method uses the data transmission system described in any one of claims 1 to 7, and the method comprises the following steps: 步骤1、数据发生源向数据传输单元发出N路电信号,其中N≥1;Step 1. The data generating source sends N electrical signals to the data transmission unit, where N≥1; 步骤2、数据传输单元接收所述N路电信号,并将所述N路电信号进行聚合转换,生成M路的电信号,其中M≤N;Step 2, the data transmission unit receives the N circuits of electrical signals, and aggregates and converts the N circuits of electrical signals to generate M circuits of electrical signals, where M≤N; 步骤3、所述M路电信号通过所述光电转换装置,转换为T路光信号,其中,T≤N;Step 3. The M circuits of electrical signals are converted into T circuits of optical signals by the photoelectric conversion device, where T≤N; 步骤4、所述T路光信号通过光信号发送端发送,并由T路光纤传输。Step 4: The T-path optical signal is sent through the optical signal sending end, and is transmitted by the T-path optical fiber. 9.根据权利要求8所述的一种N路数据发送方法,其特征在于:在数据聚合转换过程中,所述N路电信号通过数据传输单元中的组帧模块,按照设定的帧格式进行组装,并通过编码模块、并串转换模块、高速串行收发模块将M路电信号输出。9. A kind of N-way data transmission method according to claim 8, it is characterized in that: in the data aggregation conversion process, described N-way electrical signal passes through the framing module in the data transmission unit, according to the frame format set Assemble, and output the M circuit electrical signals through the encoding module, the parallel-serial conversion module, and the high-speed serial transceiver module. 10.根据权利要求8所述的一种N路数据发送方法,其特征在于:数据传输单元设置时钟域,包括以太网时钟域,组帧/解帧、校验处理时钟域,信号收发时钟域;以太网时钟域包括千兆以太网时钟域、百兆以太网时钟域,千兆以太网时钟域内包括千兆以太网采集模块,百兆以太网时钟域内包括百兆以太网采集模块,组帧/解帧、校验处理时钟域包括组帧/解帧模块,信号收发时钟域包括高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块;各时钟域之间通过异步FIFO进行隔离,数据聚合转换过程中,通过时钟域变换模块处理多个时钟域之间的转换。10. A kind of N-way data transmission method according to claim 8, it is characterized in that: data transmission unit sets clock domain, comprises Ethernet clock domain, framing/deframe, check processing clock domain, signal sending and receiving clock domain ;Ethernet clock domain includes Gigabit Ethernet clock domain, Fast Ethernet clock domain, Gigabit Ethernet clock domain includes Gigabit Ethernet acquisition module, Fast Ethernet clock domain includes Fast Ethernet acquisition module, framing The clock domain for de-framing and verification processing includes framing/de-framing modules, and the signal transceiver clock domain includes high-speed serial transceiver modules, link error detection modules, 64B/66B encoding/decoding modules, and parallel-serial/serial-parallel conversion modules. , scrambling/descrambling module; each clock domain is isolated by asynchronous FIFO, and in the process of data aggregation conversion, the clock domain transformation module handles the conversion between multiple clock domains. 11.根据权利要求8所述的一种N路数据发送方法,其特征在于:在数据聚合转换过程中,经过编码的串行数据输入数据传输单元中的扰码模块,经过扰码计算后输出扰码数据。11. A kind of N-way data transmission method according to claim 8, it is characterized in that: in the data aggregation conversion process, the scrambling code module in the data transmission unit through the coded serial data input, after the scrambling code calculation, output scrambled data. 12.根据权利要求8所述的一种N路数据发送方法,其特征在于:数据聚合转换过程中,数据传输单元中,链路误码检测模块发送部分的测试码发生器,产生一个测试数字序列,编码后送入数据传输单元的输入端,经过数据传输单元传输后输出。12. A kind of N-way data transmission method according to claim 8, is characterized in that: in the data aggregation conversion process, in the data transmission unit, the test code generator of the link error code detection module sending part, produces a test number The sequence, after encoding, is sent to the input end of the data transmission unit, and is output after being transmitted by the data transmission unit. 13.一种光信号数据接收方法,使用权利要求1至7任意一项所述数据传输系统,该方法包括以下步骤:13. A method for receiving optical signal data, using the data transmission system according to any one of claims 1 to 7, the method comprising the following steps: 步骤1、光信号源向数据传输单元发出T路光信号,所述T路光信号由T根光纤传输;Step 1. The optical signal source sends T optical signals to the data transmission unit, and the T optical signals are transmitted by T optical fibers; 步骤2、T路光信号通过光电转换装置转换成M路电信号;Step 2, the T-path optical signal is converted into the M-path electrical signal through the photoelectric conversion device; 步骤3、数据传输单元对M路电信号进行信号分离操作,得到目标信号,所述目标信号由N路子信号构成;Step 3, the data transmission unit performs a signal separation operation on the M circuits of electrical signals to obtain a target signal, and the target signal is composed of N circuits of sub-signals; 步骤4、将所述N路子信号发送至数据应用端;Step 4, sending the N-way sub-signals to the data application terminal; 所述N≥1,M≤N,T≤N。Said N≥1, M≤N, T≤N. 14.根据权利要求13所述的一种光信号数据接收方法,其特征在于:在信号分离操作过程中,M路电信号通过串并转换模块、解码模块后恢复出数据帧形式,通过解帧模块输出目标信号。14. A method for receiving optical signal data according to claim 13, characterized in that: in the process of signal separation operation, the M circuits of electrical signals pass through the serial-to-parallel conversion module and the decoding module to recover the data frame form, The module outputs the target signal. 15.根据权利要求13所述的一种光信号数据接收方法,其特征在于:数据传输单元设置多个时钟域,包括以太网时钟域,组帧/解帧、校验处理时钟域,信号收发时钟域;以太网时钟域包括千兆以太网时钟域、百兆以太网时钟域,千兆以太网时钟域内包括千兆以太网采集模块,百兆以太网时钟域内包括百兆以太网采集模块,组帧/解帧、校验处理时钟域包括组帧/解帧模块,信号收发时钟域包括高速串行收发模块、链路误码检测模块、64B/66B编码/解码模块、并串/串并转换模块、扰码/解扰模块;各时钟域之间通过异步FIFO进行隔离,信号分离操作过程中,通过时钟域变换模块处理多个时钟域之间的转换。15. A method for receiving optical signal data according to claim 13, characterized in that: the data transmission unit is provided with a plurality of clock domains, including an Ethernet clock domain, a framing/de-framing, a check processing clock domain, a signal transceiving Clock domain; Ethernet clock domain includes Gigabit Ethernet clock domain, Fast Ethernet clock domain, Gigabit Ethernet clock domain includes Gigabit Ethernet acquisition module, Fast Ethernet clock domain includes Fast Ethernet acquisition module, Framing/de-framing, check processing clock domain includes framing/de-framing module, signal transceiver clock domain includes high-speed serial transceiver module, link error detection module, 64B/66B encoding/decoding module, parallel-serial/serial-parallel module Conversion module, scrambling/descrambling module; each clock domain is isolated by asynchronous FIFO. During the signal separation operation, the clock domain transformation module handles the conversion between multiple clock domains. 16.根据权利要求13所述的一种光信号数据接收方法,其特征在于:在信号分离操作过程中,将扰码数据输入解扰模块,经过计算后,输出解扰数据,然后在解码模块进行解码。16. A method for receiving optical signal data according to claim 13, characterized in that: in the process of signal separation operation, the scrambled data is input into the descrambling module, after calculation, the descrambled data is output, and then in the decoding module to decode. 17.根据权利要求13所述的一种光信号数据接收方法,其特征在于:在信号分离操作过程,在数据传输单元中,信号进入链路误码检测模块的接收部分解码,并从信号中得到同步时钟,接收部分的测试码发生器产生和发送部分相同的并且同步的数字序列,和接收到的信号进行比较,如果不一致便是误码,用计数器对误码的位数进行计数,然后记录存储、分析、显示测试结果。17. A method for receiving optical signal data according to claim 13, characterized in that: in the signal separation operation process, in the data transmission unit, the signal enters the receiving part of the link error detection module for decoding, and deciphers the signal from the signal. To get the synchronization clock, the test code generator of the receiving part generates the same and synchronized digital sequence as the transmitting part, and compares it with the received signal. Record storage, analysis, display test results.
CN202210732433.0A 2022-06-24 2022-06-24 Data transmission system and data sending and receiving method Pending CN115208472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210732433.0A CN115208472A (en) 2022-06-24 2022-06-24 Data transmission system and data sending and receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210732433.0A CN115208472A (en) 2022-06-24 2022-06-24 Data transmission system and data sending and receiving method

Publications (1)

Publication Number Publication Date
CN115208472A true CN115208472A (en) 2022-10-18

Family

ID=83578263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210732433.0A Pending CN115208472A (en) 2022-06-24 2022-06-24 Data transmission system and data sending and receiving method

Country Status (1)

Country Link
CN (1) CN115208472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024198138A1 (en) * 2023-03-31 2024-10-03 昂纳科技(深圳)集团股份有限公司 Wireless communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160343A (en) * 2006-12-22 2008-07-10 Nippon Telegr & Teleph Corp <Ntt> Optical transmission method, optical transmitter, and optical transmission system
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN106508099B (en) * 2009-06-17 2014-05-14 上海电控研究所 Vehicle-mounted high speed fibre Transmission system
CN108254087A (en) * 2017-12-28 2018-07-06 国家电网公司 A kind of single-photon detector system and control method
CN112564791A (en) * 2020-11-30 2021-03-26 中航光电科技股份有限公司 Wireless optical transmission module and assembly thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160343A (en) * 2006-12-22 2008-07-10 Nippon Telegr & Teleph Corp <Ntt> Optical transmission method, optical transmitter, and optical transmission system
CN106508099B (en) * 2009-06-17 2014-05-14 上海电控研究所 Vehicle-mounted high speed fibre Transmission system
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN108254087A (en) * 2017-12-28 2018-07-06 国家电网公司 A kind of single-photon detector system and control method
CN112564791A (en) * 2020-11-30 2021-03-26 中航光电科技股份有限公司 Wireless optical transmission module and assembly thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024198138A1 (en) * 2023-03-31 2024-10-03 昂纳科技(深圳)集团股份有限公司 Wireless communication system

Similar Documents

Publication Publication Date Title
USRE48506E1 (en) Method and system for a multi-rate gigabit media independent interface
US7362797B2 (en) Physical layer device having an analog SERDES pass through mode
US7111208B2 (en) On-chip standalone self-test system and method
US7472318B2 (en) System and method for determining on-chip bit error rate (BER) in a communication system
EP1738533B1 (en) Transceiver with automatic configuration based on auto-negociation
CN107276753B (en) Quantum key distribution system and method for channel multiplexing
US11310138B2 (en) Method and apparatus for indicating fault in flexible ethernet
TWI381694B (en) Dual purpose serializer/de-serializer for point-to-point and point-to-multipoint communication
CN102164062B (en) Ethernet system, multirate Ethernet and method thereof
AU2005237495A1 (en) 10/100/1000/2500 Mbps serial media independent interface (SGMII)
CN109120624A (en) A kind of more plane loose coupling high band wide data exchange systems
CN101035143B (en) Physical layer chip, signal transmission method and switch
US7411946B2 (en) Network monitor and method
WO2017012517A1 (en) Hybrid physical coding sub-layer and method for transmitting and receiving data, and storage medium
CN102025421A (en) Gigabit broadband isolation pseudo-synchronous digital hierarchical (PDH) optical transmitter and receiver
CN115208472A (en) Data transmission system and data sending and receiving method
CN101359963B (en) Dual Ethernet optical fiber transceiver, transceiving method and system
CN102215173B (en) Ethernet service transmitting and receiving method and device capable of dynamically configuring bandwidth
CN102510484B (en) Video optical transceiver, and video transmission system and method
CN113676310B (en) Data transmission device for radar system
WO2003081785A1 (en) Physcial layer device having an analog serdes pass through mode
CN201286102Y (en) Double Ethernet optical fiber transceiver and system
CN103532788A (en) Detection equipment for flow of EPON (Ethernet Passive Optical Network) terminal user
US20030011836A1 (en) Generation and detection of optical maintenance signals in optical networks
JPH06152617A (en) Apparatus for passively decoding of action in fiber wiring data interface network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20221018

RJ01 Rejection of invention patent application after publication