Maker Pro
Maker Pro

Programmable current source

Hi everyone,i want to make a programmable current source/sink (source or sink depending on a digital signal) but i am a beginner and i don't have a clue...It has to provide 0-10uA,10 bits resolution,can anyone help???
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
I guess the first question is "why?"

Followed quickly by:

Do you want a source or a sink (or the one device to do both -- so -10uA to 10uA)?

What form is your digital signal?

What will your voltage source be? (presumably a double ended power supply)
 
My pcb has a vlsi with a pad through which i must draw or inject current.A cpld (XC2C32A) will control the digital signal and when '0' i want to source current and sink when '1'.
I would prefer -10uA to 10uA and as for the voltage source i have some regulators that provide me +1.8V, +3.3V, +5V and -5V respectively.Will any of these do?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
ok, so not really variable, just either source or sink 10uA depending on a single logic level?

How far from ground will the node from which you are sourcing or sinking 10uA go?

I would suggest working from the +/- 5V rails.
 
No,i would like variable current,from 0 to 10uA when sourcing and 0 to -10uA when sinking.
10 bits resolution would be ok,if it is possible.
As for the distance from ground,i am currently developing the pcb so i guess we can adjust it according to our needs,right?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
No, I mean how far from ground (how many volts, millivolts, kilovolts) will the node that you are sinking or sourcing current to/from move away from ground potential.

When I asked you what sort of digital signal you said 1 bit, for source or sink. Would you like to redefine it?

Are you using 1 bit for source or sink and another 10 bits (parallel) to determine current?

+/- 5V may be a constraining factor.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
I'm thinking an R/2R network to turn your 10 bits to a voltage, an amplifier with switchable +1/-1 gain based on another logic level, and finally a voltage to current stage.
 
I am using 1 bit for source or sink.The current i don't know how to control it,by a potentiometer,a DAC,or someother way.Whatever is best or more convenient,they just told me 10 bits resolution.
I don't how far from ground it will go...
 
As i told you i don't have any experience and it would be very helpful if you could upload a design.Is it possible???
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
I am using 1 bit for source or sink.The current i don't know how to control it,by a potentiometer,a DAC,or someother way.Whatever is best or more convenient,they just told me 10 bits resolution.
I don't how far from ground it will go...

Who are "they". And why are you being asked to design something when you admit you have so few skills?

If you're thinking about a potentiometer and saying "10 bit resolution" in the same breath, then I fear you lack some basic understanding.

You need to know how much voltage swing will be required otherwise you can't know what supply voltages are going to be needed.

As i told you i don't have any experience and it would be very helpful if you could upload a design.Is it possible???

How can anyone design something if they have no idea of the basic parameters?

What are you doing?
 
It's for school,everyone has to start from somewhere.
I know that potentiometers provide constant values,i just wanted to say if there are potentiometers with equivalent precision,as a DAC with 10 bits resolution.I mean i imagine it's hard to adjust a pot from say 1.01uA to go to 1.02uA.
 
Also,i don't speak english very well,i didn't understand what you were asking about the ground.The voltage swing will be 0-1.8V.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
If it's for school, then it belongs in homework help.

It also means that you should have a better definition of the problem than what you've given us so far.

How about you tell us *exactly* what your assignment is and we'll try to help you understand the question.
 
I have to design a pcb to test some structures of a vlsi.(I didn't design the vlsi,just the pcb to be placed on and check some functions of it).I have the pin description and some documents about the vlsi and i have almost finished the schematic.This is the last thing i have to do,what further information about the current source are required to proceed?
If there is something else missing i could ask my professor
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
The main thing to ask is how he wants you to control the constant current source. From the description it sounds like you are driving it with a digital signal, however that current sink/source may be an A-D and he is expecting a 10 bit digital signal from it.

He may just want a big fancy knob, perhaps on a multi-turn pot to make it more easily adjustable.
 
No,we want analog signal from it,that's for sure.It's up to me to decide whether i want a DAC to control the current or a multiturn pot.(if there are pots with as much precision as we would get with a DAC,or close to it,i prefer pot.)
 
Last edited:

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Well, pots can give you far more precision, but generally far less accuracy. Which is more important.

Unless his use of the term "10 bit" was an irrelevant throw-away, you've got to assume it means something.

OK, is this an assignment (or similar) or are you a grad-student who's been given a really vague "do this" from his professor?
 
No,i haven't got my degree yet.Everyone has an assignment to work for the semester and this is mine,but it's up to us to decide how we want to do it,there is nothing strict.
If we can do it with a pot,it would be ok.Even if i want to implement it with a DAC later i will be able to change the design my self.
 
Last edited:
I found this circuit that should be providing 0 to10uA or -10uA to 0(the mux will control that),do you think that it will work?
 

Attachments

  • opamp_sink.jpg
    opamp_sink.jpg
    28.5 KB · Views: 200
Top