ANALOG LEVEL SHIFTER

Abstract
An analog level shifter is provided, receiving an input voltage to generate an output voltage. In the analog level shifter, a NMOS transistor has a gate coupled to an input node where the input voltage is input. A resistance device comprises a first end coupled to source of the NMOS transistor, and a second end coupled to an output node where the output voltage is output. A current source is coupled to the output node, sinking a first current therefrom to ground.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The invention relates to an analog circuit, and in particular, to an analog level shifter with adjustable offset range.


2. Description of the Related Art


A source follower usually acts as a level shifter to provide a fixed value voltage offset in analog circuit implementation. FIG. 1 shows a conventional source follower. A NMOS M1 has a gate coupled to an input voltage VIN, and a source coupled to an output node to provide an output voltage VOUT. A current source is coupled to the output node, sinking a current Ib to ground. The voltage offset VOUT−VIN is inherently related to component properties such as threshold Vth and width/length ratio W/L of the NMOS M1, and the level of the current Ib. The threshold Vth, is a particularly dominant factor since if the gate-to-source voltage VGS of the NMOS M1 does not exceed the threshold Vth, the NMOS M1 is not turned on.


With recent development of low voltage circuits, it becomes more desirable to convert voltages between minor levels lower than the threshold Vth. Implementation of the level shifter as shown in FIG. 1 becomes difficult if the threshold Vth is inflexible. FIG. 2 shows a transfer curve according to the conventional source follower in FIG. 1. The curve Ma denotes voltage transfer of FIG. 1 when the NMOS M1 is a normal NMOS. The offset Va cannot be lower than threshold Vth of the NMOS. If a native NMOS is used as the NMOS M1, the threshold Vth can be significantly reduced to render a transfer curve Mc. However, the offset Vc might be too small for use. The width/length ratio W/L of the NMOS M1 or the current Ic may be adjusted to increase the offset Vc, and the flexible range is very limited. A low voltage threshold (LVT) device may be used as the NMOS M1 to render a transfer curve Mb, having an intermediate offset Vb between the offsets Va and Vc. Additional masks are required to implement LVT devices, increasing costs, while flexibility of voltage transfer range remains limited. Thus, a flexible adjustable level shifter independent of the threshold gap is desirable.


BRIEF SUMMARY OF INVENTION

An embodiment of an analog level shifter is provided, receiving an input voltage to generate an output voltage. In the analog level shifter, a NMOS transistor has a gate coupled to an input node where the input voltage is input. A resistance device comprises a first end coupled to source of the NMOS transistor, and a second end coupled to an output node where the output voltage is output. A current source is coupled to the output node, sinking a first current therefrom to ground.


The NMOS transistor may be a native device or a low voltage threshold (LVT) device. The resistance device is a linear resistor or a variable resistor. Specifically, the resistance device is P-poly, N-poly, or diffusion type, and the generation of the current source uses the same type resistor as the resistance device. The addition of the resistance device eliminates the threshold gap, rendering flexible and adjustable voltage transition.


A detailed description is given in the following embodiments with reference to the accompanying drawings.





BRIEF DESCRIPTION OF DRAWINGS

The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:



FIG. 1 shows a conventional source follower,



FIG. 2 shows a transfer curve according to the conventional source follower in FIG. 1;



FIG. 3 shows an embodiment of a level shifter,



FIG. 4 shows a transfer curve according to the level shifter in FIG. 3;



FIG. 5 shows another embodiment of a level shifter; and



FIG. 6 shows an exemplary circuit for generating a current source.





DETAILED DESCRIPTION OF INVENTION

The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.



FIG. 3 shows an embodiment of a level shifter. In the analog level shifter, a NMOS M2 has a gate coupled to an input node where the input voltage VIN is input. A resistance device RL comprises a first end coupled to source of the NMOS M2, and a second end coupled to an output node where the output voltage VOUT is output. A current source is coupled to the output node, sinking a current Ib therefrom to ground.


The offset between voltages VIN and VOUT can be expressed as:





ΔV=VOUT−VIN=−(VGS+IbRL)   (1)


Where VGS is the gate-to-source voltage of the NMOS M2, a factor influenced by the threshold Vth. The Ib and RL are adjustable values to compensate the influence of threshold Vth. Therefore, the voltage offset between VIN and VOUT can be flexibly adjusted with easy control and low cost. The NMOS transistor M2 may adopt a native device or a low voltage threshold (LVT) device.


Some fabrication processes allow fabrication of so-called “native” devices with low substrate doping concentrations. A “native” device has a deliberately different MOS channel doping to create a lower voltage threshold. Such transistors are normally unsuitable for use in digital circuits but can have great use in analog circuits. “Native” transistors can be expected to have a lower temperature coefficient of threshold voltage. This allows fabrication cost to be traded for greater analog performance. However, in general the embodiment allows good analog performance to be maintained with transistors fabricated as NMOS transistors using a fabrication process which is good for the formation of digital circuits, and hence widely available and relatively inexpensive.


The resistance device is a linear resistor or a variable resistor. Specifically, the resistance device RL is P-poly, N-poly, or diffusion type, and the generation of the current source uses the same type resistor as the resistance device. For example, as shown in FIG. 6, the current source may be generated using the formula V=IR, with the resistor used therein the same type as the resistance device RL. In this way, non-linearity caused by temperature or component variations can be reduced.



FIG. 4 shows a transfer curve according to the level shifter in FIG. 3. It is shown that the combination of the resistance device eliminates the threshold gap, rendering a flexible and adjustable voltage transfer feature. The shadowed region denotes an acceptable transition range based on adjustment of the current Ib and resistance RL. The lower bound of input voltage VIN is the threshold Vth depending on the material of the NMOS M2, and the upper bound of input voltage VIN depends on the multiplication of Ib and RL. In one embodiment, adjustment of the resistance device RL might be more preferable than adjustment of the current source Ib, because there is still minor non-linearity effect in the NMOS M2 dependent on the current Ib.


While the embodiment uses a NMOS to “level down” the input voltage VIN to the output voltage VOUT, the disclosure is not limited thereto. If a PMOS is used to implement a level shifter, the circuitry may be intuitively reversed to render a “level up” transition diagram.



FIG. 5 shows another embodiment of a level shifter. With reference to FIG. 5, a gate of PMOS M3 is coupled to an input VIN. A resistance RL is coupled to a source of the PMOS M3 and VOUT. A current mirror is coupled to the output node (VOUT). Similar to the embodiment shown in FIG. 3, the offset between voltages VIN and VOUT can be expressed as:





ΔV=VOUT−VIN=(VSG+IcRL)   (2)


Where VSG is the source-to-gate voltage of the PMOS M3, a factor influenced by the threshold VTH. The Ic and RL are adjustable values to compensate the influence of threshold Vth. Therefore, the voltage offset between VIN and VOUT can be flexibly adjusted with easy control and low cost. The PMOS transistor M3 may adopt a low voltage threshold (LVT) device.



FIG. 6 shows an exemplary circuit for generating a current source. With reference to FIG. 6, a voltage Vbg is input to an inverting input of an OP (operational amplifier). The voltage Vbg could be generated by a bandgap circuit. With a close loop configuration like FIG. 6, the voltage on the node N1 is virtually the same as that on the inverting input. That is, the voltage on the node N1 is also Vbg. The current flowing through R would be IR=Vbg/R. The transistors M4, M5, and M6 constitute a current mirror, mirroring IR into IM with a ratio. By the same mirroring technique, current sources I1 and I2 can be implemented. The current source I1 is proportional to IR. The current source I2 is also proportional to IR.


Referring to FIG. 3, FIG. 5 and FIG. 6, the current source I1 (shown in FIG. 6) could be used as the current source Ib (shown in FIG. 3) and the current source I2 (shown in FIG. 6) could be used as the current source Ic (shown in FIG. 5). In one embodiment, the resistor R (shown in FIG. 6) can use the same type (P-poly, N-poly, or diffusion type) of resistor as that used in FIG. 3 or FIG. 5.


While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims
  • 1. An analog level shifter, receiving an input voltage to generate an output voltage, comprising: an NMOS transistor with a gate coupled to an input node where the input voltage is input;a resistance device comprising a first end coupled to a source of the NMOS transistor, and a second end coupled to an output node where the output voltage is output; anda current source coupled to the output node, sinking a current therefrom; wherein the resistance device is a P-poly, N-poly, or diffusion type resistor.
  • 2. The analog level shifter as claimed in claim 1, wherein the NMOS transistor is a native device.
  • 3. The analog level shifter as claimed in claim 1, wherein the NMOS transistor is a low voltage threshold (LVT) device.
  • 4. The analog level shifter as claimed in claim 1, wherein the resistance device is a linear resistor.
  • 5. The analog level shifter as claimed in claim 1, wherein the resistance device is a variable resistor.
  • 6. (canceled)
  • 7. The analog level shifter as claimed in claim 1, wherein the current source is driven by a resistor of the same type as the resistance device.
  • 8. An analog level shifter, receiving an input voltage to generate an output voltage, the analog level shifter comprising: a PMOS transistor with a gate coupled to an input node where the input voltage is input;a resistance device comprising a first end coupled to a source of the PMOS transistor, and a second end coupled to an output node where the output voltage is output; anda current source coupled to the output node, the current source providing a current to the resistance device: wherein the resistance device is a P-poly, N-poly, or diffusion type resistor.
  • 9. The analog level shifter as claimed in claim 8, wherein the PMOS transistor is a low voltage threshold (LVT) device.
  • 10. The analog level shifter as claimed in claim 8, wherein the resistance device is a linear resistor.
  • 11. The analog level shifter as claimed in claim 8, wherein the resistance device is a variable resistor.
  • 12. (canceled)
  • 13. The analog level shifter as claimed in claim 8, wherein the current source is driven by a resistor of the same type as the resistance device.