But the forward current is not critical.
In what sense not critical?
LED light intensity is proportional to LED current until saturation takes place.
OP wants to have LED matrix so he hopes to have rather consistent LED brightness. As it directly depends on current than current in LEDs is the main parameter to worry about.
The exact forward current is unimportant because LEDs even of the same type vary. Not all of the LEDs will be of exactly the same brightness for a given forward current. This is why if you look closely at most LED lamps, you'll find that, more often than not, the LEDs are not exactly the same brightness and the colour also often differs slightly too.
It's highly likely it will be well within the maximum rating of the LED.
It is not what OP wants to reach. He hopes that LEDs will have the same voltage drop at them so having the same resistors he will get the same brightness.
I would not design this circuit that way but it is his right to try.
But they won't have the same forward voltage. Remember the data sheet says 2.6V to 3.4V.
Heck, you might even be able to omit the series resistors.
Driving npn base with known current can be more precision solution than this.
The art of designing transistor circuits is to make everything depend only on the resistors and not the transistor parameters. I learned it long time ago when to have oscilloscope I had to design and build one. Imagine if the gain of the Y path could vary as much as transistor beta.
You've contradicted yourself there. Driving an NPN base with a known current is not a precise way to limit the LED current. It's not what you would do to ensure your design only relies on resistors and not transistor parameters.
No. I definitely not contradicted myself.
Read once more what I have written!
I only said that driving base with known current can be (only can be, not guarantee that it will be) more precision solution than what you suggested: "you might even be able to omit the series resistors".
Do you know Rds range when Vgs for this transistor is 3V3?
In my opinion datasheet does not guarantee any precision in this aspect. It can vary 3..5 times between smallest and biggest value.
Then you have LED voltage drop differences making voltage at Rds also vary. Both of these variables together give a large variability in the obtained LED current.
But if you drive npn base with known current you have something like current source. Until LED voltage drop will allow transistor to work the main variable will be beta. The variability of this one parameter may be less than the total variability of the other two.
What sort of transistor are your talking about? BJT or MOSFET? You mention base current, then go on to talk about R
DS, which doesn't make any sense.
The h
FE of a BJT is more variable than the R
DS of a MOSFET, so no, driving the base with a known current will not give an accurate current.
And what about the internal resistance of the LED itself? The wiring inside the LED itself is tiny and will have a considerable resistance. IF that wasn't the case, then the two AA cell LED lamps wouldn't work. How do know this internal resistance isn't the dominant factor? I suspect it is, given the supply voltage is within the nominal forward voltage of the LEDs.
As I said a few posts ago, a 3.3V supply voltage and an LED with a forward voltage 2.6V to 3.4V is marginal design. In other words it won't give a consistent LED brightness, whatever you do. Choosing a transistor with a low on resistance, won't make much difference.
Here I agree 100%.
But next OP step (as he has written) will be to change supply to 5V. Having transistors working as real keys and not being random value resistors will then help to get smaller currents (so also brightness) dispersion.
That would be much better. I probably wouldn't bother with 5V though. In the interests of saving power, I'd opt for something a little lower, say 4V, just enough to give enough headroom, but certainly under 4.5V. I might consider limiting the base voltage and adding an emitter resistor, to make a better current sink, than relying on a series resistor.