Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DELAY ELEMENT CIRCUIT FOR RING OSCILLATOR AND STALL DETECTION IN SELF-CLOCKED SAR ADC
Document Type and Number:
WIPO Patent Application WO/2018/127726
Kind Code:
A1
Abstract:
A self-clocked SAR ADC sensor circuit includes an ADC having a capacitor array with a plurality of capacitors connected through a respective plurality of switches, a comparator, an SAR module, and a delay element circuit for ring oscillator and stall detection. The delay element circuit includes a delay block with a NAND gate followed by a plurality of inverters.

Inventors:
HERNES BJORNAR (NO)
Application Number:
PCT/IB2017/000342
Publication Date:
July 12, 2018
Filing Date:
March 16, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DISRUPTIVE TECH RESEARCH AS (NO)
MOLDSVOR OYSTEIN (NO)
International Classes:
H03K3/03; H03M1/00; H03M1/12; H03M1/46
Foreign References:
US20110063147A12011-03-17
US20110102091A12011-05-05
US20040119500A12004-06-24
Download PDF:
Claims:
Claims

What is claimed is:

1. A self-clocked SAR ADC sensor circuit for executing analog-to- digital conversion of a sensed value Vm, the circuit comprising: an ADC having a capacitor array comprising a plurality of capacitors connected through a respective plurality of switches; a comparator; an SAR module; a delay element circuit for ring oscillator and stall detection; and a controller configured to execute a track phase when a sample clock signal CK_SMP is low by applying an input voltage Vm over all capacitors in the capacitor array of the ADC, execute a sampling phase on a subsequent rising edge of CK_SMP by opening the respective plurality of switches such that a sample of ¾v is stored over the capacitor array of the ADC, and execute a comparison phase via the comparator, wherein the delay element circuit allows completion of each conversion prior to a new conversion being attempted and, when this is not possible, provides a notification that a stall has occurred.

2. The self-clocked SAR ADC sensor circuit in accordance with claim 1, wherein the circuit is an ultra-low power dissipation circuit.

3. The self-clocked SAR ADC sensor circuit in accordance with claim 1, wherein the clock runs at between 10 Hz and 100Hz.

4. The self-clocked SAR ADC sensor circuit in accordance with claim 1, wherein the delay element circuit comprises a delay block having a NAND gate followed by a plurality of inverters.

5. The self-clocked SAR ADC sensor circuit in accordance with claim 4, wherein a first of the plurality of inverters comprises two transistors.

6. The self-clocked SAR ADC sensor circuit in accordance with claim 5, wherein a two or more others of the inverters are two-input inverters.

7. The self-clocked SAR ADC sensor circuit in accordance with claim 6, wherein the two or more others of the inverters each comprise four transistors.

8. The self-clocked SAR ADC sensor circuit in accordance with claim 7, wherein the last of the plurality of inverters comprises two transistors.

9. A delay element circuit for ring oscillator and stall detection comprising a delay block having a NAND gate followed by a plurality of inverters, wherein a first of the plurality of inverters comprises a single input inverter, two or more others of the inverters are two-input inverters, and the last of the plurality of inverters comprises a single input inverter.

10. The delay element circuit in accordance with claim 9, wherein the two or more others of the inverters each comprise four transistors.

11. The delay element circuit in accordance with claim 9, wherein the first and last of the plurality of inverters comprise two transistors.

12. The delay element circuit in accordance with claim 9, further comprising a stall detect circuit.

13. The delay element circuit in accordance with claim 12, wherein the stall detect circuit comprises six two-input inverters.

14. The delay element circuit in accordance with claim 13, wherein the circuit is linked to an SAR ADC and wherein the circuit is configured such that it outputs a stall detection alert if a comparator of the SAR ADC has not converted a current sample prior to a time that a subsequent sample is received.

15. A self-clocked SAR ADC sensor circuit for executing analog-to- digital conversion of a sensed value Vm, the circuit comprising: an ADC having a capacitor array comprising a plurality of capacitors connected through a respective plurality of switches; a comparator; an SAR module; and a delay element circuit for ring oscillator and stall detection, the delay element circuit for ring oscillator and stall detection comprising a delay block having a NAND gate followed by a plurality of inverters.

16. The self-clocked SAR ADC sensor circuit in accordance with claim 15, wherein a first of the plurality of inverters comprises a single input inverter, two or more others of the inverters are two-input inverters, and the last of the plurality of inverters comprises a single input inverter.

17. The self-clocked SAR ADC sensor circuit in accordance with claim 15, wherein the two or more others of the inverters each comprise four transistors.

18. The self-clocked SAR ADC sensor circuit in accordance with claim 15, wherein the first and last of the plurality of inverters comprise two transistors.

19. The self-clocked SAR ADC sensor circuit in accordance with claim 15, further comprising a stall detect circuit having at least six two-input inverters.

20. The self-clocked SAR ADC sensor circuit in accordance with claim 20, wherein the stall detect circuit is configured to output a stall detection alert if a comparator of the SAR ADC has not converted a current sample prior to a time that a subsequent sample is received.

Description:
Delay Element Circuit for Ring Oscillator and Stall

Detection Utilized in Self-Clocked SAR ADC

Technical Field

[0001] The present disclosure relates generally to analog-to-digital converters (ADCs) and, more particularly, to systems and methods for providing a ring oscillator and stall detection in a self-clocked successive-approximation-register (SAR) ADC such as in a wireless sensor node device.

Background

[0002] In battery-connected sensor readout systems with very long lifetime, ultra-low power dissipation is important. To provide ultra-low power dissipation, the system clock needs to be low-frequency. This may align with the sampling interval of the sensor readout system, which is generally in the range of 10 to 100 milliseconds if not longer. This sets a lower clock frequency of 10 to 100Hz.

[0003] The SAR ADC device architecture is a good choice when low power dissipation is of importance, and given the above, the system clock can initiate an ADC conversion by sampling its analog input voltage reflecting the sensor state. However, the SAR ADC needs a high-speed clock to do the required n number of comparisons to resolve a n-bit digital output word. This clock is often generated internally in the SAR ADC with a ring oscillator, where the comparator is included in the ring, together with a number of inverters. However, the ring oscillator does not inherently exhibit ultra-low power dissipation.

[0004] Moreover, one of the key building blocks in a SAR ADC is the comparator. A comparator takes time to execute a comparison, and as such, the comparator is, under some conditions, not able to make a decision in the available time. Further, in a self-clocking SAR ADC, where the comparator is included in the ring oscillator, the longer decision time of the comparator will only add time to the current clock period. However, in some cases the decision time is so long that the system requires a new sample before the ADC is finished resolving the previous one.

[0005] The present disclosure is directed to addressing one or more deficiencies and/or disadvantages, e.g., as set forth above or otherwise. However, it should be appreciated that the solution of any particular problem is not a limitation on the scope of this disclosure or of the attached claims except to the extent expressly noted. Moreover, this Background section reflects the inventors' thoughts and is not intended to accurately or completely reflect any particular prior art. As such, Applicants expressly disclaim this material as admitted prior art.

Summary of the Disclosure

[0006] In one aspect of the disclosed principles, a self-clocked SAR ADC sensor circuit includes an ADC having a capacitor array comprising a plurality of capacitors connected through a respective plurality of switches, a comparator, an SAR module and a delay element circuit for ring oscillator and stall detection. A controller is configured to execute a track phase when a sample clock signal CK_SMP is low by applying an input voltage VIN over all capacitors in the capacitor array of the ADC, execute a sampling phase on a subsequent rising edge of CK_SMP by opening the respective plurality of switches such that a sample of VIN is stored over the capacitor array of the ADC, and execute a comparison phase via the comparator, wherein the delay element circuit allows completion of each conversion prior to a new conversion being attempted and, when this is not possible, provides a notification that a stall has occurred.

[0007] In another embodiment, a delay element circuit for ring oscillator and stall detection is provided having a delay block with a NAND gate followed by a plurality of inverters, wherein a first of the plurality of inverters comprises a single input inverter, two or more others of the inverters are two-input inverters, and the last of the plurality of inverters comprises a single input inverter. The delay element circuit may further include a stall detect circuit having six two-input inverters.

[0008] In yet another embodiment, a self-clocked SAR ADC sensor circuit includes an ADC having a capacitor array comprising a plurality of capacitors connected through a respective plurality of switches, a comparator, an SAR module, and a delay element circuit for ring oscillator and stall detection, the delay element circuit comprising a delay block having a NAND gate followed by a plurality of inverters.

