EEVblog #577 - Precision 1A Current Source Part 2 - Page 1
Forum section: electronics / general

author: EEVblog
author_rank: Unknown
timestamp: February 06, 2014, 10:33:08 pm
content: Part 1:Dave gets his precision 1A current source circuit working on a breadboard.LTC6655http://cds.linear.com/docs/en/datasheet/6655fc.pdfVPR221Z Precision 4-terminal Z-Foil resistor from Vishay:http://www.vishaypg.com/docs/63116/vpr221z.pdfLTC6655 Voltage Reference:http://cds.linear.com/docs/en/datasheet/6655fd.pdfOPA376:http://www.ti.com/lit/ds/sbos406f/sbos406f.pdf

author: Chipguy
author_rank: Unknown
timestamp: February 06, 2014, 11:39:07 pm
content: Where can you actually buy the precision resistors with customer specific value ?I know you can buy trimmed SMD precision resistors from Digikey, they say "Enter your desired resistance in the Web Order Notes".http://www.digikey.com/product-search/en/resistors/precision-trimmed-resistors/66806However I can not find a source for the TO220 ones

author: just_fib_it
author_rank: Contributor
timestamp: February 07, 2014, 12:01:31 am
content: Quote from: Chipguy on February 06, 2014, 11:39:07 pmYou can get them from Vishay directly:http://www.vishaypg.com/foil-resistors/how-to-order/Caveat: I haven't actually ordered from them, so I don't know if they'll talk to hobbyists.

author: Co6aka
author_rank: Unknown
timestamp: February 07, 2014, 01:19:55 am
content: Re the opamp buffer, why not turn it into a second order low pass filter and do away with the huge cap?

author: calexanian
author_rank: Super Contributor
timestamp: February 07, 2014, 03:18:43 am
content: Where is the ground rail of the op amp coming from? The negative sense line or circuit ground? Might be worth trying both.

author: casinada
author_rank: Frequent Contributor
timestamp: February 07, 2014, 05:17:17 am
content: You had the Overcurrent limit for 1.1A on the power supply but it didn't trigger when you shorted the 12K resistor around minute 25 on the video. Is that protection working?

author: Bored@Work
author_rank: Super Contributor
timestamp: February 07, 2014, 06:11:42 am
content: Quote from: casinada on February 07, 2014, 05:17:17 amIf you look carefully the Rigol's display changes from 1.006 A to 1.100 A the moment he does that around 24:36. Part of the reason he got the awful waveform might because of that current limit.

author: BravoV
author_rank: Super Contributor
timestamp: February 07, 2014, 06:24:04 am
content: Murphy got him ?

author: Chipguy
author_rank: Unknown
timestamp: February 07, 2014, 06:36:18 am
content: Quote from: just_fib_it on February 07, 2014, 12:01:31 amThank you, that's the page I needed.I have searched the entire Vishay website but didn't find this page with all the helpful information on it about to actually get them.I got a project at work where I need some of these resistors along with some low thermal voltage relayshttp://www.meder.com/fileadmin/products/de_datasheets/8805271800d.pdfI let you guys know how it went with Vishay, first I need to get some quotes where I expect something like 30-50 bucks for each resistor, we will see....Yeah, I started the last 3 sentences with "I", dunno why... I know it's rude, but it's 6 AM in the morning here and I am still tired

author: poorchava
author_rank: Super Contributor
timestamp: February 07, 2014, 07:52:32 am
content: There is also Isabellenhütte, who also produce exceptional resistors.

author: Icarus
author_rank: Regular Contributor
timestamp: February 07, 2014, 08:23:47 am
content: Great video.Does it also slow down the circuit when we add 470uF cap to the system ?

author: EEVblog
author_rank: Unknown
timestamp: February 07, 2014, 08:52:10 am
content: Quote from: casinada on February 07, 2014, 05:17:17 amAh, that could have an effect, although I think it would still oscillate without the resistor.

