Receiver of electronic device and method for setting phase threshold of timing recovery operation

By detecting and updating the phase threshold in the electronic device at the receiving end, the problem of system instability caused by frequency or phase desynchronization during signal transmission and reception is solved, and the stability and performance of the system are improved.

CN113890532BActive Publication Date: 2024-09-10REALTEK SEMICON CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010637096.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-03
Publication Date
2024-09-10
Estimated Expiration
2040-07-03

AI Technical Summary

Technical Problem

During the signal transmission and reception process, the frequency or phase of the transmitting end and the receiving end are out of sync due to external environmental influences, resulting in system instability. Frequent phase switching causes errors and reduced performance.

Method used

By using analog front-end circuits, phase detectors and calculation circuits in the electronic device at the receiving end, the accumulated phase difference value of the input signal is detected, the target phase value is calculated and the phase drive value is generated, and the phase threshold is updated according to the phase drive value and threshold. Adjust the phase threshold to avoid frequent phase switching and transient errors.

Benefits of technology

It achieves dynamic adjustment of the phase threshold according to the current operating environment, avoids phase desynchronization between the receiving end and the transmitting end, reduces transient errors and signal-to-noise ratio degradation, and improves system stability and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113890532B
    Figure CN113890532B
Patent Text Reader

Abstract

The present invention discloses a receiving end of an electronic device and a method for setting a phase threshold of a timing recovery operation. The receiving end of the electronic device includes an analog front-end circuit, a phase detector, and a calculation circuit. The analog front-end circuit receives an input signal and adjusts the phase of the input signal according to a phase control signal. The phase detector detects the phase of the input signal to generate a current phase value and a phase difference cumulative value, calculates a target phase value according to the phase difference cumulative value, and generates a first phase drive value according to the target phase value and the current phase value. The calculation circuit generates a phase control signal according to the first phase drive value and the phase threshold. After the calculation circuit generates the phase control signal, the phase detector generates a second phase drive value, and the calculation circuit updates the phase threshold according to the first phase drive value and the second phase drive value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a timing recovery technology, and more particularly to a method for setting a phase threshold of a timing recovery operation, and a receiving end of an electronic device for implementing the method. Background Art

[0002] During the signal transmission and reception process, the transmitter and receiver may be affected by the external environment or the jitter effect, resulting in the transmission and reception time of the transmitter and receiver being out of sync. The asynchrony may be as subtle as a difference of only a few phases, or as large as the frequency difference between the transmitter and the receiver. The receiver will use a timing recovery circuit to overcome this frequency or phase difference, and the appropriate phase threshold is key to the stability of the system. Because too frequent phase switching is not conducive to the convergence of the system, for example, various equalizers such as echo cancellers, feedforward equalizers, and feedback equalizers are prone to errors in an unstable state (i.e., frequent phase switching), which leads to reduced system performance or malfunction.

[0003] Therefore, a circuit and method are needed to provide a suitable phase threshold according to the actual operating environment. Summary of the invention

[0004] In view of the shortcomings of the prior art, an object of the present invention is to provide a method for setting a phase threshold of a timing recovery operation, and a receiving end of an electronic device implementing the method.

[0005] The present invention discloses a receiving end of an electronic device, comprising an analog front-end circuit, a phase detector, and a calculation circuit. The analog front-end circuit is used to receive an input signal and adjust the phase of the input signal according to a phase control signal. The phase detector is coupled to the analog front-end circuit, and is used to detect the phase of the input signal to generate a current phase value and a phase difference cumulative value, calculate a target phase value according to the phase difference cumulative value, and generate a first phase drive value according to the target phase value and the current phase value. The calculation circuit is coupled to the phase detector and the analog front-end circuit, and is used to generate the phase control signal according to the first phase drive value and the phase threshold. After the calculation circuit generates the phase control signal, the phase detector generates a second phase drive value, and the calculation circuit updates the phase threshold according to the first phase drive value and the second phase drive value.

