Data transmission method and device for high-speed time-triggered bus

By introducing 4B5B encoding and NRZI encoding into the TTP protocol, combining multi-phase site sampling and cross-layer redundancy verification, the TTP protocol's insufficient transmission rate and signal quality problems during high-speed data transmission are solved, and the data transmission rate of 100Mbps and higher signal accuracy are achieved.

CN119814497AActive Publication Date: 2025-04-11UNIV OF ELECTRONICS SCI & TECH OF CHINA +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510035872.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-04-11
Estimated Expiration
2045-01-09

AI Technical Summary

Technical Problem

The existing TTP protocols face problems such as insufficient transmission rate, signal attenuation or distortion during high-speed data transmission, and difficult to meet the needs of high-performance sensors by clock extraction technology and time-domain oversampling technology.

Method used

4B5B encoding and NRZI encoding technology are adopted, combined with multi-phase site sampling technology and cross-layer redundancy verification, to improve data transmission rate and reduce the impact of frequency deviation and phase offset on node synchronization.

Benefits of technology

The TTP bus data rate is increased from the traditional 5-25Mbps to 100Mbps, meeting the needs of high-speed data transmission and improving the accuracy and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814497A_ABST
    Figure CN119814497A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission mode and device for a high-speed time-triggered bus, and relates to the technical field of communication networks, and the method comprises the following steps: a TTP protocol layer packages data according to a pre-configured data frame format, obtains parallel data, and issues the parallel data to a coding and decoding layer; the coding and decoding layer carries out coding processing and parallel-serial conversion processing on the parallel data issued by the TTP protocol layer to obtain serial data, and issues the serial data to the physical layer for transmission; the physical layer uploads the serial data to a coding and decoding layer for sampling a plurality of phase points to obtain multiple paths of sampling data; the coding and decoding layer carries out decoding processing and serial-parallel conversion processing on the multiple paths of sampling data to obtain multiple paths of parallel data, and uploads the multiple paths of parallel data to the TTP protocol layer; wherein one path of sampling data corresponds to one path of parallel data; and the TTP protocol layer performs data verification on each path of parallel data, and after the verification is passed, the corresponding path of parallel data is transmitted correctly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication network technology, and more specifically, to a data transmission method and device for a high-speed time-triggered bus. Background Art

[0002] Aircraft management system is a key component of modern aircraft. With the continuous increase of airborne system functions, aircraft management system has gradually transitioned from centralized architecture to distributed architecture. In the distributed architecture, each subsystem is interconnected and communicated through a network or bus, which puts higher requirements on the real-time, deterministic and security of network or bus communication.

[0003] At present, a time-triggered architecture (TTA) based TTP (Time Triggered Protocol) has been proposed, which realizes safety-critical and hard real-time characteristics through time division multiplexing, time synchronization, member confirmation, fault detection and redundant design. TTP has been widely used in many aerospace systems, such as the digital engine control system of F-16 and M-346, the cabin pressure control system of A380 and the environmental control system of Boeing 787.

[0004] The 5–25Mbps transmission rate currently supported by TTP can no longer meet the needs of high-performance sensors. When using MLVDS chips for high-speed data transmission, the following problems may occur, affecting the correct transmission and reception of data: 1. During high-speed data transmission, due to the frequency deviation of the crystal oscillators between different nodes, the relative phase between the nodes may shift irregularly. At the same time, the interference of the transmission medium may also cause signal attenuation or distortion, which ultimately affects the accurate reception of data. 2. The current coding layer of TTP mainly uses Manchester coding, and its actual data transmission rate is only half of the link rate. When you want to achieve a data transmission rate of 100Mbps or even higher, the required clock frequency may exceed the upper limit of the clock frequency of the MLVDS chip. 3. The currently commonly used data sampling methods are clock extraction technology, time domain oversampling technology, and spatial oversampling technology. For clock extraction technology, considering that the node frequency is non-ideal, there are frequency deviations and frequency drifts. The clock received by the data frame aligned with the preamble will shift after a certain period of time. For the time domain oversampling technology, if the 125Mhz data is oversampled 5 times in the time domain, the required frequency will reach 625Mhz, which the FPGA cannot bear. Summary of the invention

[0005] The purpose of the present invention is to provide a data transmission method and device for a high-speed time-triggered bus, which solves the problems of transmission rate and accuracy in the data transmission process in the related technology.

