Implementation of Full-Featured PID Regulator in Microcontrollers
AbstractThe goal of article is to provide a basic mathematical description of incremental controller and suggest structure of single blocks sothat be able to implement into single chip microcontroller. Individual blocks are analyzed as far as elementary operation's level. Fromhardware description resulting, that selected structure is suitable for implement into similar MCU especially if they are able to conFig.I/O pins as with ours MCU. The article attends to the implementation of a full PID controller in the selected microprocessor. In orderthat PID controller met all demands of the modern control systems, it must include more than just the basic PID algorithm. Especiallynecessary is to implement treatment changes of the desired value by checking of its gradient. It should also be addressed treatment changes of action variable. There can be two ways how to do that: (a) limitations of the action control variable onto the allowable interval and treatment of the permissible gradient of the action variable, (b) establish direct forward coupling for the implementation of cascade control. For many applications it is necessary to allow the controller has to be able to switch from automatic to manual mode and vice versa bumpless. Splitting of the regulator into main blocks further can enable minimized time demands of the algorithm and to limit negative effects when input changes occur. A suitable controller design methodology as a reentrant routine and defining memory areas, then save processors program memory. The proposal is based on the PID model created in the MATLAB simulation environment. Ill. 10, bibl. 11 (in English; abstracts in English and Lithuanian).
How to Cite
Krejcar, O., Spicka, I., & Frischer, R. (2011). Implementation of Full-Featured PID Regulator in Microcontrollers. Elektronika Ir Elektrotechnika, 113(7), 77-82. https://doi.org/10.5755/j01.eee.113.7.617
SYSTEM ENGINEERING, COMPUTER TECHNOLOGY
The copyright for the paper in this journal is retained by the author(s) with the first publication right granted to the journal. The authors agree to the Creative Commons Attribution 4.0 (CC BY 4.0) agreement under which the paper in the Journal is licensed.
By virtue of their appearance in this open access journal, papers are free to use with proper attribution in educational and other non-commercial settings with an acknowledgement of the initial publication in the journal.