how to read the datasheet correct ( 2uV op amp ? huh )  - Page 1
Forum section: electronics / projects

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 06:14:16 am
content: well . I don't know if that's the correct forum to discuss that subject ,I'm working on high power electronic load , but first . I decided I deeded 0-1A load , so I've build it ,I used lm324 and just random 13007 ( I thought it was a Nmos , but it turned to be NPN transistor ... )work's , the shunt is just 1 ohm probably 1W 1% resistor from cheap Chinese (damm ) multimeter that blew in my hand while measuring mains volts , stupid meter ! ,anyway , the shunt is +- couple of milivolts out ( at 1A setting ) .when I received my 5X units of the mcp6V27's , I decided I'll protect the VDD of the op amp via connecting it throe the 0-1A (also have another mode-> 0-100mA ) , I've set the current max to be approx 3mA , and it work's quiet fine ( I by mistake over loaded the VoutA of the op amp ) and the current jumped from 1.2mA to 3.3 or so ,then 2 days later , I plugged the op amp opposite () and the load wasn't fast at all , the current rose to few hundred of mA's and then settled at 3.3mA , the op amp smoked and I was crying ( it had cost me a lot ! )so I have 4 more units , I decided to do a faster 0-1A load ( just changing the shunt and the op amp to the mcp6V27 ) ,I've changed the shunt to 50mohm one ( lower voltage operation ,+ lower power on shunt = more stable )it turns out that 2uV op amp can be out by quiet a lot ! ,0-100mV and it can be anyway from 9uV to 20uV , lower than 1.278 (or so ) mV and it remain in that voltage ,is that's related to the fact that it's been powered by 1X( 4.5V) power supply ( can not reach negative rail ? )and what about the +- 9-20uV ? I'll mention that above 100mV it goes to 2.5-3uV as quoted on datasheet (I think )NOTE(1): by putting some cap between the VoutA and GND , I get +- 10uV at the range of 0-100mVNOTE(2): the circuit is half on variboard and half on bread board , with like 10C'M long , approx 20AWG wiersthank you in advance and sorry for the long postNOTE : I'm not shure if the title is fine either , please tell me if it doesn't , thank you !

author: blackdog
author_rank: Frequent Contributor
timestamp: June 21, 2012, 06:36:16 am
content: Hi eevblogfanCan you post a picture and a schematic?Working with voltage below 1mv is difficult.Be very careful with the opamps specially MCP6V27 associated with static electricity.I did this to => I plugged the op amp opposite, even after more than 30 years of experienceKind regarts,Bram