[0006] The present invention also discloses a receiving end of an electronic device, comprising an analog front-end circuit, a phase detector, and a calculation circuit. The analog front-end circuit is used to receive an input signal and adjust the phase of the input signal according to a phase control signal. The phase detector is coupled to the analog front-end circuit, and is used to detect the phase of the input signal to generate a current phase value and a phase difference cumulative value, calculate a target phase value according to the phase difference cumulative value, and generate a first phase drive value according to the target phase value and the current phase value. The calculation circuit is coupled to the phase detector and the analog front-end circuit, and is used to generate the phase control signal according to the first phase drive value and a phase threshold. After the calculation circuit generates the phase control signal, the phase detector generates a second phase drive value, and the calculation circuit updates the phase threshold according to the phase threshold and the second phase drive value.

[0007] The present invention also discloses a method for setting a phase threshold of a timing recovery operation, comprising the following steps: (A) receiving an input signal; (B) detecting the phase of the input signal to generate a current phase value and a phase difference cumulative value; (C) calculating a target phase value based on the phase difference cumulative value; (D) generating a first phase drive value based on the target phase value and the current phase value; (E) generating a phase control signal based on the first phase drive value and the phase threshold; (F) adjusting the phase of the input signal based on the phase control signal; (G) repeating steps (A) to (C) to update the target phase value and the current phase value; (H) generating a second phase drive value based on the updated target phase value and the updated current phase value; and (I) updating the phase threshold based on the absolute difference between the first phase drive value and the second phase drive value, or based on the absolute difference between the phase threshold and the second phase drive value.

[0008] The phase threshold adjustment mechanism of the present invention can determine a new phase threshold according to the current phase interval. Compared with the conventional technology, the present invention can avoid the phase asynchronism between the receiving end and the transmitting end due to the inability to adjust the phase in time, and avoid transient errors or drops caused by frequent phase adjustments.

[0009] The features, implementation and effects of the present invention are described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 is a functional block diagram of an embodiment of a receiving end of an electronic device of the present invention;

[0011] Figure 2 is a schematic diagram of the phase interval within a cycle;

[0012] Figure 3 A flow chart of an embodiment of setting a phase threshold for a timing recovery operation of the present invention;

[0013] Figure 4 The display phase detector 130 generates an accumulated phase drive value B in each cycle;

[0014] Figure 5A and Figure 5B An example showing phase change; and

[0015] Fig. 6A and Figure 6B Another example showing phase variation. DETAILED DESCRIPTION

[0016] The technical terms used in the following descriptions refer to the customary terms in the technical field. If some terms are explained or defined in this specification, the interpretation of these terms shall be based on the explanation or definition in this specification.

[0017] The disclosure of the present invention includes a method for setting a phase threshold of a timing recovery operation, and a receiving end of an electronic device that implements the method. Since some of the components included in the receiving end of the electronic device of the present invention may be known components individually, the details of the known components will be omitted in the following description without affecting the full disclosure and feasibility of the device invention. In addition, the method for setting a phase threshold of the present invention can be performed by the receiving end of the electronic device of the present invention or its equivalent device. Without affecting the full disclosure and feasibility of the method invention, the following description of the method invention will focus on the steps rather than the hardware.

[0018] Figure 1 1 is a functional block diagram of an embodiment of a receiving end of an electronic device of the present invention. The receiving end 100 includes an analog front end circuit (AFE) 110, an analog-to-digital converter 120 (ADC), a phase detector (PD) 130, a computing circuit 140, and a memory 150. The analog front end circuit 110 adjusts the phase of the input signal under the control of a phase control signal. The analog front end circuit 110 divides a cycle into a plurality of phase intervals as a basis for adjusting the phase. In practice, due to the limitation of the circuit itself, the plurality of phase intervals are not equal. Figure 2 is a schematic diagram of the phase interval within a cycle, such as Figure 2 As shown, the phase interval close to 0 degrees is narrower, while the phase interval close to 359 degrees is wider. Figure 2 This is just an example of uneven phase intervals, and the present invention is not limited to this example, but can also be applied to other types of uneven phase intervals.

