Author Topic: Impedance Analyzer Build and Experiments  (Read 109015 times)

0 Members and 1 Guest are viewing this topic.

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Impedance Analyzer Build and Experiments
« Reply #100 on: January 09, 2015, 03:45:05 am »
I've been following this thread.. excellent work!

I want one:)
 

Offline fonak

  • Contributor
  • !
  • Posts: 24
Re: Impedance Analyzer Build and Experiments
« Reply #101 on: January 09, 2015, 11:04:17 am »
Great project. Is there a chance to public full schematic, software and firmware?
 

Online kripton2035

  • Super Contributor
  • ***
  • Posts: 2572
  • Country: fr
    • kripton2035 schematics repository
Re: Impedance Analyzer Build and Experiments
« Reply #102 on: January 09, 2015, 11:38:49 am »
as I already have sample of ad5933 for some years, I want one too ! ;)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #103 on: January 09, 2015, 12:17:05 pm »
Nicely done.
================================
https://dannyelectronics.wordpress.com/
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #104 on: January 12, 2015, 04:13:14 pm »
as I already have sample of ad5933 for some years, I want one too ! ;)

He is using the Analog Discovery for hardware, not the ad5933.

AcHmed99 is correct I have switched to using an Analog Discovery unit (14 bits vs 12 bits, 100 Msps vs 1 Msps etc) plus you get do do your own DFT (reference against DUT) with the Analog unit.

Sure it's 10x the cost (~$220) of a single AD5933 (~$25), but IMO well worth the extra money.

Currently I'm working on an amplifier allowing me to measure down to near 1m?, as the current minimum of ~13m? just isn't low enough in many cases. I've got some AD8038 on order that will hopefully allow this with the full 10+MHz bandwidth and some gain.

With the aim of 1m? to ~500k? within 1Hz to 10MHz, I might have to compromise a bit on accuracy in the extremes, but it should be possible.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #105 on: January 12, 2015, 04:23:20 pm »
Nicely done.

Thanks, encouragement is a good motivator :)

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 1683
  • Country: au
Re: Impedance Analyzer Build and Experiments
« Reply #106 on: January 12, 2015, 11:05:10 pm »
Your posts have been very informative! I have to agree that the Analog Discovery appears well worth the money.
 

Offline fpliuzzi

  • Regular Contributor
  • *
  • Posts: 157
  • Country: us
Re: Impedance Analyzer Build and Experiments
« Reply #107 on: January 13, 2015, 02:41:49 am »
I remember the excellent thread in 2013 by The Electrician about capacitor measurements on an Impedance Analyzer and thinking to myself how really useful a device like this would be on the bench.

Little did I know at the time that I would later be witnessing a capable Analog Discovery/Impedance Analyzer blossom into reality. This is a fascinating thread indeed.  :-+
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #108 on: January 15, 2015, 06:57:37 pm »
I've discovered that too long (200mm) measurement wires do introduce a relatively "large" amount of inductance (250nH+) and does have some effect on e.g. the resonance frequency when measuring caps and inductors. I can only estimate the error but measuring a 100nF capacitor should probably resonate around 5-7MHz but I only measure half that, of course dependent on the capacitor, and not a common published spec, so a bit of guesswork. Anyway, I find very short Kelvin connections (~30mm) give significantly better results at higher frequencies.

I'm thinking about methods to compensate for longer leads as really short leads are more difficult to work with, I'd like to be able to stick probes in a PCB and measure impedance where interesting, decoupling etc.

Here a test of a somewhat common (I guess) 10uF, 100nF, 10nF ceramic capacitor combination, picture of the setup:




Apologies for messy soldering, did it on the table with a 3.5mm tip I had in the iron already, really need more than 2 hands to hold tweezers and iron when doing this. (so many excuses)

« Last Edit: January 15, 2015, 07:19:45 pm by jaxbird »
Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #109 on: January 15, 2015, 07:00:25 pm »
Measured at the point of the 10nF capacitor:



Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #110 on: January 15, 2015, 07:02:27 pm »
And measured at the point of the 10uF capacitor:




Interesting difference, just moving the probes a few mm, anyway, still got some ~30-50nH and ~20pF error. And results above 10 MHz are questionable, plus currently unable to measure below 13mR, so some error on the low.

« Last Edit: January 15, 2015, 07:17:21 pm by jaxbird »
Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #111 on: January 15, 2015, 07:55:11 pm »
Less fortunate combination of 1000uF electrolytic with 220nF film in parallel:



Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Online The Electrician

  • Frequent Contributor
  • **
  • Posts: 743
  • Country: us
Re: Impedance Analyzer Build and Experiments
« Reply #112 on: January 15, 2015, 08:13:32 pm »
 

Online The Electrician

  • Frequent Contributor
  • **
  • Posts: 743
  • Country: us
Re: Impedance Analyzer Build and Experiments
« Reply #113 on: January 15, 2015, 08:23:26 pm »
Jaxbird, the old HP/Agilent/Keysight fixtures for impedance analyzers are available on eBay:

http://www.ebay.com/itm/HP-Agilent-16047A-/400834797655?pt=LH_DefaultDomain_0&hash=item5d539da057

http://www.ebay.com/itm/HP-Agilent-16034E-LCR-Meter-surface-mount-Test-Fixture-with-case-HP-4274A-4275A-/141416235256?pt=LH_DefaultDomain_0&hash=item20ed1080f8

They are somewhat pricey, but I've noticed that there are Chinese look-alikes available for much less:

http://www.ebay.com/itm/TH26001A-4-terminal-test-fixture-for-LCR-meter-TH2811D-/261419837445?pt=LH_DefaultDomain_0&hash=item3cddd62805

There is a surface mount version that shows up occasionally on eBay, too.

The spacing of the BNC connectors on other-than-Agilent impedance analyzers, such as Wayne-Kerr, Hioki, Tonghui, etc., is the same as the Agilent, so all these various fixtures will fit all the various impedance analyzers (there may be the occasional exception).

I'm sure you would get better results at the higher frequencies if you would install your project in a metal box with 4 BNCs that would accept a fixture on the outside of the box.
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #114 on: January 15, 2015, 08:38:25 pm »
I remember the excellent thread in 2013 by The Electrician about capacitor measurements on an Impedance Analyzer and thinking to myself how really useful a device like this would be on the bench.

Little did I know at the time that I would later be witnessing a capable Analog Discovery/Impedance Analyzer blossom into reality. This is a fascinating thread indeed.  :-+

Yeah, the many measurements by The Electrician with his precision Hioki analyzer and explanations have been a great inspiration.

Of course this solution will not provide anywhere near the same level of precision, but still very useful.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #115 on: January 15, 2015, 08:50:44 pm »
Quote
Pictures of above measurements:

Those kelvin clips of yours are just nice, :)

Yes they are awesome! Anyone have a link where I could get a set?  :-DD

I see several on eBay:

http://www.ebay.com/itm/1-Pair-of-Large-Kelvin-Clip-Fine-Tip-Gold-Plated-for-LCR-Meter-981-002-USA-/191227969924?pt=LH_DefaultDomain_0&hash=item2c86134184

I believe they were just having a laugh at my early "Kelvin clips" :D



Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #116 on: January 15, 2015, 09:16:02 pm »
Jaxbird, the old HP/Agilent/Keysight fixtures for impedance analyzers are available on eBay:

http://www.ebay.com/itm/HP-Agilent-16047A-/400834797655?pt=LH_DefaultDomain_0&hash=item5d539da057

http://www.ebay.com/itm/HP-Agilent-16034E-LCR-Meter-surface-mount-Test-Fixture-with-case-HP-4274A-4275A-/141416235256?pt=LH_DefaultDomain_0&hash=item20ed1080f8

They are somewhat pricey, but I've noticed that there are Chinese look-alikes available for much less:

http://www.ebay.com/itm/TH26001A-4-terminal-test-fixture-for-LCR-meter-TH2811D-/261419837445?pt=LH_DefaultDomain_0&hash=item3cddd62805

There is a surface mount version that shows up occasionally on eBay, too.

The spacing of the BNC connectors on other-than-Agilent impedance analyzers, such as Wayne-Kerr, Hioki, Tonghui, etc., is the same as the Agilent, so all these various fixtures will fit all the various impedance analyzers (there may be the occasional exception).

I'm sure you would get better results at the higher frequencies if you would install your project in a metal box with 4 BNCs that would accept a fixture on the outside of the box.

Thanks, it would be absolutely nice to have some proper test fixtures for both leaded and SMD :), but I think they might be a bit overkill for this project, I'm not convinced that the somewhat questionable precision I will be able to achieve would justify the nice fixtures. But might change if I find a reliable way to compensate for the added inductance and capacitance in software .. still thinking about that one. I think I will have to read some more of this document :

http://cp.literature.agilent.com/litweb/pdf/5950-3000.pdf

it's been very helpful so far on a lot of practical considerations and the basic complex number math for many of the calculations.

But before that I'll attempt to build an amplifier circuit that will allow measurements down to near 1mR with full (10+MHz) bandwidth with minimal phase change.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #117 on: January 18, 2015, 07:56:02 am »
Since it's weekend, I've been working on a reliable way to calibrate the little instrument.

The Agilent Impedance Measurement Handbook has been a great help. (thanks Agilent, or rather Keysight).

It does describe in some detail the method used to perform an Open/Closed calibration to compensate for parasitic inductance etc.




There is a bit more to it, but that formula is a good start.

« Last Edit: January 18, 2015, 07:58:22 am by jaxbird »
Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #118 on: January 18, 2015, 08:01:20 am »
Example of difference in measurement of a 1uF capacitor, with and without calibration:

Without calibration:




With calibration:




Quite a difference in the resonance frequency.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #119 on: January 18, 2015, 04:45:39 pm »
Did a quick accuracy test following the open/short calibration. This calibration doesn't require any references, it simply requires a scan with disconnected Kelvin clips followed by a scan with shorted clips.

Anyway, using a few resistors from 10k to 10mR, mostly standard 1% and 5%, but very low values (10mR and 20mR) are just short pieces of wire made using a conventional milliohm/microohm meter.

All measured at 1kHz using 50R shunt:

Nominal value:Measured value:
10k9.466k
1k0.987k
100R98.8R
10R9.95R
1R0.986R
100mR98.7mR
50mR50.8mR
20mR19.8mR
10mR10.5mR

At 10k and 10mR is pushing it a bit, but besides that it's pretty good accuracy within a few %.

It will easily do higher than 10k, with e.g. a 5k shunt. Input impedance should be in the mega ohm range, so good accuracy should be possible up to a few 100k. Will test that at some point.

« Last Edit: January 18, 2015, 05:19:42 pm by jaxbird »
Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #120 on: January 18, 2015, 05:03:21 pm »
Picture of test resistors for reference:



Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #121 on: January 18, 2015, 05:16:28 pm »
While I have figured out how to perform and apply calibration, I am still fumbling with a simple problem.

The problem is, when applying calibration, I need to use complex numbers, meaning I build tables of these, indexed by frequency.

But as the measurement frequency is likely to be between 2 frequencies in the lookup table, interpolation is needed.

Is there an easy standard way to interpolate between 2 complex numbers? (just linear interpolation, no fancy spline needed)

Must be a somewhat common problem, but quick google just seem to suggest everyone use matcad  :-\

I'm sure there is a simple way of doing it, and I'll figure it out eventually, but any hints much appreciated.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #122 on: January 18, 2015, 05:37:30 pm »
Regarding to doing the accuracy measurements at 1kHz, why not higher with 10MHz bandwidth available? Well, it's simply to avoid any errors introduced by the resistors.

Nicely explained by these charts: (again credits go to Agilent)




« Last Edit: January 18, 2015, 06:06:28 pm by jaxbird »
Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #123 on: January 18, 2015, 05:54:03 pm »
Here demonstrated with real measurements: (the 10k resistor is a bit too low in value to show much stray capacitance, but trend visible at 10MHz)

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbirdTopic starter

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Impedance Analyzer Build and Experiments
« Reply #124 on: January 18, 2015, 05:55:44 pm »
Using 100mR it's much easier to see the effect of lead inductance:



Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf