solve_feedback_divider
Read-onlyIdempotent
Exact R1/R2 feedback divider pair for a regulator or comparator target, plus the static error the E96 snap adds. The ideal pair almost never exists in E96, and that snap error is a wrongness, not a tolerance: it is identical on every board…
Instructions
Exact R1/R2 feedback divider pair for a regulator or comparator target, plus the static error the E96 snap adds. The ideal pair almost never exists in E96, and that snap error is a wrongness, not a tolerance: it is identical on every board and must be budgeted separately from the tolerance band.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v_out | Yes | Target output voltage. | |
| v_ref | Yes | Reference voltage at the feedback midpoint. | |
| r_total_ohm | No | Total divider resistance R1+R2, which sets the quiescent current. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Why the snap error must be budgeted separately from the tolerance band. | |
| v_ref | Yes | Reference voltage at the feedback midpoint. | |
| r1_ohm | Yes | Snapped E96 high-side resistor. | |
| r2_ohm | Yes | Snapped E96 low-side resistor. | |
| v_out_actual | Yes | Output the snapped pair actually produces. | |
| v_out_target | Yes | Requested output voltage. | |
| snap_error_pct | Yes | Static offset from E96 quantisation — a wrongness, not a tolerance. |