UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems

The main goal of control theory is input tracking or system stabilization. Different feedback-computed controlled systems exist in this area, from deterministic to soft methods. Some examples of deterministic methods are Proportional (P), Proportional Integral (PI), Proportional Derivative (PD), Pro...

Full description

Bibliographic Details
Published in:Machines
Main Authors: Martín Montes Rivera, Ernesto Olvera-Gonzalez, Nivia Escalante-Garcia
Format: Article
Language:English
Published: MDPI AG 2023-05-01
Subjects:
Online Access:https://www.mdpi.com/2075-1702/11/5/572
_version_ 1851895185809604608
author Martín Montes Rivera
Ernesto Olvera-Gonzalez
Nivia Escalante-Garcia
author_facet Martín Montes Rivera
Ernesto Olvera-Gonzalez
Nivia Escalante-Garcia
author_sort Martín Montes Rivera
collection DOAJ
container_title Machines
description The main goal of control theory is input tracking or system stabilization. Different feedback-computed controlled systems exist in this area, from deterministic to soft methods. Some examples of deterministic methods are Proportional (P), Proportional Integral (PI), Proportional Derivative (PD), Proportional Integral Derivative (PID), Linear Quadratic (LQ), Linear Quadratic Gaussian (LQG), State Feedback (SF), Adaptative Regulators, and others. Alternatively, Fuzzy Inference Systems (FISs) are soft-computing methods that allow using the human expertise in logic in IF–THEN rules. The fuzzy controllers map the experience of an expert in controlling the plant. Moreover, the literature shows that optimization algorithms allow the adaptation of FISs to control different processes as a black-box problem. Python is the most used programming language, which has seen the most significant growth in recent years. Using open-source libraries in Python offers numerous advantages in software development, including saving time and resources. In this paper, we describe our proposed UPAFuzzySystems library, developed as an FISs library for Python, which allows the design and implementation of fuzzy controllers with transfer-function and state-space simulations. Additionally, we show the use of the library for controlling the position of a DC motor with Mamdani, FLS, Takagi–Sugeno, fuzzy P, fuzzy PD, and fuzzy PD-I controllers.
format Article
id doaj-art-2bd1e7f863bc40a68614f0b021ea48ce
institution Directory of Open Access Journals
issn 2075-1702
language English
publishDate 2023-05-01
publisher MDPI AG
record_format Article
spelling doaj-art-2bd1e7f863bc40a68614f0b021ea48ce2025-08-19T22:08:08ZengMDPI AGMachines2075-17022023-05-0111557210.3390/machines11050572UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference SystemsMartín Montes Rivera0Ernesto Olvera-Gonzalez1Nivia Escalante-Garcia2Research and Postgraduate Studies Department, Universidad Politécnica de Aguascalientes (UPA), Aguascalientes 20342, MexicoLaboratorio de Iluminación Artificial, Tecnológico Nacional de México Campus Pabellón de Arteaga, Carretera a la Estación de Rincón Km. 1, Pabellón de Arteaga 20670, MexicoLaboratorio de Iluminación Artificial, Tecnológico Nacional de México Campus Pabellón de Arteaga, Carretera a la Estación de Rincón Km. 1, Pabellón de Arteaga 20670, MexicoThe main goal of control theory is input tracking or system stabilization. Different feedback-computed controlled systems exist in this area, from deterministic to soft methods. Some examples of deterministic methods are Proportional (P), Proportional Integral (PI), Proportional Derivative (PD), Proportional Integral Derivative (PID), Linear Quadratic (LQ), Linear Quadratic Gaussian (LQG), State Feedback (SF), Adaptative Regulators, and others. Alternatively, Fuzzy Inference Systems (FISs) are soft-computing methods that allow using the human expertise in logic in IF–THEN rules. The fuzzy controllers map the experience of an expert in controlling the plant. Moreover, the literature shows that optimization algorithms allow the adaptation of FISs to control different processes as a black-box problem. Python is the most used programming language, which has seen the most significant growth in recent years. Using open-source libraries in Python offers numerous advantages in software development, including saving time and resources. In this paper, we describe our proposed UPAFuzzySystems library, developed as an FISs library for Python, which allows the design and implementation of fuzzy controllers with transfer-function and state-space simulations. Additionally, we show the use of the library for controlling the position of a DC motor with Mamdani, FLS, Takagi–Sugeno, fuzzy P, fuzzy PD, and fuzzy PD-I controllers.https://www.mdpi.com/2075-1702/11/5/572intelligent controlfuzzy logicfuzzy inference systemsopen sourcePython
spellingShingle Martín Montes Rivera
Ernesto Olvera-Gonzalez
Nivia Escalante-Garcia
UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
intelligent control
fuzzy logic
fuzzy inference systems
open source
Python
title UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
title_full UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
title_fullStr UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
title_full_unstemmed UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
title_short UPAFuzzySystems: A Python Library for Control and Simulation with Fuzzy Inference Systems
title_sort upafuzzysystems a python library for control and simulation with fuzzy inference systems
topic intelligent control
fuzzy logic
fuzzy inference systems
open source
Python
url https://www.mdpi.com/2075-1702/11/5/572
work_keys_str_mv AT martinmontesrivera upafuzzysystemsapythonlibraryforcontrolandsimulationwithfuzzyinferencesystems
AT ernestoolveragonzalez upafuzzysystemsapythonlibraryforcontrolandsimulationwithfuzzyinferencesystems
AT niviaescalantegarcia upafuzzysystemsapythonlibraryforcontrolandsimulationwithfuzzyinferencesystems