PID控制器
The analysis for designing a digital implementation of a PID controller in a microcontroller (MCU) or FPGA device requires the standard form of the PID controller to be "discretized". Approximations for first-order derivatives are made by backward finite differences. The integral term is discretized, with a sampling time formula_90, as follows,