author: amspire
author_rank: Super Contributor
timestamp: June 21, 2012, 06:46:50 am
content: I would be surprised if the opamp offset was more then 2uV between 0V in and the supply volts on the inputs.If you seem to be getting a bigger offset, one of three things are probably happening. The opamp could be oscillating. Secondly, the way you are connecting the power to load circuit is adding some extra offset to the amplifier. Are you using two supplies, or are you powering the opamp and the load from one supply? Last it could be the method you are using to measure the offset is causing a problem.Ideally the load supply connects to the sense resistor and the mosfet drain. There should be a second supply for the opamp circuit. The ground of the opamp circuit connects to the low sense input of the sense resistor. Other then this one connection, the load ground and the opamp circuit ground should not be sharing the same ground track on the PCB. The resistor back to the opamp connects to the high sense input of the sense resistor.How are you detecting the offset voltage of the opamp?Richard.

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 06:53:14 am
content: it will take me quiet allot of time to draw the schem ,it's basic negative feedback (accros the shunt ) and this time , because of low voltage ( 4.5V ) and low current out of op amp , I decided I needed Pmos , so basically it's just VoutA control the gate of the Pmos which control the B of the PNP transistor ,there's trimmer accros the 1ohm resistor in order to "calibrate" the thing ,also 105.0 nF cap accros the VoutA and GND ( and about 500ohm resistor from VoutA and Gate of mosfet )well , I'll draw a persise shem , in order to clearfy the circuit for you , it will take me some time ( I'll draw it on paper and photo it in order to make it faster )offset voltage is meassured by comparing both ( the 287 and 3478A ) one another , then offset my 287 ( has constant 3uV offset ( ? ) ) then meassure the inverting voltage and the non inverting voltage , the GND leads are as tide as I can to each other , and so as the + and _ one'sthank you in advance !

author: amspire
author_rank: Super Contributor
timestamp: June 21, 2012, 06:56:54 am
content: Any chance of a photo of the test setup? Just want to see how the regulator circuit connects to the MOSFET and current sense resistor circuit.

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 07:36:06 am
content: well. there is a chanse , but first , I'll say that it's messy and Not ideal set up , so please promis me you woun't kill me for that ( ><" )I'll upload both together when I'll finish the drawing

author: amspire
author_rank: Super Contributor
timestamp: June 21, 2012, 07:39:19 am
content: Quote from: eevblogfan on June 21, 2012, 07:36:06 amDoesn't matter in the slightest if it is messy.

author: codeboy2k
author_rank: Super Contributor
timestamp: June 21, 2012, 07:50:15 am
content: There are many sources of error in an opamp circuit. yes, please post the full circuit so we can look at it.The Vos in a datasheet is the raw offset measured with the chip just sitting there on a lab bench doing nothing. usually the inputs are tied together and grounded, and the offset is read directly at the output. That's the old way. A new way to measure low offsets in the uV ranges is to tie one input to ground, build a gain of about 1000 or so, and tie that gained up input to ground too. Now measure the output directly, the offset voltage is the output divided by the gain setting (and you need precision resisters for this too).Input bias currents can cause your offset to go up, make sure your input resistors are low values, like a few hundred ohms only. Also, remember all the offset and noise at the inputs will show up at the outputs, amplified.you said you have a capacitor at the output, then a resistor to the gate of the FET ? I hope you actually have a resistor first, then a cap to ground then another resistor to the gate; the first RC is a low pass filter, you need this to clean up the output of any amplified noise from the inputs. The second resistor is for the gate. You may not need it, but you should at least put a low value one there, to further isolate the gate capacitance from the opamp output. The first resistor of the RC circuit will do that, but it may not be enough . and on a PCB, especially the first cut, I always put space for one, and sometimes just fill it with 0-ohms. I also put pads as placeholders around the op amps of my circuit, in all the usual places for compensations and fill them later. That's just good advice for you when you finally get around to making a PCB.and are you sending your feedback loop from one breadboard 20cm over to the veroboard and back ? I'm thinking you breadboard has the opamps and your veroboard has the transistors and current sense resistor.

author: codeboy2k
author_rank: Super Contributor
timestamp: June 21, 2012, 12:09:24 pm
content: My first thought... that 2k input resistor on the + input to the opamp is way too high.Consider this: ohms law -- E = I*R.If the opamp has 20nA of bias current on your + input, and you have a 2k ohm resistor that the current has to be sourced from, then there is a voltage drop of 40 uV. That means your input pin is going to be 40uV different from your setpoint at the junction of the 2k/22k/222k, and whatever you set by the 22k pot will always appear different (by an offset of 40, 50, 60 uV, depending on the bias currents).If you were to change that 2k into 100 ohms or 50 ohms then the voltage drop from the bias current is way, way less.100-ohm : E=IR = 20nA * 100-ohms = 2uV drop across the resistor.50 -ohm : half that -> 1uV drop5 - ohm : 1/10 more -> 100nV drop. now you're talking... you've contributed less offset than your opamp spec. That's good right there!Even after that if you want more precision, you can still add circuitry at the inputs to offset those bias currents and effectively null them out.Lesson of the day here for all players: Keep your input resistors low low low to reduce offset errors.point #2: I suggest you include a low pass filter at the op amp output, it will always help to stabilize things.point #3: I am not sure why you have that diode at the output of the 7805. I think you are trying to get reverse polarity protection. But that diode drop might hurt you. If you need 5V back, you can raise the 7805 ground pin with another diode in the 7805's connection to ground. Put a diode in the standard forward biased configuration to the ground rail. This will raise your ground for the 7805 so when the voltage drops across the output diode, it will be 5V again.In this case it's probably not needed, the opamp you chose is specified for 2.3V to 5.5V.point #4: I don't like the trim pot over the 1-ohm sense resistor. Your going to have high currents through your trimmer, and that can heat it up, and then it's off calibration. And trimmers don't have good tempcos anyways. Normally you would do this sort of thing by using a second op amp in the feedback loop, to feed the (-) input of the first opamp. One of the inputs of that opamp will have an offset trim adjustment, so you can trim the voltage from the sense resistor to match the setpoint voltage. The problem is now you will need negative voltages or another opamp to invert it again if you want to stay with only positive voltages.point 5:and this is for everyone, don't be afraid of negative voltages, they are easy to generate, and you can do alot with opamps when you have voltages available below 0. opamps love large positive and negative voltages and they get their best performance from higher voltages, not lower voltages. There is an industry push to make lower voltage opamps.. it sort of works, but I still see the best specs are when the opamps are running with +/- 15V.Actually with your power supply design using the 7810 and 7805 , you can easily make a small negative voltage rail that is 2 diode drops down, from the GND refererence, and float everything else above that.OK so those are my suggestions. Pick and choose what you like and give some a try.Cheers!

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 12:42:52 pm
content: heyhere is the "correct" schema :besides , why is that constant 1.27X mV when the (-) connected to GND > ?

author: os40la
author_rank: Regular Contributor
timestamp: June 21, 2012, 03:59:03 pm
content: point 5:and this is for everyone, don't be afraid of negative voltages, they are easy to generate, and you can do alot with opamps when you have voltages available below 0. opamps love large positive and negative voltages and they get their best performance from higher voltages, not lower voltages. There is an industry push to make lower voltage opamps.. it sort of works, but I still see the best specs are when the opamps are running with +/- 15V.Could you give us some examples. I have seen examples that use 555's, MAX232's, LM79XX's. Not sure what would be the best.

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 04:10:00 pm
content: heythe best is "the best" for the requirments , ie , for low power and low noise , use resistor devider (like dave done on the uCurrent ) then buffer the center tab , there you have it ! , low noise low power split power supply ,you hae the switching caps the 555 timer etc ( alo if AC voltage is avalible , you can use voltage dubler and then split , assuming the amplitude is too low for the rails you need , eg , 3Vppk , you can build the voltage up to +- 17V , regulate and then split it into +- 15V )blablabla (yes , I'm tierd , so ?)

author: free_electron
author_rank: Super Contributor
timestamp: June 21, 2012, 04:55:22 pm
content: sigh ...That's all i can muster for now. Stuff like this depresses me."we need stellar performance" but it's too much to ask to built a correct, properly specified, stable supply. Let alone properly bias the opamps...Instead we'll muck about with two cascaded piece-of-shit regulators , slap in a diode and write down that we see 4.406 ( note the three trailing digits ! ) volts.. for -2mV per degree C ? if your room changes 5 degrees your second trailing digit is already off.... by the time this thing sits in a box the first trailing digit will be wobbling as it is running... raise the temp 50 degree over ambient and you are wrong in the 100mV range !we also use a 4.654 ( not the three trailing digits ) ohms resistor to send a current through two of the crappiest diodes we could find coming from an 11.27 volt supply ... you are sending roughly 2 ampere through these diodes ? ... wow ... what's Tj ? 500 degrees ?But i have a good opamp 2uV. surely that will comensate no ?you have to be stark-raving mad to design like this... this whole thing makes as much sense as a screen door on a submarine ...Throw in this stinker : ' i put in a transsitor ... i though it was a mos but turned out to be a bipolar....'..How does that song go ? They're coming to take me away ... i need to go for a little walk..... this is too much.when i'm back maybe i'll post some tips ...

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 05:10:35 pm
content: hhhhhh , you've killed me , I can't stop laughing , ( realy )as I've said , I'm sorry for that Not apropriate building ....the 0-1A was just athinkering and It worked ! , but the LM324 is too slow , so I wierd it to the mcp6V27 just to see if there is any other problem ( ofcorse that when I'll finish I'll replace the KIA7810 into the KIA7805 , and another few changes )but my question is why there is constant 1.27XmV when the (-) connected to VoutA and the (+) beed fed with 0.8mV , why ?If I had to build that from nothing , I'll buy *anything* new ( which I can't ) and make my own PCB . put some shiny binding posts as well ,oh and as for the 13007 , I haven't serched for any datasheet , it seemd to work no problem with the Vout of the LM324 directly , (compare to another transistor's who killed my op amp ! - 10ohm is not enough ... ) sorry for that if it makes you mad on me ...really , I'd like to learn electronics , not poetry, but I liked you're songwell , I'll be here tommorow , I'm going to sleep, hope to hear from you !my bad ! . I'll be here within 30 min's , after that , I'll go to asleep

author: blackdog
author_rank: Frequent Contributor
timestamp: June 21, 2012, 05:28:39 pm
content: Hi eevblogfan,I tested this schematic (yes, i have built it) for you this afternone and its works :-)And i think free_electron has a good point about the powersupply...My schematic is not perfect but its works without osscilation.Schematic:www.bramcam.nl/eevblogfan-01.JPGTest Setupwww.bramcam.nl/eevblogfan-02.JPGVoltage @ + input opampwww.bramcam.nl/eevblogfan-04.JPGCurrentwww.bramcam.nl/eevblogfan-03.JPGKind regarts,Bram

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 21, 2012, 05:50:29 pm
content: lol , I've pulled almost everything out of non working devises ! dont blame me for that ! , I know KIA7805 doesnt have that stable output, it doestnt ment to be at first place ,the bridg rectefier was there for AC transformer testing "under load " result "after *filtering* him " . the 400V cap and the 13007 is there vor more then 100V operating ( ofcorse at lower currents ) but ther's not need in building new unit just for that , note , that CPU heat sink is bearly warm at higher the 30W continusly ( with fan voltage of about 6-7V and the fan noise is not annoying ) ie, 0-1A continusly at 30V without a dout (it can go higher but I hadn't tested it yet ... )waiting to hear from free_electorn !

author: codeboy2k
author_rank: Super Contributor
timestamp: June 21, 2012, 08:31:03 pm
content: LOL's at free_electron's reply ... I was more restrainedYeah, I was wondering about that 4.654 ohm precision resistor toobut I had my vent for the day... by the time I replied, I already vented at someone else in another thread, and was feeling helpful again

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 22, 2012, 04:41:26 am
content: hey .he isn't precision , I've just go ahead and posted the measured value ,there is anything I can do now in order to reduce your non helping approach ? . really . I'd like to understand , when the mcp6V27 is on the breadboard , shorting (-) to the VoutA , putting quite stable 5mV to (+) , and compare the fluke 287 VS the HP-3478A , offset the fluke 287 according to the HP-3478A , and the HP-3478A measured the VoutA while the fluke 287 measured the 5mV input to (+) , the difference between them is anywhere between 9uV and 20uV , when (+) is shorted to GND , the VoutA give me 1.27XmV reading . can someone explain me only that fact ? please ?thank you in advance !

author: blackdog
author_rank: Frequent Contributor
timestamp: June 22, 2012, 07:26:17 am
content: Hi eevblogvan,Your problem is the offset voltage, look at the datasheet, the offset change if your input and/or output is near the powersupply voltage.If you look @ my schematic you wil see a resistor in series with the 22K current setting potmeter.The +input of the opamp cant reach "0" and the opamp remains stable.Also C4 and R6 are also required to remain maintain stable.I have built for your schematic yesterday and it worked well.Even with a 7805 as a reference :-)Sorry for the English language, I am a dyslexic DutchmanKind regarts,Bram

author: amspire
author_rank: Super Contributor
timestamp: June 22, 2012, 07:50:36 am
content: Quote from: eevblogfan on June 22, 2012, 04:41:26 amThe minimum output voltage is specified at less then 15mV (5mV typical), so your problem is probably that for this test, the output cannot go low enough. This is not a problem for your constant current load circuit at all since the opamp output is never anywhere near zero volts. It is usually well above 1 volt. If you add a voltage divider to the output - 1k from the output to a 10 ohm resistor, with the other end of the 10 ohm resistor to ground, and you connect the negative input to the 1K/10ohm junction, then the voltage across the 10 ohm resistor should be much more accurate.The inputs of the opamp should have less then a 2uV offset all the way down to 0 volts and all the way up to the positive rail voltage.Richard.

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 22, 2012, 10:26:08 am
content: have fun :I must say . as for that 7805 , that's really stable (I dont have any scope for further info )it has constant 0.9~0.6mV offset . I have no idea why , but with 1 ohm resistor it's ok , as for the 50mohm . I dont think so .I've noted that the panel meter has low input resistanse , and he dropped the voltage set , so now I'm sensing the voltage via the unused VoutB as simple follower ( if I'll lower the shun't resistance , it will help me , I'll put some gain in order to read direct the current )I've tried few transistor's ( with gate mosfet ofcorse ) and they didn't have the preformance I get when using the IRFP064N , so maybe that was the 13007's fault !anyway , when I'll have the time .I'll put everithing togeter and I'll leave some place for 10X 10ohm resistors (better accuarcy + lower power on each one leads for better preformance , enough for my usage )I decided to put about 1M , accros 5K pot , the range switch will disconnect the leg of the 5K pot and the range will be lower by order of 10'sthank you blackdog for the schematic !but I haven't yet solved the "problem" , thank you amspire , I'll try you're idea and post the result(s) in here when I'll be able tothank you in advance and have a nice day !

author: T4P
author_rank: Super Contributor
timestamp: June 22, 2012, 10:39:11 am
content: Where did you get those classic intel heatsinks?

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 22, 2012, 10:46:49 am
content: oh ,, good questionmy father is computer technician , he had a-lot of quiet old computers , and they taks a-lot of plase either . I told him I can make a use of the motherboards, ATX's ,CPU's heat sink's ,there's a pic of the wier's I took from many ATX's :thank you in advance !

author: T4P
author_rank: Super Contributor
timestamp: June 22, 2012, 10:54:50 am
content: Wow ... My father has nearly the same position but here everyone throws out their still usable PC and not do anything ... i can't even get hold of a old heatsink

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 22, 2012, 10:56:10 am
content: you can get these heat sinks for quiet cheap , serch on ebay ( if you need )

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 06:12:17 pm
content: heyby shorting across the 200ohm resistor , I can get down to zero ( or anywere els below 9mA/90mA )ther's somthing wrong with shorting it ?BTW : I trent 24houres with current set to~ 902mA , here's pic of that trend -->the whole sistem runs at +-1% (resistor's fault )another wierd thing is . when no DUT is connected , the set current reads lower by 13-15mV , when does connected , reads out by +-1% (fine )does the curve represent relativly stable loop ? or thats not good ?thank you in advance !

author: chrome
author_rank: Regular Contributor
timestamp: June 23, 2012, 06:26:30 pm
content: What we need is more pictures that are way too large and way too blurry.

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 06:29:59 pm
content: sorry , it's Sony Ericsson , only 2Mps ,I have no flukeview cable+softwear , so couldn't catch it better.

author: chrome
author_rank: Regular Contributor
timestamp: June 23, 2012, 06:35:01 pm
content: you can still reduce the image size

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 06:39:18 pm
content: like these ?

author: chrome
author_rank: Regular Contributor
timestamp: June 23, 2012, 06:51:32 pm
content: Sure but maybe use a service that looks less sketchy like imgur or something

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 07:35:00 pm
content: umm , that ?

author: T4P
author_rank: Super Contributor
timestamp: June 23, 2012, 08:50:25 pm
content: Quote from: eevblogfan on June 23, 2012, 07:35:00 pmNo mang, photobucket pleaseWhy the hell is it so small?

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 09:13:53 pm
content: heyit's the only option who wasn't as the other too big ones ,shall I keep use "siz" sight ?

author: T4P
author_rank: Super Contributor
timestamp: June 23, 2012, 09:23:21 pm
content: Quote from: eevblogfan on June 23, 2012, 09:13:53 pmUpload them as a attachment

author: codeboy2k
author_rank: Super Contributor
timestamp: June 23, 2012, 09:24:08 pm
content: Imgur or photobucket. Either one is fine. Photobucket requires you to create an account; that can be a hassle if you don't already have one.I prefer imgur. It's quick, anonymous, no need to make any account, and never seems to be overloaded.that siz site you used first just seems to wait forever for me, I can't load any images from it. I am in Canada.you can also use attachments.Cheers!

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 23, 2012, 09:34:07 pm
content: like this ?

author: eevblogfan
author_rank: Frequent Contributor
timestamp: June 26, 2012, 07:59:18 pm
content: heyI have no time for busing with that , but I have aproach to new camera ,is that's acceptible res ?oh and the pic shoes the load run at 1A@16V ( 2 MOSFET's and 2X50mohm shunts )