Skip to main content
Glama
mo9652962-ai

circuit-agent

by mo9652962-ai

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
NameRequiredDescriptionDefault
v_outYesTarget output voltage.
v_refYesReference voltage at the feedback midpoint.
r_total_ohmNoTotal divider resistance R1+R2, which sets the quiescent current.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYesWhy the snap error must be budgeted separately from the tolerance band.
v_refYesReference voltage at the feedback midpoint.
r1_ohmYesSnapped E96 high-side resistor.
r2_ohmYesSnapped E96 low-side resistor.
v_out_actualYesOutput the snapped pair actually produces.
v_out_targetYesRequested output voltage.
snap_error_pctYesStatic offset from E96 quantisation — a wrongness, not a tolerance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.0

TDQS

Score is being calculated.

Deploy Server

Other Tools