author: Dr. Frank
author_rank: Super Contributor
timestamp: February 07, 2014, 09:05:09 am
content: Well done, Dave.Creating precision current sources is always a sort of Fine Arts.The T.C. of the Vishay shunt resistor can be estimated from your video, when the output did not oscillate any more.The first stable and maximum reading from the 34461A at 20:57 is1.000635A, 1.000677A, decreasing due to heating of the shunt, stabilizing to 1.000627A at 21:30. (In first order, I assume that the 34461A does not drift.)Therefore, the Vishay shunt drifts by 50ppm when loaded with 1.25W.Specification states 4ppm/W, that relates to the "typical" +/-0.2ppm/K (-55..125°C) in the parameter table 1 in the datasheet.Therefore, it should typically drift 5ppm only, but the real drift obviously is 10 times that value.That means, the real T.C. is about 2ppm/K, still within the spread of the specification.Let's calculate that a little bit differently.Somewhere in the video, you estimated a shunt temperature of 60°C, i.e. a 40°C temperature rise.That would give a smaller T.C. of 50ppm/40K, around 1ppm/K.So, these Vishay shunt are really excellent, but their blatant advertising in the datasheet, i.e. printed in fat letters: typ. 0.05ppm/K @ R.T., is still a little bit exaggerated, by a factor of 20.Frank

author: nitro2k01
author_rank: Frequent Contributor
timestamp: February 07, 2014, 10:33:45 am
content: A silly suggestion: Now that you're no longer using the direct configuration, instead of putting a huge-ass cap over the resistor sense terminals, wouldn't it be possible to do (some or most) this filtering in the feedback loop? Either in the opamp voltage follower or even by putting a smaller cap between the sense and the force line. Am I wrong in thinking this would help stabilize the loop?

author: EEVblog
author_rank: Unknown
timestamp: February 07, 2014, 11:00:49 am
content: Quote from: nitro2k01 on February 07, 2014, 10:33:45 amYes there are other ways.The big arse cap was simply the easiest solution to try first, and it worked.

author: calexanian
author_rank: Super Contributor
timestamp: February 07, 2014, 10:19:29 pm
content: I still can't help but feel it should be more accurate. I am still thinking about where the ground for the reference is coming from.

author: han
author_rank: Frequent Contributor
timestamp: February 07, 2014, 11:58:16 pm
content: pardon me,just a suggestion-input buffer for sense pin in 4 pin sens resistor,and low pass filter for mosfet

author: Skimask
author_rank: Super Contributor
timestamp: February 08, 2014, 05:43:01 am
content: 19:38 - "Not even half a bee's dick"Worth a decent belly laugh...

author: c4757p
author_rank: Super Contributor
timestamp: February 08, 2014, 05:55:10 am
content: Quote from: calexanian on February 07, 2014, 10:19:29 pmI'd put money on this. The LTC6655 is drawing its quiescent supply current through the sense line of the resistor - all 5mA of it!Output current: 1.000631AVoltage: 1.000631A (1.25R) = 1.2508VError = 800uVCalculated resistance = 800uV/5mA = 160mOhm.Not unreasonable, I think, for the sense lines.It's the right polarity, too, as the current will lift up the LTC6655, causing it to put out a higher reference relative to the actual bottom of the resistor.

author: han
author_rank: Frequent Contributor
timestamp: February 08, 2014, 10:25:42 am
content: Proposed schematic,-use 2 buffer opamp since the sense wire should not have any current on it...-low pas filter for MOSFET to reduce oscilation, without big cap on the sens input pin.

author: nitro2k01
author_rank: Frequent Contributor
timestamp: February 08, 2014, 01:40:52 pm
content: Han, what's the point of driving the reference's ground pins lie that? You already have the opportunity to filter the overall loop at two places, and adding the extra opamp might help create instability, and will certainly add an offset voltage from the opamp, no matter how small. But if you want to go this way you might want to drive only pins 3, 5, 8, which are, at least presumably, connected internally to the bandgap reference's bottom side. (See the block diagram on page 10 of the datasheet.) But driving the bandgap reference low side over the chip's internal ground might also create problems.Instead of your suggested connection, I would probably connect pin 4 (called device ground in the datasheet) to the system ground, ie the low current pin on the shunt. And then pins 3, 5, 8 straight to the low sense pin without any buffering. It seems to me like this exactly what these pins were meant to be used for. So my suggested schematic becomes:

