US20180331817A1 - Loss of signal detection on cdr - Google Patents

Loss of signal detection on cdr Download PDF

Info

Publication number
US20180331817A1
US20180331817A1 US16/028,229 US201816028229A US2018331817A1 US 20180331817 A1 US20180331817 A1 US 20180331817A1 US 201816028229 A US201816028229 A US 201816028229A US 2018331817 A1 US2018331817 A1 US 2018331817A1
Authority
US
United States
Prior art keywords
clock signal
frequency
pll
signal
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US16/028,229
Other versions
US10129017B1 (en
Inventor
Parmanand Mishra
Simon Forey
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cavium International
Marvell Asia Pte Ltd
Original Assignee
Inphi Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inphi Corp filed Critical Inphi Corp
Priority to US16/028,229 priority Critical patent/US10129017B1/en
Assigned to INPHI CORPORATION reassignment INPHI CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FOREY, SIMON, MISHRA, PARMANAND
Application granted granted Critical
Publication of US10129017B1 publication Critical patent/US10129017B1/en
Publication of US20180331817A1 publication Critical patent/US20180331817A1/en
Assigned to MARVELL TECHNOLOGY CAYMAN I reassignment MARVELL TECHNOLOGY CAYMAN I ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INPHI CORPORATION
Assigned to CAVIUM INTERNATIONAL reassignment CAVIUM INTERNATIONAL ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MARVELL TECHNOLOGY CAYMAN I
Assigned to MARVELL ASIA PTE LTD. reassignment MARVELL ASIA PTE LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CAVIUM INTERNATIONAL
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • H04L7/0331Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/0262Arrangements for detecting the data rate of an incoming signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/01Equalisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0083Receiver details taking measures against momentary loss of synchronisation, e.g. inhibiting the synchronisation, using idle words or using redundant clocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0091Transmitter details
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop

Definitions

  • the present invention is directed to data communication.
  • the present invention is directed to data communication. More specifically, an embodiment of the present invention provides a technique for detecting loss of signal. An incoming data stream is sampled and a recovered clock signal is generated from receiver accordingly. In CDR (clock and data recovery) the recovered clock is send to transmitter for signal regeneration. An output clock signal of a higher frequency than the recovered clock signal is generated by a narrow-band transmission PLL. The frequency of the recovered clock signal is compared to a divided frequency of the output clock signal. If a difference between the recovered clock signal and the output clock signal is greater than a threshold error level, a loss of signal indication is provided. There are other embodiments as well.
  • the present invention provides a SERDES device.
  • the device includes an input terminal for processing an input data stream that is characterized by a receiver data frequency.
  • the device also includes an equalizer module that is configured to generate an equalizer output signal based on the input data stream.
  • the device further includes a sense amplifier configured to sample the equalizer output signal and provide a sample data stream.
  • the device also includes a receiver PLL characterized by a first frequency range.
  • the receiver PLL is configured to generate a recovered clock signal at a incoming data frequency.
  • the receive PLL is characterized by a first frequency range.
  • the device additionally includes a second PLL (transmitter PLL) that has a PLL core and a detection module.
  • the PLL core is configured to generate a transmission clock signal at a data frequency using the recovered clock signal.
  • the PLL core is characterized by a second frequency range that is very smaller than the receive frequency range.
  • the detection module is configured to generate a locking indication based on a first frequency count of the recovered clock signal and a second frequency count of the transmission clock signal over a predetermined period of time.
  • the present invention provides a SERDES device that includes an input terminal for processing an input data stream that is characterized by a receiver data frequency.
  • the device also includes an equalizer module configured to generate an equalizer output signal based on the input data stream.
  • the device further includes a sense amplifier configured to sample the equalizer output signal and provide a sample data stream.
  • the device also includes a first PLL characterized by a first frequency range.
  • the first PLL is configured to generate a recovered clock signal at a second data frequency.
  • the first PLL is characterized by a first frequency range.
  • the device further includes a second PLL configured to generate a transmission clock signal at a third data frequency using at least the recovered clock signal.
  • the PLL second is characterized by a second frequency range.
  • the second frequency range is smaller than the first frequency range.
  • the third data frequency is greater than the second data frequency by a predetermined ratio.
  • the device additionally includes a detection module that has a frequency divider and a frequency comparator.
  • the frequency divider is configured to divide the transmission clock signal by the predetermined ratio.
  • the frequency comparator is configured to determine whether a difference between the divided transmission clock signal and the recovered clock signal is greater than a predetermined threshold.
  • the detection module is configured to provide a loss of signal indication if the difference is greater than the predetermined threshold.
  • the present invention provides a method for loss of signal detection.
  • the method includes receiving an incoming data stream that is characterized by a first frequency.
  • the method also includes sampling the income data stream to obtain sampled data.
  • the method also includes generating a recovered clock signal for the sampled data, the recovered clock signal being characterized by a second frequency.
  • the method additionally includes generating an output clock signal that is characterized by a third frequency.
  • the third frequency is m times the frequency of the second frequency.
  • the method also includes dividing the output clock signal by a factor of m.
  • the method additionally includes determining a first duty cycle count for the recovered clock signal during a first time interval.
  • the method further includes determining a second duty cycle count for the divided output clock signal during the first time interval.
  • the method also includes calculating a difference between the first duty cycle count and the second duty cycle count.
  • the method additionally includes generating a loss of signal indication if the difference is greater than a predetermined threshold.
  • embodiments of the present invention provide numerous advantages over existing technology. Compared to conventional techniques, embodiments of the present invention can be implemented efficiently without specialized hardware modules, as frequency divider and frequency comparators used in loss of signal detection can be easily implemented. Embodiments of the present invention use existing transmission PLL (with receiver) for loss of signal detection. In addition, embodiments of the present invention can be implemented using existing hardware and manufacturing processes with minimal modifications. There are other benefits as well.
  • FIG. 1 is a simplified diagram illustrating a SERDES device 100 according to an embodiment of the present invention.
  • FIG. 2 is a simplified diagram illustrating a transmission PLL module 200 according to an embodiment of the present invention.
  • FIG. 3 is a simplified timing diagram illustrating operation of lock detection according to an embodiment of the present invention.
  • FIG. 4 is a simplified diagram illustrating a frequency mismatch scenario according to embodiments of the present invention.
  • FIG. 5A is a simplified diagram illustrating a low signal strength scenario according to embodiments of the present invention.
  • FIG. 5B is a simplified diagram illustrating another low signal strength scenario according to embodiments of the present invention.
  • FIG. 6 is a simplified flow diagram illustrating a process to detect lock status according to an embodiment of the present invention.
  • the present invention is directed to data communication. More specifically, an embodiment of the present invention provides a technique for detecting loss of signal. An incoming data stream is sampled and a recovered clock signal is generated accordingly. An output clock signal of a higher frequency than the recovered clock signal is generated by a transmission PLL. The frequency of the recovered clock signal is compared to a divided frequency of the output clock signal. If a difference between the recovered clock signal and the output clock signal is greater than a threshold, a loss of signal indication is provided.
  • a threshold a threshold
  • SERDES data communication system systems often require a loss of signal (LOS) detector that indicates whether a signal is present on the high-speed receiver terminal.
  • LOS loss of signal
  • an LOS detector allows a system to power down to save power if signal is not present at the receiver terminal.
  • signal strength is examined to see if the signal has enough amplitude for sampling.
  • data frequency of the incoming signal is examine to see if this frequency is within the operable range of the system.
  • there have been conventional techniques for LOS detection but they are often inadequate for having negative impact on signal integrity and large power/area overhead. It is thus to be appreciated that embodiments of the present invention provide improved techniques of LOS detection.
  • any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6.
  • the use of “step of” or “act of” in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.
  • FIG. 1 is a simplified diagram illustrating a SERDES device 100 according to an embodiment of the present invention.
  • device 100 includes a terminal 101 for receiving incoming data.
  • terminal 101 is connected to a data communication link, which may include optical communication link or other types of communication lines.
  • Terminal 101 is connected to the continuous time linear equalization (CTLE) module 102 .
  • CTLE continuous time linear equalization
  • the CTLE 102 may be implemented as an equalizer module.
  • an “output” of a CTLE typically includes a positive output and a negative output, as a pair of outputs.
  • Module 102 is connected to data sense amplifier 103 and edge sense amplifier 104 . Additionally, module 102 is connected to DEMUX module 107 , which provides a digital output.
  • DEMUX module 340 corresponds to DEMUX module 107 in FIG. 1 as a part of the SERDES 100 .
  • sampling typically involves two or more samplers.
  • the data sense amplifier 103 is used for data sampling
  • edge sense amplifier 104 is configured for edge sampling. It is to be understood the data sense amplifier 103 and the edge sense amplifier 104 together amplify data received from the equalizer module 102 .
  • Signal strength of the incoming data may be too small even after amplification by the sense amplifiers, and in such case outputs of the sense amplifiers may simply be noise.
  • Data sense amplifier 103 and the sense amplifier 104 are connected to decoder 105 .
  • Decoder or sometimes referred to as “early/late detection module”, is configured to determine whether the incoming data is early or late, which is typically measured in phase.
  • the decoder 105 comprises shift detection mechanisms for determining whether the incoming signal is sampled early or late.
  • the decoder 105 is coupled to a phase-lock loop (PLL) module 106 .
  • PLL phase-lock loop
  • the PLL module 106 is configured to provide clock signal recovery.
  • the PLL module 106 includes a charge pump, loop filter, voltage controlled oscillator, program delay, and/or other components.
  • the output of the PLL module 105 comprises a recovered clock signal that is provided to data sense amplifier 103 and the edge sense amplifier 104 as shown. Data sampled by the sense amplifiers 103 and 104 are provided to the DEMUX module 107 .
  • the recovered clock signal generated by the PLL 106 is used during the data transmission process, as the recovered clock signal corresponds to the data sampled by the sense amplifiers.
  • the PLL 106 is configured to function at a wide frequency range, thereby allowing it to generate a recovered clock signal that matches the frequency of the incoming data received at terminal 101 .
  • the recovered data is then to be transferred at an output clock frequency, which is different from frequency of the recovered clock signal.
  • the transmission (TX) driver 109 transfers output data at the output clock frequency provided by the transmission (TX) PLL 108 .
  • the TX PLL 108 provides frequency multiplying, where the output clock frequency can be much higher than frequency of the recovered clock signal.
  • TX PLL 108 is configured to multiply the frequency of the recovered clock signal by a factor of m and provide a high frequency output clock signal.
  • the transmission driver 109 uses the data received from the DEMUX module 107 and the output clock signal from the TX PLL 108 to generate an data output.
  • FIG. 2 is a simplified diagram illustrating a transmission PLL module 200 according to an embodiment of the present invention.
  • This diagram is merely an example, which should not unduly limit the scope of the claims.
  • transmission PLL module 200 can be used as TX PLL 108 illustrated in FIG. 1 .
  • module 200 includes a core 201 and a detector 202 .
  • Core 201 is configured to change the reference clock frequency by a predetermined amount.
  • core 201 is specifically configured to increase the clock signal frequency by a factor m, as mentioned above.
  • core 201 comprises inductor and capacitor (i.e., LC) elements that operate in conjunction with PLL elements to provide a high-frequency low-jitter output clock signal.
  • the frequency multiplier m for example, is predetermined or set according to the frequency of the transmission link. For transmission over an optical communication network, a transmission frequency is used, and the frequency multiplier m is determined by a communication system to provide the frequency needed for data transmission.
  • the TX PLL 108 with its inductive and capacitive elements, are implemented as a narrow (compared to the frequency band of the RX PLL module 106 in FIG. 1 ) band PLL. In contrast, the receiver PLL 106 in FIG.
  • the PLL module 200 is used to recover clock signal from the data received and thus is specifically selected to work with a large frequency band. Since the PLL module 200 has a much smaller bandwidth (e.g., can be smaller by a factor of 100 or more) than the RX PLL 106 in FIG. 1 , the PLL module 200 would lose lock on the recovered clock signal from the RX PLL 106 if the recovered clock signal is not stable (e.g., typically due to signal strength or due to out of band frequency).
  • the loss of signal on the recovered clock signal be caused in different scenarios, such as frequency mismatch, low signal-to-noise ratio (SNR), and/or others.
  • SNR signal-to-noise ratio
  • the received data is characterized by a low SNR, from which the recovered clock signal generated by the RX PLL 106 is mostly noise signal, and the PLL module 200 similarly cannot provide a lock between data and the clock signal needed for data transmission.
  • the detector 202 provides a loss of signal signal, from which the communication knows that the data transmission based on the output clock signal of the PLL module 200 is not locked, and thus likely to be unusable data.
  • the detector 202 is configured to provide a loss of signal indication by monitoring the recovered clock signal received from the RX PLL 106 and the output clock signal generated by the TX PLL 201 .
  • detector 202 comprises a frequency divider and a frequency comparator. Since the output clock signal is an m multiple of the reference clock signal from the RX PLL 106 , performing frequency comparison involves first diving the output clock signal by a factor of m and comparing the divided output clock signal to the reference clock signal.
  • the frequency comparator of detector 202 is characterized by a frequency range, which is typically less than 700 MHz.
  • n of duty cycles are compared.
  • n is typically greater than 10,000. It is to be appreciate that since recovered clock signal is typically operating at a frequency on the order of 1 MHz or higher, comparing 10,000 duty cycles can be accomplished within a fraction of a second.
  • detector 202 counts the number n r of falling edges (or rising edges) for the recovered clock signal and the number n t of falling edges (or rising edges) for the divided output clock signal within a predetermined period of time (e.g., 100 ms). If the clock signals are locked, the difference n e between n r and n t should be less than or equal to a predetermined error rate (e.g., less than 10). If n e is greater than the predetermined error rate, detector 202 generates a loss of signal indication to indicate that the clock signals are not locked.
  • detector 202 includes one or more counters to store n e , n t , and/or n e . It is to be appreciated that depending on the implementation, loss of lock detection process can be performed in real time or periodically.
  • FIG. 3 is a simplified timing diagram illustrating operation of lock detection according to an embodiment of the present invention.
  • This diagram is merely an example, which should not unduly limit the scope of the claims.
  • the first clock correspond to the recovered clock signal generated by the RX PLL
  • the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL.
  • the time interval “T 1 ” is the predetermined time period during which lock detection is performed.
  • second clock lags behind the first clock, which is attributed to the delay due to processing performed by the TX PLL and the frequency divider.
  • the first clock and the second clock both complete five duty cycles as shown, which means that clock signals are properly locked, and the lock indicator at end of T 1 is “1”, indicating the lock status.
  • FIG. 3 merely provides an illustration. In actual operation, a much larger number (e.g., 10,000 or more) of duty cycles are counted and compared to determine whether there is a proper lock.
  • FIG. 4 is a simplified diagram illustrating a frequency mismatch scenario according to embodiments of the present invention.
  • This diagram is merely an example, which should not unduly limit the scope of the claims.
  • the first clock correspond to the recovered clock signal generated by the RX PLL
  • the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL.
  • the time interval “T 1 ” is the predetermined time period during which lock detection is performed.
  • the first clock signal may be within the operating frequency band of the RX PLL, which has a much greater range than frequency range of the TX PLL, but the first clock signal is not within the operating frequency band of the RX PLL, and as a result of this frequency mismatch, the output clock signal is not properly locked.
  • the first clock has five complete duty cycles within the time interval “T 1 ”, while the second clock only has two complete duty cycles during the same time interval, which means that there is no lock.
  • the lock indicator at the end of “T 1 ” is thus “0”, which indicates that there is no lock.
  • the LOS detection systems and techniques according the present invention can efficiently determine loss of signal.
  • the signal strength (and the SNR) is simply too low for the system to make use of the signal received from the input terminal.
  • the signal strength on the input terminal may occasionally be strong enough for the system to covert to clock signals, but unfortunately the received signal is mostly unusable noise.
  • Embodiments of the present invention detects both of these scenarios. For example, if signal strength is too low when compared to a predetermined threshold level, the LOS detection system simply outputs an indication that the signal is loss.
  • FIG. 5A is a simplified diagram illustrating a low signal a strength scenarios according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications.
  • the sampled signal has a signal strength that is greater than the threshold level.
  • the sampled signal has signal strength that is below the threshold level.
  • a LOS detection mechanism can easily determine that signal strength is too low and a LOS indication should be provided.
  • the signal strength is above the threshold level, but it should not be concluded that signal (or usable signal) is present on the input terminal, as strength of random noise may be high enough to be above the threshold level. Thus, if the signal strength is greater than the predetermined threshold level, it simply means different determinations need to be made.
  • FIG. 5B is a simplified diagram illustrating another low signal strength scenario according to embodiments of the present invention.
  • This diagram is merely an example, which should not unduly limit the scope of the claims.
  • the first clock correspond to the recovered clock signal generated by the RX PLL
  • the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL.
  • the time interval “T 1 ” is the predetermined time period during which lock detection is performed.
  • the RX PLL sometimes still recover some “clock signals” that are essentially random data that cannot be locked or transmitted. As can be seen in FIG.
  • the first clock as shown has a number of duty cycles, which may even seem regular. However, after multiplied by the TX PLL and then divided by the lock detector module, the corresponding second clock as shown includes random duty cycles at irregular intervals. During the time interval “T 1 ”, the first clock has five complete duty cycles, and the second clock has three complete duty cycles. By comparing the number of the complete duty cycles during T 1 , the detectors determines that there is no lock. The lock indicator at the end of “T 1 ” is thus “0”, which indicates that there is no lock. It is to be appreciated that by comparing the number of duty cycles within a predetermined time interval, a “false negative” LOS detection scenario explained above can be detected.
  • the detection technique according to embodiments of the present invention can reliably and efficiently detect loss of lock without requiring extensive detection hardware.
  • a large number of duty cycles e.g., 10,000 or more cycles
  • the chance of recovered clock signal and the output clock signal having almost the same number of duty cycles within a time interval is almost zero.
  • FIG. 6 is a simplified flow diagram illustrating a process to detect lock status according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims.
  • One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, one or more steps illustrated in FIG. 6 and described below may be added, removed, repeated, rearranged, modified, replaced, and/or overlapped and should not unduly limit the scope of the claims.
  • incoming data are received.
  • incoming data is receive by a data terminal.
  • terminal 101 illustrated in FIG. 1 is receives data from a data communication line.
  • An equalizer (e.g., CTLE) module may be used to process the incoming data.
  • the incoming data is then sampled, at step 602 .
  • sample may be performed by sense amplifiers as shown in FIG. 1 .
  • Sense amplifier, data amplifier, and/or other types of amplifiers may be implemented in conjunction with one another to provide edge sampling and data sampling as needed.
  • incoming data may be amplified as needed to provide enough SNR for processing and transmission.
  • the signal strength of the sampled incoming data is compared to a predetermined threshold level, at step 611 .
  • a predetermined threshold level As explained above (and illustrated in FIG. 5A ), if the signal strength is below a predetermined threshold level, it means that the sampled data are likely to be noise or otherwise useless. In such scenario, is it unnecessary and wasteful (in terms of power consumption and computation cost) to perform additional work on the sampled data, and a loss of lock indication is provided.
  • the signal strength is above the predetermined threshold level, it could be that the noise or otherwise unusable data are present, and to determine whether there is a loss of lock, additional steps are needed, and phase detection is performed next at step 603 .
  • Phase detection is performed at step 603 .
  • phase detection may be performed by an early/late decoder module that determines whether the incoming data is early or late, which is typically measured in phase.
  • the decoder 105 illustrated in FIG. 1 comprises shift detection mechanisms for determining whether the incoming signal is sampled early or late.
  • a recovered clock signal is generated at step 604 .
  • the RX PLL 106 is specifically configured to work in conjunction with decoder to generate a recovered clock signal.
  • decoder For example, in high-speed serial data communication (e.g., incoming data received from a disk storage), incoming data are sometimes without clock signal. Based on the data rate, the RX PLL 106 works with the phase detector to generate a recovered (or sometimes referred to as reference) clock signal that is phase-aligned to the incoming data.
  • An output clock signal is generated at step 605 .
  • TX PLL 108 illustrated in FIG. 1 provides frequency multiplying, where the output clock frequency can be much higher than frequency of the recovered clock signal.
  • the output clock signal is characterized by m times the frequency of the recovered clock signal.
  • the output clock signal is divided by a factor of m at step 606 .
  • the detector module comprises a frequency divider that divides the frequency of the output signal by a factor m, which allows the divided output clock signal to be compared to the recovered clock signal.
  • the number n r of duty cycles of the recovered clock signal during a predetermined time interval is counted.
  • the time interval is specifically selected to allow a statistically large number of duty cycles to be counted. For example, for a recovered clock signal that operates at about 100 MHz, to obtain 10,000 duty cycles, a fraction of a second is needed.
  • the number n t of duty cycles of the output clock signal during the same time interval is counted. For example, the number of duty cycles can be counted by the number of rising or falling edges.
  • the difference n e between n r and n t is calculated. It is to be understood a small difference n e between n r and n t may exist even when there is a proper lock, which can be attributed to delay and computational rounding (e.g., multiplying and dividing) between the recovered clock signal and the output clock signal. According, a predetermined threshold difference is used. For example, for 10,000 duty cycles, the threshold difference may be less than 10, or even less than 2.
  • the difference n e is compared to the predetermined threshold. For example, if the difference is greater than the threshold, then a loss of signal or loss of lock indication is generated; on the other hand, if the difference is not greater than the threshold, a lock indication is generated.
  • the lock detection is an aspect of data transmission process. For example, if the loss of signal determination is made, the data transmission may be suspended and wait for corrective measures. On the other hand, if the lock determination is made, data transmission processes proceed. For example, as a part of a SERDES, incoming data is sampled and transmitted with at a high data frequency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Mining & Analysis (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention is directed to data communication. More specifically, an embodiment of the present invention provides a technique for detecting loss of signal. An incoming data stream is sampled and a recovered clock signal is generated accordingly. An output clock signal of a higher frequency than the recovered clock signal is generated by a transmission PLL. The frequency of the recovered clock signal is compared to a divided frequency of the output clock signal. If a difference between the recovered clock signal and the output clock signal is greater than a threshold, a loss of signal indication is provided. There are other embodiments as well.

Description

    CROSS-REFERENCES TO RELATED APPLICATIONS
  • The present application is a continuation of and claims priority to U.S. application Ser. No. 15/337,072 filed Oct. 28, 2016, which is a continuation of and claims priority to U.S. application Ser. No. 14/842,699 filed Sep. 1, 2015 (now U.S. Pat. No. 9,515,852 issued Dec. 6, 2016), the entire contents of which are incorporated herein by reference.
  • STATEMENT AS TO RIGHTS TO INVENTIONS MADE UNDER FEDERALLY SPONSORED RESEARCH AND DEVELOPMENT
  • NOT APPLICABLE
  • REFERENCE TO A “SEQUENCE LISTING,” A TABLE, OR A COMPUTER PROGRAM LISTING APPENDIX SUBMITTED ON A COMPACT DISK
  • NOT APPLICABLE
  • BACKGROUND OF THE INVENTION
  • The present invention is directed to data communication.
  • Over the last few decades, the use of communication networks exploded. In the early days of the Internet, popular applications were limited to emails, bulletin board, and mostly informational and text-based web page surfing, and the amount of data transferred was usually relatively small. Today, Internet and mobile applications demand a huge amount of bandwidth for transferring photo, video, music, and other multimedia files. For example, a social network like Facebook processes more than 500 TB of data daily. With such high demands on data and data transfer, existing data communication systems need to be improved to address these needs. For high-data communication applications, serializer/deserializer (SERDES) are often used.
  • Over the past, there have been many types of communication systems and methods. Unfortunately, they have been inadequate for various applications. More specifically, detecting loss of signal can be challenging. Therefore, improved systems and methods are desired.
  • BRIEF SUMMARY OF THE INVENTION
  • The present invention is directed to data communication. More specifically, an embodiment of the present invention provides a technique for detecting loss of signal. An incoming data stream is sampled and a recovered clock signal is generated from receiver accordingly. In CDR (clock and data recovery) the recovered clock is send to transmitter for signal regeneration. An output clock signal of a higher frequency than the recovered clock signal is generated by a narrow-band transmission PLL. The frequency of the recovered clock signal is compared to a divided frequency of the output clock signal. If a difference between the recovered clock signal and the output clock signal is greater than a threshold error level, a loss of signal indication is provided. There are other embodiments as well.
  • According to an embodiment, the present invention provides a SERDES device. The device includes an input terminal for processing an input data stream that is characterized by a receiver data frequency. The device also includes an equalizer module that is configured to generate an equalizer output signal based on the input data stream. The device further includes a sense amplifier configured to sample the equalizer output signal and provide a sample data stream. The device also includes a receiver PLL characterized by a first frequency range. The receiver PLL is configured to generate a recovered clock signal at a incoming data frequency. The receive PLL is characterized by a first frequency range. The device additionally includes a second PLL (transmitter PLL) that has a PLL core and a detection module. The PLL core is configured to generate a transmission clock signal at a data frequency using the recovered clock signal. The PLL core is characterized by a second frequency range that is very smaller than the receive frequency range. The detection module is configured to generate a locking indication based on a first frequency count of the recovered clock signal and a second frequency count of the transmission clock signal over a predetermined period of time.
  • According to another embodiment, the present invention provides a SERDES device that includes an input terminal for processing an input data stream that is characterized by a receiver data frequency. The device also includes an equalizer module configured to generate an equalizer output signal based on the input data stream. The device further includes a sense amplifier configured to sample the equalizer output signal and provide a sample data stream. The device also includes a first PLL characterized by a first frequency range. The first PLL is configured to generate a recovered clock signal at a second data frequency. The first PLL is characterized by a first frequency range. The device further includes a second PLL configured to generate a transmission clock signal at a third data frequency using at least the recovered clock signal. The PLL second is characterized by a second frequency range. The second frequency range is smaller than the first frequency range. The third data frequency is greater than the second data frequency by a predetermined ratio. The device additionally includes a detection module that has a frequency divider and a frequency comparator. The frequency divider is configured to divide the transmission clock signal by the predetermined ratio. The frequency comparator is configured to determine whether a difference between the divided transmission clock signal and the recovered clock signal is greater than a predetermined threshold. The detection module is configured to provide a loss of signal indication if the difference is greater than the predetermined threshold.
  • According to yet another embodiment, the present invention provides a method for loss of signal detection. The method includes receiving an incoming data stream that is characterized by a first frequency. The method also includes sampling the income data stream to obtain sampled data. The method also includes generating a recovered clock signal for the sampled data, the recovered clock signal being characterized by a second frequency. The method additionally includes generating an output clock signal that is characterized by a third frequency. The third frequency is m times the frequency of the second frequency. The method also includes dividing the output clock signal by a factor of m. The method additionally includes determining a first duty cycle count for the recovered clock signal during a first time interval. The method further includes determining a second duty cycle count for the divided output clock signal during the first time interval. The method also includes calculating a difference between the first duty cycle count and the second duty cycle count. The method additionally includes generating a loss of signal indication if the difference is greater than a predetermined threshold.
  • It is to be appreciated that embodiments of the present invention provide numerous advantages over existing technology. Compared to conventional techniques, embodiments of the present invention can be implemented efficiently without specialized hardware modules, as frequency divider and frequency comparators used in loss of signal detection can be easily implemented. Embodiments of the present invention use existing transmission PLL (with receiver) for loss of signal detection. In addition, embodiments of the present invention can be implemented using existing hardware and manufacturing processes with minimal modifications. There are other benefits as well.
  • The present invention achieves these benefits and others in the context of known technology. However, a further understanding of the nature and advantages of the present invention may be realized by reference to the latter portions of the specification and attached drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a simplified diagram illustrating a SERDES device 100 according to an embodiment of the present invention.
  • FIG. 2 is a simplified diagram illustrating a transmission PLL module 200 according to an embodiment of the present invention.
  • FIG. 3 is a simplified timing diagram illustrating operation of lock detection according to an embodiment of the present invention.
  • FIG. 4 is a simplified diagram illustrating a frequency mismatch scenario according to embodiments of the present invention.
  • FIG. 5A is a simplified diagram illustrating a low signal strength scenario according to embodiments of the present invention.
  • FIG. 5B is a simplified diagram illustrating another low signal strength scenario according to embodiments of the present invention.
  • FIG. 6 is a simplified flow diagram illustrating a process to detect lock status according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE INVENTION
  • The present invention is directed to data communication. More specifically, an embodiment of the present invention provides a technique for detecting loss of signal. An incoming data stream is sampled and a recovered clock signal is generated accordingly. An output clock signal of a higher frequency than the recovered clock signal is generated by a transmission PLL. The frequency of the recovered clock signal is compared to a divided frequency of the output clock signal. If a difference between the recovered clock signal and the output clock signal is greater than a threshold, a loss of signal indication is provided. There are other embodiments as well.
  • As mentioned above, SERDES data communication system systems often require a loss of signal (LOS) detector that indicates whether a signal is present on the high-speed receiver terminal. For example, an LOS detector allows a system to power down to save power if signal is not present at the receiver terminal. Often, to detect whether signal is present, signal strength is examined to see if the signal has enough amplitude for sampling. Additionally, data frequency of the incoming signal is examine to see if this frequency is within the operable range of the system. Over the past, there have been conventional techniques for LOS detection, but they are often inadequate for having negative impact on signal integrity and large power/area overhead. It is thus to be appreciated that embodiments of the present invention provide improved techniques of LOS detection.
  • The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of embodiments. Thus, the present invention is not intended to be limited to the embodiments presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
  • In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
  • The reader's attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.
  • Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of” or “act of” in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.
  • Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and/or directions between various portions of an object.
  • FIG. 1 is a simplified diagram illustrating a SERDES device 100 according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. As shown in FIG. 1, device 100 includes a terminal 101 for receiving incoming data. For example, terminal 101 is connected to a data communication link, which may include optical communication link or other types of communication lines. Terminal 101 is connected to the continuous time linear equalization (CTLE) module 102. For example, the CTLE 102 may be implemented as an equalizer module. As an example, an “output” of a CTLE typically includes a positive output and a negative output, as a pair of outputs. Module 102 is connected to data sense amplifier 103 and edge sense amplifier 104. Additionally, module 102 is connected to DEMUX module 107, which provides a digital output. For example, DEMUX module 340 corresponds to DEMUX module 107 in FIG. 1 as a part of the SERDES 100. As mentioned above, sampling typically involves two or more samplers. For example, the data sense amplifier 103 is used for data sampling, and edge sense amplifier 104 is configured for edge sampling. It is to be understood the data sense amplifier 103 and the edge sense amplifier 104 together amplify data received from the equalizer module 102. In certain scenarios, signal strength of the incoming data may be too small even after amplification by the sense amplifiers, and in such case outputs of the sense amplifiers may simply be noise. Data sense amplifier 103 and the sense amplifier 104 are connected to decoder 105. Decoder, or sometimes referred to as “early/late detection module”, is configured to determine whether the incoming data is early or late, which is typically measured in phase. For example, the decoder 105 comprises shift detection mechanisms for determining whether the incoming signal is sampled early or late. The decoder 105 is coupled to a phase-lock loop (PLL) module 106.
  • In various embodiments, the PLL module 106 is configured to provide clock signal recovery. In various embodiments, the PLL module 106 includes a charge pump, loop filter, voltage controlled oscillator, program delay, and/or other components. The output of the PLL module 105 comprises a recovered clock signal that is provided to data sense amplifier 103 and the edge sense amplifier 104 as shown. Data sampled by the sense amplifiers 103 and 104 are provided to the DEMUX module 107. Additionally, the recovered clock signal generated by the PLL 106 is used during the data transmission process, as the recovered clock signal corresponds to the data sampled by the sense amplifiers. As a receiver PLL (RX PLL), the PLL 106 is configured to function at a wide frequency range, thereby allowing it to generate a recovered clock signal that matches the frequency of the incoming data received at terminal 101.
  • The recovered data is then to be transferred at an output clock frequency, which is different from frequency of the recovered clock signal. To do so, the transmission (TX) driver 109 transfers output data at the output clock frequency provided by the transmission (TX) PLL 108. In various embodiments, the TX PLL 108 provides frequency multiplying, where the output clock frequency can be much higher than frequency of the recovered clock signal. For example, TX PLL 108 is configured to multiply the frequency of the recovered clock signal by a factor of m and provide a high frequency output clock signal. The transmission driver 109 uses the data received from the DEMUX module 107 and the output clock signal from the TX PLL 108 to generate an data output.
  • FIG. 2 is a simplified diagram illustrating a transmission PLL module 200 according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, transmission PLL module 200 can be used as TX PLL 108 illustrated in FIG. 1. Among other features, module 200 includes a core 201 and a detector 202. Core 201 is configured to change the reference clock frequency by a predetermined amount. In various embodiments, core 201 is specifically configured to increase the clock signal frequency by a factor m, as mentioned above. For example, core 201 comprises inductor and capacitor (i.e., LC) elements that operate in conjunction with PLL elements to provide a high-frequency low-jitter output clock signal. The frequency multiplier m, for example, is predetermined or set according to the frequency of the transmission link. For transmission over an optical communication network, a transmission frequency is used, and the frequency multiplier m is determined by a communication system to provide the frequency needed for data transmission. The TX PLL 108, with its inductive and capacitive elements, are implemented as a narrow (compared to the frequency band of the RX PLL module 106 in FIG. 1) band PLL. In contrast, the receiver PLL 106 in FIG. 1 is used to recover clock signal from the data received and thus is specifically selected to work with a large frequency band. Since the PLL module 200 has a much smaller bandwidth (e.g., can be smaller by a factor of 100 or more) than the RX PLL 106 in FIG. 1, the PLL module 200 would lose lock on the recovered clock signal from the RX PLL 106 if the recovered clock signal is not stable (e.g., typically due to signal strength or due to out of band frequency).
  • It is to be appreciated that the loss of signal on the recovered clock signal be caused in different scenarios, such as frequency mismatch, low signal-to-noise ratio (SNR), and/or others. For example, when the recovered clock signal provided by the RX PLL 106 is out of the narrow frequency band of the PLL module 200, frequency mismatch occurs, and the clock signal generated by the PLL module 200 does not provide the lock that the transmission needs. In certain scenarios, the received data is characterized by a low SNR, from which the recovered clock signal generated by the RX PLL 106 is mostly noise signal, and the PLL module 200 similarly cannot provide a lock between data and the clock signal needed for data transmission. When the PLL module 200 is unable to provide data lock, the detector 202 provides a loss of signal signal, from which the communication knows that the data transmission based on the output clock signal of the PLL module 200 is not locked, and thus likely to be unusable data.
  • The detector 202 is configured to provide a loss of signal indication by monitoring the recovered clock signal received from the RX PLL 106 and the output clock signal generated by the TX PLL 201. Among other features, detector 202 comprises a frequency divider and a frequency comparator. Since the output clock signal is an m multiple of the reference clock signal from the RX PLL 106, performing frequency comparison involves first diving the output clock signal by a factor of m and comparing the divided output clock signal to the reference clock signal. For example, the frequency comparator of detector 202 is characterized by a frequency range, which is typically less than 700 MHz. Thus, for the purpose of comparing the recovered clock signal and the output clock signal, it is preferable to divide the frequency of the output clock signal for comparison at the lower frequency. For example, if the frequency of the output clock signal is greater than the upper limit of the frequency comparator frequency range, performing frequency comparison at the frequency of the output clock signal is simply not possible.
  • To detect whether the clock signal has lost the signal, a predetermined number n of duty cycles are compared. For example, for the purpose of having a statistically significant number of cycles compared, n is typically greater than 10,000. It is to be appreciate that since recovered clock signal is typically operating at a frequency on the order of 1 MHz or higher, comparing 10,000 duty cycles can be accomplished within a fraction of a second.
  • In a specific embodiment, detector 202 counts the number nr of falling edges (or rising edges) for the recovered clock signal and the number nt of falling edges (or rising edges) for the divided output clock signal within a predetermined period of time (e.g., 100 ms). If the clock signals are locked, the difference ne between nr and nt should be less than or equal to a predetermined error rate (e.g., less than 10). If ne is greater than the predetermined error rate, detector 202 generates a loss of signal indication to indicate that the clock signals are not locked. For example, detector 202 includes one or more counters to store ne, nt, and/or ne. It is to be appreciated that depending on the implementation, loss of lock detection process can be performed in real time or periodically.
  • FIG. 3 is a simplified timing diagram illustrating operation of lock detection according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, the first clock correspond to the recovered clock signal generated by the RX PLL, and the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL. The time interval “T1” is the predetermined time period during which lock detection is performed. As can be seen in FIG. 3, second clock lags behind the first clock, which is attributed to the delay due to processing performed by the TX PLL and the frequency divider. At the end of the time interval “T1”, the first clock and the second clock both complete five duty cycles as shown, which means that clock signals are properly locked, and the lock indicator at end of T1 is “1”, indicating the lock status. It is to be understood that FIG. 3 merely provides an illustration. In actual operation, a much larger number (e.g., 10,000 or more) of duty cycles are counted and compared to determine whether there is a proper lock.
  • FIG. 4 is a simplified diagram illustrating a frequency mismatch scenario according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, the first clock correspond to the recovered clock signal generated by the RX PLL, and the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL. The time interval “T1” is the predetermined time period during which lock detection is performed. For example, the first clock signal may be within the operating frequency band of the RX PLL, which has a much greater range than frequency range of the TX PLL, but the first clock signal is not within the operating frequency band of the RX PLL, and as a result of this frequency mismatch, the output clock signal is not properly locked. As shown in FIG. 4, the first clock has five complete duty cycles within the time interval “T1”, while the second clock only has two complete duty cycles during the same time interval, which means that there is no lock. The lock indicator at the end of “T1” is thus “0”, which indicates that there is no lock.
  • It is to be appreciated that when the signal strength is low (or signal is simply not present), the LOS detection systems and techniques according the present invention can efficiently determine loss of signal. In one of the low-signal strength scenarios, the signal strength (and the SNR) is simply too low for the system to make use of the signal received from the input terminal. In another low-signal strength scenarios, the signal strength on the input terminal may occasionally be strong enough for the system to covert to clock signals, but unfortunately the received signal is mostly unusable noise. Embodiments of the present invention detects both of these scenarios. For example, if signal strength is too low when compared to a predetermined threshold level, the LOS detection system simply outputs an indication that the signal is loss. However, when the signal strength is greater than the predetermined threshold level, there could a “false negative” determination of signal loss, and thus a different type of LOS detection is performed, where the difference in the numbers of duty cycles between the recovered clock signal and the output clock signal is compared.
  • FIG. 5A is a simplified diagram illustrating a low signal a strength scenarios according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. As shown in FIG. 5A, at time 501 and 502, the sampled signal has a signal strength that is greater than the threshold level. At time 503, the sampled signal has signal strength that is below the threshold level. At time 503, by simply comparing the signal strength to the threshold level, a LOS detection mechanism can easily determine that signal strength is too low and a LOS indication should be provided. At time 501 and 502, the signal strength is above the threshold level, but it should not be concluded that signal (or usable signal) is present on the input terminal, as strength of random noise may be high enough to be above the threshold level. Thus, if the signal strength is greater than the predetermined threshold level, it simply means different determinations need to be made.
  • FIG. 5B is a simplified diagram illustrating another low signal strength scenario according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, the first clock correspond to the recovered clock signal generated by the RX PLL, and the second clock corresponds to the output clock signal after divided by a factor of m, m being the frequency multiplier factor of the TX PLL. The time interval “T1” is the predetermined time period during which lock detection is performed. When the signal strength is low, the RX PLL sometimes still recover some “clock signals” that are essentially random data that cannot be locked or transmitted. As can be seen in FIG. 5, the first clock as shown has a number of duty cycles, which may even seem regular. However, after multiplied by the TX PLL and then divided by the lock detector module, the corresponding second clock as shown includes random duty cycles at irregular intervals. During the time interval “T1”, the first clock has five complete duty cycles, and the second clock has three complete duty cycles. By comparing the number of the complete duty cycles during T1, the detectors determines that there is no lock. The lock indicator at the end of “T1” is thus “0”, which indicates that there is no lock. It is to be appreciated that by comparing the number of duty cycles within a predetermined time interval, a “false negative” LOS detection scenario explained above can be detected.
  • It is to be appreciated that while there can be various causes, not all of which being described here, the detection technique according to embodiments of the present invention can reliably and efficiently detect loss of lock without requiring extensive detection hardware. By tracking a large number of duty cycles (e.g., 10,000 or more cycles), the chance of recovered clock signal and the output clock signal having almost the same number of duty cycles within a time interval is almost zero.
  • FIG. 6 is a simplified flow diagram illustrating a process to detect lock status according to an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, one or more steps illustrated in FIG. 6 and described below may be added, removed, repeated, rearranged, modified, replaced, and/or overlapped and should not unduly limit the scope of the claims.
  • At step 601, incoming data are received. For example, incoming data is receive by a data terminal. For example, terminal 101 illustrated in FIG. 1 is receives data from a data communication line. An equalizer (e.g., CTLE) module may be used to process the incoming data.
  • The incoming data is then sampled, at step 602. For example, sample may be performed by sense amplifiers as shown in FIG. 1. Sense amplifier, data amplifier, and/or other types of amplifiers may be implemented in conjunction with one another to provide edge sampling and data sampling as needed. For example, during the sampling process, incoming data may be amplified as needed to provide enough SNR for processing and transmission.
  • The signal strength of the sampled incoming data is compared to a predetermined threshold level, at step 611. As explained above (and illustrated in FIG. 5A), if the signal strength is below a predetermined threshold level, it means that the sampled data are likely to be noise or otherwise useless. In such scenario, is it unnecessary and wasteful (in terms of power consumption and computation cost) to perform additional work on the sampled data, and a loss of lock indication is provided. On the other hand, if the signal strength is above the predetermined threshold level, it could be that the noise or otherwise unusable data are present, and to determine whether there is a loss of lock, additional steps are needed, and phase detection is performed next at step 603.
  • Phase detection is performed at step 603. For example, phase detection may be performed by an early/late decoder module that determines whether the incoming data is early or late, which is typically measured in phase. For example, the decoder 105 illustrated in FIG. 1 comprises shift detection mechanisms for determining whether the incoming signal is sampled early or late.
  • A recovered clock signal is generated at step 604. For example, the RX PLL 106 is specifically configured to work in conjunction with decoder to generate a recovered clock signal. For example, in high-speed serial data communication (e.g., incoming data received from a disk storage), incoming data are sometimes without clock signal. Based on the data rate, the RX PLL 106 works with the phase detector to generate a recovered (or sometimes referred to as reference) clock signal that is phase-aligned to the incoming data.
  • An output clock signal is generated at step 605. For example, TX PLL 108 illustrated in FIG. 1 provides frequency multiplying, where the output clock frequency can be much higher than frequency of the recovered clock signal. The output clock signal is characterized by m times the frequency of the recovered clock signal.
  • For the purpose of lock detection, the output clock signal is divided by a factor of m at step 606. As illustrated in FIG. 2, the detector module comprises a frequency divider that divides the frequency of the output signal by a factor m, which allows the divided output clock signal to be compared to the recovered clock signal.
  • At step 607, the number nr of duty cycles of the recovered clock signal during a predetermined time interval is counted. For example, the time interval is specifically selected to allow a statistically large number of duty cycles to be counted. For example, for a recovered clock signal that operates at about 100 MHz, to obtain 10,000 duty cycles, a fraction of a second is needed.
  • At step 608, the number nt of duty cycles of the output clock signal during the same time interval is counted. For example, the number of duty cycles can be counted by the number of rising or falling edges. At step 609, the difference ne between nr and nt is calculated. It is to be understood a small difference ne between nr and nt may exist even when there is a proper lock, which can be attributed to delay and computational rounding (e.g., multiplying and dividing) between the recovered clock signal and the output clock signal. According, a predetermined threshold difference is used. For example, for 10,000 duty cycles, the threshold difference may be less than 10, or even less than 2. At step 609, the difference ne is compared to the predetermined threshold. For example, if the difference is greater than the threshold, then a loss of signal or loss of lock indication is generated; on the other hand, if the difference is not greater than the threshold, a lock indication is generated.
  • It is to be understood that the lock detection is an aspect of data transmission process. For example, if the loss of signal determination is made, the data transmission may be suspended and wait for corrective measures. On the other hand, if the lock determination is made, data transmission processes proceed. For example, as a part of a SERDES, incoming data is sampled and transmitted with at a high data frequency.
  • While the above is a full description of the specific embodiments, various modifications, alternative constructions and equivalents may be used. Therefore, the above description and illustrations should not be taken as limiting the scope of the present invention which is defined by the appended claims.

Claims (20)

What is claimed is:
1. A loss of signal detection device comprising:
an input terminal for processing an input data stream, the input data stream being characterized by a first data frequency;
a sampler configured to provide a sampled data stream by sampling the input data stream;
a first PLL configured to generate a recovered clock signal at a second data frequency, the first PLL being characterized by a first frequency range;
a second PLL configured to generate a transmission clock signal at a third data frequency by frequency multiplying using at least the recovered clock signal, the second PLL being characterized by a second frequency range, the second PLL generating an incorrect clock signal if the recovered clock signal is not stable, the second frequency range being smaller than the first frequency range, the third data frequency being greater than the second data frequency by a predetermined ratio, the predetermined ratio being determined based on a ratio between the third data frequency and the second data frequency; and
a detection module comprising a frequency divider and a frequency comparator, the frequency divider being configured to divide the transmission clock signal by the predetermined ratio, the frequency comparator being configured to determine whether a difference between the divided transmission clock signal and the recovered clock signal is greater than a predetermined threshold, the difference in a clock count being associated with the incorrect clock signal and the recovered clock signal, the detection module being configured to provide a loss of signal indication if the difference is greater than the predetermined threshold.
2. The device of claim 1 wherein the detection module comprises counters for store a number of duty cycles associated with the divided transmission clock signal and a number of duty cycles associated with the recovered clock signal within a predetermined time interval.
3. The device of claim 1 further comprising a phase detection module for processing the sampled data stream.
4. The device of claim 1 wherein the sampler comprises a data sense amplifier and an edge sense amplifier.
5. The device of claim 1 further comprising a transmission driver configured to transmit the sample data stream using the transmission clock signal.
6. The device of claim 1 further comprising an optical communication interface for transmitting the sample data stream at the third data frequency.
7. The device of claim 1 further comprising a CTLE module.
8. The device of claim 1 further comprising a phase detection logic.
9. The device of claim 1 wherein the first PLL provides the recovered clock signal to the sampler.
10. A method for lock detection, the method comprising:
determining a signal strength associated with an incoming data stream, the incoming data stream being characterized by a first frequency;
generating a recovered clock signal based on the incoming data stream using a first PLL if the signal strength is greater than a predetermined threshold strength, the recovered clock signal being characterized by a second frequency;
generating an output clock signal using a second PLL, the output clock signal being characterized by a third frequency, the third frequency being m times the frequency of the second frequency, the second PLL generating an incorrect clock signal if the recovered clock signal is not stable;
dividing the output clock signal by a factor of m;
determining a first edge count for the recovered clock signal during a predetermined time interval;
determining a second edge count for the divided output clock signal during the predetermined time interval, the second edge count being associated with potentially incorrect clock signal;
calculating a difference between the first edge count and the second edge count; and
generating a loss of signal indication if the difference is greater than a predetermined threshold count or if the signal strength is below the predetermined threshold strength.
11. The method of claim 10 further comprising performing phase detection on the sampled data.
12. The method of claim 10 further comprising transmitting the incoming data stream using the output clock signal at the third frequency.
13. The method of claim 10 further comprising sampling the incoming data.
14. The method of claim 10 further comprising equalizing the incoming data.
15. The method of claim 10 further comprising outputting a loss of signal indication during a second time interval if the difference is greater than the predetermined threshold.
16. A method for lock detection, the method comprising:
sampling an input data stream to provide a sample data stream;
determining a signal strength associated with the input data stream;
generating a recovered clock signal at a second data frequency using a first PLL, the first PLL being characterized by a first frequency range;
generating a transmission clock signal at a third frequency using at least the recovered clock signal using a second PLL, the second PLL being characterized by a second frequency range, the second frequency range being smaller than the first frequency range, the second PLL generating an incorrect clock signal if the input data stream is unstable, the third frequency being greater than the second data frequency by a predetermined ratio, the predetermined ratio being determined based on a ratio between the third frequency and the second frequency; and
generating a locking indication based on a first duty cycle of the recovered clock signal and a second duty cycle count of the transmission clock signal over a predetermined period of time, the locking indication being based on a difference between a first clock cycle count associated with the recovered clock signal and a second clock cycle count associated with the incorrect clock signal during the predetermined period of time.
17. The method of claim 16 wherein the sampling is performed by a sense amplifier.
18. The method of claim 16 wherein the second PLL comprises a PLL core and a detection module.
19. The method of claim 18 wherein the detection module comprises a divider module.
20. The method of claim 16 further comprising generating an output data characterized by the third frequency.
US16/028,229 2015-09-01 2018-07-05 Loss of signal detection on CDR Active US10129017B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/028,229 US10129017B1 (en) 2015-09-01 2018-07-05 Loss of signal detection on CDR

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US14/842,699 US9515852B1 (en) 2015-09-01 2015-09-01 Loss of signal detection on CDR
US15/337,072 US10044497B2 (en) 2015-09-01 2016-10-28 Loss of signal detection on CDR
US16/028,229 US10129017B1 (en) 2015-09-01 2018-07-05 Loss of signal detection on CDR

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/337,072 Continuation US10044497B2 (en) 2015-09-01 2016-10-28 Loss of signal detection on CDR

Publications (2)

Publication Number Publication Date
US10129017B1 US10129017B1 (en) 2018-11-13
US20180331817A1 true US20180331817A1 (en) 2018-11-15

Family

ID=57400025

Family Applications (3)

Application Number Title Priority Date Filing Date
US14/842,699 Active US9515852B1 (en) 2015-09-01 2015-09-01 Loss of signal detection on CDR
US15/337,072 Active US10044497B2 (en) 2015-09-01 2016-10-28 Loss of signal detection on CDR
US16/028,229 Active US10129017B1 (en) 2015-09-01 2018-07-05 Loss of signal detection on CDR

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US14/842,699 Active US9515852B1 (en) 2015-09-01 2015-09-01 Loss of signal detection on CDR
US15/337,072 Active US10044497B2 (en) 2015-09-01 2016-10-28 Loss of signal detection on CDR

Country Status (1)

Country Link
US (3) US9515852B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10014965B1 (en) * 2016-11-04 2018-07-03 Inphi Corporation Offset-compensated loss of signal detection methods and systems
US10027470B1 (en) * 2016-12-28 2018-07-17 Intel Corporation Signal detection techniques using clock data recovery
CN110289850A (en) * 2019-05-14 2019-09-27 中国人民解放军战略支援部队信息工程大学 Based on recovered clock and the data monitoring circuit of local clock, system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6774685B2 (en) * 1996-05-13 2004-08-10 Micron Technology, Inc. Radio frequency data communications device
US6856661B2 (en) * 2001-03-08 2005-02-15 Texas Instruments Incorporated Using phase interpolator information to detect a loss of lock condition during recovery of a clock signal from a received data stream
US7254169B1 (en) * 2001-07-03 2007-08-07 Silicon Laboratories Inc. Method and apparatus for determining a loss of signal condition
US20140281071A1 (en) * 2013-03-15 2014-09-18 Jianping Jane Xu Optical memory extension architecture

Also Published As

Publication number Publication date
US20170063520A1 (en) 2017-03-02
US10044497B2 (en) 2018-08-07
US10129017B1 (en) 2018-11-13
US9515852B1 (en) 2016-12-06

Similar Documents

Publication Publication Date Title
US8934591B2 (en) Clock and data recovery circuit and parallel output circuit
US10129017B1 (en) Loss of signal detection on CDR
US7397876B2 (en) Methods and arrangements for link power reduction
US20110216863A1 (en) Receiving apparatus and method for setting gain
US8681918B2 (en) High jitter and frequency drift tolerant clock data recovery
US20150103961A1 (en) Digital frequency band detector for clock and data recovery
US9413518B2 (en) Clock data recovery circuit
US20160173240A1 (en) System and method for detecting loss of signal
US8588357B2 (en) Phase selector capable of tolerating jitter and method thereof, and clock and data recovery circuit
US9705666B2 (en) Frequency acquisition for serdes receivers
US10236897B1 (en) Loss of lock detector
US9091711B1 (en) Wide-range fast-lock frequency acquisition for clock and data recovery
US11012077B2 (en) Integrated circuit detecting frequency and phase of clock signal and clock and data recovery circuit including the integrated circuit
US8570078B2 (en) CDR circuit
US7848474B2 (en) Signal timing phase selection and timing acquisition apparatus and techniques
US20110299643A1 (en) Timing Recovery Controller and Operation Method Thereof
US11481217B2 (en) Data transmitting and receiving system including clock and data recovery device and operating method of the data transmitting and receiving system
US9130694B2 (en) Method, apparatus, and system for phase jump detection
US7068726B1 (en) Near end cross-talk and echo avoider for bi-directional digital communications
CN103812505A (en) Bit synchronization lock detector
WO2017091946A1 (en) Signal processing system, method and device
US10797855B2 (en) Signal detection techniques using clock data recovery
US8831158B2 (en) Synchronous mode tracking of multipath signals
US6181757B1 (en) Retiming method and means
TW201515395A (en) Clock data recovery circuit

Legal Events

Date Code Title Description
AS Assignment

Owner name: INPHI CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MISHRA, PARMANAND;FOREY, SIMON;SIGNING DATES FROM 20150827 TO 20150828;REEL/FRAME:046274/0622

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: MARVELL TECHNOLOGY CAYMAN I, CAYMAN ISLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INPHI CORPORATION;REEL/FRAME:056649/0823

Effective date: 20210617

AS Assignment

Owner name: CAVIUM INTERNATIONAL, CAYMAN ISLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MARVELL TECHNOLOGY CAYMAN I;REEL/FRAME:057279/0519

Effective date: 20210620

AS Assignment

Owner name: MARVELL ASIA PTE LTD., SINGAPORE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CAVIUM INTERNATIONAL;REEL/FRAME:057336/0873

Effective date: 20210620

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4