[0009] These and other aspects and features will be more readily understood when reading the following detailed description in conjunction with the accompanying drawings.

Brief Description of the Drawings

[0010] Figure 1 is a schematic drawing of an implementation of an SAR ADC;

[0011] Figure 2 is an indexed signal plot showing example signal values during operation of the SAR ADC of Figure 1 ;

[0012] Figure 3 is a schematic drawing of an implementation of an SAR ADC in accordance with an embodiment of the disclosed principles;

[0013] Figure 4 is a schematic drawing of an implementation of an SAR ADC in accordance with an alternative embodiment of the disclosed principles;

[0014] Figure 5 is a schematic drawing of an implementation of a delay line in accordance with an embodiment of the disclosed principles; and

[0015] Figure 6 is an indexed signal plot showing example signal values during operation of the delay line of Figure 5. [0016] While the following detailed description is given with respect to certain illustrative embodiments, it is to be understood that such embodiments are not to be construed as limiting, but rather the present disclosure is entitled to a scope of protection consistent with all embodiments, modifications, alternative constructions, and equivalents thereto.

Detailed Description

[0017] Before turning to a detailed discussion of the figures, a brief overview of certain disclosed features and principles will be given to aid the reader. As noted above, in battery- connected sensor readout systems with very long lifetime, ultra- low power dissipation is important. This requires a system clock that is low-frequency (about 10 to 100Hz). However, an SAR ADC needs a high-speed clock to perform the required n number of comparisons to resolve an n-bit digital output word. This clock is often generated internally via a ring oscillator. However, the ring oscillator does not inherently exhibit ultra-low power dissipation. Moreover, the required comparator requires a delay to operate, and under some conditions, may not be able to finish a decision in the available time. In such cases, the system may require a new sample before the ADC has finished resolving the previous one.

[0018] For this reason, a circuit is needed that detects long decision time so that the system may take action on it. This circuit is called a stall detection circuit and, since it is activated on every comparator clocking, it must be implemented to consume an ultra-low power level.

[0019] Referring to Fig. 1, this figure shows a simplified schematic representation of an SAR ADC. For simplicity the figure shows a single-ended system, while many

implementations may be differential in order to resist noise in the circuit. While the illustrated circuit is a principal implementation of a SAR ADC, there exist a range of different implementations and the principles presented herein can be applied to any implementations where delay elements are required. [0020] The illustrated circuit 100 includes a capacitive DAC 101, a comparator 103, and an SAR 105. The circuit modes of operation include a track phase, a sampling phase and a conversion phase. In the tracking phase, CK_SMP is low, ¾v and SCM are closed

(conducting) and the input voltage VIN is applied over all capacitors in the capacitor array of the DAC. In the sampling phase, on rising edge of CK_SMP, the switches ¾v and SCM open, and a sample of VIN is stored over the capacitor array of the DAC.

[0021] In the conversion phase, a number of steps are executed. The SAR algorithm starts by connecting the MSB switch S n -i to VREF while the rest of the switches S N -2-So are connected to VCM- This is done by setting the MSB bit of the SAR[]-bus to 1 and the rest of the bits to 0. The comparator COMP 103 is now clocked by the rising edge of CK_COMP and the voltage Vp is compared to the common mode voltage VCM. If Vp > VCM then DP is set to 1 and MSB in the SAR[]-bus is maintained 1. If Vp < VCM then DP is set to 0 and MSB in the SAR[]-bus is set to 0.

[0022] The MSB- 1 bit in the SAR[]-bus is set and the procedure above is repeated until bit 0 of the SAR[]-bus is evaluated and set accordingly. The result is now made available at the ADC digital output D out .

[0023] The indexed signal plot 200 of Figure 2 shows the signal values in an example during the foregoing phases. In particular, this timing diagram shows that the input voltage VIN is sampled at the rising edge of CK_SMP. Further, the MSB of the SAR[]-bus is set and the COMP input voltage Vp settles to its new value before the rising edge of CK_COMP and the comparison take place. Thus, the time CK_COMP is low is used for settling of Vp, and this sets the requirement to the frequency of CK_COMP, and further the amount of delay required in the delay chain in the ring oscillator generating CK_COMP.

[0024] Figure 3 is a simplified circuit schematic showing a delay chain implemented by a DELAY-block 307 and a stall detect circuit implemented in STALLDETECT 309. As with Figure 1, the illustrated circuit 300 includes a capacitive DAC 301, a comparator 303, and an SAR 305. The circuit modes of operation include a track phase, a sampling phase and a conversion phase. In the tracking phase, CK_SMP is low, ¾v and SCM are closed

(conducting) and the input voltage VIN is applied over all capacitors in the capacitor array of the ADC 301. In the sampling phase, on rising edge of CK_SMP, switches SIN and SCM open, and a sample of VIN, is stored over the capacitor array of the DAC.

[0025] After the rising edge of CK_COMP, a comparison is made by COMP 303 and one of DP and DN is set to 1. DPNORDN goes to 0 and the delay chain delays this negative edge to CK_COMP and reset COMP's output to 0. DPNORDN goes high again and this rising edge is delayed through DELAY 307 to CK_COMP, and a new comparison is started. The requirement to the amount of delay the DELAY-block is adding to its input clock edges is set by the settling requirement to Vp. In implementations where the sampling frequency (frequency of CK_SMP) is low, and the power dissipation requirement is ultra-low, the switches S n-1 · · - So and their drivers should be as small as possible, and the settling time of Vp, is therefore quite long compared to the delay of an inverter. Therefore, implementing DELAY 307 with a long chain of inverters, while possible, is not ideal due to the power dissipation this will incur.

[0026] Figure 4 is a schematic circuit diagram showing an implementation of the DELAY- block 307 using a NAND gate (P0) at the input followed by 9 inverters (PI to P9). The inverter PI is a normal inverter built of two transistors. The inverters P2 to P7 are of the type shown in the inset 401. This inverter has two inputs. The input labelled "A" is the normal inverter input intended to drive the output to the opposite of A. The input labelled "B" is the second input and is intended to be driven by an earlier version of the signal at A. In operation, the rising clock edge is going through the inverter, first, B goes high to close MPl and open MNl .

[0027] For ease of understanding, assume that an open transistor is a switch with low resistance, while a closed transistor is a switch with infinite resistance. When A goes up, MPO closes, and MNO opens. MNl is already open, and Z goes down. Since MPl is already closed when the edge arrives at A, no short current is drawn through the transistors from positive supply to ground. A normal inverter will draw a short current in the transition region of the P- and NMOS transistors (when they are both on). For long clock edges the voltage at A is in this transition region for a long time. The dissipation due to the short current becomes severe. The opposite holds if a negative clock edge is going through the inverter. Thus, the reason for MP1 and MN1 is to prevent short current flowing through the inverter when B is driven by an earlier clock edge than A.

[0028] As shown by the figure, the terminal B of the inverters P2 to P7 is driven by CKO and CK1, which are early clocks and have steep clock edges. The main delay is made by the inverters P2 to P5. This is done by making the transistor lengths of MPO and MNO (LPO and LNO) long. The delay will then be dependent on the RC time constant made by the on resistance of MPO or MNO and the capacitive loading due the next inverter. The delay can be adjusted by changing the number of such inverters in series, and/or changing the LPO and LNO. Since the clock edges at outputs P2 to P5 are long, it is mandatory to short current flowing. The inverter P6 and P7 shapes the clock edges. These inverters LPO, LP1, LNO and LN1 are made close to minimum, however input of these inverters experience slow clock edges, and it is necessary to prevent the short current flowing by using the inverter with two input terminals. When the clock edges are shaped, the inverter short current are much less than charge current into the inverter load. Therefore, normal inverters used (P8 and P9) for buffering.

[0029] In a further embodiment, certain additional features are provided. As discussed above with respect to the base configuration, the system includes a block and creates a ring oscillator. However, it is further contemplated to have the output of DELAY drive the clock input CK_COMP of the comparator COMP. The output DP and DN of COMP drives the input of NOR, and the output DPNORDN of NOR drives the input of DELAY. In this embodiment, the ENABLE input of DELAY is driven by CK_COMP_ENABLE, which again is set by the AND between CK_SMP and ENABLE. [0030] Now assume that ENABLE is high: CK_SMP=0: CK_COMP_ENABLE=0, the ring oscillator is stopped by PO in DELAY and CK_COMP is set to 0 and resets DP=DN=0. Now when CK_SMP goes to 1: CK_COMP_ENABLE goes to 1, DPNORDN=l, and the rings oscillator starts. The ring oscillator goes for n clock cycles equal to the number of the resolved bit in the digital output word D ouL When finished with the last bit (LSB), ENABLE goes to 0 and the ring oscillator is stopped.

[0031] In yet a further embodiment, the stall detect circuit (STALLDETECT-block in Figure 3) is as shown in Figure 5 (with signal timing shown in the plot 600 of Figure 6). Under certain circumstances the comparator COMP is not able to make a decision when it is clocked. This may occur, for example, when the voltage difference between the input terminals are close to zero or when the common mode input voltage is very low or high (depending of the implementation of COMP). The illustrated stall detect circuit 500 employs a delay chain to detect if the comparator has not made a decision within the delay of the delay chain.

[0032] In this embodiment, the delay is made of a series of low power dissipation inverters, where P2 to P5 have long channel lengths LP0 and LN0, and P6 and P7 has short (close to minimum) LP0 and LN0 and reshapes the clock edges as shown in inset 501. The delay can be increased by increasing LP0 and LN0, and/or increasing the number of low power dissipation inverters with long LP0 and LN0. The mode of operation is as follows: first, assume that the NAND gate P0 is replaced with a normal inverter with input

CK_COMP, and further CK_SMP=0 clear the flip-flop output SD to 0. The rising edge of CK_SMP starts the ring oscillator consisting of 303, 305 and 307 in 300, and the rising edge of CK_COMP arises after the delay of the ring oscillator.

[0033] The rising edge of CK_COMP will start to propagate through the ports P0 to P9 and clock the flip-flop. The value of DPNORDN will then be transferred from D to Q and set SD. If DPNORDN=l at rising edge of CK9, no decision is made by the comparator and SD is set to 1. In this case, a stall is detected. However, if DPNORDN=0 at rising edge of CK9, decision is made by the comparator and SD is set to 0.

[0034] For a well-designed comparator, it is somewhat unusual for a decision not to be made, assuming that the input common mode voltage is in a safe range. The stall detect circuit runs at every clock edge of CK_COMP, n times resolved sample, and the flip-flop is clocked at every rising edge of CK9. The traditional stall detect circuit therefore dissipates a significant portion of the total ADC power dissipation. This is the reason for the NAND PO. In most cases DPNORDN goes low directly after CK_COMP goes high, as shown for the rising edge of CK_COMP in the timing diagram of Figure 6. Due to the NAND-gate PO in Figure 5, the negative edge of DPNORDN resets the delay chain PO to P9 before the rising edge of CK_COMP has travelled too far down in the chain of inverters.

[0035] To facilitate this, the inverters P2 to P5 must be made unsymmetrical: P2 and P4 have long LN0 and short LP0 such that CK2 and CK4 have long negative edges and short positive edges; P3 and P5 have long LP0 and short LN0 such that CK3 and CKS have long positive edges and short negative edges.

[0036] As a result, DPNORDN= 1 and rising edge of CK_COMP is delayed through the delay chain, CK_COMP=l and falling edge of DPNORDN (decision made by comparator) does fast reset of the chain (the falling edge of DPNORDN travels much faster than the rising edge of CK_COMP does). In most cases the rising edge of CK_COMP has triggered only P2 before it is reset by falling edge of DPNORDN. This prevents most of the chain from toggling, and prevents the flip-flop from being clocked, which again reduces the power drawn by the stall detect circuit considerably.

[0037] In a further embodiment of the STALLDETECT-block, the STALLDETECT output SD is used to stop the ring oscillator by setting ENABLE=0 and

CK_COMP_ENABLE=0. The clock CK_COMP is stopped, and does not restart even if a decision is made at a later time. The STALLDETECT output is further used to alert the system receiving output data from the ADC that the ADC is in stall such that further actions can be taken if necessary.

[0038] In yet a further embodiment, a pseudo random generator is included with an output bit B. When the output of the STALLDETECT-block SD is set to 1, the SAR bit under evaluation is set to B and the SAR algorithm is continued.

[0039] From the foregoing, it will be appreciated that while only certain embodiments have been set forth for the purposes of illustration, alternatives and modifications will be apparent from the above description to those skilled in the art. These and other alternatives are considered equivalents and within the spirit and scope of this disclosure and the appended claims.