[0006] A first aspect of the present invention provides a data transmission method for a high-speed time-triggered bus, which is applied to a data transmission architecture, wherein the data transmission architecture includes a TTP protocol layer, a coding layer, and a physical layer, and the method includes:

[0007] The TTP protocol layer encapsulates the data according to the pre-configured data frame format, obtains parallel data, and sends the parallel data to the encoding and decoding layer;

[0008] The encoding and decoding layer encodes and performs parallel-to-serial conversion on the parallel data sent by the TTP protocol layer to obtain serial data, and sends the serial data to the physical layer for transmission;

[0009] The physical layer uploads the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data;

[0010] The encoding and decoding layer performs decoding and serial-to-parallel conversion on the multiple sampling data to obtain multiple parallel data, and uploads the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data;

[0011] The TTP protocol layer performs data verification on each channel of parallel data. When the verification passes, the corresponding channel of parallel data is transmitted correctly.

[0012] In one implementation, the data frame format includes a preamble, a frame header, a TTP frame, and a frame trailer.

[0013] In one implementation, the codec layer performs encoding and parallel-to-serial conversion on the parallel data sent by the TTP protocol layer to obtain serial data, specifically:

[0014] Encoding the parallel data using a first encoding method to obtain first encoded data;

[0015] Performing parallel-to-serial conversion on the first coded data to obtain serial data corresponding to the first coded data;

[0016] The serial data corresponding to the first coded data is coded by using the second coding method to obtain the serial data.

[0017] In one implementation, the first encoding method is 4B5B encoding, and the second encoding method is NRZI encoding.

[0018] In one implementation, the serial data is uploaded to the codec layer for sampling at multiple phase points to obtain multi-channel sampling data, specifically:

[0019] Configure a first sampling clock signal without phase offset and a second sampling clock signal with a 90 degree phase offset;

[0020] According to the number of phase points, the number of phase offsets of the serial data is adjusted, and according to the number of phase offsets and the number of phase points, the phase offset value in the oversampling process is adjusted;

[0021] Shifting the phase of the serial data based on the phase offset value to obtain phase-shifted data;

[0022] The serial data and the phase-shifted data are sampled by using the rising edge and the falling edge of the first sampling clock signal and the second sampling clock signal to obtain multi-channel sampling data.

[0023] In one implementation, the expression for adjusting the number of phase offsets of serial data is: Where N represents the number of phase shifts, and k represents the number of phase points;

[0024] The expression for adjusting the phase offset value in the oversampling process is:

[0025] In one implementation, the codec layer performs decoding and serial-to-parallel conversion on multiple sampling data to obtain multiple parallel data, specifically:

[0026] Decoding the multiple sampling data using a second decoding method to obtain multiple first decoding data;

[0027] Perform serial-to-parallel conversion on the multiple channels of first decoded data to obtain serial data corresponding to the multiple channels of first decoded data;

[0028] The first decoding method is used to decode the serial data corresponding to the multiple channels of first decoded data to obtain multiple channels of parallel data.

[0029] In one implementation, the first decoding method is 4B5B decoding, and the second decoding method is NRZI decoding.

[0030] In one implementation, the data verification method is CRC verification.

[0031] A second aspect of the present invention provides a data transmission device for a high-speed time-triggered bus, which is applied to a data transmission architecture, wherein the data transmission architecture includes a TTP protocol layer, a coding layer, and a physical layer, and the device includes:

[0032] A first data processing module, configured to encapsulate data in a pre-configured data frame format at the TTP protocol layer, obtain parallel data, and send the parallel data to the encoding and decoding layer;

[0033] The second data processing module is used for the encoding and decoding layer to encode and convert the parallel data sent by the TTP protocol layer to obtain serial data, and send the serial data to the physical layer for transmission;

[0034] A third data processing module is used for the physical layer to upload the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data;

[0035] A fourth data processing module is used for the encoding and decoding layer to decode and serial-to-parallel convert the multiple sampling data to obtain multiple parallel data, and upload the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data;

[0036] The fifth data processing module is used for the TTP protocol layer to perform data verification on each channel of parallel data. When the verification passes, the corresponding channel of parallel data is transmitted correctly.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention firstly introduces a coding technology with higher link rate utilization in the coding part, namely 4B5B coding and NRZI coding, which improves the data transmission rate and effectively reduces bandwidth waste; secondly, it adopts multi-phase point sampling technology and cross-layer redundancy check to reduce the influence of frequency deviation and phase offset between nodes on node synchronization. Thus, the TTP bus data rate is increased from the traditional 5-25Mbps to 100Mbps, meeting the demand for high-speed data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0040] Figure 1 A schematic diagram of the structure of a data transmission architecture provided by an embodiment of the present invention;

