Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 3rd September 2006, 09:55 AM   (permalink)
Exclamation Current-dropping current source! Please help!

Greets everyone,

I am not sure if this is the right place to post this in the forum, but I have a problem with a circuit that I designed at the implementation stage.

http://vicious5id.zerodollars.com/isrc.gif

^ That's the circuit that I have designed. The purpose of it is to behave as a current source that supplies a range of current from 0 to 120 mA, to a 20 Ohm load (R11 in schematic). I have simulated the circuit within software known as SIMetrix and it works as I want it to under high temperatures, long periods of operation and if the 20 Ohm load alters in value. However once I built the circuit and tried it out I was surprised.

When I begin to rotate the pot, and stop it at a point where I need it say 52.2 mA (?!), the current will immediately begin to drop by 0.1 mA. Over time it will keep on dropping (over time = ~10 mins) but the 0.1 mA reduction gets very slow. I thought that it's becuase my resistors or something else was getting hot, however if I cooled the transistor more current began to flow!

I really don't want the current to drift by 0.1 mA at all! I want the current to stay exactly where I set it regardless of how much temperature changes. Also the current I set should stay constant for +/- 10 Ohms in the load. So if I were to set the current I want output to 80 mA it should stay constant over a 10, 20 and 30 Ohm load.

Well anyway I think this post is getting long enough and I don't want to start mixing my objectives and confusing everybody!

I really appreciate any help you guys have to offer.

v5 0ut.
vicious5id is offline  
Old 4th September 2006, 04:54 AM   (permalink)
Default

There is only 1.5 volts Vce at room temperature at the max current and Vce increases with temperature, so perhaps the transistor is going into saturation.
__________________
see my website: www.geocities.com/russlk
Russlk is offline  
Old 4th September 2006, 05:42 AM   (permalink)
Default

I'd check the reference voltage being fed into the potentiometer. If that moves by 0.1/52.2 = 0.2%, that'll result in the change that you're seeing. The circuit only tries to hold the transistor's emitter at the reference voltage, so if the 12V power supply varies by .2%, you'll see the that much variation.

To make it more stable, use a voltage reference thats isolated from the main power supply...
hjames is offline  
Old 4th September 2006, 09:37 AM   (permalink)
Default

Russlk, if the transistor were going into saturation would it cause the current to decrease? I mean I always thought that the transistor would simply maintain that current.

hjames, I just want to make sure everyone, not only you is with me here; the current doesn't simply change or is unstable, it practically drops by about 1-2 mA over time. I'm also not really sure what you mean by voltage reference, are you talking about VIN+ on the op-amp or the combined resistance of R2, R9 and R4? Also how would I go about isolating this refernece from the main power supply?
vicious5id is offline  
Old 4th September 2006, 09:50 AM   (permalink)
Default

Quote:
Originally Posted by vicious5id
I'm also not really sure what you mean by voltage reference, are you talking about VIN+ on the op-amp or the combined resistance of R2, R9 and R4? Also how would I go about isolating this refernece from the main power supply?
The current is dependent on the reference voltage applied to the opamp (via the pot), if that voltage changes then the current will change. You've made no effort to make that voltage stable, so the current isn't going to be stable at all. I would suggest using a precision voltage reference to feed the potentiometer?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th September 2006, 12:14 PM   (permalink)
Default

NG, I see where your coming from, and if I take that in mind, then I still don't see how the current in my 20 Ohm resistor begins to decrease and keep on decreasing, and only ever decrease and (almost) never increase. Surely the stability of a power supply is randomised, i.e. it fluctuates with increments and decrements.

Quote:
I would suggest using a precision voltage reference to feed the potentiometer?
My friend found this ZREF12Z lying around at his Uni's lab so he swiped it ! This gives a 1.25 Vref. However I am not sure how to use it in my circuit as it has only two active pins, and a third floating one which I am supposed to tie to pin 1. Is this the right thing to use in my circuit and how do I use it, if it is. If it's the wrong component could anyone please suggest one? I'm sorry to be a pain like this, it's just that I have little experience in these specialist application components.

Many thanks, v5.
vicious5id is offline  
Old 4th September 2006, 12:20 PM   (permalink)
Default

Quote:
Originally Posted by vicious5id
NG, I see where your coming from, and if I take that in mind, then I still don't see how the current in my 20 Ohm resistor begins to decrease and keep on decreasing, and only ever decrease and (almost) never increase. Surely the stability of a power supply is randomised, i.e. it fluctuates with increments and decrements.
The supply voltage is likely to gradually fall, and as it does the reference voltage will fall with it, and the current will obviously fall. It's essential to have a stable reference for anything like this - there may be other problems, but without a stable reference you've no real way of knowing.

Quote:

My friend found this ZREF12Z lying around at his Uni's lab so he swiped it ! This gives a 1.25 Vref. However I am not sure how to use it in my circuit as it has only two active pins, and a third floating one which I am supposed to tie to pin 1. Is this the right thing to use in my circuit and how do I use it, if it is. If it's the wrong component could anyone please suggest one? I'm sorry to be a pain like this, it's just that I have little experience in these specialist application components.
Treat it like a zener diode.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th September 2006, 12:25 PM   (permalink)
Default

Quote:
Treat it like a zener diode.
So you mean I should stick it in under a shunt configuration? I mean should I simply place it in parallel across the pot I already have, and maybe take some resistance from the 100.5k resistor so I can get it to that 1.25 V value?
vicious5id is offline  
Old 4th September 2006, 12:28 PM   (permalink)
Default

Place it in parallel with the pot, and reduce the value of the 100K to get the required current through the chip, the datasheet should tell you what value would be best.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th September 2006, 09:31 PM   (permalink)
Default

That is a badly designed current source to begin with.

The sensing resistor not only measure load current, but also transistor base drive current too and this will cause big error if load resistance changes.

Looking at what Bob Pease did is to use a trilington(three NPN transistors combination) instead of a single 2N3053 to build an ultra high gain transistor switch and reduce the contribution of Ib to a very very low level. Using even a darlington setup or a MOSFET instead of 2N3053 would be much better in your case.
__________________
L.Chung
eblc1388 is offline  
Old 5th September 2006, 10:16 AM   (permalink)
Default Woah!

Quote:
That is a badly designed current source to begin with.
Man, I'm sorry LC, this is the first time I tried this and I'm only 17! I don't know if that still merits any sympathy, but its worth a try .

Quote:
Looking at what Bob Pease did is to use a trilington(three NPN transistors combination) instead of a single 2N3053 to build an ultra high gain transistor switch and reduce the contribution of Ib to a very very low level. Using even a darlington setup or a MOSFET instead of 2N3053 would be much better in your case.
I couldn't find that article on Bob Pease by the way ("trilington" config.), eventhough I don't actually know who he is, until now (and after tapping his name into Google). However, your suggestion makes sense though, because the transistors that I am currently using offer a gain of about 50, but a TIP121 for example will churn out a gain of 1000.

EDIT (05/08/06 11:48 AM):
I tried using a darlington transistor in the circuit and I got similar results, sort of. The current seems to bounce around what I set it (set at 95.5 mA). I saw a drop of 1 mA in the first 10 mins of operation then the current immediately jumped back up to ~95 mA. After 53-60 mins of operation however, I recorded the current at 95.8 mA. This is good, but I really am not fond of the current varying by 1 mA at the very beginning. Would it be wise to go for a higher gain?

LC, I was hoping you could point me to a book or article that includes information regarding good, accurate variable constant current source design(s).

NG, I set up the voltage reference as shown here and it did work quite well, however the current dropped, but by only 0.5 mA in 40 mins, which is much better than what I had before (a drop of 2 mA in 10 mins). My apologies for the badly drawn half-schematic in Paint!
__________________
"Even a man with nothing can offer his life." - Warhammer 40 000, Dawn of War Winter Assault

Last edited by vicious5id; 5th September 2006 at 11:58 AM.
vicious5id is offline  
Old 5th September 2006, 02:33 PM   (permalink)
Default

Quote:
Originally Posted by vicious5id
Man, I'm sorry LC, this is the first time I tried this and I'm only 17! I don't know if that still merits any sympathy, but its worth a try .
You don't have to say sorry. I have nothing against you and the comment is directed towards the circuit, not you. Does it comfort you that many Uni graduates can't put together a decent circuit? On the other end of the spectrum I knew one 15 year old guy designing circuits he sold to others as his bread and butter.

Quote:
Originally Posted by vicious5id
I couldn't find that article on Bob Pease by the way ("trilington" config.)
See image for what I meant by trilington. I can recommend you the book "The Art of Electronics" by Paul Horowitz and Winfield Hill, and perhaps also the following shows what is very interesting to watch.

ANALOG BY DESIGN SHOW

I'll tell you you how to trouble shoot this problem. You cannot pin point the problem because you have not taken sufficient voltage readings to enable you to. You might need another voltmeter to fully debug your setup.

What you need to measure is the initial voltage on the two inputs of the opamp, after you have adjusted the pot for the desired load current. So you have three readings to take. The actual load current and the two opamp inputs volt reading. Draw up a table and write down the results.

Do this again when you have observed the current drifted and then it is very easy to point out where your problem is.
Attached Images
File Type: gif current_Source.gif (55.4 KB, 12 views)
__________________
L.Chung
eblc1388 is offline  
Old 5th September 2006, 03:14 PM   (permalink)
Default

Quote:
Does it comfort you that many Uni graduates can't put together a decent circuit? On the other end of the spectrum I knew one 15 year old guy designing circuits he sold to others as his bread and butter.
That's messed up, not comforting, alas you can probably assume as much, since this world is moving from analogue to "digital" (its all still analogue underneath). Even I'm considering a degree in digital electronics rather than analogue.

OK, I plan to measure the voltage of the op-amp inputs with ground, so Vin+ to GND and Vin- to GND. Then just take the current measurements as they appear in succession.

Also in your personal experience, is the basic idea of the circuit modified so far OK? Or is there a better alternative? I just want to know because I expect the load of 20 Ohms to change a bit, say +/- 5 Ohms.

Present version of current source.
__________________
"Even a man with nothing can offer his life." - Warhammer 40 000, Dawn of War Winter Assault
vicious5id is offline  
Old 5th September 2006, 03:45 PM   (permalink)
Default

What are the two 100 ohms doing?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 5th September 2006, 03:57 PM   (permalink)
Default

Quote:
Originally Posted by vicious5id
Also in your personal experience, is the basic idea of the circuit modified so far OK? Or is there a better alternative? I just want to know because I expect the load of 20 Ohms to change a bit, say +/- 5 Ohms.

Present version of current source.
The circuit is pretty standard and will suit your purpose just fine.

As long as you have a few volts across the C-E of the regulating element so it can do its job of regulating the current during use, then the circuit would not care a bit about the loading or load resistance changes.

One point I would like to make is why you have omitted the resistor from Opamp output to base of transistor. Doing so would prevent the output of the opamp to rise above I-sense voltage + VBe so it really is a bad idea. A series resistor of 2K2 would be much better.
__________________
L.Chung
eblc1388 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:08 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker