Comparator

10812059 ยท 2020-10-20

Assignee

Inventors

Cpc classification

International classification

Abstract

A comparator is disclosed, for comparing a first input voltage with a second input voltage and generating a corresponding output voltage. The comparator includes a follower stage coupled to a first supply rail and a second supply rail, a follower stage input terminal for the second input voltage, and a follower stage output terminal. The comparator also includes an inverter stage comprising a first inverter stage supply terminal coupled to the first supply rail, a second inverter stage supply terminal coupled to the follower stage output terminal, an inverter stage input terminal for the first input voltage, and an inverter stage output terminal for providing an inverter stage output voltage having a first range. A signal conditioning means is coupled to the inverter stage output terminal and generates a comparator output voltage at a comparator output terminal having a second range larger than the first range.

Claims

1. A comparator for comparing a first input voltage with a second input voltage and generating a corresponding output voltage, the comparator comprising: a first input terminal for receiving the first input voltage; a second input terminal for receiving the second input voltage; an output terminal for outputting the output voltage; a first supply rail for providing a first supply voltage; a second supply rail for providing a second supply voltage, the comparator further comprising: a follower stage comprising: a first follower stage supply terminal coupled to the first supply rail; a second follower stage supply terminal coupled to the second supply; a follower stage input terminal coupled to the second input terminal; and a follower stage output terminal for providing a follower stage output voltage; an inverter stage comprising: a first inverter stage supply terminal coupled to the first supply rail; a second inverter stage supply terminal coupled to the follower stage output terminal; an inverter stage input terminal coupled to the first input terminal; and an inverter stage output terminal for providing an inverter stage output voltage and coupled to the output terminal; signal conditioning means coupled between the inverter stage output terminal and the comparator output terminal, a controllable switching device arranged to couple the first follower stage supply terminal to the first supply rail, the switching device being controllable to switch between: first state, in which the switching device electrically connects the first follower supply terminal to the first supply rail; and a second state, in which the switching device electrically disconnects the first follower supply terminal from the first supply rail; control means arranged to control the controllable witching device; and filtering means arranged between the inverter stage output terminal and the comparator output terminal to filter at least one frequency component from the output voltage, wherein the control means includes an oscillator having an output arranged to control the switching device to alternate between the first and second states, the oscillator output includes a fundamental frequency, and the filtering means is arranged to filter out at least the fundamental frequency, wherein the inverter stage output voltage has a first range, in use, determined by the voltage applied to the first supply rail and by the follower stage output voltage, and the signal conditioning means is adapted to generate, from the inverter stage output voltage, a comparator output voltage at the comparator output terminal having a second range, where the second range is larger than the first range, wherein said second range extends substantially from a voltage supplied to the first supply rail to a voltage supplied to the second supply rail, wherein the signal conditioning means comprises a further follower stage, an analog to digital converter, and an inverter connected in series between the inverter stage output terminal and the comparator output terminal, and wherein the inverter stage comprises an enhancement mode field effect transistor (FET).

2. The comparator in accordance with claim 1, wherein the follower stage comprises tuning means for adjusting the follower stage output voltage as a function of voltage provided to the follower stage input terminal.

3. The comparator in accordance with claim 2, wherein the follower stage tuning means comprises a resistor.

4. The comparator in accordance with claim 1, wherein the inverter stage comprises timing means for adjusting the inverter stage output voltage as a function of voltage provided to the inverter stage input terminal.

5. The comparator in accordance with claim 4, wherein the inverter stage tuning means comprises a resistor.

6. The comparator in accordance with claim 1, wherein the first supply voltage is a positive supply voltage.

7. The comparator in accordance with claim 1, wherein said second supply rail is connected to ground.

8. The comparator in accordance with claim 7, further comprising a voltage converter coupled to the first and second supply rails and to the second follower stage supply terminal and arranged to generate a negative supply voltage and supply said negative supply voltage to the second follower stage supply terminal.

