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.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| vccnumber | V | at least 0.1 | 5 | Supply Voltage |
| loadResistornumber | Ω | at least 0.1 | 100 | Load Resistance |
| inputVoltagenumber | V | at least 0 | 3.3 | Logic-high voltage driving the transistor base through R_B |
| betanumber | none | at least 1 | 100 | Minimum DC current gain (hFE) from datasheet |
| vbenumber | V | 0.1 … 0.9 | 0.7 | Base-Emitter Voltage |
| vce_satnumber | V | at least 0.01 | 0.2 | Collector-emitter saturation voltage from datasheet |
| overdriveFactornumber | × | 1 … 20 | 5 | Factor by which base current exceeds minimum required (typically 5-10×) |
| eSeriesnumber | none | 0 … 96 | 0 | Rounds every part to the nearest value in the series; the response and the export are the rounded design's. |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| loadCurrent | mA | Load Current |
| ib_required | μA | Required Base Current |
| rbheadline | kΩ | The base resistor for the overdrive chosen; with a part series, the nearest value of the series |
| ib_actual | μA | Actual Base Current |
| powerDissipation | mW | Transistor Power Dissipation |
| switchingState | none | Saturated? (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.