[0041] Figure 2 A schematic diagram of a data frame format provided by an embodiment of the present invention;

[0042] Figure 3 A schematic flow chart of a data transmission method for a high-speed time-triggered bus provided by an embodiment of the present invention;

[0043] Figure 4 A sampling schematic diagram of eight-phase point sampling provided by an embodiment of the present invention;

[0044] Figure 5A principle block diagram of a data transmission device for a high-speed time-triggered bus provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0046] It should be noted that the terms "include" or "may include" used in various embodiments of the present application indicate the presence of the function, operation or element applied for, and do not limit the addition of one or more functions, operations or elements. In addition, as used in various embodiments of the present application, the terms "include", "have" and their cognates are only intended to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items.

[0047] In various embodiments of the present application, the expression "or" or "at least one of B or / and C" includes any combination or all combinations of the words listed at the same time. For example, the expression "B or C" or "at least one of B or / and C" may include B, may include C, or may include both B and C.

[0048] It should be understood that terms such as "first" and "second" are only used for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0049] Please refer to Figure 3 , Figure 3 A flow chart of a data transmission method for a high-speed time-triggered bus provided by an embodiment of the present invention is provided. The method is applied to a data transmission architecture. The composition of the data transmission architecture is shown in FIG. Figure 1 , Figure 1The structural diagram of the data transmission architecture provided by the embodiment of the present invention includes a TTP protocol layer, a coding layer and a physical layer, and is composed of the following parts: a sampling module, a coding module, a cross-layer redundancy check module, and the cross-layer redundancy check module includes a decoding module and a CRC check module. The method includes the following processes: 1. Sending process: from the TTP protocol layer to the physical layer, the coding module is passed in the middle; 2. Receiving process: from the physical layer to the TTP protocol layer, the sampling module, the decoding module and the cross-layer redundancy check module are passed in the middle.

[0050] For the sampling module, encoding module, cross-layer redundancy check module, ① sampling module, the sampling technology of this module is specifically multi-phase oversampling technology, which is a technology used to improve data sampling accuracy. Its main function is to sample the input data signal with no phase shift and phase shift through the rising and falling edges of the sampling clock with no phase shift and phase shift.

[0051] ②The specific implementation of the encoding module is as follows:

[0052] 1.4B5B encoding: 4B5B encoding converts every four bits of data into five bits and ensures that every 4-bit data has at least one 1-bit change, eliminating long periods of 0 or 1.

[0053] 2. Serial-to-parallel conversion: Convert parallel data into serial data bit by bit.

[0054] 3. NRZI encoding: NRZI code is non-return-to-zero inversion code, which represents logical values ​​by whether the level is flipped. In the present invention, logic "1" is represented by level flipping, and logic "0" keeps the level unchanged.

[0055] The decoding module is implemented as follows:

[0056] 1. NRZI decoding: By detecting the change of level inversion, the received NRZI encoded data is correctly decoded and restored to the original bit data.

[0057] 2. Serial-to-parallel conversion: The data after NRZI decoding is still serial, so it needs to be converted into parallel data through serial-to-parallel conversion.

[0058] 3.4B5B decoding: The 4B5B decoding module reversely decodes the serial-to-parallel converted data and restores it from 5 bits to 4 bits.

[0059] ③Cross-layer redundancy check module. The cross-layer redundancy check module is divided into two parts, the decoding module and the CRC check module. The working processes of these two parts are explained below.

[0060] The encoding module is implemented as follows:

[0061] 1. NRZI decoding: After the multi-channel sampled data arrives at the decoding module, the received NRZI encoded data is correctly decoded and restored to the original bit data by detecting the change of level inversion.

[0062] 2. Serial-to-parallel conversion: The data after NRZI decoding is still serial, so it needs to be converted into parallel data through serial-to-parallel conversion.

[0063] 3.4B5B decoding: The 4B5B decoding module reversely decodes the serial-to-parallel converted data, restores it from 5 bits to 4 bits, and uploads the multiplexed data to the CRC check module of the protocol layer.

[0064] The CRC check module is specifically implemented as follows: after multiple data arrives at the cross-layer redundancy check module, the parallel data is subjected to CRC check and data FIFO buffering operations. Finally, among the data with correct CRC check results, the data with the most advanced phase is output from the FIFO first. In other words, the data CRC check of the TTP protocol layer is to perform CRC check after parsing the 4B data transmitted by the codec layer, exclude the data with CRC errors, and finally select the reliable data with correct CRC to output.

