If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #99
Joined: Thu Feb 09 2006, 06:10PM
Location: florida, usa
Posts: 637
Ok, I am having some trouble. I got my new EL5244CN op-amps and tried them out. I cant get them to control current. I am now using a 5volt flatpac since these are 5 volt op-amps. The current starts at 1.8amps and can only be varied to 2.040amps. Any ideas what may be the cause of this? (Still using the trimpot/resistor divider Vref. Are some op-amps not going to work for this? (I just went looking for a Rail-Rail op-amp with lowest min. operating voltage. I just dont understand why the TL082 works just fine, but others do not even come close to working at all?
My original vref was a 2k trimpot and a 10k resistor. The trimpot failed somehow so I switched to a 50ktrimpot and 470k resistor. Thinking the current was too low, I switched to a 500ohm trimpot and a 1kresistor. Nothing works with these new op-amps.
Also, I noticed that my circuit operates differently from the explanation. It seems that the current rises as the difference between Vref and input voltage increases. When Vref=voltage on the mosfets, no current flows. As I lower Vref, current begins to flow. This is with the TL082op-amp. Im so confused Matt
Registered Member #99
Joined: Thu Feb 09 2006, 06:10PM
Location: florida, usa
Posts: 637
Dr. Conner wrote ...
Remember that stuff I mentioned about input common-mode range?
Hello, I believe so...Is that the -5volt supply you mentioned? Is it possible to make them work on just a +5volt supply? I got another op-amp from maxim to try. The MAX4167. It is a 5volt rail-rail op-amp. It worked a little better than the other new one, but would not go past 2.2amps. After 0.5volts difference between Vref and the 5 volt power supply, current would no longer increase. It would go from 0-2.2amps nice and smooth and then stop. Is this 0.5volt difference related to the "common-mode" range? Or would the limit in current be a function of the 5volt supply and the higher in resistance of the mosfets along with the op-amp? (0.5ohms each for the mosfets).
I was probing around the circuit and found one of my sense resistors getting hot! (I checked it as I noticed current was rising bad). The other one is cold. Upon measuring voltages across them, I found the hot one had all the current through it while the other one had nothing? This happens with all the op-amps used now. For some reason, before I moved houses neither resistors would warm at all! Even with 5amps through them. (0.1ohms, 5amps should be 2.5watts right? I^2R?) Perhaps I need a look at the mosfets now...
Hahahaha....this power supply has got my tail between my legs. I better go get a book on op-amps... Thanks for the help guys! Matt
Registered Member #191
Joined: Fri Feb 17 2006, 02:01AM
Location: Esbjerg Denmark
Posts: 720
from the epcb layout, seems like you are doing high side current sense and using pfets. The constant current dummy load was using nfets with lowside current so everything was referenced to ground.
Now i looked at the el5244 datasheet, seems like Vcm can only go up to 3.5V with a 5V supply.
Voltage feedback from your high side current sense will range from 5 to 4.5V with respect to 0-5A. notice thats inverted.
Voltage from Vref will range from 0 to 1.25V(if you are using a 1.25V chip)
So, there are two problems, 1, you are trying to use an opamp to keep the two voltages the same, but in reality the will never even come close to each other.
2, feed back is totally out of your opamps Vcm range. If you look up high side current sense, you will see they usually call for differential amps, not opamps.
Registered Member #99
Joined: Thu Feb 09 2006, 06:10PM
Location: florida, usa
Posts: 637
Thanks for the reply. It looks as if I went way off the deep end with these other op-amps. I switched out the pfet for an nfet as well as configured the sense resistor as is done in the dummy load circuit. Still no luck. I dont have a vref chip just yet, so maybe that is the deal? Id love for all these problems to be simply the darned vref being a crappy resistor divider
I think I will switch back to the TL-082 op-amp since I had some success with it. 12 volts may cause more heating, but it works.
Now after re-doing the supply for the TL-082, it seems as if one transistor is hogging the current. One gets SMOKING hot as does its sense resistor. This NEVER happend before even when left on for hours. Any ideas? Just bad luck that finally kicked in here? So odd! It was working well minus the heating. (Fan mounted on heatsinked helped). Maybe God is telling me to give up? Matt
Registered Member #99
Joined: Thu Feb 09 2006, 06:10PM
Location: florida, usa
Posts: 637
Thank you for the tips! I would be stuck with a battery and resistor without you guys helping out! So I swapped out some copper wires for nickel plated wires and things seem to be back to normal with the tl082 version. Seems copper oxidation was at fault for the strange behaviour. That and the breadboard sucking bad! (I need to get this circuit soldered down!)
So what kind of capacitance are we talking here? 0.1uF or something small on the - and + inputs to the op-amps? How about on the output? Might this help with the "current walking"? It likes to climb up and down a bit from where it is set. Could this be due to the crappy Vref I am using? (trimpot/resistor divider). It usually either climbs some 10mA-30mA or so and settles or drops some 10-30mA and settles out a bit. (Fine for high current laser diodes that are not being run near their max, but BAD for anything else!) Matt
Registered Member #191
Joined: Fri Feb 17 2006, 02:01AM
Location: Esbjerg Denmark
Posts: 720
not sure how well the 5V supply is regulated, but any small voltage drift will definitely result in "current walking" if you are only using a resistive divider. i reckon a bandgap voltage reference will fix that right up.
Registered Member #99
Joined: Thu Feb 09 2006, 06:10PM
Location: florida, usa
Posts: 637
Electroholic wrote ...
not sure how well the 5V supply is regulated, but any small voltage drift will definitely result in "current walking" if you are only using a resistive divider. i reckon a bandgap voltage reference will fix that right up.
I am using a vicor flatpac. I beleive it is supposed to be very decently regulated, so Im unsure as to the problem here. I dont see how the original maker of this circuit has met with such sucess? (He IS using an LM723 as the vref).
Here is what stumps me most. All of you guys who know this stuff say that the op-amp works by comparing Vref to the feedback voltage and adjusting output until the feedback is the same as Vref. Right? So why is mine not doing this? Here is what mine does. Both Vref and voltage input start at 11.99volts. (Went back to the 12volt supply). Zero current flows at this point. As I adjust the resistor divider such that the Vref is decreasing, current through the fets goes up. This may sound alright, but it makes making a solid Vref very difficult! In order for things to work out right, Vref needs to be regulated, right? AND the voltage in MUST start at Vref's max voltage. If there is ANY difference, current begins to flow. So, I havent seen any regulating circuit that can go from 0-voltage in. Max regulated voltage is always some voltage less than voltage in. Thus, I cannot get current to start from zero.
Is this because of the op-amp I am using? Or is it due to the way I am operating it? I watched the voltage on Vref while running 5amps. It DID change by 10mV or so...But it went back down. I still dont understand the walking I am seeing. Sometimes it will just keep on climbing and not ever stop. It will steadily rise to 100mA greater than what I set it at. Could it be to the breadboard connections? I do need to solder it all down, but plan to use Expresspcb. (My homemade days are over). Id hate to pop out 60$ with some kind of fatal error... Thanks for you help guys! Matt
Registered Member #191
Joined: Fri Feb 17 2006, 02:01AM
Location: Esbjerg Denmark
Posts: 720
sounds like you are back to high side current sense.
as i said, voltage from feed back will swing from 12 to 11.5 when your current goes from 0 to 5. So you want your control to be in this range. just use a bandgap voltage reference and hook one end to the positive rail and set up a divider across this reference. this way, you can get a stable voltage to the opamp as control.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.