LUND UNIVERSITY PO Box 117 221 00 Lund +46 46-222 00 00 An Architecture for Expert System Based Feedback Control Årzén, Karl-Erik 1988 Document Version: Publisher's PDF, also known as Version of record Link to publication Citation for published version (APA): Årzén, K-E. (1988). An Architecture for Expert System Based Feedback Control. (Technical Reports TFRT- 7399). Department of Automatic Control, Lund Institute of Technology (LTH). Total number of authors: 1 General rights Unless other specific re-use rights are stated the following general rights apply: Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal Read more about Creative commons licenses: https://creativecommons.org/licenses/ Take down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. https://portal.research.lu.se/portal/en/publications/an-architecture-for-expert-system-based-feedback-control(f7b7cc68-31fb-4e83-b338-d48dffd9cf01).html CODEN: IUTFD2/(TFRr-73 ee) I L-07 I (1es8) An Architecture for Expert System Based Feedback Control Karl-Erik Årzén Department of Automatic Control Lund Institute of Technology September 1988 Department of Automatic Control Lund fnstitute of Technology P.O. Box 118 5-221 00 Lund Sweden Documcnt na¡rc¡c Report Datc of itøuc September L988 Documcnt ÀIumbc¡ CoDEN: tUTFD2/(TFRT-73ee)/1-07l( 1e88) Author(s) Karl-Erik Årzén Supcrviso¡ Sponcoring org¡anísation STU Titlc dnd subtìtle An architecture for expert system based feedback control. Absttæt It is a recognized problem that many industrial control loops are badly tuned or run in manual mode. Two expert system approaches have been suggested for this problem. Fuzzy, rule-based control replace control algorithms by linguistic rules which model the operators manual control strategy. Knowledge-based control extends the range of conventional controllers by encoding general control knowledge and heuristics concerning tuning and adaptation in a supervisory expert system. An architecture for knowledge-based control is described where two concurrent processes are used for the knowledge-based system and the numerical algorithms. A modular, blackboard-based approach is used. This allows the decomposition of the problem into subtasks which are implemented as separate knowledge sourcee that can be rule-based with different inference strategies or procedural. The framework can be compared with a real-time operating system and has similar real-time primitives. The system has been implemented on a VAX tL/780 and used with good experiences. Key words Real-time expert systems, Feedback control Classífic¿tíon systcrm and./or indcx tcrms (íf any) S up plc ment ary b iblio graphic al ínfo tmat io n ISSN and kcy title ISBN Languagc English Numbc¡ oÍ pages 7 R.ccípìcnt's notes S ccuríty classìfrcat íon The report may bc o¡de¡ed from thc Department of Automatíc Cont¡ol or bortowcd úårough thc llnivercíty Librury 2, Box 7010, 3-227 O3 Lund, Swcdcn, Tclcx: 33248 lubbís lund. Paper to be presented at AI in real-time control, the IFAC Vüorkshop on 21-23 September, Wales. An architecture for expert systern based feedback control Kart-Erik Ä.rzén Department of Automatic Control Lund Institute of Technology Box 118 5-221 00 Lund, Swcden Abstract. It is a recognized problem that many industrial control loops are badly tuned or ru¡l in manual modc. Two cxpcrt systcm approachcs havc bccn suggcstccl ftrr tlris problem. Fuzzy, rule-based control replace control algorithms by linguistic rules rv¡ic[ model the operators m¿nual control strategy. Knowledge-based control extends the rangc of conventional controllers by encoding general control knowledge and heuristics concerning tuning and adaptation in a supervisory expert system. An architecture for knorvledge- based control is described where two concurrent processes are used for the knowledge-basecl system and the numerical algorithms. A modular, blackboard-based approach is used. Tiris allows the decomposition of the problem into subtasks which are implemented as separate knowledge sources that can be rule-based with different inference strategies or procedural. The framework can be compared with a real-time operating system and has similar real- time primitives. The system has beer- implemented on a VAX I1/780 and used rvith goocl experiences. Keyuords: Real-time expert systems, Feedback control 1. Introduction There is currently a significant interest in expert sys- tem techniques in the process control community, Applications of many different types have been pro- posed, implemented and a few also fielded. This pa- per considers the use ofexpert system, or knowledge- based system, techniques in the closed control loop. It is a recognized problem that many industrial con- trol loops are badly tuned or run in rnanual ¡node. This decreases the quality of the end product ancl thus increases cost. The manual control task also adds to thc already high cognitivc burclc¡r that pro- cess operators are exposed to in modern control sys- tems. The reasons for the poor control arc many. Onc could be that the control loop is badly tuned from the beginning. Another could be that the operating conditions have changed since the initialization of the controller. This could, c.g. bc duc to operation at dillerent operating points or time-varying dynamics. The conventional solution to the problern of poorly tuned control loops is to use adaptive controllcrs. Adaptive controllers, e.g., (,4.ström and Wittenmarrk, 1989), are currently beginning to be used in i¡rdustrial practice. There are, however, problems. Even though an explicit self-tuning regulator periodically updates the coefñcie¡rts of a process model thcre still a¡e rrÌany parameters that must be set explicitly. Examples are model orders and time scales. Such information can be diflìcult to provide and process operators typicall¡' lack the intuitive understanding that they have with conventional PID controllers- Two expert system approaches have been suggested for the described problem. Both i¡volve using the expert system as a part ol the feedback loop. In the u'ell-known fuzzy or rule-based approach, e.g., (Tong, 1984), the attempt is to model the manuai control strategy of the process operator. It is exprcssed as qualitative, Iinguistic rules lor horv to choose the con- trol signal in different situations, The rules replace conventional control algorithms. The intended appli- cations are control ofcomplcx proccsscs such as, c.g., cement kilns, for which either appropriate models do not exist or are inadequate. The sccond approach, from now on rcfcrrc