Loss of Signal Detector with PVT Compensation
Through the combination of rectifier and replica circuit, PVT changes are compensated, which improves the accuracy of the signal loss detector in the high-speed redriver system, solves the problem of low accuracy in the existing technology, and realizes the detection of longer cables and traces. high-speed signal detection capabilities.
Patent Information
- Application Number
- CN201910688164.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-27
- Filing Date
- 2019-07-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-07-26
AI Technical Summary
The accuracy of signal loss detectors in existing high-speed redriver systems is extremely low. Especially after high-speed signals are attenuated through long USB or DP cables or PCB traces, it is difficult to effectively detect low-voltage signals, limiting the reliability of cables and traces. length.
Using a design that combines a rectifier circuit and a replica circuit, it improves the threshold accuracy of the signal loss detector by compensating for PVT changes in process, supply voltage, and temperature changes. It includes an equalizer, rectifier, and comparator circuit to generate a differential balanced signal and Loss of signal events are determined by counteracting PVT changes through replica circuitry.
Improves the accuracy of the loss of signal detector, reduces the signal level required at the input of the high-speed redriver, allows the use of longer USB/DP cables and PCB traces to transmit high-speed signals, and enhances the detection of low-voltage signals ability.
Smart Images

Figure CN110780190B_ABST
Abstract
Description
Technical Field
[0001] Embodiments disclosed herein generally relate to detection of loss of signal in high speed circuits. Background Art
[0002] In a universal serial bus (USB) or display port (DP) high-speed re-driver system, a loss of signal (LoS) detector is located at the input of the high-speed re-driver to detect the presence of a high-speed signal. When the input signal level is lower than the LoS detector threshold (e.g., 40 mV differential peak-to-peak), the LoS detector triggers a loss of signal event and the system disables the high-speed re-driver to save power consumption or avoid amplifying noise or corrupted signals. The conventional design of the LoS detector has very low accuracy and becomes a design bottleneck of the high-speed re-driver system when the high-speed signal is attenuated by a long universal serial bus (USB) or display port (DP) cable. According to the embodiments described herein, the threshold accuracy of the LoS detector is improved by using a replica circuit of the rectifier to compensate for the process, supply voltage, and temperature (PVT) variations of the rectifier. Summary of the invention
[0003] A brief overview of various embodiments is presented below. Some simplifications and omissions may be made in the following overview, which is intended to highlight and introduce some aspects of various exemplary embodiments, rather than to limit the scope of the invention. A detailed description of embodiments sufficient to allow one of ordinary skill in the art to make and use the inventive concepts will be presented in subsequent sections.
[0004] An embodiment includes an electronic circuit comprising an equalizer circuit, a rectifier circuit, a replica circuit, and a comparator circuit, wherein the equalizer circuit is used to input a differential signal and output a differential balanced signal, the rectifier circuit is used to receive the differential balanced signal and output a first current and a second current, the replica circuit is used to receive a differential threshold signal and output a third current and a fourth current to compensate for PVT changes in the first and second currents, and the comparator circuit is configured to compare differential voltages generated based on the first, second, third, and fourth currents to determine a signal loss event of the electronic circuit.
[0005] The first current from the rectifier circuit may be added to the third current from the replica circuit and flow through a first output resistor to determine a signal to be input to a non-inverting input terminal of the comparator.
[0006] The second current from the rectifier circuit may be added to the fourth current from the replica circuit and flow through a second output resistor to determine a signal to be input to an inverting input terminal of the comparator.
[0007] The differential balanced signal may include a first balanced voltage, a second balanced voltage, and a balanced common voltage.
[0008] The first equalizing voltage may control a first transistor of the rectifier circuit, and the second equalizing voltage may control a second transistor of the rectifier circuit. The equalizing common voltage may jointly control a third transistor and a fourth transistor of the rectifier circuit.
[0009] The electronic circuit may be fabricated on a chip having a bandgap voltage, and wherein an output threshold of the electronic circuit is based on a multiple of the bandgap voltage.
[0010] An embodiment also includes a method of operating an electronic circuit, the method comprising: inputting a differential signal and outputting a first balanced voltage, a second balanced voltage, and a balanced common voltage; using the first balanced voltage, the second balanced voltage, and the balanced common voltage in a rectifier circuit to generate a first current and a second current each having a PVT variation; inputting a threshold signal into a replica circuit to generate a third current and a fourth current to offset the PVT variation of the first current and the second current; determining a first voltage based on the first current and the third current; determining a second voltage based on the third current and the fourth current; and comparing the first voltage and the second voltage to determine a signal loss event in the electronic circuit.
[0011] The first equalizing voltage may control a first transistor of the rectifier circuit, the second equalizing voltage may control a second transistor of the rectifier circuit, and the equalizing common voltage may control a third and a fourth transistor of the rectifier circuit.
[0012] The threshold signal may include a differential signal and a common reference signal. The differential signal may control the first and second transistors of the replica circuit, and the common reference signal controls the third and fourth signals of the rectifier circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Other objects and features of the present invention will become more apparent from the following detailed description and the appended claims when taken in conjunction with the accompanying drawings. Although several embodiments are shown and described, the same reference numerals represent the same components in each of the drawings, wherein:
[0014] Figure 1 showing a loss of signal detector according to embodiments described herein; and
[0015] Figure 2 Show according to Figure 1 The topology of the signal loss detector. DETAILED DESCRIPTION
[0016] It should be understood that the drawings are only schematic and are not drawn to scale. It should also be understood that the same reference numerals used throughout the various drawings represent the same or similar components.
[0017] The principle of various example embodiments is illustrated in the description and drawings. It will therefore be appreciated that a person skilled in the art will be able to design various arrangements, which, although not explicitly described or illustrated herein, embody the principles of the present invention and are included within the scope of the present invention. In addition, all examples cited herein are primarily intended to be used for teaching purposes to help readers understand the principles of the present invention and the concepts provided by the inventors to deepen the art, and all examples should be considered to be not limited to such specific cited examples and conditions. In addition, the term "or" used herein refers to non-exclusive or (i.e., "and / or"), unless otherwise specified (e.g., "otherwise" or "or in an alternative"). Moreover, the various embodiments described herein are not necessarily mutually exclusive, because some embodiments may be combined with one or more other embodiments to form new embodiments. For example, descriptors such as "first", "second", "third" are not intended to limit the order of the elements discussed, but are used to distinguish one element from the next element, and are generally interchangeable. Values (e.g., maximum or minimum) may be predetermined based on application and set to different values.
[0018] In USB and DP high-speed redriver systems, the differential peak-to-peak level of high-speed signals can be attenuated to tens of mV or even lower after attenuation due to long USB or DP cables or long PCB traces. In order to detect such low voltage signals, a high-precision LoS detector can be used.
[0019] Furthermore, in conventional designs of LoS detectors, the range of the detection threshold for PVT may reach 100mV or even higher. In order to effectively detect high-speed signals, the high-speed redriver circuit of the LoS detector with conventional design requires the high-speed signal at the input of the high-speed redriver to be greater than 100mV or even 200mV. This high threshold limits the length of the USB or DP cable or PCB trace. According to the embodiments described herein, a smaller range is designed for PVT, thereby being able to detect lower signal levels at the input of the redriver.
[0020] Embodiments described herein improve the accuracy of LoS detectors and thus reduce the high-speed signal level required at the input of a high-speed redriver so that longer USB / DP cables and / or PCB traces can be used to transmit high-speed signals.
[0021] like Figure 1 and 2 As shown in , the LoS detector circuit 100 may include an equalizer 110 , a rectifier circuit 120 , a reference level generator circuit 130 used as a replica circuit of the rectifier circuit 120 , and a comparator 140 .
[0022] Differential Input V INP and V INN The differential input V INP and V INN is input to the equalizer 110. The equalizer 110 can be based on V INP and V INN The high frequency components are restored relative to the low frequency components of the input signal. One or more control signals may control the operation of the equalizer 110 so that the degree of equalization and attenuation of different frequency components may be controlled, for example, via external pins or programmable registers.
[0023] The equalizer 110 outputs differential equalized signals eqop and eqon to control transistors 210 and 205 in the rectifier circuit 120. Currents I1 and I2 represent the currents flowing through transistors 205 and 210, respectively, when the transistors are turned on. In the rectifier circuit 120, whether the value of eqop is greater than or less than the value of eqon, the sum of the currents I1+I2 passing through transistors 205 and 210 will be equal to I9. The current I9 through the resistor Rout is partially used to form Ioutp and set the voltage level of the non-inverting input terminal of the comparator 140 to determine the LoS event. The parallel RC circuit composed of Rout and Cout can be used to filter the ripple voltage from the rectifier circuit 120 and the reference level generator circuit 130. The Rout Cout circuit can filter the ripple voltage and send the DC voltages voutp and voutn to the comparator 140.
[0024] The voltage difference between eqop and eqon is captured by transistors 205 and 210 of rectifier circuit 120. The common mode voltage eqcom of eqop and eqon is sent to transistors 215 and 220. The sum of currents I3 and I4 is I10, which is partially used to form Ioutn and sets the voltage level of the inverting input of comparator 140.
[0025] Reference level generator circuit 130 is a replica of rectifier circuit 120. Currents I11 and I12 may be generated from transistors 225, 230, 235, and 240 in a manner similar to currents I9 and I10. Resistors R1, R2, and R3 may be used to set a predetermined threshold voltage for LoS detector circuit 100 at nodes vrefp and vrefn. vrefp minus vrefn is set to the desired threshold voltage. vrefp and vrefn are used to control transistors 235 and 240. A common mode reference signal vrefcom is used to control transistors 225 and 230. Currents I5 and I6 are summed to generate current I11, which is added to current I9 to generate Ioutp. Currents I7 and I8 are summed to generate current I12, which is added to current 110 to generate output current Ioutn. As Figure 1 , where transistors 205, 210, 215, 220, 225, 230, 235, and 240 all have substantially the same channel width = W and channel length = L, and the high-speed signal is buffered and equalized by the equalizer 110. The voltage at the bottom node can be set to Va. The currents I1, I2, I3, and I4 can be calculated using the following equations:
[0026] I1=(1 / 2)*μ n *C ox *(W / L)[(V cm -(1 / 2)*delta(V)-V a )-V thn ] 2 (1)
[0027] I2=(1 / 2)*μ n *C ox *(W / L)[(V cm +(1 / 2)*delta(V)-V a )-V thn ] 2 (2)
[0028] I3=(1 / 2)*μ n *C ox *(W / L)[(V cm -V a )-V thn ] 2 (3)
[0029] I4=(1 / 2)*μ n *C ox *(W / L)[(V cm -V a )-V thn ] 2 (4)
[0030] where μ n is the mobility of the transistor, C ox is the gate oxide capacitance per unit area of the transistor. delta(V) is the voltage difference between eqop and eqon. Vcm is the voltage of eqcom, V a is the bias voltage for the rectifier circuit 120, and Vb is the bias voltage for the reference level generator circuit 130. TAIL Provides bias current for the transistor.
[0031] I9 and I 10 The current difference between can be calculated as follows:
[0032] I9-I 10 =(I1+I2)-(I3+I4)=(1 / 4)*μ n *C ox *(W / L)[delta(V)] 2 (5)
[0033] Therefore, similar to the above calculation, I 11 with I 12 The current difference between can be calculated as follows:
[0034] I 12 -I 11 =(1 / 4)*μ n *C ox *(W / L)[delta(V ref )] 2 (6)
[0035] delta(V ref )=V refp -V refn =I ref *(R2+R3)=I ref *R ref (7)
[0036] Where R2=R3=P ref / 2. By using the bandgap voltage V bg Divided by resistor R, I is generated from the chip main bias ref , that is to say,
[0037] I ref =V bg / R(8)
[0038] I 12 -I 11 =(1 / 4)*μ n *C ox *(W / L)[Vbg *(R ref / R)] 2 (9)
[0039] Known I9, I 10 ,I 11 and I 12 , multiply the corresponding currents Ioutp and Ioutn by Rout to determine Voutp and Voutn. If Voutp>Voutn, the output of comparator 140 is high. If Voutp<Voutn, the output of comparator 140 is low. Using Voutp and Voutn, equation 10 ensures that the trip point of comparator 140 becomes:
[0040] V outp -V outn =[V dd -(I9+I 11 )*R out ]-[V dd -(I 10 +I 12 )*R out ]=[(I 12 -I 11 )-(I9-I 10 )]*R out =0 (10)
[0041] Substituting equations (5) and (9) into equation (10), we obtain equation 11:
[0042] V outp -V outn =(1 / 4)*μ n *C ox *(W / L)*{[V bg *(R ref / R)] 2 -[delta(V)] 2}*R out =0 (11)
[0043] Vbg is the bandgap voltage of the main chip bias. When delta(V) is higher than V bg *(R ref / R), V outn Higher than V outp , and the comparator output is low, indicating that a high-speed signal is detected. When delta(V) is lower than V bg *(R ref / R), V outn Lower than V outp, and the comparator output is high, indicating that no high-speed signal is detected and there is a signal loss. According to the embodiments described herein, the LoS threshold determined by the comparator 140 is based on V bg *(R ref / R) is determined, where V bg is the precise bandgap voltage, and R ref / R is a constant defined in the design.
[0044] According to an embodiment, the accuracy can be precisely calibrated to ±10mV. If the LoS threshold is set to 40mV, the threshold can be between 30mV and 50mV. This can allow much lower signal levels at the input of the redriver.
[0045] Because the rectifier circuit 120 and the reference level generator circuit 130 are manufactured using the same process, PVT variations can be estimated and can cancel each other out. Due to PVT compensation, variations in I11 compensate for variations in I10. Variations in I12 compensate for variations in I9. PVT variations in the rectifier circuit 120 can be offset by PVT variations in the reference level generator circuit 130 to achieve more accurate measurements. Based on the equations for the cooperation of the two circuits, there is a certain relationship between the two circuits.
[0046] The rectifier circuit 120 and the replica reference level generator circuit 130 designed on the same chip have the same PVT conditions and cancel each other so as to eliminate PVT variations.
[0047] Since PVT variations do not have to be considered, the LoS detector circuit 100 has a higher accuracy and can be set to a lower threshold level, so longer cables can be used. A LoS detector as described herein at the end of a longer cable will be better able to detect a true LoS signal, or detect an actual signal that has been attenuated over a long distance.
[0048] The LoS detector circuit 100 may be designed using a CMOS process. The transistors may be designed using an NMOS configuration. The LoS detector circuit 100 may also be designed using a BiCMOS process, where the transistors are constructed as high-speed NPN bipolar junction transistors.
[0049] Although various exemplary embodiments have been described in detail with particular reference to certain exemplary aspects thereof, it will be understood that the invention is capable of other embodiments and that its details are capable of modification in various obvious respects. It will be readily apparent to those skilled in the art that changes and modifications may be made while remaining within the spirit and scope of the invention. Therefore, the above disclosure, description and drawings are intended for illustrative purposes only and do not limit the invention in any way, the scope of the invention being limited only by the claims.
Claims
1. An electronic circuit, characterized in that: include: an equalizer circuit for inputting a differential signal and outputting a differential balanced signal; a rectifier circuit, configured to receive the differential balanced signal and output a first current and a second current; a replica circuit, being a replica of the rectifier circuit, for receiving the differential threshold signal and outputting a third current and a fourth current to compensate for process, supply voltage and temperature PVT variations in the first and second currents; as well as a comparator circuit configured to compare a differential voltage generated based on the first, second, third, and fourth currents to determine a loss of signal event of the electronic circuit; the first current from the rectifier circuit is added to the third current from the replica circuit and flows through a first output resistor to determine a signal to be input to a non-inverting input terminal of a comparator; The second current from the rectifier circuit is added to the fourth current from the replica circuit and flows through a second output resistor to determine a signal to be input to an inverting input terminal of a comparator.
2. The electronic circuit according to claim 1, characterized in that The differential balanced signal includes a first balanced voltage, a second balanced voltage and a balanced common voltage.
3. The electronic circuit according to claim 2, characterized in that The first equalizing voltage controls a first transistor of the rectifier circuit, and the second equalizing voltage controls a second transistor of the rectifier circuit.
4. The electronic circuit according to claim 2, characterized in that The balanced common voltage jointly controls a third transistor and a fourth transistor of the rectifier circuit.
5. The electronic circuit according to claim 1, characterized in that The electronic circuit is manufactured on a chip having a bandgap voltage, and wherein an output threshold of the electronic circuit is based on a multiple of the bandgap voltage.
6. A method of operating an electronic circuit, characterized in that include: Input a differential signal and output a first balanced voltage, a second balanced voltage and a balanced common voltage; using the first balancing voltage, the second balancing voltage and the balancing common voltage in a rectifier circuit to generate a first current and a second current each having process, supply voltage and temperature PVT variations; inputting a threshold signal to a replica circuit to generate a third current and a fourth current to offset the PVT variation of the first current and the second current, which is a replica of the rectifier circuit; determining a first voltage based on the first current and a third current; determining a second voltage based on the third current and the fourth current; as well as comparing the first voltage and the second voltage to determine a loss of signal event in the electronic circuit; adding the first current from the rectifier circuit to the third current from the replica circuit, the first current flowing through a first output resistor to determine a signal to be input to a non-inverting input terminal of a comparator; The second current from the rectifier circuit is added to the fourth current from the replica circuit and flows through a second output resistor to determine a signal to be input to an inverting input terminal of a comparator.
7. The method according to claim 6, characterized in that The first equalizing voltage controls a first transistor of the rectifier circuit, the second equalizing voltage controls a second transistor of the rectifier circuit, and the equalizing common voltage controls a third and a fourth transistor of the rectifier circuit.
8. The method according to claim 6, characterized in that The threshold signal includes a differential signal and a common reference signal.
