Skip to main content

Approximating Planar Inductors

I’m working on a project that needs non-contact detection. A few technologies fit — sonar, capacitive sensing, inductive sensing, and optical. Sonar and optical are out because of the enclosure, and capacitive sensing is too sensitive to temperature and humidity. That leaves inductive sensing. This post is my attempt to work through the principles. All data and designs are in the project repository.

Bit of Background
#

The basic principle is the Self-Resonant Frequency (SRF) of the planar coil inductor (PCI). In practice, the coil isn’t a perfect inductor — parasitic capacitance and trace resistance are unavoidable. Calculating the SRF is pretty straightforward.

\[ SRF = \frac{1}{2\pi\sqrt{LC}} \]

Where C is the total capacitance and L is the total inductance. The SRF shifts as you tweak either parameter.

When current flows through a trace, it induces a magnetic field around it. If the traces are arranged in a coil, those fields concentrate at the center.

When the field gets close to a conductive object like a copper sheet, it induces circular currents in the material — eddy currents. Just as current through a wire generates a field, those eddy currents generate their own, opposing the original. That’s Lenz’s Law. The opposing field reduces the effective inductance, shifting the SRF. That shift is the signal that something conductive is near the coil.

Inductance has two components, self-inductance and mutual inductance, which I’ll discuss below.

Mutual Inductance
#

I’ll try to explain this without going too deep. By Lenz’s Law, when magnetic flux from one loop (A) passes through a second loop (B), the ratio of that flux \(\Phi_B\) to the current \(I_A\) in loop A is the mutual inductance \(M_{BA}\). The relationship is symmetric: \(M_{BA} = M_{AB}\).

\[ M_{BA} = \Phi_B /I_A \]

This is given by the Neumann formula [1].

\[ M_{ij} = \frac{\mu_0R_iR_j}{2} \int_{\theta=0}^{2\pi} \frac{cos\theta}{\sqrt{R_i^2+R_j^2+d^2-2R_iR_jcos\theta}}d\theta \]

Where:

  • \( R_i, R_j \): Average radius of \(i^{th}\) and \(j^{th}\) loop between coil x and y, respectively
  • \( d \): Distance between coils

This method is computationally heavy. A 4-layer board with 15 turns per layer means computing mutual inductances between every pair of turns on different layers — 1350 pairs, each a numerical integration from 0 to 2\(\pi\). Instead, I’ll use a simpler approximation that gives a constant coupling coefficient between two inductors.

\[ M_{12} = K\sqrt{L_1L_2} \]

The K approximation is defined by the following paper [2]

\[ K = \frac{N^2}{0.64[(0.184x^3 - 0.525x^2 + 1.038x + 1.001)(1.67N^2 - 5.84N + 65)]} \]

Where

  • x: Distance between layers in mm
  • N: Number of turns in the layer

Self Inductance
#

Because the inductor is made up of consecutive loops, self-inductance can be explained much like mutual inductance. The flux from each loop passes through the others. By Faraday’s Law, that flux induces a current that opposes the incoming current. When the coil is flattened into two dimensions, its self-inductance can be approximated with the equation below [3]

\[ L = \frac{\mu_0N^2D_{avg}C_1}{2}(ln(\frac{C_2}{\sigma})+C_3\sigma+C_4\sigma^2) \]\[ \sigma = \frac{D_{outer} - D_{inner}}{D_{outer} + D_{inner}} \]

Where:

  • \( \mu_0 \): Free space permeability
  • \( N \): Number of turns
  • \( D_{avg} \): Average diameter of coil
  • \( \sigma \): Fill factor
  • \( C_1, C_2, C_3, C_4 \): Geometric coefficients [3]

Series Configuration
#

Applying Kirchhoff’s Voltage Law to a string of inductors in series, with mutual inductance included, gives a simple summing equation similar to resistors in series. If the inductors are wound so the induced fields point in the same direction, the mutual inductances add.

Series inductors
Fig 1: Magnetically coupled series inductors

