Skip to content
Documentation sections

BJT Transistor Switch Calculator

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

Slug transistor-switch. Calculate BJT transistor switch parameters including load current, required base current, base resistor value, saturation check, and power dissipation

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 transistor-switch
NameUnitRangeDefaultDescription
vccnumberVat least 0.15Supply Voltage
loadResistornumberΩat least 0.1100Load Resistance
inputVoltagenumberVat least 03.3Logic-high voltage driving the transistor base through R_B
betanumbernoneat least 1100Minimum DC current gain (hFE) from datasheet
vbenumberV0.1 … 0.90.7Base-Emitter Voltage
vce_satnumberVat least 0.010.2Collector-emitter saturation voltage from datasheet
overdriveFactornumber×1 … 205Factor by which base current exceeds minimum required (typically 5-10×)
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 transistor-switch
FieldUnitDescription
loadCurrentmALoad Current
ib_requiredμARequired Base Current
rbheadlinekΩThe base resistor for the overdrive chosen; with a part series, the nearest value of the series
ib_actualμAActual Base Current
powerDissipationmWTransistor Power Dissipation
switchingStatenoneSaturated? (1=Yes, 0=No)

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.