The easy-pid-controller
is a simple-to-use Node-RED node that provides Proportional-Integral-Derivative (PID) control functionalities. This node is designed to integrate easily with various control systems and offers configuration options for 0-10V
and 4-20mA
control signals.
SV
) input for desired control level.PV
) input to feedback the current state.0-10V
or 4-20mA
.npm install node-red-contrib-easy-pid-controller
easy-pid-controller
node into your Node-RED flow.PV
and SV
inputs and get the output signals.SV
: The desired setpoint value for the controller. Previously was part of the node's configuration, now can be sent as a msg.payload
with the topic SV
.PV
: The process variable or the current state of the system.auto
: Boolean signal. If set to true
, the PID loop starts.The node outputs an object payload containing:
PV
: The current process variable.SV
: The setpoint.P
, I
, D
: PID component values.Output
: The final PID calculated signal.Value
: The mapped control signal according to the sensor type (0-10V
or 4-20mA
).SV
) from node configuration to msg.payload
with the topic SV
.Value
that provides the direct control signal based on the sensor type configuration.0-10V
and 4-20mA
signal types.Contributions to improve the node or fix any issues are always welcome. Please submit a pull request on the GitHub repository.
GPL-3.0 License. See LICENSE
file for details.
Visit the examples/
directory for a sample flow illustrating the usage of the node.
Harshad Joshi @ Bufferstack.IO Analytics Technology LLP, Pune