Apparatus comprising a comparator circuit
20240088881 ยท 2024-03-14
Inventors
Cpc classification
H03K5/135
ELECTRICITY
International classification
Abstract
An apparatus includes a comparator circuit and a clock generation circuit. The comparator circuit is configured to compare a first input signal with a second input signal during a first comparison phase to obtain a comparison result. Furthermore, an output signal is output, wherein a waveform of the output signal indicates the comparison result. During a subsequent regeneration phase, at least a part of the comparator circuit is reset for a subsequent second comparison phase. The comparator circuit is configured to receive a clock signal, and to change from the first comparison phase to the regeneration phase based on the clock signal. The clock generation circuit is configured to receive the output signal or a signal derived therefrom, and to generate the clock signal based on the waveform of the output signal to control the comparator circuit from the comparison phase to the regeneration phase based on the signal waveform.
Claims
1. An apparatus comprising: a comparator circuit configured to compare a first input signal with a second input signal during a first comparison phase to acquire a comparison result; and to output an output signal, a waveform of the output signal being indicative of the comparison result; and to reset, during a subsequent regeneration phase, at least a portion of the comparator circuit for a subsequent second comparison phase; wherein the comparator circuit is configured to receive a clock signal and to change from the first comparison phase to the regeneration phase based on the clock signal; and a clock generation circuit configured to receive the output signal or a signal derived therefrom and to generate the clock signal based on the waveform of the output signal; to control the comparator circuit from the comparison phase to the regeneration phase depending on the waveform.
2. The apparatus according to claim 1, wherein the comparator circuit is configured to provide the output signal as a first partial signal and a second partial signal; and is configured to indicate the comparison result starting from a reference state acquired by a preceding regeneration phase by means of a level change in exclusively one of the first partial signal and the second partial signal.
3. The apparatus according to claim 1, configured to generate the clock signal automatically and in dependence on the first input signal and the second input signal.
4. The apparatus according to claim 1, wherein the clock generation circuit is configured to generate, triggered by a level change of the output signal indicating that the comparison phase is completed and the comparison result is present, a level change in the clock signal triggering a change from the first comparison phase to the regeneration phase.
5. The apparatus according to claim 1, wherein completion of the regeneration phase causes a level change in the clock signal which triggers the second comparison phase.
6. The apparatus according to claim 1, wherein the clock generation circuit is configured to generate, triggered by a level change in the output signal indicating that the comparison phase is completed and the comparison result is present, a first level change in the clock signal which triggers a change from the first comparison phase to the regeneration phase; and wherein completion of the regeneration phase causes a second level change in the clock signal which triggers the second comparison phase.
7. The apparatus according to claim 1, wherein a time duration of the comparison phase is dependent on the first input signal and the second input signal; the apparatus being configured to generate a clock rate of the clock signal in dependence on the time duration of the comparison phase.
8. The apparatus according to claim 1, wherein the clock generation circuit comprises a first circuit portion configured to output at a first circuit portion output a first intermediate signal indicating whether or not a comparison result is present; wherein the apparatus comprises a second circuit portion configured to derive the clock signal from the first intermediate signal.
9. The apparatus according to claim 8, wherein the comparator circuit is configured to provide the output signal as a first partial signal and a second partial signal; and is configured to indicate the comparison result starting from a reference state acquired by a preceding regeneration phase by means of a level change in exclusively one of the first partial signal and the second partial signal; wherein the first circuit portion is formed as a first XOR gate and the first partial signal and the second partial signal are coupled to inputs of the first XOR gate.
10. The apparatus according to claim 8, wherein the second circuit portion comprises: a signal source configured to provide a control signal comprising a first control signal level for the duration of a measurement interval for performing at least the first comparison phase; a second XOR gate connected on the input side to the signal source and to the first circuit portion output; and configured to provide the clock signal based on a combination of the control signal and the first intermediate signal.
11. The apparatus according to claim 10, wherein the signal source is configured to provide, during the measurement interval, the control signal with a first signal level logically corresponding to a result signal level of the first intermediate signal indicating that the comparison result is present; wherein a regeneration level of the first intermediate signal indicates that the regeneration phase is performed and is different from the result signal level; wherein the signal source is synchronized with the first circuit portion and is implemented to change the control signal to a second control signal level, the logic state of which corresponds to the regeneration level, for terminating the measurement interval; wherein the signal source is configured to change the control signal to the second control signal level for terminating the measurement interval exclusively at times when the first intermediate signal comprises the regeneration level.
12. The apparatus according to claim 8, wherein the second circuit portion comprises: a signal source configured to provide a control signal comprising a first control signal level for the duration of a measurement interval for performing at least the first comparison phase; a second XOR gate and a third XOR gate; wherein an output of the third XOR gate is coupled to a first input of the second XOR gate; and a second input of the second XOR gate is coupled to the first circuit portion output to receive the first intermediate signal; wherein the third XOR gate is configured to provide a second intermediate signal at a signal output; wherein the second XOR gate is configured to provide, based on a combination of the first intermediate signal and the second intermediate signal, the clock signal at an output of the second XOR gate coupled to the comparator circuit on the one hand and to the first input of the third XOR gate on the other hand.
13. The apparatus according to claim 12, wherein the signal source is configured to provide, during the measurement interval, the control signal with a first signal level logically corresponding to a result signal level of the first intermediate signal indicating that the comparison result is present; wherein a regeneration level of the first intermediate signal indicates that the regeneration phase is performed and is different from the result signal level; wherein the signal source is configured to initiate termination of the measurement interval by changing the control signal to a second control signal level; wherein the apparatus is configured to change the second intermediate signal, by coupling to the output of the second XOR gate by means of the third XOR gate, upon a change of the control signal to the second control signal level, to a state logically corresponding to the regeneration level exclusively at times when the first intermediate signal comprises the regeneration level.
14. The apparatus according to claim 10, configured to terminate the measurement interval exclusively at a time when the first intermediate signal comprises a regeneration level indicating that the comparator circuit is regenerated for a subsequent comparison phase.
15. The apparatus according to claim 8, wherein the second circuit portion comprises: a continuous signal source configured to provide a constant control signal; a controller configured to supply the continuous signal source and the comparator circuit with a power for operating the continuous signal source and the comparator circuit for the duration of a measurement interval for performing at least the first comparison phase; a second XOR gate coupled on the input side to the continuous signal source and to the first circuit portion output; and configured to provide the clock signal based on a combination of the constant control signal and the first intermediate signal.
16. The apparatus according to claim 15, wherein the controller is configured to, at an end of the measurement interval, switch off the continuous signal source; and switch off at least a part of the comparator circuit in order to acquire a state comparable to a reference state acquired by means of the regeneration phase when the comparator circuit is switched on again for a subsequent measurement interval.
17. The apparatus according to claim 8, wherein the second circuit portion comprises: an inverter circuit coupled to the first circuit portion and configured to invert the first intermediate signal to acquire an inverted intermediate signal; and to acquire the clock signal based on the inverted intermediate signal.
18. The apparatus according to claim 17, further comprising a controller configured to terminate operation of the inverter circuit after a number of at least one measurement interval of the apparatus; and when the inverter circuit is switched on again, to acquire a state of the comparator circuit comparable to a reference state acquired by means of the regeneration phase for a subsequent measurement interval; and to generate the clock signal again when the inverter circuit is switched on again.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Embodiments of the present invention will be detailed subsequently referring to the appended drawings, in which:
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
DETAILED DESCRIPTION OF THE INVENTION
[0056] Before embodiments of the present invention are explained in detail below with reference to the drawings, it is pointed out that identical elements, objects and/or structures having the same function or acting in the same way are provided with the same reference signs in the different figures, so that the description of these elements shown in different embodiment is interchangeable or can be applied to one another.
[0057] Embodiments described below are described in the context of a variety of details. However, embodiments may be implemented without these detailed features. Furthermore, for the sake of clarity, embodiments are described using block circuit diagrams as a substitute for a detailed representation. Furthermore, details and/or features of individual embodiments can be combined with one another easily, as long as not explicitly the contrary is described.
[0058] The following embodiments refer in places to different signal levels of signals. Some of these explanations refer to a logic state of this signal or to an interpretation of this signal to a logic state. This can be done, for example, in the sense of an on/off state or in the sense of true/false or, simplified, 0/1. Even if further, additional quantization stages are not excluded here, the embodiments have in common that a corresponding signal level is compared with a threshold value and a certain state is indicated by a signal level, for example true or false. The exact signal amplitude is not limiting and may differ in different embodiments of the invention.
[0059] Embodiments relate to the use of a comparator during a comparison phase and to resetting or regenerating the comparator during a regeneration phase. In particular, so-called differential, clocked comparators, i.e. dynamic comparators, are considered. These can be implemented in different ways and can have one, two or more stages. The comparators shown in
[0060] In other words, the embodiments described herein can be used to solve the challenges described above, i.e. clock generation in general and dynamic clock change as a function of the input signals (absolute difference+change rate).
[0061] On the one hand, embodiments provide for the dynamic comparator to generate its clock for switching the operation phases (comparison phase/regeneration phase) independently or with minimal circuitry addition. Here, the implementation of feedback for the generation of a permanent oscillation is suitable. Furthermore, it is possible for the clock to be also dynamically adjusted depending on the difference and the change rate of the input signals in order to be able to compare the two input signals neither too fast nor too slow, i.e. optimally.
[0062] The described embodiments combine both requirements by using the outputs of the comparator, and thus the result of a comparison operation, as the starting point for the feedback.
[0063] Some of the embodiments described herein are described in connection with discrete comparators using discrete-value signals, in particular the clock signal, for example binary in the sense of 0/1 or high/low. However, the present invention is not limited to this, but can also be applied easily using analog or continuous-value signals, for example by replacing the clock signals of the comparators in
[0064]
[0065] Although embodiments described herein are related to the comparison of two input signals 14.sub.1 and 14.sub.2, embodiments are not limited to this, so that a larger number of input signals may also be compared, for example using multi-stage comparators.
[0066] The comparator circuit 12 is configured to reset at least a part of the comparator circuit for a subsequent comparison phase during a regeneration phase subsequent to the comparison phase, as described in connection with
[0067] The comparator circuit 12 is configured to receive a clock signal 24, and to change from the comparison phase to the regeneration phase based on the clock signal 24.
[0068] While the comparator circuit 12 may have signal inputs 26.sub.1 and 26.sub.2 to receive the input signals 14.sub.1 and 14.sub.2, the clock signal 24 can be received at a signal input 26.sub.T.
[0069] Referring to
[0070] The apparatus 10 further comprises a clock generation circuit 28 configured to receive the output signal 22 or a signal derived therefrom, such as amplified, attenuated or otherwise further processed, while retaining the information content, and to generate the clock signal 24 based on the waveform of the output signal 22. Thus, the comparator circuit 12 is controlled from the comparison phase to the regeneration phase depending on the waveform of the output signal 22.
[0071] This feedback makes it possible to implement the apparatus 10 in such a way that it controls the comparator circuit 12 into the regeneration phase only when the comparison result 18 is available, that is not too early, but in such a way that when the comparison result 18 is available no unnecessary waiting times occur either, that is feedback control is also not too late. In particular, in consideration of a dependence of a time period needed to obtain the comparison result 18, it can be recognized that a dynamic clock adjustment is also possible. For example, based on the comparator circuits explained, a time period for obtaining the comparison result may depend on the change rate of the input signals 14.sub.1 and/or 14.sub.2. These rates of change may be variable over time and/or may be different for different applications, and embodiments may allow automatic adjustment thereto.
[0072]
[0073] Here,
[0074] In
[0075] In a second line 36.sub.2, a comparison phase is performed in which a signal amplitude of the signal 14.sub.1 is smaller than a signal amplitude of the signal 14.sub.2. In a third line 36.sub.3, a complementary state is shown in which a signal amplitude of the signal 14.sub.1 is larger than a signal amplitude of the input signal 14.sub.2. The comparison phase is recognizable by the value logic 1 of the clock signal 24, also described as clock, clk.
[0076] Differences between lines 36.sub.2 and 36.sub.3 arise based on the different ratios between input signals 14.sub.1 and 14.sub.2 in partial signals 22.sub.1 and 22.sub.2. While in line 36.sub.2 the partial signal 22.sub.2 indicates that the input signal 14.sub.2 associated therewith is greater than the input signal 14.sub.1, in line 36.sub.3 the partial signal 22.sub.1 indicates that the input signal 14.sub.1 associated with signal output out1 is greater than a signal amplitude of the input signal 14.sub.2.
[0077] For the sake of completeness, reference is made to line 36.sub.4, where both signal amplitudes of the input signals 14.sub.1 and 14.sub.2 are approximately equal and yet a comparison phase is executed, clk=1. This results in one of the states, either 22.sub.1=0 and 22.sub.2=1 or 22.sub.1=1 and 22.sub.2=0. In other words, only one of the two signals 22.sub.1 and 22.sub.2 changes to the other state starting from the reference state of line 36.sub.1.
[0078] The truth table 20.sub.2 shows different states of the XOR gate 32.
[0079] After the regeneration phase has been executed, which is shown in line 42.sub.1 corresponding to line 36.sub.1, the XOR gate 32 receives the partial signals 22.sub.1 and 22.sub.2, at least in terms of information content. This state is indicated at an output of the XOR gate as an output signal 38 with a first state, for example logic 0.
[0080] In lines 42.sub.2 and 42.sub.3, corresponding to lines 36.sub.2 and 36, on the other hand, the behavior of the comparator circuit 12 in that only one of the signals 22.sub.1 and 22.sub.2 has changed state may cause the output signal 38 to change state in both cases in unison starting from the reference state of line 42.sub.1, thus indicating the presence of the comparison result 18 in the comparator circuit 12.
[0081] Line 43.sub.4 corresponds to a theoretical state in which both partial signals 22.sub.1 and 22.sub.2 have the value of logic 1, but embodiments prevent this due to the comparator circuit. In embodiments, it is provided for both outputs of the comparator to be equal only at times when the clock signal 24 has the value 0, which can be described with the value 0 in the examples shown and implemented with the complementary state of 1 in further embodiments. In other states, the outputs of the comparator are different from each other.
[0082] Looking at
[0083] The apparatus 30 further comprises a further circuit portion 46a configured to derive the clock signal 24 from the intermediate signal 38.
[0084] For example, the circuit portion 34 may be formed as a first XOR gate and the first partial signal 22.sub.1 and the second partial signal 22.sub.2 may be coupled to inputs of this XOR gate.
[0085] This configuration of comparator circuit 12 and circuit portion 34 may also be the basis for further implementations in which the circuit portion 46 is formed differently.
[0086] The apparatus 30 is configured such that the circuit portion 46a comprises a signal source 48 configured to provide a control signal 54 having a first control signal level 54h at least for the duration of a measurement interval 52 shown, for example, in
[0087] Referring to
[0088]
[0089] Furthermore, the partial signals 22.sub.1 and 22.sub.2 are shown for indicating, by way of example, six comparison results 18.sub.1 to 18.sub.6.
[0090] The control signal 54 of the signal source 48 is shown in a separate graph, whose level of exemplarily high 54h determines a time duration of the measuring interval 52. The measuring interval 52 extends, for example, starting from a time t.sub.1 at approximately 100 ns to a time t.sub.2 at approximately 204 ns.
[0091] In another graph, the clock signal 24 and the intermediate signal 38 are shown comparatively.
[0092] Starting from the time t.sub.1, referring to
[0093] This can cause the partial signals 22.sub.1 and 22.sub.2 to return to the reference state of line 42.sub.1, which is shown at time t.sub.5, when the signal 22.sub.1 returns to a low level 22.sub.1l. After completion of the regeneration phase, at which the state of line 42.sub.1 is obtained, the two signals 38 and 54 are again different from each other with respect to their level, which is why a renewed level change takes place in the clock signal 24, which, fed back to the comparator circuit 12, causes a renewed comparison phase to obtain the comparison result 18.sub.2.
[0094] It is clear from this that the presence of the comparison result initiates the regeneration phase and the completion of the regeneration phase in turn initiates the next comparison phase.
[0095] Thus, the apparatus 30 comprises a self-clocked comparator circuit. It is further apparent that for shorter durations to obtain the comparison results 18.sub.1 to 18, it is also possible to return to the respective regeneration phase more quickly so that if obtained more quickly, for example, one of six greater numbers of comparison results could be obtained in the measurement interval 52. Conversely, should more time be needed to obtain the comparison result, fewer results will be obtained, but the reset by the regeneration phases is still coordinated with the circuit of
[0096] The signal source 48 may be configured to change the control signal 54 to the control signal level 54l for terminating the measurement interval 52 only at times when the intermediate signal 38 has a low level 38.sub.l, which may also be interpreted as a regeneration level. While a high level 38h indicates that a comparison result is present, a low level may indicate that the reference state has been obtained, or is present. In this respect, an operation or behavior of the signal source may be synchronized with further circuit components, which is why the signal source may also be referred to as a synchronized signal source.
[0097] The fact that the synchronized signal source 48 only transfers the control signal 54, also referred to as sync, to the control signal level 54l at times when the intermediate signal 38 is at level 38.sub.l prevents an additional comparison result 18.sub.7 from being obtained, as shown for example in
[0098] In contrast,
[0099] In principle, it is also possible not to limit the measurement interval 52 in time, for example if continuous measurements are desired. Within the measurement interval, the apparatus 30, like the apparatus 10, is configured to generate the clock signal 24 automatically and as a function of the input signals 14.sub.1 and 14.sub.2.
[0100] The clock generation circuit 28 is configured to generate a level change in the clock signal, see lines 42.sub.2 and 42.sub.3 of truth table 20.sub.2, triggered by a level change in the output signal, see lines 36.sub.2 and 36.sub.3 of truth table 20.sub.1, respectively, starting from line 361, which indicates that the comparison phase is completed and the comparison result 18 is present. The level change in the clock signal triggers a change from the comparison phase to the regeneration phase. A completion of the regeneration phase in turn triggers a level change in the clock signal 24, which triggers a subsequent comparison phase. However, if the measurement interval 52 has ended before, the next comparison phase is not executed again until a subsequent measurement interval. This can also be carried out combinatorially in the sense of an on/off behavior, so that the clock generation circuit 28 is exemplarily configured to generate a first level change in the clock signal 24, for example a rising edge, which triggers a change from the first comparison phase to the regeneration phase, triggered by a level change of the output signal 22 indicating that the comparison phase has been completed and the comparison result 18 is present. Completion of the regeneration phase triggers a further level change in the clock signal 24, which triggers the subsequent comparison phase.
[0101] As has been explained, a time duration of the comparison phase may be dependent on the input signals 14.sub.1 and 14.sub.2. The apparatus 10 and/or 30, as well as other embodiments described herein, may be configured to generate a clock rate of the clock signal 24 as a function of the time duration of the comparison phase.
[0102] In other words, the differential output signals 22.sub.1/22.sub.2 or out1 and out2 are fed into a subsequent XOR gate. If the comparator is in its passive regeneration phase, both outputs are at the same logic level and xor1 provides a logic 0. If the comparator is in its active comparison phase, both outputs must differ from each other.
[0103] This is the case even if both inputs of the comparator have the same signal applied. In this case, the inherent thermal noise of the transistors and the enormously large gain of the internal positive feedback trigger a comparison operation. Thus, the logic levels at the input of the following XOR gate are different and a logic 1 is output.
[0104] However, in order not to have to rely on thermal noise for an initial ignition of the self-oscillation and, in the sense of further application, also to allow control of the comparator activity, a second XOR gate XOR2 is connected downstream of the first. Here, the second input of the second XOR gate is provided with a synchronous control signal sync. This is synchronous because it may only change its logic level if the generated intermediate signal 38 (xor1) is a logic 0. If a change is made at any other time, self-oscillation may be stopped, but the outputs of the comparator will retain their current value until the next enabling. This could result in static errors in the subsequent signal processing chain.
[0105] If the output of the first XOR gate XOR1 is a logic 0 and the control signal sync is also a logic 0, the comparator is in its passive regeneration phase or is held in this phase. Thus, both output signals out1 and out2 are logic 0.
[0106] If the output of the first XOR gate is logic 0 and the control signal is logic 1, the second XOR gate XOR2 outputs a logic 1 and the comparator is set from its passive regeneration phase to the active comparison phase. As a result of the comparison operation, the two output signals out1 and out2 must then be logically different from each other.
[0107] If the output of the first XOR gate is a logic 1 and the control signal is a logic 1, the second XOR gate outputs a logic 0 and the comparator is set from its active comparison phase to the passive regeneration phase and the oscillation cycle starts again.
[0108] Based on the truth tables of the comparator and the XOR gates in
[0109] With the addition of two XOR logic gates and a control signal, a dynamic comparator can on the one hand generate the needed clock itself and on the other hand vary it dynamically. If the absolute difference of the two comparator signals on the input side is large, the output of the comparator will change faster than if the difference on the input side is small. However, since the switching speed of the clock in the present concept is directly dependent on this change, the next clock period can only be triggered after a comparison operation has been performed. The self-generated clock can thus never be too fast and at the same time changes dynamically depending on the input signals at the comparator.
[0110] Compared to the described conventional technology, the clock of a dynamic comparator can be generated with very little effort in terms of complexity and power requirements and at the same time be adjusted dynamically to the optimal clock frequency. Thus, the advantages of a dynamic comparator in terms of high sensitivity and fast response speed as well as low space requirements and low power consumption can be maintained.
[0111]
[0112] To compensate for the lack of synchronization, the circuit portion 46b includes another XOR gate 68. Compared to the apparatus 30, the XOR gate 68 receives both the clock signal 24 for combination and the control signal 66. A second intermediate signal 72 obtained therefrom, denoted xor3, forms the basis for a signal input of the XOR gate 58 in this embodiment, instead of the control signal 54 of
[0113] In other words, the circuit portion 46b comprises a signal source 64 configured to provide the control signal 66 having a first control signal level 66h, see
[0114] The XOR gate 58 is configured to provide, based on a combination of the intermediate signal 38 and the intermediate signal 72, the clock signal 24 at an output 76 of the XOR gate 58, which in turn is coupled to the comparator circuit on the one hand and to the corresponding input of the XOR gate 68 on the other hand.
[0115]
[0116] A start of the measuring interval 52 is also at t=100 ns, wherein the time t.sub.2 can be at any time. The comparison result 18.sub.9 is triggered by an increase 24.sub.9 of the clock signal 24, which lies within the measurement interval 52. The time delay implemented by the components becomes clear from this.
[0117] With respect to the signal source 48, the signal source 64 may be configured to provide the control signal 66 during the measurement interval 52 with a signal level 66h that logically corresponds to a result signal level 38h of the intermediate signal 38. This indicates that a respective comparison result is present. For example, an increase 38.sub.1 may indicate that the comparison result 18.sub.1 is applied. As can be seen, for example, in the comparison of signals 38 and 72, different signals may have different levels and yet both may have the respective high or low level. That is, logically or interpreted, an increase 72.sub.2 corresponds to the increase 38.sub.1.
[0118] A regeneration level 38.sub.l of the intermediate signal 38 indicates that the regeneration phase is executed and is different from the result signal level 38.sub.h. The signal source 64 is configured to change, for example reduce, a termination of the measurement interval 52 by changing the control signal from the control signal level 66h to a level 66.sub.l different therefrom. This initiates termination of the measurement interval. The apparatus is configured to change the intermediate signal 72 by coupling to the output of the XOR gate 58 through the XOR gate 68 when the control signal 66 changes to the level 66.sub.l to a state logically corresponding to the regeneration level 38.sub.l, i.e. the state 72l, exclusively at times at which the intermediate signal 38 has the regeneration level 38.sub.l. This also prevents a new measurement from being started and at the same time ensures that the comparator is regenerated in a subsequent comparison interval.
[0119] In
[0120] In other words, the XOR gate 68 performs the function of a delay element to keep the intermediate signal 72 in the event of a premature switch-off of the asynchronous signal source 64 still at an active state until the switch-off of the intermediate signal 38 also allows a falling edge in the clock signal 24.
[0121] Both the apparatus 30 and the apparatus 40 may be configured to effectively terminate the measurement interval 52 exclusively at a time when the intermediate signal 38 has a regeneration level 38.sub.l indicating that the comparator circuit is regenerated for a subsequent comparison phase. In the case of apparatus 30, this may be accomplished by synchronization of the signal source or by a delay element through the XOR gate 68.
[0122] In other words,
[0123] Basically, the self-oscillating control loop operates using the XOR gates XOR1 and XOR2 as described in the previous example. However, in order to be able to realize control with an asynchronous control signal async, the clock signal clk is not only applied to the comparator, but also to the third XOR gate XOR3. This results in two competing loops which converge at XOR2.
[0124] In the initial state, async=0 and clk=0. Thus, xor1=0 and xor3=0 and the comparator is in its passive regeneration phase.
[0125] If the oscillation is now enabled via async=1 (xor1 remains 0 for the time being), clk jumps to logic 1 and the comparator changes to the active comparison phase. At the same time, however, xor3 must change to 0, which causes clk to drop to 0 again. Since there is a certain time delay within the logic gates, the change of clk via XOR3 will come only when the comparator has already seen a 1 at its clock input long enough.
[0126] As a result of the comparison operation, the two comparator outputs out1 and out2 are logically different from each other and xor1 jumps to 1. Meanwhile, xor3 changes back to 1 via the feedback from XOR3 and clk becomes 0 again. Thus, the comparator changes back to the passive regeneration phase and the cycle starts again.
[0127] Since the loop via XOR3 is fundamentally faster than the loop via the comparator, there is a lag effect when disabling the self-oscillation via the control signal async. Depending on the time of disabling, another comparison operation can thus be performed before the comparator stops its function and both outputs are at logic 0 again.
[0128]
[0129]
[0130] In both embodiments, control means 86 can be provided which is configured to supply the continuous signal source 78 and the comparator circuit 12 with energy for operating the continuous signal source and the comparator circuit for the duration of the measurement interval 52 for executing at least a comparison phase.
[0131] Alternatively or additionally, only the continuous signal can be switched off and/or the XOR gate XOR2 or 58 can no longer be supplied with power and/or further, possibly all, blocks with respect to power supply can be switched off. Thus, in embodiments, the blocks may be designed such that the entire logic is set to high active, that is a signal level high is associated with operation. Switching off the power supply in such a case can generate a low level and thus produce the defined and stable output states.
[0132] The apparatus 50 includes the XOR gate 58 coupled on the input side to the continuous signal source 78 and to the circuit portion 34. The XOR gate 58 is configured to provide the clock signal 24 based on a combination of the constant control signal and the intermediate signal 38. In circuit technology terms, an effect similar to that of the apparatus 30 can be achieved, but the defined state is obtained by disabling the comparator circuit 12 and/or switching off the control signal is obtained by disabling the constant signal source 78.
[0133] According to an embodiment, the control means 86 is configured to switch off the continuous signal source 78 at the end of the measurement interval 52 and to also switch off at least a part of the comparator circuit 12 in order to obtain a state comparable to a reference state obtained by means of the regeneration phase when the comparator circuit 12 is switched on again for a subsequent measurement interval.
[0134] Voltage spikes 88 in
[0135] According to the principle circuit diagram in
[0136] Assuming that all functional blocks shown in
[0137] Without an applied voltage supply vdd, all internal nodes are at 0V=vss=ground. a sufficient supply voltage vdd applied at 100 ns, two different levels are present at the input of XOR2. One is 1 from vdd and the other is 0 from xor1. Thus, the signal clk has to jump from 0 to 1 and the comparator has to change to the active comparison phase.
[0138] As a result of this comparison operation, the outputs out1 and out2 have different logic levels and xor1 jumps to 1. Thus, the same logic levels are now present at the inputs of XOR2 and clk jumps to 0, whereby the comparator changes to the passive regeneration phase. Thus, both outputs out1 and out2 become 0 again, xor1 also becomes 0 and the cycle starts again.
[0139] Since no control via a control signal is provided, this self-oscillation can only be interrupted by interrupting the supply voltage vdd, such as at 200 ns.
[0140] The spikes at the switch-on moment of vdd and the residual voltage offsets at the switch-off moment of vdd are due to capacitive coupling and non-ideal circuit components.
[0141]
[0142]
[0143]
[0144] The inverter circuit 92 is coupled to the circuit portion 34 and configured to receive and invert the intermediate signal 38 to obtain an inverted intermediate signal representing the clock signal 24. Further intermediate processing is also possible here. The embodiment is based on obtaining the clock signal based on the inversion of the intermediate signal 38, due to the time shift caused by the inversion. The apparatus 60 may include the control means 86 configured to terminate an operation of the inverter circuit 92 after a number of at least one measurement interval and/or comparison phases. Furthermore, the control circuit is configured to terminate an operation of at least a part of the comparator circuit 12 as described in connection with the apparatus 50. When the part of the comparator circuit is turned on again, it has a comparator circuit state comparable to a reference state obtained by means of the regeneration phase of
[0145] With reference to the comparator circuit of
[0146] In
[0147] Then, the supply potential VDD can be lowered to 0 V to disable the operation. Via the opened transistors Mt2 and M7, V.sub.OP is now connected to 0 V of VDD, thus V.sub.OP also changes to 0 V. The cross-coupled latch structure causes the transistor M8 to become conductive and discharge V.sub.ON to VDD=0 V.
[0148] Due to the coupling of the first and second stage via M11 and M12 (high active), in the case of clkn=1 and clk=0, for example, the case could occur that the outputs V.sub.OP and V.sub.ON would not reset immediately, but the above case would occur at first when one of the two signals has discharged via leakage currents to an extent such that it is interpreted by the inverters as low level. Thus, the above case can occur again and a reference state can be obtained.
[0149] If, on the other hand, the comparator from
[0150] In embodiments, it may also be provided for to supply all functional blocks, the comparator circuit 12, the XOR gate 32 and the inverter circuit 92 with power or to remove this power supply again, i.e., to switch it off. It may be technically more practical in this case to control only the inverter via the supply. Here, the reference state can be obtained as follows, exemplarily using a CMOS inverter that can be used in
[0151]
[0152] Disabling the inverter circuit 92 may cause the clock signal 24 to stop deviating from and return to a level 24.sub.l indicating the regeneration state or reference state. A renewed execution of a comparison phase is thus prevented.
[0153] The principle circuit diagram shown in
[0154] Without the voltage supply vdd applied, all internal nodes are at 0V=vss=ground. When applying a sufficient supply voltage vdd at 100 ns, the inverter can now start its function and invert the signal xor1=0. Thus, the signal clk is to jump from 0 to 1 and the comparator must change to the active comparison phase.
[0155] As a result of this comparison operation, the outputs out1 and out2 have different logic levels and xor1 jumps to 1. Thus, a 1 is now present at the input of the inverter and clk jumps to 0, whereby the comparator changes to the passive regeneration phase. Thus, both outputs out1 and out2 become 0 again, xor1 also becomes 0 and the cycle starts again.
[0156] Since no control via a control signal is provided, this self-oscillation can only be interrupted by interrupting the supply voltage vdd, such as at 200 ns.
[0157] The spikes at the switch-on moment of vdd and the residual voltage offsets at the switch-off moment of vdd are due to capacitive coupling and non-ideal circuit components.
[0158] Compared to embodiment 3, the pulse widths of clk and thus also out1 and out2 are somewhat shorter, since the signal delay or propagation time in the inverter is somewhat shorter than in an XOR gate. As a result, 7 instead of only 6 comparison operations are performed in the present test case.
[0159]
[0160] Compared to known approaches, the above described embodiments allow to provide a low-cost and low-complexity solution for a self-clocked comparator that nevertheless has a flexible clock rate.
[0161] In [3], for example, a realization of a tracking ADC with variable sampling rate is proposed, a dynamic comparator is part of the inner iDAC. The clock rate/sampling rate can be switched between 12.5 MHz and 50 MHz due to fixed inverter chains for the implementation of time delays.
[0162] In contrast, embodiments allow a stepless setting of many to all clock rates between the technically minimum and maximum switching rate of the comparator. To control the switching, in [3], two additional auxiliary comparators and a digital state machine are needed. In embodiments, it is sufficient to use two (when using a synchronous control signal) or 3 (when using an asynchronous control signal) XOR gates or an inverter.
[0163] In [4], a realization of a SAR (successive-approximation-register) ADC with a single-phase dynamic comparator is described. The clock does not need to be inverted, a first stage of the comparator resets the second stage. Embodiments provide a reset with a single comparator stage, thus eliminating the need to separate the preamplifier from the latch. According to [4], the control logic of the SAR ADC is asynchronous, a control signal CLKS is used to enable the sampling switches, and subsequent asynchronous logic and the delay chain are used to clock the dynamic comparator with the signal CLKC, its output signals are fed back again via logic gates and a delay chain, and a new clock cycle begins. A disadvantage compared to the embodiments described herein is that the resulting clock at the comparator is not variable and is fixed via the delay chains. Furthermore, according to [4], the control signal CLKS is clocked externally (500 kHz, 25% duty cycle) and is tuned to the clock CLKC (via the delay chains and the propagation delay of the logic) in such a way that the register is reset after a full pass of the SAR register (switch S1-S8).
[0164] In [5], a realization of a dynamic comparator with adaptive time sequence is described. The solution consists of a clocked sample/hold stage, a preamplifier, the actual dynamic comparator, various logic gates and flip-flops and an RC filter with a voltage amplifier. This involves a considerable amount of circuitry and complexity. Furthermore, this solution needs an external and in this case periodic clock signal CKS (as well as the inversion CKSB thereof) for the sample/hold stage and the reset of the flip-flop 1012 which in turn is needed to generate the EOC signal (end of conversion). In addition, the NOR gate 1020 is also dependent on CKS and is fed by a PMOS transistor which receives as a bias signal the result of an RC filter (disadvantageously has a fixed time constant) and a voltage amplifier (differential gain of VR and VP). The control loop according to [5] actually starts at the NAND gate 1011, but its inputs are periodically pulled, via the switches 1009 and 1010, to VDD via the signal CK_LAT independently of the two comparator outputs DP and DN so that the advantage of a self-adjustment of the clock is not preserved either.
[0165] The previously described embodiments according to
[0166] Although some aspects have been described in the context of an apparatus, it is to be understood that these aspects also represent a description of the corresponding method, so that a block or component of an apparatus is also to be understood to be a corresponding method step or a feature of a method step. In analogy, aspects described in connection with or as a method step also constitute a description of a corresponding block or detail or feature of a corresponding apparatus.
[0167] While this invention has been described in terms of several advantageous embodiments, there are alterations, permutations, and equivalents, which fall within the scope of this invention. It should also be noted that there are many alternative ways of implementing the methods and compositions of the present invention. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the present invention.
REFERENCES
[0168] [1] Investigation of Comparator Topologies and their Usage in a Technology Independent Flash-ADC Testbed [0169] [2] An energy-efficient high-speed CMOS hybrid comparator with reduced delay time in 40-nm CMOS process [0170] [3] A Tracking ADC with Transient-Driven Self-Clocking for Digital DC-DC Converters [0171] [4] An energy-efficient SAR ADC using a single-phase clocked dynamic comparator with energy and speed enhanced technique [0172] [5] CN110391796A DYNAMIC COMPARATOR WITH ADAPTIVE TIMING SEQUENCE