Next Article in Journal
Data-Driven Method for Predicting Remaining Useful Life of Bearing Based on Bayesian Theory
Next Article in Special Issue
A Novel Real-Time MATLAB/Simulink/LEGO EV3 Platform for Academic Use in Robotics and Computer Science
Previous Article in Journal
Robust Species Distribution Mapping of Crop Mixtures Using Color Images and Convolutional Neural Networks
Previous Article in Special Issue
Systematic Review on Which Analytics and Learning Methodologies Are Applied in Primary and Secondary Education in the Learning of Robotics Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Educational Mechatronics and Internet of Things: A Case Study on Dynamic Systems Using MEIoT Weather Station

1
Centro de Investigación, Innovación y Desarrollo Tecnológico CIIDETEC-UVM, Universidad del Valle de México, Tlaquepaque 45601, Mexico
2
Unidad Académica de Ingeniería Eléctrica, Universidad Autónoma de Zacatecas, Zacatecas 98000, Mexico
3
Centro Universitario de los Valles, Universidad de Guadalajara, Ameca 46600, Mexico
4
Department of Electronics Systems and Computing, ITESO AC, Tlaquepaque 45604, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(1), 181; https://doi.org/10.3390/s21010181
Submission received: 3 November 2020 / Revised: 11 December 2020 / Accepted: 21 December 2020 / Published: 29 December 2020
(This article belongs to the Special Issue Mechatronics and Robotics in Future Engineering Education)

Abstract

:
This paper presents the design and development of an IoT device, called MEIoT weather station, which combines the Educational Mechatronics and IoT to develop the required knowledge and skills for Industry 4.0. MEIoT weather station connects to the internet, measures eight weather variables, and upload the sensed data to the cloud. The MEIoT weather station is the first device working with the IoT architecture of the National Digital Observatory of Intelligent Environments. In addition, an IoT open platform, GUI-MEIoT, serves as a graphic user interface. GUI-MEIoT is used to visualize the real-time data of the weather variables, it also shows the historical data collected, and allows to export them to a csv file. Finally, an OBNiSE architecture application to Engineering Education is presented with a dynamic system case of study that includes the instructional design carried out within the Educational Mechatronics Conceptual Framework (EMCF) to show the relevance of this proposal. This work main contribution to the state of art is the design and integration of the OBNiSE architecture within the EMCF offering the possibility to add more IoT devices for several smart domains such as smart campus, smart cities, smart people and smart industries.

1. Introduction

The continuous technological transformation, the industry trends, and the development of new manufacturing processes promote systems’ and processes’ quality and transform machines, work tools, and human beings’ interactions [1]. As part of this transformation, Industry 4.0 (I4.0), has acquired great relevance [2]. I4.0 is characterized by automation, processes’ digitalization, and the use of electronic and information technologies in manufacturing [3]. The Internet of Things (IoT) is a growing technology that has contributed significantly to I4.0, and it allows communication and inter-operation between users and devices that belong to a system [4].
Recently, more companies need to handle the challenge of dealing with the topics of I4.0 and IoT when looking to become I4.0 companies. This is due to the benefits of integrating both topics: traceability, cost reduction, increased productivity, optimized processes and automation, and improved decision making thanks to data collection and analysis. There are several reference models or frameworks devoted to optimize production [5]. For instance, in [6], a service-oriented cyber-physical Advanced Mechatronics System (AMS) was presented along with its current and future challenges. These AMS frameworks show the transformation from mechanical systems to mechatronic systems to advanced mechatronics systems, their interaction with the environment, and other AMSs considering the smart domains and their applications to provide new solutions. Moreover, Reference [7] presented an approach based on the reuse of modular mechatronic systems and a general framework to work with the modular system. It was applied to a six degrees of freedom industrial robot arm and a medical support robot. All the IoT devices and their gathered data could be linked to teaching and learning activities in engineering education as in [8]. The research in the field of IoT applications for smart buildings can be meaningfully interlinked with DigiLab4Ufor a possible laboratory environment to be used in higher education. Furthermore, in [9], the authors presented a framework based on IoT to operate off-line and smart devices; this proposal is divided into three layers: (1) traditional devices layer; (2) the voice and smart device controller are in the same layer to organize the smart devices; and (3) a gateway layer to communicate with the devices. This framework can be applied to smart warehouses, smart restaurants, smart homes, smart farms, and smart factories in which the network may become unstable. It can be noted that those systems in these proposals were adapted or modified, i.e., the complete system was not designed from its conception. This may cause problems when we want to focus on the original system to perform a task or application different from the one for which it was created.
To drive the transformation and ensure success in this new era, training specialists in each area of I4.0 become a key factor. Therefore, it is important to concentrate on engineering education, which is the activity of teaching knowledge and principles for engineering professional practice, not just the methodologies and strategies that are required, but also, a complete educational framework is needed. In [10], an IoT-based learning framework that supports teaching Science, Technology, Engineering, and Mathematics (STEM) was presented. This architecture is devoted to undergraduate education, and it aims to be an environment for teaching computing concepts and theories using a hands-on approach, problem solving, and pedagogy. In terms of hardware and software, they used an Arduino YÚN, ThingSpeak (an open IoT platform with MATLAB analytics), and an Android mobile application. Moreover, in [11], two Industrial IoT devices were developed as a small-scale IoT testbed for both research and education: a 3D printer, vibration data acquisition for machinery health monitoring, intrusion detection in an industrial/manufacturing environment, and an industrial control system emulator. Besides, Reference [12] presented the design and implementation of a new method for the control and monitoring of mechatronic systems, connected to the IoT network using a selected segment of extended reality to create an innovative form of human-machine interface and applying advanced digital technologies such as extended (computer-generated) reality. Although [10,11,12] developed IoT devices and virtual mechatronic systems designed from the ground up, they did not present evidence of any teaching methodology or teaching-learning process. On the other hand, Reference [13] described a framework for the inclusion of IoT in undergraduate curriculum: the outline of the course content, course outcomes, and delivery method. However, this work did not show a conceptual framework containing a methodology, a teaching and learning process, along with strategies to lead the course. It is worthwhile mentioning that one of the novel conceptual frameworks that are just beginning to appear in the academic field is Educational Mechatronics (ME by its initials in Spanish) [14].
Therefore, the motivation of this work lies in the importance of bringing together a complete architecture that considers the new requirements of I4.0 and combines the benefits of IoT applications and an educational methodology, to help institutions, companies government and society to adapt quickly to the exponential growth of technology. Therefore, this proposal encompasses the design and developments of the following elements:
  • An IoT device (called the MEIoT Weather Station) as the first device for the IoT National Digital Observatory of Smart Environments (OBNiSE by its initials in Spanish) architecture, capable of sensing and collecting information about the temperature, humidity, pressure, light, and altimetry sensors.
  • A graphic user interface, GUI-MEIoT, to have access to the data is designed and implemented. The access is available from a mobile device or a computer to monitor and visualize the current data in real-time, make queries, download data in CSV file format, etc.
  • A new IoT architecture, the OBNiSE IoT architecture, that can be applied in general to several areas such as industry, education, mobility, smart cities, agriculture, health, energy, etc. This IoT architecture encompasses six layers: devices, network, processing, cloud, security, and applications.
  • An application to engineering education focused on understanding a dynamic system modeled by a differential equation. Moreover, the instructional design has to be carried out within the Educational Mechatronics Conceptual Framework (EMCF) considering the concrete level, the graphic level, and the abstract level.
The paper is organized as follows. Section 2 presents the definition of the EMCF. Section 3 introduces the OBNiSE IoT architecture, which can be applied to several technological proposals and applications. In Section 4, the detailed description of the design and implementation of the MEIoT Weather Station in the OBNiSE IoT architecture and GUI-MEIoT are presented. Section 5 shows the application to engineering education within the EMCF using the MEIoT Weather Station, and Section 6 discuss the results and how they can be interpreted from different perspectives. Finally, Section 7 draws some conclusions and provides directions for potential future ideas.

2. Educational Mechatronics Conceptual Framework

Mechatronics is a multidisciplinary area, as it incorporates elements of electronics, mechanics, robotics, computer systems, control, and manufacturing. Then, there is educational mechatronics, which is developed around this. Educational mechatronics’ main objective is to develop the knowledge, skills, and attitudes required by the new industrial era jobs, promoting students’ critical thinking to generate solutions with innovative proposals to industrial automation problems and processes’ automatic control that industry currently experiences [15].
The Educational Mechatronics Conceptual Framework (EMCF) aims to guide teachers on the design, implementation, and evaluation of pedagogical activities to develop mechatronic thinking in students. The latter is understood as the capacity for the design and implementation of production systems [1] under the principle of interdisciplinary collaboration and the concept of multidisciplinary provision of knowledge [16], in a flexible way [17,18,19], considering the high-level intelligence hierarchy as the backbone of mechatronic systems [15,20]. Educational mechatronics is intended to lead the student to understand abstract concepts on which the applications that we call mechatronics are built and, thus, to be able to face the speed of growth and exponential change of I4.0, the latter with the aim to respond to the manufacturing industry megatrends, focusing on the development, application, or integration of a set of enablers and technologies in order to generate impact [21].
The EMCF is structured into three reference perspectives: process, application, and artifact [22,23], as is shown in Figure 1. The first perspective (process) is oriented toward learning the basic concepts of mechatronics applied to any process of the EMCF, such as the concepts of digital control, electronics, dynamics, and cinematics, among others. The second perspective (application) comprehends all the applications (sub-disciplines) from the basic definitions of mechatronics, which means that students use applications required to present results and be aware of the concepts that are applied during the application use. Some of the applications that students can use are: robotics, cyber-physical systems, biomechatronics, etc. Finally, the last perspective (artifact) is oriented toward getting some models and prototypes related to the process and application construction; these models or prototypes can be a drone, the MEIoT Weather Station, a manipulator robot, or others.
The EMCF learning construction methodology (macro-process) is based in the structured teaching methodology proposed by [24,25], shown in Figure 2.
This methodology is composed of three learning levels: concrete, graphic, and abstract learning. The first level, called concrete, is about the manipulation process and the experience with real objects, which is a learning framework focused on the student’s experience with situations of their reality or specific objects [26,27]. At the second level, graphic, the elements of reality (defined in the concrete level) are represented using graphics or symbolic elements, enabling students to integrate this knowledge as a skill [28]; the student is able to use applications available online or create new ones. The third level, abstract, is about the learning-focused outside of reality and is responsible for a major abstraction level; at this level, students differentiate between the acquired mathematical and computational knowledge and how this is used within the application.

3. OBNiSE Architecture

The Internet of Things (IoT) is one of the most popular technological development areas today due to the demand for current technology and the ease of development it offers. The new methodologies, methods, and architectures have to be capable enough so that they can process the large amount of information generated by different devices connected to the cloud and, at the same time, to ensure users’ and applications’ data.
This work uses OBNiSE and proposes the OBNiSE architecture: a scalable and multifunctional platform that allows the integration of artificial intelligence mechanisms, distributed systems, networks, and information technologies, among others, in order to obtain new technologies based on IoT (see Figure 3), which has the objective of being an integrated system that allows us to control, analyze, monitor, and develop intelligent systems for the creation of IoT-based solutions, and the security and handling of large amounts of information at different levels are considered. This architecture is distributed in different layers that allow managing and ensuring the availability and security of users, applications, and systems. It is worth mentioning that the OBNiSE is part of the Center for Research, Innovation, and Technological Development of the University of the Valley of Mexico (CIIDETEC-UVM). One of the works that has been developed in OBNiSE is the implementation of an intelligent parking sensor shown in [29].
The OBNiSE architecture is divided into six layers.
  • Devices are all the devices in the physical layer that allow the collection of information.
  • The network is responsible for managing three main components: tools, user profiles, and data accessibility. Tools are the cables, graphics cards, cards, and additional connections that allow users and devices to be configured. User profiles can be divided into three categories: programmers, managers or admin, and regular users. Data accessibility is how devices communicate with users and other devices, whether through Wi-Fi, Bluetooth, and ZigBee, among others.
  • Processing is in charge of processing the information captured by the network and device layers; additionally, it is in charge of data organization to obtain the data interpretation. This processing can be done through a physical or virtual server.
  • The cloud is this layer where the information is stored and ensures its availability for any user or device that uses any application or service of this architecture.
  • Applications allow users to interact with applications and services created under this IoT architecture that offer a technological solution; some of the areas for these solutions are education, mobility, cities, health, and technology, among others.
  • Security is the layer transversal to all the architecture layers. In the case of the devices, the connections are ensured, and the devices are stored in controlled places, while in the user profiles (network layer), it is ensured that they can only see the information to which they have access. The applications contain encrypted information that allows them a level of security such that the information is stored on a physical server and servers in the cloud so that only administrators have access to it. In the processing layer, the server contains encryption keys to protect the information that is transmitted to the devices and the cloud.

4. Design and Implementation of the MEIoT Weather Station in the OBNiSE Architecture

The MEIoT Weather Station was chosen to be the first IoT device in the OBNiSE architecture since it is composed of temperature, relative humidity, barometric pressure, altitude, light, rainfall, wind speed, and wind direction sensors. The OBNiSE architecture considering the MEIoT Weather Station is shown in Figure 4. Moreover, the description for every layer in the OBNiSE architecture is described below.
  • Device layer: The MEIoT Weather Station uses an Arduino-based microcontroller, temperature, humidity, light, barometric pressure, and altimeter sensors, a rain collector, and wind direction and wind speed elements, as shown in the Figure 5.
    A Si7021 I2C Humidity and Temperature Sensor from Silicon Labs (Circle Number 1 in Figure 5) is a monolithic CMOS IC (Complementary Metal Oxide Semiconductor Integrated Circuit) that integrates humidity and temperature sensor elements, an analog-to-digital converter, signal processing, calibration data, and an I2C (Inter-Integrated Circuit) interface. The patented use of industry-standard, low-Kpolymeric dielectrics for sensing humidity enables the construction of low-power, monolithic CMOS sensor ICs with low drift and hysteresis, and excellent long-term stability.
    The humidity and temperature sensors are factory-calibrated, and the calibration data are stored in the on-chip non-volatile memory. That ensures the sensors are fully interchangeable, with no recalibration or software changes required, and it features a relative humidity precision of ±3 percent maximum in the zero to 80 percent range and a ±0.4 °C maximum in the −10 to 85 °C range.
    The I2C Precision Altimeter MPL3115A2 (Circle Number 2 in Figure 5) employs an MEMS (Microelectromechanical Systems) pressure sensor with an I2C interface to provide accurate pressure/altitude and temperature data. The sensor outputs are digitized by a high-resolution 24 bit Analog-to-digital Converter (ADC). Internal processing removes compensation tasks from the host MCU (Microcontroller Unit) system. Pressure output can be solved with output in fractions of a Pascal, and altitude can be resolved in fractions of a meter. The package is a surface-mounted device with a stainless-steel lid and is RoHS (Restriction of Hazardous Substances) compliant.
    The ALS-PT19-315C/L177/TR8 (Circle Number 3 in Figure 5) is a low-cost ambient light sensor, consisting of a phototransistor in a miniature SMD (Surface-Mounted Device). The spectral response of the ambient light sensor is close to that of human eyes, with a light to current analog output and good linearity across a wide illumination range, which makes it ideal for the MEIoT Weather Station.
    The MEIoT Weather Station also includes a wind vane, a cup anemometer, and a tipping bucket rain gauge; see Figure 6 for more details; Circles 4 and 5 in Figure 5 refer to the connections to the MEIoT Weather Station board. These sensors contain no active electronics; instead, they use sealed magnetic reed switches and magnets to take measurements. A voltage must be supplied to each instrument to produce an output. The rain gauge is a self-emptying tipping bucket type. Each 0.2794mm of rain causes one momentary contact closure that can be recorded with a digital counter or microcontroller interrupt input.
    The cup-type anemometer measures wind speed by closing a contact as a magnet moves past a switch. A wind speed of 2.4 km/h causes the switch to close once per second. The wind vane is the most complicated of these three sensors. It has eight switches, each connected to a different resistor. The vane’s magnet may close two switches at once, allowing up to 16 different positions to be indicated. An external resistor is used to form a voltage divider, producing a voltage output that can be measured with an analog to digital converter.
  • Network layer: The sensor and the microcontroller are connected using the I2C (Integrated to Circuit) communication protocol bus, analog ports, and external interrupts, and VNC (Virtual Network Computing) is used for the communication between the CPU (Central Processing Unit) and the mobile application through the terminal. Finally, the information is sent to the cloud using Wi-Fi. The network layer is integrated by three elements: tools, user profiles, and data accessibility. Each item is composed as follows:
    Tools: In addition to the tools required to connect the sensors and the MEMS using an I2C integrated and VNC, cables, connectors, and additional tools are also part of this element.
    User profiles: For these implementations, two kinds of user-profiles are defined: viewers and managers; viewers can only see the information using a PC or a mobile; managers, on the other hand, not only are able to see the information, but also have the possibility of modifying the parameters within the MEIoT Weather Station. These profiles are explained in Section 4.2.
    Data accessibility: This element is used to define the communication channel for the devices, users, and information. For this implementation, the protocols used are Wi-Fi and the MQTT (Message Queuing Telemetry Transport) protocol.
  • Processing layer: The MEIoT Weather Station uses a C++-based system with the ability to connect to the Internet and sense and store the data for subsequent information management. The information is stored using cloud computing. The device contains an ESP32 processor, which has built-in Wi-Fi capability; this is used to send the sensors data to the IoT services offered by IBM’s cloud. IBM has the Watson IoT platform, which is its specialized platform for IoT.
  • Cloud layer: The information is stored using a database in the cloud for later visualization. The data are available for the application and the system. Due to the lack of access to the OBNiSE facilities due the current pandemic, the IBM Watson platform is currently used for information storage.
  • Applications layer: For data visualization, an open-source platform named Grafana Cloud is used, which allows interaction with the MEIoT Weather Station from a mobile device, a computer, or the web. More details are explained in Section 4.2.
  • Security Layer: Security is considered in connected devices, devices, and users. It is necessary to define modifications in the configurations for the data protection, the use of the application at the user profile and application levels, as well as the processing and cloud data storage. The security implementation starts with the Watson IoT platform where unique organization IDs are assigned. The IBM Watson IoT platform has three main aspects of security, Transport Layer Security (TLS), authentication, and authorization. (1) The TLS certificate protects against impersonation by certifying a public key belonging to a specified entity. TLS provides secure communication for messages flowing between the client and the IBM Watson IoT platform and supports multiple versions; TLSv1, TLSv1.1, TLSv1.2. (2) The authentication uses a token that is defined in the platform; if any user, device, or connection is successfully authenticated, then, it can be connected to the platform. (3) The authorization is based on a mechanism to allow clients to connect and use messaging actions. There are two types of policies: connection and messaging policies. Connection and messaging policies provide access control. Access control defines which clients are allowed to connect to the Watson IoT platform. Access control also defines the actions that the connected clients are authorized to use. The client identification data must contain the client ID and user ID. The device must present these credentials in order to send data to the organization, and this connection is achieved through the MQTT protocol.
More details about the device connection can be found in the next subsection. An adaptable model for the architecture based on IoT is presented. This model is configurable according to the needs of data growth and current technological advancement that requires tools that are sufficient and competitive in this new industrial revolution.

4.1. Description of the MEIoT Weather Station

The MEIoT Weather Station is a facility with instruments and equipment for measuring atmospheric conditions to provide information for weather forecasts. This information can be used for different purposes. The MEIoT Weather Station is composed of an Arduino-based microcontroller that contains a Control Processing Unit (CPU) to process the information. The CPU is connected to the sensors to receive the sensed data. The CPU is also connected to the cloud to store the sensed data via Wi-Fi. Figure 7 depicts the icon used for the MEIoT Weather Station.
The multidisciplinary nature of this system requires three fundamental phases for its design and implementation process: cloud-based database design, communication of elements, and open-source website platform.
There are two options when designing the database: the relational model and the entity-relationship model. In this work, the relational model was developed for this system. In order to organize and easily access the data, a database is in charge of storing the measured sensors data, the sampling time, as well as the date of the sample; they can be consulted by the website platform.
Using an Arduino-based microcontroller board as a CPU, sensors are connected using the I2C communication bus, analog ports, and external interruptions. Starting from this, an embedded system is developed in the C++ language to connect to the Internet and capture the sensors’ obtained data. The same program has the task of establishing a connection with an online database and sending the measured data with a sampling time of 1 s.
The physical interconnection between all elements is shown in Figure 6, where a printed circuit board (red board) interconnects the weather sensors; this board is also connected to the microcontroller board (white board). The electronics are arranged in a small plastic enclosure mounted on a tripod for practical usage and can be moved to a specific location for running tests in different environments.

4.2. Graphic User Interface-MEIoT

Several applications can be used for the visualization and manipulation of the data of an IoT application. For the online platform, we use Grafana Cloud, an open-source platform for querying, visualizing, and alerting metrics and logs, wherever they live. The navigation of the website is intuitive and easy for the user to use. The platform also allows setting the framing and the start and end time to show the later graphics. The user also can download the proportions from the website in a CSV (Comma-Separated Value) format.
Grafana offers as its main advantage, for instance, broad integration of databases such as Graphite, Prometheus, Influxdb, ElasticSearch, MySQL, PostgreSQL, etc. The tool is useful for time series analysis, so it is widely used for monitoring variables or for the development of Key Performance Indicators (KPIs). Grafana can be executed “on-premise ”, which means that it can be deployed within the institution for organizations that do not want their data to be transmitted to a vendor cloud for security or other reasons. The organization has complete control of the infrastructure; the data remain on their private network, and no one but their team has access to the information. Besides, Grafana offers a range of visualization options such as geographic maps, heat maps, histograms, and the full range of charts and graphs that a business typically requires to study the data.
In Grafana, there are defined roles that determine the resources you are allowed to access. There are three types of roles: admin, editor, and viewer.
  • Admin: can do everything scoped by the organization, for example add, edit, delete data sources, teams, folders containing dashboards, etc.
  • Editor: can view, add, and edit dashboards, panels, and alert rules in dashboards to which they have access; cannot add, edit, or delete data sources; these data can be disabled for specific folders and dashboards.
  • Viewer: can visualize any dashboard and data if they have access; cannot manage other organizations, users, and teams.
For the network layer, we only use two of three profiles, admin performing as the manager profile and viewer as the viewer profile.
The sensed data are stored in a MySQL database. Grafana presents a set of tools for consultation that are useful for data visualization, as well as analysis.
Data visualization can be done by accessing https://usuariografana.grafana.net and signing in with the username: [email protected] and the password: Grafana123. At the start page in the home section (upper Left), a dashboard called “weather station” can be found, and once opened, at the upper right area, in the time configuration option, a time range interval from “19 October 2020 23:38:22” to “19 October 2020 23:55:11” can be introduced and applied; the sensors’ data will be displayed.

5. Application to Education Engineering within the Educational Mechatronics Framework Using the MEIoT Weather Station

The OBNiSE architecture allows us to integrate and perform applications in several areas, such as mobility, health, smart cities, technology, and education. In particular, this proposal presents the application of engineering education that aims to develop skills and abilities required by I4.0 and promote active learning using resources, existing academic spaces, practical activities, and mechatronic prototypes based on an innovative educational methodology [14]. These courses can be synchronous or asynchronous, and it is an alternative to improve and reduce the gap between the current knowledge at schools and the new industry requirements. The instructional design based on the EMCF is presented below.

