Edge detection circuit

11784637 · 2023-10-10

Assignee

Inventors

Cpc classification

International classification

Abstract

The present disclosure relates to an edge detection circuit configured to receive an input signal comprising one or more falling or falling edges and provide an output signal comprising pulses or spikes corresponding to the one or more rising or falling edges. The edge detection circuit comprises a passive differentiator circuit configured to receive an input and provide a differentiator output signal that that is proportional to the rate of change of the input, and a comparator circuit operably connected to a voltage source. The comparator circuit is configured to receive the differentiator output signal, compare the differentiator output signal to a threshold voltage; and output a pulse or spike signal based on the comparison to the threshold voltage.

Claims

1. An edge detection circuit configured to receive an input signal comprising one or more falling edges and provide an output signal comprising pulses or spikes corresponding to the one or more falling edges, wherein the edge detection circuit comprises: a passive differentiator circuit configured to receive an input and provide a differentiator output signal that that is proportional to the rate of change of the input; and a comparator circuit operably connected to a voltage source, wherein the comparator circuit is configured to: receive the differentiator output signal; compare the differentiator output signal to a threshold voltage; and output a pulse or spike signal when the differentiator output signal is less than the threshold voltage; wherein the edge detection circuit is at least partially monolithically integrated with a Miller clamp and a power transistor; and wherein: the output signal of the edge detection circuit is configured to control the state of the Miller clamp; and the input signal of the edge detection circuit is a gate control signal from a controller or a gate driver.

2. The edge detection circuit of claim 1, wherein the edge detection circuit comprises a voltage reference circuit, and wherein the edge detection circuit is configured to provide a voltage reference output signal as the input to the passive differentiator circuit.

3. The edge detection circuit of claim 2, wherein voltage reference circuit is configured to: receive the input signal; compare the input signal to a set voltage reference; and output the voltage reference output signal based on the input signal, wherein the voltage reference output signal comprises a falling edge only when the input signal comprises a falling edge and the input signal is less than the set voltage reference.

4. The edge detection circuit of claim 3, wherein the voltage reference circuit comprises: a current source operably connected between an input terminal of the voltage reference circuit and an output terminal of the voltage reference circuit; and at least one source-gate connected transistor operably connected between the output terminal of the voltage reference circuit and a ground reference.

5. The edge detection circuit of claim 2, wherein voltage reference circuit is configured to: receive the input signal; compare the input signal to a set voltage reference; and output the voltage reference output signal based on the input signal, wherein the voltage reference output signal comprises a falling edge only when the input signal comprises a falling edge and the input signal is greater than the set voltage reference.

6. The edge detection circuit of claim 5, wherein the voltage reference circuit comprises at least one source-gate connected transistor operably connected in series between an input terminal of the voltage reference circuit and an output terminal of the voltage reference circuit.

7. The edge detection circuit of claim 5, wherein the voltage reference circuit comprises an inverter circuit configured to drive an enhancement mode transistor, the enhancement mode transistor operably connected between the output terminal of the voltage reference circuit and a ground reference.

8. The edge detection circuit of claim 5, wherein the voltage reference circuit comprises: a threshold multiplier operably connected in series between an input terminal of the voltage reference circuit and an output terminal of the voltage reference circuit; and a current source operably connected between the output terminal of the voltage reference circuit and a ground reference.

9. The edge detection circuit of claim 2, wherein a rate of change of the voltage reference output signal is proportional to a rate of change of the input signal.

10. The edge detection circuit of claim 9, wherein the rate of change of the voltage reference output signal and the rate of change of the input signal have the same sign.

11. The edge detection circuit of claim 1, wherein the passive differentiator circuit is configured such that the differentiator output signal has the same sign as the rate of change of the first input.

12. The edge detection circuit of claim 1, wherein the passive differentiator circuit comprises: a capacitor operably connected between an input terminal of the passive differentiator circuit and an output terminal of the passive differentiator circuit; and a resistor operably connected between the output terminal of the passive differentiator circuit and a ground reference.

13. The edge detection circuit of claim 1, wherein the comparator circuit comprises an inverter stage, the inverter stage comprising at least one depletion mode transistor and a pull-up component.

14. An edge detection circuit configured to receive an input signal comprising one or more falling edges and provide an output signal comprising pulses or spikes corresponding to the one or more falling edges, wherein the edge detection circuit comprises: a passive differentiator circuit configured to receive an input and provide a differentiator output signal that that is proportional to the rate of change of the input; a comparator circuit operably connected to a voltage source, wherein the comparator circuit is configured to: receive the differentiator output signal; compare the differentiator output signal to a threshold voltage; and output a pulse or spike signal when the differentiator output signal is less than the threshold voltage; a voltage reference circuit comprising: a current source operably connected between an input terminal of the voltage reference circuit and an output terminal of the voltage reference circuit; and a threshold multiplier operably connected between the output terminal of the voltage reference circuit and a ground reference; wherein the voltage reference circuit is configured to: receive the input signal; compare the input signal to a set voltage reference; and output the voltage reference output signal based on the input signal, wherein the voltage reference output signal comprises a falling edge only when the input signal comprises a falling edge and the input signal is less than the set voltage reference; and wherein the edge detection circuit is configured to provide a voltage reference output signal as the input to the passive differentiator circuit.

15. The edge detection circuit of claim 14, wherein a rate of change of the voltage reference output signal is proportional to a rate of change of the input signal.

16. The edge detection circuit of claim 14, wherein the passive differentiator circuit is configured such that the differentiator output signal has the same sign as the rate of change of the first input.

17. The edge detection circuit of claim 14, wherein the passive differentiator circuit comprises: a capacitor operably connected between an input terminal of the passive differentiator circuit and an output terminal of the passive differentiator circuit; and a resistor operably connected between the output terminal of the passive differentiator circuit and a ground reference.

18. The edge detection circuit of claim 14, wherein the comparator circuit comprises an inverter stage, the inverter stage comprising at least one depletion mode transistor and a pull-up component.

19. An edge detection circuit configured to receive an input signal comprising one or more falling edges and provide an output signal comprising pulses or spikes corresponding to the one or more falling edges, wherein the edge detection circuit comprises: a passive differentiator circuit configured to receive an input and provide a differentiator output signal that that is proportional to the rate of change of the input; and a comparator circuit operably connected to a voltage source, wherein the comparator circuit is configured to: receive the differentiator output signal; compare the differentiator output signal to a threshold voltage; and output a pulse or spike signal when the differentiator output signal is less than the threshold voltage; wherein the threshold voltage is defined by a comparator reference voltage, and wherein the comparator circuit comprises one or more of: a differential amplifier stage configured to receive an input based on a difference between the differentiator output signal and the comparator reference voltage and output a differential amplifier output signal; a transconductance amplifier stage configured to receive the differential amplifier output signal and output a differential current output; and a current subtractor stage configured to receive the differential current output; and wherein comparing the differentiator output signal to a threshold voltage comprises the current subtractor setting the comparator output based on a sign of a current subtraction of two currents of the differential current output.

20. The edge detection circuit of claim 19, wherein one or both of: the differential amplifier stage and transconductance amplifier stage comprise at least one differential pair; and the current subtractor stage comprises at least one current-mirror.

Description

BRIEF DESCRIPTION OF THE EMBODIMENTS

(1) Some embodiments of the disclosure will now be described by way of example only and with reference to the accompanying drawings, in which:

(2) FIGS. 1A and B depict a circuit diagram of an example digital rising edge detection circuit (FIG. 1A) and example signal waveforms (FIG. 1B).

(3) FIGS. 2A and B depict a circuit diagram of an example digital falling edge detection circuit (FIG. 2A) and example signal waveforms (FIG. 2B).

(4) FIGS. 3A and B depict a circuit diagram of an example edge detection circuit comprising an operational amplifier (FIG. 3A) and example input and output signals (FIG. 3B)

(5) FIG. 4 depicts a circuit diagram of an example edge detection circuit comprising an operational amplifier and providing reduced noise detection.

(6) FIG. 5 depicts a block schematic diagram of an edge detection circuit according to an implementation of the present disclosure.

(7) FIGS. 6A, B and C depict a circuit diagram of an example falling edge detection circuit according to an implementation of the present disclosure (FIG. 6A) and example input and output signals (FIGS. 6B and C).

(8) FIGS. 7A and B depict circuit diagrams of example voltage reference circuits according to implementations of the present disclosure.

(9) FIG. 8 depicts a circuit diagram of an edge detection circuit according to an implementation of the present disclosure configured for use in an integrated circuit to operate a Miller clamp.

(10) FIG. 9 depicts a circuit diagram of an edge detection circuit according to an implementation of the present disclosure configured for use in an integrated circuit to operate a Miller clamp.

(11) FIGS. 10A, B and C depict a circuit diagram of an example rising edge detection circuit according to an implementation of the present disclosure (FIG. 10A) and example input and output signals (FIGS. 10B and C).

(12) FIG. 11 depicts a circuit diagram of a further example voltage reference circuit according to an implementation of the present disclosure.

(13) FIGS. 12A and B depict a circuit diagram of a further example falling edge detection circuit according to an implementation of the present disclosure (FIG. 12A) and example input and output signals (FIG. 12B).

(14) FIGS. 13A and B depict a circuit diagram of a further example rising edge detection circuit according to an implementation of the present disclosure (FIG. 13A) and example input and output signals (FIG. 13B).

(15) FIG. 14 depicts a circuit diagram of an example comparator circuit according to an implementation of the present disclosure.

(16) FIG. 15 depicts a circuit diagram of a further example comparator circuit according to an implementation of the present disclosure.

(17) FIGS. 16A and B depict circuit diagrams of example differentiator circuits according to implementations of the present disclosure.

(18) FIGS. 17A and B depict circuit diagrams of example comparator circuits comprising a reference voltage according to implementations of the present disclosure. FIG. 17C illustrates example input and output signals for the comparator circuits depicted in FIGS. 17A and B.

DETAILED DESCRIPTION OF THE EMBODIMENTS

(19) Aspects of the invention will now be described by reference to example embodiments. It will be understood that the implementations depicted and described herein are provided as illustrative examples, and are not intended to limit the scope of the present invention to only the depicted embodiments. For example, it will be appreciated that the depicted example voltage reference, differentiator and/or comparator circuits may be combined in any combination to provide edge detection circuits suitable for a desired purpose.

(20) It will be understood that while the below examples are generally depicted comprising a square wave or step input signal and Dirac output signal, the input signal may instead be any signal comprising rising and/or falling edges, and the output of the edge detection circuit will provide an output signal that corresponds to the time differential (i.e. the rate of change) of the input signal.

(21) FIG. 1A shows an example digital rising edge detection circuit. The circuit comprises three inverters 1, 2, 3 and an AND logic gate 4. FIG. 1B shows example signal waveforms corresponding to signals at points A, B and C of the edge detection circuit. Example input signal A is delayed and inverted by the three inverters 1, 2, 3 to produce a comparison signal B. The AND gate 4 receives signals A and B as its inputs and produces output signal C. In operation, the AND logic gate 4 outputs a signal when both square wave signals A and B are equal to 1 and otherwise provides no output. Thus, output signal C comprises a pulse signal when a rising edge of the input signal A is detected. It will be understood that a duration of the output pulse may be determined by the delay introduced by the three inverters 1, 2, 3.

(22) FIG. 2A shows an example digital falling edge detection circuit. The circuit comprises three inverters 6, 7, 8 and a NOR logic gate 5. FIG. 2B shows example signal waveforms corresponding to signals at points A, B and C of the edge detection circuit. Example input signal A is delayed and inverted by the three inverters 6, 7, 8 to produce a comparison signal B. The NOR gate 5 receives signals A and B as its inputs and produces output signal C. In operation, the NOR logic gate 5 outputs a signal when both square wave signals A and B are equal to 0 and otherwise provides no output. Thus, output signal C comprises a pulse signal when a falling edge of the input signal A is detected. It will be understood that a duration of the output pulse may be determined by the delay introduced by the three inverters 5, 6, 7.

(23) FIG. 3A shows an example analogue edge detection circuit comprising an operational amplifier 10, a resistor 11 and a capacitor 9. The circuit may be referred to as an ideal differentiator circuit. The input (V.sub.in) and output (V.sub.out) signals of the edge detection circuit are illustrated in FIG. 3B. The output signal is proportional to the rate of change (i.e. the time derivative) of the input signal. Thus, as shown in FIG. 3B, the output signal comprises a spike signal when a rising or falling edge is detected in the input signal. A positive spike occurs in the output signal when a rising (or positive) edge is detected in the input signal, while a negative spike occurs in the output signal when a falling (or negative) edge is detected in the input signal.

(24) FIG. 4 shows an example analogue edge detection circuit that provides resistance to false triggering events such as input signal noise. In addition to the components depicted in FIG. 3A, this circuit comprises an additional feedback capacitor 12 and input resistor 13. The gain of this circuit increases with an increasing input signal frequency. For example, at a particular frequency, f.sub.1, the gain becomes unity (0 dB), and may increase at a rate of e.g. 20 dB per decade till the input frequency reaches a second frequency, f.sub.2. At input signal frequencies above f.sub.2, the gain of the circuit may decrease at a rate of e.g. 20 dB per decade due to the addition of the resistor 13 and capacitor 12. Thus, the circuit may be appropriately configured to detect the input rising and falling edges as in FIG. 3B, while rejecting high frequency input (e.g. noise) signals.

(25) FIG. 5 depicts a block schematic of an example edge detection circuit. The edge detection circuit comprises an optional voltage reference set circuit 100, a passive differentiator circuit 200 and a comparator circuit 300 connected to a power supply voltage V.sub.cc.

(26) Generally speaking, an input signal may be provided to the passive differentiator circuit 200, which is configured to detect a change in the input signal. The passive differentiator circuit 200 provides an output signal comprising pulses or spike signals corresponding to rising and falling edges of the input signal. The output signal of the passive differentiator circuit 200 may comprise positive pulses or spikes corresponding to rising edges of the input signal and negative pulses or spikes corresponding to falling edges of the input signal. The comparator circuit 300 may receive the signal from the passive differentiator circuit 200 and compare the pulses or spikes to a threshold voltage. The threshold voltage may refer to the threshold voltage of a transistor used in some implementations of the comparator circuit. Threshold voltage may alternatively refer to an applied reference voltage in other implementations. The reference voltage may be generated on-chip or applied externally. The comparator circuit 300 may then provide an output with pulses or spikes corresponding only to pulses or spikes crossing the threshold voltage. Thus, by providing a positive reference signal the comparator may provide an output that selects the rising edges of the initial input signal. Similarly, by providing a negative reference signal the comparator may provide an output that selects the falling edges of the initial input signal. The passive differentiator circuit 200 and comparator circuit 300 are therefore generally configured to perform the functions of detecting rising/falling edges of an input signal and selecting the rising or falling edge respectively.

(27) The optional voltage reference circuit 100 may be configured to receive the initial input signal and detect whether a change in the input signal is above or below a reference voltage. Thus, the voltage reference circuit 100 may reduce or remove small amplitude noise from the input signal prior to passing it to the passive differentiator circuit 200. While the below embodiments each comprise a voltage reference circuit 100, it will be understood that voltage reference circuit 100 is an optional component of the edge detection circuit in implementations, and may be excluded in e.g. edge detection circuits that are not intended or configured for use in high noise or high sensitivity operations.

(28) Various implementations of suitable voltage reference, a passive differentiator and comparator circuits will now be described. It will be further understood that the following example voltage reference, a passive differentiator and comparator circuits are provided as illustrative examples only, and are not intended to limit the scope of the invention solely to the specific implementations depicted herein.

(29) FIG. 6A depicts an example of a falling edge detection circuit comprising a voltage reference circuit 100a, a passive differentiator circuit 200a and a comparator circuit 300a. The edge detection circuit receives a signal V.sub.in as an input to the voltage reference circuit 100a. The voltage reference circuit 100a comprises a threshold multiplier 101 and a current source 102. As shown in FIG. 6B, the voltage reference circuit 100a may limit the magnitude of the voltage reference circuit input signal to a voltage reference V.sub.ref. V.sub.ref is therefore equal to a maximum value of the output of voltage reference circuit 100a. The value of V.sub.ref may be controlled through the configuration of the threshold multiplier 101, for example by controlling the ratio of the two resistors connected to the gate of the enhancement mode transistor. In addition, as no additional voltage source is required in voltage reference circuit 100a, the voltage reference circuit 100a may be integrated into many edge detection circuits with minimal changes to the overall circuit design.

(30) As briefly stated above, the voltage reference circuit 100a is configured such that the reference voltage V.sub.ref is a maximum value of the voltage reference circuit output. As a result, any input signal V.sub.in with an amplitude greater than the reference voltage V.sub.ref will result in an output signal from voltage reference circuit 100a with an amplitude equal to the reference voltage V.sub.ref. As a result of this configuration, the use of the voltage reference circuit 100a in the edge detection circuit prior to the passive differentiator circuit 200a may provide a degree of noise immunity and/or protection against false triggering events. This is because any falling edge does not appear at the output of the voltage reference circuit unless the input voltage V.sub.in drops below the reference voltage V.sub.ref. Therefore, as shown in FIG. 6C, a low amplitude noise signal or a low amplitude dip in the V.sub.in maximum signal such as dip 602 is removed from the voltage reference output signal, and thus the falling edge of dip 602 will not be detected by the edge detection circuit. Similarly, a rising edge also will not appear at the output of the voltage reference circuit 100a unless the rising edge input signal occurs when the magnitude of the input voltage V.sub.in is smaller than the voltage reference V.sub.ref.

(31) Thus, only rising or falling edges of the input signal V.sub.in that occur when the amplitude of the input signal V.sub.in is below the reference voltage V.sub.ref will be maintained in the output of the voltage reference circuit 100a. Voltage reference circuit 100a may therefore be referred to as a low-pass voltage reference circuit.

(32) Other implementations of low-pass voltage reference circuits are depicted in FIGS. 7A and B. In the voltage reference circuit 100b of FIG. 7A, threshold multiplier 101 is replaced by two source-gate connected enhancement mode transistors 103, 104 connected in series. The enhancement mode source-gate connected transistor may be e.g. a HEMT, which display diode-like characteristics with a positive threshold voltage. In the implementation shown in voltage reference circuit 100b, the maximum voltage reference output is double the threshold voltage of the source-gate connected transistor. However, it will be understood that the voltage reference circuit 100b may be configured with different numbers of series connected source-gate connected transistors to provide a desired maximum voltage reference output value.

(33) Meanwhile, in voltage reference circuit 100e of FIG. 7B, the source-gate connected enhancement mode transistor 103 is electrically connected to fixed voltage supply V.sub.cc2. The voltage supply V.sub.cc2 may any suitable source, and may e.g. be applied externally or generated on a chip. Advantageously, the configuration of voltage reference circuit 100e enables the reference voltage V.sub.ref to be controlled by adjusting the voltage supply V.sub.cc2.

(34) Returning to FIG. 6A, the output of the voltage reference circuit 100a is provided as an input to the passive differentiator circuit 200a. In implementations receiving a square wave input signal V.sub.in, the output of the voltage reference circuit 100a is also a square signal.

(35) The passive differentiator circuit 200a comprises a resistor 201 and a capacitor 202. In implementations, resistor 201 may be replaced or combined with a current source. The passive differentiator circuit 200a detects rising and falling edges of the voltage reference output signal, and provides an output that is (approximately) proportional to the rate of change (i.e. the time derivative) of the voltage reference output signal, as shown in FIG. 6B. The duration and size of the output spikes or pulses of the passive differentiator output may be controlled via the configuration of the passive differentiator circuit 200a, for example by adjusting the capacitance and resistance of capacitor 202 and resistor 201 respectively. As can be seen from a comparison of FIGS. 6B and C, the passive differentiator output is unaffected by low amplitude noise (such as dip 602) in the input signal V.sub.in due to the presence of the voltage reference circuit 100a.

(36) The passive differentiator circuit 200a receives an input signal from the voltage reference circuit 100a and supplies an output signal (the passive differentiator output) to the comparator circuit 300a. Comparator circuit 300a comprises a pull-up component such as current source 302 and a depletion mode transistor 301. It will be understood that other implementations of the comparator circuit may comprise different pull-up components to provide a desired output signal voltage. The current source 302 and a depletion mode transistor 301 form an inverter circuit, and thus in this implementation comparator circuit 300a may be referred to as an inverter or an inverter circuit. The comparator circuit 300a is powered by supply voltage V.sub.cc, and the peak voltage of the output signal V.sub.out from comparator circuit 300a is equal to the supply voltage V.sub.cc. However, it will be understood that the peak voltage of the output voltage signal V.sub.out is dependent on the configuration of the comparator circuit 300a, and may vary depending on e.g. the pull-up component of the inverter.

(37) In comparator circuit 300a, the depletion mode transistor 301 turns-off when the gate-source voltage drops below its negative threshold voltage V.sub.th. The negative threshold voltage V.sub.th is illustrated in FIG. 6B. When the passive differentiator output (which acts as an input for the comparator circuit 300a) has a negative spike below the threshold voltage V.sub.th the depletion mode transistor turns-off, leading to a positive output of the inverter.

(38) Thus, as shown in FIG. 6B, each falling edge in the input signal V.sub.in results in a positive output pulse or spike at the output signal V.sub.out. This means that the negative threshold comparator circuit 300a selects a falling edge from the input signal, such that edge detection circuits comprising the negative threshold comparator circuit 300a are falling edge detection circuits.

(39) For the sake of clarity, it is again noted that a falling edge in the input signal V.sub.in is only selected in the output signal V.sub.out if the input signal V.sub.in drops below the voltage reference V.sub.ref, due to the presence of the voltage reference circuit 100a. This can be seen via a comparison between the comparator output signals shown in FIGS. 6B and 6C (i.e. the falling edge of dip 602 does not result in a corresponding pulse in the output signal). However, as described above, in implementations without a voltage reference circuit, by suitably selecting the threshold voltage small amplitude dips such as dip 602 may still be removed from the output signal, as the amplitude of the corresponding differentiator output signal spike may have an insufficient amplitude to turn-off the transistor.

