Skip to content
Documentation sections

Current Mirror Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug current-mirror. Calculate current mirror output current, beta error, reference resistor, power consumption, and Widlar mirror resistor for analog IC and bias circuit design

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of current-mirror
NameUnitRangeDefaultDescription
refCurrentnumbermAat least 0.0011Reference Current
rationumber×at least 0.0012Mirror Ratio (Iout/Iref)
vccnumberVat least 0.15Supply Voltage
betanumbernoneat least 1100Transistor β (hFE)
vtnumbermV10 … 5026Thermal voltage kT/q ≈ 26 mV at room temperature
eSeriesnumbernone0 … 960Rounds every part to the nearest value in the series; the response and the export are the rounded design's.One of: 0 Ideal values · 12 E12 (10%) · 24 E24 (5%) · 48 E48 (2%) · 96 E96 (1%)

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of current-mirror
FieldUnitDescription
outputCurrentheadlinemAThe mirrored current less the β error; with a part series, the current the rounded resistors set
refResistorkΩSets I_ref from V_CC with V_BE = 0.7 V; with a part series, the nearest value of the series
powerRefmWReference Branch Power
error%How far the output current falls short of N × I_ref, in percent (negative: above it): the β error, and with a part series the rounded resistors' error too
widlarResistorkΩWidlar emitter resistor value — only applicable when mirror ratio < 1; with a part series, the nearest value of the series

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.