Zum Inhalt springen
GET /v1/reaction-curve

ZN open-loop tuning

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/pid-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/pid-api/v1/reaction-curve" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pid-api/v1/reaction-curve", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pid-api/v1/reaction-curve");
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/reaction-curve",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "Kd": 1.5,
        "Ki": 1.5,
        "Kp": 3,
        "Td": 0.5,
        "Ti": 2,
        "note": "Open-loop ZN from a step-response reaction curve (process gain K, dead time L, time constant T). PID: Kp=1.2·T/(K·L), Ti=2L, Td=0.5L.",
        "inputs": {
            "type": "PID",
            "dead_time": 1,
            "process_gain": 2,
            "time_constant": 5
        },
        "method": "Ziegler-Nichols open-loop (reaction curve)"
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:28.548Z",
        "request_id": "67161297-ce27-4bf0-b0fe-54db8aacdae5"
    },
    "status": "ok",
    "message": "ZN open-loop",
    "success": true
}