


On the other hand, the characteristics of the process must be analyzed to select a control system, for example, the cost of the control system, the software or hardware used for the implementation of the control system, the mathematical requirements used to analyze the process, variables, types of sensors and actuators necessary to control the process, desired precision in the process, advantages and/or disadvantages of the control system, among other things. Additionally, there is a great variety of control systems, for example, neural networks, PID controllers, robust control, sliding modes, PLC (Programmable Logic Controllers), fuzzy controller, among others.

Finally, a Mean Square Error of 0.0326, 0.0643, and 0.1125 was obtained for MATLAB™, Arduino, and Nexys 4™, respectively.Ĭurrently, most of the processes use a control system, which provides the necessary conditions and guarantees the correct operation of the process to obtain the final product. The experimental results of the fuzzy controller are a processing time of 117 milliseconds and 40% of the memory of the Arduino UNO, a processing time of 21.275 milliseconds and 5% of the memory of the Arduino DUE, and a processing time of 17.871 milliseconds and 40% of the memory on the Nexys 4™. MATLAB™ is used to compare these platforms through numerical simulations, which demonstrates the effectiveness of the proposed methodology. An analysis of convergence time, amount of memory, and control surface is performed to ensure that the fuzzy controller on all platforms is satisfactory. The fuzzy controller was designed for two input variables, one output variable, five fuzzy sets for each variable, and a Mamdani type structure. The programming algorithm uses two control statements (IF-THEN and FOR) and the basic mathematical operations. The methodology proposes a programming algorithm to implement a fuzzy controller on the Arduino UNO, Arduino DUE, Nexys 4™, and MATLAB™ platforms. This chapter presents a methodology to implement a fuzzy controller in different hardware platforms, which can be used to control a system or process.
