Calibration of a loss of signal detection system
First Claim
1. A method for calibrating a loss-of-signal (LOS) system used in an integrated circuit to determine existence of a loss-of-signal condition according to a loss-of-signal (LOS) threshold value, the LOS threshold value specifying a minimum signal magnitude for received data, the method comprising:
- sampling a signal indicative of the LOS threshold value in a sampling circuit and providing a plurality of samples thereof; and
determining, according to the samples, a calibrated digital representation of a sampling threshold for the sampling circuit, the sampling threshold specifying a signal magnitude for a sampled signal above which the sampling circuit samples the sampled signal as a first digital value and below which the sampling circuit samples the sampled signal as a second digital value.
1 Assignment
0 Petitions
Accused Products
Abstract
An integrated circuit has a loss of signal (LOS) system for detecting a loss of signal condition for an input data stream according to a LOS threshold. The LOS threshold specifies a minimum signal magnitude indicating the loss of signal condition. The integrated circuit includes a sampling circuit to sample a LOS signal, which receives a sampling threshold specifying a signal magnitude for a sampled signal above which the sampling circuit samples the sampled signal as a first digital value and below which the sampling circuit samples the sampled signal as a second digital value. A digital control circuit coupled to an output of the sampling circuit generates a calibrated digital representation of the sampling threshold according to a plurality of samples of the LOS signal. The calibrated sampling threshold is then used during loss of signal evaluation.
-
Citations
38 Claims
-
1. A method for calibrating a loss-of-signal (LOS) system used in an integrated circuit to determine existence of a loss-of-signal condition according to a loss-of-signal (LOS) threshold value, the LOS threshold value specifying a minimum signal magnitude for received data, the method comprising:
-
sampling a signal indicative of the LOS threshold value in a sampling circuit and providing a plurality of samples thereof; and
determining, according to the samples, a calibrated digital representation of a sampling threshold for the sampling circuit, the sampling threshold specifying a signal magnitude for a sampled signal above which the sampling circuit samples the sampled signal as a first digital value and below which the sampling circuit samples the sampled signal as a second digital value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
counting an up/down counter in a direction determined according to the digital value of each of the samples; and
using at least a portion of an output of the up/down counter to control the sampling threshold level during calibration.
-
-
10. The method as recited in claim 9 further comprising supplying the output of the sampling circuit to the up/down counter through a down sampling circuit.
-
11. The method as recited in claim 9 wherein determining the calibrated digital representation of the sampling threshold includes determining an average of a plurality of values of at least a portion of the output of the up/down counter.
-
12. The method as recited in claim 11 wherein determining the average further comprises:
-
averaging a plurality of samples of a most significant portion of the output of the up/down counter to generate a first average; and
supplying the first average to a first digital to analog converter (DAC) during calibration of a second digital to analog converter (DAC), the first and second DACs supplying the sampling threshold to the sampling circuit.
-
-
13. The method as recited in claim 12 further comprising averaging a plurality of samples of a least significant portion of the output of the up/down counter to generate a second average and supplying the second average to the second DAC.
-
14. The method as recited in claim 1 wherein the sampling circuit comprises a register circuit, the register circuit including an amplifier and wherein determining the calibrated digital representation of the sampling threshold includes adjusting the sampling threshold of the register circuit by adjusting an offset to the amplifier.
-
15. The method as recited in claim 14 further comprising:
-
supplying a digital representation of the sampling threshold to at least one digital to analog converter (DAC);
generating an analog representation of the sampling threshold; and
supplying the analog representation as the offset to the amplifier.
-
-
16. The method as recited in claim 15 wherein a most significant portion of the digital representation of the sampling threshold is supplied to a first DAC and a least significant portion to a second DAC.
-
17. The method as recited in claim 16 wherein at least a portion of the digital representation supplied to the first and second DACs overlap.
-
18. The method as recited in claim 1 wherein the LOS threshold value is supplied as an analog signal on an input terminal of the integrated circuit.
-
19. The method as recited in claim 1 wherein a stored calibration value from a previous calibration cycle is used as an initial digital representation of the sampling threshold.
-
20. The method as recited in claim 1 further comprising selectably providing one of an input data stream and the signal indicative of the LOS threshold value to the sampling circuit according to whether calibration is ongoing.
-
21. The method as recited in claim 1 further generating the calibrated digital representation of the sampling threshold for a differential representation of a first digital value and utilizing a two'"'"'s complement of the calibrated digital representation for a differential representation of a second digital value.
-
22. An integrated circuit having a loss of signal (LOS) system for detecting a loss of signal condition for an input data stream according to a LOS threshold, the LOS threshold specifying a minimum signal magnitude, the integrated circuit comprising:
-
a sampling circuit coupled to sample a LOS signal indicative of the LOS threshold, and to receive a sampling threshold specifying the minimum signal magnitude for a sampled signal above which the sampling circuit samples the sampled signal as a first digital value and below which the sampling circuit samples the sampled signal as a second digital value; and
a digital control circuit coupled to receive an output of the sampling circuit and to generate a calibrated digital representation of the sampling threshold according to a plurality of samples of the LOS signal. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
a first digital to analog converter (DAC) coupled to receive an average of a plurality of samples of a most significant portion of the output of the up/down counter;
a second digital to analog converter (DAC) coupled to receive an average of a plurality of samples of a least significant portion of the output of the up/down counter; and
wherein the first and second DAC supply the sampling threshold to the sampling circuit.
-
-
33. The integrated circuit as recited in claim 22 wherein the sampling circuit further comprises a register circuit, the register circuit including an amplifier and wherein the sampling threshold is coupled to the register circuit as an offset to the amplifier.
-
34. The integrated circuit as recited in claim 22 further comprising an input terminal coupled to receive the LOS threshold as an analog signal.
-
35. The integrated circuit as recited in claim 22 further comprising a storage location coupled to store a previous calibrated digital representation from a previous calibration cycle for use as an initial digital representation of the sampling threshold.
-
36. The integrated circuit as recited in claim 22 further comprising a selector circuit coupled to selectably provide one of the input data stream and the LOS signal to the sampling circuit according to whether calibration is ongoing.
-
37. The integrated circuit as recited in claim 22 wherein the digital control circuit further comprises at least one register coupled to supply a calibrated digital representation of the sampling threshold when the integrated circuit is not being calibrated.
-
38. An apparatus for calibrating a loss-of-signal (LOS) system in an integrated circuit used for determining existence of a loss-of-signal condition, the apparatus comprising:
-
means for sampling a signal indicative of a LOS threshold and providing a digital indication thereof;
means for obtaining a plurality of samples from the sampling means and generating, based on the samples, a calibrated digital representation of a sampling threshold for the sampling means, the sampling threshold determining a signal level at which a signal sampled by the sampling means is sampled as a one or zero; and
means for supplying an analog representation of the calibrated digital representation to the sampling means.
-
Specification