• Become a member
  • Log In
The Institution of Electronics
  • Home
  • About us
    • Our Objectives
    • Our History
    • Governance of the Institution
  • The Electron Magazine
    • 2024
      • 2024 – Winter
      • 2024 – Spring
      • 2024 – Summer
      • 2024 – Autumn
    • 2025
      • 2025 – Winter
      • 2025 – Spring
      • 2025 – Summer
      • 2025 – Autumn
    • 2026
      • 2026 – Winter
  • Members
    • Membership Grades and Fees
    • Members’ Resources
      • The Electron Newsletter
      • The Archives
  • Education and Projects
    • National Electronics Competition
    • Student Members’ Projects
    • Arkwright Engineering Scholarships
  • News
  • Contact Us
  • Menu Menu
Uncategorised

Simple circuit interfaces differential capacitance sensor

This design based on an SR latch and two RC networks is, unlike many alternative solutions, neither complex nor expensive.

Single and differential capacitance sensors are widely used to measure linear and angle displacement, pressure, proximity, humidity, fluid level, inclination and acceleration. Both analog and digital circuits are used to interface the sensors (References 1-4). Some of the solutions tend to be complex and expensive (References 5-9).

Wow the engineering world with your unique design: Design Ideas Submission Guide

This Design Idea presents a very simple circuit to interface differential capacitance sensors (Figure 1). It is a relaxation oscillator made of an SR latch and two RC networks. When one of the capacitors is gradually charged through the corresponding resistor, the other capacitor is quickly discharged through a parallel switch. When the charging capacitor reaches the trip voltage VT of its gate, the latch changes its state. The other capacitor starts charging and the first one is quickly discharged. When the second charging capacitor reaches the trip level VT of its gate, the latch flips again returning to the initial state. The charge-discharge process repeats over and over again.


Figure 1 The sensor becomes part of a relaxation oscillator where one of the capacitors is charging when the other one is shorted; the two capacitors periodically swap their operation.

Signal VQ1 goes to a microcontroller, which measures time intervals t1 and t2 and calculates the average value VAVR = VDD * t1 / (t1 + t2). A number needs to be subtracted from this value so when the two capacitors are equal the average value is zero. Thus, the average value will be positive when C1 > C2 and negative when C1 < C2.

Circuit operation was tested with a bank of ten 50-pF capacitors. The left side of Figure 2 shows connections to set a duty cycle of 20%; the right side of the figure sets the duty cycle of 90%.


Figure 2 Sensor operation is simulated with a bank of 10 capacitors.

Figure 3 presents how period T and duty cycle D = t1 / T depend on the value of C1. Period barely changes between 96 and 98 µs, while the duty cycle is proportional to C1. A straight line fits perfectly the duty cycle data (the R2 factor equals 1); however, as Figure 4 shows, the line has a nonlinearity error of ±0.3%.


Figure 3 Circuit responses: at the top, the period is almost the same, below it, the duty cycle depends linearly on the value of C1.


Figure 4 The duty cycle response has a nonlinearity error of ±0.3 %.

The bump shape of the error graph means that a second-order polynomial may improve linearity. Indeed, equation y = 1*10-5 * x2 + 0.182 * x + 4.21 reduces the error down to ±0.1%. Such an equation is easy to implement in the microcontroller firmware.

Jordan Dimitrov is an electrical engineer & PhD with 40 years of experience. Currently, he teaches electrical and electronics courses at a Toronto community college.

Related Content

  • From gap to signal: Non-contact capacitive displacement sensors
  • Fundamentals in motion: Accelerometers demystified
  • An introduction to capacitive sensing

References

  1. Regtien P., E. Dertien. Sensors for mechatronics. 2nd ed., Ch. 5, Elsevier, 2018.
  2. Northrop R. B. Introduction to instrumentation and measurement. 3rd ed., CRC Press, 2014.
  3. Baxter L. Capacitive sensors. http://www.capsense.com/capsense-wp.pdf
  4. Differential capacitance pressure sensor circuit. https://instrumentationtools.com/differential-capacitance-pressure-sensor-circuit/
  5. Reverter F., O. Casas. Direct interface circuit for differential capacitive sensors. I2MTC 2008 – IEEE International Instrumentation and Measurement Technology Conference, Victoria, Vancouver Island, Canada, May 12-15, 2008.
  6. Barile G. et al. Linear integrated interface for automatic differential capacitive sensing. Proceedings 2017, 1, 592.
  7. Ferri G. et al. Automatic bridge-based interface for differential capacitive full sensing. 30th Eurosensors Conference, EUROSENSORS 2016. Procedia Engineering 168 (2016) 1585 – 1588.
  8. Bai Y. et al. Absolute position sensing based on a robust differential capacitive sensor with a grounded shield window. Sensors (Basel). 2016 May; 16(5): 680. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4883371/
  9. De Marcellis A., C. Reig, M. Cubells-Beltrán. A capacitance-to-time converter-based electronic interface for differential capacitive sensors. MDPI Electronics, Jan 2019.

The post Simple circuit interfaces differential capacitance sensor appeared first on EDN.

21 April 2026
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 whdsolutions http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png whdsolutions2026-04-21 13:23:552026-04-21 13:23:55Simple circuit interfaces differential capacitance sensor

Latest news

  • Radon: Level detection, risk determination, and as-needed mitigation13 August 2026 - 13:16
  • TI a first mover in CAN XL transceivers13 August 2026 - 10:13
  • Four-channel USB-UART IC boosts server management13 August 2026 - 05:08
  • eFuse speeds overcurrent detection13 August 2026 - 05:08
  • Memory platform tackles AI bottlenecks13 August 2026 - 05:08
  • 6.5-kV SiC MOSFET reaches 8-kV blocking13 August 2026 - 05:08
  • Made by Google 2026: This limited silicon-supply situation really sucks13 August 2026 - 05:08
  • Cheap and cheerful LMC555 RC PWM pulse generator12 August 2026 - 13:56
  • Record high wafer shipments. Can fabs keep pace?12 August 2026 - 07:51
  • Analog uncertainty-aware design: How it replaces Monte Carlo with certifiable yield intelligence11 August 2026 - 16:31
IOE LOGO 2

Become a member

click here

Become a member

click here

Become a subscriber

click here

Become a sponsor

click here

© Copyright - The Institution of Electronics | Website by WHD Solutions
  • Link to LinkedIn
  • Link to Facebook
  • Link to X
Link to: Electronic biosensing: A quick take on ketone detection Link to: Electronic biosensing: A quick take on ketone detection Electronic biosensing: A quick take on ketone detection Link to: What’s the impact of AI on analog design Link to: What’s the impact of AI on analog design What’s the impact of AI on analog design
Scroll to top Scroll to top Scroll to top