[0065] like Figure 3 As shown, the method includes: S301, the TTP protocol layer encapsulates data according to a pre-configured data frame format, obtains parallel data, and sends the parallel data to the encoding and decoding layer.

[0066] In this embodiment, the data frame format is as follows: Figure 2 As shown, the data frame format includes a preamble, a frame header, a TTP frame and a frame tail. The preamble is composed of 30 bits of "10" data, the frame header is composed of 60 bits of "11000_10001", the TTP frame has I frame, X frame, N frame, and the frame type is selected by the user, and the frame tail is composed of "01101". It can be understood that encapsulation is common knowledge in the technical field, and this embodiment will not be redundantly described. The TTP protocol layer encapsulation obtains 4B parallel data.

[0067] S302, the codec layer encodes and performs parallel-to-serial conversion on the parallel data sent by the TTP protocol layer to obtain serial data, and sends the serial data to the physical layer for transmission.

[0068] In this embodiment, the encoding processing and parallel-to-serial conversion processing are specifically as follows: using a first encoding method to encode parallel data to obtain first encoded data; converting the first encoded data into parallel-to-serial data to obtain serial data corresponding to the first encoded data; and using a second encoding method to encode the serial data corresponding to the first encoded data to obtain serial data.

[0069] Specifically, the first encoding method is 4B5B encoding, and the second encoding method is NRZI encoding. It should be noted that 4B5B encoding encodes 4B parallel data into 5B data, and the parallel-to-serial conversion process is a conversion process performed on the 5B data, and then NRZI encoding is performed.

[0070] S303, the physical layer uploads the serial data to the codec layer for sampling at multiple phase points to obtain multiple channels of sampled data; wherein one phase point corresponds to one channel of sampled data.

[0071] In this embodiment, the way in which the physical layer receives and sends data is achieved through corresponding time slot conditions, which is common knowledge in the technical field and will not be elaborated in this embodiment.

[0072] The physical layers of other nodes in the receiving state upload the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data.

[0073] The sampling technology of multiple phase points is a technology used to improve the accuracy of data sampling. Its main function is to sample serial data with no phase shift or phase shift through the rising and falling edges of the sampling clock with no phase shift or phase shift.

[0074] The sampling process is as follows: configure a first sampling clock signal without phase offset and a second sampling clock signal with a 90-degree phase offset; adjust the number of phase offsets of serial data according to the number of phase points, and adjust the phase offset value in the oversampling process according to the number of phase offsets and the number of phase points; phase-shift the serial data based on the phase offset value to obtain phase-shifted data; use the rising edge and falling edge of the first sampling clock signal and the second sampling clock signal to sample the serial data and the phase-shifted data to obtain multi-channel sampling data.

[0075] Specifically, step 1: the sampling clock selects a clock without offset and a clock with 90° offset, that is, a first sampling clock signal and a second sampling clock signal.

[0076] Step 2: Adjust the number of phase points k as needed, that is, the interval between each phase point is 2π / k. As k increases, the signal can be sampled more finely, and more subtle phase changes can be captured, resulting in higher sampling accuracy. However, increasing the number of sampling phases will also lead to an increase in chip hardware resources.

[0077] Step 3: According to the number of phase points k, adjust the phase offset times N and the phase offset value θ of the data signal N , the calculation formula is as follows:

[0078] Step 4: Use the rising and falling edges of the non-offset sampling clock and the 90° phase-shifted sampling clock to sample the non-offset and phase-shifted hand data, and the phases of the obtained k-channel sampling data are: 0°, 2π / k, 4π / k, ..., (k-1)*2π / k; where k is equal to 2 to the power of m, and m is greater than or equal to 2.

[0079] The following takes the sampling of eight phase points as an example, that is, k is 8, then the number of phase shifts of the data signal N is 1, and the phase shift values ​​are 0° and 45° respectively. Figure 4 As shown, the phases of the k-channel sampling data finally obtained are: 0°, 45°, 90°, 135°, 180°, 225°, 270°, and 315°;

[0080] S304, the encoding and decoding layer performs decoding and serial-to-parallel conversion on the multiple sampling data to obtain multiple parallel data, and uploads the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data.

