Control Feedback
control_feedbackAnalyze feedback loops from plant, controller, and sensor polynomials to get open/closed-loop transfer functions, sensitivity, poles, stability, system type, steady-state errors, and margins.
Instructions
Feedback loop of plant G, controller C and sensor H (continuous; each as numerator/denominator coefficient lists in descending powers or polynomial text; controller and sensor default to 1). Returns open-loop L = C G H, closed-loop T = C G/(1 + C G H) and sensitivity S = 1/(1 + L) as polynomials, closed-loop poles (natural frequency, damping) and exact stability, system type, position/velocity/acceleration error constants Kp Kv Ka, steady-state errors for step, ramp and parabolic inputs (actuating and tracking error), and the peak of |S| with the margins it guarantees. The loop L must be proper.
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": {
"plant_numerator": "<plant_numerator>",
"plant_denominator": "<plant_denominator>"
},
"name": "control_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plant_numerator | Yes | Plant numerator, e.g. '[1]' or '1' | |
| sensor_numerator | No | Sensor / feedback-path numerator (default '1', unity feedback) | 1 |
| plant_denominator | Yes | Plant denominator, e.g. '[1, 3, 2, 0]' or 's (s+1)(s+2)' | |
| sensor_denominator | No | Sensor / feedback-path denominator (default '1') | 1 |
| controller_numerator | No | Controller numerator (default '1', i.e. a unit gain) | 1 |
| controller_denominator | No | Controller denominator (default '1'); a PID is e.g. numerator '[Kd, Kp, Ki]' over '[1, 0]' | 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |