Regulasi suhu PID
Dalam aplikasi seluler, Anda dapat mengonfigurasi 3 parameter utama – P, I, D.
| Error | SetPoint – Current Temperature | |
Time from last update | Time since last update in minutes. | |
| P | Set by user | If P is equal to 10 and Error is 1C then the resulting output will be equal to 10%. |
| I | Set by user | If I is equal to 1 and the Error is 1C, then the resulting output will grow by 1% every minute. |
| D | Set by user | If D is equal to 1 and the Error has changed from 4C to 2C in 1 minute, then the resulting output will have decreased by 2%. |
| P Gain | P * Error | |
| I Gain | Previous I Gain + (I * Error * Time from Last updade) x | |
| D Gain | D * ((error – lastError) / Time from Last updade) | |
| Output | P Gain + I Gain + D Gain | The resulting output is the sum of the three gains. |