Background of the Invention
1. Field of the Invention
The present invention relates generally to analog switches, and more specifically, to metal-oxide semiconductor analog switches.
2. Background Information
Flatness of the on-resistance of a metal-oxide semiconductor ("MOS") analog switch is an important parameter in many applications. The conventional way to achieve reasonable flatness over a specified signal range is to have an N-channel MOS transistor and a P-channel MOS transistor connected in parallel. FIG. 1 is a circuit diagram of such a prior art analog switch. As shown, the switch consists of an N-channel MOS device N1 connected in parallel to a P-channel MOS device P1. More specifically, the respective sources and drains of the devices N1 and P1 are coupled together, with the input terminal IN coupled to the sources of the devices N1 and P1, and the output terminal OUT coupled to the drains of the devices N1 and P1. A control terminal CONTROL is coupled to the gate of device N1, and to the gate of device P1 through an inverter I1.
When a signal on the CONTROL terminal is low, both devices N1 and P1 are off, and thus the analog switch is off, prohibiting a signal on the IN terminal to be passed to the OUT terminal. On the other hand, when the CONTROL terminal is high, both devices N1 and P1 are on, and thus the analog switch is on to couple a signal on the IN terminal to the OUT terminal. For a change in input voltage in either direction, the on-resistance variation of the N-channel device N1 is compensated, to a certain extent, by the on-resistance variation of the P-channel device P1 in the opposite direction.
However, this type of analog switch has several drawbacks. One main drawback is that the on-resistances of the N-channel and P-channel devices N1 and P1 do not track each other exactly. Therefore, the on-resistance still shows a variation with the input voltage level, becoming worse as the signal approaches either supply rail. Another drawback to using an N-channel/P-channel combination is that the size of the P-channel device is 3 to 4 times the size of the N-channel device because of the lower hole mobility of silicon. This results in a larger parasitic capacitance and consequently, a reduction in bandwidth.
Accordingly, there is a need in the technology for an analog switch which overcomes the aforementioned drawbacks.
Summary of the Invention
The present invention comprises an analog switch. In one embodiment, the analog switch includes first, second, and third devices, and a level shifter. The first device includes a source coupled to an input terminal, a drain coupled to an output terminal, and a gate. The second device includes a source coupled to the input terminal, a drain, and a gate. The third device includes a source coupled to the drain of the second device, a drain coupled to the output terminal, and a gate. The level shifter includes an input coupled to the drain of the second device and an output coupled to the gates of the first, second, and third devices.
The level shifter provides a constant gate drive to the first device, regardless of a signal on the input terminal, resulting in a constant on-resistance of the analog switch. Moreover, the present invention achieves a constant linearity of on-resistance by keeping the gate voltage constant with respect to the mid-point of the source and drain voltages.
Brief Description of the Drawings
FIG. 1 is a circuit diagram of a prior art analog switch.
FIG. 2 is a circuit diagram of an analog switch according to one embodiment of the present invention.
FIG. 3 illustrates an exemplary embodiment of a level shifter of FIG. 2.
Detailed Description
FIG. 2 is a circuit diagram of an analog switch according to one embodiment of the present invention. Referring to FIG. 2, the analog switch comprises an N-channel metal-oxide semiconductor ("MOS") device N1 including a source that is coupled to an input terminal IN and a drain coupled to an output terminal OUT. It is desirable to provide a constant gate drive to device N1, regardless of the input signal on the IN terminal in order to maintain a constant on-resistance of the switch. To accomplish this, a voltage level shifter LS is coupled to the gate of device N1 to provide a constant gate to source voltage relative to the source to drain voltage of device N1. For best linearity of on-resistance, the gate voltage of device N1 must be kept constant with respect to the midpoint of the source and drain voltages of device N1. This is accomplished by including two extra N-channel MOS devices of equal size in series across the IN and OUT terminals and connecting the gates of the two extra N-channel devices to the gate of device N.
Accordingly, the analog switch further comprises a second N-channel device N2 and a third N-channel device N3. Device N2 includes a source coupled to the IN terminal, a drain, and a gate coupled to the gate of device N1. Device N3 includes a source coupled to the drain of device N2, a drain coupled to the OUT terminal, and a gate coupled to the gate of device N. Devices N2 and N3 are bilateral devices and the source and drain connections described above are for reference purposes only, as they may be interchanged. Moreover, devices N2 and N3 may be smaller than device N1 to provide the primary switch-on conduction through device N1. The connection point between the drain of device N2 and the source of device N3 is coupled to an input of the voltage level shifter LS. The voltage level shifter LS shifts the signal voltage on the IN terminal by an amount equal to the desired V.sub.gs of device N1. The voltage level shifter provides a fixed gate to source voltage with respect to the source to drain voltage for maximum linearity.
The output of the voltage level shifter LS is coupled to the gates of devices N1, N2, and N3. Optionally, a resistor R may be placed in series between the output of the voltage level shifter LS and the gates of devices N1, N2, and N3. The resistor R, together with the gate-to-channel capacitance of devices N1, N2, and N3 form a time constant that is significantly larger than the inverse of the dominant pole of the voltage level shifter. This ensures that, right from direct current to very high frequencies, the gate-channel drive of device N1 is essentially constant, resulting in a switch that is extremely linear.
In addition, an optional control terminal CNTL may be coupled to the gates of devices N1, N2, and N3 to control the same and turn the analog switch on or off. The resistor R allows the control terminal CNTL to be coupled to the gates of devices N1, N2, and N3 for turning the same on and off. In the preferred embodiment, the substrate well connections of devices N1, N2, and N3 are coupled to the input of the voltage level shifter LS, as shown by the dashed lines. However, the substrate well connections of devices N1, N2, and N3 may be grounded, coupled to the sources of the respective devices, or coupled to any other sufficiently low or negative voltage or voltages.
FIG. 3 illustrates an exemplary embodiment of a voltage level shifter of FIG. 2. The voltage level shifter LS includes a P-channel device P1 that is connected in a source-follower configuration. That is, device P1 includes a source that is coupled to an output terminal O.sub.LS, a drain that is coupled to a circuit ground, and a gate that is coupled to an input terminal I.sub.LS. The voltage level shifter LS further includes a constant current source I coupled between a power supply terminal V and the output terminal O.sub.LS, providing a constant load at the source of device P1. In the preferred embodiment, the constant current source I comprises an active device such as, for example, a transistor. Alternatively, the constant current source may comprise a passive device such as a resistor.
While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art.