Kohtz D.
Количество страниц: 5
Язык: Английский
Формат: PDF / RAR
Формат файла: RAR
The digital PID controller described in this article, based on a PIC microcontroller, is on the one hand very well suited to studying how the controller operates with various parameter values, using simple control loops. On the other hand, it can of course also be used for specific control tasks. A complete control loop requires an appropriate actuator and a suitable sensor, in addition to the controller itself.
The core of the circuit is an inexpensive PIC 16C71 microcontroller, whose built-in A/D converter digitizes the measured value (actual value) and provides the result to the controller program. The program determines the control error relative to the set value (target value) for each actual value and, based on this, calculates the control value that is output to the external D/A converter. The control parameters, which are entered by a keypad, are stored in a non-volatile memory (EEP-ROM).
In order to manage with the program memory of the PIC, which is only 1 kB, the parameters are entered as hexadecimal codes. They are however displayed on the LCD as text, which is easier to understand.