BACKGROUND OF THE INVENTION
The present invention relates to an operational amplifier or a comparator, and more particularly to a circuit which can improve the slew rate (the response speed of an output signal as a function of an input signal) of the operational amplifier having a capacitive load at an output terminal.
Most electronic circuits use an operational amplifier or the comparator which produces an output signal, by summing, subtracting or differential amplifying input signals of an invert terminal and a non-inverted terminal. In such an operational amplifier, the response of the output signal as a function of an input signal is important to the performance and reliability of the electronic circuit. Specially, if a comparator used in a semiconductor memory device has a slow response speed, the malfunction of the memory device operating at a high speed as well as a slow data access time will result.
FIG. 1 is a circuit diagram illustrating a comparator (or an operational amplifier) of the prior art. As shown in FIG. 1, it will be appreciated that the comparator and the differential amplifier of an N-channel input type are the same in construction. Therefore, when the potential of a first input terminal 21 is higher than that of a second input terminal 22, P type MOS transistors 4 and 5 and N type MOS transistors 7 and 11 are turned on to drop the potential of a second output terminal 24. If the potential of the second input terminal 22 is higher the first input terminal 21, a power supply voltage V.sub.DD is charged on the second output terminal 24 through a P type MOS transistor 10. In this case, the voltage gain A.sub.VO1 of a first output terminal 23 and the voltage gain A.sub.VO2 of the second output terminal 24 are calculated respectively as follows.
Wherein gm.sub.1, gm.sub.2 and gm.sub.6 are the transconductance of N type MOS transistors 1 and 2 and P type MOS transistor 6, respectively, gds the channel conductance, S the ratio of the width of channel to the length thereof.
In case that the output voltage V.sub.OUT is increased, the slew rate SR at the second output terminal 24 becomes maximum value when the pull-down current I.sub.11 flowing into a ground voltage terminal V.sub.SS from the second output terminal 24, through the N type MOS transistor 11, is "0". In case that the output voltage is decreased, the slew rate SR at the second output terminal 24 becomes maximum value when the pull-up current I.sub.10 flowing into the second output terminal 24 from the power supply voltage terminal V.sub.DD, through the P type MOS transistor 10, is "0".
However, at the second output terminal 24, there exists the load capacitance C.sub.L resulting from parasitic capacitor 15, which makes the load current i.sub.L flow. The load capacitance C.sub.L and the load current i.sub.L have an important effect on the slew rate SR during the potential of the second output terminal 24 is changed from logic "LOW" to logic "HIGH" or from logic "HIGH" to logic "LOW". In detail, the slew rate SR is defined as the differential coefficient of the output voltage V.sub.out with respect to time, and on the other hand the load current i.sub.L indicates the value the pull-down current I.sub.11 from the pull-up current I.sub.10. Thus, the slew rate SR can be expressed as follows.
As shown in the above expression concerning the slew rate SR, in order to increase the slew rate SR (or to have fast response speed of an output signal as a function of an input signal), the load capacitance C.sub.L should be decreased or the load current i.sub.L should be increased. The value of the load capacitance C.sub.L can not be changed because the load capacitance, as a parasitic element, has a inevitably fixed value in a circuit construction, but it is possible to increase the load current i.sub.L by increasing the size of P type MOS transistor 10 and N type MOS transistor 11. However, to increase the size of MOS transistors 10 and 11 for use in output results undesirably in the increase of power consumption of the circuit.
It is therefore an object of the invention to provide a circuit capable of improving a slew rate without increasing power consumption of an output terminal in a comparator.
In accordance with an aspect of the present invention, an operational amplifier, having one differential amplifier and a first pull-up transistor with a gate connected to the output terminal of the differential amplifier, includes a first output terminal, a second pull-up transistor with a gate connected to the output terminal of the differential amplifier and with a channel connected between a power supply voltage terminal and the first output terminal, a second output terminal connected to either one terminal of the channel of the first pull-up transistor, a current regulating means connected between the first output terminal and the second output terminal and having one common current path, one pull-up current path and one pull-down current path, a first pull-down transistor with a channel connected between the second output terminal and a ground voltage terminal, and a second pull-down transistor with a channel connected between the first output terminal and a ground voltage terminal.
BRIEF DESCRIPTION OF THE DRAWINGS
The advantages and features of the present invention will be more apparent from the detailed description hereunder, taken in conjunction with the accompanying drawings wherein:
FIG. 1 shows a circuit diagram of a comparator (or an operational amplifier) of a prior art;
FIG. 2 shows a circuit diagram illustrating the preferred embodiment of a comparator (or an operational amplifier) according to the present invention; and
FIG. 3 shows a view illustrating the operational waveform according to the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In FIG. 2, the same structural elements as those shown in FIG. 1 are designated by like reference numerals. As shown, a gate of a P type MOS transistor 9 is connected to an output terminal 23 of a differential amplifier, and a channel thereof is connected between a power supply terminal V.sub.DD and a first output terminal 25. An N type MOS transistor 8 has a gate connected to a gate of an N type MOS transistor 7, and a channel connected between the first output terminal 25 and a ground voltage terminal V.sub.SS. A current regulating circuit 30, comprised of an N type MOS transistor 12, a P type MOS transistor 13 and a resistor 14, is connected between the first output terminal 25 and a second output terminal 26, the second output state 26 corresponding to the second output terminal 24 of FIG. 1. The gate of the N type MOS transistor 12 is connected to the first output terminal 25, and a channel thereof is connected between the power supply voltage V.sub.DD and the second output terminal 26. A gate of the P type MOS transistor 13 is connected to the first output terminal 25, and a channel thereof is connected between the second output terminal 26 and the ground voltage terminal V.sub.SS. The resistor 14 connects the first output terminal 25 to the second output terminal 26. In the circuit as shown in FIG. 2, it should be noticed that the P type MOS transistors 9 and 10 for use in pull-up are equal in size, and the N type MOS transistors 8 and 11 for use in pull-down are also equal in size.
In FIG. 3, an input waveform 31, a waveform 32 at the first output terminal 25 and a waveform 33 at the second output terminal 26 are shown. It is assumed that an input signal, referred to as "a first input signal", of logic low i.e., "0" level is applied to the first input terminal 21, and a signal, referred to as "a second input signal", such as the input waveform 31 of FIG. 3 is applied to the second input terminal 22. Since the potential of the second input signal is higher than that of the first input signal, the potential of the output terminal 23 of the differential amplifier comes to logic low. Thereby, the P type MOS transistors 9 and 10 for use in pull-up are turned on, thus charging the first output terminal 25 and the second output terminal 26 up to the power supply voltage V.sub.DD level. In this case, if there is no capacitor 15 at the second output terminal 26, the voltage of the first output terminal 25 and the second output terminal 26 becomes identical to each other and then the current does not flow between the first output terminal 25 and the second output terminal 26. However, as described above, it is unavoidable that the load capacitance C.sub.L caused by the parasitic capacitor 15 at the second output terminal 26 exist. Therefore, at the first output terminal 25, by the load capacitance C.sub.L, the voltage such as the waveform 32 of FIG. 3 is formed, and at the second output terminal 26, the voltage such as the waveform 33 of FIG. 3 is formed. The waveform 33 of the second output terminal 26 has a more gentle gradient, i.e., a more gentle slew rate than that 32 of the first output terminal. This is because of the charging time of the load capacitance C.sub.L. That is, the potential of the first output terminal 25 is higher than that of the second output terminal 26 as much as .DELTA.V at time t1. If the potential difference .DELTA.V becomes greater than the threshold voltage of the N type MOS transistor 12, the N type MOS transistor 12 is turned on and then current i.sub.x flows into the second output terminal 26 until the potential of the first and second output terminals 25 and 26 become identical. Furthermore, the current i.sub.R, caused by the potential difference between the first output terminal 25 and the second output terminal 26 at the resistor 14, flows into the second output terminal 26. That is, the amount of the current flowing into the second output terminal 26 becomes (I.sub.10 -I.sub.11)+i.sub.X +i.sub.R. This amount of current flowing into the second output terminal 26 is increased as much as (i.sub.X +i.sub.R), in comparison with that of FIG. 1. As a result of the increase of output current, the charging time of the capacitor 15 is shorter, thereby improving the slew rate. In the same way, if the potential of the second input signal is lower than that of the first input signal which is logic "0" level, the current flowing into the ground voltage terminal V.sub.SS becomes the sum of the current i.sub.Y flowing through the P type MOS transistor 13, the current flowing into the first output terminal 25 through the resistor 14, the direction thereof being opposite to the direction of the above current i.sub.R, and the pull-down current i.sub.11. Wherein a current direction flowing into the first output terminal 25 through the resistor 14 is determined in dependence on a potential difference between the first output terminal 25 and the second output terminal 26. Accordingly, the discharging time of the load capacitance C.sub.L becomes shorter as that much, thus improving the slew rate.
Consequently, since the waveform 33 of the second output terminal 26 is shifted in the direction of an arrow, the response speed (or the slew rate) of an output signal as a function of the input waveform 31 becomes faster.
As described above, in an operational amplifier or a comparator, the slew rate of the output signal can be improved without increasing a power consumption in stand-by of a circuit.
The present invention has been particularly shown and described with reference to a preferred embodiment employing the comparator of an N-channel input type. However, even if the comparator of a P-channel input type is used, or even if a signal such as an input waveform 31 of FIG. 3 is used as a first input signal with setting a second input signal of logic "0" level, it will be understood by those skilled in art that the operation and aim achieved by the described preferred embodiment can be performed.