[0019] In some embodiments, the phase control signal controls the analog front-end circuit 110 to adjust the phase of the input signal from P to 1. N Adjust to P N+1 , and the low voltage level phase control signal controls the analog front end circuit 110 to change the phase of the input signal from P N Adjust to P N-1 In some embodiments, the calculation circuit 140 controls the analog front-end circuit 110 to adjust the phase of the input signal by increasing or decreasing the phase interval one at a time.

[0020] Please also refer to the following instructions Figures 1 to 3 . Figure 3 Flowchart of an embodiment of setting the phase threshold of the timing recovery operation of the present invention. The analog front-end circuit 110 receives an input signal and adjusts the phase of the input signal according to the phase control signal (step S310), and then the ADC 120 converts the input signal from the analog domain to the digital domain. The phase detector 130 detects the phase of the input signal in each cycle of the input signal to generate a current phase value and a phase difference accumulation value (step S315), and calculates a target phase value based on the phase difference accumulation value (step S320). Under the current operating environment, if the analog front-end circuit 110 adjusts the phase of the input signal to the target phase value, the receiving end 100 will operate in a better state (e.g., a better signal-to-noise ratio (SNR)). In other words, the target phase value represents the ideal phase of the input signal under the current operating environment. Calculating the current phase value, the phase difference cumulative value and the target phase value is a technique well known to those skilled in the art, so it will not be described in detail (please refer to the literature: Wolaver, Dan H. (1991), Phase-Locked Loop Circuit Design, Prentice Hall, ISBN 0-13-662743-9). The phase detector 130 also generates a cumulative phase drive value according to the target phase value and the current phase value within a set time length (e.g., Y digital domain unit time (e.g., a system clock cycle), Y is a positive integer) (step S325, which will be described in detail below). The calculation circuit 140 can store the phase drive value in the memory 150 after receiving the phase drive value.

[0021] After receiving the phase drive value from the phase detector 130, the calculation circuit 140 determines whether the phase threshold needs to be updated (for example, whether the flag FLG is equal to 1, and the flag FLG can be stored in the memory 150) (step S330). If the result of step S330 is yes (for example, the flag FLG = 1), the calculation circuit 140 determines whether the cumulative number of phase drive values ​​is greater than the target value (step S335). When the cumulative number of phase drive values ​​is greater than the target value (the result of step S335 is yes), the calculation circuit 140 calculates the average of the phase drive values ​​(step S340). The purpose of steps S335 and S340 is to avoid frequent updates of the phase threshold due to the instantaneous extreme value of the phase drive value, which is beneficial to improve Figure 3 process stability and accuracy.

[0022] However, in some embodiments, the calculation circuit 140 does not calculate the average value of the phase driving value (i.e., ignores step S335 and step S340), but executes step S345 after determining that the phase threshold needs to be updated (the result of step S330 is yes). In the embodiment where the average value of the phase driving value is not calculated, the calculation circuit 140 updates the phase threshold according to the current phase driving value and the phase driving value before the phase adjustment in step S345, or updates the phase threshold according to the current phase driving value and the current phase threshold. Step S345 will be described in detail below.

[0023] When the accumulated number of phase drive values ​​is greater than the target value (the result of step S335 is yes), the calculation circuit 140 calculates the average value of these phase drive values ​​(step S340), and then updates the phase threshold value according to the average value and the phase drive value before the phase adjustment, or updates the phase threshold value according to the average value and the current phase threshold value (step S345, which will be described in detail below). After updating the phase threshold value, the calculation circuit 140 sets the flag FLG to 0 to indicate that the phase threshold value does not need to be updated (step S350).

[0024] When the result of step S330 is no, or the result of step S335 is no, the calculation circuit 140 determines whether the phase drive value is greater than the phase threshold (step S355). If the result of step S355 is no, the process returns to step S310, and the analog front-end circuit 110 continues to receive the input signal. In other words, when the phase drive value is not greater than the phase threshold, the calculation circuit 140 does not execute step S360 (i.e., does not generate a phase control signal).

[0025] If the result of step S355 is yes, the calculation circuit 140 generates a phase control signal (step S360) and sets the flag FLG to 1 to indicate that the phase threshold is to be updated (step S370). Steps S360 and S370 will be coordinated as follows: Figure 4 Detailed description.

[0026] Figure 4 The phase detector 130 generates an accumulated phase drive value B in each cycle: the phase drive value B1 is generated between time T and 2T (T is the cycle of the input signal), the phase drive value B2 is generated between time 2T and 3T, the phase drive value B3 is generated between time 3T and 4T, and so on. Assuming that the phase drive value B3 is greater than the phase threshold (the result of step S355 is yes), the calculation circuit 140 generates a phase control signal to control the analog front-end circuit 110 to adjust the phase of the input signal (step S360), and sets the flag FLG to 1 (step S370). Figure 4 For example, assuming that the target value of step S335 is 3 and the phase drive values ​​B4, B5 and B6 are not greater than the phase threshold, the calculation circuit 140 calculates the average value of the phase drive values ​​B4, B5 and B6 in step S340, and then the calculation circuit 140 updates the phase threshold according to the average phase drive value (i.e., the average value of B4, B5 and B6) and the phase drive value before adjusting the phase (i.e., B3) in step S345, or updates the phase threshold according to the average phase drive value and the current phase threshold.

[0027] The following will be passed Figure 5A and Figure 5B The displayed phase changes are detailed Figure 3 The steps and the operation details of the phase detector 130 and the calculation circuit 140 are shown. Figure 5A and Figure 5B Display target phase value PT, current phase value PC, phase threshold P th , and the relationship between the phase drive value B. Figure 5A and Figure 5B In the example, the analog front-end circuit 110 originally operates in a range with a wider phase interval (such as Figure 5A As shown, the current phase value PC corresponds to the phase P N , located at the phase interval (|P N+1 -P N |) wider interval), after a period of time, due to changes in the environment (such as voltage or temperature), the analog front-end circuit 110 becomes operated in a narrower phase interval (such as Figure 5B As shown, the current phase value PC' corresponds to the phase P M , located at the phase interval (|P M+1 -P M |) narrower interval) (where |P M+1 -P M |<|P N+1 -P N |).

[0028] The phase drive value is the difference between the target phase value and the current phase value (i.e., B=PT-PC, B′=PT-PC′, B″=PT-PC″). The smaller the absolute value of the phase drive value B (or B', B"), the more stable the receiving end 100 is. The larger the absolute value of the phase drive value B (or B', B"), the more unstable the receiving end 100 is (i.e., the analog front-end circuit 110 may be about to or must immediately adjust the phase of the input signal).

[0029] Assume that Figure 5A and Figure 5B The old (i.e., before update) phase threshold P th The size is set to correspond to a phase interval (i.e., P th Corresponding to P N+1 -P N ). Figure 5A In the example, the phase drive value B is smaller than the phase threshold P th ,so Figure 3 The result of step S355 is No.

[0030] exist Figure 5B When the absolute value of the difference between the target phase value PT and the current phase value PC' (ie, the phase drive value B') is greater than the old phase threshold value P th When (i.e. |B′|>P th , the judgment result of step S355 is yes), the calculation circuit 140 generates a phase control signal (step S360) and sets the flag FLG to 1 (step S370). At this time, since the phase driving value B' is a positive value (because the target phase value PT is greater than the current phase value PC'), the analog front-end circuit 110 changes the current phase value of the input signal from PC' (corresponding to the phase P') to 1 according to the phase control signal in the next step S310. M ) switches to PC” (corresponding to phase P M+1 ).

