<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="review-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jlpea</journal-id>
      <journal-title>Journal of Low Power Electronics and Applications</journal-title>
      <abbrev-journal-title abbrev-type="publisher">JLPEA</abbrev-journal-title>
      <abbrev-journal-title abbrev-type="pubmed">JLPEA</abbrev-journal-title>
      <issn pub-type="epub">2079-9268</issn>
      <publisher>
        <publisher-name>MDPI</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3390/jlpea2040265</article-id>
      <article-id pub-id-type="publisher-id">jlpea-02-00265</article-id>
      <article-categories>
        <subj-group>
          <subject>Review</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>The Art of Directly Interfacing Sensors to Microcontrollers</article-title>
      </title-group>
	  <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Reverter</surname>
            <given-names>Ferran</given-names>
          </name>
        </contrib>
      </contrib-group>
      
      <aff id="af1-jlpea-02-00265">Castelldefels School of Technology, Universitat Politècnica de Catalunya, C/Esteve Terradas, 7, Castelldefels 08860, Barcelona, Spain; Email: <email>ferran.reverter@upc.edu</email>; Tel.: +34-93-413-70-76; Fax: +34-93-413-70-07</aff>
      <pub-date pub-type="epub">
        <day>29</day>
        <month>11</month>
        <year>2012</year>
      </pub-date>
      <pub-date pub-type="collection">
	  <month>12</month>
        <year>2012</year>
      </pub-date>
      <volume>2</volume>
      <issue>4</issue>
      <fpage>265</fpage>
      <lpage>281</lpage>
      <history>
        <date date-type="received">
          <day>24</day>
          <month>09</month>
          <year>2012</year>
        </date>
        <date date-type="rev-recd">
          <day>17</day>
          <month>10</month>
          <year>2012</year>
        </date>
        <date date-type="accepted">
          <day>19</day>
          <month>11</month>
          <year>2012</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2012 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
        <copyright-year>2012</copyright-year>
        <license xmlns:xlink="http://www.w3.org/1999/xlink" license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/3.0/">
          <p>This article is an open-access article distributed under the terms and conditions of the Creative Commons Attribution license (<uri>http://creativecommons.org/licenses/by/3.0/</uri>).</p>
        </license>
      </permissions>
      <abstract>
        <p>This paper reviews the direct connection of sensors to microcontrollers without using any analogue circuit (such as an amplifier or analogue-to-digital converter) in the signal path, thus resulting in a low-cost, lower-power sensor electronic interface. It first discusses the operating principle and explains how resistive and capacitive sensors with different topologies (<italic>i.e.</italic>, single, differential and bridge type) can be directly connected to a microcontroller to build the so-called direct interface circuit. It then shows some applications of the proposed circuits using commercial devices and discusses their performance. Finally, it deals with the power consumption and proposes some design guidelines to reduce the current consumption of such circuits in active mode.</p>
      </abstract>
      <kwd-group>
        <kwd>capacitive sensor</kwd>
        <kwd>microcontroller</kwd>
        <kwd>power consumption</kwd>
        <kwd>resistive sensor</kwd>
        <kwd>sensor electronic interface</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="intro">
      <title>1. Introduction</title>
      <p>Just as human beings acquire information about their environment through their senses and process such information using their brain, electronic systems perform such functions by means of sensors and processing digital devices such as microcontrollers (μC) or microprocessors (μP). Nowadays, such small but smart devices have become essential in many fields (industrial, automobiles, aircraft, medical devices, consumer electronics, home appliances, <italic>etc</italic>.) so that it is hard to imagine a society without them.</p>
      <p><xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(a) shows the classical block diagram of a sensor electronic interface [<xref ref-type="bibr" rid="B1-jlpea-02-00265">1</xref>]. First of all, the sensor transforms a signal from a given energy domain (such as thermal, magnetic, mechanical, chemical or radiant) to the electrical domain by changing—for example—its electrical resistance or capacitance. Afterwards, the signal conditioning circuit, which generally relies on operational amplifiers (OpAmp), performs some or all of the following tasks in the analogue domain: sensor output-to-voltage conversion, amplification, filtering, linearization and/or demodulation. The resulting analogue signal is then digitized via an analogue-to-digital converter (ADC). Finally, a digital system (e.g., a μC) acquires, stores, processes, controls, communicates (to other devices or systems) and/or displays the digital value with information about the measurand.</p>
      <fig id="jlpea-02-00265-f001" position="anchor">
        <label>Figure 1</label>
        <caption>
          <p>(<bold>a</bold>) Classical sensor electronic interface; (<bold>b</bold>) Direct interface circuit.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g001.tif"/>
      </fig>
      <p>Nowadays, several blocks, as shown in <xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(a), can be embedded into the same integrated circuit (IC). There are commercially available ICs that integrate the processing digital system, the ADC and/or some signal conditioning circuit; for instance, MSC1210 from Texas Instruments (TI). There are also commercial ICs that integrate the sensor, its signal conditioning circuit and/or the ADC; for example, ADXL103 and ADXL312 accelerometers from Analog Devices; such chips are usually known as integrated smart sensors [<xref ref-type="bibr" rid="B2-jlpea-02-00265">2</xref>]. Other commercial ICs integrate the required signal conditioning circuit and the ADC to measure a specific type of sensor; for instance, ADS1232 from TI for bridge-type resistive sensors and AD7745 from Analog Devices for single and differential capacitive sensors.</p>
      <p>For some sensors, however, the block diagram in <xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(a) can be simplified to that shown in <xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(b) [<xref ref-type="bibr" rid="B3-jlpea-02-00265">3</xref>], where the sensor is directly connected to the digital system without using either the signal conditioning circuit or the ADC; these circuits were initially proposed in application notes of μC’s manufacturers [<xref ref-type="bibr" rid="B4-jlpea-02-00265">4</xref>,<xref ref-type="bibr" rid="B5-jlpea-02-00265">5</xref>,<xref ref-type="bibr" rid="B6-jlpea-02-00265">6</xref>]. In such a circuit topology (so-called direct interface circuit), the μC appropriately excites the analogue sensor to get a signal (usually, a time-modulated signal) that can be directly measured in the digital domain, for instance, using an embedded digital timer; such output signals are also known as quasi digital since the analogue information (e.g., period or time interval) can be directly measured by a digital system. In comparison with the sensor electronic interface shown in <xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(a), a direct interface circuit is simpler and needs less components; actually, it just needs a common low-cost general-purpose 8-bit μC. Therefore, a direct interface circuit has advantages in terms of cost, physical space and power consumption, which is of major interest, for instance, in battery-powered measurement systems such as autonomous sensors. Furthermore, as will be shown along this paper, the performance of such circuits is quite remarkable taking into account their simplicity.</p>
      <p>This paper reviews most of the work carried out about direct interface circuits and is organized as follows. <xref ref-type="sec" rid="sec2-jlpea-02-00265">Section 2</xref> describes the operating principle of such circuits. <xref ref-type="sec" rid="sec3-jlpea-02-00265">Section 3</xref> and <xref ref-type="sec" rid="sec4-jlpea-02-00265">Section 4</xref> explain how these circuits can be used to measure different topologies of resistive and capacitive sensors, respectively, and then discuss their performance. <xref ref-type="sec" rid="sec5-jlpea-02-00265">Section 5</xref> deals with the power consumption and proposes some design guidelines to reduce the current consumption. Finally, <xref ref-type="sec" rid="sec6-jlpea-02-00265">Section 6</xref> takes some conclusions and forecasts the future research work about this topic.</p>
    </sec>
    <sec id="sec2-jlpea-02-00265">
      <title>2. Operating Principle</title>
      <p>Two measurement methods have been proposed so far to build the direct interface circuit shown in <xref ref-type="fig" rid="jlpea-02-00265-f001">Figure 1</xref>(b):</p>
      <list list-type="bullet">
        <list-item>
          <p>Direct interfaces based on a RC circuit [<xref ref-type="bibr" rid="B3-jlpea-02-00265">3</xref>], where the μC measures the time interval needed to charge (or discharge) a capacitance <italic>C</italic> to a given threshold voltage through a resistance <italic>R</italic>; this method has been applied to measure resistive and capacitive sensors.</p>
        </list-item>
        <list-item>
          <p>Direct interfaces based on charge transfer [<xref ref-type="bibr" rid="B7-jlpea-02-00265">7</xref>,<xref ref-type="bibr" rid="B8-jlpea-02-00265">8</xref>], where the μC counts the number of charge-transfer cycles needed to charge a reference capacitor to a given threshold voltage via a capacitive sensor; this method has been applied only to measure capacitive sensors.</p>
        </list-item>
      </list>
      <p>Most of the research work about direct interfaces has been focused on those based on RC circuits, whose basics are explained by means of <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>. </p>
      <fig id="jlpea-02-00265-f002" position="anchor">
        <label>Figure 2</label>
        <caption>
          <p>(<bold>a</bold>) RC circuit; (<bold>b</bold>) Charging process; (<bold>c</bold>) Discharging process.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g002.tif"/>
      </fig>
      <p>If <italic>C</italic> is initially discharged and a step of amplitude <italic>V</italic><sub>1</sub> is applied at the input, the output voltage is [see <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(b)]:
      <disp-formula id="jlpea-02-00265-i001"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i001.tif"/><label>(1)</label></disp-formula>
      and the time required to charge <italic>C</italic> from 0 to a given high threshold voltage (<italic>V</italic><sub>TH</sub>) is:
      <disp-formula id="jlpea-02-00265-i002"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i002.tif"/><label>(2)</label></disp-formula>
      which is proportional to <italic>R</italic> and <italic>C</italic>. On the other hand, if <italic>C</italic> is already charged to <italic>V</italic><sub>1</sub> and a step towards ground is applied at the input, the output voltage is [see <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(c)]:
      <disp-formula id="jlpea-02-00265-i003"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i003.tif"/><label>(3)</label></disp-formula>
      and the time needed to discharge <italic>C</italic> from <italic>V</italic><sub>1</sub> to a given low threshold voltage (<italic>V</italic><sub>TL</sub>) is:
      <disp-formula id="jlpea-02-00265-i004"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i004.tif"/><label>(4)</label></disp-formula>
      which again is proportional to <italic>R</italic> and <italic>C</italic>. According to (4), if <italic>C</italic>, <italic>V</italic><sub>1</sub> and <italic>V</italic><sub>TL</sub> are known and <italic>T</italic><sub>d</sub> is measured, then the resistance of the RC circuit could be estimated by <italic>R</italic> = <italic>T</italic><sub>d</sub>/(<italic>C</italic>ln(<italic>V</italic><sub>1</sub>/<italic>V</italic><sub>TL</sub>)).</p>
      <p>The RC circuit in <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(a) can be directly connected to a μC using the circuit topologies shown in <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(a) and <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a). In <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(a), <italic>R</italic> has been replaced by <italic>R<sub>x</sub></italic> (<italic>i.e.</italic>, a resistive sensor) and <italic>C</italic> by <italic>C</italic><sub>d</sub> (<italic>i.e.</italic>, a capacitor whose nominal value is known), whereas in <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a), <italic>C</italic> has been replaced by <italic>C<sub>x</sub></italic> (<italic>i.e.</italic>, a capacitive sensor) and <italic>R</italic> by <italic>R</italic><sub>d</sub> (<italic>i.e.</italic>, a resistor whose nominal value is known). Pins 1 and P are two input/output digital port pins. Pin 1, which is in charge of monitoring the exponential charging or discharging voltage, usually includes a Schmitt trigger (ST) buffer (with two threshold voltages) and should be associated to an external interrupt or a capture module. The circuits in <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(a) and <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a) can measure either the charging time or the discharging time of the RC circuit, but the measurement of the latter is more recommended since it has lower variability. This is because the discharging-time measurement uses the low threshold voltage (<italic>V</italic><sub>TL</sub>) of the ST buffer, which is less noisy [<xref ref-type="bibr" rid="B9-jlpea-02-00265">9</xref>] than the high threshold voltage (<italic>V</italic><sub>TH</sub>) used for the charging-time measurement. </p>
      <fig id="jlpea-02-00265-f003" position="anchor">
        <label>Figure 3</label>
        <caption>
          <p>(<bold>a</bold>) Basic direct interface circuit for a resistive sensor (<italic>R<sub>x</sub></italic>); (<bold>b</bold>) Pin configuration during the charging stage; (<bold>c</bold>) Pin configuration during the discharging stage. </p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g003.tif"/>
      </fig>
      <fig id="jlpea-02-00265-f004" position="anchor">
        <label>Figure 4</label>
        <caption>
          <p>(<bold>a</bold>) Basic direct interface circuit for a capacitive sensor (<italic>C<sub>x</sub></italic>); (<bold>b</bold>) Pin configuration during the charging stage; (<bold>c</bold>) Pin configuration during the discharging stage.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g004.tif"/>
      </fig>
      <p>The circuit in <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(a), which is for the measurement of resistive sensors, involves two operation stages: charging stage, and discharging and measurement stage. During the charging stage [see <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(b)], Pin 1 is set as an output providing a digital “1”, whereas Pin P is set as an input offering high impedance (HZ). Therefore, the capacitor <italic>C</italic><sub>d</sub> is quickly charged to the analogue output voltage (<italic>V</italic><sub>1</sub>) corresponding to a digital “1”, which is generally equal to the supply voltage (<italic>V</italic><sub>DD</sub>). During the discharging and measurement stage [see <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(c)], Pin 1 is set as a HZ input and Pin P is set as an output providing a digital “0” and, consequently, <italic>C</italic><sub>d</sub> is discharged towards ground through <italic>R<sub>x</sub></italic> while the embedded timer measures the time interval required to do so; such a measurement is carried out using a high-frequency oscillator (with a period <italic>T</italic><sub>S</sub>) as a reference. When the exponential discharging voltage crosses <italic>V</italic><sub>TL</sub>, the timer is read and a digital number proportional to <italic>R<sub>x</sub></italic> [see Equation (4)] is achieved. The resulting waveform of the voltage across <italic>C</italic><sub>d</sub> is similar to that shown in <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(c).</p>
      <p>For the measurement of a capacitive sensor (<italic>C<sub>x</sub></italic>), it is recommended to swap the position of the resistance and the capacitance, as shown in <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a), but again two operation stages are required. During the charging stage [see <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(b)], both pins are set as an output: Pin 1 provides a digital “1”, whereas Pin P provides a digital “0”. Therefore, <italic>C<sub>x</sub></italic> is rapidly charged to <italic>V</italic><sub>1</sub>. During the discharging and measurement stage [see <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(c)], Pin 1 is set as a HZ input and Pin P does not change its state and, consequently, <italic>C<sub>x</sub></italic> is discharged towards ground through the resistor <italic>R</italic><sub>d</sub> while the timer is running. When the voltage-threshold crossing is detected [see <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(c)], the timer is read and a digital number proportional to <italic>C<sub>x</sub></italic> [see Equation (4)] is achieved. </p>
    </sec>
    <sec id="sec3-jlpea-02-00265">
      <title>3. Circuits for Resistive Sensors</title>
      <p>The operating principle explained in <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref> can be applied to measure different topologies of resistive sensor. Before discussing the proposed circuit for each sensor topology, following are a few general remarks on the components required:</p>
      <list list-type="bullet">
        <list-item>
          <p>The capacitor <italic>C</italic><sub>d</sub> is determined by a speed-resolution trade-off [<xref ref-type="bibr" rid="B10-jlpea-02-00265">10</xref>], but for <italic>T</italic><sub>S</sub> = 250 ns it is advisable to operate with a time constant (<italic>R</italic>·<italic>C</italic>) of about a few units of millisecond. For instance, the measurement of a resistive sensor of 1 kΩ should use a <italic>C</italic><sub>d </sub>of a few units of microfarad (e.g., 2.2 μF).</p>
        </list-item>
        <list-item>
          <p>It is recommended to use an additional resistor <italic>R</italic><sub>i</sub> between Pin 1 and Node 1 [see <xref ref-type="fig" rid="jlpea-02-00265-f003">Figure 3</xref>(a)], which improves the rejection of power supply noise/interference [<xref ref-type="bibr" rid="B9-jlpea-02-00265">9</xref>] but at the expense of a longer charging stage. The cut-off frequency of the low-pass filter determined by <italic>R</italic><sub>i</sub> and <italic>C</italic><sub>d</sub> (during the charging stage) should be as low as possible but with a reasonable length of the charging process (say, less than 1 ms). For example, if <italic>C</italic><sub>d </sub>= 2.2 μF then <italic>R</italic><sub>i</sub> &lt; 100 Ω.</p>
        </list-item>
        <list-item>
          <p>It is also advisable to use an additional resistor <italic>R</italic><sub>s</sub> between Node 1 and <italic>R<sub>x</sub></italic> in order to ensure that the discharging current is smaller than the maximum output current (<italic>I</italic><sub>max</sub>) sunk by a port pin even when <italic>R<sub>x</sub></italic> is small; accordingly, direct interface circuits could also measure low-value resistive sensors such as metal strain gauges. Assuming <italic>V</italic><sub>DD </sub>= 5 V and <italic>I</italic><sub>max </sub>= 25 mA, then <italic>R</italic><sub>s</sub> &gt; 200 Ω.</p>
        </list-item>
      </list>
      <sec>
        <title>3.1. Single Resistive Sensor</title>
        <p>Single resistive sensors have one sensing element whose resistance <italic>R<sub>x</sub></italic> ( = <italic>R</italic><sub>0 </sub>(1 + <italic>x</italic><sub>R</sub>)) changes with the measurand; <italic>R</italic><sub>0</sub> is the nominal resistance at a reference value of the measurand and <italic>x</italic><sub>R</sub> is the relative change of resistance (<italic>i.e.</italic>, ∆<italic>R</italic>/<italic>R</italic><sub>0</sub>) due to the measurand. These sensors are commonly used to measure temperature (e.g., platinum sensors and thermistors), light (e.g., light-dependent resistors, LDR), gas (e.g., tin dioxide gas sensors) and humidity. The direct interface circuit proposed to measure such a type of sensor is shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a) [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>], which applies the three-signal auto-calibration technique [<xref ref-type="bibr" rid="B12-jlpea-02-00265">12</xref>] to have a measurement result insensitive to both multiplicative and additive parameters of the circuit. Accordingly, three discharging-time measurements are carried out: </p>
        <list list-type="simple">
          <list-item>
            <p>(a) Sensor measurement, which is intended to measure <italic>R<sub>x</sub></italic>.</p>
          </list-item>
          <list-item>
            <p>(b) Reference measurement, which is intended to measure a reference resistor (<italic>R</italic><sub>ref</sub>).</p>
          </list-item>
          <list-item>
            <p>(c) Offset measurement, which is intended to measure the offset brought about by the internal resistance (<italic>R</italic><sub>pin</sub>) of the port pins of the μC; such a resistance is assumed here to be the same for all the port pins but actually there is a mismatch of about a few tenths of ohm that generates offset and gain errors [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>].</p>
          </list-item>
        </list>
		<fig id="jlpea-02-00265-f005" position="anchor">
          <label>Figure 5</label>
          <caption>
            <p>Direct interface circuit for (<bold>a</bold>) single resistive sensor; (<bold>b</bold>) differential resistive sensor; (<bold>c</bold>) bridge-type resistive sensor.</p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g005.tif"/>
        </fig>
        
        <p><xref ref-type="table" rid="jlpea-02-00265-t001">Table 1</xref> summarizes the state of pins 2, 3 and 4 during the discharging stage and the resulting discharging time for each of the three measurements, where <italic>k</italic><sub>R</sub> = <italic>C</italic><sub>d </sub>ln(<italic>V</italic><sub>1</sub>/<italic>V</italic><sub>TL</sub>). Using the three discharging times (<italic>T<sub>x</sub></italic>, <italic>T</italic><sub>ref</sub> and <italic>T</italic><sub>off</sub>), the sensor resistance can be estimated by
        <disp-formula id="jlpea-02-00265-i005"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i005.tif"/><label>(5)</label></disp-formula>
        which is insensitive to the tolerance and low-frequency variability of <italic>C</italic><sub>d</sub>, <italic>V</italic><sub>1</sub> and <italic>V</italic><sub>TL</sub>.</p>
		<table-wrap id="jlpea-02-00265-t001" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t001_Table 1</object-id>
          <label>Table 1</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Pin 4</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T<sub>x</sub></italic> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R<sub>x</sub></italic> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Reference</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>ref</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R</italic><sub>ref</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>3.2. Differential Resistive Sensor</title>
        <p>Differential resistive sensors have two sensing elements <italic>R<sub>x</sub></italic><sub>1 </sub>( = <italic>R</italic><sub>0 </sub>(1 + <italic>x</italic><sub>R</sub>)) and <italic>R<sub>x</sub></italic><sub>2</sub> ( = <italic>R</italic><sub>0 </sub>(1 − <italic>x</italic><sub>R</sub>)) that share a terminal and undergo opposite changes, <italic>i.e.</italic>, if <italic>R<sub>x</sub></italic><sub>1</sub> increases with the measurand then <italic>R<sub>x</sub></italic><sub>2</sub> decreases and vice versa. Such sensors are frequently applied to measure linear or angular position/displacement, pressure (e.g., sensors based on Bourdon tubes), liquid level (e.g., float-based sensors) and magnetic field. The direct interface circuit proposed to measure such a type of sensor is shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(b) [<xref ref-type="bibr" rid="B13-jlpea-02-00265">13</xref>], which also performs three discharging-time measurements:</p>
        <list list-type="simple">
          <list-item>
            <p>(a) Sensor measurement #1, which is intended to measure <italic>R<sub>x</sub></italic><sub>1</sub>.</p>
          </list-item>
          <list-item>
            <p>(b) Sensor measurement #2, which is intended to measure <italic>R<sub>x</sub></italic><sub>2</sub>.</p>
          </list-item>
          <list-item>
            <p>(c) Offset measurement, which is intended to measure <italic>R</italic><sub>pin</sub>.</p>
          </list-item>
        </list>
        <p>The state of pins 2, 3 and 4 during the discharging stage and the discharging time for each of the three measurements is summarized in <xref ref-type="table" rid="jlpea-02-00265-t002">Table 2</xref>. By means of these three discharging times (<italic>T</italic><sub>1</sub>, <italic>T</italic><sub>2</sub> and <italic>T</italic><sub>off</sub>), the parameter <italic>x</italic><sub>R</sub> of the differential sensor can be estimated by
        <disp-formula id="jlpea-02-00265-i006"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i006.tif"/><label>(6)</label></disp-formula>
        Note that here it is better to estimate the measurand using <italic>x</italic><sub>R</sub> rather than <italic>R<sub>x</sub></italic><sub>1</sub> (or <italic>R<sub>x</sub></italic><sub>2</sub>), since <italic>R<sub>x</sub></italic><sub>1</sub> (or <italic>R<sub>x</sub></italic><sub>2</sub>) can be altered by undesired inputs such as temperature, thus causing multiplicative errors. Unlike the measurement of single resistive sensors, <italic>x</italic><sub>R</sub> can be estimated without using any reference resistor.</p>
		<table-wrap id="jlpea-02-00265-t002" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t002_Table 2</object-id>
          <label>Table 2</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(b).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Pin 4</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor #1</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>1</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R<sub>x</sub></italic><sub>1</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #2</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>2</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R<sub>x</sub></italic><sub>2</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>3.3. Bridge-Type Resistive Sensor</title>
        <p>Bridge-type resistive sensors have one, two or four sensing elements in a Wheatstone bridge, thus resulting in quarter-bridge, half-bridge or full-bridge sensor, respectively. These sensors are commonly used to measure weight (e.g., load cells based on metal strain gauges), pressure (e.g., sensors based on semiconductor strain gauges) and magnetic field (e.g., anisotropic (AMR) and giant (GMR) magnetoresistive sensors). The direct interface circuit proposed to measure such a type of sensor is shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(c) [<xref ref-type="bibr" rid="B14-jlpea-02-00265">14</xref>], which performs four discharging-time measurements (<italic>T</italic><sub>1</sub>, <italic>T</italic><sub>2</sub>, <italic>T</italic><sub>3</sub> and <italic>T</italic><sub>off</sub>) by applying the pins configuration indicated in <xref ref-type="table" rid="jlpea-02-00265-t003">Table 3</xref>. Accordingly, for a full-bridge topology with <italic>R<sub>x</sub></italic><sub>1</sub> = <italic>R<sub>x</sub></italic><sub>4</sub> = <italic>R</italic><sub>0</sub>(1+<italic>x</italic><sub>R</sub>) and <italic>R</italic><sub>x2</sub> = <italic>R</italic><sub>x3</sub> =<italic>R</italic><sub>0</sub>(1 <bold>–</bold> <italic>x</italic><sub>R</sub>), the parameter <italic>x</italic><sub>R</sub> of the sensor can be estimated by
        <disp-formula id="jlpea-02-00265-i007"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i007.tif"/><label>(7)</label></disp-formula></p>
        <p>For other bridge topologies, <italic>x</italic><sub>R</sub> can be estimated using other time-based equations [<xref ref-type="bibr" rid="B14-jlpea-02-00265">14</xref>]. Furthermore, for sensors whose output is temperature dependent (e.g., piezoresistive pressure sensors), the result obtained from (7) can be corrected by estimating the temperature by means of the sensor itself [<xref ref-type="bibr" rid="B15-jlpea-02-00265">15</xref>].</p>
		<table-wrap id="jlpea-02-00265-t003" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t003_Table 3</object-id>
          <label>Table 3</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(c). Note that <italic>R</italic><sub>A</sub> || <italic>R</italic><sub>B </sub>= (<italic>R</italic><sub>A</sub>·<italic>R</italic><sub>B</sub>)/(<italic>R</italic><sub>A</sub> + <italic>R</italic><sub>B</sub>).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Pin 4</th>
                <th align="center" valign="middle">Pin 5</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor #1</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>1</sub> = <italic>k</italic><sub>R</sub>[<italic>R</italic><sub>s</sub> + (<italic>R<sub>x</sub></italic><sub>4</sub> || (<italic>R<sub>x</sub></italic><sub>1</sub><italic>+ R<sub>x</sub></italic><sub>2</sub><italic>+ R<sub>x</sub></italic><sub>3</sub>)) + <italic>R</italic><sub>pin</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #2</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>2</sub> = <italic>k</italic><sub>R</sub>[<italic>R</italic><sub>s</sub> + ((<italic>R<sub>x</sub></italic><sub>3</sub> + <italic>R<sub>x</sub></italic><sub>4</sub>) || (<italic>R<sub>x</sub></italic><sub>1</sub><italic>+ R<sub>x</sub></italic><sub>2</sub>)) + <italic>R</italic><sub>pin</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #3</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>3</sub> = <italic>k</italic><sub>R</sub>[<italic>R</italic><sub>s</sub> + (<italic>R<sub>x</sub></italic><sub>2</sub> || (<italic>R<sub>x</sub></italic><sub>1</sub><italic>+ R<sub>x</sub></italic><sub>3</sub><italic>+ R<sub>x</sub></italic><sub>4</sub>)) + <italic>R</italic><sub>pin</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>k</italic><sub>R</sub>(<italic>R</italic><sub>s</sub> + <italic>R</italic><sub>pin</sub>)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>3.4. Applications and Results</title>
        <p>The direct interface circuits for resistive sensors shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref> have been applied to measure many physical and chemical quantities, for instance: temperature [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>], magnetic field [<xref ref-type="bibr" rid="B14-jlpea-02-00265">14</xref>], atmospheric pressure [<xref ref-type="bibr" rid="B16-jlpea-02-00265">16</xref>,<xref ref-type="bibr" rid="B17-jlpea-02-00265">17</xref>], tactile pressure [<xref ref-type="bibr" rid="B18-jlpea-02-00265">18</xref>], gas [<xref ref-type="bibr" rid="B19-jlpea-02-00265">19</xref>] and light [<xref ref-type="bibr" rid="B20-jlpea-02-00265">20</xref>]. <xref ref-type="table" rid="jlpea-02-00265-t004">Table 4</xref> summarizes the performance of such direct interface circuits in some of the previous applications using different commercial μCs.</p>
        <table-wrap id="jlpea-02-00265-t004" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t004_Table 4</object-id>
          <label>Table 4</label>
          <caption>
            <p>Applications and results of the direct interface circuits for resistive sensors shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>. </p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Reference</th>
                <th align="center" valign="middle">[<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>]</th>
                <th align="center" valign="middle">[<xref ref-type="bibr" rid="B13-jlpea-02-00265">13</xref>]</th>
                <th align="center" valign="middle">[<xref ref-type="bibr" rid="B14-jlpea-02-00265">14</xref>]</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">μC</td>
                <td align="center" valign="middle">PIC16F873<sup>(1)</sup> at 5 V–20 MHz</td>
                <td align="center" valign="middle">AVR ATtiny2313<sup>(2) </sup>at 5 V–20 MHz</td>
                <td align="center" valign="middle">MSP430F123<sup>(3) </sup>at 3 V–4 MHz</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor </td>
                <td align="center" valign="middle">Temperature sensor (Pt 1000) with a single topology</td>
                <td align="center" valign="middle">Potentiometric sensor (1 kΩ) with a differential topology</td>
                <td align="center" valign="middle">Magnetoresistive sensor (HMC1052<sup>(4)</sup>) with a full-bridge topology</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Interface circuit</td>
                <td align="center" valign="middle"><xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a) with <italic>R</italic><sub>ref</sub> = 1470 Ω, <italic>R</italic><sub>s</sub> = 330 Ω and <italic>C</italic><sub>d</sub> = 2.2 μF</td>
                <td align="center" valign="middle"><xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(b) with <italic>R</italic><sub>s</sub> = 470 Ω, <italic>R</italic><sub>i</sub> = 100 Ω and <italic>C</italic><sub>d</sub> = 470 nF</td>
                <td align="center" valign="middle"><xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(c) with <italic>R</italic><sub>i</sub> = 120 Ω and <italic>C</italic><sub>d</sub> = 2.2 μF</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Meas. range</td>
                <td align="center" valign="middle">[−45,120] °C</td>
                <td align="center" valign="middle">[−100,100]%<sup>(5)</sup></td>
                <td align="center" valign="middle">[75,600] μT</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Max. non-linearity error</td>
                <td align="center" valign="middle">0.01% FSS</td>
                <td align="center" valign="middle">0.01% FSS</td>
                <td align="center" valign="middle">1.8% FSS</td>
              </tr>
              <tr>
                <td align="center" valign="middle">ENOB (for a given measuring time)</td>
                <td align="center" valign="middle">11 b (5 ms) 12.5 b (50 ms)</td>
                <td align="center" valign="middle">11.5 b (1 ms) 13 b (100 ms)</td>
                <td align="center" valign="middle">7 b (50 ms)</td>
              </tr>
            </tbody>
          </table>
		  <table-wrap-foot><fn><p><bold><sup>(</sup></bold><sup>1)</sup> From Microchip. <sup>(2)</sup> From Atmel. <sup>(3)</sup> From Texas Instruments. <sup>(4)</sup> From Honeywell. <sup>(5)</sup> Such a range means that the movable common terminal of the potentiometric sensor moves from one end to the other. FSS stands for Full-Scale Span, and ENOB stands for Effective Number Of resolution Bits.</p></fn></table-wrap-foot>
        </table-wrap>
        
        <p>The values of non-linearity and resolution shown in <xref ref-type="table" rid="jlpea-02-00265-t004">Table 4</xref> for the first two cases [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>,<xref ref-type="bibr" rid="B13-jlpea-02-00265">13</xref>] are quite remarkable taking into account the simplicity of such interface circuits; actually, the results from [<xref ref-type="bibr" rid="B13-jlpea-02-00265">13</xref>] are comparable to (and even better than) those specified in [<xref ref-type="bibr" rid="B21-jlpea-02-00265">21</xref>,<xref ref-type="bibr" rid="B22-jlpea-02-00265">22</xref>], where a relaxation oscillator is used between the sensor and the μC. In these two cases [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>,<xref ref-type="bibr" rid="B13-jlpea-02-00265">13</xref>], the non-linearity error is mainly due to the effects of quantization in the discharging-time measurement, whereas the resolution is determined by the effects of both quantization and noise/interference affecting the voltage-threshold crossing [see <xref ref-type="fig" rid="jlpea-02-00265-f002">Figure 2</xref>(c)]. The experimental results for the third case in <xref ref-type="table" rid="jlpea-02-00265-t004">Table 4</xref> [<xref ref-type="bibr" rid="B14-jlpea-02-00265">14</xref>], however, are not as excellent as the previous ones. On the one hand, this is due to the non-linearity of the commercial sensor tested; in other words: if the direct interface circuit in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(c) measures a bridge circuit emulated by resistors instead of such a sensor, the maximum non-linearity error of the circuit is about 0.1% FSS. On the other hand, the lower value of resolution is due to the low sensitivity of the commercial sensor. As a rule of thumb, direct interface circuits are able to detect changes of resistance of about 0.1 Ω, which is a very small value when measuring the temperature sensor [<xref ref-type="bibr" rid="B11-jlpea-02-00265">11</xref>] but not when measuring such a magnetoresistive sensor whose dynamic range is about ±6 Ω.</p>
      </sec>
    </sec>
    <sec id="sec4-jlpea-02-00265">
      <title>4. Circuits for Capacitive Sensors</title>
      <p>Different topologies of capacitive sensor can be directly measured by a μC using the operating principle explained in <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>. Again, before discussing the proposed circuits, following are a few general remarks on the components required:</p>
      <list list-type="bullet">
        <list-item>
          <p>The resistor <italic>R</italic><sub>d</sub> is determined by a speed-resolution trade-off [<xref ref-type="bibr" rid="B10-jlpea-02-00265">10</xref>]. However, unlike <xref ref-type="sec" rid="sec3-jlpea-02-00265">Section 3</xref>, here it is advisable to operate with a shorter time constant (say, a few hundreds of microsecond); otherwise, the resulting <italic>R</italic><sub>d</sub> is too high and then Node 1 [see <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a)] becomes a high-impedance point too susceptible to interference. For instance, the measurement of a capacitive sensor of 150 pF should use an <italic>R</italic><sub>d </sub>of a few units of megaohm (e.g., 1 MΩ).</p>
        </list-item>
        <list-item>
          <p>It is also recommended to use an additional resistor <italic>R</italic><sub>i</sub> between Pin 1 and Node 1 [see <xref ref-type="fig" rid="jlpea-02-00265-f004">Figure 4</xref>(a)] to improve the rejection of power supply noise/interference [<xref ref-type="bibr" rid="B9-jlpea-02-00265">9</xref>]. The cut-off frequency of the low-pass filter determined by <italic>R</italic><sub>i</sub> and <italic>C<sub>x</sub></italic> (during the charging stage) should be as low as possible but at the same time <italic>R</italic><sub>i</sub> must be much smaller than <italic>R</italic><sub>d</sub> in order to ensure an appropriate charge of <italic>C<sub>x</sub></italic>. For example, if <italic>R</italic><sub>d </sub>= 1 MΩ then <italic>R</italic><sub>i</sub> &lt; 1 kΩ.</p>
        </list-item>
      </list>
      <sec>
        <title>4.1. Single Capacitive Sensor</title>
        <p>Single capacitive sensors have one sensing element whose capacitance <italic>C<sub>x</sub></italic> ( = <italic>C</italic><sub>0</sub>(1 + <italic>x</italic><sub>C</sub>)) changes, for example, with liquid level, humidity or gas; <italic>C</italic><sub>0 </sub>is the nominal capacitance at a reference value of the measurand and <italic>x</italic><sub>C</sub> is the relative change of capacitance (<italic>i.e.</italic>, ∆<italic>C</italic>/<italic>C</italic><sub>0</sub>) due to the measurand. These sensors can be directly connected to a μC using the circuit shown in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a) [<xref ref-type="bibr" rid="B23-jlpea-02-00265">23</xref>]. As in the resistive counterpart, this circuit applies the three-signal auto-calibration technique [<xref ref-type="bibr" rid="B12-jlpea-02-00265">12</xref>] and, for this reason, it carries out three discharging-time measurements:</p>
        <list list-type="simple">
          <list-item>
            <p>(a) Sensor measurement, which is intended to measure <italic>C<sub>x</sub></italic>.</p>
          </list-item>
          <list-item>
            <p>(b) Reference measurement, which is intended to measure a reference capacitor (<italic>C</italic><sub>ref</sub>).</p>
          </list-item>
          <list-item>
            <p>(c) Offset measurement, which is intended to measure the offset due to the parasitic capacitance (<italic>C</italic><sub>s</sub>) between Node 1 and ground; the parasitic capacitances of the port pins set as a HZ input are assumed negligible along this section, but their effects are carefully analyzed in [<xref ref-type="bibr" rid="B24-jlpea-02-00265">24</xref>].</p>
          </list-item>
        </list>
		<fig id="jlpea-02-00265-f006" position="anchor">
          <label>Figure 6</label>
          <caption>
            <p>Direct interface circuit for a (<bold>a</bold>) single capacitive sensor; (<bold>b</bold>) lossy capacitive sensor; (<bold>c</bold>) differential capacitive sensor; (<bold>d</bold>) bridge-type capacitive sensor. </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g006.tif"/>
        </fig>
        
        <p><xref ref-type="table" rid="jlpea-02-00265-t005">Table 5</xref> summarizes the state of pins 2 and 3 during the charge-discharge process and the discharging time for each of the three measurements, where <italic>k</italic><sub>C </sub>= <italic>R</italic><sub>d</sub> ln(<italic>V</italic><sub>1</sub>/<italic>V</italic><sub>TL</sub>). Once the three discharging times (<italic>T<sub>x</sub></italic>, <italic>T</italic><sub>ref</sub> and <italic>T</italic><sub>off</sub>) are measured, the sensor capacitance can be estimated by
        <disp-formula id="jlpea-02-00265-i008"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i008.tif"/><label>(8)</label></disp-formula>
        which again is insensitive to the tolerance and low-frequency variability of <italic>R</italic><sub>d</sub>, <italic>V</italic><sub>1</sub> and <italic>V</italic><sub>TL</sub>.</p>
		<table-wrap id="jlpea-02-00265-t005" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t005_Table 5</object-id>
          <label>Table 5</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T<sub>x</sub></italic> = <italic>k</italic><sub>C</sub>(<italic>C<sub>x</sub></italic> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Reference</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>ref</sub> = <italic>k</italic><sub>C</sub>(<italic>C</italic><sub>ref</sub> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>k</italic><sub>C</sub><italic>C</italic><sub>s</sub></td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>4.2. Lossy Capacitive Sensor</title>
        <p>Some capacitive sensors (for instance, those intended for the measurement of proximity, humidity and two-component fluids concentration) have a loss term that is usually modeled by a parasitic conductance <italic>G<sub>x</sub></italic> in parallel with <italic>C<sub>x</sub></italic>. If the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a) uses an extra port pin [Pin 0 in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(b)] and performs an additional discharging-time measurement <italic>T</italic><sub>ad</sub> [see <xref ref-type="table" rid="jlpea-02-00265-t006">Table 6</xref>, where <italic>k</italic> = ln(<italic>V</italic><sub>1</sub>/<italic>V</italic><sub>TL</sub>)], the two components of the sensor can be estimated by [<xref ref-type="bibr" rid="B25-jlpea-02-00265">25</xref>]:
        <disp-formula id="jlpea-02-00265-i009"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i009.tif"/><label>(9)</label></disp-formula>
        <disp-formula id="jlpea-02-00265-i010"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i010.tif"/><label>(10)</label></disp-formula>
        Note that if <italic>G<sub>x</sub></italic> is very small then <italic>T</italic><sub>ad</sub> is much longer than the other discharging times and, hence, Equation (9) is simplified to Equation (8).</p>
		<table-wrap id="jlpea-02-00265-t006" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t006_Table 6</object-id>
          <label>Table 6</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(b).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 0</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T<sub>x</sub></italic> = <italic>k</italic>(<italic>R</italic><sub>d</sub> || <italic>G<sub>x</sub></italic><sup>−1</sup>)(<italic>C<sub>x</sub></italic> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Reference</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>ref</sub> = <italic>kR</italic><sub>d</sub>(<italic>C</italic><sub>ref</sub> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>kR</italic><sub>d</sub><italic>C</italic><sub>s</sub></td>
              </tr>
              <tr>
                <td align="center" valign="middle">Additional</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>ad</sub> = <italic>kG<sub>x</sub></italic><sup>−1</sup>(<italic>C<sub>x</sub></italic> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>4.3. Differential Capacitive Sensor</title>
        <p>Differential capacitive sensors have two sensing elements <italic>C<sub>x</sub></italic><sub>1</sub> ( = <italic>C</italic><sub>0</sub>(1+ <italic>x</italic><sub>C</sub>)) and <italic>C<sub>x</sub></italic><sub>2</sub> ( = <italic>C</italic><sub>0</sub>(1+ <italic>x</italic><sub>C</sub>)) that share an electrode and undergo opposite changes, <italic>i.e.</italic>, if <italic>C<sub>x</sub></italic><sub>1</sub> increases with the measurand then <italic>C<sub>x</sub></italic><sub>2</sub> decreases and vice versa. Such sensors are commonly used to measure linear or angular position/displacement, acceleration, tilt and pressure. The direct interface circuit proposed to measure such a type of sensor is shown in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(c) [<xref ref-type="bibr" rid="B24-jlpea-02-00265">24</xref>], which performs the three discharging-time measurements (<italic>T</italic><sub>1</sub>, <italic>T</italic><sub>2</sub> and <italic>T</italic><sub>3</sub>) indicated in <xref ref-type="table" rid="jlpea-02-00265-t007">Table 7</xref>. Then, the parameter <italic>x</italic><sub>C</sub> (which enable us to estimate the measurand better than <italic>C<sub>x</sub></italic><sub>1</sub> or <italic>C<sub>x</sub></italic><sub>2</sub>) can be calculated by
        <disp-formula id="jlpea-02-00265-i011"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i011.tif"/><label>(11)</label></disp-formula></p>
        <p>The parameter <italic>x</italic><sub>C</sub> could also be estimated by performing an offset measurement and applying a time-based equation similar to (6) [<xref ref-type="bibr" rid="B26-jlpea-02-00265">26</xref>], but then the result would become more sensitive to the parasitic capacitances of the port pins set as a HZ input. Anyhow, as in the resistive counterpart, the proposed circuit does not require any reference capacitor.</p>
		<table-wrap id="jlpea-02-00265-t007" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t007_Table 7</object-id>
          <label>Table 7</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(c).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor #1</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>1</sub> = <italic>k</italic><sub>C</sub>(<italic>C<sub>x</sub></italic><sub>1</sub> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #2</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>2</sub> = <italic>k</italic><sub>C</sub>(<italic>C<sub>x</sub></italic><sub>2</sub> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #3</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>3</sub> = <italic>k</italic><sub>C</sub>(<italic>C<sub>x</sub></italic><sub>1</sub> + <italic>C<sub>x</sub></italic><sub>2</sub> + <italic>C</italic><sub>s</sub>)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>4.4. Bridge-Type Capacitive Sensor</title>
        <p>Capacitive sensors in a bridge topology are frequently applied to measure linear or angular position/displacement and pressure. These sensors can be directly connected to a μC using the interface circuit shown in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(d), which carries out the four discharging-time measurements (<italic>T</italic><sub>1</sub>, <italic>T</italic><sub>2</sub>, <italic>T</italic><sub>3 </sub>and <italic>T</italic><sub>off</sub>) indicated in <xref ref-type="table" rid="jlpea-02-00265-t008">Table 8</xref>. For a full-bridge topology with <italic>C</italic><sub>x1</sub> = <italic>C</italic><sub>x4</sub> = <italic>C</italic><sub>0</sub>(1+ <italic>x</italic><sub>C</sub>) and <italic>C</italic><sub>x2</sub> = <italic>C</italic><sub>x3</sub> = <italic>C</italic><sub>0</sub>(1 <bold>–</bold> <italic>x</italic><sub>C</sub>), the parameter <italic>x</italic><sub>C</sub> can be estimated by
        <disp-formula id="jlpea-02-00265-i012"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i012.tif"/><label>(12)</label></disp-formula></p>
        <p>For other bridge topologies, <italic>x</italic><sub>C</sub> can be estimated using similar time-based equations.</p>
		<table-wrap id="jlpea-02-00265-t008" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t008_Table 8</object-id>
          <label>Table 8</label>
          <caption>
            <p>Pins configuration and discharging time for each of the measurements carried out by the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(d). Note that <italic>C</italic><sub>A</sub>⊕<italic>C</italic><sub>B </sub>= (<italic>C</italic><sub>A</sub>·<italic>C</italic><sub>B</sub>)/(<italic>C</italic><sub>A</sub> + <italic>C</italic><sub>B</sub>).</p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Measurement</th>
                <th align="center" valign="middle">Pin 2</th>
                <th align="center" valign="middle">Pin 3</th>
                <th align="center" valign="middle">Pin 4</th>
                <th align="center" valign="middle">Discharging time</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">Sensor #1</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>1</sub> = <italic>k</italic><sub>C</sub>[(<italic>C<sub>x</sub></italic><sub>1</sub>⊕<italic>C<sub>x</sub></italic><sub>2</sub>) + <italic>C<sub>x</sub></italic><sub>4</sub> + <italic>C</italic><sub>s</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #2</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>2</sub> = <italic>k</italic><sub>C</sub>[<italic>C<sub>x</sub></italic><sub>2</sub> + <italic>C<sub>x</sub></italic><sub>4</sub> + <italic>C</italic><sub>s</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Sensor #3</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle">“0”</td>
                <td align="center" valign="middle"><italic>T</italic><sub>3</sub> = <italic>k</italic><sub>C</sub>[<italic>C<sub>x</sub></italic><sub>2</sub> + (<italic>C<sub>x</sub></italic><sub>3</sub>⊕<italic>C<sub>x</sub></italic><sub>4</sub>) + <italic>C</italic><sub>s</sub>]</td>
              </tr>
              <tr>
                <td align="center" valign="middle">Offset</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle">HZ</td>
                <td align="center" valign="middle"><italic>T</italic><sub>off</sub> = <italic>k</italic><sub>C</sub><italic>C</italic><sub>s</sub></td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        
      </sec>
      <sec>
        <title>4.5. Applications and Results</title>
        <p>The direct interface circuits shown in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref> have been applied mostly to measure capacitive relative humidity (RH) sensors [<xref ref-type="bibr" rid="B23-jlpea-02-00265">23</xref>,<xref ref-type="bibr" rid="B25-jlpea-02-00265">25</xref>,<xref ref-type="bibr" rid="B27-jlpea-02-00265">27</xref>], but also tilt sensors or accelerometers [<xref ref-type="bibr" rid="B24-jlpea-02-00265">24</xref>]. <xref ref-type="table" rid="jlpea-02-00265-t009">Table 9</xref> summarizes the performance of such direct interface circuits in some of the previous applications.</p>
        <table-wrap id="jlpea-02-00265-t009" position="float">
          <object-id pub-id-type="pii">jlpea-02-00265-t009_Table 9</object-id>
          <label>Table 9</label>
          <caption>
            <p>Applications and results of the direct interface circuits for capacitive sensors shown in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>. </p>
          </caption>
          <table>
<thead>
              <tr>
                <th align="center" valign="middle">Reference</th>
                <th align="center" valign="middle">[<xref ref-type="bibr" rid="B23-jlpea-02-00265">23</xref>]</th>
                <th align="center" valign="middle">[<xref ref-type="bibr" rid="B24-jlpea-02-00265">24</xref>]</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left" valign="middle">μC</td>
                <td colspan="2" align="left" valign="middle">AVR ATtiny2313<sup>(1) </sup>at 5 V–20 MHz</td>
              </tr>
              <tr>
                <td align="left" valign="middle">Sensor </td>
                <td align="left" valign="middle">RH sensor (HS1101<sup>(2)</sup>) with a single topology</td>
                <td align="left" valign="middle">Accelerometer (SCG10Z<sup>(3)</sup>) with a differential topology</td>
              </tr>
              <tr>
                <td align="left" valign="middle">Interface circuit</td>
                <td align="left" valign="middle"><xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a) with <italic>C</italic><sub>ref</sub> = 177 pF, <italic>R</italic><sub>d</sub> = 1 MΩ and <italic>R</italic><sub>i</sub> = 1 kΩ</td>
                <td align="left" valign="middle"><xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(c) with <italic>R</italic><sub>d</sub> = 20 MΩ and <italic>R</italic><sub>i</sub> = 10 kΩ</td>
              </tr>
              <tr>
                <td align="left" valign="middle">Meas. range</td>
                <td align="left" valign="middle">[10,90]%RH</td>
                <td align="left" valign="middle">[−1,1] <italic>g</italic> or [−90, +90] degrees</td>
              </tr>
              <tr>
                <td align="left" valign="middle">Max. non-linearity error</td>
                <td align="left" valign="middle">2.0% FSS</td>
                <td align="left" valign="middle">1.1% FSS</td>
              </tr>
              <tr>
                <td align="left" valign="middle">ENOB (for a given measuring time)</td>
                <td align="left" valign="middle">7.5 b (5 ms) 9 b (50 ms) </td>
                <td align="left" valign="middle">7 b (50 ms)</td>
              </tr>
            </tbody>
          </table>
		  <table-wrap-foot><fn><p><sup>(1)</sup> From Atmel. <sup>(2)</sup> From Humirel. <sup>(3)</sup> From VTI Technologies.</p></fn></table-wrap-foot>
        </table-wrap>
        
        <p>The non-linearity and resolution values shown in <xref ref-type="table" rid="jlpea-02-00265-t009">Table 9</xref> are not as good as those presented in <xref ref-type="table" rid="jlpea-02-00265-t004">Table 4</xref>, although they are still acceptable for many low-cost, low-power applications. Such differences between <xref ref-type="table" rid="jlpea-02-00265-t004">Table 4</xref> and <xref ref-type="table" rid="jlpea-02-00265-t009">Table 9</xref> are due to the higher effects of (i) the parasitic components of the μC (to be precise, the input parasitic capacitances of the port pins) and (ii) the noise/interference affecting the high-impedance node when a low-value capacitive sensor is measured; the effects of parasitic components and external interference could be higher if the sensor was remote from its electronics and, for this reason, it is highly recommended to place the μC as close as possible to the sensor. For the first application [<xref ref-type="bibr" rid="B23-jlpea-02-00265">23</xref>], the non-linearity error is mainly due to the non-linearity of the sensor; in fact, if the circuit measures capacitors instead of such a capacitive sensor, the maximum non-linearity error of the circuit is 0.1% FSS. On the other hand, a measurement of relative humidity with a resolution of 9 bits is clearly satisfactory for many applications since it means that the system is able to detect changes of 0.2% RH. The lower value of resolution for the second application in <xref ref-type="table" rid="jlpea-02-00265-t009">Table 9</xref> [<xref ref-type="bibr" rid="B24-jlpea-02-00265">24</xref>] is due to the very low sensitivity of the sensor (0.105 pF/<italic>g</italic>). When the specific IC designed in [<xref ref-type="bibr" rid="B28-jlpea-02-00265">28</xref>] was used to measure the same accelerometer, the resolution was 9 bits and the non-linearity error was 1.5% FSS, which are comparable to the results shown in <xref ref-type="table" rid="jlpea-02-00265-t009">Table 9</xref>.</p>
      </sec>
    </sec>
    <sec id="sec5-jlpea-02-00265">
      <title>5. Current Consumption</title>
      <p>For those applications in which the sensor is not read continuously but periodically (<italic>i.e.</italic>, every <italic>T</italic><sub>T</sub> seconds), the average current consumption of a direct interface circuit is
      <disp-formula id="jlpea-02-00265-i013"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i013.tif"/><label>(13)</label></disp-formula>
      where <italic>I</italic><sub>act</sub> is the average current consumption in active mode (<italic>i.e.</italic>, when the μC is working to perform the measurement), <italic>T</italic><sub>act</sub> is the time interval required to complete one measurement in active mode, <italic>N</italic> is the number of times that the measurement is repeated in active mode to average <italic>N</italic> measurements, <italic>I</italic><sub>sleep</sub> is the current consumption of the μC in sleep (or standby) mode, <italic>T</italic><sub>sleep</sub> is the time interval in which the μC is in sleep mode, and <italic>T</italic><sub>T</sub> = <italic>N·T</italic><sub>act</sub> + <italic>T</italic><sub>sleep</sub>. The value of <italic>I</italic><sub>sleep</sub> specifically depends on the low-power features of the μC, but it is generally smaller than 1 μA (even it can be smaller than 100 nA). On the other hand, the value of <italic>I</italic><sub>act</sub> clearly depends on the configuration of the resources embedded into the μC during the measurement. To reduce the current consumption, it is advisable to set the CPU (Central Processing Unit) and the timer as indicated in <xref ref-type="table" rid="jlpea-02-00265-t010">Table 10</xref> [<xref ref-type="bibr" rid="B29-jlpea-02-00265">29</xref>]; the rest of peripherals should be switched off. In the charging stage, the charging time should be controlled by the CPU running at low frequency (e.g., tens or hundreds of kHz); two remarks are as follows: (i) most of the current μCs have a prescaler to divide the master clock frequency, and (ii) a low-accuracy charging time (due to a low-frequency clock) is not a problem at all since the information is in the discharging time. In the discharging stage, the discharging time should be measured by the timer running at high frequency (e.g., units or tens of MHz) to have a good resolution, whereas the CPU should be off whenever this does not stop the operation of the interrupt system and the timer. In the processing stage, the CPU should run at high frequency (e.g., units or tens of MHz) to compute as fast as possible the resistance or capacitance of the sensor by means of, for example, (5) or (8).</p>
      <table-wrap id="jlpea-02-00265-t010" position="float">
        <object-id pub-id-type="pii">jlpea-02-00265-t010_Table 10</object-id>
        <label>Table 10</label>
        <caption>
          <p>Proposed state (on/off) and running frequency of the CPU and the embedded timer for each stage of the measurement.</p>
        </caption>
        <table>
  <thead>
            <tr>
              <th rowspan="2" align="center" valign="middle" style="border-bottom:solid thin">Stage</th>
              <th colspan="2" align="center" valign="middle" style="border-bottom:solid thin">CPU</th>
              <th colspan="2" align="center" valign="middle" style="border-bottom:solid thin">Timer</th>
            </tr>
            <tr>
              <th align="center" valign="middle" style="border-bottom:solid thin">State</th>
              <th align="center" valign="middle" style="border-bottom:solid thin">Frequency</th>
              <th align="center" valign="middle" style="border-bottom:solid thin">State</th>
              <th align="center" valign="middle" style="border-bottom:solid thin">Frequency</th>
            </tr>
  </thead>
  <tbody>
            <tr>
              <td align="center" valign="middle">Charging</td>
              <td align="center" valign="middle">on</td>
              <td align="center" valign="middle">low</td>
              <td align="center" valign="middle">off</td>
              <td align="center" valign="middle">-</td>
            </tr>
            <tr>
              <td align="center" valign="middle">Discharging</td>
              <td align="center" valign="middle">off</td>
              <td align="center" valign="middle">-</td>
              <td align="center" valign="middle">on</td>
              <td align="center" valign="middle">high</td>
            </tr>
            <tr>
              <td align="center" valign="middle" style="border-bottom:solid thin">Processing</td>
              <td align="center" valign="middle" style="border-bottom:solid thin">on</td>
              <td align="center" valign="middle" style="border-bottom:solid thin">high</td>
              <td align="center" valign="middle" style="border-bottom:solid thin">off</td>
              <td align="center" valign="middle" style="border-bottom:solid thin">-</td>
            </tr>
  </tbody>
        </table>
      </table-wrap>
      <p>The average current consumption in active mode in measurements involving three charging stages, three discharging stages and one processing stage (as happens, for example, in the direct interface circuits shown in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a) and <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a)) can be estimated by [<xref ref-type="bibr" rid="B29-jlpea-02-00265">29</xref>]
      <disp-formula id="jlpea-02-00265-i014"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-i014.tif"/><label>(14)</label></disp-formula>
      where <italic>C</italic> is the capacitance being charged [<italic>i.e.</italic>, <italic>C</italic><sub>d</sub> in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a) and <italic>C<sub>x</sub></italic> in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a)], <italic>T</italic><sub>c</sub> is the time interval required to charge <italic>C</italic>, <italic>T</italic><sub>d</sub> is the discharging time to be measured, <italic>T</italic><sub>p</sub> is the time interval required to process the discharging times, and <italic>I</italic><sub>int1</sub>, <italic>I</italic><sub>int2</sub> and <italic>I</italic><sub>int3</sub> are the average current consumed by the internal electronics of the μC during the charging, discharging and processing stages, respectively. Note that in Equation (14) <italic>T</italic><sub>d</sub> is assumed to be the same for the three measurements; this assumption does not make sense in terms of the result obtained from (5) or (8), but it does in terms of current consumption analysis. According to (14), the current consumed by the internal electronics of the μC plays an important role on the overall current consumption. Furthermore, the value of <italic>I</italic><sub>int1</sub>, <italic>I</italic><sub>int2</sub> and <italic>I</italic><sub>int3</sub> clearly depends on the supply voltage (<italic>V</italic><sub>DD</sub>) and operating frequency (<italic>f</italic><sub>clk</sub>) of the μC. <xref ref-type="table" rid="jlpea-02-00265-t011">Table 11</xref> shows, for example, some experimental values of such currents for an AVR μC running at different operating conditions when the configuration proposed in <xref ref-type="table" rid="jlpea-02-00265-t010">Table 10</xref> is applied.</p>
      <table-wrap id="jlpea-02-00265-t011" position="float">
        <object-id pub-id-type="pii">jlpea-02-00265-t011_Table 11</object-id>
        <label>Table 11</label>
        <caption>
          <p>Experimental values of average current consumed by the internal electronics of an AVR μC [<xref ref-type="bibr" rid="B29-jlpea-02-00265">29</xref>]. </p>
        </caption>
        <table>
  <thead>
            <tr>
              <th align="center" valign="middle"> </th>
              <th align="center" valign="middle">3 V–4 MHz</th>
              <th align="center" valign="middle">5 V–20 MHz</th>
            </tr>
  </thead>
  <tbody>
            <tr>
              <td align="center" valign="middle"><italic>I</italic><sub>int1</sub><sup>(1)</sup> (μA)</td>
              <td align="center" valign="middle">61</td>
              <td align="center" valign="middle">472</td>
            </tr>
            <tr>
              <td align="center" valign="middle"><italic>I</italic><sub>int2</sub><sup>(2)</sup> (mA)</td>
              <td align="center" valign="middle">0.43</td>
              <td align="center" valign="middle">4.13</td>
            </tr>
            <tr>
              <td align="center" valign="middle"><italic>I</italic><sub>int3</sub><sup>(3)</sup> (mA)</td>
              <td align="center" valign="middle">1.51</td>
              <td align="center" valign="middle">11.79</td>
            </tr>
  </tbody>
        </table>
		<table-wrap-foot><fn><p><sup>(1) </sup>CPU runs at <italic>f</italic><sub>clk</sub>/256. <sup>(2)</sup> Timer runs at <italic>f</italic><sub>clk</sub>, CPU is in idle mode. <sup>(3)</sup> CPU runs at <italic>f</italic><sub>clk</sub>.</p></fn></table-wrap-foot>
      </table-wrap>
      
      <p>Direct interface circuits for capacitive sensors are expected to be less power demanding than those for resistive sensors. This is because the first two components in Equation (14), which correspond to the charging stages, are almost negligible when measuring capacitive sensors in the picofarad range or smaller. Actually, the current consumption in active mode of direct interface circuits for capacitive sensors is equal, in a first approximation, to <italic>I</italic><sub>int2</sub>. Experimental tests carried out at 3 V – 4 MHz show that the current consumption when measuring capacitances (177 pF) is about 2–3 smaller than that when measuring resistances (1 kΩ), as shown in <xref ref-type="fig" rid="jlpea-02-00265-f007">Figure 7</xref>. In terms of measuring time and energy, a complete measurement of a 1-kΩ resistive sensor requires 1.6 ms and 7 μJ for <italic>C</italic><sub>d</sub> = 220 nF, and 5.8 ms and 27 μJ for <italic>C</italic><sub>d</sub> = 1 μF. </p>
      <fig id="jlpea-02-00265-f007" position="anchor">
        <label>Figure 7</label>
        <caption>
          <p>Theoretical and experimental values of current consumption in active mode (<italic>I</italic><sub>act</sub>) at 3 V – 4 MHz for (<bold>a</bold>) the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f005">Figure 5</xref>(a) when measuring a 1-kΩ resistive sensor, and (<bold>b</bold>) the circuit in <xref ref-type="fig" rid="jlpea-02-00265-f006">Figure 6</xref>(a) when measuring a 177-pF capacitive sensor.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jlpea-02-00265-g007.tif"/>
      </fig>
    </sec>
    <sec sec-type="conclusions" id="sec6-jlpea-02-00265">
      <title>6. Conclusions and Outlook</title>
      <p>Direct interface circuits are able to measure different topologies of resistive and capacitive sensors just using a common low-cost general-purpose 8-bit μC with an embedded digital timer but without any on-chip ADC, OpAmp or analogue comparator. In spite of their simplicity and low cost, these circuits perform remarkably and therefore they could be very attractive for medium-accuracy, medium-resolution applications. Note, however, that such a satisfactory performance is to be expected when measuring resistive sensors in the kiloohm range and capacitive sensors in the picofarad range. The measurement of low-value resistive sensors (say, lower than 100 Ω) is feasible, but the discharging-time measurement would suffer from a significant offset effect due to <italic>R</italic><sub>s</sub>, whereas the measurement of high-value resistive sensors (say, higher than 10 MΩ) could be affected by the parasitic resistance of the input port pins of the μC. On the other hand, the measurement of capacitive sensors with a nominal capacitance smaller than 1 pF seems impracticable because of the high effects of the parasitic capacitances of the input port pins of the μC. Direct interface circuits implemented with different commercial μCs from different manufacturers show similar results and, therefore, the design of such circuits does not depend on any specific device or integrated circuit from any manufacturer. A measuring time of about units or tens of millisecond can be a limitation of such circuits if the quantity to be measured changes quite fast. </p>
      <p>The field of direct interface circuits is still under research and many interesting ideas could be developed in the near future. From the author’s point of view, future work on direct interface circuits could be focused on the following two directions: </p>
      <list list-type="simple">
        <list-item>
          <p>(a) Applications: Many measurement systems based on resistive and capacitive sensors, but especially those intended for low-cost low-power applications, could benefit from the advantages of direct interface circuits. In fact, recently, such circuits have been proposed to measure low-power magnetic sensors for vehicle detection [<xref ref-type="bibr" rid="B30-jlpea-02-00265">30</xref>], low-power gas sensors [<xref ref-type="bibr" rid="B19-jlpea-02-00265">19</xref>] and low-cost low-power RH sensors to be integrated into RFID labels [<xref ref-type="bibr" rid="B27-jlpea-02-00265">27</xref>].</p>
        </list-item>
        <list-item>
          <p>(b) Measurement of other types of sensor: Most of the research work done so far on direct interface circuits has been focused on measuring resistive and capacitive sensors, but the direct measurement of other types of sensor is also of interest. For instance, the measurement of voltage-output sensors [<xref ref-type="bibr" rid="B31-jlpea-02-00265">31</xref>], current-output sensors [<xref ref-type="bibr" rid="B32-jlpea-02-00265">32</xref>] and impedance sensors [<xref ref-type="bibr" rid="B33-jlpea-02-00265">33</xref>] has been proposed very recently.</p>
        </list-item>
      </list>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References and Notes</title>
      <ref id="B1-jlpea-02-00265">
        <label>1.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Webster</surname>
              <given-names>J.G.</given-names>
            </name>
          </person-group>
          <source>Sensors and Signal Conditioning</source>
          <edition>2nd</edition>
          <publisher-name>John Wiley &amp; Sons</publisher-name>
          <publisher-loc>New York, NY, USA</publisher-loc>
          <year>2001</year>
        </citation>
      </ref>
      <ref id="B2-jlpea-02-00265">
        <label>2.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Huising</surname>
              <given-names>J.H.</given-names>
            </name>
          </person-group>
          <article-title>Smart sensor systems: Why? Where? How?</article-title>
          <source>Smart Sensor Systems</source>
          <person-group person-group-type="editor">
            <name>
              <surname>Meijer</surname>
              <given-names>G.C.M.</given-names>
            </name>
          </person-group>
          <publisher-name>Wiley</publisher-name>
          <publisher-loc>Chichester, UK</publisher-loc>
          <year>2008</year>
          <fpage>1</fpage>
          <lpage>21</lpage>
        </citation>
      </ref>
      <ref id="B3-jlpea-02-00265">
        <label>3.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <source>Direct Sensor-to-Microcontroller Interface Circuits. Design and Characterization</source>
          <publisher-name>Marcombo</publisher-name>
          <publisher-loc>Barcelona, Spain</publisher-loc>
          <year>2005</year>
        </citation>
      </ref>
      <ref id="B4-jlpea-02-00265">
        <label>4.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Cox</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <source>Implementing Ohmmeter/Temperature Sensor</source>
          <publisher-name>Microchip Technology AN512</publisher-name>
          <publisher-loc>Chandler, AZ, USA</publisher-loc>
          <year>1994</year>
        </citation>
      </ref>
      <ref id="B5-jlpea-02-00265">
        <label>5.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Bierl</surname>
              <given-names>L.</given-names>
            </name>
          </person-group>
          <source>Precise Measurements with the MSP430</source>
          <publisher-name>Texas Instruments</publisher-name>
          <publisher-loc>Dallas, TX, USA</publisher-loc>
          <year>1996</year>
        </citation>
      </ref>
      <ref id="B6-jlpea-02-00265">
        <label>6.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Richey</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <source>Resistance and Capacitance Meter Using a PIC16C622</source>
          <publisher-name>Microchip Technology AN611</publisher-name>
          <publisher-loc>Chandler, AZ, USA</publisher-loc>
          <year>1997</year>
        </citation>
      </ref>
      <ref id="B7-jlpea-02-00265">
        <label>7.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Dietz</surname>
              <given-names>P.H.</given-names>
            </name>
            <name>
              <surname>Leigh</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Yerazunis</surname>
              <given-names>W.S.</given-names>
            </name>
          </person-group>
          <article-title>Wireless liquid level sensing for restaurant applications</article-title>
          <source>Proceedings of The 1st IEEE International Conference on Sensors</source>
          <conf-loc>Orlando, FL, USA</conf-loc>
          <conf-date>12–14 June 2002</conf-date>
          <fpage>715</fpage>
          <lpage>719</lpage>
        </citation>
      </ref>
      <ref id="B8-jlpea-02-00265">
        <label>8.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Gaitán-Pitre</surname>
              <given-names>J.E.</given-names>
            </name>
            <name>
              <surname>Gasulla</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Analysis of a direct interface circuit for capacitive sensors</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2009</year>
          <volume>58</volume>
          <fpage>2931</fpage>
          <lpage>2937</lpage>
          <pub-id pub-id-type="doi">10.1109/TIM.2009.2016782</pub-id>
        </citation>
      </ref>
      <ref id="B9-jlpea-02-00265">
        <label>9.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Gasulla</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Analysis of power-supply interference effects on direct sensor-to-microcontroller interfaces</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2007</year>
          <volume>56</volume>
          <fpage>171</fpage>
          <lpage>177</lpage>
          <pub-id pub-id-type="doi">10.1109/TIM.2006.887401</pub-id>
        </citation>
      </ref>
      <ref id="B10-jlpea-02-00265">
        <label>10.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Effective number of resolution bits in direct sensor-to-microcontroller interfaces</article-title>
          <source>Meas. Sci. Technol.</source>
          <year>2004</year>
          <volume>15</volume>
          <fpage>2157</fpage>
          <lpage>2162</lpage>
          <pub-id pub-id-type="doi">10.1088/0957-0233/15/10/028</pub-id>
        </citation>
      </ref>
      <ref id="B11-jlpea-02-00265">
        <label>11.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Jordana</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Gasulla</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Accuracy and resolution of direct resistive sensor-to-microcontroller interfaces</article-title>
          <source>Sens. Actuators A</source>
          <year>2005</year>
          <volume>121</volume>
          <fpage>78</fpage>
          <lpage>87</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2005.01.010</pub-id>
        </citation>
      </ref>
      <ref id="B12-jlpea-02-00265">
        <label>12.</label>
        <citation citation-type="book">
          <article-title>Interface electronics and measurement techniques for smart sensor systems</article-title>
          <source>Smart Sensor Systems</source>
          <person-group person-group-type="editor">
            <name>
              <surname>Meijer</surname>
              <given-names>G.C.M</given-names>
            </name>
          </person-group>
          <publisher-name>Wiley</publisher-name>
          <publisher-loc>Chichester, UK</publisher-loc>
          <year>2008</year>
          <fpage>23</fpage>
          <lpage>54</lpage>
        </citation>
      </ref>
      <ref id="B13-jlpea-02-00265">
        <label>13.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
          </person-group>
          <article-title>Interfacing differential resistive sensors to microcontrollers: a direct approach</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2009</year>
          <volume>58</volume>
          <fpage>3405</fpage>
          <lpage>3410</lpage>
          <pub-id pub-id-type="doi">10.1109/TIM.2009.2017651</pub-id>
        </citation>
      </ref>
      <ref id="B14-jlpea-02-00265">
        <label>14.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Sifuentes</surname>
              <given-names>E.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Direct interface circuit to linearise resistive sensor bridges</article-title>
          <source>Sens. Actuators A</source>
          <year>2008</year>
          <volume>147</volume>
          <fpage>210</fpage>
          <lpage>215</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2008.05.023</pub-id>
        </citation>
      </ref>
      <ref id="B15-jlpea-02-00265">
        <label>15.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Horak</surname>
              <given-names>G.</given-names>
            </name>
            <name>
              <surname>Bilas</surname>
              <given-names>V.</given-names>
            </name>
            <name>
              <surname>Gasulla</surname>
              <given-names>M.</given-names>
            </name>
          </person-group>
          <article-title>Novel and low-cost temperature compensation technique for piezoresistive pressure sensors</article-title>
          <source>Proceedings of XIX IMEKO World Congress</source>
          <conf-loc>Lisbon, Portugal</conf-loc>
          <conf-date>6–11 September 2009</conf-date>
          <fpage>2084</fpage>
          <lpage>2087</lpage>
        </citation>
      </ref>
      <ref id="B16-jlpea-02-00265">
        <label>16.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Jordana</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>A simple, efficient interface circuit for piezoresistive pressure sensors</article-title>
          <source>Sens. Actuators A</source>
          <year>2006</year>
          <volume>127</volume>
          <fpage>69</fpage>
          <lpage>73</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2005.11.013</pub-id>
        </citation>
      </ref>
      <ref id="B17-jlpea-02-00265">
        <label>17.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Yurish</surname>
              <given-names>S.Y.</given-names>
            </name>
          </person-group>
          <article-title>A simple and universal resistive-bridge sensors interface</article-title>
          <source>Sens. Transducers J.</source>
          <year>2011</year>
          <volume>10</volume>
          <fpage>46</fpage>
          <lpage>59</lpage>
        </citation>
      </ref>
      <ref id="B18-jlpea-02-00265">
        <label>18.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Vidal-Verdú</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Oballe-Peinado</surname>
              <given-names>O.</given-names>
            </name>
            <name>
              <surname>Sánchez-Durán</surname>
              <given-names>J.A.</given-names>
            </name>
            <name>
              <surname>Castellanos-Ramos</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Navas-González</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Three realizations and comparison of hardware for piezoresistive tactile sensors</article-title>
          <source>Sensors</source>
          <year>2011</year>
          <volume>11</volume>
          <fpage>3249</fpage>
          <lpage>3266</lpage>
          <pub-id pub-id-type="doi">10.3390/s110303249</pub-id>
        </citation>
      </ref>
      <ref id="B19-jlpea-02-00265">
        <label>19.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Courbat</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Briand</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Yue</surname>
              <given-names>L.</given-names>
            </name>
            <name>
              <surname>Raible</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Rooij</surname>
              <given-names>N.F.</given-names>
            </name>
          </person-group>
          <article-title>Drop-coated metal-oxide gas sensor on polyimide foil with reduced power consumption for wireless applications</article-title>
          <source>Sens. Actuators B</source>
          <year>2012</year>
          <volume>161</volume>
          <fpage>862</fpage>
          <lpage>868</lpage>
          <pub-id pub-id-type="doi">10.1016/j.snb.2011.11.050</pub-id>
        </citation>
      </ref>
      <ref id="B20-jlpea-02-00265">
        <label>20.</label>
        <citation citation-type="thesis">
          <person-group person-group-type="author">
            <name>
              <surname>Sifuentes</surname>
              <given-names>E.</given-names>
            </name>
          </person-group>
          <article-title>Autonomous Sensor for the Static Detection of Vehicles</article-title>
          <source>Ph.D. Thesis</source>
          <publisher-name>Universitat Politècnica de Catalunya</publisher-name>
          <publisher-loc>Barcelona, Spain</publisher-loc>
          <year>2009</year>
        </citation>
      </ref>
      <ref id="B21-jlpea-02-00265">
        <label>21.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Mohan</surname>
              <given-names>N.M.</given-names>
            </name>
            <name>
              <surname>Kumar</surname>
              <given-names>V.J.</given-names>
            </name>
          </person-group>
          <article-title>A novel signal conditioning circuit for push-pull-type resistive transducers</article-title>
          <source>Meas. Sci. Technol.</source>
          <year>2005</year>
          <volume>16</volume>
          <fpage>1848</fpage>
          <lpage>1852</lpage>
          <pub-id pub-id-type="doi">10.1088/0957-0233/16/9/018</pub-id>
        </citation>
      </ref>
      <ref id="B22-jlpea-02-00265">
        <label>22.</label>
        <citation citation-type="thesis">
          <person-group person-group-type="author">
            <name>
              <surname>Van der Goes</surname>
              <given-names>F.</given-names>
            </name>
          </person-group>
          <article-title>Low-Cost Smart Sensor Interfacing</article-title>
          <source>Ph.D. Thesis</source>
          <publisher-name>Delft University of Technology</publisher-name>
          <publisher-loc>Delft, The Netherlands</publisher-loc>
          <year>1996</year>
        </citation>
      </ref>
      <ref id="B23-jlpea-02-00265">
        <label>23.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
          </person-group>
          <article-title>Direct interface circuit for capacitive humidity sensors</article-title>
          <source>Sens. Actuators A</source>
          <year>2008</year>
          <volume>143</volume>
          <fpage>315</fpage>
          <lpage>322</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2007.11.018</pub-id>
        </citation>
      </ref>
      <ref id="B24-jlpea-02-00265">
        <label>24.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
          </person-group>
          <article-title>Interfacing differential capacitive sensors to microcontrollers: a direct approach</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2010</year>
          <volume>59</volume>
          <fpage>2763</fpage>
          <lpage>2769</lpage>
          <pub-id pub-id-type="doi">10.1109/TIM.2009.2036500</pub-id>
        </citation>
      </ref>
      <ref id="B25-jlpea-02-00265">
        <label>25.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
          </person-group>
          <article-title>A microcontroller-based interface circuit for lossy capacitive sensors</article-title>
          <source>Meas. Sci. Technol.</source>
          <year>2010</year>
          <pub-id pub-id-type="doi">10.1088/0957-0233/21/6/065203</pub-id>
        </citation>
      </ref>
      <ref id="B26-jlpea-02-00265">
        <label>26.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
          </person-group>
          <article-title>Direct interface circuit for differential capacitive sensors</article-title>
          <source>Proceedings of IEEE International Instrumentation and Measurement Technology Conference</source>
          <conf-loc>Victoria, Canada</conf-loc>
          <conf-date>12–15 May 2008</conf-date>
          <fpage>1609</fpage>
          <lpage>1612</lpage>
        </citation>
      </ref>
      <ref id="B27-jlpea-02-00265">
        <label>27.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Pelegrí-Sebastiá</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>García-Breijo</surname>
              <given-names>E.</given-names>
            </name>
            <name>
              <surname>Ibáñez</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Sogorb</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Laguarda-Miro</surname>
              <given-names>N.</given-names>
            </name>
            <name>
              <surname>Garrigues</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <article-title>Low-cost capacitive humidity sensor for application within flexible RFID labels based on microcontroller systems</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2012</year>
          <volume>61</volume>
          <fpage>545</fpage>
          <lpage>553</lpage>
          <pub-id pub-id-type="doi">10.1109/TIM.2011.2164860</pub-id>
        </citation>
      </ref>
      <ref id="B28-jlpea-02-00265">
        <label>28.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bracke</surname>
              <given-names>W.</given-names>
            </name>
            <name>
              <surname>Merken</surname>
              <given-names>P.</given-names>
            </name>
            <name>
              <surname>Puers</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Van Hoof</surname>
              <given-names>C.</given-names>
            </name>
          </person-group>
          <article-title>Ultra-low-power interface chip for autonomous capacitive sensor systems</article-title>
          <source>IEEE Trans. Circuits Syst. I</source>
          <year>2007</year>
          <volume>54</volume>
          <fpage>130</fpage>
          <lpage>140</lpage>
          <pub-id pub-id-type="doi">10.1109/TCSI.2006.887978</pub-id>
        </citation>
      </ref>
      <ref id="B29-jlpea-02-00265">
        <label>29.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Reverter</surname>
              <given-names>F.</given-names>
            </name>
          </person-group>
          <article-title>Power consumption in direct interface circuits</article-title>
          <source>IEEE Trans. Instrum. Meas.</source>
          <year>2012</year>
          <pub-id pub-id-type="doi">10.1109/TIM.2012.2216473</pub-id>
        </citation>
      </ref>
      <ref id="B30-jlpea-02-00265">
        <label>30.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Sifuentes</surname>
              <given-names>E.</given-names>
            </name>
            <name>
              <surname>Casas</surname>
              <given-names>Ò.</given-names>
            </name>
            <name>
              <surname>Pallàs-Areny</surname>
              <given-names>R.</given-names>
            </name>
          </person-group>
          <article-title>Wireless magnetic sensor node for vehicle detection with optical wake-up</article-title>
          <source>IEEE Sens. J.</source>
          <year>2011</year>
          <volume>11</volume>
          <fpage>1669</fpage>
          <lpage>1676</lpage>
          <pub-id pub-id-type="doi">10.1109/JSEN.2010.2103937</pub-id>
        </citation>
      </ref>
      <ref id="B31-jlpea-02-00265">
        <label>31.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bengtsson</surname>
              <given-names>L.</given-names>
            </name>
          </person-group>
          <article-title>Direct analog-to-microcontroller interfacing</article-title>
          <source>Sens. Actuators A</source>
          <year>2012</year>
          <volume>179</volume>
          <fpage>105</fpage>
          <lpage>113</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2012.02.048</pub-id>
        </citation>
      </ref>
      <ref id="B32-jlpea-02-00265">
        <label>32.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Stojanovic</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Karadaglic</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>A LED-LED-based photoplethysmography sensor</article-title>
          <source>Physiol. Meas.</source>
          <year>2007</year>
          <volume>28</volume>
          <fpage>N19</fpage>
          <lpage>N27</lpage>
          <pub-id pub-id-type="doi">10.1088/0967-3334/28/6/N01</pub-id>
        </citation>
      </ref>
      <ref id="B33-jlpea-02-00265">
        <label>33.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Czaja</surname>
              <given-names>Z.A.</given-names>
            </name>
          </person-group>
          <article-title>microcontroller system for measurement of three independent components in impedance sensors using a single square pulse</article-title>
          <source>Sens. Actuators A</source>
          <year>2012</year>
          <volume>173</volume>
          <fpage>284</fpage>
          <lpage>292</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sna.2011.10.018</pub-id>
        </citation>
      </ref>
    </ref-list>
  </back>
</article>