(40) FIGS. 8 and 9 illustrate examples of implementations of the falling edge detection circuit of FIG. 6A used in an integrated circuit to operate a Miller clamp 400 connected between the gate and source terminal of an enhancement mode power transistor 500. The enhancement mode power transistor 500 may be e.g. a GaN HEMT with a pGaN gate. The power transistor 500, Miller clamp 400 and edge detection circuit 100a, 200a, 300a may be monolithically integrated to form a GaN integrated circuit 1000a. Additionally, as illustrated in FIG. 8, the GaN integrated circuit may further comprise any suitable gate interface circuit 600, such as gate interface circuit(s) as described in e.g. US Patent App. Publication No. US2021/0335781 (A1) and/or PCT Patent App. Publication No. WO 2020/225362 A1, the contents of which are incorporated herein in their entirety. As illustrated in FIGS. 6B and C, when the gate (i.e. V.sub.in) signal from the driver contains a falling edge which falls below a set voltage reference (i.e. V.sub.ref), the edge detection circuit will output a positive voltage spike. In this example, if the output voltage spike or pulse of the edge detection circuit has a magnitude greater than the threshold voltage of the Miller clamp transistor 400, the edge detection circuit will turn-on the Miller clamp transistor 400. Thus, the detection of a falling edge in the gate signal from the driver by the edge detection circuit can increase the speed of the turn-off operation of the power transistor 500. In FIG. 9, rather than a gate interface circuit 600, a gate driver circuit 700 may be monolithically integrated with the power transistor 500, Miller clamp 400 and edge detection circuit 100a, 200a, 300a to form a GaN integrated circuit 1000b. The integrated circuit 1000b of FIG. 9 otherwise operates identically to the integrated circuit 1000a of FIG. 8.

(41) It will be understood that any implementations of the edge detection circuits described herein may be used to operate a Miller clamp, as described above.

(42) In further implementations, the integrated circuits 1000a, b may instead be configured such that the output V.sub.out of the edge detection circuits acts on an internal logic signal to operate the Miller clamp, rather than directly on the gate of the Miller Clamp transistor 400.

(43) FIG. 10A depicts an example of a rising edge detection circuit. The rising edge detection circuit comprises a voltage reference circuit 100c, a passive differentiator circuit 200c and a comparator circuit 300c. Similarly to the edge detection circuit of FIG. 6A, the passive differentiator circuit 200c receives an input signal from the voltage reference circuit 100c and supplies an output signal to the comparator circuit 300c. The output signal of the passive differentiator circuit 200c is (approximately) proportional to the rate of change (i.e. the time derivative) of the voltage reference output signal. The passive differentiator circuit 200c is identical to the passive differentiator circuit 200a of FIG. 6A, and discussions relating to the passive differentiator circuit 200a above apply equally to the passive differentiator circuit 200c. In contrast, comparator circuit 300c differs from comparator circuit 300a in that it comprises an enhancement mode transistor 303 in place of the depletion mode transistor 301 of comparator circuit 300a. The enhancement mode transistor 303 turns-on when the gate-source voltage rises above its positive threshold voltage V.sub.th, as illustrated in FIG. 10B. Thus, when the passive differentiator output (which acts as an input signal for the comparator circuit 300c has a positive spike above the threshold voltage V.sub.th the enhancement mode transistor 303 can turn-on, resulting in a high-to-low spike in the output signal V.sub.out of the edge detection circuit. Therefore, as shown in FIG. 10B, a rising edge in the input signal V.sub.in results in a low output at the output signal V.sub.out. This means that, in general, the positive threshold comparator circuit 300c selects a rising edge from the input signal, such that edge detection circuits comprising the positive threshold comparator circuit 300c are rising edge detection circuits. It is noted that the comparator circuit 300c is otherwise identical to the comparator circuit 300a, and discussions above relating to the comparator circuit 300a apply equally to comparator circuit 300c. In this example, the transition in the output signal V.sub.out of the edge detection circuit is from a high output to a low output when a rising signal is detected. An additional inverter stage may be connected to the output to obtain an output signal that switches from low output to high output when a rising signal is detected.

(44) The voltage reference circuit 100c comprises an enhancement mode transistor 105 connected in series between the input and output of the voltage reference circuit 100c. The voltage reference circuit 100c further comprises an enhancement mode transistor 108 and current source 107 forming an inverter circuit, and an enhancement mode transistor 106. The input and output of the voltage reference circuit are illustrated in FIG. 10B. In contrast to the voltage reference circuit 100a, the voltage reference circuit 100c provides an output signal only when the input signal V.sub.in is greater than a voltage reference V.sub.ref. Thus, a peak or maximum voltage reference output is equal to the difference between the input signal V.sub.in and the voltage reference V.sub.ref. The voltage reference V.sub.ref may be controlled in voltage reference circuit 100c by the threshold voltage of the enhancement mode transistor 105. In other implementations, the circuit 100c may comprise multiple enhancement mode transistors 105 to provide a desired voltage reference value. For example, the voltage reference may be set at twice the threshold voltage of the enhancement mode transistors an implementation comprising two such transistors in series.

(45) As briefly stated above, the voltage reference circuit 100a is configured such that only input signals V.sub.in with an amplitude greater than the reference voltage V.sub.ref will result in an output signal from voltage reference circuit 100c. As a result of this configuration, the use of the voltage reference circuit 100c in the edge detection circuit prior to the passive differentiator circuit 200c may provide a degree of noise immunity and/or protection against false triggering events. This is because any rising edge does not appear at the output of the voltage reference circuit unless the input voltage V.sub.in rises above the reference voltage V.sub.ref Therefore, as shown in FIG. 100, a low amplitude noise signal or a low amplitude rise in the V.sub.in minimum signal such as rise 1002 is removed from the voltage reference output signal, and thus the rising edge of rise 1002 will not be detected by the edge detection circuit. Similarly, a falling edge also will not appear at the output of the voltage reference circuit 100c unless the falling edge input signal occurs when the magnitude of the input voltage V.sub.in is greater than the voltage reference V.sub.ref.

(46) Thus, only rising or falling edges of the input signal V.sub.in that occur when the amplitude of the input signal V.sub.in is above the reference voltage V.sub.ref will be maintained in the output of the voltage reference circuit 100c. Voltage reference circuit 100c may therefore be referred to as a high-pass voltage reference circuit.

(47) A further example of a high-pass voltage reference circuit is shown in FIG. 11. Voltage reference circuit 100d of FIG. 11 comprises a threshold multiplier 109 connected in series between the input and output of the voltage reference circuit 100d, and further comprises a current source 110 connected between the output of the voltage reference circuit and a ground reference. The voltage reference V.sub.ref may be controlled via the configuration of the voltage reference circuit 100d, for example by adjusting the ratio of the two resistors in the threshold multiplier circuit 109.

(48) As briefly described above, the various voltage reference circuits, passive differentiator circuits and comparator circuits described in this disclosure may be combined as desired to produce a suitable edge detection circuit. For example, FIG. 12A depicts an edge detection circuit comprising the comparator circuit 300a of FIG. 6A and the voltage reference circuit 100c of FIG. 10A to form a falling edge detection circuit which does not detect a falling edge unless the input signal is above a voltage reference V.sub.ref. For example, a falling edge of the small amplitude rise or noise 1202 is not detected in the output of the edge detection circuit, as shown in FIG. 12B. In implementations, the voltage reference circuit 100c may be replaced by other high-pass voltage reference circuits, such as voltage reference circuit 100d. It will be further understood that a rising edge detection circuit may equally be formed which does not detect a rising edge unless the input signal is below a voltage reference V.sub.ref by e.g. combining the comparator circuit 300c with a low-pass voltage reference circuit such as voltage reference circuits 100a, b or e. One such example rising edge detection circuit comprising comparator circuit 300c and voltage reference circuit 100a is shown in FIG. 13A. A rising edge of the small amplitude dip or noise 1302 is not detected in the output of the edge detection circuit, as shown in FIG. 13B.

(49) Implementations of the falling and rising edge detection circuits may comprise multiple voltage reference circuits. For example, an edge detection circuit may comprise a high-pass voltage reference circuit with a reference voltage V.sub.high connected in series with a low-pass voltage reference circuit with a reference voltage V.sub.low. By configuring the two voltage reference circuits such that V.sub.high is less than V.sub.low, an output signal of the combined voltage reference circuits may reduce or remove noise from both the peaks and troughs of the input signal V.sub.in, to thereby provide a greater degree of noise immunity and/or protection against false triggering events than provided by a single high or low-pass voltage reference circuit.

(50) Additionally or alternatively, further components may be included in the edge detection circuit. For example, a voltage divider may be provided between the passive differentiator circuit 200 and the comparator circuit 300 to increase and/or adjust the voltage threshold of the comparator circuit 300. Such a voltage divider may be provided between the input signal of the comparator circuit 300 and the ground or voltage source V.sub.cc. In another example, filtering components, including resistors, capacitors and diodes, may also be provided in any of the implementations described above. The inclusion of diodes may, for example, assist in clamping and protecting the gate(s) of the comparator circuit.

(51) In a further implementation a falling edge detection circuit may comprise the comparator circuit 300d of FIG. 14. Comparator circuit 300d comprises a two stage inverter. The output of the first inverter stage 302, 301 drives the gate of an enhancement mode transistor 306 connected in parallel with the pull-up component (a current source 305) of the second stage inverter 306, 307. Comparator circuit 300d may enhance the detection speed of the edge detection circuit and offer a better compromise between speed and power consumption. It will be understood that a similar two stage inverter using enhancement mode transistors in place of the depletion mode transistors 301, 307 may be used in a rising edge detection circuit.

(52) In another implementation the output of the edge detection circuit may be configured as a current signal. In such an example the output signal from the edge detection circuit may be defined as the presence or absence of a low resistance path to ground from the node where the output of the active stage circuit is connected. These implementations may result in a higher power consumption if a node of the low resistance path to the ground can draw a significant current. An example of a comparator circuit 300e configured to provide an output current signal is shown in FIG. 15. In comparator circuit 300e an inverter circuit 302, 301 drives an enhancement mode transistor 304. When the enhancement mode transistor 304 is turned on the V.sub.out node has a low impedance path to the ground, and similarly the V.sub.out node does not have a low impedance path to the ground when the enhancement mode transistor 304 is turned off.

(53) A similar implementation is illustrated in FIGS. 16A and B, in which comparator circuits 300f, 300g comprise depletion/enhancement mode transistors 301, 303 respectively which are driven by the output of the passive differentiator circuit directly. In these implementations, the depletion/enhancement mode transistors 301, 303 may or may not offer a low impedance path to ground depending on the output signal of the passive differentiator circuit.

(54) It will be understood that further alternative implementations for the voltage reference, passive differentiator and comparator circuits may be provided within the scope of the present invention. For example, in addition to or in place of the inverter circuits described above, the comparator circuit of the edge detection circuit may comprise a voltage or current buffer amplifier.

(55) In another example, the edge detection circuit may comprise a comparator circuit with a fixed reference voltage V.sub.ref2, such as comparator circuit 300h of FIG. 17A. The reference voltage V.sub.ref2 may be applied externally or generated on chip, or applied by any other suitable means. Beneficially, the reference voltage V.sub.ref2 can be set at different levels, and its value is not controlled by or linked to a threshold voltage of a transistor used in an inverter circuit.

(56) An example of a comparator circuit 300h is illustrated in FIG. 17B. The comparator circuit receives the passive differentiator output as an input signal V.sub.in+. Additionally, it comprises a fixed reference voltage V.sub.ref2 and a fixed voltage V.sub.cc4, and provides an output V.sub.out. The fixed voltages may be generated on chip or applied externally. The comparator circuit comprises an initial inverting differential amplifier stage 3081, a tranconductance amplifier stage 3082 and a current subtractor stage 3083.

(57) Differential amplifier 3081 may be implemented using a differential pair (also known as long-tailed pair) comprising two enhancement mode transistors, two resistors and a current source. The differential amplifier generally performs two main functions in this circuit. It provides amplification of the comparator differential input signal (V.sub.in+−V.sub.ref2) and sets the bias point for the next stage, biasing the transconductance amplifier stage 3082 in a high gain region.

(58) The transconductance amplifier 3082 receives a differential input voltage from the differential amplifier 3081 and provides a differential current output (lx, ly) to the current subtractor stage 3083. The transconductance amplifier comprises a differential pair with two enhancement mode transistors and current sources.

(59) The current subtractor stage may be implemented using current mirroring blocks such that when Ix-ly is negative then V.sub.out is high, when lx-ly is positive then V.sub.out is low.

(60) The transconductance amplifier stage and current subtractor stage allow a rail-to-rail comparator output. Rail-to-rail in this example refers to V.sub.cc4 as a high output and ground reference as a low output.

(61) FIG. 17C illustrates an example input and output signal for the comparator implementation illustrated in FIG. 17B. In this example, a positive reference voltage, V.sub.ref2 is provided, and acts as the threshold voltage of the comparator circuit 302. This means that the positive reference voltage comparator circuit 300h selects a rising edge from the input signal, such that edge detection circuits comprising the positive threshold comparator circuit 300h are rising edge detection circuits. In the implementation of FIG. 17B the transition in the output signal V.sub.out is from low output to high output when a rising signal is detected. The comparator example illustrated in FIG. 17B generally operates in a similar manner to the comparator circuit 300c illustrated in FIG. 13A, with the comparator circuit 300c operating based on the threshold voltage of the enhancement mode transistor 303 instead of an applied reference voltage, V.sub.ref2. The use of an applied reference voltage as the threshold voltage improves the adjustability of the edge detection circuit, as the threshold voltage may be changed to a desired level by adjusting V.sub.ref2.

(62) Other considerations for the choice of a suitable comparator circuit are for example power dissipation, area on wafer, common mode rejection ratio, response time.

(63) Although the disclosure has been described in terms of preferred embodiments as set forth above, it should be understood that these embodiments are illustrative only and that the claims are not limited to those embodiments. Those skilled in the art will be able to make modifications and alternatives in view of the disclosure which are contemplated as falling within the scope of the appended claims. Each feature disclosed or illustrated in the present specification may be incorporated in any embodiments, whether alone or in any appropriate combination with any other feature disclosed or illustrated herein.