Documentation sections
Class D Amplifier Efficiency
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug class-d-efficiency. Estimate Class D amplifier efficiency from MOSFET conduction losses and quiescent current at a given output power.
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 |
|---|---|---|---|---|
| outputPowernumber | W | at least 0.1 | 50 | Output Power |
| supplyVoltagenumber | V | at least 1 | 36 | Supply Voltage |
| loadImpedancenumber | Ω | at least 1 | 8 | Load Impedance |
| rdsonnumber | mΩ | at least 1 | 50 | Per MOSFET in milliohms |
| mosfetCountnumber | none | at least 2 | 4 | Half bridge 2, full bridge (BTL) 4. One FET of each half bridge carries the load at a time, so N/2 conduct |
| quiescentCurrentnumber | mA | at least 0 | 30 | Quiescent Current |
| switchingFreqnumber | kHz | 50 … 5000 | 400 | The PWM carrier frequency. |
| filterCutoffnumber | kHz | 20 … 500 | 40 | The LC filter's Butterworth cutoff, which sizes L and C from the load (TI SLAA701B). |
| outputPowerMinnumber | W | at least 0 | 0 | The lowest power in service, where the fixed losses weigh most; 0 for the nominal. |
| outputPowerMaxnumber | W | at least 0 | 0 | The highest continuous sine power in service; 0 for the nominal. |
| supplyVoltageMinnumber | V | at least 0 | 0 | The lowest supply in service, which must still swing the maximum power; 0 for the nominal. |
| supplyVoltageMaxnumber | V | at least 0 | 0 | The highest supply in service; 0 for the nominal. The parts' voltage ratings are taken at it. |
| tSwitchnumber | ns | 0 … 10000 | 10 | The FETs' rise and fall times added: ½·I·V_s·(t_r + t_f)·f_sw per half bridge (IR AN-1070). |
| cossnumber | pF | 0 … 100000 | 200 | ½·C_oss·V_s²·f_sw per half bridge (IR AN-1070). |
| qgnumber | nC | 0 … 10000 | 10 | Per FET: 2·Q_g·V_driver·f_sw per half bridge (IR AN-1070). |
| vGatenumber | V | 1 … 20 | 12 | Gate Drive Voltage |
| dcrnumber | mΩ | 0 … 100000 | 25 | Each output inductor's winding resistance. |
| coreLossnumber | mW | 0 … 100000 | 100 | Each output inductor's, from its datasheet at this ripple and frequency. |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| efficiencyheadline | % | Efficiency |
| conductionLoss | W | I²·R_DS(on)·N/2: the FETs that carry the load current at once |
| quiescentLoss | W | Quiescent Loss |
| totalLoss | W | Total heat dissipated — use for heatsink sizing |
| totalInput | W | Total Input Power |
| lossSwitching | W | ½·I·V_s·(t_r + t_f)·f_sw per half bridge, with I the load current averaged over the audio cycle |
| lossOutputCap | W | ½·C_oss·V_s²·f_sw per half bridge |
| lossGateDrive | W | 2·Q_g·V_driver·f_sw per half bridge |
| lossDcr | W | (I² + ΔI²/12)·DCR per output inductor, with the idle ripple |
| lossCore | W | Filter Inductor Core Loss |
| lossTotal | W | Conduction, quiescent, switching, output capacitance, gate drive and the filter inductors |
| loadPower | W | Power into the Load |
| efficiencyLossModel | % | P_out/(P_out + every loss in the loss model), at the nominal supply and power |
| filterInductorUH | μH | Butterworth, L = R_L·√2/ω₀, per output |
| filterInductorChosenUH | μH | The E12 value at or above the filter inductance |
| filterCapUF | μF | Butterworth, C = 1/(ω₀·R_L·√2), per output to ground |
| filterCapChosenUF | μF | The E12 value at or above the filter capacitance |
| filterCutoffBuilt | kHz | Filter Cutoff, Chosen Parts |
| filterCount | none | One LC filter per half-bridge output |
| fetCount | none | MOSFETs |
| efficiencyWorst | % | Efficiency with Switching and Filter Losses, Worst Case |
| efficiencyWorstVoltage | V | Supply at the Worst Efficiency |
| efficiencyWorstPower | W | Output Power at the Worst Efficiency |
| lossTotalWorst | W | For the heatsink |
| lossTotalWorstVoltage | V | Supply at the Worst Loss |
| lossTotalWorstPower | W | Output Power at the Worst Loss |
| headroomWorst | V | The swing the supply gives (V_s bridged, V_s/2 for a half bridge) less the peak load voltage √(2·P·Z_L); below 0 the output clips |
| headroomWorstVoltage | V | Supply at the Least Headroom |
| headroomWorstPower | W | Output Power at the Least Headroom |
| rippleA | A | Peak to peak at idle (50 % duty), where it is largest: V_s/(4·L·f_sw) |
| rippleWorstA | A | Filter Inductor Ripple, Worst Case |
| rippleWorstVoltage | V | Supply at the Worst Ripple |
| peakCurrentWorst | A | The load's peak current √(2·P/Z_L) plus half the ripple, through the FETs and the inductors |
| peakCurrentWorstVoltage | V | Supply at the Worst Peak Current |
| peakCurrentWorstPower | W | Output Power at the Worst Peak Current |
| inductorRmsWorst | A | Filter Inductor RMS Current, Worst Case |
| inductorRmsWorstPower | W | Output Power at the Worst Inductor Current |
| vdsRating | V | The rating sold at or above 1.5 times the highest supply |
| capVoltageRating | V | The rating sold at or above 1.5 times the highest supply |
| vdsRatingVoltage | V | Supply at the Voltage Ratings |
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.