Boundary synchronization method based on four-bit ternary coding rule

By detecting and adjusting the zero-level symbols in the received three-level pulse amplitude modulation signal, the boundary is automatically determined, which solves the problem of difficult boundary synchronization in the 10BASE-T1L standard, achieves fast and accurate boundary detection and decoding, and improves Reliability and efficiency of signal transmission.

CN118748634APending Publication Date: 2024-10-08SUZHOU MOTORCOMM ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410811734.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

In the 10BASE-T1L standard PCS receiver, the existing technology is difficult to quickly and accurately find the boundaries in the four-bit ternary encoding rules, resulting in the need for multiple assumptions and judgments before decoding, resulting in a waste of time and resources.

Method used

By detecting the received three-level pulse amplitude modulation signal, dividing the code group and automatically adjusting the boundary, using continuous zero levels and zero-level symbols in a single code group to determine the correct boundary, ensuring that the decoded data matches, thereby achieving boundary synchronization.

Benefits of technology

Quickly find boundaries, improve decoding accuracy and efficiency, save decoding time and computing resources, and enhance signal reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748634A_ABST
    Figure CN118748634A_ABST
Patent Text Reader

Abstract

The invention discloses a boundary synchronization method based on a four-bit ternary coding rule, and belongs to the technical field of boundary synchronization. Comprising the following steps: S1, dividing a three-level pulse amplitude modulation signal; step S2, when four continuous level symbols are detected to be 0, executing step S3, and when three continuous level symbols are detected to be 0, executing step S4; step S3, taking the serial number corresponding to the third zero level of the four zero levels as the initial serial number of the correct boundary for re-division, and skipping to step S6; s4, a level symbol is slid backwards for one bit to be re-divided; step S5, judging whether three level symbols are 0 or not, if so, executing step S4, and if not, executing step S5; if not, keeping the current division; and S6, judging whether the decoded data are matched or not, if so, finishing de-interlacing synchronization, and if not, executing the step S2. The technical scheme has the beneficial effects that the boundary can be quickly found, the decoding time and computing resources are saved, and the reliability is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of boundary synchronization, and in particular to a boundary synchronization method based on a four-bit ternary encoding rule. Background Art

[0002] 10BASE-T1L is a new Ethernet communication standard proposed in the IEEE 802.3cg-2019 standard.

[0003] like Figure 1 As shown in the figure, in the PCS (Physical Coding Sublayer) of 10BASE-T1L, at the transmitting end of the physical coding sublayer, the transmitting multiplexer encodes the 4-bit signal Sdn[3:0] into a PAM3 code group {TAn, TBn, TCn} using the 4B3T coding rule, and passes it to the PMA (Physical Medium Attachment) sublayer through tx_symb_vector. The transmission order of the code group {TAn, TBn, TCn} is TAn, TBn, TCn, TAn+1, TBn+1, TCn+1...

[0004] At the receiving end of the physical coding sublayer, the PMA receives and passes the ternary symbol vector through the bus to the receiving end through rx_symb_vector. The received symbols are deinterleaved through rx_symb_vector to generate the received code group {RAn, RBn, RCn}, which is then decoded and finally generates the signal RXD[3:0] to the MAC (Media Access Control Layer). In order to achieve correct 4B3T decoding operation, the PCS receiver needs to find the correct boundary of the {RAn, RBn, RCn} code group during the deinterleaving process.

[0005] In the prior art, the signal rx_symb_vector received by the PCS receiver is delayed compared to tx_symb_vector, so the boundary of {Ran, RBn, RCn} needs to be found before 4B3T decoding. Figure 2 As shown in the figure, the traditional method is generally to randomly assume a boundary at the PCS receiving end, and then check whether the data descrambling matches after a period of time. If the descrambling cannot be done normally, it proves that the first assumption has failed, and the second boundary is assumed by sliding one bit backward. In the worst case, three assumptions are required to find a suitable boundary, and each assumption requires a period of time to determine whether it matches, resulting in a waste of time and resources. Summary of the invention

[0006] The object of the present invention is to provide a boundary synchronization method based on a four-bit ternary encoding rule to solve the above technical problems;

[0007] A boundary synchronization method based on a four-bit ternary encoding rule, comprising:

[0008] Step S1, dividing the received three-level pulse amplitude modulation signal into a plurality of code groups according to the initially set boundaries, each of the code groups having three level symbols;

[0009] Step S2, detecting the number of consecutive level symbols in the three-level pulse amplitude modulation signal that are all 0, if it is detected that four consecutive level symbols are 0, executing step S3, if it is detected that three consecutive level symbols are 0, executing step S4;

[0010] Step S3, taking the sequence number corresponding to the third zero level of the four zero levels as the starting sequence number of the correct boundary, re-dividing the code group of the three-level pulse amplitude modulation signal, and jumping to step S6;

[0011] Step S4, sliding the current boundary backward by one level symbol, and re-dividing the three-level pulse amplitude modulation signal into the code groups according to the sliding boundary;

[0012] Step S5, determining whether there is a single code group in the three-level pulse amplitude modulation signal in which all three level symbols are 0, if yes, returning to step S4; if no, taking the current boundary as the correct boundary and maintaining the current division mode of the code group;

[0013] Step S6, de-interleaving generates a received code group according to the correct boundary and decodes it, and performs data descrambling on the decoded code group to determine whether the decoded data matches. If yes, the de-interleaving synchronization is completed, if not, return to execute step S2.

[0014] Preferably, in step S4, if the sliding boundary is sliding backward by two level symbols compared to the initially set boundary, the sliding boundary is directly used as the correct boundary.

[0015] Preferably, before executing step S1, step S0 is also included. At the physical coding sublayer of the transmitting end, the transmitting multiplexer encodes the four-bit signal based on the four-bit ternary coding rule, and then, after a parallel-to-serial conversion operation, the encoded signal is passed to the physical medium attachment sublayer through the ternary symbol vector of the transmitting end.

[0016] Preferably, the three-level pulse amplitude modulation signal received in step S1 is obtained by the physical medium attachment sublayer of the receiving end receiving the encoded signal and performing a serial-to-parallel conversion operation on the ternary symbol vector of the receiving end.

[0017] Preferably, step S1 comprises cyclically numbering the received three-level pulse amplitude modulation signal in the order of 0, 1, and 2 to obtain a plurality of the code groups.

[0018] Preferably, the initially set boundary in step S1 is a randomly assumed boundary.

[0019] Preferably, the three level symbols of each code group divided according to the correct boundary in step S2 have 26 possibilities.

[0020] Preferably, the standard of the physical coding sublayer is 10BASE-T1L.

[0021] Preferably, in step S0, the sending end sends the three-level pulse amplitude modulation signal in the order of TAn, TBn, TCn, TAn+1, TBn+1, TCn+1.

[0022] The beneficial effects of the present invention are: the boundary can be found quickly, the result is accurate, the decoding time and computing resources are saved, and the reliability is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a PCS data flow block diagram in the prior art;

[0024] Figure 2 It is a schematic diagram of the traditional de-interlacing synchronization method;

[0025] Figure 3 It is a four-bit ternary encoding rule table;

[0026] Figure 4 It is a schematic diagram of de-interleaving synchronization in which four consecutive level symbols are all 0 in the three-level pulse amplitude modulation signal of the present invention;

[0027] Figure 5 It is a schematic diagram of de-interleaving synchronization in which three level symbols of a single code group are all 0 in the three-level pulse amplitude modulation signal of the present invention;

[0028] Figure 6 It is a step diagram of the boundary synchronization method based on four-bit ternary encoding rules of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0031] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0032] A boundary synchronization method based on a four-bit ternary encoding rule, such as Figures 3 to 6 As shown, including

[0033] Step S1, dividing the received three-level pulse amplitude modulation signal into a plurality of code groups according to the initially set boundaries, each code group having three level symbols;

[0034] Step S2, detecting the number of consecutive level symbols in the three-level pulse amplitude modulation signal that are all 0, if four consecutive level symbols are detected to be 0, executing step S3, if three consecutive level symbols are detected to be 0, executing step S4;

[0035] Step S3, taking the sequence number corresponding to the third zero level of the four zero levels as the starting sequence number of the correct boundary, re-dividing the three-level pulse amplitude modulation signal into code groups, and jumping to step S6;

[0036] Step S4, sliding the current boundary backward by one level symbol, and re-dividing the three-level pulse amplitude modulation signal into code groups according to the sliding boundary;

