solve_feedback_divider
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"v_out": "<v_out>",
"v_ref": "<v_ref>"
},
"name": "solve_feedback_divider"
}
}Input 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
| 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. |