Announcement

Collapse
No announcement yet.

Analog ESR meter design

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    I'm back at it. Found the drill in the meantime.

    I fixed a couple groundloops in my messy perfboard design and now i get much lower offset when using 50Hz. Under 3mV with 1mV/mOhm resolution which is good enough for me. 50Hz isn't adequate for an ESR meter, but it sure works wonders at things like measuring resistance of wires and finding PCB ground loops.

    However, when going past a couple kHz in frequency, the offset would still go crazy. At 67kHz i would get 265mV with the leads shorted. Since i added a separate wire going to the opamp (aka 3-wire measurement, it woulda been 4-wire but it's not a differential input so one of the wires is going to be ground anyway), i tried connecting the positive lead directly to the circuit ground and not to the probe going to ground. Surprise surprise - 70mV. It looks like i found one of the culprits... The wires i am using for the probes have very significant inductance at high frequencies. Gotta find wire with finer strands. The wires are from ATX PSUs btw, so now i've learned something new - some ripple filtering is done by the wires as well.
    Last edited by Th3_uN1Qu3; 03-10-2012, 07:55 AM.

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Originally posted by ben7 View Post
    Aww, well I hope you can get one again sometime, I want one too.
    I don't know.

    My family situation is really complicated atm... i can't really afford anything anymore, i barely even eat these days. That's the very reason why i had to sell my scope in November - my mom got scammed and lost a significant amount of $$ ($2000, it may not seem like much to you but it means a lot in this country), so i was left to pay all the bills.

    The situation is much worse now in that i hardly see her go to work anymore, and to add to that stuff has started breaking around the house (and i have to pay for it obviously), and i can't even find basic tools like the drill - i don't know where mom put it, and she's too lazy to look for it herself. I've looked everywhere i knew it could be, but no drill. Same for a bunch of other stuff. In this house, tools and money have a habit of vanishing... always did. I wanted to move out on my own this week but the weather sabotaged me. Until the snow clears and i pack my bags and move out, there won't be much i can contribute.

    Leave a comment:


  • ben7
    replied
    Re: Analog ESR meter design

    Originally posted by Th3_uN1Qu3 View Post
    ...As i no longer have a scope i have no idea what actually happens, and this is the reason why i haven't been updating this thread.
    Aww, well I hope you can get one again sometime, I want one too.

    Originally posted by severach View Post
    China could add ESR in as a scale on any number of meters making ESR measurement essentially free. For some reason they don't.
    I bet the crap-cap manufacturers don't want them to do that xD

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Originally posted by tom66 View Post
    If I were to design an ESR meter, this is how I would do it.

    Constant current source pulses 1A thru cap, 100kHz @ 10% duty. Low-RdsON MOSFET (<5mohm) zeros cap on every cycle. Differential amplifier senses voltage across cap (through two less critical switches) and peak detector captures these.
    This is where it gets tricky. For some reason, this works in simulation but does not work in real life. It creates a huge offset and makes the readings nonlinear... As i no longer have a scope i have no idea what actually happens, and this is the reason why i haven't been updating this thread.

    Leave a comment:


  • severach
    replied
    Re: Analog ESR meter design

    Originally posted by ben7 View Post
    why not make it for less than $10?
    China could add ESR in as a scale on any number of meters making ESR measurement essentially free. For some reason they don't.

    Leave a comment:


  • mariushm
    replied
    Re: Analog ESR meter design

    just a heads up for those interested in this
    there's a thread on eevblog nowadays which mentions several circuits and designs in it.. on site linked there contains the source code for the device if one wants to make it.

    http://www.eevblog.com/forum/product...cseen#msg90514

    Leave a comment:


  • ben7
    replied
    Re: Analog ESR meter design

    Nice, thanks for the clarification on how esr meters work! I just thought that I need an esr meter, but the price of around $50 put me off ... why not make it for less than $10? Then I came across this thread today.

    A question though, where the heck do you find a 50 or 100uA meter movement?

    -Ben

    Leave a comment:


  • tom66
    replied
    Re: Analog ESR meter design

    If I were to design an ESR meter, this is how I would do it.

    Constant current source pulses 1A thru cap, 100kHz @ 10% duty. Low-RdsON MOSFET (<5mohm) zeros cap on every cycle. Differential amplifier senses voltage across cap (through two less critical switches) and peak detector captures these. If the multimeter's impedance is known or guaranteed, then the output buffer can be removed.

    Problems:
    - the discharge and charge waveforms need to be even duty cycle (10% each) but out of phase, or the accuracy suffers
    - the cap builds up a charge to about ESR * current (1 ohm ESR = 1V) which could bias semiconductors (a lower current may fix this.)

    Main op-amp would be replaced with an op-amp and power stage (NPN follower, probably.) The op-amp needs to be fast (no overshoot.) An ideal model is used in the simulation.

    Output is 1V/ohm and can measure from 1mohm to 1 ohm with decent accuracy (+/-2%.) At low esr offset error becomes a problem - with a 1mohm cap it tends to measure about 1.7mohm. Cap should be >100uF for best results. No overload protection, easy to blow up if you plug a charged cap into it.

    Paste into falstad.com/circuit:

    Code:
    $ 1 5.0000000000000004E-8 24.46919322642204 50 5.0 50
    r 224 256 224 336 0 0.0010
    c 224 352 224 416 0 0.0010 0.0023163257658775777
    r 224 416 224 496 0 0.01
    g 224 496 224 512 0
    w 224 416 272 416 0
    159 272 400 272 272 0 0.0010 1.0E10
    w 272 400 272 416 0
    w 224 256 272 256 0
    R 288 336 320 336 1 2 100000.0 2.5 2.5 1.7453292519943295 0.1
    w 272 272 272 256 0
    w 224 336 224 352 0
    a 80 256 192 256 1 15.0 -15.0 1000000.0
    w 192 256 224 256 0
    R 80 240 48 240 1 2 100000.0 0.0050 0.0050 0.0 0.1
    w 80 272 80 416 0
    a 432 336 544 336 1 15.0 -15.0 1000000.0
    159 288 256 352 256 0 20.0 1.0E10
    159 352 416 288 416 0 20.0 1.0E10
    w 288 416 272 416 0
    w 288 256 272 256 0
    r 352 416 432 416 0 100000.0
    w 432 352 432 416 0
    r 432 416 544 416 0 100000.0
    w 544 416 544 336 0
    r 352 256 432 256 0 100000.0
    w 432 256 432 320 0
    r 432 256 544 256 0 100000.0
    g 544 256 560 256 0
    R 320 272 320 304 1 2 100000.0 2.5 2.5 0.0 0.1
    w 320 272 352 272 0
    w 320 400 352 400 0
    w 352 400 352 272 0
    r 192 416 192 256 0 10000.0
    w 224 416 192 416 0
    w 192 416 80 416 0
    a 592 352 704 352 1 15.0 -15.0 1000000.0
    w 544 336 592 336 0
    w 592 368 592 400 0
    d 704 352 704 400 1 0.805904783
    c 704 400 704 448 0 3.3E-10 0.003485802029299198
    g 704 448 704 464 0
    a 832 416 944 416 1 15.0 -15.0 1000000.0
    w 832 400 768 400 0
    w 832 432 832 464 0
    w 832 464 944 464 0
    w 944 464 944 416 0
    w 944 416 976 416 0
    w 704 400 592 400 0
    r 704 400 768 400 0 1000000.0
    r 768 400 768 448 0 1000000.0
    g 768 448 768 464 0
    o 46 64 0 35 0.02288728493827538 0.0 0 -1
    Attached Files

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Sure, i will post schematics. I just want it to be as simple as possible. Using the circuit that momaka mentioned above, with the relative function on your DMM and all, it reads negative when trying to test a capacitor, and has weird results with resistors as well. Negative as in lower than the relative value you zero'd your meter to - because this circuit has a huge amount of offset. Of course getting an actual negative voltage from the circuit ie below ground is impossible, but the point is that when measuring a cap the output voltage is lower than with probes shorted.

    The circuit which i built, with the current source, running at 50Hz, works great for resistors, wires, PCB traces and the like, and has very, very low offset and drift. At higher frequencies, again, it goes nuts. Also, when testing a capacitor you also have to provide the means to discharge it after each cycle (which a current source does not), and all methods i've tried so far produce interference which translates into offset or worse, it makes the readings non linear. A simple resistor from the output of the 555 as in the circuit referenced above should work but yet it does not. As i no longer have an oscilloscope (had to sell it due to financial reasons in November), it's hard for me to troubleshoot the circuit - because it works in simulation.

    Don't worry tho, the bag of tricks is not yet empty.
    Last edited by Th3_uN1Qu3; 01-24-2012, 08:50 PM.

    Leave a comment:


  • cmj21973
    replied
    Re: Analog ESR meter design

    Sounds like the project is going well.
    Post or PM some pics & schematics when you get a chance.

    Leave a comment:


  • momaka
    replied
    Re: Analog ESR meter design

    Originally posted by Th3_uN1Qu3 View Post
    First prototype is complete. It works... sort of. For now it only works correctly at 50Hz so it is useless for testing ESR, but it does a good job as a low ohms meter. Currently it can do either 1 volt/ohm or 10 volts/ohm, so yes, it can measure with 0.1mOhm resolution on a cheap multimeter!
    That's still pretty cool! Given that my cheap 830D multimeter can't measure anything under 2 Ohms, and for up to 50 Ohms it has a 2 Ohm offset, your prototype can be pretty useful for finding short circuits on a board.

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    First prototype is complete. It works... sort of. For now it only works correctly at 50Hz so it is useless for testing ESR, but it does a good job as a low ohms meter. Currently it can do either 1 volt/ohm or 10 volts/ohm, so yes, it can measure with 0.1mOhm resolution on a cheap multimeter! Anyway, this proves that the concept is workable, but the realization could use some improvement.

    Some of the trouble is also given by the build method - it's wired in a rather messy way on a perfboard, so i'll be designing a PCB and see what that gives.

    There is another subtlety that i only realized after building the real thing - when measuring the ESR of a capacitor with a continuous AC signal, you also have to discharge the capacitor at the end of each cycle, otherwise the capacitor will charge up until it hits the limit of the voltage rail that the current source is powered from, and give completely bogus readings!

    Edit: It's easy to overlook simple solutions when you're concentrated on something - the humble resistor connected to a pulsed voltage source works just fine... So the design mentioned above is technically correct, but you've got the drift of the 555 to take account of - you noticed that in the instructions it mentions using the relative function of your multimeter to calibrate the offset. What if your DMM doesn't have relative? I'm trying to avoid offset altogether.
    Last edited by Th3_uN1Qu3; 01-23-2012, 10:57 AM.

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Addon to digital meters.

    Leave a comment:


  • momaka
    replied
    Re: Analog ESR meter design

    Originally posted by Th3_uN1Qu3 View Post
    741 is not suitable for this circuit.
    Kind of anticipated that. I was hoping to reuse some of the stuff we got in our EE kits from school, but I guess not :P . I did use the UA741 in conjunction with a KA431 and a MOSFET to make a regulated 1.5V supply (similar to the 3.3v MOSFET-derived rails in PSUs). It worked fairly okay for the most part.

    By the way, is your ESR meter going to be an addon for an analog multimeter or a digital one to show the ESR readings (or neither?)?

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    741 is not suitable for this circuit. Use TL072/082 or NE5532. The basic idea however is the same as mine - i woulda been surprised if it hadn't been done before - but i want to take it one step further and use a current source instead of just a resistor. You see that in the comments it says that it needs a stable 12 volts power input - and a 7812 may not be enough for high precision. I'm going to feed the current source from a TL431 reference - that should keep it in check regardless of the input voltage.

    And i'll likely be using simple transistor gain stages instead of opamps, no need to complicate things.
    Last edited by Th3_uN1Qu3; 01-04-2012, 05:39 AM.

    Leave a comment:


  • momaka
    replied
    Re: Analog ESR meter design

    There's also this ESR meter which doesn't look all that complex:
    https://www.badcaps.net/forum/showth...&highlight=esr
    I wonder if it works well. The only thing I don't have to build that one is those 2 particular transistors and op-amps. I do have general purpose UA741 op-amps, though.

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Definitely no micros or hard to find ICs - heck, i'm lazy enough that it might even be no opamps, just a comparator and a few transistors.

    The most advanced device inside will be a rail-to-rail comparator - so you can calibrate the AC current source at a lower frequency with a true RMS multimeter, without the need of an oscilloscope, and then switch to 100kHz resting assured that the current remains the same. I wanted to use a 555 timer for the oscillator at first (especially since it can provide enough current without the need of an output buffer), but the output voltage variance from 50Hz to 100kHz is too high.

    Anyway this is a linear circuit - absolute accuracy of the current source isn't that important, because you can simply take some precision resistors and calibrate the output against them, but low drift over time IS something i'm aiming for.
    Last edited by Th3_uN1Qu3; 01-03-2012, 10:34 AM.

    Leave a comment:


  • Scenic
    replied
    Re: Analog ESR meter design

    What I've found so far was either ridiculously overcomplicated (µC with proprietary software, needing a programmer), or so crude you'd be lucky if it worked at all.
    That, and because premade ones like the ESRMicro are still rather expensive if you don't do this all day long is basically why I don't have an ESR meter at all.

    Something in between which doesn't need a microcontroller, but still gives useful results for checking "our" kind of caps would be great.

    And like momaka said.. simple off the shelf components.. not some special über-rare ICs or something.

    If this thread goes anywhere, it's gonna be interesting I bet

    Leave a comment:


  • momaka
    replied
    Re: Analog ESR meter design

    Sounds like a great project!

    Originally posted by Th3_uN1Qu3 View Post
    Everyone post their wishlist here, and i'll see what i can make of it.
    Perhaps easy to build - i.e. doesn't require any special, hard to find ICs or anything like that.
    My spare parts bin is quickly growing. It would be nice if I could use some of them to built this meter.

    Leave a comment:


  • Th3_uN1Qu3
    replied
    Re: Analog ESR meter design

    Then stop spamming. At least don't quote in reply when the previous post is right above... as admin somewhere else i thought you knew of those basic forum rules.

    Leave a comment:

Working...
X