Many integrated circuit designs use multiple power supplies to reduce power consumption while still providing high performance. But the voltage levels of logic signals processed by logic circuitry powered by one power supply domain might be different, and possibly incompatible, with the voltage levels of logic signals processed by logic powered by different power supply domain. For example, a field-programmable gate array (FPGA) typically has core signal processing logic and input-output buffers interfacing the core logic with off-chip logic circuitry. Generally, the input-output buffers are powered from one or more power supplies having voltages higher than the power supplies powering the core logic. Because the voltage levels of logic signals for the input-output buffers are usually greater than the voltage levels of logic signals utilized by the core logic, level shifters are used to “translate” the logic signals passing between the core logic and the input-output buffers.
A similar use for level shifters exists in analog circuitry where it is desirable to shift the level of analog signals originating from one analog function for use by another analog function. For example, a phase-locked-loop (PLL) might require the use of a level shifter to have an error signal from a phase detector shifted to a voltage range that is suitable for use by a voltage-controlled oscillator (VCO).
Two similar examples of a level shifter used to change the voltage levels of logic or analog signals are source or emitter followers where the output voltage levels are reduced by an amount approximately equal to the gate-to-source voltage or base-to-emitter voltage of a single MOSFET or bipolar transistor, respectively. Because the amount of voltage reduction is dependent on the electrical characteristics of the transistor, the amount of voltage reduction is relatively large (e.g., 0.5-0.7 volts), is not controllable, and varies with process, temperature, and operating voltage.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Described embodiments provide a level shifting circuit comprising first and second transistors and first and second controlled current sources. The first transistor has a control terminal coupled to an input terminal of the level shifting circuit, a first controlled terminal, and a second controlled terminal coupled to a first node. The second transistor has a first controlled terminal coupled to an output terminal of the level shifting circuit, a second controlled terminal coupled to the first node, and a control terminal coupled to the first controlled terminal of the second transistor. The first controlled current source is coupled to the node and the second controlled current source is coupled to the first controlled terminal of the second transistor. The current from the first controlled current source and current from the second current source are substantially independent of signals applied to the input terminal.
Other embodiments of the present invention will become more fully apparent from the following detailed description, the appended claims, and the accompanying drawings in which like reference numerals identify similar or identical elements.
Reference herein to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments necessarily mutually exclusive of other embodiments. The same applies to the term “implementation”.
It should be understood that the steps of the exemplary methods set forth herein are not necessarily required to be performed in the order described, and the order of the steps of such methods should be understood to be merely exemplary. Likewise, additional steps might be included in such methods, and certain steps might be omitted or combined, in methods consistent with various embodiments of the present invention.
Also for purposes of this description, the terms “couple”, “coupling”, “coupled”, “connect”, “connecting”, or “connected” refer to any manner known in the art or later developed in which energy is allowed to be transferred between two or more elements, and the interposition of one or more additional elements is contemplated, although not required. Conversely, the terms “directly coupled”, “directly connected”, etc., imply the absence of such additional elements. Signals and corresponding nodes or ports might be referred to by the same name and are interchangeable for purposes here. The term “or” should be interpreted as inclusive unless stated otherwise.
The present invention will be described herein in the context of illustrative embodiments of a level shifter adapted to be for use in an integrated circuit or the like. It is to be appreciated, however, that the invention is not limited to the specific apparatus and methods illustratively shown and described herein. Rather, aspects of the invention are directed broadly to techniques for beneficially providing a level shifter with a controllable voltage drop compatible with complementary metal-oxide-semiconductor technology (CMOS) or bipolar technology.
In
The transistors 102, 106 serve to first reduce then increase a voltage applied to the input Vin such that a voltage on the output Vout is offset or shifted by a voltage ΔV from the voltage on the input Vin. The amount of shift is related to the currents passed by the current sources 108 and 110. This is understood by recognizing that the current passed (drain current) by a MOSFET is approximately
where is Cox being the gate oxide capacitance, μ the channel mobility, and
the channel width-to-length ratio, Vgs the gate-to-source voltage, and Vt the threshold voltage. Assuming current I1 is passed by transistor 102, I2 (the current supplied by current source 110) is passed by transistor 106, and I3 is the current through current source 108, then
I3=I1+I2. (Eq. 2)
The voltage shift ΔV by the level shifter is determined by the difference between the gate-to-source voltages of transistors 102 (here Vgs1) and transistor 106 (here Vgs2):
ΔV=Vout−Vin=Vgs2−Vgs1 (Eq. 3)
Rewriting Eq. 1 to solve for gate-to-source voltages and substituting it into Eq. 3 and assuming that transistors 102 and 106 are substantially matched results in:
Assuming here that I3=(K+1)I1, then from Eq. 2,
I2=KI1 (Eq. 6)
and thus the ratio of I3 to I2(I3/I2) is (K+1)/K. (Eq. 7)
Substituting Eq. 6 into Eq. 5 results in:
As stated above, the currents I3 and I2 are a function of (K+1) and VICONT, and K and VICONT, respectively. Because I1 is the difference between currents I3 and I2 (Eq. 2), it follows that I1 in this embodiment is approximately proportional to the square of the control signal VICONT. Thus, from Eq. 8:
Therefore, the voltage shift is a function of VICONT and K. In this embodiment, ΔV is positive when the level shifter 100 reduces (more negative in this embodiment) the input signal's voltage, and ΔV is negative when the input signal's voltage is increased (more positive).
Optional voltage dropping resistor 112 may be used to improve the accuracy of the voltage shift by reducing the voltage from power supply node 114 so that the drain-to-source voltage of transistor 102 is similar to the drain-to-source voltage of transistor 106. As illustrated here, the power supply voltage on node 114 can be different from the power supply voltage on node 116 so that transistor 102 might be subject to less overvoltage stress when signals applied to input Vin come from circuitry operating at a higher voltage than circuitry responsive to signals on output Vout.
Generally, the digitally scaled current source 214 passes a current that is a function of K and VICONT as described above. In addition, the transistor 220 also passes a current that is a function of VICONT, such that the total current conducted by conductor 222, and hence by current source 108, is a function of (K+1) and VICONT.
Transistors 230 generate a control voltage on node 232 corresponding to the common control signal VICONT. That signal is coupled to the gates of transistors 234 of a digitally-scaled current source 236. As with digitally-scaled current source 214, the current source 236 receives the control word K to selectively close switches 238 that couples the transistors 234 to the drain and gate terminals of transistor 106. Thus, the digitally-scaled current source 236 produces a current to the transistor 106 that is a function of K and VICONT. By appropriately scaling the transistors 230 and 234 to the transistors 218 as is well known in the art, the currents passed by the current sources 214 and 236 will be substantially equal.
It is understood that the digitally-scaled current sources 214 and 236 may be implemented in a variety of ways, such as selectively coupling, in response to the control word K, the gates of the transistors 218 and 234 to their respective control signal instead of using the switches 216 and 238 as shown. Alternatively, the switches may be placed in series with the source terminals instead of the drain terminals of their respective transistors.
A stabilized voltage reference 302, such as a conventional bandgap reference, provides a substantially constant voltage VBG that differential amplifier 304, transistor 306, and resistor 308 utilize in combination to establish a current passing through the resistor 308 of approximately VBG/R308, where R308 is the resistance of resistor 308 which is located on the same semiconductor substrate as the rest of the circuitry shown in
The voltage VC is stabilized over process and temperature because the ratio of the resistances of resistors 308 and 312 is substantially constant over process and temperature, so that the voltage VC is, for purposes here, invariant with changes in the resistors 308 and 312 but is proportional to VBG which is designed to be insensitive to process, temperature, and power supply voltage.
Circuitry 320, in response to the reference voltage VC, generates the common control signal VICONT so that the currents generated by the current sources 108 and 110 are proportional to the square of the stabilized reference voltage VC. In this embodiment, differentially-connected transistors 322 and 324 receive VC and produce an output current Iout on line 326. Transistors 328 and 330 form a current mirror coupling to the drain terminals of transistors 322 and 324, respectively, while transistor 332 couple to the source terminals of the transistors 322 and 324. Transistors 332, 334, and 336 form a folded cascade current mirror to generate VICONT in response to the output current Iout. In this embodiment, transistor 332 decouples the voltage of the control signal VICONT from the drain voltages of transistors 324 and 330 so that the transistor 330 has sufficient drain voltage for saturated operation. By having transistor 334 approximately the same size as transistor 324 so that the Vgs and Vds (drain-to-source voltage) of transistor 324 is approximately the same as the Vgs and Vds of transistor 334, transistor 334 improves the performance of the current mirror of transistors 332 and 336 so that current passed by transistor 332 tracks the current Iout more closely than without transistor 334.
A bias circuit comprising transistors 338 and current source 340 provides the appropriate bias voltage to the gate of transistor 332 so that the transistor 330 has sufficient drain voltage for saturated operation.
As will be explained in more detail below, by making the size of transistor 328 twice the size of transistor 330, and the width-to-length of transistor 332 five times that of each of the substantially identical transistors 322, 324, 334, and 336, approximately twice the output current Iout will flow through transistor 330, four times the output current Iout will flow through transistor 328, and five time the output current Iout will flow through transistor 332. In this way, the output current Iout will be approximately equal to
where the values of Cox, μ, and
as defined above, are those for each of the substantially identical transistors 322, 324, 334, and 336. Because Iout will have this characteristic, then currents in the current sources 108 and 110 (
As mentioned above, transistor 314 and resistor 316 are used to set an appropriate gate voltage for transistor 324 so that both transistors 324 and 332 are saturated. In this example, resistor 316 has about 200 mV across it and transistor 314 is sized to have a similar width-to-length ratio as transistor 324 so that the Vgs of transistor 314 is approximately the same as the Vgs of transistor 324.
The operation of the circuit 320 is as follows. As stated above, in one embodiment, the width-to-length ratio of transistor 332 five times that of transistor 336, the width-to-length ratio of transistor 328 is approximately twice that of transistor 330, and the width-to-length ratio of transistor 322 is approximately the same as that of transistors 324 and 334. Because of the sizing of the transistors, the current passed by or flowing in transistor 332 (I332) is approximately five time the output current Iout (which is equal to the current passed by transistors 332-336) and the current flowing in transistor 328 (I328) is twice that passed by current mirror transistor 330 (I330). It then follows that:
I328+I330=Iout+I332 (Eq. 10)
Because transistor 328 carries twice the current of transistor 330, and transistor 332 carries five times the current passed by transistor 336 (Iout), then:
2I330+I330=Iout+5Iout=6Iout, and (Eq. 11)
I330=2Iout and, (Eq. 12)
I328=I322=4Iout. (Eq. 13)
The current flowing in transistor 324 (I324) is then calculated to be:
I324=I320−I336=2Iout−Iout=Iout. (Eq. 14)
Expressing Eq. 1 for the current passed by transistor 322 according to Eq. 13 yields:
and expressing Eq. 1 for the current passed by transistor 324 according to Eq. 14 yields:
Solving Eq. 15 for gate-to-source voltage of transistor 322 yields:
and solving Eq. 16 for the gate-to-source voltage of transistor 324 yields:
Subtracting Eq. 18 from Eq. 17 yields:
and solving Eq. 19 for Iout yields:
Because VICONT controls both Iout and the currents passed current sources 108 and 110 (
then currents passed by the current sources 108 and 110 (
ΔV∝VC(√{square root over (K)}−1). (Eq. 21)
Thus ΔV can be be scaled to VC by correspondingly scaling the width-to-length ratios of the transistors in the current sources 108, 110 to that of transistor 336. However, for the case where Iout=I1 (
ΔV=VC(√{square root over (K)}−1). (Eq. 22)
Because VC is set by VBG, then ΔV is accurately controlled.
As is well known in the art, a conventional start-up circuit (not shown) is added to the circuit 320 to insure that the circuit 320 operates upon applying power thereto.
While the controller 300 in
In this example, the level shifter 100 is powered by one power supply (not shown). However, as is common in many modern analog designs, the VCO 504 is powered from a different power supply as the rest of the circuitry to reduce jitter and other noise from appearing in the output signal from the VCO. In this case, the level shifter 100 may be powered from two different power sources, one for the phase detector 502 and the filter 506, and one for the VCO 504, similar to how the level shifter 100 is powered in
While the controller 300 in
It is understood that various changes in the details, materials, and arrangements of the parts which have been described and illustrated in order to explain the nature of this invention might be made by those skilled in the art without departing from the scope of the invention as expressed in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4150308 | Adlhoch | Apr 1979 | A |
5532619 | Bonaccio | Jul 1996 | A |
5623230 | Goldthorp | Apr 1997 | A |
5825229 | Manaresi et al. | Oct 1998 | A |
6005439 | Fong | Dec 1999 | A |
6222385 | Kang | Apr 2001 | B1 |
6259299 | Ryu | Jul 2001 | B1 |
6696869 | Tan | Feb 2004 | B1 |
7551017 | Felder | Jun 2009 | B2 |
20040104767 | Prexl et al. | Jun 2004 | A1 |
20050046495 | Li | Mar 2005 | A1 |
20060002483 | Kim | Jan 2006 | A1 |
20070008001 | Sanchez et al. | Jan 2007 | A1 |