VOLTAGE COMPARATOR CIRCUIT

Abstract: In a voltage comparator circuit, among first and second signal voltages to be compared, the first signal voltage is input to a first input terminal of a differential voltage comparator (113) through a first switched capacitor circuit (120), and the second signal voltage is input to a second input terminal of the differential voltage comparator through a second switched capacitor circuit (130). In the voltage comparator circuit, the first and second switched capacitor circuits (120, 130) are matched with each other.

Description: The present invention relates to a voltage comparator circuit for comparing a signal voltage with a reference voltage. A voltage comparator circuit generally comprises an amplifier having a large gain. The voltage comparator circuit is often used to compare magnitudes of various signal voltages and to change the operation and/or state of the system, device, or circuit in accordance with the comparison result. When an accurate comparison is required, the precision, i.e., the magnitude of the offset voltage of the voltage comparator circuit itself is important. When a voltage comparator circuit is incorporated in an integrated circuit, the magnitude of the offset voltage cannot be generally obtained in advance. More specifically, the offset voltage changes in accordance with the surrounding atmosphere (e.g., the ambient temperature) and/or the time lapse, and this change cannot be predicted. In addition, such an offset voltage often cannot be measured from outside. If such a voltage comparator circuit is used, the comparison determination level has uncertainty corresponding to the offset voltage. Therefore, in design of a voltage comparator circuit, the offset voltage must be suppressed as low as possible. Particularly, when an active element constituting a voltage comparator circuit is a MOSFET, the offset voltage is larger than in a case where the active element comprises a bipolar transistor. In this case, the problem caused by the offset becomes serious. Conventionally, several techniques for compensating the offset of an amplifier are proposed in order to solve the above problem. In these techniques, the offset voltage is charged in a capacitor by utilizing a very high input impedance of a MOSFET, and the offset of the amplifier is compensated using the charged capacitor voltage. For example, Poujois et al. published "A LOW DRIFT FULLY INTEGRATED MOSFET OPERATIONAL AMPLIFIER" (IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. SC-13, NO. 4, pp. 499 - 503, AUGUST 1978). Figs. 1A and 1B are views for explaining the principle of the amplifier by Poujois et al. Fig. 1A shows a voltage comparator circuit having an offset. In Fig. 1A, the offset voltage is extracted from the voltage comparator circuit for the sake of descriptive convenience. In this case, the voltage comparator circuit consists of differential voltage comparator 201 having no offset and voltage source 202 representing the offset voltage (originally included in comparator 201) extracted from comparator 201. Fig. 1A also shows positive phase input terminal 203 to which a voltage to be compared is applied, negative phase input terminal 204 to which a voltage as a comparative reference is applied, output terminals 205 and 206 of comparator 201, and positive phase input terminal 200 of comparator 201. The voltage comparator circuit shown in Fig. 1A has an offset. Therefore, when a voltage higher than reference voltage 204 by the offset voltage 202 or more is applied to input terminal 203, the voltage at output terminal 205 (206) becomes negative (positive) and has a level corresponding to the magnitude of the voltage applied to terminal 203. Inversely, when a voltage lower than reference voltage 204 is applied, the voltage at terminal 205 (206) becomes positive (negative) and has a level corresponding to the magnitude of the voltage applied to terminal 203. In short, an error in voltage comparison corresponding to offset voltage 202 occurs. A circuit shown in Fig. 1B is used in order to compensate for the offset voltage. A voltage comparator circuit shown in Fig. 1B has switches 207 to 214 controlled from outside, and capacitors 215 and 216 to be charged with the offset voltage. In Fig. 1B, the circuit portion within a broken line corresponds to the voltage comparator circuit shown in Fig. 1A. Fig. 1B also shown input terminals 217 and 218 to which a voltage to be compared and a voltage as a comparison reference are applied, and output terminals 219 and 220 at which a signal corresponding to the comparison result is output. Referring to Fig. 1B, initially switches 209 to 212 are closed and switches 207, 208, 213, and 214 are opened. One end of each of switches 209 to 212 is connected to an analog ground potential (to be indicated as V AG ). In this state, a voltage determined by offset voltage 202 appears at output terminals (205, 206) of voltage comparator circuit 201 and is charged in capacitor 215 and 216. Subsequently, switches 209 to 212 are opened and switches 207, 208, 213, and 214 are closed. Then, the voltage at output terminals (205, 206) of voltage comparator 201 takes a value determined by (voltage at input terminal 217) - (offset voltage 202) - (voltage an input terminal 218) . However, since capacities 215 and 216 are already charged with a voltage determined by offset voltage 202, the voltages at terminals 219 and 220 are determined solely by (voltage at terminal 217) - (voltage at terminal 218) , and apparent offset voltage 202 is compensated. Therefore, when the switches are cyclically controlled to repeat these states, even if the offset of comparator 201 fluctuates, the offset is periodically compensated at the switching cycle of the switches, and a highly precise voltage comparison result can be obtained. In this example, the offset is compensated at the output side. Therefore, the circuit must be designed such that the gain of the voltage comparator may not become excessive, thus preventing the output voltage from being saturated by the offset voltage. Voltage comparators using MOSFETs are often operated by a single power source voltage (V DD ). In this case, analog ground potential V AG is generally selected to be V DD /2 in consideration of the dynamic range of the circuit. However, the reference voltage of the voltage comparison is often a voltage ( V AG +Δ V or V AG - ΔV ) which is deviated from potential V AG by ΔV, and in some cases ΔV is externally supplied with reference to the power source of O V as a reference. In this case, voltage ΔV externally supplied is level-shifted to V AG + ΔV or V AG - ΔV in order to generate a reference voltage of the voltage comparator. However, if the circuit for the level shift has an offset, an accurate comparison result cannot be obtained no matter how correct the voltage comparator itself may be. Therefore, an offset compensating operational amplifier is conventionally used as a level shifter. For example, IEEE Journal of Solid-State Circuits, T. Habuka et al. Vol. SC-20, No. 2, April 1985, p. 617 to 622 shows in Fig. 4 on p. 620 a "REFERENCE CONVERTER" for level-shifting ΔV to V AG + ΔV and VAG - ▵V . An output from the "REFERENCE CONVERTER" is compared with a signal "IN" and an accurate comparison result can be obtained. The circuit configuration comprises a switched capacitor voice limiter using switched capacitor amplifiers and an output selector for selecting anyone of the output signals of the switched capacitor circuits. When the switched capacitor amplifiers are used, the voice limiter does not produce output signals symmetrical to a reference value. Further, since a reference voltage generator, i.e. a level shifter must be provided in order to constitute a voltage comparator, and the switched capacitor amplifiers are necessary the size of the entire voltage comparator becomes large. In addition, when the circuit size becomes large, the reliability may be degraded, resulting in disadvantage in terms of economy. As described above, in the conventional voltage comparator circuit, in order to generate a reference voltage of a voltage comparator, a special level shifter must be provided independently of the voltage comparator. It is an object of the present invention to provide a voltage comparator circuit which can enable level comparison at high precision without substantially increasing a circuit size. To solve this object the present invention provides a voltage comparator circuit as described in claim 1, and, as embodiments, especially a window comparator circuit as described in claim 5 and limiter circuits as described in claims 7 and 8. The voltage comparator circuit according to the present invention is characterized in that voltages to be compared are applied to positive and negative phase input terminals of a differential voltage comparator circuit respectively through first and second switched capacitor circuits each comprising switching elements and capacitor circuits. The switching and capacitor elements of the first switched capacitor circuit are matched with those of the second switched capacitor circuit. A first signal voltage is applied directly to the positive phase input terminal of the differential voltage comparator circuit through the first switched capacitor circuit. A voltage obtained by subtracting or adding a second signal voltage from or to a reference voltage is applied to the negative phase input terminal of the voltage comparator circuit through the second switched capacitor circuit. The elements of the first switched capacitor circuit are matched with corresponding ones of the second switched capacitor circuit. Therefore, voltage comparison itself including level shifting is performed accurately despite that level shifting itself can include an error. As a result, according to the present invention, voltage comparison including accurate level shifting can be performed by adding only a simple circuit comprising a switched capacitor to a conventional voltage comparator. A level switched using a special low-offset amplifier need not be provided. With the voltage comparator circuit according to the present invention, voltage comparison relatively free form leakage of the control clock signals of the switches and including accurate level shifting can be achieved. As a result, a high-precision amplitude comparator circuit can be obtained without using a special level shifter, thus resulting in advantages in reliability and economy. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawing, in which: Fig. 1A is an equivalent circuit diagram for explaining a voltage comparator circuit having an offset; Fig. 1B is a view showing a conventional offset compensating voltage comparator; Fig. 2 is a circuit diagram showing an arrangement of a voltage comparator circuit according to a first embodiment of the present invention; Fig. 3A and 3B are waveform charts showing examples of a switch control clock signal of the circuit shown in Fig. 2; Fig. 4 is a circuit diagram showing an arrangement of a voltage comparator circuit according to a second embodiment of the present invention; Fig. 5 is a circuit diagram showing an arrangement of a window comparator according to a third embodiment of the present invention; Fig. 6 shows an arrangement of a differential voltage comparator suitably applied to the circuit shown in Fig. 2 or 4; Fig. 7 is a block diagram showing an arrangement of an example of a conventional instantaneous deviation control circuit (IDC); Figs. 8 and 9 are circuit diagrams showing different arrangements of conventional limiters using switched capacitor circuits; Fig. 10 is a circuit diagram showing an arrangement of a limiter according to the third embodiment of the present invention; and Fig. 11 is a waveform chart of an output of the circuit shown in Fig. 10. Voltage comparator circuits according to the preferred embodiments of the present invention will be described with reference to the accompanying drawings. Fig. 2 is a circuit diagram showing an arrangement of a voltage comparator circuit according to a first embodiment of the present invention. Switches 101 to 108 are opened/closed by control signals to be described later. Switches 102, 104, and 108 are connected to first fixed potential point V AG , and switch 106 is connected to second fixed potential point GND. A reference signal voltage (ΔV) is input from terminal 110, and a signal voltage (V IN ) to be compared with voltage ▵V is input from terminal 109. Capacitor 111 and switches 101 to 104 constitute first switched capacitor circuit 120, and capacitor 112 and switches 105 to 108 constitute second switched capacitor circuit 130. Outputs from first and second switched capacitor circuits 120 and 130 (both outputs are output through switches 103 and 107, respectively) are input to positive phase (non-inverting) and negative phase (inverting) input terminals of differential voltage comparator 113, respectively. Note that the parasitic capacitances of capacitors 111 and 112 are indicated as capacitors 115 and 116, respectively. The operation of the circuit shown in Fig. 2 will be described. Initially, switches 101, 103, 105, and 107 (to be referred to as "first switch group") are turned off, and switches 102, 104, 106, and 108 (to be referred to as "second switch group") are turned on. Subsequently, the first switch group is turned on, and second switch group is turned off (second state). The first and second states are alternately repeated. More specifically, switches 101 to 108 comprise MOSFETs. The gates of the MOSFETs of the first and second switch groups may be driven by two types of cyclic complementary control clock signals which do not overlap each other. For example, the gates of the MOSFETs of the first switch group are driven by signal 1 shown in Fig. 3A, and the gates of the MOSFETs of the second switch group are driven by signal 2 shown in Fig. 3B. In the first state, capacitor 111 is not charged. Thus, if comparator 113 comprises, e.g., a MOSFET and its input impedance is very large, signal voltage V IN to be compared is applied directly to its positive phase input terminal. Meanwhile, since signal voltage ΔV as a reference is connected to the negative phase input terminal of comparator 113 through capacitor 112 which is already charged with voltage V AG in the first state, a voltage (V AG + ΔV) is applied to the negative phase input terminal of comparator 113. Then, a voltage (V AG + ΔV) obtained by level-shifting ΔV and voltage V IN are compared by comparator 113, and in this state (the periods indicated by hatched regions in Figs. 3A and 3b) a voltage corresponding to the level relationship between the two voltages is output at output terminal 114 of comparator 113. Namely, level shifting from ΔV to (V AG + ΔV) is performed at the time of voltage comparison. This voltage comparator circuit enables the level shifting function without using a complex level shifter. Such a comparator is quite effective when fabricated in an LSI. A practical capacitor or switch has parasitic capacitances. The influence of such parasitic capacitances will be discussed. In the first embodiment shown in Fig. 2, an electrode of capacitor 111 which is connected to switches 101 and 102, and an electrode of capacitor 112 which is connected to switches 105 and 106 are always connected to a low impedance point, i.e., a signal voltage or fixed potential point regardless of the states of the switches. Thus, the parasitic capacitance of the above-described electrodes of capacitors 111 and 112 do not influence the operation of the entire circuit. However, electrodes of capacitors 111 and 112 which are opposite to the electrodes described above (electrodes connected to switches 103 and 104; and 107 and 108) are connected to a high-impedance input terminal of the amplitude comparator depending on the states of the switches, and the circuit is substantially opened. As a result, the parasitic capacitances of these electrodes cannot be neglected and influence the operation of the circuit. In Fig. 2, these parasitic capacitances are indicated as capacitors 115 and 116. When parasitic capacitor 115 is present, assuming that the capacitances of capacitors 111 and 115 are denoted as C1 and C3, signal voltage V IN is divided by capacitances C1 and C3, and the voltage applied to the positive phase input terminal of comparator 113 is {C1/(C1 + C3) }·V IN and is decreased from inititial signal voltage V IN . At the same time, when parasitic capacitor 116 is present, assuming that the electrostatic capacities of capacitors 112 and 116 are denoted as C2 and C4, respectively, the voltage applied to the negative phase input terminal of comparator 113 is {C2/(C2 + C4)}·(V AG + ΔV) and voltage (V AG + ΔV) is decreased in accordance with the voltage dividing ratio of C2 and C4. Thus, voltage ΔV is not level-shifted correctly. However, in the voltage comparator circuit having the arrangement shown in Fig. 2 according to the first embodiment of the present invention, since first and second switched capacitor circuits 120 and 130 comprise matched elements, it is estimated that C1 = C2 and C3 = C4. Accordingly, the input voltage to the positive phase input terminal of comparator 113 is {C1/(C1 + C3)}· V IN and the input voltage to its negative phase input terminal is {C1/(C1 + C3)}·(V AG + ΔV) Both inputs are divided similarly and are thus decreased. As a result, voltage comparison itself including level shifting is performed accurately. However, when the parasitic capacitances become large, a decrease in signal caused by voltage division is increased. Therefore, although the accuracy of voltage comparison is maintained, the response time of the voltage comparison becomes prolonged (the response time of the voltage comparison is related to the gain of comparator 113). For this reason, it is preferable to sufficiently increase the electrostatic capacitances of capacitors 111 and 112 as required in comparison to those of parasitic capacitors 115 and 116. A voltage comparator circuit according to a second embodiment of the present invention will be described with reference to Fig. 4. In the second embodiment, only the switching combination of switches 401 to 408 is different from that of switches 101 to 108 of the first embodiment shown in Fig. 2. Except that, the second embodiment is substantially the same as the first embodiment. The portions in Fig. 4 which are similar to those shown in Fig. 2 are denoted by the same reference numerals. Initially, a first state is set. More specifically, a switch group consisting of switching 401, 403, 406, and 407 (referred to as "a first switch group" in this embodiment and driven by clock signal 1) is turned off and a switch group consisting of switching elements 402, 404, 405, and 408 (referred to as "a second switch group" in this embodiment and driven by clock signal 2) is turned on. Subsequently, a second state is set wherein the first and second switch groups are turned on and off, respectively. The first and second states are alternately repeated. In this case analog ground potential V AG similar to that of Fig. 2 is set. The operation of first switched capacitor circuit 420 (consisting of capacitors 111 and 115 and switches 401 to 404) is similar to that of circuit 120 shown in Fig. 2. At first, when the switches are set at the first state, capacitor 112 of second switched capacitor circuit 430 (consisting of capacitors 112 and 116 and switches 405 to 408) is connected between ΔV and potential point V AG . Thus, capacitor 112 is charged with a voltage (V AG - ΔV) by the switch 408 side as its positive side. Then, the states of the first and second switch groups are reversed and the second state is set. Capacitor 112 is then connected between zero potential point GND and the negative phase input terminal of comparator 113. Since capacitor 112 is already charged with the voltage (V AG - ΔV) , this voltage is applied directly to the negative phase input terminal of comparator 113. Voltage V IN is applied to the positive phase input terminal of comparator 113 in the same manner as in Fig. 2. In fine, in this state (corresponding to the period indicated by hatched portions in Figs. 3A and 3B), a voltage corresponding to the level relationship between V IN and (V AG - ΔV) appears at output terminal 114 of comparator 113. In other words, level shifting from ΔV to (V AG - ΔV) is performed simultaneously with amplitude comparison. Neither parasitic capacitor 115 nor 116 affects the results of the amplitude comparison similarly to the first embodiment shown in Fig. 2. Fig. 5 shows the arrangement of a window comparator according to a third embodiment of the present invention. The window comparator comprises first voltage comparator circuit 501 having an arrangement similar to that shown in Fig. 2, second voltage comparator circuit 502 having an arrangement similar to that shown in Fig. 4 and obtained by modifying the input terminal of comparator 113 shown in Fig. 4, OR gate 503, and latch circuit 504. Fig. 5 also shows a latch control input terminal 505 of latch circuit 504, and output terminal 506 of latch circuit 504. An output from first comparator circuit 501 is "H" when V IN > (V AG + ΔV) during the ON period of the first switch group operated by clock signal 1. An output from second comparator circuit 502 is "H" when V IN < (V AG - ΔV) during the ON period of the first switch group operated by clock signal 1. Thus, in this case, an output from OR gate 503 is "H" when V IN > V AG + ΔV or V IN < V AG - ΔV . However, sin output level of comparator circuits 501 and 502 is unstable during the OFF period of the first switch group, latch circuit 504 is connected to the output of OR gate 503. More specifically, a signal to cause a latch operation is supplied to latch control input terminal 505 of latch circuit 504, and the output or OR gate 503 during a period indicated by the hatched portions in Figs. 3A and 3B is latched by latch circuit 504. As a result, a correct comparsion result can always be obtained at output terminal 506 of latch circuit 504. Referring to the arrangements of Figs. 2 and 4, when comparator 113 has an offset, an error corresponding to the offset naturally occurs. Therefore, an offset compensating voltage comparator as shown in Fig. 1B is preferably used in this case. Fig. 6 is a circuit diagram showing a practical arrangement of an offset compensating voltage comparator suitably used as comparator 113 shown in Figs. 2 and 4. The circuit shown in Fig. 6 has a differential input type voltage comparators 601 to 603, capacitors 604 to 607 (for offset compensation), and switching elements 608 to 613. In this circuit, a comparison result of voltages input from positive and negative phase input terminals 614 and 615 is output from output terminal 616. The differential voltage comparator shown in Fig. 6 comprises two voltage comparators (consisting of comparators 601 and 602 and capacitors 604 to 607) whose offset compensation operations are performed at their output sides, and voltage comparator 603 to which no offset compensation is performed. Even if comparator 603 has an offset, when the gains of the two comparators are large, the final entire offset (voltage) is (offset of comparator 603)/(gain of the two comparators 601 and 602) and can be sufficiently decreased. Although two input comparators for offset compensation are provided in Fig. 6, at least one comparator can be provided as required. When a comparator having the above arrangement is used in the circuit shown in Fig. 2 or 4, switching elements 608 to 613 may be turned on/off in the same manner as in the second switch group in Fig. 2 or 4, so that a correct voltage comparison result can be obtained at output terminal 616 during a period wherein the first and second switch groups are ON and OFF, respectively. In the arrangement shown in Fig. 2 or 4, if MOSFETs are used as the switches, control clock signals for the switches are undesirably leaked through the parasitic capacitors of the gate electrodes. However, in the circuit of the present invention, the switching elements at the input side are matched and are driven by the same control clock signal. Therefore, the signals leaked through the parasitic capacitors of the gate electrodes are canceled with each other by the common mode rejection function of the differential voltage comparator and will not influence the output of the differential voltage comparator. This is one of the advantages of the circuit of the present invention. A voice limiter according to a fourth embodiment of the present invention, to which the arrangement of the main part of the window comparator shown in Fig. 5 according to the third embodiment of the present invention is applied, will be described with reference to the accompanying drawings. At the technical background of voice limiters will be briefly described below. At present, in the mobile radio communication regulated by the radio law of Japan, the frequency deviation of a transmission signal is limited within a range of, e.g., ± 5 kHz so that, when a high-level (i.e., large amplitude) modulation signal is input, the sideband is prevented from spreading to interfere with an adjacent radio channel. For this purpose, in PM (Phase Modulation), for example, not only the level of the modulation signal must be limited but also, particularly, a high-frequency signal component must be suppressed to a low level as much as possible since the magnitude of the frequency deviation can be proporational not only to the level of the modulation signal but also to its frequency. In order to achieve this, an instantaneous deviation control (IDC) circuit (to be referred to as an "IDC circuit" hereinafter) is conventionally used. The principle of the IDC circuit will be briefly described with reference to Fig. 7. An original input modulation signal is first differentiated by differentiator 901 to emphasize its high-frequency component, and its voltage amplitude is clipped to a level under a predetermined value by limiter 902. The waveform clipped by limiter 902 includes a high-frequency component due to the clipping. Low-pass filter 903 called a splatter filter is connected to the output of limiter 902 in order to remove the high-frequency component. The signal from which the high-frequency component is removed by filter 903 is passed through integrator 904 having frequency characteristics opposite to differentiator 901. As a result, a signal having an amplitude lower than a predetermined value and a high frequency component can be obtained. Thus obtained signal is to be modulated. A voice signal processor using such an IDC circuit conventionally comprises a hybrid circuit. Therefore, a large number of circuit components and adjustments are required. However, when a mobile communication system using such a circuit is to be made small and at low cost, naturally the number of components must be largely decreased and the circuit arrangement must be simplified. In the case of a wireless mobile communication system, power consumption must also be decreased. A MOS-LSI voice signal processor is almost realized by the development in the switched capacitor technique. Such a voice signal processor not only satisfies the above requirements but also achieves a high-precision, high-stability communication system. An example of a conventional voice limiter used as limiter 902 in the MOS-LSI voice signal processor will be described. Fig. 8 schematically shows an arrangement of a voice limiter shown in IEEE Journal of Solid-State Circuits, T. Habuka et al. Vol. SC-20, No. 2, April 1985, pp. 619 - 620 mentioned earlier. Reference voltage Vr with reference to ground voltage GND is converted into upper and lower limit voltages V H and V L by level shifter 1002. Voltages V H and V L and input signal Ei from input terminal 1001 are input to comparator/switch controller 1003 comprising a comparator and a switch control logic circuit. Comparator/switch controller 1003 supplies a control signal (clock) to selector 1004 in accordance with the comparison result of the three signals. Selector 1004 consists of switches S1 to S12 and capacitors C1 to C3. A first switch group (switches S1, S4, S5, S8, S9, and S12) and a second switch group (switches S2, S3, S6, S7, S10, and S11) are driven by complementary clock signals which are not enabled simultaneously. (1) When input signal Ei is larger than voltage V H , switches S2, S3, S10, and S11 are turned off and switches S6 and S7 are turned on, and capacitor C2 is discharged. (2) When input signal Ei is smaller than voltage VL, switches S2, S3, S6, and S7 are turned off and switches S10 and S11 are turned on, and capacitor C3 is discharged. (3) When input signal Ei has a value between voltages V H and V L , switches S6, S7, S10, and S11 are turned off and switches S2 and S3 are turned on, and capacitor C1 is discharged. As a result, a voltage higher than voltage V H or lower than voltage V L is not supplied to operational amplifier OP at an input stage of next low-pass filter 1005. Fig. 9 schematically shows an arrangement of a limiter shown in Oki Denki Kenkyu Kaihatsu Dai-127 go, Vol. 52, No. 3, page 77 - 82. A control signal (clock) is supplied from comparator/switch controller 1003 to turn on switch S1 when input signal Ei has a value between upper and lower limit voltages V H and V L , and to turn off switch S1 otherwise. When switch S1 is ON, signal Ei appears directly at the output of operational amplifier OP1; when OFF, a voltage immediately before an input signal exceeds or is less than the upper or lower limit voltage, respectively, is held in capacitor C1, buffered and extracted by amplifier OP1. Therefore, a voltage higher or lower than the upper or lower limit voltage is not input to low-pass filter 1101. However, the circuits shown in Figs. 8 and 9 require a voltage source having upper and lower limit voltages V H and V L with reference to a reference potential. For this purpose, in Fig. 8, voltages V H and V L are generated by reference voltage Vr with reference to a ground potential and input to selector 1004, and the capacitors are discharged in accordance with the comparison result of comparator/switch controller 1003. In this method, level shifter 1002 is required to generate voltages V H and V L to be input to selector 1004. The operational amplifier in level shifter 1002 increases the entire circuit size and power consumption. with reference to Fig. 9, level shifter 1002 is required to input voltages in comparator/switch controller 1003, and operational amplifier OP1 is also required to buffer the voltage held by capacitor C1 when switch S1 is turned off. The voice limiter according to the fourth embodiment of the present invention has the arrangement shown in Fig. 10. Since the voice limiter adopts the window comparator shown in Fig. 5, its arrangement can be simplified. The hatched portion of comparator/switch controller 703 shown in Fig. 10 is constituted by a circuit obtained by applying the circuit shown in Fig. 6 to the circuit portion of Fig. 5 encircled by the broken line. Signal source Ei changes its voltages with reference to circuit reference potential V B . A switch group ((S1, S3) (S5, S7) (S10, S11)) and a switch group (S2, S4, S6, S8, S9, and S12) are driven by complementary clock signals which are turned on/off such that they are not ON simultaneously. Electrodes of switches S2, S4, S8, and S12 that are not connected to corresponding capacitors and a positive phase input terminal of input stage operational amplifier OP of next low-pass filter LP are connected to reference potential V B , and electrodes of switches S6 and S10 that are not connected to corresponding capacitors are connected to ground potential GND. Comparator/switch controller 703 operates the switch as follows depending on signal Ei and reference voltage Vr with reference to ground potential GND. When the voltage level of signal source Ei is higher than the upper limit voltage level, switches S3 and S11 are held OFF during a period in which they must be ON. When the voltage level of source Ei is lower than the lower limit voltage level, switches S3 and S7 are held OFF during a period in which they must be ON. When the voltage of input signal Ei is between the upper and lower limit voltages, switches S7 and S11 are held OFF during a period in which they must be ON. (1) When signal Ei exceeds the upper limit voltage, only a switched capacitor circuit consisting of switches S5, S6, S7, and S8 and capacitor C2 can transfer charge to operational amplifier OP. In this case, the electrode of switch S6 not connected to a corresponding capacitor is connected to ground potential GND. Therefore, while switches S6 and S8 are ON, charge Q C2 = -C2V B is accumulated in capacitor C2. Subsequently, when switches S5 and S7 are turned on, charge Q C2 ' = -C2(V B - Vr) is supplied to capacitor C2. The charge ΔQ C2 = Q C2 ' - Q C2 = C2Vr namely, charge corresponding to the upper limit voltage is supplied to operational amplifier OP. (2) When signal Ei is lower than the lower limit voltage, only the switched capacitor circuit consisting of switches S9, S10, S11, and S12 and capacitor C3 can transfer charge to operational amplifier OP. While switches S9 and S12 are ON, charge Q C3 = -C3(V B - Vr) is accumulated in capacitor C3. Subsequently, when switches S10 and S11 are turned on, charge Q C3 ' = -C3V B is accumulated in capacitor C3. A difference between charges ΔQ C3 = Q C3 ' - Q C3 = -C3Vr namely, charges corresponding to the lower limit voltage are transferred to operational amplifier OP. (3) When signal Ei has a value between the upper and lower limit voltages, only the switched capacitor circuit consisting of switches S1, S2, S3, and S4 and capacitor C1 can transfer charge to operational amplifier OP. While switches S2 and S4 are ON, charge Q C1 = 0 is accumulated in capacitor C1. Subsequently, when switches S1 and S3 are turned on, charge Q C1 ' = C1Ei is accumulated in capacitor C1. The difference in the charges ΔQ C1 = Q C1 ' - Q C1 = C1Ei namely, charges corresponding to input signal Ei are transferred to amplifier OP. As described above, the electrodes of switches S6 and S10, and S8 and S12 that are not connected to the corresponding capacitors are connected to ground potential GND and reference potential V B , respectively. As a result, charges corresponding to the upper and lower limit voltages with reference to reference voltage VB can be transferred to operational amplifier OP from reference voltage source Vr with reference to ground potential GND by using a simple conventional switched capacitor circuit without using a special circuit. In addition, since each of these switched capacitor circuits described above also serves as an input switched capacitor circuit for next low-pass filter 702, no additional buffer operational amplifier is needed. In Fig. 10, the switched capacitor circuit consisting of switches S9, S10, S11, and S12 can be omitted, and the function of two switched capacitor circuits may be obtained only the switched capacitor circuits consisting of switches S5, S6, S7, and S8 and capacitor C2. In this case, selection can be made so that switches of the switch group (S5 and S8), or switches of the switch group (S6 and S7) may be complementarily turned on/off as required. As described above, the two terminals of the switched capacitor circuit that must conventionally be connected to a reference potential in the circuit are connected to ground potential GND and reference potential V B , respectively. Then, when charge corresponding to the difference between reference potential VB and ground potential GND is left in the switched capacitor circuit which must conventionally be completely discharged, as reference voltage with reference to the ground potential can be converted into upper and lower limit voltages with reference to the reference potential in the circuit without using any special circuit. For example, in the conventional limiter shown in Fig. 8, in the switched capacitor circuit consisting of switches S5, S6, S7, and S8 and capacitor C2, one end of each of switches S6 and S8 is connected to reference potential V B of the circuit. Switches S5 and S8 and switches S6 and S7 are turned on/off by complementary clock signals. The positive phase input terminal of operational amplifier OP is connected to reference potential V B in the circuit, and its negative phase input terminal is connected to capacitor C2 through switch S7. Therefore, while switches S5 and S8 are ON and switches S6 and S7 are OFF, charge corresponding to (V H - V B )C2 is accumulated in capacitor C2. Subsequently, when switches S5 and S8 are turned off and switches S6 and S7 are turned on, the positive phase input terminal of amplifier OP is connected to potential V B , and thus all the charge in capacitor C2 is transferred. Therefore, upper limit voltage V H must be level-shifted by some means to Vr + V B . Then, the charge corresponding to the net VrC2 is input to next filter 1005. In contrast to this, in the switched capacitor circuit of Fig. 10 consisting of switches S5, S6, S7, and S8 and capacitor C2, one end of switch S6 is connected to a ground potential, and one end of switch S8 is connected to reference potential V B of the circuit. The arrangement of Fig. 10 is different from that of Fig. 8 in these respects. Therefore, in the switched capacitor circuit shown in Fig. 10, while switches S5 and S8 are ON and switches S6 and S7 are OFF, capacitor C2 accumulates the charge corresponding to (V B - Vr)C2 . Subsequently, when switches S5 and S8 are turned off and switches S6 and S7 are turned on, capacitor C2 is not completely discharged since the positive phase input of operational amplifier OP is connected phase input of operational amplifier OP is corresponding to the net VrC2 is discharged and input to next filter 702. Therefore, the charge corresponding to the net VrC2 need not particularly be level-shifted and can be input to filter 702 at a required level (Vr in this case). As described above, in the limiter shown in Fig. 10, partly because of the arrangement of the voltage comparator circuit (included in the hatched portion in Fig. 10), the upper and lower limit voltages need not be separately set at all, and no additional buffer operational amplifier is needed. As a result, both the circuit size and power consumption are decreased, thus resulting in economical advantages.