\[ L_{eff} = L_a + M_{ab} + L_b + M_{ba} \]

The total effective inductance \(L_{eff}\) is the sum of the self-inductances \(L_a, L_b\) and the mutual inductances \(M_{ab}, M_{ba}\).

Parallel Configuration
#

In the parallel case, I find it easier to use a system of equations to define the two branch voltages.

Parallel Inductors
Fig 2: Magnetically coupled parallel inductors

\[ V_a = L_a\frac{di_a}{dt} + M_{ab}\frac{di_b}{dt} \]

\[ V_b = L_b\frac{di_b}{dt} + M_{ba}\frac{di_a}{dt} \]

The node voltages \(V_a, V_b\) are sums of voltages across inductors \(L_a, L_b\) and their mutual inductances \(M_{ab}, M_{ba}\). Since \(V_a = V_b\) and assuming the inductors are identical, we can reduce the equations above to:

\[ L_{p\_eff} = \frac{L_aL_b-M^2}{L_a+L_b-2M}\]

The point of parallel wiring isn’t to increase inductance — it’s to lower the resistance compared to a coil with similar physical dimensions, which makes for a more efficient drive circuit.

Planar Coil Inductor Layout
#

As mentioned, total inductance has two parts: self and mutual. For the coils to couple correctly, the winding direction has to flip on each subsequent layer.

PCB Planar Inductor
Fig 3: Multi-layer planar inductor

Trace Resistance
#

Trace resistance is reasonably straightforward. The trace length per layer is the arc length of an Archimedean spiral \(r(\theta) = r_0 + b\theta\), where \(r_0\) is the inner radius and \(b = p/(2\pi)\) is the radial growth per radian for pitch \(p\) (trace width plus trace-to-trace spacing). The exact arc length involves \(\sqrt{r^2 + (dr/d\theta)^2}\) in the integrand, but for typical PCB coils \(b \ll r_0\), so the approximation below is accurate to well under a percent:

\[ l \approx \int_{0}^{2n\pi} r(\theta)\,d\theta = 2\pi n r_0 + \pi n^2 p \]

Where:

  • \( l \): Trace length
  • \( n \): Number of turns
  • \( r_0 \): Inner radius
  • \( p \): Pitch (trace width + spacing)

Then the trace resistance is:

\[ R_{DC} = \rho\frac{L}{T*W} \]

Where:

  • \( \rho \): Resistivity (copper ≈ 17.1×10⁻⁶ Ω·mm)
  • \( L \): Length [mm]
  • \( T \): Thickness (1 oz copper, 0.018–0.035 mm)
  • \( W \): Width

Circuit Capacitance
#

Because the resonant frequency depends on both inductance and capacitance, a small fluctuation in an already small parasitic capacitance can shift the resonant frequency significantly. So we want a sensor capacitor much larger than the unknown parasitic capacitance, to keep parasitic fluctuations from masquerading as inductance changes.

Assume a parasitic capacitance of 1 pF, a parallel sensor capacitor of 10 pF, and a nominal inductance of 10 µH. A 50% fluctuation in the parasitic capacitance shifts the apparent inductance by about 5%. With a 1 nF sensor capacitor, the same 50% fluctuation shifts the apparent inductance by less than 0.01%.

Sensor C [F]Parastic C [F]Nominal L [H]Resonant F [Hz]Equivalent L [H]Percent Change [%]
10.000E-121.000E-1210.000E-0615.175E+0610.000E-060.000
10.000E-121.100E-1210.000E-0615.106E+0610.091E-060.909
10.000E-121.500E-1210.000E-0614.841E+0610.455E-064.545
10.000E-12900.000E-1510.000E-0615.244E+069.909E-06-0.909
10.000E-12500.000E-1510.000E-0615.532E+069.545E-06-4.545
1.000E-091.000E-1210.000E-061.591E+0610.000E-060.000
1.000E-091.100E-1210.000E-061.591E+0610.001E-060.010
1.000E-091.500E-1210.000E-061.590E+0610.005E-060.050
1.000E-09900.000E-1510.000E-061.591E+069.999E-06-0.010
1.000E-09500.000E-1510.000E-061.591E+069.995E-06-0.050

Table 1: Effects of parasitic capacitance on effective inductance

On the other hand, you can’t just drop in a 1 µF capacitor and be done. The more capacitance you add, the more high-frequency energy gets shunted away, lowering the bandwidth. In the figure below, at 1 nF, the gain at the resonant frequency is around -1.7 dB — for every volt in, 822 mV comes out. Easily measurable.

Sensor Capacitor vs Resonant Frequency circuit
Sensor Capacitor vs Resonant Frequency plot
Fig 4: Sensor Capacitor vs Resonant Frequency

To approximate the system better, I’ll approximate the parasitic capacitance too. There’s a voltage gradient across the PCI — source voltage at the input, ground at the output — so I’m modeling it as two long parallel plates spiraled in a coil.

\[ C = \frac{\epsilon * w * l}{d}\]

Where

  • \(\epsilon\) is the relative electric permeability of the FR4 material (~4.4)
  • w is the trace width
  • l is the trace length per layer
  • d is the thickness of the FR4 material

Validation
#

To check my math, I’m using the Texas Instruments online coil designer tool [5]. It can’t approximate a PCI wired in parallel, unfortunately. Below are comparison results for the calculated inductor value, parasitic capacitance, resonant frequency, and trace resistance — a small subset of the data; the complete database is here.

The coil ID encodes its physical dimensions.

Coil-Name

Inductor approximation
#

Coil NameSelf L ApproximationTotal L ApproximationTI Self LTI Total LTotal L Error
C106102200s1.349E-064.069E-061.110E-063.350E-06719.2E-09
C106152200s3.167E-069.898E-062.696E-068.423E-061.5E-06
C106202200s6.001E-0618.882E-065.228E-0616.441E-062.4E-06
C106102400s2.346E-067.080E-062.060E-066.213E-06867.1E-09
C106152400s5.201E-0616.256E-064.641E-0614.498E-061.8E-06
C106202400s9.382E-0629.523E-068.475E-0626.622E-062.9E-06
C106104200s1.349E-0615.831E-061.112E-0612.420E-063.4E-06
C106154200s3.167E-0639.774E-062.690E-0632.116E-067.7E-06
C106204200s6.001E-0676.336E-065.220E-0663.131E-0613.2E-06
C106104400s2.346E-0627.544E-062.060E-0623.004E-064.5E-06
C106154400s5.201E-0665.325E-064.641E-0655.354E-0610.0E-06
C106204400s9.382E-06119.354E-068.475E-06102.338E-0617.0E-06

Table 2: Inductor Approximation vs Texas Instrument Tool

Parasitic Capacitance
#

TI’s coil designer doesn’t give parasitic capacitance directly. It gives the self-resonant frequency and the total inductance — from those, you can back out the parasitic capacitance. Sadly, I don’t have a reference for how they got their numbers, so I’ll stick with my capacitance approximation and modify it if needed.

Coil NameApproximated Parasitic CTI SRFCalculated Parasitic CDifference
C106102200s2.9487E-1240.360E+064.642E-1236.48%
C106152200s5.2616E-1222.399E+065.994E-1212.22%
C106202200s8.1335E-1214.479E+067.349E-1210.67%
C106102400s4.3462E-1225.372E+066.333E-1231.37%
C106152400s7.3579E-1215.075E+067.688E-124.30%
C106202400s10.9285E-1210.260E+069.039E-1220.91%
C106104200s2.4683E-1220.996E+064.626E-1246.65%
C106154200s4.4043E-1211.470E+065.995E-1226.53%
C106204200s6.8082E-127.389E+067.349E-127.36%
C106104400s3.6381E-1213.186E+066.333E-1242.55%
C106154400s6.1590E-127.715E+067.688E-1219.89%
C106204400s9.1478E-125.232E+069.042E-121.17%

Table 3: Parasitic Capacitance Approximation vs Texas Instrument Tool

Trace Resistance
#

Trace resistance matters for two reasons. First, the coil’s resistance affects power dissipation. Second, it’s a manufacturing check — if the measured resistance differs too much from the calculation, that points to a PCB defect like a short.

Coil NameCalculated Trace ResistanceTI Trace ResistanceDifference
C106102200s0.9811.2000.219
C106152200s1.4722.6191.147
C106202200s1.9623.3891.427
C106102400s1.5981.8180.220
C106152400s2.3973.1000.703
C106202400s3.1964.6301.434
C106104200s2.8942.3960.498
C106154200s4.3404.3400.000
C106204200s5.7876.7780.991
C106104400s4.7123.6361.076
C106154400s7.0686.1990.869
C106204400s9.4249.2600.164

Table 4: Trace Resistance Approximation vs Texas Instrument Tool

Resonant Frequency
#

With the effective inductance, parasitic capacitance, and sensor capacitance, the circuit’s resonant frequency can be calculated.

Coil NameCalculated Resonant FrequencyTI Resonant FrequencyError
C106102200s2.472E+062.743E+069.89%
C106152200s1.581E+061.729E+068.54%
C106202200s1.142E+061.236E+067.63%
C106102400s1.871E+062.012E+066.99%
C106152400s1.231E+061.316E+066.43%
C106202400s910.547E+03970.507E+036.18%
C106104200s1.254E+061.424E+0611.96%
C106154200s789.467E+03885.439E+0310.84%
C106204200s568.526E+03631.114E+039.92%
C106104400s949.397E+031.046E+069.24%
C106154400s614.966E+03673.882E+038.74%
C106204400s453.639E+03495.275E+038.41%

Table 5: Resonant Frequency Approximation vs Texas Instrument Tool

Testing
#

Here I’m testing how closely my SRF and trace resistance approximations match reality.

SRF Testing
#

To find the SRF of the PCI, I’ll sweep frequency with a function generator and measure voltage gain on an oscilloscope. A damping resistor in series with the PCI dissipates more energy around the resonant frequency, which makes the peak easier to locate.

Damping Resistor vs Resonant Frequency circuit
Damping Resistor vs Resonant Frequency plot
Fig 5: Damping Resistor vs Resonant Frequency

Note: After painstakingly measuring the gain of all 36 PCIs across many frequencies — close to 1000 measurements — I remembered I could just apply a square wave to the input and measure the resulting damped oscillation. Live and learn.

Trace Resistance
#

Measuring trace resistance with my current setup is a bit of a challenge — trace resistance is low enough that a standard 2-wire measurement won’t work. I don’t have a 4-wire setup, so I’ll hack one together: an ammeter in series with a DC supply, energize the coil, measure the voltage across it. Good old-fashioned Ohm’s Law.

Results
#

Coil board

Sensor Resonant Frequency Results
#

As mentioned earlier, the resonant frequency is a function of inductance and total capacitance. There’s technically an infinite number of L–C combinations that produce the same resonant frequency, so with my current test setup, comparing this frequency should be enough to indicate whether my approximation is on the right track.

Coil NameResonant Frequency ApproximationTI Resonant FrequencyMeasured Resonant FrequencyError Percentage [Approx, TI]
C106102200s2.472E+062.743E+062.504E+061.27% 9.57%
C106152200s1.581E+061.729E+061.585E+060.26% 9.06%
C106202200s1.142E+061.236E+061.127E+061.26% 9.63%
C106102400s1.871E+062.012E+061.845E+061.44% 9.07%
C106152400s1.231E+061.316E+061.220E+060.95% 7.90%
C106202400s910.547E+03970.507E+03886.300E+032.74% 9.50%
C106104200s1.254E+061.424E+061.245E+060.69% 14.36%
C106154200s789.467E+03885.439E+03787.500E+030.25% 12.44%
C106204200s568.526E+03631.114E+03558.800E+031.74% 12.94%
C106104400s949.397E+031.046E+06922.300E+032.94% 13.41%
C106154400s614.966E+03673.882E+03604.200E+031.78% 11.53%
C106204400s453.639E+03495.275E+03438.000E+033.57% 13.08%
C106104200p2.508E+062.489E+060.74%
C106154200p1.579E+061.561E+061.18%
C106204200p1.137E+061.095E+063.85%
C106104400p1.899E+061.827E+063.91%
C106154400p1.230E+061.182E+064.06%
C106204400p907.278E+03857.600E+035.79%

Table 6: Resonant Frequency Comparisons

Trace Resistance results
#

Coil NameCalculated Trace ResistanceMeasure Trace ResistanceError %
C106102200s0.9811.206018.64%
C106152200s1.4722.162831.95%
C106202200s1.9623.451843.15%
C106102400s1.5981.74008.17%
C106152400s2.3972.960019.03%
C106202400s3.1964.717632.26%
C106104200s2.8944.950041.55%
C106154200s4.3408.956751.54%
C106204200s5.78713.960058.55%
C106104400s4.7127.182134.39%
C106154400s7.06812.699344.34%
C106204400s9.42418.372448.71%
C106104200p0.7230.989826.92%
C106154200p1.0851.761038.38%
C106204200p1.4472.808548.49%
C106104400p1.1781.482120.52%
C106154400p1.7672.788836.64%
C106204400p2.3563.794237.90%

Table 7: Trace Resistance Comparison

Source of Error
#

Parasitic Capacitance
#

The method I used to approximate the parasitic capacitance isn’t quite right. As mentioned above, the coil has a voltage gradient — but the most significant potential difference is in the outer rings of a two-layer board, and on 4-layer boards the potential alternates between outer and inner rings as you transition between layers.

A method described in this post [6] could be used to measure both inductance and parasitic capacitance, but ultimately an impedance analyzer would be the best tool for the job.

Trace Resistance
#

I was somewhat surprised by the trace resistance results — measured values were consistently higher than predicted. Two separate issues could be at play here, possibly compounding.

A. Cumulative error between the voltmeter and ammeter. If the ammeter reads high and the voltmeter reads low, the calculated resistance comes out higher than reality. B. Manufacturing tolerances. If the trace’s actual height and width were smaller than the design value, the resistance would come out higher than the calculation predicts.

Conclusion
#

The approximation held up reasonably well, with consistent alignment across coil configurations. If I were to do this again, I’d vary trace width and spacing more, to see how those affect parasitic capacitance.

Resonant Frequency
#

The approximation produced accurate results compared to measurement — in fact, significantly closer than the TI Coil Designer’s values. I can’t explain why the two approximations differ so much without more information about how TI computes its values. I know the self-inductances are being approximated with the same equation, and there’s still a discrepancy, so I suspect the main difference is in how physical dimensions are calculated.

Parallel Configuration
#

Wiring the PCI in parallel didn’t show much advantage. Comparing similar inductance values between a 2-layer and 4-layer board, the difference was about 1 \(\Omega\). I’ll be looking into this more when I start testing how the coils respond to conductive targets.

Citation
#

[1]Liu, T., Wei, Z., Chi, H., & Yin, B. (2019). Inductance Calculation of Multilayer Circular Printed Spiral Coils. Journal of Physics: ConferenceSeries, 1176, 062045. doi:10.1088/1742-6596/1176/6/062045

[2]Ulvr, M. (2018). Design of PCB search coils for AC magnetic flux density measurement. AIP Advances, 8(4), 047505. doi:10.1063/1.4991643

[3]Mohan, S., Hershenson, M., Boyd, S., Lee, T. (1999). Simple Accurate Expressions for Planar Spiral Inductances. IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 10

[4]Oberhauser, C. (2019). LDC Sensor Design. Texas Instruments White Paper

[5]Texas Instruments Coil Designer

[6]meettechniek.info (2014). Measuring parasitic properties