[0037] Step S5, determining whether there is a single code group in the three-level pulse amplitude modulation signal in which all three level symbols are 0, if yes, returning to step S4; if no, taking the current boundary as the correct boundary and maintaining the current code group division method;

[0038] Step S6, de-interleaving generates a received code group according to the correct boundary and decodes it, and descrambles the decoded code group to determine whether the decoded data matches. If yes, the de-interleaving synchronization is completed, if not, return to execute step S2.

[0039] Specifically, the present invention provides a boundary synchronization method based on a four-bit ternary coding rule, that is, based on a 4B3T coding rule, and provides a mechanism for detecting and repairing possible errors in boundary division in a signal. If four consecutive level symbols are all 0, it indicates that the boundary division is incorrect. Similarly, if three level symbols of a single code group are all 0, it also indicates that the boundary division is incorrect. By automatically sliding back one position to continue detection, it is ensured that a reliable boundary can be found, saving decoding time and computing resources.

[0040] More specifically, the judgment in step S6 helps to enhance the integrity of the data. By interleaving and decoding the received code groups, the delay problem caused by signal transmission can be corrected more effectively, thereby improving the accuracy of data decoding. The decoded code groups are judged by descrambling. If they match the original data, it means that the boundary is correct, effectively avoiding decoding errors caused by boundary errors.

[0041] In a preferred embodiment, in step S4, if the sliding boundary is sliding back by two level symbols compared to the initially set boundary, the sliding boundary is directly taken as the correct boundary.

[0042] Specifically, if the sliding boundary slips two level symbols behind the initial boundary, two possible boundary errors have been ruled out, so the sliding boundary can be directly used as the correct boundary, reducing additional judgment and calculation, thereby improving the decoding speed and efficiency.

[0043] In a preferred embodiment, step S0 is also included before executing step S1. At the physical coding sublayer of the transmitting end, the transmitting multiplexer encodes the four-bit signal based on the four-bit ternary coding rule, and then, after a parallel-to-serial conversion operation, the encoded signal is passed to the physical medium attachment sublayer through the ternary symbol vector tx_symb_vector of the transmitting end.

[0044] Specifically, the 4B3T encoding rule is applied in step S0, which improves the anti-interference ability of the signal and reduces errors caused by interference or noise, thereby improving the reliability of data transmission. The parallel-to-serial conversion operation in step S0 can ensure that the signal adapts to the requirements of the physical medium. By performing parallel-to-serial conversion on the signal, the signal can be converted into a form suitable for transmission on the physical medium, thereby ensuring the stability and reliability of signal transmission.

[0045] Specifically, physical encoding and conversion operations at the transmitting end can pre-process the signal before transmission, making the decoding process at the receiving end more efficient. By processing the signal at the transmitting end, the decoding workload at the receiving end can be reduced, thereby improving the efficiency and speed of decoding.

[0046] In a preferred embodiment, the three-level pulse amplitude modulation signal received in step S1 is a signal after receiving encoding by the physical medium attachment sublayer of the receiving end, which is obtained by performing a serial-to-parallel conversion operation on the ternary symbol vector rx_symb_vector of the receiving end.

[0047] Specifically, by receiving the signal through the physical medium attachment sublayer at the receiving end and performing a serial-to-parallel conversion operation, the received signal can be converted into a form suitable for subsequent decoding processing, which helps to ensure that the received signal can match the decoder and be correctly parsed in subsequent processing.

[0048] In further detail, the serial-to-parallel conversion operation helps reduce errors introduced during the transmission process. By appropriately converting and adjusting the received signal, noise, interference or distortion that may be introduced during the signal transmission process can be reduced, thereby improving the accuracy and reliability of decoding.

[0049] In a preferred embodiment, step S1 includes cyclically numbering the received three-level pulse amplitude modulation signal in the order of 0, 1, and 2 to obtain a plurality of code groups.

[0050] Specifically, the received signal is cyclically numbered and divided in sequence to obtain multiple code groups, which helps to sort and organize the data. The continuous signal can be divided into multiple data groups, making data processing clearer and more efficient.

[0051] More specifically, cyclic numbering and code group division can help improve decoding accuracy, and can more accurately identify and process the data content of each code group, thereby improving decoding accuracy and reliability.