[0081] In this embodiment, the decoding process and the serial-to-parallel conversion process are specifically as follows: using the second decoding method to decode the multiple sampling data to obtain multiple first decoded data; performing serial-to-parallel conversion on the multiple first decoded data to obtain serial data corresponding to the multiple first decoded data; using the first decoding method to decode the serial data corresponding to the multiple first decoded data to obtain multiple parallel data. The first decoding method is 4B5B decoding, and the second decoding method is NRZI decoding.

[0082] Specifically, encoding and decoding are in one-to-one correspondence, so this embodiment does not make redundant descriptions of the decoding process.

[0083] S305, the TTP protocol layer performs data verification on the multiplexed data, and when the verification passes, the data transmission is completed.

[0084] In this embodiment, the data verification method is CRC verification. The specific process of CRC verification is common knowledge and will not be described in detail in this embodiment.

[0085] The following takes the case where two TTP bus nodes use 254 bytes of random data as TTP frames for data transmission under the condition that the chip system clock is 125MHz as an example to explain the detailed data transmission process of the codec layer when TTP node data is sent and received.

[0086] The TTP protocol layer encapsulates data, which includes: 30-bit leading code "10", 60-bit SOF "11000_10001", 254 bytes of random data, and 5-bit frame tail "01101". The protocol layer sends the encapsulated parallel data to the coding layer.

[0087] At the codec layer, the parallel data is first 4B5B encoded, and the data is encoded according to the 4B5B encoding table. For example, "1010" will be encoded as "01011" according to the 4B5B encoding table.

[0088] The data passes through the parallel-to-serial conversion module, and the parallel data is converted into serial data.

[0089] The serial data is counted. When the count reaches 90, that is, the TTP frame is reached, the TTP frame is NRZI encoded. The initial value of the NRZI code is specified to be 1. Data "1" will cause the level to flip, while "0" will keep the level unchanged. The data is flipped according to the NRZI encoding rules.

[0090] The NRZI-encoded serial data is sent to the receiving end of node 2 through the physical layer of node 1.

[0091] At the receiving end of node 2, the data first enters the eight-phase oversampling module, and the input data signal with no offset and 45° phase shift is sampled by the rising and falling edges of the 125MHz clock with no offset and 90° phase shift, obtaining eight channels of sampled data with different phases.

[0092] The eight-channel sampled data is NRZI decoded, and the level in the TTP frame is flipped and restored to the previous data through the reverse operation.

[0093] Next, the data enters the serial-to-parallel conversion module, which converts the serial data into parallel data. The data continues to flow through the 4B5B decoding module and is finally restored to the original 4B data.

[0094] After CRC verification, the data is checked for redundancy. After the CRC verification passes, the data is uploaded to the TTP protocol layer for subsequent processing.

[0095] Please refer to Figure 5 , Figure 5 A block diagram of a data transmission device for a high-speed time-triggered bus provided by an embodiment of the present invention, such as Figure 5 As shown, the device is applied to a data transmission architecture, the data transmission architecture includes a TTP protocol layer, a codec layer and a physical layer, and the device includes:

[0096] The first data processing module 510 is used for the TTP protocol layer to encapsulate data according to a pre-configured data frame format, obtain parallel data, and send the parallel data to the encoding and decoding layer;

[0097] The second data processing module 520 is used for the codec layer to encode and convert the parallel data sent by the TTP protocol layer to obtain serial data, and send the serial data to the physical layer for transmission;

[0098] The third data processing module 530 is used for the physical layer to upload the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data;

[0099] The fourth data processing module 540 is used for the encoding and decoding layer to decode and serial-to-parallel convert the multiple sampling data to obtain multiple parallel data, and upload the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data;

[0100] The fifth data processing module 550 is used for the TTP protocol layer to perform data verification on each channel of parallel data. When the verification passes, the corresponding channel of parallel data is transmitted correctly.

[0101] It can be seen that in the data transmission device for high-speed time-triggered bus provided in this embodiment, firstly, a coding technology with higher link rate utilization is introduced in the coding part, namely 4B5B coding and NRZI coding, which improves the data transmission rate and effectively reduces bandwidth waste; secondly, multi-phase point sampling technology and cross-layer redundancy check are adopted to reduce the influence of frequency deviation and phase offset between nodes on node synchronization. Thus, the data rate of TTP bus is increased from the traditional 5-25Mbps to 100Mbps, meeting the demand of high-speed data transmission.

