node-red-contrib-i-element
v1.0.4
Published
Integral element (I-Glied) with anti-windup for control systems
Maintainers
Readme
node-red-contrib-i-element
Integral element (I-Glied) with anti-windup for control systems. Integrates an input signal over time with configurable integration time Ti and output clamping.
Install
npm install node-red-contrib-i-elementUsage
Send a numeric value as msg.payload. The node integrates x * dt / Ti on each call.
| msg | Effect |
|-----|--------|
| msg.payload = 5 | Input value to integrate |
| msg.reset = true | Reset integral to 0 |
| msg.set = 50 | Set integral to specific value |
| msg.Ti = 120 | Override integration time at runtime (in configured unit) |
Output
msg.payload = current integral value (clamped to outMin/outMax).
{
"iElement": {
"input": 5,
"integral": 42.3,
"Ti": 60,
"dt": 30.1,
"clamped": false,
"clampedAt": null
}
}License
MIT — sr.rpo
