MiniPID icon indicating copy to clipboard operation
MiniPID copied to clipboard

C++ PID controller designed for quickly and easily implementing stable closed loop control.

Results 12 MiniPID issues
Sort by recently updated
recently updated
newest added

When using the setPID () method, the errorSum and maxError variables are not being updated. This can cause problems in a situation like ``` m_pid = new MiniPID (10, 0,...

When using the setPID () method, the errorSum and maxError variables are not being updated. This can cause problems in a situation like ``` m_pid = new MiniPID (10, 0,...

Hi, I like your code and documentation, but I think that you have a few problems in the calculation of your derivative output for the general PID case. You have:...

setDirection(bool reversed) doesn't do anything until one of the PID gains is updated, as checkSigns() isn't called.

This request adds the possibility to calculate time derivative while computing the differential part. It is useful in case of moving setpoints.

Nice project congratulation! I would expect to be possible to acknowledge time component for outputRampRate. Now everything is cpu speed dependent - so if you can include time component -...

I'm trying to use MiniPID as a temperature controller. I measure the current temperature in °C, and drive a PWM (with a value between 0 and 400) relay to heat...

This functionality allows you to have two synchronized PID's. Maybe function **setPositionDiff** is not named 100% properly, but it allows to reduce PID according of lag from **positionDiff**.

https://github.com/tekdemo/MiniPID/blob/6ff76acc9562e75649c4532225183686ace901b3/MiniPID.cpp#L250