author: han
author_rank: Frequent Contributor
timestamp: February 08, 2014, 02:36:14 pm
content: i didn't sure my self that will work prefectly, but i have few reason for using the op amp,1. I didn't sure witch pin that used for V ref Ground reference (pin 4 only? or 3,5,8)2. I didn't want to separate pin 4 to pin 3,5,8 since in the datasheet i didn't find any clue where is the band gap reference ground is, and what effect will occur if we separate the ground .3. If the ground is jointed there is a problem with the current sink

author: Co6aka
author_rank: Unknown
timestamp: February 08, 2014, 03:28:46 pm
content: Wouldn't configuring the OpAmp sense buffer as a second order lowpass filter reduce or reduce the potential for noise to be introducedintothe loop? (The filter's FC would of course have be chosen wisely.) Though the first order RC filter on the MOSFET gate slows the loop down, and seems necessary, it doesn't "solve" a noisy loop.I've done a lot of work on AGC loops in receivers, which are usually just an after-(non)-thought by designers, and have found that keeping undesirables out is better than filtering them out, so... Thinking the same concept might apply here.

author: YoavR
author_rank: Newbie
timestamp: February 08, 2014, 03:33:55 pm
content: Hi!A small question about the efficiency of the circuit:This circuit supposes to work on battery power, so does the 1.3W-5W constant power consumption is the best solution?Is there a way to have a more power efficient circuit?ThanksYoav(This is my first post, so if I'm breaking any rules - SORRY !!!)

author: Marco
author_rank: Super Contributor
timestamp: February 08, 2014, 03:54:13 pm
content: You can have a switcher DC DC converter with a control loop to make sure Vcc remains just high enough to get X volt across the MOSFET, but it will obviously add noise.

author: mmilejski
author_rank: Contributor
timestamp: February 08, 2014, 04:00:13 pm
content: Quote from: YoavR on February 08, 2014, 03:33:55 pmThat 1A is drawn from the DUT, not from the battery/circuit Vcc. Battery only powers the control circuitry.

author: London Lad
author_rank: Regular Contributor
timestamp: February 08, 2014, 04:30:41 pm
content: This looks like one for a kick starter project.I'd buy it

author: Dr. Frank
author_rank: Super Contributor
timestamp: February 08, 2014, 05:21:43 pm
content: I'd like to make a simple proposal to correct for the errors.The error budget of Dave's circuit is calculated as:Iout = Uref/Rs * (1 +/- 250ppm +/- 200ppm) + 5.75mA*Rreturn/Rswhere 250ppm and 200ppm are the specified errors of the volt reference and the shunt resistor, respectively.The last term describes the additional error by the negative sense return current over the resistance of the cable.This latter error annoyed Dave, by exceeding the max. expected error of +450ppm.Rewriting for a sum of all 3 errors yields:Iout = Uref/Rs * (1 +/- 250ppm +/- 200ppm + 5.75mA*Rreturn/Uref)From the observed deviations of +650 ppm and +350ppm with different components ,the return resistance on the breadboard can be estimated to be between: 0.05 Ohm < Rret. < 0.20 OhmAs the sum of those 3 errors yields a slightly too high current, I propose to add a small amplification = (1 + eps) on the OPA376.Then the above formula is expanded to:Iout = Uref/Rs * (1 +/- 250ppm +/- 200ppm + 5.75mA*Rreturn/Uref - eps)In the case of the first setup:Iout = Uref/Rs * (1 + 650ppm - eps),it's possible by selecting eps = 0.00065, e.g. 68 Ohm over 100kOhm, to adjust the output current to exactly 1.00000A.With different components and another return line resistance (on a PCB), the correction resistor (eps) has to be chosen accordingly.Rem.: Buffering the negative sense line with a 2nd OpAmp would only compensate for the return current.Frank

author: Ray J King
author_rank: Newbie
timestamp: February 08, 2014, 05:36:09 pm
content: May I suggest the series gate resistor of the power fet( unspecified ) is the majic adjustment for the dominate ( 1A) current loop was left undiscussed. Please start with a value of 100k and go up or down from there. You may find the high frequency low current path can not effect the output.Ray

author: nitro2k01
author_rank: Frequent Contributor
timestamp: February 08, 2014, 05:52:37 pm
content: If you look at the diagram, 3,5,8 all go only to the bandgap reference and is marked "internal function". I don't see what else this could be than a Kelvin type connection to the low side of the bandgap reference. It's clear to me that the 2 mA can not go through 3,5,8. These 2 mA flow because of the resistors in the feedback loop, and come out through ground pin 4.Let's analyze the circuit. We have a 1.25 V bandgap reference and a Kelvin current shunt of 1.25 ohm. When there's a 1.25 V voltage present over the shunt, we know 1 A flows through the resistor. This is the obvious basic operation of the circuit. But the problem then becomes, where are these things actually referenced from? I would like to refine the function of the circuit to "the goal is to keep the voltage over the shunt sense pin identical to the voltage over the bandgap reference sense pins".This is where derive that 3,5,8 instead of all the chip's ground should be connected to the shunt sense pin. There will be a small voltage drop over the shunt's current and sense pins, and the bandgap reference's lower connection will now (presumably) be lifted from the circuit ground by that many mV. If we didn't do this, we would have an error current. This error current is not caused by the shunt's voltage drop, but by the quiescent current and the drive current for the force pin, through the metal between the chip and the lower shunt sense pin. I'm even willing to bet that this may have something to do with the oscillation.And likewise, keeping the other two legs of the circuit identical is done by the opamp in the voltage reference chip. So what does it use as it reference? Depends on your definitions. It's ultimately using the device ground as its reference. However, if the shunt's sense pin raises the reference ground to say 0.001 V over the circuit ground, then the bandgap reference will now output 1.251 V over circuit ground which is now the amplifier's target for the shunt's higher pin (which it tries to control by driving the MOSFET.) But the goal to keep the voltage over the sense pins of the hunt at 1.25 V is still met.So yes, I think this is the way to go. Can we get an empirical confirmation from some crazy bloke down under?

author: han
author_rank: Frequent Contributor
timestamp: February 08, 2014, 11:45:07 pm
content: Quote from: nitro2k01 on February 08, 2014, 05:52:37 pmin page 16 there is indication pin 4 is for 4 kelvin connection..

author: richardkb
author_rank: Newbie
timestamp: February 09, 2014, 12:33:18 am
content: Hi DaveJust a simple question from a non designer.Why would'nt you take into account the 2mA by using a resistor to pass 0.998 A so that 1A passes through the load.Rich

author: 99tito99
author_rank: Regular Contributor
timestamp: February 09, 2014, 04:01:58 am
content: Hi Folks: Is there reasonably good alternative to using the Vishay whoopty doo VPR221Z Precision 4-terminal Z-Foil resistor? For example: using eight 10 ohm 0.1% soldered in parallel (1.25 ohm) to copper bus bars with the sense and current wire connected to the buses. Cheers, Mark

author: EEVblog
author_rank: Unknown
timestamp: February 09, 2014, 04:22:56 am
content: Quote from: 99tito99 on February 09, 2014, 04:01:58 amSure, but that's not 0.02%, and the tempco likely isn't as low.

author: EEVblog
author_rank: Unknown
timestamp: February 09, 2014, 04:25:12 am
content: Quote from: han on February 08, 2014, 11:45:07 pmAnd that's what you want. everyone connected back to the star point, which will be the current shunt sense terminal.IIRC that's what the app notes say as well.

author: timelessbeing
author_rank: Frequent Contributor
timestamp: February 09, 2014, 06:41:24 am
content: When I jam TO220s and other square pins into my breadboard, it distends the contacts, and then thin leads like resistors and jumpers don't fit snugly anymore. Does anybody else find that, or do I just have junky breadboard?

author: han
author_rank: Frequent Contributor
timestamp: February 09, 2014, 07:50:09 am
content: Quote from: EEVblog on February 09, 2014, 04:25:12 amThis IC meant for Voltage reference, not design perfectly for current reference application, since the expected load = high impedanceAnd with star conection at pin4 in this application, there is a larger current from R1,25 ohm.starpoint at pin4 = current flow from low sens vishay resistor to pin 4star point at resistor = current flow from pin4 to sens terminal at vishay

author: nitro2k01
author_rank: Frequent Contributor
timestamp: February 09, 2014, 02:46:22 pm
content: Quote from: han on February 08, 2014, 11:45:07 pmYes, and that schematic also doesn't mention the other pins. I suspect that those example were made "by the book", ie not breaking the rule of connecting the various ground pins in PCB metal. But why would three pins be broken out as "internal function" instead of all being connected internally if you couldn't use them for example in the way I described?Another relevant quote from the same page which I think supports my hypothesis: "Although there are several pins that are required to be connected to ground, Pin 4 is the actual ground for return current."But, empirical testing beats babbling. If only I had an LTC6655, a VPR221Z and a precision multimeter. But last time Dave tested something for me, it turned out I was wrong, so maybe I should shut up...

author: Chipguy
author_rank: Unknown
timestamp: February 12, 2014, 08:27:24 pm
content: Hey guys, and hey just_fib_it,btw thanks again for the hint.Today Vishay contacted me back, they have a little subsidiary here in Germany who service all the customer requests.So I asked for 4 pcs VPR221Z 4 pole TO-220 resistors in the 100 to 200 Ohm range.Each one with a different value to make an inital calibration unit for PT100 temperautre meters.I asked for 0.01% precision.They offered each one for just under 30 EUR (40 USD / 45 AUD).The lead time for them will be 8 weeks.I think this is in the affordable range for what they are.I am still not sure if I go over the top with choosing 8W TO220 ones instead of these 2512 SMD 4 pole one Dave uses on the µCurrrent. However, they just fit into the design.For Germany you can contact the Vishay owned company called "Powertron".Web address iswww.powertron.deorhttp://www.vishaypg.com/powertron/I hope this information is helpful for those who might want to build similar stuff.Cheers,ChipguyQuote from: just_fib_it on February 07, 2014, 12:01:31 am

author: TVman
author_rank: Frequent Contributor
timestamp: February 12, 2014, 09:51:54 pm
content: Quote from: BravoV on February 07, 2014, 06:24:04 ammabye

author: EEVblog
author_rank: Unknown
timestamp: February 13, 2014, 12:07:41 am
content: I can confirm that pins 3,5,8 are not connected together internally. I measure 12ohms between pins 4 and 3, and 40K or so between pins 5 and 8 and pin 4. double that between pins 5 and 8.I can also confirm the reference still works with pins 3,5,8 disconnected.

author: nitro2k01
author_rank: Frequent Contributor
timestamp: February 13, 2014, 03:03:53 am
content: I got a reply back from Linear saying that these pins are used in production, and suggesting my theory wouldn't work. But, that just makes more curious what (exactly) these pins are actually doing. If you disconnect 3, 5 and 8, what is the potential on each of the pins, with respect to pin 4?

author: apis
author_rank: Super Contributor
timestamp: July 11, 2015, 10:26:12 am
content: Couldn't leakage current in the electrolytic be a problem if it sits across the shunt resistor?

author: commie
author_rank: Frequent Contributor
timestamp: July 11, 2015, 10:08:23 pm
content: Hmm..., 1amp current source hey?a transistor is a current controlled current source, similarly mosfets are voltage controlled current sources by themselves and between opamps output and inverting input exists a current source, that is to say a common emitter configured transistor there exists a current source between collector and the supply voltage rail.Now if we jam a reference voltage of 5.6 into a BJT' base, configured as a common emitter, with emitter degeneration of say 5 Ohms there will exist a approx 1 amp current source between collector and Vcc, as is ,you will find it to be a little unstable and drifty.Now the thing is opamps are ubiquitus and are crying out to be used as PID controllers, each litttle opamp is a little controller in it's own right. So why not use it here, we can control the current through the transistor.Connect the reference to the opamps non inverting input and the opamp's output to the base of the ce transistor and lastly connect the opamps inverting terminal to the bjt's emitter still using emitter degen. resistor of around 5Ohm or so and that's it for now. The current output is between top supply rail and the transistors collector terninal.Using brand new expensive parts specialist resistors costing tens of dollars is a no no:

author: rs20
author_rank: Super Contributor
timestamp: July 12, 2015, 03:04:51 am
content: Quote from: commie on July 11, 2015, 10:08:23 pmA reasonable suggestion; take the voltage reference out of the control loop -- I like it.Quote from: commie on July 11, 2015, 10:08:23 pmCan you suggest a reliable source for 0.02%, 0.05ppm/K resistors running less than ten dollars?

author: EEVblog
author_rank: Unknown
timestamp: July 12, 2015, 06:17:32 am
content: Quote from: commie on July 11, 2015, 10:08:23 pmNot if:a) You get them for nothingorb) Your time is infinitely more valuable than any potential potential issues with another solution.