• Non ci sono risultati.

Open and Low-Cost Virtual and Remote Labs on Control Engineering

N/A
N/A
Protected

Academic year: 2021

Condividi "Open and Low-Cost Virtual and Remote Labs on Control Engineering"

Copied!
10
0
0

Testo completo

(1)

Open and Low-Cost Virtual and Remote Labs

on Control Engineering

JACOBO SÁENZ1, JESÚS CHACÓN1, LUIS DE LA TORRE1,

ANTONIO VISIOLI2, (Senior Member, IEEE), AND SEBASTIÁN DORMIDO1

1Department of Computer Science and Automatic Control, School of Computer Science, National University of Distance Education, Madrid 28040, Spain 2Department of Mechanical and Industrial Engineering, University of Brescia, Brescia 25121, Italy

Corresponding author: J. Sáenz (jacobo.saenz@bec.uned.es)

This work was supported by the Spanish Ministry of Economy and Competitiveness under Project DPI2012-31303.

ABSTRACT This paper presents an open course in the University Network of Interactive Laboratories,

which offers several virtual and remote laboratories on automatic control, accessible to anyone. All the details on one of these labs (a two electric coupled drives system that allows performing control practices in a 2 × 2 MIMO system with industrial applications) and the activities that can be performed with it are given. We use a low-cost solution for developing the virtual and remote labs shared in this open course, based on the use of a free authoring tool Easy Java/Javascript Simulations (EJsS) for building the laboratories’ user interfaces and a cheap development platform board (BeagleBone Black). The virtual and remote labs are deployed into a free Learning Management System (Moodle) Web environment that facilitates their management and maintenance.

INDEX TERMS Distance education, remote laboratories, control engineering education, control systems.

I. INTRODUCTION

Traditional face-to-face education can be complemented with online experimental frameworks. Fortunately, there are lots of free Internet resources to help with many aspects of education already. In this regard, engineering and scientific studies need specific Internet-based tools to complement the practical, hands-on, part of their teaching. However, some of these tools are not so commonly available openly, in such a way anyone could use them.

Learning Management Systems (LMSs) and web-based labs have become widespread in distance education in the last years. On the one hand, LMSs support the administration, documentation, tracking, and reporting of training programs, classroom and online events [1]. LMSs are the pillars that sustain a good amount of online educational resources and programs for all kind of studies. On the other hand, web-based labs have some advantages for both, students and teachers [2]. One of them is the possibility of illustrating scientific phenomena that require costly or difficult-to-assemble equipment [3]. These tools, are essential for complementing many courses with online material. Considering the distance education paradigm in scientific and technical areas, the use of online laboratories is essential in the learning [4] and research [5] processes. Web-based labs should ideally consist of two different and complementary parts:

• Virtual Labs (VLs) provide computer based simulations which offer similar views and ways of work to their traditional counterparts [6]. Nowadays, simulations have evolved into interactive graphical user interfaces where students can manipulate the experiment parameters and, explore their evolution. This allows students to study different systems and with basic programming skills, change the mathematical model or construct a new one [7].

• Remote Labs (RLs) use real plants and physical devices

which are operated at distance [8]. Remote experimenta-tion through the Internet has been available from nearly two decades [9], and its interest has not diminished over the years [10], [11]. Another indicator of nowadays interest in this field is the number of works published in this field (recent examples of this are [12]–[21]). More-over, the appearance of mobile devices and new tactile actuators [22] are boosting their interest and applications even more.

Since VLs are nothing but computer applications, it is easy and cheap for their developers to share them with the community. This is the case of the ComPADRE-Open Source Physics [23] repository,1with hundreds and hundreds of Java and Javascript simulations, all of them created with EJS, or

1http://www.compadre.org/osp 2169-3536 2015 IEEE. Translations and content mining are permitted for academic research only.

Personal use is also permitted, but republication/redistribution requires IEEE permission.

(2)

the PhET [24] webpage,2also with hundreds of simulations based on Java, Flash and HTML5.

RLs, however, require real equipment to run. This means that RLs are: 1) more expensive to create and maintain and 2) the maintenance to ensure their correct operation requires time and attention. Due to these two factors, it is rare to find open RLs on the web, freely accessible to anyone. This work helps with both problems by: 1) using low-cost hardware for monitoring and controlling the devices used by the RLs and 2) embedding them into a LMS for making their deployment, usage tracking and maintenance easy.

Even though LMSs and virtual and/or remote labs (VRLs) are complementary tools, there is still a lack of convergence and interoperability between both [25], although some works as [26] have helped with this issue. The present work applies a solution [27], that also solves this gap, to a few control VRLs which are offered online in an open course in the University Network of Interactive Laboratories (UNILabs)3web portal, supported by a LMS.

In terms of hardware, it is frequent that each existing RL is based on different equipment. This work applies a low-cost solution (BeagleBone Black boards4) for standard-izing the way in which the previous equipment are monitored and controlled. In terms of software, it is also usual to find RLs applications that were built and deployed using different technologies. However, in UNILabs, all of them share the same solution, which is based on the use of three free and open source applications: Moodle5 (the LMS that supports the web content of the open course in which the VRLs are),

Easy Java Simulations or EJS6 (for building the VRLs

applications), and NodeJsonRpcElement7 (a middleware

created by the authors of this work in order to allow the communication between EJS and the BeagleBone Black board).

The BeagleBone Black board is a low-cost, open hardware,

and community-supported embedded computer for

developers. This board replaces the server PC in the archi-tecture of RLs UNILabs has been using up to now. It has two important advantages: it is not as expensive as a PC with a DAQ system and it requires much less physical space in the laboratory. Moodle is a free, open source, and widespread used LMS (more than 60 million registered users, according to its official webpage) that supports constructivist learning, offering its users communication and interaction facilities. Finally, EJS [28] is also a free and open source tool, especially designed for the creation of discrete computer simulations. Recent releases of EJS support connections with external applications, such as LabView and Matlab/Simulink as well as with hardware, such as Arduino, Phidgets and, now, thank to this work, BeagleBone boards. Hence, EJS not only is

2https://phet.colorado.edu/ 3http://unilabs.dia.uned.es 4http://beagleboard.org/black 5https://moodle.org 6http://www.um.es/fem/EjsWiki/ 7https://github.com/jcsombria/ejs-rhc

useful for creating virtual labs, but also the GUIs of their remote counterparts [29].

The offer of VRLs in UNILabs open course includes: a DC motor (a handmade assembly), a heat flow system,8and a two coupled electric drives system.9While the DC motor and the heat flow system VRLs have already been presented in previous works [30], [31] and already were part of UNILabs, the RLs were only accessible to students from any of the universities that form part of the UNILabs network. There was only one DC motor and one heat flow system avail-able to experiment with. However, the authors had three more DC motor assemblies and an additional heat flow system, none of which was being used. All these apparatus are now in use and offered as RLs, thanks to the low-cost solution presented in this paper. Readers who are interested in these resources are encouraged to visit UNILabs and enter in its open course. Finally, the two coupled electric drives system is a completely new VRL in the network. Therefore, this one is presented in detail and it is used as an example of the connection between EJS and the BeagleBone Black board.

The paper is organized as follows: Section 2 describes the

new web-based control laboratory in UNILabs

(the two coupled electric drives system), the physical plant and its mathematical model. Section 3 presents the available set of experiments for this new lab. Section 4 offers a view of UNILabs, the Moodle web portal into which the web-labs of the presented open course have been integrated. Finally, some conclusions are given in Section 5.

II. THE TWO COUPLED ELECTRIC DRIVES SYSTEM WEB-LAB

A. THE PLANT

The TecQuipment coupled drives apparatus is a compact self-contained bench mounting apparatus designed to allow students at all academic levels to investigate basic and advanced principles of control, including control of multi-variable systems. This plant shows the problems of controlling speed and tension in coupled drives. The presented plant is important in industry since many applications use coupled drives; as, for example: magnetic tape drives, textile machines or paper mills. This apparatus has two electric motors, coupled by a continuous flexible belt. The belt also passes over a swinging arm with a jockey wheel that measures the belt speed and tension. A manual control allows the user to adjust the spring tension at the swinging arm. The basic control problem is to vary the torque in the motors to regulate the belt speed and tension. Since there are two motors, the system has two inputs and the two controlled variables (speed and control) offer two outputs. Therefore, this is a 2×2 MIMO system.

8Commercial assembly provided by Quanser http://www.quanser.com/ Products/heatflow

9Commercial assembly provided by TecQuipment http://www. tecquipment.com/Control/Control-Engineering/CE108.aspx

(3)

FIGURE 1. Equivalent dynamic components of coupled electric drives [32].

By using this equipment, students can learn techniques for speed and tension control, simultaneous control of velocity and tension, and analysis of multivariable control systems.

The mathematical model for the coupled electric drives system is well known [32] and can be obtained using the scheme in Figure 1. Using the lagrangian mechanics, the kinetic energy, and the dissipation term of motors and pulley, it follows that: T = 1 2m ˙x 2 p+ 1 2I1 ˙ θ2 1 + 1 2I2 ˙ θ2 2+ 1 2Ip ˙ θ2 p (1) R = 1 2b1 ˙ θ2 1+ 1 2b2 ˙ θ2 2 + 1 2bpa ˙ θ2 p+ 1 2bptx˙ 2 p (2)

Where x is the jockey pulley vertical position, [I1, I2, Ip] are the motors and pulley inertia, m is the jockey pulley mass, [b1, b2] are the motors friction, [bpt, bpa] are the translational and angular pulley friction, and [θ1, θ2, θp] are the angular positions.

The elastic nature of the belt can be approximated to a spring so that the potential energy is:

V = 1 2[r(θ1−θ2)] 2+1 2k[r(θ1−θp) − x cos(α)] 2 +1 2k[r(θp−θ2) − x cos(α)] 2+1 2k0x 2 (3)

Where [k, k0] are the belt and spring stiffness and r is the

radius of the pulley and the motors, which are assumed to be equal. Neglecting the pulley inertia and angular dissipation and using equations (1), (2) and (3), we finally obtain the following expressions where the torques τ1 andτ2 are the

system inputs: I1θ¨1+ b1θ˙1+ kr2[ 3 2θ1− 3 2θ2− x r cos(α)] = τ1 (4) I2θ¨2+ b2θ˙2+ kr2[− 3 2θ1+ 3 2θ2+ x r cos(α)] = τ2 (5) m¨x + bptx − kr˙ θ1cos(α) + xk0 + kr[θ1cos(α) + 2x r cos 2(α)] = 0 (6)

TABLE 1.Coupled electric drives parameters.

The equations (4), (5) and (6) are used in the virtual laboratory, taking I = I1= I2= Ip, b = b1= b2and using

the values for the parameters of the coupled drives system in Table 1. Dynamic equations in matrix notation could be written as: M =   I1 0 0 0 I2 0 0 0 m   00 B =   b 0 0 0 b 0 0 0 bpt   K =      3 2kr 2 3 2kr 2 −krcos(α) −3 2kr 2 3 2kr 2 krcos(α)

−krcos(α) krcos(α) k0+2k cos2(α)      M · d 2 dt2   θ1 θ1 x   +B · d dt   θ1 θ1 x   +K =   τ1 τ2 0  

Finally, with the Laplace transform and rewriting the out-put and inout-put vector to match with the inout-puts and outout-puts of the system: Z(s) = G(s) · U (s) U(s) =   1 0 0 1 0 0   ·  u1 u2  Z(s) = s/2 s/2 0 0 0 1  ·   θ1 θ1 x  

Then, the transfer functions of this MIMO system are: ˙ θp x  = ω p x  =  Gω Gω −Gx Gx  τ 1 τ2  Gω(s) = 0.5 Is + b (7) Gx(s) = 4600 (s2+1.6s + 790)(s2+111s + 1) (8)

Equation (7) (the belt’s velocity) matches with a first order system, while in equation (8) (the belt’s tension) we get a transfer function with two real and two complex poles.

(4)

B. THE VIRTUAL LABORATORY

EJS allows introducing the differential equations of a model (in this case, the model of the coupled electric drives system detailed in the previous section) to create an interac-tive simulation with a graphical user interface (GUI). This GUI consists of buttons, sliders, numerical fields, check boxes, graphs, and two and three dimensions graphical elements that allow changing and visualizing parameters of the lab.

Figure 2 shows the basic structure of the virtual laboratory. The simulation window is divided into three sections: a menu, the system 2D graphical representation and control, and the evolution graphs and indicators.

• Menu: In the top left corner of the VL’s user interface there are four buttons:

– Files: Used to save four different graphs: the belt’s position, velocity, and tension, and the motors’ angles. From this menu, users can also save the numeric data in a .m file for later analysis with Matlab.

– Control: This menu button allows modifying the mode in which the experiment runs: in a manual way (open loop) or with an automatic control (closed loop with a controller).

– Language: To select between english and spanish. – Step Time: This menu contains four different step

times for user purposes. For example, the analysis of the velocity transient needs a low step time like

dt =0.0001 seconds.

• System representation and control: In last section Figure 1 shows a 2D representation of the system (two motors at the bottom, a flexible belt, and a jockey pulley at the top), that its included in the laboratory application as shown in Figure 2. Under this visualiza-tion zone the applicavisualiza-tion shows four tabs:

– In the Controls tab (Figure 2.a), students can change the velocity of the motors using the U1 and U2

sliders or introducing the values directly in the editable numeric fields at the right. In automatic mode, the U1and U2 sliders are disabled and the

user can change the tension and velocity references (the two inputs of this system), and select whether to make a coupled or a decoupled control for these variables.

– The PID tab (Figures 2.b and 2.c) shows three or six fields to adjust the PID parameters of tension and/or velocity controllers, depending on the kind of control that is selected: coupled or decoupled. In coupled mode (Figure 2.b), students have to choose the variable they want to control, either the tension or the velocity of the belt. In decoupled mode (Figure 2.c), both PID controllers are activated and the user can change their six parameters.

– The Controller tab (Figure 2.d) contains a text field where advanced users can write their

own controller. This code is interpreted in the control loop and, when the user clicks in the “use

the code” checkbox, it replaces the built-in PID used in this simulation. The controller code can be loaded or saved using the respective buttons. A win-dow containing a list of the variables she might use for programming the controller is displayed when clicking in the “In/Out Help” checkbox.

– The AC Signals tab (Figure 2.e) provides the possibility of studying the system’s time response by introducing a sinusoidal input signal. A first slider allows changing the velocity of the simula-tion while a second one can be used to change the estimation period for the gain and phase showed in the “Ac Signals” graph. In addition, selecting the

“Auto-Bode”checkbox, new options appear in this tab (Figure 2.f), to allow configuring an automatic

“ac sweep”.

Finally, the VL has three more buttons (in its bottom-left part) for controlling the execution of the simulation:

play, pause and reset.

• Evolution graphs and indicators: The right part of the virtual lab application offers a graphical representation of the most important variables in different tabs: position, velocity, and tension of the belt, motor/pulley angles, auxiliar variables (when a custom controller, and not the built-in PID, is being used) and estimation of gain and phase.

C. THE REMOTE LABORATORY

The architecture of previous remote labs in UNED were usually based on three software tools: EJS, LabVIEW (Laboratory Virtual Instrument engineering Workbench) and the JIL server [33]–[36]. With this approach, an EJS application implements the user interface in the client side, allowing students to interact with the plant, carry out experiments and obtain experimental data. In the server PC, there is a LabVIEW VI (Virtual Instrument) which is plant-dependent and implements a local control and some safety measures to avoid damaging the plant in case of accident or malicious users. This server PC needs to be running the JIL server, which offers an interface for the EJS application in the client side to interact with the LabVIEW VI. This architecture has worked very well over the last years, and nowadays there are many RLs in use based on this solution. The main successful idea of JIL Server was the introduction of a middleware built over the local control software, that adds an interoperability layer, and reduces the coupling between the client and the server implementation.

In this line, the effort of the present work focuses in the generalization of the described architecture. This one is chosen based on the experience gained with JIL Server over the last years, and the believe that the use of open standards and technologies can help to reduce the economical cost and efforts required for buildinging RLs. Therefore, based on the methods provided by JIL Server [37], authors define

(5)

FIGURE 2. Different views of the virtual laboratory application of the coupled electric drives. (a) Controls tab and plot of the angular velocity for a manual control. (b) PID tab for a coupled automatic tension control and the output. (c) PID tab for an decoupled automatic tension and velocity control and plot of the jockey position. (d) Controller tab, with a controller programmed in java code in the text area. The evolution window contains the plot and values of the input/output variables that can be used in the code. (e) AC Signals tabs. The one on the left allows configuring the sinusoidal input signal, while the one on the right shows the magnitude and phase estimation. (f) AC Signals tab in AutoBode mode. The one on the left shows the configuration of a frequency sweep of fifty points. The one on the right offers the graphs of the magnitude and phase values gathered in the sweep.

a new interoperability API (Application Program Interface) to expose services to the client: the Remote Hardware

Interoperability (RHI) Protocol. The RHI protocol provides

a well defined interface to get state measurement and control and handle user requests. The interoperability API relies on two standard remote procedure calling protocols (RPC):

(6)

XML-RPC and JSON-RPC. This is somewhat similar to the

smart device paradigm [38], which aims at enhancing the software while keeping the same hardware.

In summary, as a general approach, RLs development can be decomposed into the middleware tier that implements the RHI protocol, and the hardware control, which usually must perform several tasks: Communication, Data-Acquisition and

Control, and Data Logging.

In the remote lab presented in this paper, the server PC, connected locally with the plant, has been replaced by a low-cost development platform: the BeagleBone Black (BBB) board. The BBB is a low-cost, community-supported development platform for developers and hobbyists. This board has many interesting I/O capabilities, such as USB client and host, Ethernet, HDMI, GPIO with PWM and even built-in support for I2C and SPI. It is shipped with a pre-installed Angstrom Linux distro, which is optimized for embedded systems, but it is compatible with several Linux distros, such as Debian or Ubuntu, and even with Android.

FIGURE 3. The architecture of the remote lab.

The architecture looks rather similar to the previous labs presented in [33]–[36] (see Figure 3), but the LabVIEW VI and JIL server functions have been assumed by Node.js, a lightweight and efficient platform which is built on Chrome’s

JavaScript runtime. This platform has been chosen because it is a ready-to-use tool, built-in in the installation of any BBB, and, as its website claims, it is for ‘‘easily building fast, scalable network applications’’. The client interface for the remote lab is still implemented as an EJS application, similar to the virtual laboratory described in the previous Section (see Figure 4). Therefore the thoroughly change of the server is transparent to the user. As seen in Figure 4, the GUI for the RL is almost identical to the VL one. Therefore, no further explanation is required in this regard.

The motivation for changing the PC by the BBB is twofold. On the one hand, it is much cheaper and it can, at least for this purpose, do the same function. On the other hand, the equipment used in the laboratory requires space, and PCs are much more bulky. Though it is possible to replicate the previous communication architecture based on LabVIEW with a BeagleBone Black board, there are at least two reasons that encourage looking for an alternative:

Economical cost. Since BBB is chosen because it is a low cost and open hardware platform, it would be contra-dictory to use a software with an expensive commercial license such as LabVIEW is.

FIGURE 4. The remote lab application.

Computational cost. Though the board is built over an ARM Cortex A8 processor, which might be able to run LabVIEW, it seems oversized for the application. It is more reasonable to use a less resource-consuming software.

The middleware and the server tiers are implemented in the BBB. The framework is divided into three subsystems:

Communication, Data-Acquisition and Control, and

Data Logging.

The communication subsystem provides an implementa-tion of the RHI protocol. Since there is a current trend to propose client in Javascript for compatibility with tablets, smartphones and similar devices, the use of JSON-RPC10 becomes interesting due to its simplicity: it is human-readable (and, therefore, easier to debug), and the use of the JavaScript

Object Notation (JSON) facilitates the integration with javascript applications.

The data-acquisition and control subsystem directly interfaces with the plant hardware, reading the velocities from the motors and the tension from the belt, and sending the control actions (received from the user interaction with the EJS application in the client side) to the motors.

Finally, the data-logging subsystem consists of a low priority loop which writes to disk the system events (sensor readings, user commands, etc). Though the data-logging for the user is done in EJS and integrated with UNILabs, this is also useful for debugging in case there are any malfunctioning problems.

With respect to the connection between the plant and the board, the signal measured from the sensors and the con-trol voltages admitted by the motors are within the range (−15V , 15V ). However, the analogs inputs of the BBB board admit only a range of (0V , 1.8V ), while the outputs only can provide values in the range (0V , 3.3V ). So to adapt the levels, a signal-conditioning block was designed (basically

(7)

FIGURE 5. The plant and the board work at different voltage levels, so an op-amp based circuit was added to each I/O to obtain the adequate ranges.

an amplifier with gains chosen according to the ranges, see Figure 5).

III. ACTIVITIES WITH THE WEB-LAB

Some of the activities described in this section can be performed only in simulation with the virtual laboratory while others can also be performed in a real way with the remote laboratory. Usually, our students work first with the virtual version to acquire experience and to practice with the theoretical behavior of the system. Then, they work with the physical system in order to contrast the results obtained from the real experimentation with those obtained from the simulation. The following paragraphs explain the main activities to be performed with this web-lab.

A. SYSTEM IDENTIFICATION

This activity is only performed in simulation mode. One of the VL’s main purposes is to identify the system or to gather useful information about the order of the system and the values of zeros and poles. This activity may be performed acquiring data from all the steps in the simulation:

• The open loop analysis returns information of the

dominant pole, as happens with first order systems, and the over-damped step response delimits the value of damping factor, as happens with second order systems.

• A most accurate damping factor and the natural

frequency can be obtained by perturbing the system. This allows determining the value of the complex pole pair.

• The frequency response analysis provides detailed

infor-mation of the transfer function. This can be used for checking results of previous activities, for explaining the

differences with a second order system, or for fitting with a better model (identifying the other two real poles). Students who have obtained an accurate model of the coupled drives system in the virtual laboratory will be able to program better controllers or tune better PID parameters to get the desired response. In addition, they get better prepared for the remote laboratory where the system identification is not easy. If the students want to obtain a model for the real system they must take into account the results in virtual application, and then, fit the parameters of their models using the outputs of the remote lab.

B. PID TUNING

When the automatic control mode is selected in the upper menu (as described in the previous Section), a closed loop is established for controlling the velocity or tension of the belt by means of a PID controller. In coupled mode, students can select the control variable (either velocity or tension) in this MIMO system, and may change the proportional, integral and derivative parameters of the PID controller (kP, TI, TD) in order to obtain a response that satisfies the specifi-cations asked in the practice guide. In decoupled mode, students work with two SISO systems and, therefore, with two PID controllers. Then, an analysis of the output signals (stored in .m files), allows to obtain an approximated model of the system. This activity can be performed in both the virtual and the remote laboratory.

C. FREQUENCY RESPONSE ANALYSIS

The web-lab allows modifying the values of the frequency (ω) and amplitude (A) of a sinusoidal input signal:

uin= Asin(ωt)

By introducing such an input and registering the magnitude and phase estimations from the AC Signals graph in the evolution window, students can obtain the magnitude-frequency and phase-magnitude-frequency graphs (i.e. a Bode plot).

FIGURE 6. Magnitude-frequency graph of the open loop and in closed loop (for coupled and uncoupled control).

(8)

FIGURE 7. The University Network of Interactive Labs (UNILabs) web portal.

An analysis of this plot helps with the system identification problem since it provides information about poles and zeros of the open and closed loop transfer functions of the system. The VL is also provided with an option to automatically obtain the Bode plot and the data array. Figure 2.f shows a simple Bode plot with fifty different frequencies. Increasing the number of frequencies of the sweep and saving the values, a student can process the data (stored in .m files) and obtain the plot of Figure 6, which shows a magnitude-frequency graph in open loop and in closed loop (for coupled and uncoupled control) in simulation mode.

This activity can be performed in both laboratories, but the range of frequencies is reduced for the remote version due to system limitations.

D. DISTURBANCES ANALYSIS

The 2D visualization allows introducing an isolated perturbation, by clicking and dragging the pulley, to obtain the natural frequency and damping ratio of the system. This can be used for studying the double complex pole of the system in order to identify the transfer function in the virtual laboratory (in remote version is not yet available).

E. USER DEFINED CONTROLLER

As an advanced task, the user can write different controllers to use in the control loop. This tool extend the use of

the laboratory either for investigation or learning purposes. The code of the controller can be written in Java or Javascript syntax and the Auxiliar Variables graph allows analyzing the controller outputs. By using this option the students can:

• Add features to the basic web-lab built-in PID controller.

• Analyze and compare the behavior of well-known

controllers for learning purposes.

• Develop/test a controller for investigation purposes.

At the moment of writing these lines, this activity is only possible with the virtual laboratory. In the remote version, this option is disabled for preventing possible damages in the belt and the pulley.

IV. UNILABS

In a control engineering and scientific context, UNILabs (successor of the UNEDLabs [39] and the AutomatL@bs [30] projects), constitutes a network of web-based laboratories in which several Spanish universities take part. UNILabs web portal is based on Moodle and all the available VRLs are developed using EJS. This initiative of sharing resources increases the number of available experimental setups for both students and instructors. The network hosts 15 virtual and remote laboratories (i.e. 30 web-labs, either simula-tions or remotely-operated experiments) from 8 different universities. This work presents the first open course in

(9)

UNILabs, which offers several VRLs freely accessible thanks to the low-cost solution proposed here.

The web portal provides a social context for students’ collaboration. Moodle enriches virtual and remote labs by facilitating and promoting the tools for students to discuss the experiments between them and teachers, exchange their lab reports, work in collaborative sessions [40], etc. In addition, Moodle helps to distribute all the convenient resources for a complete online experiment. For instance, attached to the web-lab, a course in Moodle may include a description of the phenomena under study, videos, the tasks protocol students must follow, a questionnaire, etc. Finally, Moodle allows creating open courses that are accessible and available for anyone. This allows our labs, both the virtual and remote ones, to be usable for any person who might be interested (i.e. students who want to learn more on their own, or teachers who want to use them for demonstration purposes in their classes).

Figure 7 contains the main view of UNILabs web portal. Accessing the open course in UNILabs, it offers three modules or didactical units up to date, all of them on the automatic control field:

The heat-flow system - Experimenting with transfer delay effects in a second order plant.

The DC motor system -Position and speed control in a first order plant with rapid dynamics.

The coupled electric drives system -Presented in this paper and used for MIMO control.

More information about these labs can be found in the open course of UNILabs.

V. CONCLUSIONS

While VLs and simulations are common on the Internet and can be often used and/or downloaded for free, open RLs, however, are very rare to find. This is due to two facts: 1) they are more expensive to create and maintain and 2) the mainte-nance to ensure the correct operation of a RL requires time and attention. The solution provided in this work partially solves the first problem (since it is based in a low-cost card, the BeagleBone Black board, and the use of a free tool called EJS for building the lab interface), and also helps with the second one (since the integration of the RLs into a free LMS, Moodle, provides management and maintenance facilities in a software level).

The development of new virtual and remote laboratories is important to increase the subjects covered in UNILabs. A new virtual and remote laboratory to carry out control practices in a 2×2 MIMO system with industrial applications is now available in the University Network of Interactive Laboratories Moodle web portal. The virtual and the remote labs are accessible for anyone in a new open course, providing activities to experiment with different control concepts such as PID tuning, frequency response and disturbance analysis.

This open course also offers two additional VRLs: one of a DC motor and another of a heat-flow system. All the RLs in this course have been developed using the low-cost approach

described in this work, that replaces the PC used in previous laboratories with a cheaper DAQ system.

REFERENCES

[1] R. K. Ellis, ‘‘Field guide to learning management systems,’’ ASTD Learn. Circuits, Alexandria, VA, USA, Tech. Rep., 2009. [Online]. Available: https://www.td.org/ /media/Files/Publications/LMS_fieldguide_20091 [2] S. D. Bencomo, ‘‘Control learning: Present and future,’’ Annu. Rev.

Control, vol. 28, no. 1, pp. 115–136, 2004.

[3] G.-W. Chang, Z.-M. Yeh, H.-M. Chang, and S.-Y. Pan, ‘‘Teaching photonics laboratory using remote-control Web technologies,’’ IEEE

Trans. Educ., vol. 48, no. 4, pp. 642–651, Nov. 2005.

[4] T. Karakasidis, ‘‘Virtual and remote labs in higher education distance learning of physical and engineering sciences,’’ in Proc. IEEE Global Eng.

Edu. Conf. (EDUCON), Mar. 2013, pp. 798–807.

[5] A. Glotov, B. Dmitry, L. Ivan, A. Vorobiev, M. Kostina, and I. Titov, ‘‘Remote laser laboratory at BMSTU: Browser-based solution,’’ in

Exper-iment@ International Conference, Sep. 2013, 2nd, pp. 94–98.

[6] E. G. Guimaraes, E. Cardozo, D. H. Moraes, and P. R. Coelho, ‘‘Design and implementation issues for modern remote laboratories,’’ IEEE Trans.

Learn. Technol., vol. 4, no. 2, pp. 149–161, Apr./Jun. 2011.

[7] D. Vavougios and T. Karakasidis, ‘‘Application of ICT technology in physics education: Teaching and learning elementary oscillations with the aid of simulation software,’’ Int. J. Emerg. Technol. Learn., vol. 3, no. 2, pp. 53–58, 2008.

[8] M. Wannous and H. Nakano, ‘‘NVLab, a networking virtual Web-based laboratory that implements virtualization and virtual network computing technologies,’’ IEEE Trans. Learn. Technol., vol. 3, no. 2, pp. 129–138, Apr./Jun. 2010.

[9] B. Aktan, C. A. Bohus, L. A. Crowl, and M. H. Shor, ‘‘Distance learning applied to control engineering laboratories,’’ IEEE Trans. Educ., vol. 39, no. 3, pp. 320–326, Aug. 1996.

[10] C. Salzmann and D. Gillet, ‘‘Challenges in remote laboratory sustainability,’’ in Proc. Int. Conf. Eng. Edu., Coimbra, Portugal, Sep. 2007, pp. 1–6.

[11] M. García Valls and P. Basanta Val, ‘‘Usage of DDS data-centric middleware for remote monitoring and control laboratories,’’ IEEE Trans.

Ind. Informat., vol. 9, no. 1, pp. 567–574, Feb. 2013.

[12] M. T. Restivo, J. Mendes, A. M. Lopes, C. M. Silva, and F. Chouzal, ‘‘A remote laboratory in engineering measurement,’’ IEEE Trans. Ind.

Electron., vol. 56, no. 12, pp. 4836–4843, Dec. 2009.

[13] J. García-Zubia, P. Orduña, D. López-de-Ipiña, and G. R. Alves, ‘‘Addressing software impact in the design of remote laboratories,’’ IEEE

Trans. Ind. Electron., vol. 56, no. 12, pp. 4757–4767, Dec. 2009. [14] G. Farias, R. De Keyser, S. Dormido, and F. Esquembre, ‘‘Developing

networked control labs: A MATLAB and easy Java simulations approach,’’

IEEE Trans. Ind. Electron., vol. 57, no. 10, pp. 3266–3275, Oct. 2010. [15] Y. Qiao, G.-P. Liu, G. Zheng, and W. Hu, ‘‘NCSLab: A Web-based

global-scale control laboratory with rich interactive features,’’ IEEE Trans.

Ind. Electron., vol. 57, no. 10, pp. 3253–3265, Oct. 2010.

[16] A. Rojko, D. Hercog, and K. Jezernik, ‘‘Power engineering and motion control Web laboratory: Design, implementation, and evaluation of mechatronics course,’’ IEEE Trans. Ind. Electron., vol. 57, no. 10, pp. 3343–3354, Oct. 2010.

[17] A. Yazidi, H. Henao, G.-A. Capolino, F. Betin, and F. Filippetti, ‘‘A Web-based remote laboratory for monitoring and diagnosis of AC electrical machines,’’ IEEE Trans. Ind. Electron., vol. 58, no. 10, pp. 4950–4959, Oct. 2011.

[18] H. Hassan, J.-M. Martínez-Rubio, A. Perles, J.-V. Capella, C. Domínguez, and J. Albaladejo, ‘‘Smartphone-based industrial informatics projects and laboratories,’’ IEEE Trans. Ind. Informat., vol. 9, no. 1, pp. 557–566, Feb. 2013.

[19] I. Santana, M. Ferre, E. Izaguirre, R. Aracil, and L. Hernández, ‘‘Remote laboratories for education and research purposes in automatic control systems,’’ IEEE Trans. Ind. Informat., vol. 9, no. 1, pp. 547–556, Feb. 2013. [20] M. Tawfik, E. Sancristobal, S. Martín, G. Díaz, J. Peire, and M. Castro, ‘‘Expanding the boundaries of the classroom: Implementation of remote laboratories for industrial electronics disciplines,’’ IEEE Ind. Electron.

Mag., vol. 7, no. 1, pp. 41–49, Mar. 2013.

[21] R. Bose, ‘‘Virtual labs project: A paradigm shift in Internet-based remote experimentation,’’ IEEE Access, vol. 1, pp. 718–725, 2013.

(10)

[22] D.-S. Kwon, T.-H. Yang, and Y.-J. Cho, ‘‘Mechatronics technology in mobile devices,’’ IEEE Ind. Electron. Mag., vol. 4, no. 2, pp. 36–41, Jun. 2010.

[23] W. Christian, F. Esquembre, and L. Barbato, ‘‘Open source physics,’’

Science, vol. 334, no. 6059, pp. 1077–1078, 2011.

[24] C. E. Wieman, W. K. Adams, and K. K. Perkins, ‘‘PhET: Simulations that enhance learning,’’ Science, vol. 322, no. 5902, pp. 682–683, 2008. [25] C. Gravier, J. Fayolle, B. Bayard, M. Ates, and J. Lardon, ‘‘State of

the art about remote laboratories paradigms—Foundations of ongoing mutations,’’ Int. J. Online Eng., vol. 4, no. 1, pp. 11–17, 2008.

[26] E. Sancristobal Ruiz et al., ‘‘Virtual and remote industrial laboratory: Integration in learning management systems,’’ IEEE Ind. Electron. Mag., vol. 8, no. 4, pp. 45–58, Dec. 2014.

[27] L. de la Torre et al., ‘‘UNEDLABS—An example of EJS labs integration into Moodle,’’ in Proc. World Conf. Phys. Edu., 2012, pp. 571–584. [28] W. Christian and F. Esquembre, ‘‘Modeling physics with easy Java

simulations,’’ Phys. Teacher, vol. 45, no. 10, pp. 475–480, 2007. [29] R. Heradio, L. de la Torre, J. Sánchez, S. Dormido, and H. Vargas,

‘‘An architecture for virtual and remote laboratories to support distance learning,’’ in Proc. Res. Eng. Edu. Symp., Madrid, Spain, Oct. 2011, pp. 579–587.

[30] H. Vargas, J. Sánchez, C. A. Jara, F. A. Candelas, F. Torres, and S. Dormido, ‘‘A network of automatic control Web-based laboratories,’’ IEEE Trans.

Learn. Technol., vol. 4, no. 3, pp. 197–208, Jul./Sep. 2011.

[31] H. Vargas, J. Sánchez-Moreno, S. Dormido, C. Salzmann, D. Gillet, and F. Esquembre, ‘‘Web-enabled remote scientific environments,’’ Comput.

Sci. Eng., vol. 11, pp. 36–46, 2009.

[32] M. Readman and H. Hagadoorn. Control Systems Principles. [Online]. Available: http://www.control-systems-principles.co.uk/whitepapers/ coupled-drives2.pdf

[33] J. Chacon, M. Beschi, J. Sánchez, A. Visioli, and S. Dormido, ‘‘Experimental analysis of a remote event-based PID controller in a flexible link system,’’ in Proc. 19th IEEE Int. Conf. Emerg. Technol.

Factory Autom. (ETFA), Barcelona, Spain, Sep. 2014, pp. 1–6.

[34] J. Chacón, M. Beschi, J. Sánchez, A. Visioli, and S. Dormido, ‘‘An experimental framework to analyze limit cycles generated by event-based sampling,’’ in Proc. 19th IFAC World Congr., Cape Town, South Africa, Aug. 2014, pp. 9051–9056.

[35] M. Guinaldo, L. de la Torre, R. Heradio, and S. Dormido, ‘‘A virtual and remote control laboratory in Moodle: The ball and beam system,’’ in Proc.

10th IFAC Symp. Adv. Control Edu., 2013, pp. 72–77.

[36] L. de la Torre et al., ‘‘A thin lens virtual and remote laboratory at the new FisLabs portal, multimedia in physics teaching and learning,’’ in Proc. Int.

Conf. Hands Sci. (MPTL-HSCI), Ljubljana, Eslovenia, 2011, pp. 131–137. [37] J. Chacón, H. Vargas, G. Farias, J. Sánchez, and S. Dormido, ‘‘EJS, JIL server and LabVIEW: How to build a remote lab in the blink of an eye,’’

IEEE Trans. Learn. Technol., to be published.

[38] C. Salzmann and D. Gillet, ‘‘Smart device paradigm, standardization for online labs,’’ in Proc. IEEE Global Eng. Edu. Conf. (EDUCON), Mar. 2013, pp. 1217–1221.

[39] S. Dormido, J. Sánchez, H. Vargas, L. de la Torre, and R. Heradio, ‘‘UNED labs: A network of virtual and remote laboratories,’’ in Using Remote Labs

in Education: Two Little Ducks in Remote Experimentation. Bilbao, Spain: Deusto Digital, 2012, pp. 253–270.

[40] L. de la Torre et al., ‘‘Providing collaborative support to virtual and remote laboratories,’’ IEEE Trans. Learn. Technol., vol. 6, no. 4, pp. 312–323, Oct./Dec. 2013.

JACOBO SÁENZ received the M.Sc. degree in physics from the Complutense University of Madrid, Spain, in 2013. He is currently pursuing the Ph.D. degree with the Department of Computer Sciences Automatic and Control, National Univer-sity of Distance Education, Madrid. His research interests include virtual and remote laboratories, control engineering, and heuristic algorithms.

JESÚS CHACÓN received the M.Sc. degree in automation and industrial electronics engi-neering from the University of Córdoba, Spain, in 2010, and the Ph.D. degree in computer science from the National University of Distance Education (UNED), Madrid, Spain, in 2014. Since 2010, he has been with the Department of Computer Sciences and Automatic Control, UNED, as a full-time Researcher. His current research interests include simulation and control of event-based control systems, and remote and virtual laboratories in control engineering.

LUIS DE LA TORRE received the M.Sc. degree in physics from the Complutense University of Madrid, Spain, in 2008, and the Ph.D. degree in systems engineering and automatic control from the National University of Distance Education (UNED), Madrid, in 2013. He is currently an Assistant Professor with the Department of Computer Sciences Automatic and Control, UNED. His research interests include virtual and remote laboratories, distance education, evolutionary algorithms, UAV (Unmanned Aircraft Vehicle)s, and path planning.

ANTONIO VISIOLI (SM’07) was born in 1970. He received the Laurea degree in electronics engineering from the University of Parma, Parma, Italy, and the Ph.D. degree in applied mechanics from the University of Brescia, Brescia, Italy, in 1995 and 1999, respectively. He is currently an Associate Professor of Automatic Control with the Department of Mechanical and Industrial Engineering, University of Brescia. He has edited one book, and authored or co-authored two monographs, one textbook, and about 200 papers in international journals and conference proceedings. His research interests include industrial robot control and trajectory planning, process control, and fractional control. He is a member of the IFAC and a Board Member of the Italian Association for the Automation. He serves as a member of the Technical Committee on Control Education of the IEEE Control Systems Society and the IFAC Technical Committee on 9.4 Control Education.

SEBASTIÁN DORMIDO received the B.S. degree in physics from Complutense University, Madrid, Spain, in 1968, the Ph.D. degree in the sciences from Basque Country University, Bilbao, Spain, in 1971, and the Doctor Honorary degree from the Universidad de Huelva and the Universidad de Almería. In 1981, he was appointed as a Professor of Control Engineering with the National University of Distance Education, Madrid. He has authored or co-authored over 250 technical papers in international journals and conferences, and has super-vised over 35 Ph.D. theses. His scientific activities include computer control of industrial processes, model-based predictive control, hybrid control, and Web-based laboratories for distance education. From 2001 to 2006, he was the President of the Spanish Association of Automatic Control, CEA-IFAC. He has received the National Automatic Control Prize from the IFAC Spanish Automatic Control Committee.

Figura

FIGURE 1. Equivalent dynamic components of coupled electric drives [32].
FIGURE 2. Different views of the virtual laboratory application of the coupled electric drives
FIGURE 3. The architecture of the remote lab.
FIGURE 6. Magnitude-frequency graph of the open loop and in closed loop (for coupled and uncoupled control).
+2

Riferimenti

Documenti correlati

This year the 14th International Conference on Robotics, Control and Manufacturing Technology (ROCOM '14) was held in Kuala Lumpur, Malaysia, April 23-25, 2014. The conference

Proceedings of the 12th WSEAS International Conference on Circuits, Systems, Electronics, Control & Signal Processing (CSECS '13).. Budapest, Hungary December

Plenary Lecture 3: Contribution of Knee Joint Mechanics to the Structure and Properties of Its Underlying Articular Cartilage: The Mechanical Engineering Perspective.. 12

There could be mentioned four following dimensions of accounting harmonization: (i) pre-formal harmonization (i.e. the need for accounting harmonization); (ii)

Proceedings of the 2nd European Conference of Mechanical Engineering (ECME '11).. Proceedings of the 2nd European Conference of Civil Engineering

European Conference of Chemical Engineering (ECCE '10) European Conference of Civil Engineering (ECCIE '10) European Conference of Mechanical Engineering (ECME '10)..

This year the 9th WSEAS International Conference on DISTANCE LEARNING and WEB ENGINEERING (DIWEB ‘09) was held in Budapest, Hungary, September 3-5, 2009.. The Conference

With the increasing developing of petrochemical engineering construction market, China has accumulated rich experience in project engineering management and cost control, but has