components/PID/README.md

Tue, 22 Jun 2021 22:21:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 22 Jun 2021 22:21:09 +0200
changeset 103
1885d0c75c48
parent 0
b74b0e4902c3
permissions
-rw-r--r--

Default equipment max_watt set to 2750. Added defaults for new equipment record. Switched PWM timer to high-speed. Implemented the safety timer to prevent the MLT + HLT will draw too much power in shared mode. Removed some code ideas that were not used. The fake heater now uses the faked PWM power.

# PID

## Introduction

A PID controller seeks to keep some input variable close to a desired setpoint by adjusting an output. The way in which it does this can be 'tuned' by adjusting three parameters (P,I,D).

This is a rewrite of the code from http://playground.arduino.cc/Code/PIDLibrary by Brett Beauregard.

For an ultra-detailed explanation of why the code is the way it is, please visit: http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/

## Features

mercurial