Posts Tagged ‘PID’

MicroHTR (Part 8)

Part 1, 2, 3, 4, 5, 6, 7, 8 From the code, one will find the large MenuDriver() function, which is the heart of the menu driver code. Unless you exactly know what you are doing, leave this function unchanged or some harm to your nerves may occur while trying to debug it. It is a pretty compact […]

MicroHTR (Part 7)

Part 1, 2, 3, 4, 5, 6, 7, 8 Although this post relates with the MicroHTR application, its content deals mainly with the human interface which makes it available for autonomous usage, I mean without the need of a computer attached to the Arduino board for setting parameters and getting access to real time information. This human […]

MicroHTR (Part 5)

Part 1, 2, 3, 4, 5, 6, 7, 8 Few more lines of code are required to build a fully operational PID. In the case of a PWM control, we need to get an output value ranging from 0 to 100% (Duty cycle). But other applications may require different ranges. That is the reason why […]

MicroHTR (Part 4)

Part 1, 2, 3, 4, 5, 6, 7, 8 In the PI mode, the P term cares about the real time changes while the I term cares about the history of changes. Athough the PI mode is very effective in most situations, it fails to cover waht we could call the prediction of changes. No […]

MicroHTR (Part 3)

Part 1, 2, 3, 4, 5, 6, 7, 8 Now comes the magic of PID. In the next exemple, a PI controller type is used. The I term relates to the history of errors. In this way, the constant error observed in the P only controller type produces a cumulative error which is compensated by […]

MicroHTR (Part 2)

Part 1, 2, 3, 4, 5, 6, 7, 8 PID is probably one of the most popular type of process controller. You may find many papers on the net describing the origins this system. I can read that PID controllers were developed in automatic ship steering. While the PID controller proved higher performances than helmsmen […]