9. The comparator in accordance with claim 1, wherein the second supply voltage is a negative supply voltage.

10. The comparator in accordance with claim 1, wherein the follower stage comprises a transistor.

11. The comparator in accordance with claim 1, wherein the follower stage comprises an enhancement mode field effect transistor, FET.

12. The comparator in accordance with claim 11, wherein said FET has a gate terminal coupled to the follower stage input terminal, a drain terminal coupled to the first follower stage supply terminal, and a source terminal coupled to the follower stage output terminal and to the second follower stage supply terminal.

13. The comparator in accordance with claim 12, wherein the source terminal is coupled to the second follower stage supply terminal by a resistor.

14. The comparator in accordance with claim 1, wherein said inverter stage FET has a gate terminal coupled to the inverter stage input terminal, a drain terminal coupled to the first inverter stage supply terminal and to the inverter stage output terminal, and a source terminal coupled to the follower stage output terminal.

15. The comparator in accordance with claim 14, wherein the inverter stage FET drain terminal is coupled to the first inverter stage supply terminal by a resistor.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Embodiments of the invention are further described hereinafter with reference to the accompanying drawings, in which:

(2) FIG. 1 is a general representation of a comparator;

(3) FIG. 2 shows a comparator embodying the invention;

(4) FIG. 3 illustrates a follower stage which may be used in embodiments of the invention;

(5) FIG. 4 illustrates an inverter stage which may be used in embodiments;

(6) FIG. 5 shows a signal conditioning stage which may be used in embodiments;

(7) FIGS. 6, 7, and 8 show further comparators embodying the invention; and

(8) FIG. 9 shows another comparator embodying the invention.

DETAILED DESCRIPTION

(9) Referring now to the figures, FIG. 2 is a block diagram of a comparator embodying the invention. The comparator 100 is for comparing a first input voltage e+ with a second input voltage e and generating a corresponding output voltage. The comparator 100 comprises: a first input terminal 1 for receiving the first input voltage: a second input terminal 2 for receiving the second input voltage; an output terminal 3 for outputting the output voltage; a first supply rail 4 for providing a first supply voltage (VCC); and a second supply rail 5 for providing a second supply voltage. The comparator further comprises: a follower stage 6 comprising a first follower stage supply terminal 61 coupled to the first supply rail 4, a second follower stage supply terminal 62 coupled to the second supply rail 5, a follower stage input terminal 63 coupled to the second input terminal 2, and a follower stage output terminal 64 for providing a follower stage output voltage; and an inverter stage 7 comprising a first inverter stage supply terminal 71 coupled to the first supply rail 4, a second inverter stage supply terminal 72 coupled to the follower stage output terminal 64, an inverter stage input terminal 73 coupled to the first input terminal 1, and an inverter stage output terminal 74 for providing an inverter stage output voltage and coupled to the output terminal 3. In this embodiment the first input terminal 1 is directly connected to the inverter input terminal 73 and is provided with first input voltage (or signal) (e+), and the second input terminal 2 is directly connected to the follower stage input terminal 63 and is provided with second input signal or voltage (e).

(10) A, indicated as 6 in the figure, is a follower stage with its output (eRef) equal to (e) minus the follower stage transistor threshold voltage (Vth_e). To identify the two Vths of the two transistors (of the follower and inverter stages respectively), we shall call them respectively (Vth_e) and (Vth_e+)

(11) B, indicated as 7 in the figure, is an inverter stage with its reference (i.e. the low supply voltage) being (eRef), so its output (e+Inverter) will be triggered when (e+) is higher than (eRef) plus its own (Vth_e+).

(12) So, B (e+Inverter) is triggered when e+>(eRef)+Vth_e+, where (eRef)=(e+Vth_e

(13) So (e+Inverter) is triggered when e+>((e)+Vth_e)Vth_e+

(14) So (e+Inverter) is triggered when e+>((e)+Vth_e)Vth_e+, and with everything &se being equal, the comparator would trigger when e+>e.

(15) B's output signal (e+Inverter), is only a half digital signal, where its high level is close to VCC, but its low level is proportional to e input, so a signal conditioning and conversion from half digital signal to digital is required in certain embodiments. This signal conditioning and conversion to a full digital signal (e.g. alternating between two supply rail voltages) is provided by the signal conditioning module 8 illustrated in FIG. 2, coupled between the inverter output terminal 74 and the comparator output terminal 3.

(16) FIGS. 3 and 4 illustrate example implementations of follower and inverter stages A and B, where tuning the transistors geometry with respective matching of tuning resistors Re and Re+, labelled 90 and 91 respectively, allows us to increase the comparator accuracy. In other words, the values of the two resistors may be tuned, selected, adjusted, or otherwise arranged to compensate for differences between the threshold voltages of the two enhancement mode FETS 10, 11, such that the resultant comparator output accurately switches in response to e+ exceeding e, and vice versa. This provides a straightforward way of constructing a highly accurate comparator, without requiring very close matching of transistor properties. In the follower stage of FIG. 3, (eRef)=(e+VGS, and within the operating range VGS=Vth, where VGS is the Gate-Source voltage. In the inverter stage of FIG. 4, e+Inverter (i.e. the inverter output voltage) is referenced to (eRef), and within the operating range VGS=Vth when e+=e. Tuning resistor 90 in FIG. 3 is connected between the source of the FET 10 (which is connected to output terminal 64) and the second supply terminal 62 (which is connected to the second supply rail 5). In certain embodiments, resistor 90 has a fixed value. In other embodiments, resistor 90 is a variable resistor. Tuning resistor 91 in FIG. 4 is connected between the drain of the FET 11 (which is connected to output terminal 74) and the first supply terminal 71 (which is connected to the first supply rail 4). In certain embodiments, resistor 91 has a fixed value. In other embodiments, resistor 91 is a variable resistor.

(17) Referring now to FIG. 5, as described above, B's output signal (e+Inverter), is only a half digital signal, where its high level is close to VCC, but its low level is proportional to e input, So a signal conditioning and conversion from half digital signal to digital is required. A follower stage 81 is used in the signal conditioning stage 810, which may also be described as a signal conditioner, or signal conditioning circuit or module, to adapt the impedance to impact as little as possible the comparator front stages. Then we convert the half digital signal into a digital signal using an analog to digital converter 82 (which may also be described as an A/D stage or A/D means), followed by an inverter 83 to have the correct OUTPUT signal phase. The conversion from half digital signal into digital signal may be implemented using traditional sums of subtractions and voltage divisions, the details of which will be apparent to the skilled person and so are not set out in this specification.

(18) FIGS. 6, 7 and 8 illustrate several possible implementations in different embodiments of the invention.

(19) In the comparator of FIG. 6 only GND and +VCC are provided, and we create the negative signal (VDD) using a DC to DC converter 50 (the details of which will be apparent to be skilled person). This a standalone device with better accuracy due to better linearity (as the comparator follower and inverter stages are provided with negative and positive supply voltages). Thus, the DC/DC converter has inputs 51, 52 connected to ground (the second supply rail 5 in this example) and to the first supply rail 4 respectively, and generates supply voltage VDD at an output terminal 53 which is connected to the second follower supply terminal 62. In this embodiment, the second follower supply terminal 62 is thus coupled to the second supply rail via the voltage converter 50, which is itself connected to ground and to the first supply rail.

(20) FIG. 7 illustrates a comparator providing the same accuracy/linearity as the comparator of FIG. 6, but requires provision of an external negative voltage, as this embodiment comprises no internal DC to DC converter able to generate a negative voltage from a positive voltage and ground.

(21) The comparator of FIG. 8 is supplied with only GND and VCC, and does not incorporate a DC to DC converter for generating a negative supply voltage, so exhibits lower accuracy than those of FIGS. 6 and 7 due to decreased linearity. However, for applications where the comparator of FIG. 8 provides sufficient accuracy and/or linearity, it may provide the advantages of greater simplicity/reduced complexity, and reduced cost. Thus, in this example, the second supply rail is a ground rail.

(22) Referring now to FIG. 9, this shows another comparator embodying the invention. This comparator has similar structure to that of the embodiment shown in FIG. 2, but also incorporates some additional features, as follows. Generally, this embodiment has two additional parts, labelled C (an oscillator and switching device) and D (a pass band, or band pass, filter). The goal of this embodiment is to avoid potential Bias Stress effects, from transistors to comparator. Those potential Bias Stress effects are only seen at DC and low frequencies (typically sub 10 Hz). Potential Bias Stress effects, have a detrimental effect on comparator functionality and accuracy. To address this problem, the present embodiment incorporates a controllable switching device 300, connected between the first follower supply terminal 61 and the first supply rail 4, such that the state of the switching device determines whether the supply voltage VCC is being supplied to the first follower supply terminal or not. Thus, the switch 300 (which may take a variety of forms, as will be apparent to the skilled person, is controllable to turn the voltage supply to the first follower supply terminal on an off (such that the voltage at that terminal alternates between VCC and zero volts, for example). The comparator 100 further comprises control means for controlling the switch 300, in this embodiment in the form an oscillator 30, connected to the positive supply rail 4 and to ground GND. The oscillator is arranged to provide a control signal 301 to the switch to control the switch's state. In this example the control signal is a substantially a square wave, and the switching device 300 is responsive to the control signal 301 to alternate (i.e. switch) between a closed state, in which it connects the supply rail 4 to follower terminal 61, and an open state, it which it disconnects the supply rail from follower terminal 61. The oscillator may have a minimum frequency of a few tens of Hz. By incorporating the oscillator in this manner and switching the device 300 on and off, this has the effect of switching ON/OFF the follower output (eRef) of the follower A, 6. This makes sure that, internally, the comparator is always operating in AC (alternating mode), even if inputs e+ and e are DC. As the internal comparator structure is now operating in AC, there is no more Bias Stress effects, from transistors to comparator.

(23) The pass band filter 20 is added at the output of the comparator (in fact, in this example, just before the comparator output terminal 3). The filter 20 is thus connected between the inverter output 74 and the comparator output 3. The embodiment of FIG. 9 comprises module 8, connected between terminals 74 and 3, in series with the filter 20, but may be omitted in certain alternative embodiments. The band pass filter allows the comparator to get rid of the unwanted frequency component, introduced by the oscillator 30 controlling the switching device 300, from the output signal provided to terminal 3. In other words, in certain embodiments to filter is arranged to eliminate frequency components (from the comparator output) corresponding to the switching frequency of the switching device 300.

(24) Throughout the description and claims of this specification, the words comprise and contain and variations of them mean including but not limited to, and they are not intended to (and do not) exclude other moieties, additives, components, integers or steps. Throughout the description and claims of this specification, the singular encompasses the plural unless the context otherwise requires. In particular, where the indefinite article is used, the specification is to be understood as contemplating plurality as well as singularity, unless the context requires otherwise.

(25) Features, integers, characteristics, compounds, chemical moieties or groups described in conjunction with a particular aspect, embodiment or example of the invention are to be understood to be applicable to any other aspect, embodiment or example described herein unless incompatible therewith. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and/or all of the steps of any method or process so disclosed, may be combined in any combination, except combinations where at least some of such features and/or steps are mutually exclusive. The invention is not restricted to the details of any foregoing embodiments. The invention extends to any novel one, or any novel combination, of the features disclosed in this specification (including any accompanying claims, abstract and drawings), or to any novel one, or any novel combination, of the steps of any method or process so disclosed.

(26) The reader's attention is directed to all papers and documents which are filed concurrently with or previous to this specification in connection with this application and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference.