From b234e9fe1449c0cd3b045357e46388dd35732bee Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 18 Nov 2024 15:32:35 +0800 Subject: [PATCH] README: Add PID Output Clamping section --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6528bac..c85ce7b 100644 --- a/README.md +++ b/README.md @@ -239,6 +239,20 @@ of channel 0 to the PID algorithm: output 0 pid ``` +### PID output clamping + +It is possible to clamp the PID algorithm output independently of channel output limits. This is desirable when e.g. there is a need to keep the current value above a certain threshold in closed-loop mode. + +Set PID maximum output of channel 0 to 1.5 A. +``` +pid 0 output_max 1.5 +``` + +Set PID minimum output of channel 0 to 0.1 A. +``` +pid 0 output_min 0.1 +``` + ## LED indicators | Name | Color | Meaning |