[0052] In a preferred embodiment, the initial boundary in step S1 is a randomly assumed boundary.

[0053] Specifically, randomly assumed boundaries can increase the flexibility of the system, adapt to different boundary conditions in different situations without being restricted by specific boundary settings, and help reduce bias caused by preset boundaries. If the initial boundaries are fixed or set based on prior knowledge, it may cause the system to be biased in some aspects, and randomly assumed boundaries can reduce the impact of such bias.

[0054] In a preferred embodiment, the three level symbols of each code group divided according to the correct boundary in step S2 have 26 possibilities.

[0055] Specifically, each code group can carry more information. By increasing the number of possible symbols, the amount of information that can be transmitted by each code group can be increased, thereby increasing the information capacity of the entire system.

[0056] In a preferred embodiment, the physical coding sublayer standard is 10BASE-T1L.

[0057] Specifically, the 10BASE-T1L standard is designed as a low-cost and high-efficiency physical coding layer standard that allows the use of inexpensive twisted pair cables for high-speed data transmission, thereby reducing deployment and maintenance costs while improving network efficiency.

[0058] Specifically, the 10BASE-T1L standard provides flexibility and adaptability for different types of application scenarios, and has strong anti-interference capabilities by adopting specific signal modulation and demodulation technologies. Even in an environment with interference or noise, network communications can still remain stable and reliable.

[0059] In a preferred embodiment, in step S0, the sending order of the three-level pulse amplitude modulation signal by the sending end is TAn, TBn, TCn, TAn+1, TBn+1, TCn+1, which can ensure that the timing between the sending end and the receiving end is correct, effectively control the sending and receiving of the signal, and prevent communication failures or misunderstandings caused by timing errors.

[0060] like Figure 3 As shown in the table, Sdn[3:0] in the 4B3T encoding table represents the original 4-bit signal, Code-Group represents the ternary code group in the actual transmission process, and Disparity is a polarity indicator, which will change during the transmission process and is associated with the polarity indicator corresponding to the previous ternary code group according to the polarity indicator change value (Disparity Change). It is easy to see from the table that each four-bit binary code has 16 possibilities, namely 0000-1111, and the ternary code group has 3 3 -1 = 26 possibilities. From the table, it can be seen that each four-bit binary code Sdn[3:0] can correspond to one or two ternary code groups {TAn, TBn, TCn}. Generally speaking, during the encoding process, the transmitter will look up the current polarity indicator Disparity, such as 1 or 2 or 3 or 4, and the current four-bit signal to be sent, such as 0010, etc., and look up the table according to these two items to obtain the corresponding ternary code group and polarity indicator change value for encoding, and then send it to the receiving end for decoding.

[0061] In the first embodiment, referring to Figure 3 , based on the particularity of 4B3T encoding, there are only 26 possibilities for the code group {TAn, TBn, TCn}, of which {0,0,0} does not appear in the normal 4B3T mapping, which can be used to synchronize the receiver's demultiplexer code group boundary during training. In other words, the code group {0,0,0} should not appear. If the code group {0,0,0} is received, the symbol synchronization in the deinterleaving block needs to be adjusted.

[0062] First, the receiving end numbers the received symbols as 0, 1, or 2.

[0063] Then as Figure 4As shown, check whether the received symbols have continuous {0,0,0,0}. If so, exclude the two possibilities that {0,0,0} exists in {0,0,0,0} and determine the correct boundary. If not, as shown in Figure 5 As shown, detect whether the received symbol has continuous {0,0,0}. If so, exclude one possible error boundary until two error boundaries are excluded.

[0064] Finally, in order to make the boundary position more reliable, a second confirmation can be performed. Wait for a while to see whether the descrambling matches. If it matches, the deinterleaving synchronization is completed. If it does not match, re-check whether the received symbols have continuous {0,0,0,0}.

[0065] Specifically, at the physical coding sublayer transmitter, the transmit multiplexer encodes the 4-bit signal Sdn[3:0] into a PAM3 code group {TAn, TBn, TCn} using the 4B3T encoding rule and passes it to the PMA sublayer through tx_symb_vector. The transmission order of the code group {TAn, TBn, TCn} is TAn, TBn, TCn, TAn+1, TBn+1, TCn+1...