[0102] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A data transmission method for a high-speed time-triggered bus, characterized in that: Applied to a data transmission architecture, the data transmission architecture includes a TTP protocol layer, a codec layer and a physical layer, and the method includes: The TTP protocol layer encapsulates the data according to the pre-configured data frame format, obtains parallel data, and sends the parallel data to the encoding and decoding layer; The encoding and decoding layer encodes and performs parallel-to-serial conversion on the parallel data sent by the TTP protocol layer to obtain serial data, and sends the serial data to the physical layer for transmission; The physical layer uploads the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data; The encoding and decoding layer performs decoding and serial-to-parallel conversion on the multiple sampling data to obtain multiple parallel data, and uploads the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data; The TTP protocol layer performs data verification on each channel of parallel data. When the verification passes, the corresponding channel of parallel data is transmitted correctly.

2. The method according to claim 1, characterized in that The data frame format includes a preamble, a frame header, a TTPframe and a frame trailer.

3. The method according to claim 1, characterized in that The encoding and decoding layer performs encoding and parallel-to-serial conversion on the parallel data sent by the TTP protocol layer to obtain serial data, specifically: Encoding the parallel data using a first encoding method to obtain first encoded data; Performing parallel-to-serial conversion on the first coded data to obtain serial data corresponding to the first coded data; The serial data corresponding to the first coded data is coded by using the second coding method to obtain the serial data.

4. The method according to claim 3, characterized in that The first encoding method is 4B5B encoding, and the second encoding method is NRZI encoding.

5. The method according to claim 1, characterized in that The serial data is uploaded to the codec layer for sampling at multiple phase points to obtain multi-channel sampling data, specifically: Configure a first sampling clock signal without phase offset and a second sampling clock signal with a 90 degree phase offset; According to the number of phase points, the number of phase offsets of the serial data is adjusted, and according to the number of phase offsets and the number of phase points, the phase offset value in the oversampling process is adjusted; Phase-shifting the received serial data based on the phase offset value to obtain phase-shifted data; The serial data and the phase-shifted data are sampled by using the rising edge and the falling edge of the first sampling clock signal and the second sampling clock signal to obtain multi-channel sampling data.

6. The method according to claim 5, characterized in that The expression for adjusting the phase offset times of the serial data is: Where N represents the number of phase shifts, and k represents the number of phase points; The expression for adjusting the phase offset value in the oversampling process is:

7. The method according to claim 1, characterized in that The encoding and decoding layer performs decoding and serial-to-parallel conversion on the multi-channel sampling data to obtain multi-channel parallel data, specifically: Decoding the multiple sampling data using a second decoding method to obtain multiple first decoding data; Perform serial-to-parallel conversion on the multiple channels of first decoded data to obtain serial data corresponding to the multiple channels of first decoded data; The first decoding method is used to decode the serial data corresponding to the multiple channels of first decoded data to obtain multiple channels of parallel data.

8. The method according to claim 7, characterized in that The first decoding method is 4B5B decoding, and the second decoding method is NRZI decoding.

9. The method according to claim 1, characterized in that: The data verification method is CRC verification.

10. A data transmission device for a high-speed time-triggered bus, characterized in that: Applied to a data transmission architecture, the data transmission architecture includes a TTP protocol layer, a coding layer and a physical layer, and the device includes: A first data processing module, configured to encapsulate data in a pre-configured data frame format at the TTP protocol layer, obtain parallel data, and send the parallel data to the encoding and decoding layer; The second data processing module is used for the encoding and decoding layer to encode and convert the parallel data sent by the TTP protocol layer to obtain serial data, and send the serial data to the physical layer for transmission; A third data processing module is used for the physical layer to upload the serial data to the codec layer for sampling at multiple phase points to obtain multiple sampling data; wherein one phase point corresponds to one sampling data; A fourth data processing module is used for the encoding and decoding layer to decode and serial-to-parallel convert the multiple sampling data to obtain multiple parallel data, and upload the multiple parallel data to the TTP protocol layer; wherein one sampling data corresponds to one parallel data; The fifth data processing module is used for the TTP protocol layer to perform data verification on each channel of parallel data. When the verification passes, the corresponding channel of parallel data is transmitted correctly.

Citation Information

Patent Citations

  • FlexRay bus protocol analysis system and method based on digital fluorescent oscilloscope

    CN105959143A

  • Design method of DCS controlled TTP / C bus controller catering to aeroengine

    CN106444425A

  • Low-power high-performance clock path architecture

    US20240393824A1

  • Multimedia protocol interface for 64 kbit / s data flow

    US5197083A