Building a poorguy's LCR bridge

Get Firefox!
I started this project mainly due to a sudden need to measure the value of capacitance and inductance while designing an RF oscillator. Many multimeter today do have the ability to measure capacitor value, and I do have such meter. However, the multimeter is not very good at measuring small capacitance, and it is unable to measure the value of an inductor.

Since I have a fairly good understanding of the background of a LCR bridge design and it is not very difficult to make an LCR bridge that has good precision, I thought it would be perfect as a side project. As an added bonus, the bridge will also measure the dissipation factor of the capacitor.

Looking at what components I have on hand, I realized an LCR bridge can be made very cheaply. By the time I optimize the design, I was putting together an LCR bridge with components costing less than $10! This breakthrough was made possible thanks to the popularity of MP3 players and powerful and cheap PCs. The most expensive component in a LCR bridge is a precision sine wave oscillator. By using a PC with a sound output, or an MP3 player, it is possible to generate high quality sine wave for cheap. Read on to find out how you can use a MP3 player to make an LCR bridge with minimal additional components.

Components required

Sound source: MP3 player or an PC with sound output We just need something that can play a WAV or MP3 file.

Measureing tool: A multimeter that can measure resistance and AC voltage.

Trim pots or variable resistors: We need a few of these as bridge elements.

Two 10Kohm 1% resistor. Any two matched value resistors from 1Kohm to 100Kohm will do. It is best if the two resistor is very well matched. You can buy a bag of them and use the multimeter to find two that has the closest value. The better the two resistor matches, the better your measurement will be.

LCR Bridge background

As an intro to the project, let's take what is a LCR bridge and what it takes to make one. If you just want to make an LCR bridge, skip to the last section.

To understanding the working of a LCR bridge, it is necessary to talk about how a capacitor, a resistor, and an inductor behaves in a AC circuit. Time to dust off your ECE101 textbook. Resistor is the easiest to understand elements out of the group. A perfect resistor behaves the same when an DC current pass though the resistor as when an AC current pass though it. It provide resistance to the current flowing though it thus dissipates energy in doing so. The simple relationship between the current, voltage and resistance is:

A perfect capacitor on the other hand, is a pure energy storage device. It does not dissipates any energy that pass though it. Rather, as an AC voltage is applied to a capacitor terminal, the current flow though the capacitor is current required to add and remove chage from the capacitor. As a result, the current flowing though the capacitor is out of phase when comparing to its terminal voltage. In fact, it is always 90 degrees ahead of the voltage across its terminal. The simple way to represent this is the use of imaginary number:

Similar to the capacitor, inductor is a pure energy storage device. As an exact compliment to the capacitor, the inductor use magnetic field to maintain the current passing though the inductor, adjusting its terminal voltage in doing so. Thus, the current flowing through the inductor is 90 degrees ahead of the terminal voltage. The equation the represent the voltage and current relationship across its terminal is:

As a summary, we can draw the resistor current (Ir), Inductor current (Ii) and capacitor current (Ic) all on the same vector diagram.

In a not so perfect world

In a perfect world with perfect capacitor and inductors, you get a pure energy storage device. However, in a real world, nothing is perfect. One of the key quality to energy storage device, may it be a capacitor, a battery or a pump storage device, is the efficiency of the storage device. Some amount of energy is always lost during the process. In a capacitor or inductor, this is paracidic resistance of the device. In a capacitor, it is called the dissipation factor, and in an inductor, it is called the quality factor. A quick way to model this loss is to add a series resistance in series of a pefect capacitor or inductor. Thus, a real life capacitor looks more like this:

With a LCR bridge, it is possible to measure the value of both Cc and Rc. Thus, it is possible to measure not just the value of the device, but also the quality of the device.

Wheatstone Bridge

Now let's look into what a Wheatstone bridge is. The most simple design is a resistor bridge, which is shown here:

There are a total of four resistive elements in a bridge. There is also a signal source and a meter at the center of the bridge. The element we have control is the resistive elements. The main function of the resistive bridge is to match the resistances in the bridge. When a bridge is balanced, which indicates the resistor R11 matches R12 and R21 matches R22, the output on the meter in the center goes to zero. This is because current that flow though R11 flows out of R12 and current flow though R21 flow out of R22. The voltage between left side of the meter and the right side of the meter will then be identical.

The beauty of the bridge is the source impedance of the signal source and the linearity of the meter does not affect the measurement. Even if you have a cheap meter that takes a lot of current to make the measurement (say, an old needle type analog meter), it still does a good job here as long as it is sensitive enough to tell you when there is no current flowing though the meter. If the signal source has substantial output impedance, the drop in output voltage caused by the current going though the bridge has the same effect on the left side of the bridge as the right side of the bridge. The net result cancel itself out and the bridge can still match the resistance to remarkable degree of accuracy.

Observant reader might notice that the bridge will also balance if R11 is equal to R21 and R12 is equal to R22. This is the case we are not going to consider here, so we won't discuss this case further.

How about a reactive element instead of resistors?

The simple bridge design work just as well with reactive element in place of a resistor.

In this example, the bridge will be balanced once Z11 matches Z12. Keeping the design simple, the right side of the bridge was made up using resistors. One new requirement is the signal source must be an AC source. The meter in use must also be capable of detecting AC current. Z11 and Z12 can be any impedance source, capacitor, inductor, resistor or combination of all three.

So far, so good. If you got a bag of perfectly calibrated capacitors and inductors, it would be possible to use the bridge to find out the value of the unknown device. However, that would be truly time consuming and expensive. A better solution than, is to find a way to simulate the perfect reference device with some trick. This is where the MP3 player comes into the picture.

Remember the current flowing though a capacitor is always 90 degrees ahead of its terminal voltage? Now, if we can fix the terminal voltage of the device under testing, it would be possible for us to apply a current that is 90 degrees in advance and simulate the effect of a capacitor. To do this, we have to first create a audio file that contains two sine waves with a phase difference of 90 degrees between the two waves.

Uploading this wave file into the MP3 player or play it back directly from the PC, the left and right channel produces the two sine wave with the same amplitude. From this point on, I'm going to use capacitor as example for the sake of simplicity. However, the same principle is applicable to inductors also, except the excited signal need to be 90 degrees lagging instead.

Let's first redraw the bridge with device under test represented by a perfect capacitor in series with a perfect resistor. The signal source is also splitted into a two signals with one signal phase shifted by 90 degrees when reference to the other signal.

Now, here is the scary part. We have to dive into the math that describes the working of this circuit. First, let's look at the voltage at the right hand side of the meter. To make the design simple, it is best to select the resister on the right side to be equal, so Rm = Rm and voltage at Vmr is half of the Vref.

Next, when the bridge is balanced, the voltage at the left of the meter and the right of meter will be exactly equal, and the phase will also match exactly. Thus, Vml is also half of Vref. With this, we can write down:

Let's now try to write down the current flowing though R90 and R0:

Also, the current flowing though device under test is:

Now, assume the device under test is a capacitor and we want Vz to lead Vref by 90 degrees, and to make calculation simple, we can normalize the voltage of Vz and Vref to 1V. We can then say:


Putting everything together

Where Xc is the impedance of the perfect capacitance Cc.

Thus, by balance the bridge and find out the value of R0 and R90, it is simple to calculate the total current through device under test Ic. Use the final equation we arrived to, we can calculate the impedance of the perfect capacitance and the series resistance. By knowing the capacitor impedance and the frequency of the applied signal, it is easy to find out the capacitance of the device under test by:

Step in measuring the capacitor or inductor's value

With the theory behind us, now we can put the knowledge into use and come up with a simple step by step instruction on how to make LCR measurement using the poorguy's LCR bridge. Note, it is best if the output impedance of the signal source is as low as possible, so if you got a audio amp, use it to get the best measurement result.



1. Play the wave file using a PC or a MP3 player.
2. Connect the output of the MP3 player as the wiring diagram shown above, swap the connection to the left and right channel if you are measuring inductor.
3. Connect the multimeter and set the measurement on AC voltage.
4. Play the audio clip and adjust the trim pot until the voltage reading goes down to minimum. The closer to zero, the more accurate the measurement will be.
5. Disconnect the device under test(DUT) and the MP3 player.
6. Move the multimeter lead to R90 and set the measurement on resistance. Measure the value. 7. Do the same for R0.
8. Either manually calculate the capacitor/inductor value, or use the supplied Octave/Matlab script to solve the value.

Tools:

A reference MP3 file for 10KHz signal source: 10k_test.mp3
A reference MP3 file for 1KHz signal source: 1k_test.mp3
A reference MP3 file for 100Hz signal source: 100_test.mp3

Octave script for solving capacitor value: calculate_c.m
Octave script for solving inductor value: calculate_l.m

A table for the approximate resistance required for trimpot to ensure bridge can balance:

Capacitance 10KHz 1KHz 100Hz
1uF - - 3000 ohm
0.1uF - 3000 ohm 30K ohm
10nF 3000 ohm 30K ohm 300K ohm
1nF 30K ohm 300K ohm -
100pF 300K ohm - -
10pF 3M ohm - -



Page created with VIM
Page last updated: June 17th, 2009
Email: rihuang ([at]) gmail (*dot*) com
This page is best viewed with Mozilla Firefox
My Mozilla Ad blocking also blocks Micromedia Flash Ads: userContent.css