Professional Documents
Culture Documents
"Thanks to the flexibility of LabVIEW system design software and the new version of the Fuzzy System Designer, we can develop simulation applications to visualize the structure and working process of the rule base of a fuzzy controller."
- Dr. Ildik Jancskrn Anweiler, University of Pcs, Hungary
The Challenge:
Panel View of Fuzzy Control Simulation Creating a fuzzy controller simulator to introduce design elements to our students.
The Solution:
Using NI LabVIEW and NI ELVIS II to design a simulation of a simple, direct control loop consisting of a first-order plant simulator and a fuzzy controller. Author(s): Dr. Ildik Jancskrn Anweiler - University of Pcs, Hungary In the Department of Information Technology at the University of Pcs in Hungary, we have used LabVIEW system design software to teach automation and control theory for many years. Since 2011, we have been an official NI LabVIEW Academy, where information technology students can learn LabVIEW as part of normal coursework.
System Setup
In past years, we developed, among other things, simulations of process plants and control loops for educational purposes. For example, we demonstrated fuzzy control theory using a LabVIEW application as a plant simulator and developed the fuzzy controller in a FuzzyTech development system. The plant simulation and controller were connected via serial ports. When National Instruments released the 2011 version of the NI LabVIEW Control Design and Simulation Module , we found that the Fuzzy System Designer was much more user-friendly than in earlier versions, so we could develop the controller in LabVIEW as well. In this unique platform, the saved controller could programmatically set fuzzy system parameters such as the names of the I/O linguistic variables and their terms as well as the rule base and activity . In this way, we could easily test the fuzzy controller and detect errors with the controller. Our laboratory features a Quanser DC motor control trainer for the NI Educational Laboratory Virtual Instrumentation Suite ( NI ELVIS) platform to give students hands-on, practical experiences in the important aspects of engineering. The vendor-appended LabVIEW example applications offer practice in system identification and speed control with proportional integral derivative (PID) algorithms. Nowadays, almost all programmable logic control (PLC) manufacturers provide an optional fuzzy control algorithm beneath the PID algorithms, which helps students gain important insight into the fundamentals of a fuzzy controller.
1/3
www.ni.com
The second application was a fuzzy control of the Quanser DC motor model. The control value was the motor speed. We replaced the plant simulator with a DC motor that built up the connection to the real system with the NI ELVIS II workstation. Although the signal of the tachometer was filtered with an exponential filter before it entered the control algorithm, this was not indicated on the front panel because we were interested in the control process and wanted to retain the perspicuity of the front panel (see Figure 2). With this application, students could test their designed fuzzy controllers on a real system.
Figure 2. Front Panel View of Fuzzy PID Control of Quanser DC Motor Speed
Thanks to the flexibility of LabVIEW system design software and the new version of the Fuzzy System Designer, we can develop simulation applications to visualize the structure and working process of the fuzzy controller rule base. Author Information: Dr. Ildik Jancskrn Anweiler University of Pcs, Hungary Rkus u. 2. Pcs 7624 Hungary Tel: +36 72 503 650 (3742) Fax: +36 72 501 534 jai@morpheus.pte.hu
2/3
www.ni.com
Legal This case study (this "case study") was developed by a National Instruments ("NI") customer. THIS CASE STUDY IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE ( http://ni.com/legal/termsofuse/unitedstates/us/).
3/3
www.ni.com