CLAMP CIRCUIT
20210232169 · 2021-07-29
Inventors
Cpc classification
International classification
Abstract
In certain aspects, a clamp circuit includes a first current mirror having a first branch and a second branch, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror. The clamp circuit also includes a second current mirror having a first branch and a second branch, wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror. The first branch of the first current mirror is coupled in series with the second branch of the second current mirror, and the second branch of the first current mirror is coupled in series with the first branch of the second current mirror.
Claims
1. A clamp circuit, comprising: a first current mirror having a first branch and a second branch, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror; and a second current mirror having a first branch and a second branch, wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror; wherein the first branch of the first current mirror is coupled in series with the second branch of the second current mirror, and the second branch of the first current mirror is coupled in series with the first branch of the second current mirror.
2. The clamp circuit of claim 1, wherein clamp circuit is coupled to a conductive line, and the clamp circuit is configured to clamp a voltage of the conductive line to a clamp voltage.
3. The clamp circuit of claim 2, wherein the second branch of the second current mirror is coupled to the conductive line, the first branch of the second current mirror is coupled to a voltage line, and the clamp voltage is approximately equal to a voltage on the voltage line.
4. The clamp circuit of claim 1, wherein the first current mirror comprises: a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; and a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground.
5. The clamp circuit of claim 4, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor.
6. The clamp circuit of claim 4, wherein the first current mirror further comprises: a first source resistor between the source of the first transistor and the ground; and a second source resistor between the source of the second transistor and the ground.
7. The clamp circuit of claim 4, wherein the second current mirror comprises: a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
8. The clamp circuit of claim 7, wherein each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
9. The clamp circuit of claim 7, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
10. The clamp circuit of claim 7, wherein the source of the third transistor is coupled to a conductive line, and the source of the fourth transistor is coupled to a voltage line.
11. The clamp circuit of claim 1, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled to a reference circuit configured to generate a reference voltage.
12. The clamp circuit of claim 11, wherein the conductive line is coupled between the reference circuit and an analog-to-digital converter.
13. The clamp circuit of claim 1, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled between a voltage source and a circuit.
14. The clamp circuit of claim 1, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled between a transmitter and a receiver.
15. A system, comprising: a reference circuit configured to generate a reference voltage; an analog-to-digital converter (ADC); a conductive line coupled between the reference circuit and the ADC; and a clamp circuit coupled to the conductive line, the clamp circuit comprising: a first current mirror having a first branch and a second branch, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror; and a second current mirror having a first branch and a second branch, wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror; wherein the first branch of the first current mirror is coupled in series with the second branch of the second current mirror, and the second branch of the first current mirror is coupled in series with the first branch of the second current mirror.
16. The system of claim 15, wherein the reference circuit comprises: a current source; and a reference resistor, wherein the current source and the reference resistor are coupled in series between a first supply rail and a ground, and the conductive line is coupled between the current source and the reference resistor.
17. The system of claim 15, wherein the first current mirror comprises: a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; and a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground.
18. The system of claim 17, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor.
19. The system of claim 17, wherein the first current mirror further comprises: a first source resistor between the source of the first transistor and the ground; and a second source resistor between the source of the second transistor and the ground.
20. The system of claim 17, wherein the second current mirror comprises: a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
21. The system of claim 20, wherein each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
22. The system of claim 20, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
23. The system of claim 20, wherein the source of the third transistor is coupled to the conductive line, and the source of the fourth transistor is coupled to a voltage line.
24. The system of claim 23, wherein the reference circuit comprises: a current source; and a reference resistor, wherein the current source and the reference resistor are coupled in series between a first supply rail and a ground, and the conductive line is coupled between the current source and the reference resistor; wherein the voltage line comprises a second supply rail, the first supply rail provides a first supply voltage, the second supply rail provides a second supply voltage, and the second supply voltage is lower than the first supply voltage.
25. A clamp circuit, comprising: a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground; a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
26. The clamp circuit of claim 25, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
27. The clamp circuit of claim 26, wherein the source of the third transistor is coupled to a conductive line, and the source of the fourth transistor is coupled to a voltage line.
28. A method for clamping a voltage on a conductive line, comprising: coupling a first current mirror and a second current mirror into a feedback loop; and coupling the second current mirror to the conductive line.
29. The method of claim 28, further comprising coupling the second current mirror to a voltage line.
30. The method of claim 29, wherein: coupling the second current mirror to the voltage line comprises coupling a first branch of the second current mirror to the voltage line; and coupling the second current mirror to the conductive line comprises coupling a second branch of the second current mirror to the conductive line.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
DETAILED DESCRIPTION
[0022] The detailed description set forth below, in connection with the appended drawings, is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring such concepts.
[0023] A clamp circuit may be used to clamp the peak voltage on a conductive line to a clamp voltage. In one application, the clamp circuit may be used to provide over-voltage protection for a circuit coupled to the conductive line. In this application, the clamp circuit protects the circuit by preventing the voltage on the conductive line from exceeding a voltage limit of the circuit.
[0024] When the voltage on the conductive line is below the clamp voltage of the clamp circuit, it may be desirable for the clamp circuit to have low leakage current (e.g., high impedance) to prevent the clamp circuit from affecting the normal operation of one or more circuits coupled to the conductive line and/or to reduce power leakage. When the voltage on the conductive line reaches the clamp voltage, the clamp circuit may provide a low-impedance path from the conductive line to ground to prevent the voltage on the conductive line from rising above the clamp voltage.
[0025] The conductive line may be implemented with one or more metal lines on a chip, one or more metal traces on a circuit board, or a combination of both. The conductive line may be used to carry a signal, a supply voltage, a reference voltage, etc.
[0026] One type of clamp circuit is a diode-based clamp circuit, which may include one or more diodes coupled in series (e.g., between the conductive line and ground). For the case where the diode-based clamp circuit includes one diode, the clamp voltage is approximately equal to the turn-on voltage of the diode. For the case where the diode-based clamp circuit includes multiple diodes coupled in series, the clamp voltage is approximately equal to the sum of the turn-on voltages of the diodes. A drawback of a diode-based clamp circuit is that the diode-based clamp circuit may have a relatively large leakage current when the voltage on the conductive line is below the clamp voltage. The large leakage current may negatively affect the normal operation of one or more circuits coupled to the conductive line. An example of this is discussed below.
[0027]
V.sub.sense=I.sub.sense×R.sub.sense (1)
where V.sub.sense is the voltage across the sense resistor, I.sub.sense is the current flowing through the sense resistor, and R.sub.sense in equation (1) is the resistance of the sense resistor R.sub.sense. As shown in equation (1), the voltage across the sense resistor R.sub.sense is proportional to the current flowing through the sense resistor R.sub.sense, and therefore provides a measurement of the current flowing through the sense resistor R.sub.sense. The voltage across the sense resistor R.sub.sense is input to the ADC 120, which converts the voltage into a digital current measurement.
[0028] The resistance of the sense resistor R.sub.sense is dependent on the temperature of the sense resistor R.sub.sense. As a result, the current measurement obtained from the sense resistor R.sub.sense varies with variations in the temperature of the sense resistor R.sub.sense, which can negatively affect the accuracy of the current measurement. To address this, the reference circuit 105 generates a reference voltage V.sub.ref that tracks variations in the resistance of the sense resistor R.sub.sense with temperature. The reference voltage V.sub.ref is input to the ADC 120. Since the reference voltage V.sub.ref tracks variations in the resistance of the sense resistor R.sub.sense with temperature, the reference voltage V.sub.ref allows the ADC 120 to provide a consistent digital current measurement for a given current across temperature.
[0029] In the example in
V.sub.ref=I.sub.ref×R.sub.ref (2)
where R.sub.ref in equation (2) is the resistance of the reference resistor R.sub.ref. The reference resistor R.sub.ref may be made of the same or substantially the same material as the sense resistor R.sub.sense and may be placed close to the sense resistor R.sub.sense such that the resistance of the reference resistor R.sub.ref tracks variations in the resistance of the R.sub.sense with temperature. Since the resistance of the reference resistor R.sub.ref tracks variations in the resistance of the sense resistor R.sub.sense with temperature, the reference voltage V.sub.ref, which is proportional to the resistance of the reference resistor R.sub.ref, also tracks variations in the resistance of the sense resistor R.sub.sense with temperature.
[0030] The reference circuit 105 is coupled to the ADC 120 via a conductive line 114 (e.g., metal line). In the example in
[0031]
[0032] In the example in
[0033] A drawback of the diode-based clamp circuit 210 is that the diode-based clamp circuit 210 may have a relatively large leakage current when the voltage on the conductive line 114 is below the clamp voltage. The large leakage current reduces the ability of the reference voltage V.sub.ref to accurately track variations in the resistance of the sense resistor R.sub.sense across temperature, which degrades the accuracy of the current measurement output by the ADC 120, as discussed further below.
[0034] In this example, the reference voltage V.sub.ref is given by:
V.sub.ref=(I.sub.ref−I.sub.clamp)×R.sub.ref (3)
where I.sub.clamp is the leakage current of the clamp circuit 210. The current flowing through the reference resistor R.sub.ref is equal to the reference current minus the leakage current since a portion of the reference current flows (i.e., leaks) into the clamp circuit 210 as the leakage current. As shown in equation (3), the reference voltage V.sub.ref depends on the leakage current. The leakage current of the clamp circuit 210 is process and temperature dependent. As a result, the reference voltage V.sub.ref depends not only on variations in the resistance of the reference resistor R.sub.ref with temperature, but also on variations in the leakage current with temperature. This negatively impacts the ability of the reference voltage V.sub.ref to accurately track variations in the resistance of the sense resistor R.sub.sense across temperature. The larger the leakage current of the clamp circuit 210, the greater the impact on the reference voltage V.sub.ref, and hence the greater the degradation in the accuracy of the current measurement output by the ADC 120. Accordingly, a clamp circuit with lower leakage current is desirable.
[0035]
[0036] The clamp circuit 310 includes a first current mirror 320 and a second current mirror 330, in which the first current mirror 320 and the second current mirror 330 are coupled into a feedback loop. The clamp circuit 310 has a first input 312 coupled to the conductive line 114, and a second input 314 coupled to a voltage line 316 (e.g., a voltage supply rail). The voltage line 316 provides a voltage (labeled “Vc”) to the second input 314 of the clamp circuit 310. As discussed further below, the clamp voltage of the clamp circuit 310 is approximately equal to the voltage Vc. Thus, the clamp voltage of the clamp circuit 310 may be set to a desired clamp voltage by setting the voltage Vc to the desired clamp voltage.
[0037] In certain aspects, the voltage Vc may be a second supply voltage that is lower than the supply voltage Vdd (which may be referred to as a first supply voltage in this example). In this example, the voltage line 316 is a second supply rail providing the voltage Vc. In this example, the supply voltage Vdd may be approximately equal to 3.0 V and the voltage Vc may be a second supply voltage approximately equal to 1.8 V, although it is to be appreciated that the supply voltage Vdd and the voltage Vc may have other voltages. Also, in this example, the supply voltage Vdd may be above the voltage limit of the ADC 120 while the second supply voltage (i.e., Vc in this example) is at or below the voltage limit of the ADC 120.
[0038] In the example in
[0039] The first branch 332 of the second current mirror 330 is coupled to the second input 314, and the second branch 334 of the second current mirror 330 is coupled to the first input 312. Thus, the current flowing into the first input 312 (labeled “I.sub.b1”) flows through the first branch 322 of the first current mirror 320 and the second branch 334 of the second current mirror 330, and the current flowing into the second input 314 (labeled “I.sub.b2”) flows through the second branch 324 of the first current mirror 320 and the first branch 332 of the second current mirror 330.
[0040] When the voltage on the conductive line 114 is below the clamp voltage, the first current mirror 320 and the second current mirror 325 are both turned off. As a result, the leakage current into the first input 312 of the clamp circuit 310 is very low. The leakage current may be substantially lower than the leakage current of the diode-based clamp circuit 210, as discussed further below.
[0041] When the voltage on the conductive line 114 is approximately equal to the clamp voltage, the first current mirror 320 and the second current mirror 330 are both turned on. In certain aspects, the feedback loop of the clamp circuit 310 forces the currents flowing into the first input 312 and the second input 314 (i.e., I.sub.b1 and I.sub.b2) to be approximately the same. This clamps the voltage at the first input 312 (and hence the voltage of the conductive line 114) to approximately the voltage Vc, as discussed further below.
[0042]
[0043] The drain of the first transistor M.sub.1 is coupled to the gate of the first transistor M.sub.1, and the source of the first transistor M.sub.1 is coupled to ground. The gate of the second transistor M.sub.2 is coupled to the gate of the first transistor M.sub.1, and the source of the second transistor M.sub.2 is coupled to ground. The first current mirror 320 is configured to mirror the current flowing through the first transistor M.sub.1 to the second transistor M.sub.2. The current flowing through the first transistor M.sub.1 corresponds to the current flowing through the first branch 322 of the first current mirror 320 in
[0044] The second current mirror 330 includes a third transistor M.sub.3 and a fourth transistor M.sub.4. In the example shown in
[0045] The drain of the third transistor M.sub.3 is coupled to the drain of the first transistor M.sub.1, and the source of the third transistor M.sub.3 is coupled to the first input 312 of the clamp circuit 310. The drain of the fourth transistor M.sub.4 is coupled to the drain of the second transistor M.sub.2 and the gate of fourth transistor M.sub.4. The gate of the fourth transistor M.sub.4 is coupled to the gate of the third transistor M.sub.3, and the source of the fourth transistor M.sub.4 is coupled to the second input 314. The second current mirror 330 is configured to mirror the current flowing through the fourth transistor M.sub.4 to the third transistor M.sub.3. The current flowing through the fourth transistor M.sub.4 corresponds to the current flowing through the first branch 332 of the second current mirror 330 in
[0046] When the voltage on the conductive line 114 is below the clamp voltage (which is approximately to the voltage Vc in this example), the third transistor M.sub.3 and the first transistor M.sub.1 are turned off. Also, the gate of the second transistor M.sub.2 is pulled to ground, which turns off both the second transistor M.sub.2 and the fourth transistor M.sub.4. Because the transistors M.sub.1 to M.sub.4 in the clamp circuit 310 are turned off, the leakage current flowing into the first input 312 may be very low. The leakage current of the clamp circuit 310 may be substantially lower than the leakage current of the diode-based clamp circuit 210, as discussed further below.
[0047] When the voltage on the conductive line 114 is approximately equal to the clamp voltage (which is approximately to the voltage Vc in this example), the transistors M.sub.1 to M.sub.4 in the clamp circuit 310 are turned on. The feedback loop of the clamp circuit 310 forces the current flowing through the first and third transistors M.sub.1 and M.sub.3 and the current flowing through the second and fourth transistors M.sub.2 and M.sub.4 (i.e., I.sub.b1 and I.sub.b2) to be approximately the same. Because approximately the same current flows through the third transistor M.sub.3 and the fourth transistor M.sub.4, the source-to-gate voltage of the third transistor M.sub.3 is approximately equal to the source-to-gate of the fourth transistor M.sub.4. This causes the source voltage of the third transistor M.sub.3 (which is coupled to the conductive line 114) to be approximately equal to the source voltage of the fourth transistor M.sub.4, which is approximately equal to the voltage Vc. Thus, the voltage on the conductive line 114 (which is coupled to the source of the third transistor M.sub.3) is clamped to approximately the voltage Vc.
[0048] In the example shown in
Loop Gain=(g.sub.m2/g.sub.m4)×(g.sub.m3/g.sub.m1)/(1+g.sub.m3R.sub.ref) (4)
where g.sub.m1 is the transconductance of the first transistor M.sub.1, g.sub.m2 is the transconductance of the second transistor M.sub.2, g.sub.m3 is the transconductance of the third transistor M.sub.3, g.sub.m4 is the transconductance of the fourth transistor M.sub.4, and R.sub.ref in equation (4) is the resistance of the reference resistor R.sub.ref. The term (1+g.sub.m3R.sub.ref) in the loop gain is the result of the reference resistor R.sub.ref being coupled to the source of the third transistor M.sub.3 in the example shown in
[0049]
[0050]
[0051]
[0052] Also, the clamp voltage of the clamp circuit 310, which is set by the voltage Vc, is approximately independent of process and temperature variations. In contrast, the clamp voltage of the diode-based clamp circuit 210 is strongly dependent on process and temperature variations. This is because the clamp voltage of the diode-based clamp circuit 210 is set by the turn-on voltages of the diodes 212 and 214, which are a strong function of both process and temperature.
[0053] It is to be appreciated that the first current mirror 320 and the second current mirror 330 are not limited to the exemplary implementation shown in
[0054]
[0055] In this example, the speaker protection circuit includes a first sense resistor R.sub.senseP coupled between the first driver circuit 810 and ground, and a second sense resistor R.sub.senseN coupled between the second driver circuit 820 and ground. The sense resistors R.sub.senseP and R.sub.senseN are used to measure the current flowing through the speaker 830, as discussed further below.
[0056] To drive current from the first end 832 to the second end 834 of the speaker 830, transistors 812 and 824 are turned on and transistors 814 and 822 are turned off. In this case, the speaker current flows through the second sense resistor R.sub.senseN, generating a sense voltage across the second sense resistor R.sub.senseN that may be used to measure the speaker current. To drive current from the second end 834 to the first end 832 of the speaker 830, transistors 822 and 814 are turned on and transistors 812 and 824 are turned off. In this case, the speaker current flows through the first sense resistor R.sub.senseP, generating a sense voltage across the first sense resistor R.sub.senseP that may be used to measure the speaker current.
[0057] The speaker protection circuit also includes a combiner 840 configured to combine the sense voltages of the sense resistors R.sub.senseN and R.sub.senseP into a combined voltage, and input the combined voltage to the ADC 120, which converts the combined voltage into a digital current measurement. In the example in
[0058] The speaker protection circuit also measures the voltage across the speaker. Note that the portion of the speaker protection circuit that measures the voltage is not shown in
[0059] The resistance of each sense resistor R.sub.senseP and R.sub.senseN is dependent on the temperature of the sense resistor. As a result, the current measurement of the speaker 830 obtained from the sense resistors R.sub.senseP and R.sub.senseN varies with the temperature of the sense resistors, which negatively affects accuracy of the current measurement. To address this, the reference circuit 105 generates the reference voltage V.sub.ref, which tracks variations in the resistances of the sense resistors R.sub.senseP and R.sub.senseN with temperature in the manner discussed above. The reference voltage V.sub.ref is input to the ADC 120. Since the reference voltage V.sub.ref tracks variations in the resistances of the sense resistors R.sub.senseP and R.sub.senseN with temperature, the reference voltage V.sub.ref allows the ADC 120 to provide a consistent digital current measurement for a given speaker current across temperature.
[0060] In this example, the clamp circuit 310 provides over-voltage protection for the ADC 120, as discussed above. The low leakage current of the clamp circuit 310 allows the reference voltage V.sub.ref to accurately track variations in the resistances of the sense resistors R.sub.senseP and R.sub.senseN across temperature.
[0061]
[0062] It is to be appreciated that the clamp circuit 310 is not limited to the example of speaker protection discussed above, and that the clamp circuit 310 may be used in other applications in which voltage clamping and low leakage current are desirable. In this regard,
[0063]
[0064]
[0065] At block 1110, a first current mirror and a second current mirror are coupled into a feedback loop. For example, the first current mirror (e.g., first current mirror 320) may have a first branch 322 and a second branch 324, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror, and, the second current mirror (e.g., second current mirror 330) may have a first branch (e.g., first branch 332) and a second branch (e.g., second branch 334), wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror. In this example, the first current mirror and the second current mirror may be coupled into the feedback loop by coupling the first branch of the first current mirror in series with the second branch of the second current mirror, and coupling the second branch of the first current mirror in series with the first branch of the second current mirror.
[0066] At block 1120, the second current mirror is coupled to the conductive line. For example, the second branch of the second current mirror may be coupled to the conductive line (e.g., conductive line 114). In this example, the first branch of the second current mirror may be coupled to a voltage line, in which the feedback loop clamps the voltage on the conductive line to approximately a voltage (e.g., clamp voltage Vc) on the voltage line.
[0067] In certain aspects, the conductive line may be coupled between a reference circuit (e.g., reference circuit 105) configured to generate a reference voltage (e.g., V.sub.ref) and an analog-to-digital converter (ADC) (e.g., ADC 120). In certain aspects, the conductive line may be coupled between a voltage source (e.g., voltage source 910) and a circuit (e.g., circuit 920). In certain aspects, the conductive line may be coupled between a transmitter (e.g., transmitter 1010) and a receiver (e.g., receiver 1020).
[0068] Implementation examples are described in the following numbered clauses:
[0069] 1. A clamp circuit, comprising: [0070] a first current mirror having a first branch and a second branch, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror; and [0071] a second current mirror having a first branch and a second branch, wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror; [0072] wherein the first branch of the first current mirror is coupled in series with the second branch of the second current mirror, and the second branch of the first current mirror is coupled in series with the first branch of the second current mirror.
[0073] 2. The clamp circuit of clause 1, wherein clamp circuit is coupled to a conductive line, and the clamp circuit is configured to clamp a voltage of the conductive line to a clamp voltage.
[0074] 3. The clamp circuit of clause 2, wherein the second branch of the second current mirror is coupled to the conductive line, the first branch of the second current mirror is coupled to a voltage line, and the clamp voltage is approximately equal to a voltage on the voltage line.
[0075] 4. The clamp circuit of any one of clauses 1 to 3, wherein the first current mirror comprises: [0076] a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; and [0077] a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground.
[0078] 5. The clamp circuit of clause 4, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor.
[0079] 6. The clamp circuit of clause 4 or 5, wherein the first current mirror further comprises: [0080] a first source resistor between the source of the first transistor and the ground; and [0081] a second source resistor between the source of the second transistor and the ground.
[0082] 7. The clamp circuit of any one of clauses 4 to 6, wherein the second current mirror comprises: [0083] a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and [0084] a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
[0085] 8. The clamp circuit of clause 7, wherein each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
[0086] 9. The clamp circuit of clause 7, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
[0087] 10. The clamp circuit of any one of clauses 7 to 9, wherein the source of the third transistor is coupled to a conductive line, and the source of the fourth transistor is coupled to a voltage line.
[0088] 11. The clamp circuit of any one of clauses 3 to 9, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled to a reference circuit configured to generate a reference voltage.
[0089] 12. The clamp circuit of clause 12, wherein the conductive line is coupled between the reference circuit and an analog-to-digital converter.
[0090] 13. The clamp circuit of any one of clauses 3 to 9, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled between a voltage source and a circuit.
[0091] 14. The clamp circuit of any one of clauses 3 to 9, wherein the clamp circuit is coupled to a conductive line, and the conductive line is coupled between a transmitter and a receiver.
[0092] 15. A system, comprising: [0093] a reference circuit configured to generate a reference voltage; [0094] an analog-to-digital converter (ADC); [0095] a conductive line coupled between the reference circuit and the ADC; and [0096] a clamp circuit coupled to the conductive line, the clamp circuit comprising: [0097] a first current mirror having a first branch and a second branch, wherein the first current mirror is configured to mirror a current flowing through the first branch of the first current mirror to the second branch of the first current mirror; and [0098] a second current mirror having a first branch and a second branch, wherein the second current mirror is configured to mirror a current flowing through the first branch of the second current mirror to the second branch of the second current mirror; [0099] wherein the first branch of the first current mirror is coupled in series with the second branch of the second current mirror, and the second branch of the first current mirror is coupled in series with the first branch of the second current mirror.
[0100] 16. The system of clause 15, wherein the reference circuit comprises: [0101] a current source; and [0102] a reference resistor, wherein the current source and the reference resistor are coupled in series between a first supply rail and a ground, and the conductive line is coupled between the current source and the reference resistor.
[0103] 17. The system of clause 15 or 16, wherein the first current mirror comprises: [0104] a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; and [0105] a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground.
[0106] 18. The system of clause 17, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor.
[0107] 19. The system of clause 17 or 18, wherein the first current mirror further comprises: [0108] a first source resistor between the source of the first transistor and the ground; and [0109] a second source resistor between the source of the second transistor and the ground.
[0110] 20. The system of any one of clauses 17 to 19, wherein the second current mirror comprises: [0111] a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and [0112] a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
[0113] 21. The system of clause 20, wherein each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
[0114] 22. The system of clause 20, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
[0115] 23. The system of any one of clauses 20 to 22, wherein the source of the third transistor is coupled to the conductive line, and the source of the fourth transistor is coupled to a voltage line.
[0116] 24. The system of clause 23, wherein the reference circuit comprises: [0117] a current source; and [0118] a reference resistor, wherein the current source and the reference resistor are coupled in series between a first supply rail and a ground, and the conductive line is coupled between the current source and the reference resistor; [0119] wherein the voltage line comprises a second supply rail, the first supply rail provides a first supply voltage, the second supply rail provides a second supply voltage, and the second supply voltage is lower than the first supply voltage.
[0120] 25. A clamp circuit, comprising: [0121] a first transistor having a drain, a gate, and a source, wherein the drain of the first transistor is coupled to the gate of the first transistor, and the source of the first transistor is coupled to a ground; [0122] a second transistor having a drain, a gate, and a source, wherein the gate of the second transistor is coupled to the gate of the first transistor, and the source of the second transistor is coupled to the ground; [0123] a third transistor having a drain, a gate, and a source, wherein the drain of the third transistor is coupled to the drain of the first transistor; and [0124] a fourth transistor having a drain, a gate, and a source, wherein the drain of the fourth transistor is coupled to the drain of the second transistor and the gate of the fourth transistor, and the gate of the fourth transistor is coupled to the gate of the third transistor.
[0125] 26. The clamp circuit of clause 25, wherein each of the first transistor and the second transistor comprises an n-type metal oxide semiconductor (NMOS) transistor, and each of the third transistor and the fourth transistor comprises a p-type metal oxide semiconductor (PMOS) transistor.
[0126] 27. The clamp circuit of clause 26, wherein the source of the third transistor is coupled to a conductive line, and the source of the fourth transistor is coupled to a voltage line.
[0127] 28. A method for clamping a voltage on a conductive line, comprising: [0128] coupling a first current mirror and a second current mirror into a feedback loop; and [0129] coupling the second current mirror to the conductive line.
[0130] 29. The method of clause 28, further comprising coupling the second current mirror to a voltage line.
[0131] 30. The method of clause 29, wherein: [0132] coupling the second current mirror to the voltage line comprises coupling a first branch of the second current mirror to the voltage line; and [0133] coupling the second current mirror to the conductive line comprises coupling a second branch of the second current mirror to the conductive line.
[0134] 31. The method of any one of clauses 28 to 30, wherein the conductive line is coupled between a reference circuit configured to generate a reference voltage and an analog-to-digital converter (ADC).
[0135] It is to be appreciated that the present disclosure is not limited to the exemplary terms used above to describe aspects of the present disclosure, and that the present disclosure covers equivalent terms. For example, it is to be appreciated that a clamp circuit may also be referred to as a clamp, a clamp device, a clamping circuit, a clamping device, a voltage limiter, or another term. In another example, it is to be appreciated that a voltage line may also be referred to as a voltage rail, or another term.
[0136] Any reference to an element herein using a designation such as “first,” “second,” and so forth does not generally limit the quantity or order of those elements. Rather, these designations are used herein as a convenient way of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements can be employed, or that the first element must precede the second element.
[0137] Within the present disclosure, the word “exemplary” is used to mean “serving as an example, instance, or illustration.” Any implementation or aspect described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects of the disclosure. Likewise, the term “aspects” does not require that all aspects of the disclosure include the discussed feature, advantage or mode of operation. The term “coupled” is used herein to refer to the direct or indirect electrical coupling between two structures. As used herein, the term “approximately” means within 10 percent of the stated value (e.g., between 90 percent and 110 percent of the stated value).
[0138] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.