Documentation sections
H-Bridge MOSFET Selection
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug h-bridge-selection. Calculate H-bridge MOSFET requirements including peak current, conduction losses, and minimum current rating for DC motor drivers.
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 |
|---|---|---|---|---|
| motorCurrentnumber | A | at least 0.1 | 2 | Motor Rated Current |
| motorVoltagenumber | V | at least 1 | 12 | Motor Supply Voltage |
| inrushMultipliernumber | × | 1 … 15 | 6 | Inrush Multiplier |
| pwmFrequencynumber | Hz | at least 100 | 20000 | PWM Frequency |
| mosfetRdsonnumber | Ω | at least 0.001 | 0.01 | MOSFET RDS(on) |
| dutyCyclenumber | % | 0 … 100 | 75 | The share of each period the supply drives the motor: the supply delivers V·I·D (sign-magnitude PWM, TI SLVA504A). |
| motorCurrentMinnumber | A | at least 0 | 0 | The lowest running current in service; 0 for the nominal. |
| motorCurrentMaxnumber | A | at least 0 | 0 | The highest running current in service; 0 for the nominal. The peak current and the FETs' rating are taken at it. |
| motorVoltageMinnumber | V | at least 0 | 0 | The lowest supply in service; 0 for the nominal. |
| motorVoltageMaxnumber | V | at least 0 | 0 | The highest supply in service; 0 for the nominal. The FETs' drain-source rating is taken at it. |
| tSwitchnumber | ns | 0 … 100000 | 100 | The hard-switched FET's rise and fall times added: ½·V·I·(t_r + t_f)·f (TI SLVA504A eq. 2). |
| tDeadnumber | ns | 0 … 100000 | 100 | The time both FETs of a half bridge are off at each edge, when the recirculating FET's body diode carries the current (TI SLVA504A eq. 3). |
| vBodynumber | V | 0 … 5 | 1 | Body Diode Forward Voltage |
| qgnumber | nC | 0 … 10000 | 30 | Per FET, at the gate drive voltage: the two FETs that switch each period draw 2·Q_g·V_g·f from the driver (IR AN-1070). |
| vGatenumber | V | 1 … 20 | 10 | Gate Drive Voltage |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| peakCurrent | A | Peak Current |
| mosfetCurrentRatingheadline | A | Min. MOSFET Current Rating |
| conductionLoss | W | Conduction Loss (per FET) |
| switchingLoss | W | Switching Loss (per FET) |
| totalLoss | W | Total Bridge Loss (est.) |
| peakCurrentWorst | A | The inrush multiplier times the highest motor current |
| peakCurrentWorstCurrent | A | Motor Current at the Worst Peak |
| mosfetCurrentRatingWorst | A | 1.5 times the worst-case peak current |
| vdsRating | V | The rating sold at or above 1.5 times the highest supply |
| vdsRatingVoltage | V | Supply at the Drain-Source Rating |
| totalLossWorst | W | 2·I²·R_DS(on) + ½·V·I·(t_r + t_f)·f where it is largest |
| totalLossWorstVoltage | V | Supply at the Worst Bridge Loss |
| totalLossWorstCurrent | A | Motor Current at the Worst Bridge Loss |
| efficiencyWorst | % | Efficiency, Worst Case |
| efficiencyWorstVoltage | V | Supply at the Worst Efficiency |
| efficiencyWorstCurrent | A | Motor Current at the Worst Efficiency |
| lossConduction | W | 2·I²·R_DS(on): two FETs carry the motor current at any instant |
| lossDeadTime | W | V_F·I·2·t_d·f, the body diode through the two dead times (TI SLVA504A eq. 3) |
| lossGateDrive | W | 2·Q_g·V_g·f, dissipated in the gate driver (IR AN-1070) |
| lossTotal | W | Total Loss with Dead Time and Gate Drive |
| outputPower | W | V·I·D from the supply, less the losses |
| efficiencyLossModel | % | 1 − (bridge loss + dead time + gate drive)/(V·I·D), at the nominal supply and current |
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.