Control Analyze
control_analyzeAnalyze a SISO transfer function to compute poles, zeros, DC gain, damping, and exact stability via Routh-Hurwitz or Jury tests for continuous or discrete models.
Instructions
Analyse one SISO transfer function G = numerator/denominator (coefficient lists in descending powers, e.g. '[1, 3, 2]', or text 's^2 + 3 s + 2'). Continuous by default; domain='discrete' + sample_time for G(z). Returns order, poles, zeros, DC gain, system type, relative degree, per pole natural frequency / damping ratio / time constant, dominant pole, minimum-phase check, and stability from an EXACT Routh-Hurwitz array (continuous) or Jury table (discrete) cross-checked against the numerical roots. Warns on near pole-zero cancellation, clustered roots, huge coefficient range.
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": {
"numerator": "<numerator>",
"denominator": "<denominator>"
},
"name": "control_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | 'continuous' (variable s, default) or 'discrete' (variable z; needs 'sample_time') | continuous |
| numerator | Yes | Numerator polynomial: JSON list of coefficients in DESCENDING powers, e.g. '[1, 3]' for s+3, or text such as 's + 3'. | |
| denominator | Yes | Denominator polynomial, same formats, e.g. '[1, 3, 2]' or 's^2 + 3 s + 2'. The leading coefficient must not be 0. Order at most 40, coefficients 1e-12..1e12 in magnitude. | |
| sample_time | No | Sample time with unit, e.g. '0.1 s'. Only with domain='discrete'; refused for a continuous model. |
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 |