Edge detection circuit
11784637 · 2023-10-10
Assignee
Inventors
- Sheung Wai FUNG (Cambridge, GB)
- Loizos EFTHYMIOU (Cambridge, GB)
- Florin Udrea (Cambridge, GB)
- Martin ARNOLD (Cambridge, GB)
Cpc classification
International classification
H03K5/00
ELECTRICITY
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)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
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)
(22)
(23)
(24)
(25)
(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)
(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
(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
(33) Meanwhile, in voltage reference circuit 100e of
(34) Returning to
(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
(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
(38) Thus, as shown in
(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
(40)
(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)
(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
(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
(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
(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,
(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
(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
(53) A similar implementation is illustrated in
(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
(56) An example of a comparator circuit 300h is illustrated in
(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)
(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.