[0031] Even though the analog front-end circuit 110 has adjusted the phase of the input signal, since the operating environment of the receiving end 100 usually does not change significantly in a short period of time, the two target phase values ​​PT generated by two consecutive steps S320 will be very close. Figure 5B As shown, within a short period of time (depending on the operating environment) after the current phase value changes from the current phase value PC' to the current phase value PC", the change amount of the target phase value PT is 0 or very small.

[0032] Next, the phase detector 130 generates a phase driving value B' in step S325. The calculation circuit 140 updates the phase threshold value P according to the phase driving value B' (or the average value of a plurality of phase driving values ​​B') and the phase driving value B'.th , or according to the phase drive value B" (or the average value of multiple phase drive values ​​B") and the old phase threshold value P th Update phase threshold P th (Step S345). More specifically, in some embodiments, the new (updated) ( is the average value of several B″, α is a rational number, representing the magnification). In other embodiments, when the target phase value PT is very close to the phase threshold value P th When (that is, when ), In the embodiment where the average value of the phase driving value B is not calculated (i.e., steps S335 and S340 are skipped), In some embodiments, α=1, that is, the new (or ).by Figure 5B For example, when α=1, P th ' is approximately at the current phase value PC".

[0033] like Figure 5B As shown, Responsive phase P M+1 With phase P M The distance (i.e. the current phase interval, i.e. the current differential nonlinearity (DNL)). In other words, the new P th ′ is determined according to the current phase interval, so the new P th ′ is proportional to the current phase interval.

[0034] Fig. 6A and Figure 6B Another example of phase variation is shown. In this example, the analog front end circuit 110 is operated in a narrow phase interval (such as Fig. 6A ), and becomes an operation in a range with a wider phase interval (such as Figure 6B ). Fig. 6A and Figure 6B In the example, since the phase drive value B' is Figure 5A and Figure 5B The example is also positive (because the target phase value PT is greater than the current phase value PC'), so the analog front-end circuit 110 changes the current phase value of the input signal from PC' (corresponding to the phase P) to M ) switches to PC” (corresponding to phase P M+1 )(Step S310). Figure 6B In , since the target phase value PT is less than the current phase value PC", the phase drive value B" is a negative number (B" = PT-PC" < 0). Figure 5B ,because )reaction Figure 6B The phase interval (i.e. phase P M+1 With phase P M distance), so the new Also according to the current phase interval (with proportional).

[0035] The above-mentioned phase threshold adjustment mechanism can determine the new phase threshold according to the phase interval (large phase interval or small phase interval) currently operated by the analog front-end circuit 110. Therefore, when the current phase value PC of the analog front-end circuit 110 moves from a large phase interval to a small phase interval (such as Figure 5A and Figure 5B As shown), the calculation circuit 140 reduces the phase threshold P th , so as to avoid the system being unable to adjust the phase in time and causing asynchronism with the transmitting end. On the other hand, when the current phase value PC of the analog front-end circuit 110 moves from a small phase interval to a large phase interval (such as Fig. 6A and Figure 6B As shown), the calculation circuit 140 increases the phase threshold P th To avoid transient errors or signal-to-noise ratio degradation caused by frequent phase adjustments.

[0036] A person skilled in the art can Figure 3 The process is implemented by a logic circuit, a digital signal processor (DSP), a finite state machine, or an equivalent circuit to implement the calculation circuit 140. The receiving end 100 can be applied to a wired environment or a wireless environment.

[0037] Since a person skilled in the art can understand the implementation details and variations of the method invention disclosed in the present invention through the disclosure of the device invention disclosed in the present invention, in order to avoid redundancy, repeated descriptions are omitted without affecting the disclosure requirements and feasibility of the method invention. Please note that in the above-mentioned figures, the shapes, sizes, proportions, and order of steps of the components are only for illustration, and are provided for a person skilled in the art to understand the present invention, and are not intended to limit the present invention.

[0038] Although the embodiments of the present invention are described above, these embodiments are not intended to limit the present invention. A person skilled in the art may make changes to the technical features of the present invention according to the explicit or implicit contents of the present invention. All these changes may fall within the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention shall be subject to the definition of the claims of this specification.

[0039] Description of Reference Numerals

[0040] 100: receiving end

[0041] 110:Analog front-end circuit

[0042] 120:Analog-to-digital converter

[0043] 130: Phase detector

[0044] 140: Computing Circuit

[0045] 150: Memory

[0046] B1~B8,B,B',B": Phase drive value

[0047] PT: Target phase value

[0048] PC, PC', PC": Current phase value

[0049] P th :Phase threshold

[0050] S310~S370: Steps

Claims

1. A receiving end of an electronic device, comprising: An analog front end circuit, configured to receive an input signal and adjust the phase of the input signal according to a phase control signal; a phase detector coupled to the analog front-end circuit, configured to detect the phase of the input signal to generate a current phase value and a phase difference accumulation value, calculate a target phase value according to the phase difference accumulation value, and generate a first phase driving value according to the target phase value and the current phase value; and a calculation circuit, coupled to the phase detector and the analog front-end circuit, for generating the phase control signal according to the first phase driving value and a phase threshold; in, After the calculation circuit generates the phase control signal, the phase detector generates a second phase driving value, and the calculation circuit updates the phase threshold according to the first phase driving value and the second phase driving value.

2. The receiving end of the electronic device as claimed in claim 1, wherein the calculation circuit calculates an absolute difference between the first phase driving value and the second phase driving value, and multiplies the absolute difference by a factor to obtain the phase threshold. The receiving end of the electronic device as claimed in claim 2 , wherein the magnification is 1.

4. A receiving end of an electronic device, comprising: An analog front end circuit, configured to receive an input signal and adjust the phase of the input signal according to a phase control signal; a phase detector coupled to the analog front-end circuit, configured to detect the phase of the input signal to generate a current phase value and a phase difference accumulation value, calculate a target phase value according to the phase difference accumulation value, and generate a first phase driving value according to the target phase value and the current phase value; and a calculation circuit, coupled to the phase detector and the analog front-end circuit, for generating the phase control signal according to the first phase driving value and a phase threshold; in, After the calculation circuit generates the phase control signal, the phase detector generates a second phase driving value, and the calculation circuit updates the phase threshold according to the phase threshold and the second phase driving value. 5 . The receiving end of the electronic device as claimed in claim 4 , wherein the calculation circuit calculates an absolute difference between the phase threshold and the second phase driving value, and multiplies the absolute difference by a magnification to obtain the phase threshold. The receiving end of the electronic device as claimed in claim 5 , wherein the magnification is 1.

7. A method for setting a phase threshold for a timing recovery operation, comprising: (A) receiving an input signal; (B) detecting the phase of the input signal to generate a current phase value and a phase difference accumulated value; (C) calculating a target phase value according to the phase difference accumulated value; (D) generating a first phase driving value according to the target phase value and the current phase value; (E) generating a phase control signal according to the first phase drive value and the phase threshold; (F) adjusting the phase of the input signal according to the phase control signal; (G) repeating steps (A) to (C) to update the target phase value and the current phase value; (H) generating a second phase driving value according to the updated target phase value and the updated current phase value; and (I) Updating the phase threshold value according to an absolute difference between the first phase driving value and the second phase driving value, or according to an absolute difference between the phase threshold value and the second phase driving value.

8. The method of claim 7, wherein step (I) is to multiply the absolute difference by a factor to obtain the phase threshold. The method of claim 8 , wherein the magnification is 1.

Citation Information

Patent Citations

  • Time pulse recovery device and time pulse recovery method

    CN106612114A

  • Physical layer circuit, clock recovery circuit and frequency offset correction method

    CN109218237A

  • Predictive phase locked loop system

    US20090190283A1

  • Delay control circuit and clock generation circuit including the same

    US20130342250A1