Claims: A voltage comparator circuit for comparing two signal voltages (V IN , ΔV), comprising: a first switched capacitor circuit (120; 420) for receiving a first signal voltage (V IN ), said first switched capacitor circuit (120; 420) having a first switching element (101; 401) connected between an input terminal for said first signal voltage (V IN ) and one terminal of a first capacitor (111), a second switching element (102; 402) connected between said one terminal of the first capacitor (111) and a first fixed potential point (V AG ), a third switching element (103; 403) connected between an output terminal of said first switched capacitor circuit and the other terminal of said first capacitor (111), and a fourth switching element (104; 404) connected between the other terminal of said first capacitor (111) and said first fixed potential point (V AG ); a second switched capacitor circuit (130; 430) for receiving a second signal voltage (ΔV), said second switched capacitor circuit (130; 430) having a fifth switching element (105; 405) connected between an input terminal for said second signal voltage (ΔV) and one terminal of a second capacitor (112), a sixth switching element (106; 406) connected between said one terminal of said second capacitor (112) and a second fixed potential point (GND), a seventh switching element (107; 407) connected between an output terminal of said switched capacitor circuit (130; 430) and the other terminal of said second capacitor (112), and an eighth switching element (108; 408) connected between the other terminal of said second capacitor (112) and said first fixed potential point (V AG ), the switching and capacitor elements of said second switched capacitor circuit (130; 430) matching with those of said first switched capacitor circuit (120; 420); and a differential voltage comparator (113) having first and second input terminals for respectively receiving outputs from said first and second switched capacitor circuits (120, 130; 420, 430). A circuit according to claim 1, wherein said differential voltage comparator (113) is a sampled data differential input voltage comparator for performing offset compensation at a voltage held by a capacitor (604-607) connected to an output of said differential voltage comparator (601-603). A circuit according to claim 1, wherein said first, third, fifth, and seventh switching elements (101, 103, 105, 107) are driven by a first control clock signal, and said second, fourth, sixth, and eighth switching elements (102, 104, 106, 108) are turned on/off by a second control clock signal which is complementary with said first control clock signal and is not enabled simultaneously therewith. A circuit according to claim 1, wherein said first, third, sixth, and seventh switching elements (401, 403, 406, 407) are driven by a first control clock signal, and said second, fourth, fifth, and eighth switching elements (402, 404, 405, 408) are turned on/off by a second control clock signal which is complementary with said first control clock signal and is not enabled simultaneously therewith. A window comparator circuit comprising: a first voltage comparator circuit (501) for comparing two signal voltages (V IN , ΔV), comprising a first switched capacitor circuit for receiving a first signal voltage (V IN ), said first switched capacitor circuit having a first switching element connected between an input terminal for said first signal voltage (V IN ) and one terminal of a first capacitor, a second switching element connected between said one terminal of said first capacitor and a first fixed potential point (V AG ), a third switching element connected between an output terminal of said first switched capacitor circuit and the other terminal of said first capacitor, and a fourth switching element connected between said other terminal of said first capacitor and said first fixed potential point (V AG ), a second switched capacitor circuit for receiving a second signal voltage (ΔV), said second switched capacitor circuit having a fifth switching element connected between an input terminal for said second signal voltage (ΔV) and one terminal of a second capacitor, a sixth switching element connected between said one terminal of said second capacitor and a second fixed potential point (GND), a seventh switching element connected between an output terminal of said second switched capacitor circuit and the other terminal of said second capacitor, and an eighth switching element connected between said other terminal of said second capacitor and said first fixed potential point (V AG ), the switching and capacitor elements of said second switched capacitor circuit matching with those of said first switched capacitor circuit, and a first differential voltage comparator having first and second input terminals for respectively receiving outputs from said first and second switched capacitor circuits, said first, third, fifth, and seventh switching elements being driven by a first control clock signal, and said second, fourth, sixth, and eighth switching elements being turned on/off by a second control clock signal which is complementary with said first control clock signal and is not enabled simultaneously therewith; a second voltage comparator circuit (502) for comparing said two signal voltages (V IN , ΔV) comprising a third switched capacitor circuit for receiving said first signal voltage (V IN ), said third switched capacitor circuit having a ninth switching element connected between said input terminal for said first signal voltage (V IN ) and one terminal of a third capacitor, a tenth switching element connected between said one terminal of said third capacitor and said first fixed potential point (V AG ), an eleventh switching element connected between an output terminal of said third switched capacitor circuit and the other terminal of said third capacitor, and a twelfth switching element connected between said other terminal of said third capacitor and said first fixed potential point (V AG ), a fourth switched capacitor circuit for receiving said second signal voltage (ΔV), said fourth switched capacitor circuit having a thirteenth switching element connected between an input terminal for said second signal voltage (ΔV) and one terminal of a fourth capacitor, a fourteenth switching element connected between said one terminal of said fourth capacitor and said second fixed potential point (GND), a fifteenth switching element connected between an output terminal of said fourth switched capacitor circuit and the other terminal of said fourth capacitor, and a sixteenth switching element connected between said other terminal of said fourth capacitor and said first fixed potential point (V AG ), the switching and capacitor elements of said fourth switched capacitor circuit matching with those of said third switched capacitor circuit, and a second differential voltage comparator having first and second input terminals for respectively receiving outputs from said fourth and third switched capacitor circuits, said ninth, eleventh, fourteenth, and fifteenth switching elements being driven by said first control clock signal, and said tenth, twelfth, thirteenth, and sixteenth switching elements being turned on/off by said second control clock signal; and an OR circuit (503) for ORing outputs from said first and second voltage comparator circuits. A circuit according to claim 5, wherein said first and second differential voltage comparators are respectively sampled data differential input voltage comparators for performing offset compensation with a voltage held by a capacitor connected to its output side. A limiter circuit, comprising: a first voltage comparator circuit (501) for comparing two signal voltages (V IN , ΔV), comprising a first switched capacitor circuit for receiving a first signal voltage (V IN ), said first switched capacitor circuit having a first switching element connected between an input terminal for said first signal voltage (V IN ) and one terminal of a first capacitor, a second switching element connected between said one terminal of said first capacitor and a first fixed potential point (V AG ), a third switching element connected between an output terminal of said first switched capacitor circuit and the other terminal of said first capacitor, and a fourth switching element connected between said other terminal of said first capacitor and said first fixed potential point (V AG ), a second switched capacitor circuit for receiving a second signal voltage (ΔV), said second switched capacitor circuit having a fifth switching element connected between an input terminal for said second signal voltage (ΔV) and one terminal of a second capacitor, a sixth switching element connected between said one terminal of said second capacitor and a second fixed potential point (GND), a seventh switching element connected between an output terminal of said second switched capacitor circuit and the other terminal of said second capacitor, and an eighth switching element connected between the other terminal of said second capacitor and said first fixed potential point (V AG ), the switching and capacitor elements of said second switched capacitor circuit matching with those of said first switched capacitor circuit, and a first differential voltage comparator having first and second input terminals for respectively receiving outputs from said first and second switched capacitor circuits, said first, third, fifth, and seventh switching elements being driven by a first control clock signal, and said second, fourth, sixth, and eighth switching elements being turned on/off by a second control clock signal which is complementary with said first control clock signal and is not enabled simultaneously therewith; a second voltage comparator circuit (502) for comparing said two signal voltages (V IN , ΔV), comprising a third switched capacitor circuit for receiving said first signal voltage (V IN ), said third switched capacitor circuit having a ninth switching element connected between said input terminal for said first signal voltage (V IN ) and one terminal of a third capacitor, a tenth switching element connected between said one terminal of said third capacitor and said first fixed potential point (V AG ), an eleventh switching element connected between an output terminal of said third switched capacitor circuit and the other terminal of said third capacitor, and a twelfth switching element connected between said other terminal of said third capacitor and said first fixed potential point (V AG ), a fourth switched capacitor circuit for receiving said second signal voltage (ΔV), said fourth switched capacitor circuit having a thirteenth switching element connected between an input terminal for said second signal voltage (ΔV) and one terminal of a fourth capacitor, a fourteenth switching element connected between said one terminal of said fourth capacitor and said second fixed potential point (GND), a fifteenth switching element connected between an output terminal of said fourth switched capacitor circuit and the other terminal of said fourth capacitor, and a sixteenth switching element connected between said other terminal of said fourth capacitor and said first fixed potential point (V AG ), the switching and capacitor elements of said fourth switched capacitor circuit matching with those of said third switched capacitor circuit, and a second differential voltage comparator having first and second input terminals for respectively receiving outputs from said fourth and third switched capacitor circuits, said ninth, eleventh, fourteenth, and fifteenth switching elements being driven by said first control clock signal, and said tenth, twelfth, thirteenth, and sixteenth switching elements being turned on/off by said second control clock signal; and a selector (703, 701), responsive to outputs from said first and second differential voltage comparators of said first and second voltage comparator circuits (501, 502), for selectively outputting any one of said first signal voltage (V IN ), a voltage higher than that of said first fixed potential point (V AG ) by said second signal voltage (ΔV), and a voltage lower than that of said first fixed potential point (V AG ) by said second signal voltage (ΔV). A limiter circuit comprising: a first switched capacitor circuit (S1 to S4, C1) for receiving a first signal voltage (Ei), said first switched capacitor circuit (S1 to S4, C1) having a first switching element (S1) connected between an input terminal for said first signal voltage and one terminal of a first capacitor (C1), a second switching element (S2) connected between said one terminal of said first capacitor (C1) and a first fixed potential point (VB), a third switching element (S3) connected between an output terminal and the other terminal of said first capacitor (C1), and a fourth switching element (S4) connected between said other terminal of said first capacitor (C1) and said first fixed potential point (VB); a second switched capacitor circuit (S5 to S8, C2) for receiving a second signal voltage (Vr), said second switched capacitor circuit (S5 to S8, C2) having a fifth switching element (S5) connected between an input terminal for said second signal voltage (Vr) and one terminal of a second capacitor (C2), a sixth switching element (S6) connected between said one terminal of said second capacitor (C2) and a second fixed potential point (GND), a seventh switching element (S7) connected between said output terminal and the other terminal of said second capacitor (C2), and an eighth switching element (S8) connected between said other terminal of said second capacitor (C2) and said first fixed potential point (VB), the switching and capacitor elements of said second switched capacitor circuit (S5 to S8, C2) matching with those of said first switched capacitor circuit (S1 to S4, C1); a third switched capacitor circuit (S9 to S12, C3) for receiving said second signal voltage (Vr), said third switched capacitor circuit (S9 to S12, C3) having a ninth switching element (S9) connected between said input terminal for said second signal voltage (Vr) and one terminal of a third capacitor (C3), a tenth switching element (S10) connected between said one terminal of said third capacitor (C3) and said second fixed potential point (GND), an eleventh switching element (S11) connected between said output terminal and the other terminal of said third capacitor (C3), and a twelfth switching element (S12) connected between said other terminal of said third capacitor (C3) and said first fixed potential point (VB), the switching and capacitor elements of said third switched capacitor circuit (S9 to S12, C3) matching with those of said first switched capacitor circuit (S1 to S4, C1); and a window comparator (703) according to claim 5 but dispensing with the OR circuit (503), for discriminating a correspondence between said first signal voltage (Ei) and any one of a first state in which said first signal voltage (Ei) is higher than an upper limit voltage obtained by adding said second signal voltage (Vr) to the potential of said first fixed potential point (VB), a second state in which said first signal voltage (Ei) is lower than a lower limit voltage obtained by subtracting the second signal voltage (Vr) from the potential of said first fixed potential point (VB), and a third state in which said first signal voltage falls within a range between said upper and lower limit voltages, and a switch controller for turning on/off, in a complementary manner, a first switch group including the first, third, fifth, seventh, tenth, and eleventh switching elements (S1, S3, S5, S7, S10, S11) and a second switch group including the second, fourth, sixth, eighth, ninth, and twelfth switching elements (S2, S4, S6, S8, S9, S12) such that said first and second switch groups are not turned on simultaneously, and are responsive to a discrimination result of said window comparator for turning off said third and eleventh switching elements (S3, S11) when said first state is obtained, turning off said third and seventh switching elements (S3, S7) when said second state is obtained, and turning off said seventh and eleventh switching elements (S7, S11) when said third state is obtained, regardless of on/off control of said first and second switch groups.

Inventors: HAYASHIBARA, MIKIO PATENT DIVISION, TANIMOTO, HIROSHI PATENT DIVISION
Applicants: KABUSHIKI KAISHA TOSHIBA
Application year: 1987
Main classification: G01R19
IPC codes: H03K5, G01R19