Sense Small Inductance Changes Over A Wide Range

June 9, 2005
Small inductance changes on the order of 0.01% can easily be sensed over a wide range with a simple circuit connected to a serial port (see the figure). Using a classic Colpitts oscillator interfaced to an eight-pin Atmel ATtiny12-8 microprocessor,

Small inductance changes on the order of 0.01% can easily be sensed over a wide range with a simple circuit connected to a serial port (see the figure). Using a classic Colpitts oscillator interfaced to an eight-pin Atmel ATtiny12-8 microprocessor, the period of multiple oscillator cycles—which is proportional to the inductance—can be sensed. Applications include metallic proximity sensing and seismic detection.

The Colpitts oscillator output is level-shifted using R4 and R5 to a zero of about 1.2 V, which is the microprocessor's analog comparator reference voltage. The oscillation frequency of a Colpitts oscillator is:

F = 1/(2π√LC

where C = (C1 × C2)/(C1 + C2), the equivalent capacitance across the inductance.

The sensed inductance is:

L = 1/(((2πN)/T)2)C

where N is the number of oscillator cycles for the period T, and T is the time of the frequency measurement.

The RISC-based microprocessor (operating at an instruction rate of 8 MIPS) counts the number of LC oscillator cycles between a fixed number of crystal-oscillator clocks. With the circuit shown, values of C1 and C2 should be chosen so that the maximum LC oscillator frequency is about 500 kHz.

Frequency measurements are made for 32.5 ms. At the end of each measurement, four hex ASCII characters representing the number of cycles of the LC oscillator are serially transmitted. The online version of this article at www.elecdesign.com includes the ATtiny12 source code and HEX file.

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!