This application claims the priority benefit of TAIWAN Application serial no. 110129960, filed Aug. 13, 2021, the full disclosure of which is incorporated herein by reference.
The invention relates to a signal processing method and a signal processor. More particularly, the invention relates to a signal processing method and a signal processor of decoding boundary calibration.
In the 10BASE-T1S specification, the physical layer converts the 4B symbol that needs to be transmitted into 5B symbol through 4B/5B encoding, and then the 5B symbol will undergo Differential Manchester Encoding (DME) and each bit code is converted into DME symbol, and the data of both parties is transmitted in the way of serial transmission. However, in the process of data transmission, due to factors such as channel effect and radio frequency, the DME symbols of the receiving end may be corrupted or lost during the initial process of receiving data and cause 5B boundary detection errors. Therefore, a 5B boundary detection strategy is in need to solve this problem.
An aspect of this disclosure is to provide a signal processing method includes the following operations: receiving an input signal and analyzing the input signal to generate a plurality of bit codes by a signal receiving circuit; temporarily storing a first part of the plurality of bit codes according to a time sequence by a shift register and starting a decoder when the shift register is full; and performing a boundary calibration according to the first part of the plurality of bit codes by the decoder when the first part of the plurality of bit codes meets a decoding table rule and a boundary detection rule.
Another aspect of this disclosure is to provide a signal processor. The signal processor includes a signal receiving circuit, a shift register, and a decoder. The signal receiving circuit is configured to receive an input signal and to analyze the input signal to generate a plurality of bit codes. The shift register is configured to temporarily store a first part of the plurality of bit codes according to a time sequence. The decoder is configured to start when the shift register is full and configured to perform a boundary calibration according to the first part of the plurality of bit codes when the first part of the plurality of bit codes meets a decoding table rule and a boundary detection rule.
Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. Specific examples of elements and arrangements are described lower than to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
The terms used in this specification generally have their ordinary meanings in the art, within the context of the invention, and in the specific context where each term is used. Certain terms that are used to describe the invention are discussed lower than, or elsewhere in the specification, to provide additional guidance to the practitioner regarding the description of the invention.
Reference is made to
The configuration of the signal processor 100 mentioning above is for illustrative purposes only, and various configurations of the signal processor 100 are within the scope of the present disclosure. The detailed operation of the signal processor 100 will be explained in reference to
Reference is made to
Reference is made to
For example, the bit codes of 4B encoding corresponding to the symbolic name 0 are 0000, the bit codes of 5B encoding corresponding to the symbolic name 0 are 11110. The rest and so on. It should be noted that, in some embodiments, when receiving or transmitting bit codes, the bit codes are transmitted by the least significant bit (LSB). That is, when the bit codes of 5B encoding corresponding to the symbolic name 0 are 11110, the receiving order of the signal receiving circuit 110 is 0, 1, 1, 1, and 1. The rest and so on.
Reference is made to
In operation S230, the shift register temporarily stores several bit codes according to the time sequence, and the decoder is started when several temporarily stored spaces of the shift register are full with several bit codes. In some embodiments, the shift register 130 as illustrated in
As illustrated in
As illustrated in
As illustrated in
In time T+15, the temporarily stored spaces 132A to 132C of the shift register 130 are full with the bit codes 110000110010000. At this time, the decoder 150 as illustrated in
Reference is made to
In some embodiments, the boundary detection rule is set by the user.
When it is determined that the several bit codes temporarily stored in the shift register meets the decoding table rule and the boundary detection rule in the operation S240, operation S250 is operated. In operation S250, the decoder performs boundary calibration according to several bit codes temporarily stored in the shift register.
On the other hand, when it is determined in operation S240 that the several bit codes temporarily stored in the shift register do not meet the decoding table rule and the boundary detection rule, operation S230 is operated. The decoder 150 as illustrated in
Reference is made to
In some embodiments, when it is determined that there is a bit code with data corruption, the decoder 150 recognizes the bit codes with data damage as SILENCE(I), and the corresponding symbolic name is I.
For example, reference is made to
In some embodiments, the decoder 150 is further configured to determine whether the bit codes temporarily stored in the shift register 130 meets the boundary detection rule or not, the boundary detection rule will be explained below.
In some embodiments, the specific symbolic name includes the symbolic name J, the symbolic name H, the symbolic name N, and the symbolic name T. In some embodiments, the symbolic name J is the synchronize J(SYNC(J)), the symbolic name H is the delimiter at the beginning of the data stream H(SSD(H)), the symbolic name N is the beacon N(BEACO(N)), and the symbolic name T is the heartbeat T(HB(T)).
Reference is made to
It may be known from
Since both symbolic name H and symbolic name N only include 1 code bit with a value of 1 in 5B encoding. As long as there are consecutive combinations of symbolic name H and symbolic name N, it is easy to confuse the two and cause judgment errors. It may be known from
In some embodiments, when the decoder 150 as illustrated in
When the several bit codes temporarily stored in the temporarily stored space 132B corresponds to the symbolic name H after being decoded according to the decoding table 300 as illustrated in
Reference is made to
In some embodiments, when the decoder 150 as illustrated in
When the symbolic name of the several bit codes temporarily stored in the temporarily stored space 132B is the symbolic name N after being decoded according to the decoding table 300 as illustrated in
Furthermore, as illustrated in
In some embodiments, when the decoder 150 as illustrated in
When the symbolic name of the several bit codes temporarily stored in the temporarily stored space 132B is the symbolic name T after being decoded according to the rule of the decoding table 300 as illustrated in
In some other embodiments, the boundary detection rule can also include symbolic name I into consideration to increase flexibility in use. The boundary detection rule mentioned above is for illustrative purposes only, and the embodiments of the present disclosure is not limited thereof.
According to embodiments of the present disclosure, it is understood that the embodiments of the present disclosure provide a signal processing method and a signal processor. The misjudgments can be avoided with the methods of determining by the several combinations of the 5B symbolic names, at the same time, it has more flexibility to adjust and judge whether the boundary detection rule should be more rigorous or relaxed according to different situations, so that the accuracy of judging the 5B boundary can be effectively improved.
In some embodiments, the decoder 150 can be a server or other devices. In some embodiments, the decoder 150 can be a server, a circuit, a central processing unit (CPU), a microcontroller (MCU) with functions such as temporarily storing, computing, reading data, receiving signals or messages, and transmitting signals or messages, or other devices with equivalent functions. In some embodiments, the shift register 130 may be a circuit with a signal temporarily stored or a similar function. The signal receiving circuit 110 may be a component with functions such as signal receiving or a circuit with similar functions.
In addition, the above illustrations comprise sequential demonstration operations, but the operations need not be performed in the order shown. The execution of the operations in a different order is within the scope of this disclosure. In the spirit and scope of the embodiments of the present disclosure, the operations may be increased, substituted, changed and/or omitted as the case may be.
The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
110129960 | Aug 2021 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5818607 | Nakamura | Oct 1998 | A |
9360915 | Schuttenberg | Jun 2016 | B1 |
20020158928 | Fujii | Oct 2002 | A1 |
20030059118 | Suzuki | Mar 2003 | A1 |
20110022823 | Miwa | Jan 2011 | A1 |
20190238136 | Asnaashari | Aug 2019 | A1 |
20200411021 | Hamada | Dec 2020 | A1 |
Number | Date | Country |
---|---|---|
215509 | Nov 1993 | TW |
Number | Date | Country | |
---|---|---|---|
20230052659 A1 | Feb 2023 | US |