[0066] At the receiving end of the physical coding sublayer, the PMA receives the differential signals BI_DA+ and BI_DA-, and passes the ternary symbol vector to the receiving end through the bus through rx_symb_vector. The received symbols are deinterleaved through rx_symb_vector to generate the received code group {RAn, RBn, RCn}, and then decoded, and finally the signal RXD[3:0] is generated to the MAC layer, which can find reliable boundaries and save decoding time and computing resources.

[0067] In summary, the present application provides a boundary synchronization method based on a four-bit ternary coding rule, based on the 4B3T coding rule, to detect possible errors in the boundary division in the signal. If four consecutive level symbols are all 0, it means that the boundary division is wrong. Similarly, if there are three level symbols of a single code group that are all 0, it also means that the boundary division is wrong, and the detection is continued by automatically sliding back one position. Compared with the traditional method, the boundary can be found faster, saving time and resources, and it is reliable.

[0068] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A boundary synchronization method based on four-bit ternary encoding rules, It is characterized in that include, Step S1, dividing the received three-level pulse amplitude modulation signal into a plurality of code groups according to the initially set boundaries, each of the code groups having three level symbols; Step S2, detecting the number of consecutive level symbols in the three-level pulse amplitude modulation signal that are all 0, if it is detected that four consecutive level symbols are 0, executing step S3, if it is detected that three consecutive level symbols are 0, executing step S4; Step S3, taking the sequence number corresponding to the third zero level of the four zero levels as the starting sequence number of the correct boundary, re-dividing the code group of the three-level pulse amplitude modulation signal, and jumping to step S6; Step S4, sliding the current boundary backward by one level symbol, and re-dividing the three-level pulse amplitude modulation signal into the code groups according to the sliding boundary; Step S5, determining whether there is a single code group in the three-level pulse amplitude modulation signal in which all three level symbols are 0, if yes, returning to step S4; if no, taking the current boundary as the correct boundary and maintaining the current division mode of the code group; Step S6, de-interleaving generates a received code group according to the correct boundary and decodes it, and performs data descrambling on the decoded code group to determine whether the decoded data matches. If yes, the de-interleaving synchronization is completed, if not, return to execute step S2.

2. The boundary synchronization method based on the four-bit ternary encoding rule according to claim 1, It is characterized in that In step S4, if the sliding boundary is sliding backward by two level symbols compared to the initially set boundary, the sliding boundary is directly used as the correct boundary.

3. The boundary synchronization method based on the four-bit ternary encoding rule according to claim 1, It is characterized in that Before executing step S1, step S0 is also included. At the physical coding sublayer of the transmitting end, the transmitting multiplexer encodes the four-bit signal based on the four-bit ternary coding rule, and then, after a parallel-to-serial conversion operation, the encoded signal is passed to the physical medium attachment sublayer through the ternary symbol vector of the transmitting end.

4. The boundary synchronization method based on the four-bit ternary encoding rule according to claim 3, It is characterized in that The three-level pulse amplitude modulation signal received in step S1 is the encoded signal received by the physical medium attachment sublayer of the receiving end, and is obtained after performing a serial-to-parallel conversion operation on the ternary symbol vector of the receiving end.

5. The boundary synchronization method based on the four-bit ternary encoding rule according to claim 1, It is characterized in that Step S1 includes cyclically numbering the received three-level pulse amplitude modulation signal in the order of 0, 1, and 2 to obtain a plurality of code groups.

6. The boundary synchronization method based on the four-bit ternary encoding rule according to claim 1, It is characterized in that The initial boundary in step S1 is a randomly assumed boundary.

7. The boundary synchronization method based on four-bit ternary encoding rule according to claim 1, It is characterized in that In step S2, the three level symbols of each code group divided according to the correct boundary have 26 possibilities.

8. The boundary synchronization method based on four-bit ternary encoding rule according to claim 3, It is characterized in that The standard of the physical coding sublayer is 10BASE-T1L.

9. The boundary synchronization method based on four-bit ternary encoding rule according to claim 3, It is characterized in that In step S0, the sending end sends the three-level pulse amplitude modulation signal in the order of TAn, TBn, TCn, TAn+1, TBn+1, TCn+1.

Citation Information

Cited By

  • Encoding / decoding method and apparatus

    WO2026113400A1