/v1/ziegler-nichols
ZN closed-loop tuning
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}