Author Topic: DIY uCurrent Design  (Read 22722 times)

0 Members and 1 Guest are viewing this topic.

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
DIY uCurrent Design
« on: December 20, 2013, 12:47:17 am »
Hi group,

I am the process of building my own ucurrent. I have deviated a little from Dave's original design. Some of the design decisions were made because of the parts I had to hand.

I certainly don't want to detract from Dave's uCurrent project.

Here is my version:

Schematic:



I have decided to use separate jacks for the three current ranges. This simplifies the switching. I have also used a SPDT switch for the power and a tact switch for the battery test. I used a Linear Tech LTC2050CS8 for the main amplifier

Component side of the board: (Not quite finished)



Top side:



I have made the board a little bigger, to fit the Hammond 1591 BBK box, I have not been able to find the UB5 Jiffy box outside of Australia.

Jay_Diddy_B
« Last Edit: December 21, 2013, 01:01:10 pm by Jay_Diddy_B »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY uCurrent Design
« Reply #1 on: December 20, 2013, 01:09:25 am »
Nulling would be very difficult in your design.

NI (? and now TI) has an old application note on some micro-current opamps (LM-something) in which they talked about quite a few ua/pa-level ampmeters.

================================
https://dannyelectronics.wordpress.com/
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #2 on: December 20, 2013, 01:20:21 am »
Hi Group,

Did Dave ever discuss the choice of Op-amp and what the effect of a different choice might have insofar as offset voltage, rail to rail, etc. ie, how much of the specs relate to the choice of a 3v lithium battery supply and which spec relate to measurement accuracy. Suppose you were to use a +/- 15V Op-amp powered from a bench supply. What could you use?

The key parameters in choosing and op-amp for this application are:

1) Vos

The offset voltage is multiplied by the gain of the amplifier. The idea is to get the burden voltage as small as possible, so that insertion of the uCurrent device has minimal impact on the circuit being tested. With a 10m Ohm shunt the voltage is 10uV / per mA of current. So a 10uV offset in the op-amp would be seen as 1mA of current flow. It is desirable to have as low a Vos as practical.



There is a group of op-amps that fall in the class of 'Zero-Drift' (Linear Technology), 'Ultra-Low Offset' (Maxim), 'Zero Drift' (Intersil). The key feature of all these op-amps is that they are chopper-stabilized.

A secondary feature is the temperature Coefficient of Vos.

2) Input Bias Current

The next consideration is input Bias current. This is current that flows in or out of the input pins of the opamp. Lower is better. It will add to or subtract from the current being measured.

Input Bias Current can vary depending on the common mode voltage of the inputs relative to the supply rails.

3) Gain Bandwidth Product, GBW.

The bandwidth of the amplifier is limited to the GBW of the opamp divided by the gain of the circuit.

4) Slew Rate

Slew rate can limit the large signal bandwidth of the opamp.

5) Rail-to-Rail IO

This parameter is not really important, because bad things happen if you operate the op-amp outputs or inputs near the rail. The gain is limited. The output voltage swing will determine the maximum current that can be measured on each range.

6) Minimum Supply Voltage

This is fairly obvious. 2.7V is desirable if you want to power the circuit from a single Lithium coin cell.

7) Supply Current

This will determine how long the battery will last. Very low power op-amps will tend to have low SR and low GBW

I hope that this answers the question.

Jay_Diddy_B
« Last Edit: December 20, 2013, 01:42:20 am by Jay_Diddy_B »
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #3 on: December 20, 2013, 01:32:57 am »
Nulling would be very difficult in your design.

NI (? and now TI) has an old application note on some micro-current opamps (LM-something) in which they talked about quite a few ua/pa-level ampmeters.



The LTC2050 op-amp chosen has a typical Vos of 0.5uV and guaranteed offset of 3uV. When multiplied by the gain of 100. This gives offsets equivalent to:

     50uA typical, 300uA max on the 1000mA range
     50nA typical, 300nA max on the 1mA range
     50pA typical,l 300pA max on the 1uA range

http://www.linear.com/product/LTC2050

I don't see a need to adjust the offset.

Jay_Diddy_B


 

Offline george graves

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: DIY uCurrent Design
« Reply #4 on: December 20, 2013, 02:17:47 am »
Subscribed.  I might learn something by building one myself!

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1433
  • Country: us
Re: DIY uCurrent Design
« Reply #5 on: December 21, 2013, 10:41:41 am »
I think I know the answer to this already...but...

What happens if you're drawing say 10mA but plugged into the nA jack?
Conversely, maybe draw 1nA and plugged into the mA jack?

I'm guessing one will max out the reading (but obviously not be correct) and the other will likely show something close to zero...but you won't smoke anything, right?
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28180
  • Country: nl
    • NCT Developments
Re: DIY uCurrent Design
« Reply #6 on: December 21, 2013, 11:28:57 am »
If you use 2 opamps from the same chip with the same amplification the offset between them is zero (give or take the tolerance of the resistors). You can use any cheap jelly-bean opamp. I use this trick for interfacing thermocouples to a differential ADC or 2 seperate ADC channels and then subtract.

edit: I have to take this back (and reclaim tuition fees). It seems that even though the transistors for both opamps are on the same die the differences between them can be quite large.
« Last Edit: December 22, 2013, 12:04:27 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY uCurrent Design
« Reply #7 on: December 21, 2013, 12:12:41 pm »
Quote
the offset between them is zero

Fat chance.
================================
https://dannyelectronics.wordpress.com/
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #8 on: December 21, 2013, 01:27:19 pm »
Hi Group,

I have been busy and built and tested my version of the uCurrent.

Blank PCB


Here is the component side of the PCB. The board contains an error. The pin connections for the TPS3809 are wrong.



Here is the other side of the board which is the front panel:



Assembled Board

Component side:



Front Panel Side:



Testing



This is the most challenging test. I took the difference between the 1.000V and the 1.018V outputs of a Fluke 732A DC voltage standard. Feed this through a 1M Ohm resistor to uCurrent nA Input. I got a reading of 17.8mV which corresponds to 17.8nA. The reading does bounce around a bit. This is because of the noise from the op-amp. This is the noise from the datasheet. It is amplified by the gain of 100 at the output of the uCurrent:



I had to turn off the fluorescent lights above my bench for this test. The noise from these lamps interferes with small signal measurements.




I tried to measure the 18nA directly with my Fluke 289. It read 0.1uA or 100nA.

Looks like it is working good.

Jay_Diddy_B
« Last Edit: December 21, 2013, 01:29:54 pm by Jay_Diddy_B »
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16373
  • Country: za
Re: DIY uCurrent Design
« Reply #9 on: December 21, 2013, 01:33:50 pm »
Very nice job there.
 

Offline Kevin.D

  • Frequent Contributor
  • **
  • Posts: 290
  • Country: england
Re: DIY uCurrent Design
« Reply #10 on: December 21, 2013, 01:39:47 pm »
I think I know the answer to this already...but...

What happens if you're drawing say 10mA but plugged into the nA jack?
Conversely, maybe draw 1nA and plugged into the mA jack?

I'm guessing one will max out the reading (but obviously not be correct) and the other will likely show something close to zero...but you won't smoke anything, right?

Dont think so  , 10 mA through the 10k nA range resistor would be 100V on the  opamp input . So that opamp would  go POOF  . He  needs to consider input overvoltage protection for the opamp (upping r12 considerably but then more offsets from input bias/offset  currents to consider).
 

Offline KerryW

  • Regular Contributor
  • *
  • Posts: 112
  • Country: us
Re: DIY uCurrent Design
« Reply #11 on: December 21, 2013, 03:57:16 pm »

You could try a circuit like this one.  It won't go as high in current, but how high of a current should a MICRO current adapter handle?

Down side - Current limited by power supply and op-amp+booster.  Needs low  input current op-amp

Up side - Reads + or - current.  No matched resistors, accuracy determined by range resistors.  Burden voltage - Vos of U1 +/- (output voltage / U1 open loop gain), or basically 0.








One accurate measurement is worth a thousand expert opinions
- Adm. Grace Hopper
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28180
  • Country: nl
    • NCT Developments
Re: DIY uCurrent Design
« Reply #12 on: December 21, 2013, 04:10:01 pm »
Quote
the offset between them is zero

Fat chance.
I guess you never heard of matched pairs. Two opamps on the same die (chip) have exactly the same errors.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY uCurrent Design
« Reply #13 on: December 21, 2013, 04:25:07 pm »
Quote
Two opamps on the same die (chip) have exactly the same errors.

Fat chance.
================================
https://dannyelectronics.wordpress.com/
 

Offline KerryW

  • Regular Contributor
  • *
  • Posts: 112
  • Country: us
Re: DIY uCurrent Design
« Reply #14 on: December 21, 2013, 04:30:26 pm »
Quote
the offset between them is zero

Fat chance.
I guess you never heard of matched pairs. Two opamps on the same die (chip) have exactly the same errors.

A piece of string walks in to a bar and orders a beer.  The bartender looks him over and says "Are you a piece of string?".  The piece of string says "Why, yes, I am."  The bartender says "We don't serve pieces of string here" and throws him out.  The piece of string  twists himself up and lays down in the street and lets cars run over him for a while.  Then he gets up and goes back in the bar and orders a beer.  The bar tender looks at him suspiciously and says "Wait a minute, aren't you a piece of string?".  The piece of string says "No, I'm a frayed knot."

If that were true, all op-amps would have 0 Vos.  They would just put 2 on each die (or 4 for duals8 for quads) and have them cancel.
One accurate measurement is worth a thousand expert opinions
- Adm. Grace Hopper
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: DIY uCurrent Design
« Reply #15 on: December 21, 2013, 04:47:57 pm »
The active IV converter is a great idea for small currents. Very low input impedance (basically zero) and the offset of the opamp is not as critical.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline hans

  • Super Contributor
  • ***
  • Posts: 1692
  • Country: nl
Re: DIY uCurrent Design
« Reply #16 on: December 21, 2013, 05:25:05 pm »
Quote
the offset between them is zero

Fat chance.
I guess you never heard of matched pairs. Two opamps on the same die (chip) have exactly the same errors.

A matched pair also has a tolerance, so not each one can be made perfect. For example, the MAT04 was specificied for a couple percent current gain matching. What makes you think it doesn't have that?

See datasheet AD708 "Matching characteristics"
Or OP227 from Linear
Or LT1024

The difference seems to be about half of the individual typical specification, so at best you're halving the offset voltage, but at 30uV it's not particularly exciting.

http://e2e.ti.com/blogs_/archives/b/thesignal/archive/2012/10/30/matchy-matchy-how-alike-are-dual-op-amps.aspx
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY uCurrent Design
« Reply #17 on: December 21, 2013, 05:34:42 pm »
-The active IV converter is a great idea for small currents.-

agreed. Plus, it has the added benefit of being easily converted to a u-volt instrument.
================================
https://dannyelectronics.wordpress.com/
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #18 on: December 21, 2013, 07:01:38 pm »
Hi,
 I have been following the great suggestions that have been made on the thread today :clap:. I have a couple of concepts to share.

Modification for IV converter nA range

This concept shows how to implement a current to voltage converter for the nA range while preserving the original circuit for uA and mA. The only downside to this scheme is that the nA range is inverted. Only one op-amp is used. I showed three circuits to illustrate the configurations.



Addition of protection components



This concept shows how protection can be added to the design withou interfering with the measurements. The diode connected transistors were used by Fluke in a lot of their DMMs. The circuit is protected to 1A and 40V. The levels found in low voltage circuits.



Jay_Diddy_B
« Last Edit: December 21, 2013, 07:06:37 pm by Jay_Diddy_B »
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16373
  • Country: za
Re: DIY uCurrent Design
« Reply #19 on: December 21, 2013, 07:09:27 pm »
Good and usable, but is getting away from the original idea of simple, robust and cheap. Probably best would be a 2A picofuse on the common lead for the load, and just buy a strip of 20 or so and store in the uCurrent box bottom. Problem with the transistors is that they only zener above the opamp supply voltage, you might be better off there making a bridge out of 4 with another 2 to shunt the bridge, giving about 2v of safe input before the diodes conduct
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #20 on: December 21, 2013, 07:20:47 pm »
Hi,

I was drawing faster than I was thinking  :palm:

This is corrected:



Jay_Diddy_B
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28180
  • Country: nl
    • NCT Developments
Re: DIY uCurrent Design
« Reply #21 on: December 21, 2013, 07:22:16 pm »
Quote
the offset between them is zero

Fat chance.
I guess you never heard of matched pairs. Two opamps on the same die (chip) have exactly the same errors.

A matched pair also has a tolerance, so not each one can be made perfect. For example, the MAT04 was specificied for a couple percent current gain matching. What makes you think it doesn't have that?

See datasheet AD708 "Matching characteristics"
Or OP227 from Linear
Or LT1024

The difference seems to be about half of the individual typical specification, so at best you're halving the offset voltage, but at 30uV it's not particularly exciting.

http://e2e.ti.com/blogs_/archives/b/thesignal/archive/2012/10/30/matchy-matchy-how-alike-are-dual-op-amps.aspx
I definitely have to get my money back for 4 years of theory on analog IC design... Using dual opamps seems to work to cancel offset voltages to a certain extend but not as good as I expected.
« Last Edit: December 21, 2013, 07:23:53 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: DIY uCurrent Design
« Reply #22 on: December 21, 2013, 08:21:56 pm »
I think active IV conversion would also be useful on the uA range. Also, it would be nice to maintain a low voltage drop during "overload" conditions, as might happen when measuring quiescent current of a microcontroller that draws a few mA pulses from time to time. A pair of Schottky diodes can do that, or even better, a pair of MOSFETs switched in with a comparator.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline Jay_Diddy_BTopic starter

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: DIY uCurrent Design
« Reply #23 on: December 21, 2013, 08:49:39 pm »
Hi,

My final version of the uCurrent will use Tellurium Copper connectors. I have named the device after these connectors, it will be called:

CuTe Current  ;D


Jay_Diddy_B



 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY uCurrent Design
« Reply #24 on: December 21, 2013, 09:50:28 pm »
Quote
Modification for IV converter nA range

Slight different implementation.

================================
https://dannyelectronics.wordpress.com/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf