Escolar Documentos
Profissional Documentos
Cultura Documentos
Abstract— In this paper we propose the low-cost solutions algorithms, programmable logic controllers (PLC) are usually
granted to university students to contribute to their professional used, with the inconvenience of elevated costs to acquire them
development. Two control systems were simulated applying [12-14]. In addition, they require the purchase of additional
embedded devices, such as the BeagleBone Black and Udoo Neo modules for the development and implementation of advanced
Full boards applied on a didactic flow station. With these controllers. Taking into consideration smaller budgets, tools
prototypes, the aim is to develop critical thinking in the user as that offer similar benefits consider low cost embedded devices
well as putting into practice, the learned concepts about as an option [15-16]. Thus, fulfilling the objective of training
advanced controllers. To visualize the events produced, an better professionals.
interface can be made in the software LabVIEW and the option
of saving this data in an .xlsx file is added for the later analysis of Following this context, the academy has developed
this information. The validation of the project is carried out by research projects that seek to prepare students for their future
evaluating the acceptance of these characteristics by the students roles in the industry. In [17] a real time process simulator has
and the experimental results of the controller to changes in the been developed, users can benefit by learning programming
set-point value. skills and industrial automation. In [18] the construction of a
modern control training module is presented, allowing the
Keywords— Embedded systems, Process control, Fuzzy control, students to familiarize with industrial processes such as flow
Engineering education.
and speed, to evaluate commonly used controls in a practical
way. In [19] the implementation of a training system for
I. INTRODUCTION industrial process remote control is presented, the system
In the area of process control a constant search is enables the reconfiguration of the process to provide precise
conducted to improve the performance of the process and knowledge to the user. In addition to this, proposals have been
therefore the benefits for the end user [1-3]. Improvement of development with the use of embedded boards. As in [20], a
the process depends on the applied control strategy and proper Raspberry Pi board is used to perform control of household
selection of tuning parameters. The combination of these devices by IoT. In [21 – 22] the implementation of a fuzzy
elements allows the process to achieve an efficient and control algorithm for process control running on a Raspberry
automatic operation [4]. Control theory encloses classic and Pi board is presented. In [23] Arduino and Raspberry Pi
advanced controllers, PID being more popular in the first boards are combined to perform control of devices with
group [5]. Application of this controller allows the intelligent communication. BeagleBone Black board is utilized
development of several industrial applications due to its in the field of robotics to achieve the navigation control of a
versatility [6]. With the passage of time advanced controllers robot, and to perform image processing in [24].
were taking more prominence, and fuzzy controller is a good To provide the students with new tools that improve the
example for the ease in which it adjusts to the needs of the learning process, an advanced control algorithm applied on
system [7-8]. BeagleBone Black and Udoo Neo Full embedded boards is
Institutions of higher education are focused on improving proposed. Also making the comparison of their performance
the teaching – learning process of the students of technical controlling the flow variable of an educational station that
careers that seek to consolidate their knowledge with the simulates an industrial process, as it is displayed on Fig. 1.
respective practice [9-11]. For the teaching of control With this station the users will put into practice the concepts
of advanced control theory that they received in the classroom.
The current error e(k) is represented by 7 input functions EPB VMB VMB VB
identified with the following linguistic labels: "ENA", EPM VB VB VB
"ENM", "ENB", "Z", "EPB", "EPM", "EPA"; where, "E"
symbolizes error, "N" negative, "P" is positive, "A" represents EPA VB VmuyB VmuyB
high, "M" is medium, "B" means low and "Z" is zero and to
ensure adequate space for error variations, a range of errcaudal IV. IMPLEMENTATION
= {-30, ..., 30} was established, declared by the FuzzyInput
and FuzzySet objects. Whereas for the cumulative error ea(k) A. Hardware Implementation
the labels "EN", "O" and "EP" are used, which means negative As stated previously, the flow transmitter produces a signal
error, zero and positive error respectively. that varies from 4 to 20 Ma, for this to happen the flow level
For the exit rules used in the Defuzzification stage, it is should oscillate between the values of 10 to 40 liters per
proceeded in the same way as for the inputs, also FuzzyOutput minute (LPM). To use the transmitter as a controller input, the
object is used, and the following 7 linguistic labels "VmuyB", signal must be transformed into a standard voltage with
"VB", "VMB" "C", "VMA", "VA" and "T" in the output range magnitude ranging between 1 to 5 V, by using a current-to-
= {-5, ..., 5}, where "V" is voltage, "M" is medium, "B" voltage converter (I/E), to be more specific a resistance of 250
represents low, "A" symbolizes high and "T" is terminal. In ohms placed in series with the circuit. In order to reduce any
Fig. 3, each of the fuzzy sets is shown. kind of high frequency noise a low pass filter and a capacitor
were placed in the output of the power supply of the integrated
circuits.
Given the previous handling of the signal, for data
acquisition in the case of BeagleBone Black board, the 12 bits
resolution double channel analog to digital converter (ADC)
MCP3202 is used. The ADC conversion communicates
through the serial peripheral interface bus (SPI), a
synchronous protocol that operates in full duplex mode, and
provides good data transmission speed through four signals.
a) For the case of the Udoo Neo Full board, an internal 16-bit
ADC is used, but it is configured to operate at 12 bits, just like
its counterpart. Each of the boards will perform the control
action that is configured with software.
After the control stage, an external digital to analog
converter (DAC) is required to emit a voltage signal, since
neither of the two boards possess an internal one. To achieve
this the PCF8591 integrated circuit (I.C) is used, which
receives data through I2C communication and operates at 8
b) bits of resolution. For technical reasons said I.C produces a
Fig. 3. Fuzzy sets: a) Fuzzification sets. b) Defuzzification sets
maximum of 5V that must be amplified with gain 2 to be
connected to the frequency inverter of the process that
Table 1 shows the basis of rules with which the fuzzy operates between 0 – 10 V. Afterwards, an impedance
controller will act. The structure to create the objects of the coupling is made between the designed circuit and the flow
antecedent and consequent of the algorithm simulates the station, by the means of a voltage follower. To perform all of
structure of the Mamdani fuzzy rules in the form IF ...... the signal conditioning discussed in this chapter, a printed
THEN ......, in this way the antecedent is represented by the circuit board has been made, the design is shown in Fig.4.
FuzzyRuleAntecedent object, followed by the joinSingle Finally, boxes are made to protect the developed electronic
boards and facilitate their connection.
b)
Fig. 5. Display interface: a) Block diagram b) Front Panel
a)