Author Topic: Current sources vs sinks  (Read 2246 times)

0 Members and 1 Guest are viewing this topic.

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 21657
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Current sources vs sinks
« Reply #25 on: January 07, 2025, 12:00:15 pm »
I suggest people re-read and think about Tim Fox's reply #5 (and hence his reply #1).
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: TimFox

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 4027
  • Country: nl
Re: Current sources vs sinks
« Reply #26 on: January 07, 2025, 12:18:38 pm »
A few years ago I built a self powered current source / sink.

It has:

  • 1n4148 as a 600mV voltage reference.
  • LM358 that buffers / amlifies / stabilizes the reference.
  • Potentiometer on the voltage reference  ( Final current approximately between 10mA and 1.5A)
  • Shunt resistor to GND
  • LM358 (other half) to compare the reference with the shunt resistor voltage.
  • Sziklay pair as current amplification driver
  • Heatsink
  • Some *&^%$#@! to get the thing stable. (That took me a few hours)

I know a silicon diode is not very stable / accurate, but the goal here was to make a self powered current source / sink. Therefore it was important to use low voltage parts. The thing from a voltage as low as 2.8V and up to the maximum voltage of the LM358 (30+V).

Because it's self powered, it just has two connections, and you can use it either as a current source (with an external power supply) or as a current sink, depending on where you put it in the circuit.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • Retired, now restoring antique test equipment
Re: Current sources vs sinks
« Reply #27 on: January 07, 2025, 09:18:25 pm »
OK, so would you accept this as an accurate illustration of that distinction?

(Attachment Link)

It depends on whether the resistor is above or below the load, correct?

No. Your circuit is still supplying current to a load. Whether the current is positive or negative is irrelevant. It's a "source".

OK, so can someone please show me what a sink would look like? Preferably in schematic form? (Crayon on cocktail napkin sketch perfectly acceptable.)

A quick sketch, cut-and-pasted from a description of the 7404 TTL hex inverter.  Note that this original form of TTL logic is an example of "current-sinking" logic, along with DTL.  Later "TTL" types, including 74LS, are usually DTL.

Ignore the redundant labels from the original figure, but concentrate on the horizontal connection from the output of the left circuit to the input of the right circuit.  This circuit normally operates in one of two states:  "Vhi" and "Vlo" for the voltage on that wire, with corresponding currents along the wire in opposite directions.  The two states are labeled with brackets for [hi] and {lo}.  I added designators for Q1, Q2, and Q3.  The two inverters could be on the same substrate or in two different packages.
I apologize for the bad image quality, but my crayon was dull.

Now, in the {lo} state (logic 0 at that node), Q2 is off and transistor Q1's collector is sinking current from transistor Q3's emitter.  Q3 is powered from the Vcc node on the right.  Since Q1 is saturated, it presents a low impedance to that current flow Ilo sourced by Q3, and the voltage Vlo is quite low.

However, in the [hi] state (logic 1 at that node), Q1 is off, and Q2 is a source pulling up the node to a higher voltage Vhi.  The current Ihi for this IC series is much lower than Ilo.  Q2 is probably better considered a voltage source, rather than a current source, driving a relatively high impedance.  Q2 is powered from the Vcc node on the left.

On the data sheet, the manufacturer guarantees certain voltage and current levels for the gate in isolation.
The suffixes below were changed to correspond to data sheet specs.
For the first gate's output supplying the second gate's input:
    Voh > +2.4 V for Ioh < 0.4 mA
    Vol < +0.4 V for Iol < 16 mA
The requirements at the second gate's input for definite logic levels are
    Vih > +2.0 V at 0.04 mA  and   Vil < +0.8 V at 1.6 mA
so there is some noise immunity at the high and low logic states.
From the low-state sink current of the first gate, and the low-state source current of the second gate, we quickly calculate that one output can certainly drive 10 inputs (10:1 fanout).

Incidentally, I have never seen the term "voltage sink", although "voltage source" is quite common.  If one needed that term, it might be a relatively high-impedance load fed from the source.
A CMOS gate output is usually a switched voltage source driving a capacitive load at the driven inputs.


« Last Edit: January 07, 2025, 09:34:09 pm by TimFox »
 

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #28 on: January 07, 2025, 09:57:49 pm »
1. Let's at least be able to view that circuit of yours properly (I just needed to adjust the contrast & brightness of your image):



2. Too complicated, with too many extraneous factors; I still can't really wrap my head around what's a current source and what's a sink.
Can someone post a simpler explanation (w/circuit), please?
Pretend you're explaining this to a total n00b.
« Last Edit: January 07, 2025, 10:26:17 pm by Analog Kid »
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6482
  • Country: de
Re: Current sources vs sinks
« Reply #29 on: January 07, 2025, 11:47:13 pm »
I'm with you, horrible example.
But what's so difficult about a current source (I) vs. a voltage source (U)?
U supplies voltage (and current depending on load)
I supplies current (and voltage depending on load)

The sink/source thing in digital ICs is a misnomer for output current capability, but unfortunately commonly used.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • Retired, now restoring antique test equipment
Re: Current sources vs sinks
« Reply #30 on: January 08, 2025, 12:09:53 am »
An ideal current source delivers a constant current regardless of the voltage across the load.  (Output shunt resistance is infinite.)
An ideal voltage source delivers a constant voltage regardless of the current through the load.  (Output series resistance is zero.)
Real current and voltage sources do not achieve this ideal condition, but may be closer to one or the other ideal case.
Thévenin's Theorem for voltage sources and Norton's Theorem for current sources discuss the relationship between these two concepts.
 

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #31 on: January 08, 2025, 12:45:58 am »
OK, let me try something else:

Say I give you the following kit of symbols:



Can you put these together to show us 1) a current source and 2) a current sink?
Feel free to add whatever other symbols are necessary (within reason!) for your examples.

And additionally, explain just exactly what an "external load" is?

TIA
 

Offline Andy Chee

  • Super Contributor
  • ***
  • Posts: 1418
  • Country: au
Re: Current sources vs sinks
« Reply #32 on: January 08, 2025, 01:51:21 am »
OK, let me try something else:

Say I give you the following kit of symbols:

(Attachment Link)

Can you put these together to show us 1) a current source and 2) a current sink?
Feel free to add whatever other symbols are necessary (within reason!) for your examples.

And additionally, explain just exactly what an "external load" is?

TIA

The load resistor symbol should probably be a variable resistor, rather than a fixed resistor.

As for "external load", think of it as the opposite of internal impedance  ;)
 

Offline PGPG

  • Frequent Contributor
  • **
  • Posts: 510
  • Country: pl
Re: Current sources vs sinks
« Reply #33 on: January 08, 2025, 01:59:38 am »
The sink/source thing in digital ICs is a misnomer for output current capability, but unfortunately commonly used.

In my opinion simply the same words happen to mean different things depending on context.

Save in context that the device will not kill a person means completely different thing than save in a context of cryptology algorithm.

(Ideal) Current source in circuit simulation is different thing than digital output working as current source (or sink). Saying that such output sources current doesn't mean it is current source from circuit analysis point of view.

I think I feel perfectly what 'source' means but only partially what 'sink' means but in digital output context I think of them as follows:
If you connect capacitor to the output (second pin grounded) than:
- when output sends a charge into it than this output sources charge (works as current source).
- when output takes charge from capacitor than this output sinks charge from capacitor (works as current sink).
I don't know if in English saying that something sinks something form something is acceptable use of word sink.

In my opinion using source/sink how they are used related to digital output is correct use. In this context these words simply means something different than when you use them in context of energy source and sink and in a similar sense.
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1540
  • Country: pl
Re: Current sources vs sinks
« Reply #34 on: January 08, 2025, 02:10:12 am »
Say I give you the following kit of symbols: (…) Can you put these together to show us 1) a current source and 2) a current sink?
Here:


And additionally, explain just exactly what an "external load" is?
Load that lies outside of the current source or sink. Which, for the topic discussed here, is usually(1) any load.


(1)Not strictly true, because practical source implementations may need an internal load. But this is unnecessary detail here.
People imagine AI as T1000. What we got so far is glorified T9.
 
The following users thanked this post: Analog Kid

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #35 on: January 08, 2025, 02:42:39 am »
First of all, thanks for playing along here. It's appreciated.

So I get the top example; pretty straightforward.
But the second one: what's going on there? The "sink" is, what? just a wire inside that box?
What exactly is the sink here?
What exactly does it mean being either inside that box or outside of it? What does the box itself represent?
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1540
  • Country: pl
Re: Current sources vs sinks
« Reply #36 on: January 08, 2025, 03:46:02 am »
First of all, thanks for playing along here. It's appreciated.
Throwing away reference points is intentional. Focus on the loops and where the energy comes from, not on the polarities or to which rail a component is connected.

But the second one: what's going on there? The "sink" is, what? just a wire inside that box?
Yes. An ideal sink is a short. See TimFox’s post.

What exactly is the sink here?
The entire blue box with word “Sink” in the upper part. As seen from the perspective of the circuit on the right.

What exactly does it mean being either inside that box or outside of it?
Inside the box is the source or the sink. Outside is the circuit, that considers this box to be its source or sink.

What does the box itself represent?
Either a source or sink, depending on what is written on it.

---edit
Perhaps I see, where the misunderstanding lies. Don’t look at what is inside a source or a sink. This is not what distinguishes them. The distinction comes from how the external circuit treats them.

The hydraulic analogy holds here well. Extremely well in fact, because both words (“source” and “sink”) come from the water meaning. Source is where the energy comes from. Sink is where waste energy is dumped to.

Observe: this is from the perspective of whoever/whatever uses the source or sink. Not from what is inside of that source or sink.

« Last Edit: January 08, 2025, 04:32:44 am by golden_labels »
People imagine AI as T1000. What we got so far is glorified T9.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • Retired, now restoring antique test equipment
Re: Current sources vs sinks
« Reply #37 on: January 08, 2025, 03:39:24 pm »
In short, "source" and "sink" are distinguished by their function in the overall circuit.
The same subcircuit could be connected to function as either, depending on the requirements.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 17580
  • Country: us
  • DavidH
Re: Current sources vs sinks
« Reply #38 on: January 08, 2025, 05:14:46 pm »
Both configurations work, but not equally well.  Howland current pumps for instance usually use the emitter follower for a current output without problems.  Regulated power supplies with emitter followers have no trouble implementing current limiting.

The common emitter configuration has the advantage of inherently presenting a high impedance output, unlike the emitter follower which is the lowest output impedance configuration.  In circuit design, sometimes a common base stage is used in series with the output to further increase the output impedance.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2517
  • Country: us
Re: Current sources vs sinks
« Reply #39 on: January 08, 2025, 10:02:55 pm »
The first two aren't proper current sources or sinks, they are voltage followers and will only have a constant current with a resistive load.  If you try to control a current load like an LED or BJT transistor they won't work at all.  The current isn't constant, it's the voltage that's constant.  The latter two won't work at all as there is no voltage feedback from the load, on the emitter.  They can only work with a negative supply, but then you're back to the top two voltage followers.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 12576
  • Country: us
Re: Current sources vs sinks
« Reply #40 on: January 08, 2025, 10:56:54 pm »
We're taught, from an early age, that this is the proper configuration for a current source: ...

Surely, this opening statement is setting up a straw man argument?

Are we taught this from an early age? (I wasn't.)

Is the assertion even accurate or correct?

How did this topic get to two pages, without anyone questioning or debating the opening assertion?

I don't even understand the question. Does the terminology of "current source" or "current sink" even have sufficient context to mean anything without further qualification? For instance, a current source could be a battery, and a current sink could be a switch. Whereas a constant current source could be a combination of circuit elements that delivers a constant current to its output with varying loads. A constant current sink could be a source measure unit acting as a load (for example when discharging a battery at constant current and measuring its capacity).

When you have an undefined question, how can you answer it?
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • Retired, now restoring antique test equipment
Re: Current sources vs sinks
« Reply #41 on: January 08, 2025, 11:13:32 pm »
One way to answer is to re-define or re-phrase the question into an answerable question.
 

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #42 on: January 08, 2025, 11:21:04 pm »
We're taught, from an early age, that this is the proper configuration for a current source: ...

Surely, this opening statement is setting up a straw man argument?

Are we taught this from an early age? (I wasn't.)

It was a, it was a, a joke, son.

Quote
How did this topic get to two pages, without anyone questioning or debating the opening assertion?

Because apparently I managed to unearth some unclear concepts and ambiguities, without even intending to.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 12576
  • Country: us
Re: Current sources vs sinks
« Reply #43 on: January 09, 2025, 12:18:45 am »
Because apparently I managed to unearth some unclear concepts and ambiguities, without even intending to.

Perhaps I was being a little hasty, and I didn't quite understand what you were driving at. I apologize. I think your question is according to the picture below?

When transistor A is turned on (base low) it will charge up the capacitor (source current), and when transistor B is turned on (base high) it will sink current (drain the capacitor).

This configuration is different from the commonly documented "push-pull" output stage, the reasoning for which is beyond my knowledge.

It does appear to me that if transistor A is a PNP as shown and it is turned on hard, then it will charge the capacitor almost all the way to V+. And if transistor B is turned on hard, it will drain the capacitor almost to zero volts. I am not sure if A and B were swapped, it would lead to the same outcome, since the capacitor would block the base current in each case with A as NPN and B as PNP.

 

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #44 on: January 09, 2025, 12:23:00 am »
That actually helps.
 

Online watchmaker

  • Frequent Contributor
  • **
  • Posts: 747
  • Country: us
  • Self Study in EE
    • Precision Timepiece Restoration and Service
Re: Current sources vs sinks
« Reply #45 on: January 09, 2025, 12:25:42 am »

Quote
How did this topic get to two pages, without anyone questioning or debating the opening assertion?

Because apparently I managed to unearth some unclear concepts and ambiguities, without even intending to.

I am not sure you did.  It appears to me you conflated current source (a la nodal analysis) with constant current source/constant current sink.  In nodal analysis, all the power dissipative elements are the sinks, although no one calls them that.

Constant current sinks/sources are active circuits used in power management.

I think Ian is right, a lot of time was spent by others trying to put together the words you used into an answerable question.
« Last Edit: January 09, 2025, 12:27:54 am by watchmaker »
Regards,

Dewey
 

Offline Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: us
Re: Current sources vs sinks
« Reply #46 on: January 09, 2025, 01:15:34 am »

Quote
How did this topic get to two pages, without anyone questioning or debating the opening assertion?

Because apparently I managed to unearth some unclear concepts and ambiguities, without even intending to.

I am not sure you did.  It appears to me you conflated current source (a la nodal analysis) with constant current source/constant current sink.  In nodal analysis, all the power dissipative elements are the sinks, although no one calls them that.

Constant current sinks/sources are active circuits used in power management.

I think Ian is right, a lot of time was spent by others trying to put together the words you used into an answerable question.

Wellll, I didn't intend constant current sources: I believe the symbol I used in my later posts,



is the symbol for a generic current source, yes?

And you say

Quote
In nodal analysis, all the power dissipative elements are the sinks, although no one calls them that.

So they are sinks, even though nobody calls them that? See, that's just part of the confusion here, at least the confusion due to terminology if not electronic theory.
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1540
  • Country: pl
Re: Current sources vs sinks
« Reply #47 on: January 09, 2025, 08:37:02 am »
It would be a lot easier, if multiple meanings of “source” were not freely switched on each other post.

The symbol is an abstract, ideal element of a mathematical equation. Indicating that current through that symbol is fixed. Fixed not in the sense of being DC, but in the sense of independency from what happens outside of this element. “Perfectly controlled” if that sounds clearer.

It has little to do with sources as discussed when you put word “source” beside (or opposite) word “sink.” In that meaning they are abstract concepts and describe roles of elements in a system, from the perspective of this system. Note I used word “system”: these concepts both predate electricity and are widely used in other branches.(1)

There is more than a single abstraction to describe things. Don’t confuse terms coming from different models. Even if they are used in the same context. If you were asked to fetch a glass from the fridge, you’d rather grab a cup-like container with juice instead of pulling out the entire glass pane shelf, right? Both are “glass,” but it’s obvious to you they’re two different categorizations and which one is relevant.


(1) Examples: graph theory (in particular transport networks or Petri nets), thermodynamics (heat sources and sinks), software engineering (event sources and sinks), or particular features of vector fields.
People imagine AI as T1000. What we got so far is glorified T9.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf