Some circuits do not care about voltage but need a fixed current, for example to power sensors or to act as an active load for an op amp. This page shows how one or a pair of transistors builds a current source and how a current mirror works.
The simplest single-transistor source has an emitter resistor R_E and a pinned base from a zener or divider, so collector current is about (U_B minus U_BE) over R_E. As long as the load keeps U_CE above about 1V, the current stays nearly constant against load changes. With U_B 3.7V and R_E 300ohm the current is about 10mA.
Integrated op amps often use a current mirror: a reference transistor wired as a diode carries I_REF, and an identical transistor with shared base mirrors that current at its collector, since both share U_BE and beta is high. Used as an active load it lifts gain to thousands, as in the early 741. Errors come from finite beta and mismatch, about plus minus 5 percent.
When powering an LED string or sensor with constant current, a short still passes current and may burn the load, so add voltage limiting. A BJT source rises slightly with temperature as U_BE falls; for precision use a reference or feedback. A field trap is treating the source as a regulator, so a light load drives the output to the rail and overvolts the next stage. Also size R_E for I squared R or it cooks.
| Type | Structure | Note |
|---|---|---|
| Single | R_E and pinned base | simple medium |
| Mirror | matched pair | copies I_REF |
| Active load | mirror as load | gain thousands |
| Temp drift | U_BE falls | current rises |
| Short | current remains | need clamp |
| R_E power | use I squared R | avoid heat |
Current sources suit sensor bias, LED constant current and op-amp biasing. Keep the load inside the transistor linear region, use 1 percent resistors and double the power rating. Do not treat it as a regulator because a sudden light load drives the output to the rail.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Current sources and analog per GB/T 4728; safety IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.