Eric L.

asked • 10/06/22

Using least squares data fitting on a spiral inductor, long process with little knowledge on how to even tackle a problem like this

Approximate inductance formula. A planar spiral inductor, implemented in CMOS, for use in RF circuits.

The inductor is characterized by four key parameters:

• 𝑛, the number of turns (which is a multiple of 1/4, but that needn’t concern us)

• 𝑤, the width of the wire

• 𝑑, the inner diameter

• 𝐷, the outer diameter

The inductance 𝐿 of such an inductor is a complicated function of the parameters 𝑛, 𝑤, 𝑑, and

𝐷. The inductance 𝐿 can be found by solving Maxwell’s equations, which takes considerable

computer time, or by fabricating the inductor and measuring the inductance. In this problem

you will develop a simple approximate inductance model of the form


𝐿̂ = 𝛼n^ß1w^ß2d^ß3D^ß4,


The inductance where 𝛼, 𝛽1, 𝛽2, 𝛽3, 𝛽4 ∈ ℝ are constants that characterize the approximate

model. (since 𝐿 is positive, we have 𝛼 > 0, but the constants 𝛽2, ... , 𝛽4 can be negative.) This

simple approximate model, if accurate enough, can be used for design of planar spiral

inductors.


The accompanied data file inductor_data.m contains data for 50 inductors. (The data is

real, not that it would affect how you solve the problem ...) For inductor i, we give parameters

𝑛𝑖, 𝑤𝑖 , 𝑑𝑖 , and 𝐷𝑖 (all in μm), and also, the inductance 𝐿𝑖 (in nH) obtained from measurements.

(The data are organized as vectors of length 50. Thus, for example, 𝑤12 gives the wire width of

inductor 12.) Your task, i.e., the problem, is to find α, 𝛽1, ... , 𝛽4 so that


𝐿̂ 𝑖 = 𝛼𝑛i^𝛽1 𝑤i^𝛽2 𝑑i^𝛽3 𝐷i^𝛽4 = 𝐿i, for 𝑖 = 1, ... ,50 .


Your solution must include a clear description of how you found your parameters, as well as

their actual numerical values. Note that we have not specified the criterion that you use to

judge the approximate model (i.e., the fit between 𝐿̂ 𝑖 and 𝐿𝑖); we leave that to your

engineering judgment. But be sure to tell us what criterion you use. We define the percentage

error between 𝐿̂ i and 𝐿𝑖 as

𝑒i = 100 *|𝐿̂ i − 𝐿i|/𝐿i


Find the average percentage error for your model, i.e., (𝑒1 + ··· + 𝑒50)/50. (We are only

asking you to find the average percentage error for your model; we do not require that your

model minimize the average percentage error.) Hint: you might find it easier to work with

𝑙𝑜𝑔 𝐿.


All I know is that I can use the least squares data fitting and I think I can solve it via MATLAB but besides that I am unsure how one is suppose to explain the steps leading up to before solving it with MATLAB. The question confuses me on how one can solve for 5 unknowns and only one equation.

1 Expert Answer

By:

David F. answered • 08/28/25

Tutor
New to Wyzant

An Electrical Engineer With a Passion for Mentoring

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.