Design Microcontroller Based- Digital Control System
Implementation of a Digital Controller Algorithm on a Microcontroller
Keywords:
design, microcontroller, digital control system, Ziegler-Nichols, PI type, first-order digital controller, PIC16F877, crystal, analog input, output sensor, D/A converter, sampling interval, timer interrupt service routineAbstract
The basic principles of designing a digital controller, fromthe identification of the system to the implementation of a suitable controlleralgorithm on a microcontroller. Here the classical Ziegler–Nichols PI type Thisprogram implements a first-order digital controller module on a PIC16F877 (orequivalent) microcontroller. The microcontroller operates with a 4MHz crystal.The analog input AN0 of the microcontroller is connected to the output sensorof the plant (y). The PORT B output of the microcontroller is connected to anAD7302 type D/A converter. The WR input of the controller is controlled fromport pin RC0 of the microcontroller. The sampling interval is 0.1s (100ms) andthe timer interrupt service routine is used to obtain the required samplingintervalDownloads
Download data is not yet available.
Published
2012-05-01
Issue
Section
Articles