Vai al contenuto
GET /v1/ziegler-nichols

ZN closed-loop tuning

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/pid-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/pid-api/v1/ziegler-nichols" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pid-api/v1/ziegler-nichols", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pid-api/v1/ziegler-nichols");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/pid-api/v1/ziegler-nichols",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "Kd": 1.5,
        "Ki": 6,
        "Kp": 6,
        "Td": 0.25,
        "Ti": 1,
        "note": "Closed-loop ZN: raise the proportional gain until sustained oscillation to find Ku and its period Tu, then apply the table (PID: Kp=0.6Ku, Ti=0.5Tu, Td=0.125Tu). Expect ~25 % overshoot; detune for less aggressive control.",
        "inputs": {
            "type": "PID",
            "ultimate_gain": 10,
            "ultimate_period": 2
        },
        "method": "Ziegler-Nichols closed-loop (ultimate gain)"
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:28.678Z",
        "request_id": "79de3ef9-39df-42c4-9e64-78b41368602f"
    },
    "status": "ok",
    "message": "ZN closed-loop",
    "success": true
}