Instructional Design

The instructional design is focused on the subject of dynamical systems, and the mathematical model of Newton’s law of cooling is represented by a first-order differential equation. The EMCF involves three perspective entities: dynamics (process) + Internet of Things (application) + MEIoT Station (artifact). The mechatronic concept is presented and defined in [30] as:
“A mathematical model of a dynamical system is defined as a set of equations that represent the dynamics of the system accurately, or at least fairly well”.
Now, the pedagogical activities for the three levels with the selected perspective, which are the concrete learning level, graphic learning level, and abstract learning level, are defined as follows.
  • Concrete Learning Level (CLL): At this level, activities aimed at perceptual-motor characteristics should be designed using the MEIoT Weather Station (see Figure 8 and Figure 9). The activities to perform at this level are described as follows.
    • Turn on the MEIoT Weather Station.
    • Measure the environment temperature and record it.
    • Place the temperature sensor above the T962C infrared heater reflow oven.
    • Turn on the infrared heater reflow oven to increase the temperature value above the environment temperature, e.g., 54 °C
    • Turn off the infrared heater reflow oven.
    • Write the temperature values in a two-column table, with time and measured temperature, every 30 s using the Arduino terminal interface.
    The data collection registered by the participant is shown in (Table 1).
  • Graphic Learning Level (GLL): At this level, activities aimed at the graphic (symbolic) representation of mechatronic concepts should be designed, taking as a reference the concepts learned previously at the concrete learning level. The learning will gradually make the transition from the concrete to the abstract level. The graphical level is carried out using the data collected by the participant (see Table 1). Tasks related to this level are described below.
    • On a white paper sheet, the participant plots each temperature value with points.
    • Starting from the first point (initial condition), join all points using smooth lines.
      Remark: Here, the participant draw the pencil to meet all the points dynamically. Figure 10 depicts the resulting plot.
Now, for the graphical level to be more significant, the online open-source platform Grafana is used to display the collected temperature data. The participant can visualize the cooling dynamics of the sensor and how the temperature value is decreasing as time passes until reaching the environment temperature (see Figure 11).
  • Abstract Learning Level (ALL): At this level, activities should be designed to gradually transition from symbolic concepts to abstract representation that include mathematical equations. The differential equations describing Newton’s law of cooling are defined by Equation (1).
    d T d t = k ( T T m )
Consider the definition of the following variables:
T temperature
t time
T m environmental temperature
k proportionality quotient
Applying the resolution method of independent variables, the procedure presented in Equation (2) is obtained.
d T T T m = k d t
e ( l n ( T T m ) = K t + C i ) T T m = e k t + C i
T T m = e k t e C i C
Solution : T ( t ) = C e k t + T m
Now, we have two unknown constants in the solution of the differential equations: C and k. In order to solve this, we need at least two initial conditions. The recommended one are when the time equals zero and in the inflection point of the graph, which in this case is when the time equals 5 min. The data gathered are:
T m = 31 °C
T ( 0 ) = 54 °C
T ( 5 ) = 39 °C
Substitute T ( 0 ) = 54 °C in the solution of Equation (2). The result of this substitution is shown in Equation (3).
T ( 0 ) = C e k ( 0 ) + 31
54 = C e 0 + 31
C = 54 31 = 23 Solution : T ( t ) = 23 e k t + 31
Now, substitute the initial condition T ( 5 ) = 39 °C in Equation (3). The procedure presented in Equation (4) is obtained.
T ( t ) = 23 e k t + 31
T ( 5 ) = 23 e k 5 + 31 39 = 23 e 5 k + 31 39 31 = 23 e 5 k l n ( 8 23 = e 5 k ) l n ( 8 23 ) = 5 k k = l n ( 8 23 ) 5 = 0.21121
Finally, the solution of the differential equation is presented in Equation (5). This is an expression for the dependent variable T in terms of the independent one t, which satisfies the relation:
T ( t ) = 23 e 0.21121 t + 31
Table 2 shows the data of the measured temperature and the temperature obtained with the solution of the differential equation against time. It is worthwhile to note that the values are approximate (see Figure 12).
Now, we can implement in Simulink both the differential equation in Equation (1) and the solution of this differential equation in Equation (5). The block diagram for the simulation of the mathematical model of Newton’s cooling law is depicted in Figure 13.
The plotted graph in Simulink is shown in Figure 14.
As a summary, Figure 15 shows the complete instructional design with the three main levels applying the EMCF.
It is worthwhile mentioning that the concrete level presenting the process to build the MEIoT Weather Station could be followed by any person with an engineering background and who understands the required hardware. In the case of the software, as it is open-source, implying ease of use and understanding for users; only simple configurations to the model are required. Finally, for the abstract level, the proposal gives the procedure of describing, solving, and implementing a simulation of a differential equation and Newton’s cooling law, which can be easily extended for more applications.

6. Discussion

This novel MEIoT Weather Station was designed and developed as a compact device that allows weather variables’ monitoring in a defined period every second. This station can be easily adapted to any environment without the need for an expensive infrastructure installation, unlike the current solutions. The three main elements and levels working together (concrete, graphic, and abstract) in the proposed architecture and educational mechatronics knowledge are considered to be understood by any student to reduce the educational gap between the current system with the needs of I4.0. The OBNiSE architecture could result in a profound change in educational paradigms, and it could encompass many more areas by generating new artifacts from different applications and process.
It should be noted that the MEIoT Weather Station can be made using sensors available on the market. The open-access platform allows this solution’s realization to be achievable, and it can be implemented anywhere where connectivity to the Internet is available; it also has an Internet of Things basis, which makes it attractive to be developed. Furthermore, the architecture allows the integration of heterogeneous devices to be adaptable and configurable at any level of the architecture, and it is easy to understand.

7. Conclusions and Future Work

This work presents the development of an IoT device under an educational framework that allows the development of educational tools so that students can acquire and reaffirm knowledge while becoming familiar with the tools available in I4.0.
The MEIoT Weather Station is just the first of many possible IoT devices that can be used in the OBNiSE architecture within the EMCF for applications in engineering education. The example developed in the reinforcement of the learning of dynamic systems and differential equations’ modeling was obtained using only one of eight climatic variables that the MEIoT Weather Station can monitor.
This article also clearly exposes the possibility of developing ad hoc systems for the application at the same time as the educational framework is included, which allows visualizing and interacting with elements or concepts in a three-level process: concrete, graphic, and abstract, something that was not found in the cited literature.
Finally, the development of a device such as the MEIoT Weather Station and its use as a pedagogical tool under the conceptual framework of educational mechatronics represents an innovative alternative to develop knowledge and skills in the area of the Internet of Things (IoT) in I4.0. Through the implementation and use of a device with characteristics that are easy to understand and follow, the MEIoT Weather Station contributes significantly to the daily academic work, since in this way, it is possible for different universities and professional training centers to use it simultaneously. In such a way, many students can obtain IoT training by applying it from initial practices with gradually increasing difficulty levels.
As future work, tests could be carried out with the number of users and devices connected to the platform to observe its performance. Additionally, the connection with the IoT platform can be improved so that the data are stored internally. Another proposal is the implementation of this conceptual model of education in several universities to make improvements to the device or the architecture and measure the impact of this system on students and higher education institutions.

Author Contributions

Conceptualization, L.F.L.-V., Y.A.-M., M.A.C.-M., and H.A.G.-O.; methodology, L.F.L.-V., Y.A.-M., and M.A.C.-M.; software, H.A.G.-O.,and G.O.-V.; validation, H.A.G.-O., G.O.-V., Y.A.-M., and L.E.G.-J.; formal analysis, M.A.C.-M., L.F.L.-V., Y.A.-M., L.E.G.-J., H.A.G.-O., and G.O; investigation, H.A.G.-O., M.A.C.-M., L.F.L.-V., Y.A.-M., and Y.A.-M.; resources, H.A.G.-O. and G.O.-V.; data curation, M.A.C.-M., L.F.L.-V., Y.A.-M., and L.E.G.-J.; writing, original draft preparation, M.A.C.-M., L.F.L.-V., Y.A.-M., H.A.G.-O., and Y.A; writing, review and editing, G.O.-V. and L.E.G.-J.; visualization, M.A.C.-M., L.F.L.-V., Y.A.-M., H.A.G.-O., G.O.-V., and L.G,; supervision, M.A.C.-M. and H.A.G.-O.; project administration, L.F.L.-V., Y.A.-M., and M.A.C.-M.; funding acquisition, L.F.L.-V., Y.A.-M., H.A.G.-O., G.O.-V., and Y.A.-M. All authors read and agreed to the published version of the manuscript.

Funding

This work is funding by Laureate Education Inc. through the 2018 David A. Wilson Award for Excellence in Teaching and Learning.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in Table 2.

Acknowledgments

The authors want to thank the Mexican National Council of Science and Technology CONACYT for its support to the National Laboratory of Embedded Systems, Advanced Electronics Design and Micro-systems, (LN-SEDEAM by its initials in Spanish), Project Numbers 282357, 293384, 299061, and 314841 and also for the scholarships 218679, 227601, and 366999. Moreover, we want to thank Professor R. Omar Domínguez García and the engineering students Sergio A. Sosa-Ramírez and Josué E. Galindo Morales for their valuable contribution to this work.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript.
ADCAnalog to Digital Converter
AGVAutomated Guided Vehicle
ALLAbstract Learning Level
APIApplication Program Interface
CADComputer-Aided Design
CMOSComplementary Metal Oxide Semiconductor
CIIDETEC-UVMCentro de Investigación, Innovación y Desarrollo Tecnológico, UVM
CLLConcrete Learning Level
CPUCentral Processing Unit
CSVComma-Separated Values
EMCFEducational Mechatronics Conceptual Framework
GLLGraphic Learning Level
GUIGraphic User Interface
ICIntegrated Circuit
ICTInformation and communication Technology
I4.0Industry 4.0
IoTInternet of Things
I2CInter-Integrated Circuit
KPIKey Performance Indicators
MEIoTEducational Mechatronic Internet of Things
MEMSMicroelectromechanical Systems
MCUMicrocontroller Unit
MQTTMessage Queuing Telemetry Transport
OBNiSEObservatorio Nacional Digital de Smart nvironments
RoHSRestriction of Hazardous Substances
SCARASelective Compliant Articulated Robot Arm
SMDSurface Mount Device
TLSTransport Layer Security
UVMUniversidad del Valle de México
VNCVirtual Network Computing

References

  1. Lüder, A.; Foehr, M.; Köhlein, A.; Böhm, B. Application of engineering processes analysis to evaluate benefits of mechatronic engineering. In Proceedings of the 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012), Krakow, Poland, 17–21 September 2012; pp. 1–4. [Google Scholar] [CrossRef]
  2. Xu, L.D.; Xu, E.L.; Li, L. Industry 4.0: State of the art and future trends. Int. J. Prod. Res. 2018, 56, 2941–2962. [Google Scholar] [CrossRef] [Green Version]
  3. Gilchrist, A. (Ed.) Industry 4.0: The Industrial Internet of Things; Abangken: Nonthaburi, Thailand; Apress: Berkeley, CA, USA, 2016; Chapters 2–5. [Google Scholar] [CrossRef]
  4. Sriyanka; Patil, S.R. Smart Environmental Monitoring through Internet of Things (IoT) using RaspberryPi 3. In Proceedings of the International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC), Mysore, India, 8–9 September 2017; pp. 595–600. [Google Scholar] [CrossRef]
  5. Leyh, C.; Martin, S.; Schäffer, T. Industry 4.0 and Lean Production—A Matching Relationship, An analysis of selected Industry 4.0 models. In Proceedings of the Federal Conference on Computer Science and Information Systems (FedCSIS), Prague, Czech Republic, 3–6 September 2017. [Google Scholar] [CrossRef] [Green Version]
  6. Kuru, K.; Yetgin, H. Transformation to Advanced Mechatronics Systems Within New Industrial Revolution: A Novel Framework in Automation of Everything (AoE). IEEE Access 2019, 7, 41395–41415. [Google Scholar] [CrossRef]
  7. Zou, Y.; Zhao, G.; Wang, T. A General Framework of Mechatronic Modular Architecture. Adv. Mech. Eng. 2013, 2013. [Google Scholar] [CrossRef]
  8. Guedey, M.; Pfeiffer, A.; Uckelmann, D. Transferring Research on IoT Applications for Smart Buildings into Engineering Education. In Proceedings of the IEEE Global Engineering Education Conference (EDUCON), Porto, Portugal, 27–30 April 2020; pp. 250–254. [Google Scholar] [CrossRef]
  9. Wu, C.-Y.; Huang, K.-H. A Framework for Off-Line Operation of Smart and Traditional Devices of IoT Services. Sensors 2020, 20, 6012. [Google Scholar] [CrossRef] [PubMed]
  10. He, J.; Ji, S.; Patrick Otoo, B. Internet of Things (IoT)-based Learning Framework to Facilitate STEM Undergraduate Education. In Proceedings of the ACM SE ’17 Proceedings of the Southeast Conference, Kennesaw, GA, USA, 13–15 April 2017. [Google Scholar] [CrossRef]
  11. Guo, T.; Khoo, D.; Coultis, M.; Pazos-Revilla, M.; Siraj, A. IoT Platform for Engineering Education and Research (IoT PEER)—Applications in Secure and Smart Manufacturing. In Proceedings of the IEEE/ACM Third International Conference on Internet-of-Things Design and Implementation (IoTDI), Orlando, FL, USA, 17–20 April 2018; pp. 277–278. [Google Scholar] [CrossRef]
  12. Stark, E.; Kučera, E.; Haffner, O.; Drahoš, P.; Leskovský, R. Using Augmented Reality and Internet of Things for Control and Monitoring of Mechatronic Devices. Electronics 2020, 9, 1272. [Google Scholar] [CrossRef]
  13. Raikar, M.M.; Desai, P.; Vijayalakshmi, M.; Narayankar, P. Upsurge of IoT (Internet of Things) in engineering education: A case study. In Proceedings of the International Conference on Advances in Computing, Communications and Informatics (ICACCI), Bangalore, India, 19–22 September 2018; pp. 191–197. [Google Scholar] [CrossRef]
  14. Luque-Vega, L.F.; Lopez-Neri, E.; Santoyo, A.; Ruíz-Duarte, J.; Farrera-Vazquez, N. Educational Methodology Based on Active Learning for Mechatronics Engineering Students: Towards Educational Mechatronics. Comput. Sist. 2019, 23, 325–333. [Google Scholar] [CrossRef]
  15. Mazid, A.M. Philosophy of mechatronics course development. In Proceedings of the IEEE International Conference on Industrial Technology, IEEE ICIT ’02, Bankok, Thailand, 11–14 December 2002; Volume 2, pp. 1337–1341. [Google Scholar] [CrossRef]
  16. Ziyia, Z.; Zhiyonga, M.; Zhiqina, Y.; Kailua, D. Combine Different Knowledge, Train Students Mechatronic Thinking. Int. J. Educ. Manag. Eng. 2013, 3, 14–19. [Google Scholar] [CrossRef]
  17. Luque, L.; López, E.; Carlos-Mancilla, M. Mecatrónica Educativa. CIIDETEC-UVM. 2019. Available online: https://ciidetecuvm.wixsite.com/ciidetec-uvm/mecatronica-educativa (accessed on 5 December 2020).
  18. Dache, L.; Florina, P.S. Education, Knowledge and Innovation from a Mechatronics. In International Conference Education and Psychology Challenges-Teachers for the Knowledge Society, 3rd ed.; Procedia Social and Behavioral Sciences; Elsevier: Amsterdam, The Netherlands, 2015; Volume 203, pp. 205–209. [Google Scholar] [CrossRef] [Green Version]
  19. Steinbuch, M. Mechatronics Disrupted. In Mechatronic Futures; Hehenberger, P., Bradley, D., Eds.; Springer: Cham, Switzerland, 2016; pp. 17–24. [Google Scholar] [CrossRef]
  20. Tomizuka, M. Mechatronics: from the 20th to 21st century. Control Eng. Pract. 2002, 10, 877–886. [Google Scholar] [CrossRef]
  21. Santaliana, D.; Calloni, D.; Laterza, V.; Zanelli, R. Report on Assessment Skills and Needs in the Mechatronics and Metallurgical Sectors Industries in the 5 Countries: Second Version. Available online: http://www.memevet.eu/wp-content/uploads/2018/12/REPORT_ON_SKILLS_AND_NEEDS.pdf (accessed on 5 December 2020).
  22. Drescher, B.; Reinhart, G. Reference Model for the Description of Digital Engineering Tools based on Mechatronic Principles and Concepts. In Advanced Materials Research; Trans Tech Publications, Ltd.: Stafa-Zurich, Switzerland, 2014; Volume 1018, pp. 547–554. [Google Scholar] [CrossRef]
  23. Thramboulidis, K. Model Integrated Mechatronics—Towards a new Paradigm in the Development of Manufacturing Systems. IEEE Trans. Ind. Inform. 2005, 1, 1–14. [Google Scholar] [CrossRef]
  24. Singer, M. Developing mental abilities through structured teaching methodology. In The Proceedings of the Humanistic Renaissance in Mathematics Education, Palermo: The Mathematics Education into the 21st Century Project; Hotel Città del Mare: Palermo, Italy, 2002; pp. 353–357. [Google Scholar]
  25. Singer, M. From Cognitive Science to School Practice: Building the Bridge. Int. Group Psychol. Math. Educ. 2003, 4, 207–214. [Google Scholar]
  26. Arzarello, F.; Robutti, O.; Bazzini, L. Acting is learning: focus on the construction of mathematical concepts. Camb. J. Educ. 2005, 35, 55–67. [Google Scholar] [CrossRef]
  27. Novack, M.A.; Congdon, E.L.; Hemani-Lopez, N.; Goldin-Meadow, S. From action to abstraction: using the hands to learn math. Psychol. Sci. 2014, 25, 903–910. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  28. Font, V.; Godino, J.D.; Contreras, A. From representations to onto-semiotic configurations in analysing mathematics teaching and learning processes. In Semiotics in Mathematics Education: Epostemology, History, Classrom, and Culture; Sense Publisher: Rotterdam, The Netherlands, 2008; pp. 157–173. [Google Scholar] [CrossRef]
  29. Luque-Vega, L.F.; Michel-Torres, D.A.; Lopez-Neri, E.; Carlos-Mancilla, M.A.; González-Jiménez, L.E. IoT Smart Parking System Based on the Visual-Aided Smart Vehicle Presence Sensor: SPIN-V. Sensors 2020, 20, 1476. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Ogata, K. Ingeniería de Control Moderna, 5th ed.; Pearson Educación, S.A.: Madrid, Spain, 2010; p. 904. ISBN 978-84-8322-660-5. [Google Scholar]
Figure 1. The educational mechatronics conceptual framework and disciplines.
Figure 1. The educational mechatronics conceptual framework and disciplines.
Sensors 21 00181 g001
Figure 2. Educational mechatronics conceptual framework macro-process levels and processes involved in the construction of learning.
Figure 2. Educational mechatronics conceptual framework macro-process levels and processes involved in the construction of learning.
Sensors 21 00181 g002
Figure 3. Internet of Things OBNiSE architecture.
Figure 3. Internet of Things OBNiSE architecture.
Sensors 21 00181 g003
Figure 4. MEIoT Weather Station based on the OBNiSE architecture.
Figure 4. MEIoT Weather Station based on the OBNiSE architecture.
Sensors 21 00181 g004
Figure 5. MEIoT Weather Station sensors.
Figure 5. MEIoT Weather Station sensors.
Sensors 21 00181 g005
Figure 6. Installed MEIoT Weather Station.
Figure 6. Installed MEIoT Weather Station.
Sensors 21 00181 g006
Figure 7. MEIoT Weather Station icon.
Figure 7. MEIoT Weather Station icon.
Sensors 21 00181 g007
Figure 8. Concrete level: placing the temperature sensor above the infrared heater.
Figure 8. Concrete level: placing the temperature sensor above the infrared heater.
Sensors 21 00181 g008
Figure 9. Concrete level: MEIoT Weather Station.
Figure 9. Concrete level: MEIoT Weather Station.
Sensors 21 00181 g009
Figure 10. Instructional design: graphic level showing the drawing of the plot considering time vs. measured temperature.
Figure 10. Instructional design: graphic level showing the drawing of the plot considering time vs. measured temperature.
Sensors 21 00181 g010
Figure 11. Instructional design: graphic level showing the data of the weather station in real time with the open-source platform.
Figure 11. Instructional design: graphic level showing the data of the weather station in real time with the open-source platform.
Sensors 21 00181 g011
Figure 12. Measured temperature and temperature obtained with the solution of the differential equation.
Figure 12. Measured temperature and temperature obtained with the solution of the differential equation.
Sensors 21 00181 g012
Figure 13. Instructional design: abstract level.
Figure 13. Instructional design: abstract level.
Sensors 21 00181 g013
Figure 14. Simulink plot of the solution of the differential equation.
Figure 14. Simulink plot of the solution of the differential equation.
Sensors 21 00181 g014
Figure 15. Instructional design.
Figure 15. Instructional design.
Sensors 21 00181 g015
Table 1. Data collection of the measured temperature by the participant.
Table 1. Data collection of the measured temperature by the participant.
Time (Min)Temperature (°C)
054
0.553
151
1.549
247
2.546
344
3.542
441
4.540
539
5.538
637
6.536
735
7.535
834
8.534
933
9.533
1032
10.532
1132
11.532
1231
12.531
1331
13.531
1431
Table 2. Data collection of the measured temperature by the participant.
Table 2. Data collection of the measured temperature by the participant.
Time (Min)Temperature (°C)Solution of the Differential Equation (°C)
05454.0000
0.55351.6949
15149.6209
1.54947.7547
24746.0755
2.54644.5647
34443.2052
3.54241.9820
44140.8814
4.54039.8911
53939.0000
5.53838.1983
63737.4768
6.53636.8277
73536.2437
7.53535.7182
83435.2453
8.53434.8198
93334.4370
9.53334.0926
103233.7826
10.53233.5037
113233.2528
11.53233.0270
123132.8239
12.53132.6411
133132.4766
13.53132.3286
143132.1955
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Carlos-Mancilla, M.A.; Luque-Vega, L.F.; Guerrero-Osuna, H.A.; Ornelas-Vargas, G.; Aguilar-Molina, Y.; González-Jiménez, L.E. Educational Mechatronics and Internet of Things: A Case Study on Dynamic Systems Using MEIoT Weather Station. Sensors 2021, 21, 181. https://doi.org/10.3390/s21010181

AMA Style

Carlos-Mancilla MA, Luque-Vega LF, Guerrero-Osuna HA, Ornelas-Vargas G, Aguilar-Molina Y, González-Jiménez LE. Educational Mechatronics and Internet of Things: A Case Study on Dynamic Systems Using MEIoT Weather Station. Sensors. 2021; 21(1):181. https://doi.org/10.3390/s21010181

Chicago/Turabian Style

Carlos-Mancilla, Miriam A., Luis F. Luque-Vega, Héctor A. Guerrero-Osuna, Gerardo Ornelas-Vargas, Yehoshua Aguilar-Molina, and Luis E. González-Jiménez. 2021. "Educational Mechatronics and Internet of Things: A Case Study on Dynamic Systems Using MEIoT Weather Station" Sensors 21, no. 1: 181. https://doi.org/10.3390/s21010181

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop