Gianluca Cena

dblp:99/2235 · DBLP profile ↗
← Back
85ranked-venue papers
54as first author
36since 2021 · last 2026
0000-0003-0084-5321ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Systems, architecture and hardware · 56 · 34 first-author · 30 since 2021Applied, interdisciplinary, general and emerging computing · 37 · 22 first-author · 17 since 2021Computer networks · 8 · 5 first-author · 3 since 2021Theory of computation · 1 · 1 first-author
YearPublicationVenuePosition
2026 Robust Multicast Origin Authentication in MACsec for Secure IIoT Networked Embedded Systems
Gianluca Cena, Lucia Seno, Stefano Scanzio
IEEE Internet Things J.1
2026 Accurate and Efficient Prediction of Wi-Fi Link Quality Based on Machine Learning
abstract
Wireless communications are characterized by their unpredictability, posing challenges for maintaining consistent communication quality. This article presents a comprehensive analysis of various prediction models, with a focus on achieving accurate and efficient Wi-Fi link quality forecasts using machine learning techniques. Specifically, the article evaluates the performance of data-driven models based on the linear combination of exponential moving averages, which are designed for low-complexity implementations and are then suitable for hardware platforms with limited processing resources. Accuracy of the proposed approaches was assessed using experimental data from a real-world Wi-Fi testbed, considering both channel-dependent and channel-independent training data. Remarkably, channel-independent models, which allow for generalized training by equipment manufacturers, demonstrated competitive performance. Overall, this study provides insights into the practical deployment of machine learning-based prediction models for enhancing Wi-Fi dependability in industrial environments.
Gabriele Formis, Gianluca Cena, Lukasz Wisniewski, Stefano Scanzio
IEEE Trans. Ind. Informatics2
2025 Performance Evaluation of Parallel Wi-Fi Redundancy with Deferral Techniques
abstract
Wireless communication is increasingly used in industrial environments, since it supports mobility of interconnected devices. Among the transmission technologies operating in unlicensed bands available to this purpose, Wi-Fi is certainly one of the most interesting, because of its high performance and the relatively low deployment costs. Unfortunately, its dependability is often deemed unsuitable for real-time control systems.In this paper, the use of parallel redundancy is evaluated from a quantitative viewpoint, by considering a number of performance indices that are relevant for soft real-time applications. Analysis is carried out on a large dataset acquired from a real setup, to provide realistic insights on the advantages this kind of approaches can provide. As will be seen, deferred parallel redundancy provides clear advantages in terms of the worst-case transmission latency, at limited costs concerning the amount of consumed spectrum. Hence, it can be practically exploited every time a wireless connection is included in a control loop.
Gianluca Cena, Pietro Chiavassa, Stefano Scanzio
ETFA1
2025 Wi-Fi Rate Adaptation for Moving Equipment in Industrial Environments
abstract
Wi-Fi is currently considered one of the most promising solutions for interconnecting mobile equipment (e.g., autonomous mobile robots and active exoskeletons) in industrial environments. However, relability requirements imposed by the industrial context, such as ensuring bounded transmission latency, are a major challenge for over-the-air communication. One of the aspects of Wi-Fi technology that greatly affects the probability of a packet reaching its destination is the selection of the appropriate transmission rate. Rate adaptation algorithms are in charge of this operation, but their design and implementation are not regulated by the IEEE 802.11 standard. One of the most popular solutions, available as open source, is Minstrel, which is the default choice for the Linux Kernel.In this paper, Minstrel performance is evaluated for both static and mobility scenarios. Our analysis focuses on metrics of interest for industrial contexts, i.e., latency and packet loss ratio, and serves as a preliminary evaluation for the future development of enhanced rate adaptation algorithms based on centralized digital twins.
Pietro Chiavassa, Stefano Scanzio, Gianluca Cena
ETFA3
2025 QRmap: executable QR codes for Navigation in Industrial Environments and Beyond
abstract
QR codes are nowadays customarily used for embedding static data such as web hyperlinks or plain text. The sQRy technology (executable QR codes) permits to embed executable programs in QR codes, enabling people to interact with them even without an internet connection.In this work we present QRmap, a specific dialect that permits the inclusion of geographic maps in sQRy and supports interaction with the user to provide indications to reach the destination of interest. The QRmap technology facilitates navigation in large industrial plants where internet connectivity is absent, due to either environmental limitations or company policies. The proposed technology can have interesting applications in non-industrial contexts as well.
Stefano Scanzio, Paolo Campagnale, Pietro Chiavassa, Gianluca Cena
ETFA4
2025 Machine Learning to Predict Slot Usage in TSCH Wireless Sensor Networks
abstract
Wireless sensor networks (WSNs) are employed across a wide range of industrial applications where ultra-low power consumption is a critical prerequisite. At the same time, these systems must maintain a certain level of determinism to ensure reliable and predictable operation. In this view, time slotted channel hopping (TSCH) is a communication technology that meets both conditions, making it an attractive option for its usage in industrial WSNs.This work proposes the use of machine learning to learn the traffic pattern generated in networks based on the TSCH protocol, in order to turn nodes into a deep sleep state when no transmission is planned and thus to improve the energy efficiency of the WSN. The ability of machine learning models to make good predictions at different network levels in a typical tree network topology was analyzed in depth, showing how their capabilities degrade while approaching the root of the tree. The application of these models on simulated data based on an accurate modeling of wireless sensor nodes indicates that the investigated algorithms can be suitably used to further and substantially reduce the power consumption of a TSCH network.
Stefano Scanzio, Gabriele Formis, Tullio Facchinetti, Gianluca Cena
ETFA4
2025 A Smart Redundant Version of the MQTT Protocol
abstract
Resilient systems are crucial for modern interconnected applications, especially those with autonomous machine-to-machine communication. Standard network protocols can exhibit unacceptable recovery times for time-critical operations, and systems must withstand various disruptions beyond just connection failures.This paper addresses these vulnerabilities by proposing a robust communication architecture based on an adapted MQTT protocol employing duplicated packet transmission over parallel pathways. The approach, based on redundancy, employs a smart algorithm for selecting the best communication path to rely on. This strategy aims to ensure reliable data delivery and mitigate service interruptions, particularly for demanding industrial applications, while limiting resources and bandwidth consumption. The effectiveness of this architecture is validated through a real testbed implementation and online testing.
Claudio Zunino, Manuel Cheminod, Gianluca Cena, Stefano Vitturi, Alberto Morato, Elena Ferrari 0002, Federico Tramarin
ETFA3
2025 Widening the Coverage of Reference Broadcast Infrastructure Synchronization in Wi-Fi Networks
abstract
Precise clock synchronization protocols are increasingly used to ensure that all the nodes in a network share the very same time base. They enable several mechanisms aimed at improving determinism at both the application and communication levels, which makes them highly relevant to industrial environments. Reference Broadcast Infrastructure Synchronization (RBIS) is a solution specifically conceived for Wi-Fi that exploits existing beacons and can run on commercial devices. In this paper, an evolution of RBIS is presented, we call DOMINO, whose coverage area is much larger than the single Wi-Fi infrastructure network, potentially including the whole plant. In particular, wireless stations that can see more than one access point at the same time behave as boundary clocks and propagate the reference time across overlapping networks.
Gianluca Cena, Pietro Chiavassa, Gabriele Formis, Stefano Scanzio
WFCS1
2025 On the Suitability of Wi-Fi for Interconnecting Moving Equipment in Industrial Environments
abstract
To ensure an unprecedented degree of flexibility, next-generation Industry 4.0/5.0 production plants increasingly rely on mobile devices, e.g., autonomous mobile robots and wearables. In these cases, a major requirement is getting rid of cables through the adoption of wireless networks. To this purpose, Wi-Fi is currently deemed one of the most promising solutions. Achieving reliable communications over the air for distributed real-time control applications is, however, not devoid of troubles. In fact, bounded transmission latency must be ensured for most of the exchanged packets. Moreover, for devices powered on batteries, energy consumption also needs to be taken into account. In this paper, a joint simulated analysis of these aspects is carried out to quantitatively evaluate what we can practically expect from Wi-Fi technology.
Pietro Chiavassa, Stefano Scanzio, Gianluca Cena
WFCS3
2025 On the Prediction of Wi-Fi Performance through Deep Learning
abstract
Ensuring reliable and predictable communications is one of the main goals in modern industrial systems that rely on Wi-Fi networks, especially in scenarios where continuity of operation and low latency are required. In these contexts, the ability to predict changes in wireless channel quality can enable adaptive strategies and significantly improve system robustness. This contribution focuses on the prediction of the Frame Delivery Ratio (FDR), a key metric that represents the percentage of successful transmissions, starting from time sequences of binary outcomes (success/failure) collected in a real scenario. The analysis focuses on two models of deep learning: a Convolutional Neural Network (CNN) and a Long Short-Term Memory network (LSTM), both selected for their ability to predict the outcome of time sequences. Models are compared in terms of prediction accuracy and computational complexity, with the aim of evaluating their applicability to systems with limited resources. Preliminary results show that both models are able to predict the evolution of the FDR with good accuracy, even from minimal information (a single binary sequence). In particular, CNN shows a significantly lower inference latency, with a marginal loss in accuracy compared to LSTM.
Gabriele Formis, Amanda Ericson, Stefan Forsström, Kyi Thar, Gianluca Cena, Stefano Scanzio
WFCS5
2025 Analysis of the Operation of a TSN Switch and Other Devices Using Executable QR Codes
abstract
Executable QR codes, also known as sQRy, are a technology aimed at inserting executable programs in a QR code.Through a concrete example, in this paper, we demonstrate their usage in the context of industrial networks in order to assess the operation of a TSN switch by analyzing its status LEDs even in the absence of an internet connection.The entire generation chain that is used to create the sQRy, as well as the corresponding execution chain that, starting from the sQRy, runs it on a mobile device, has been detailed through examples.
Stefano Scanzio, Pietro Chiavassa, Gianluca Cena
WFCS3
2025 Compression of Executable QR Codes or sQRy for Industry: an Example for Wi-Fi Access Points
abstract
Executable QR codes, or sQRy, is a technology dated 2022 that permits to include a runnable program inside a QR code, enabling interaction with the user even in the absence of an Internet connection. sQRy are enablers for different practical applications, including network equipment configuration, diagnostics, and enhanced smart manuals in industrial contexts. Many other non-industry-related fields can also benefit from this technology. Regardless of where SQRy are used, text strings are among the most commonly embedded data. However, due to strict limitations on the available payload, the occupancy of strings limits the length of the programs that can be embedded. In this work, we propose a simple yet effective strategy that can reduce the space taken by strings, hence broadening sQRy applicability.
Stefano Scanzio, Gabriele Formis, Pietro Chiavassa, Lukasz Wisniewski, Gianluca Cena
WFCS5
2024 On the Accuracy and Precision of Moving Averages to Estimate Wi-Fi Link Quality
abstract
The radio spectrum is characterized by a noticeable variability, which impairs performance and determinism of every wireless communication technology. To counteract this aspect, mechanisms like Minstrel are customarily employed in real Wi-Fi devices, and the adoption of machine learning for optimization is envisaged in next-generation Wi-Fi 8. All these approaches require communication quality to be monitored at runtime. In this paper, the effectiveness of simple techniques based on moving averages to estimate wireless link quality is analyzed, to assess their advantages and weaknesses. Results can be used, e.g., as a baseline when studying how artificial intelligence can be employed to mitigate unpredictability of wireless networks by providing reliable estimates about current spectrum conditions.
Gianluca Cena, Gabriele Formis, Matteo Rosani, Stefano Scanzio
ETFA1
2024 Packet Steering Mechanisms for MLO in Wi-Fi 7
abstract
Besides extremely high throughput, Wi-Fi 7 is also aimed at providing users a more deterministic behavior, characterized by shorter average latency and smaller jitters. A key mechanism to achieve this is multi-link operation, which brings simultaneous multi-band communication to client stations as well. In this paper, traffic steering policies are briefly reviewed and grouped into general classes, each one with its advantages and limitations. A basic mechanism for supporting dynamic steering is then described, which is simple enough to allow implementation in real Wi-Fi chipsets but highly flexible at the same time. Its operation can be driven by the host on a per-packet basis, and this permits to optimize spectrum usage depending on the requirements of applications and the traffic pattern they generate.
Gianluca Cena, Matteo Rosani, Stefano Scanzio
ETFA1
2024 Wireless Sensor Networks Based on TSCH/TDMA with Power Consumption and Latency Constraints
abstract
One of the main goals of wireless sensor networks is to permit the involved nodes to communicate with low energy budgets, as they are typically battery-powered. When such networks are employed in industrial scenarios, constraints about latency may have a significant role, too. The TSCH mechanism, and more in general TDMA schemes, rely on traffic scheduling, and consequently they can feature low power consumption and more predictable latency. Some recent proposals like PRIL-M enable further consistent energy savings, but unfortunately they cause at the same time a dramatic increase in latency. This work presents an extension of PRIL-M, we named PRIL-ML, that achieves a significantly shorter latency in exchange for a slight increase in power consumption. Its operating principles are first illustrated, then some approximate equations are provided for assessing analytically the improvements it achieves, starting from simulation results obtained for both standard TSCH and the original PRIL-M technique.
Stefano Scanzio, Gabriele Formis, Tullio Facchinetti, Giacomo Paolini, Gianluca Cena
ETFA5
2024 Executable QR codes with Machine Learning for Industrial Applications
abstract
Executable QR codes, also known as eQR codes or just sQRy, are a special kind of QR codes that embed programs conceived to run on mobile devices like smartphones. Since the program is directly encoded in binary form within the QR code, it can be executed even when the reading device is not provided with Internet access. The applications of this technology are manifold, and range from smart user guides to advisory systems. The first programming language made available for eQR is QRtree, which enables the implementation of decision trees aimed, for example, at guiding the user in operating/maintaining a complex machinery or for reaching a specific location. In this work, an additional language is proposed, we term QRind, which was specifically devised for Industry. It permits to integrate distinct computational blocks into the QR code, e.g., machine learning models to enable predictive maintenance and algorithms to ease machinery usage. QRind permits the Industry 4.0/5.0 paradigms to be implemented, in part, also in those cases where Internet is unavailable.
Stefano Scanzio, Francesco Velluto, Matteo Rosani, Lukasz Wisniewski, Gianluca Cena
ETFA5
2024 Redundancy for MQTT Communication: An Evolution
abstract
Critical infrastructure, utilities, and large enter-prises are increasingly complex. These sprawling systems, often geographically dispersed, rely on seamless coordination across vast networks. Typically, they use the internet and TCPIIP proto-cols for communication. However, ensuring system-level resilience requires exceptionally dependable network infrastructure. This paper proposes a solution built on a redundant version of the MQTT protocol, implemented directly at the network's endpoints. This approach ensures reliable communication even in the face of potential network issues. Additionally, the paper explores the potential for a future solution that analyzes multi-publisher/subscriber scenarios and, for this purpose, a prelimi-nary research on synchronizing communication among a larger number of devices within the network. The paper concludes by detailing the proposed solution, evaluating its effectiveness, and validating its practicality through experimentation.
Claudio Zunino, Manuel Cheminod, Gianluca Cena, Stefano Vitturi, Alberto Morato, Elena Ferrari 0002, Federico Tramarin
ETFA3
2024 A Software Platform for Testing Multi-Link Operation in Industrial Wi-Fi Networks
abstract
Multi-Link Operation (MLO) in Wi-Fi 7 is expected to tangibly boost throughput while lowering transmission latency at the same time. This is very relevant in industrial scenarios and makes MLO suitable, e.g., to support seamless device mobility. Benefits depend on the ability of multi-link devices to select at run-time the best link, among the available ones, in order to maximize both communication performance and reliability.In this paper an experimental platform is proposed, with the aim of leveraging commercial hardware and open source software, and easing prototyping and evaluation of MLO techniques. The platform has been employed to analyze the transmission quality of two pairs of non-overlapping channels, and in particular to assess whether or not adequate diversity is provided, so that those channels can be exploited to improve reliability. Results point out that correlation between different links is, in most cases, limited, which makes MLO a valuable approach.
Matteo Rosani, Gianluca Cena, Dave Cavalcanti 0001, Valerio Frascolla, Guido Marchetto, Stefano Scanzio
WFCS2
2024 Multi-Link Operation and Wireless Digital Twin to Support Enhanced Roaming in Next-Gen Wi-Fi
abstract
The next generation of Wi-Fi is meant to achieve ultra-high reliability for wireless communication. Several approaches are available to this extent, some of which are being considered for inclusion in standards specifications, including coordination of access points to reduce interference.In this paper, we propose a centralized architecture based on digital twins, called WiTwin, with the aim of supporting wireless stations in selecting the optimal association according to a set of parameters. Unlike prior works, we assume that Wi-Fi 7 features like multi-link operation (MLO) are available. Moreover, one of the main goals of this architecture is to preserve communication quality in the presence of mobility, by helping stations to perform reassociation at the right time and in the best way.
Stefano Scanzio, Matteo Rosani, Gabriele Formis, Dave Cavalcanti 0001, Valerio Frascolla, Guido Marchetto, Gianluca Cena
WFCS7
2024 Ultralow Power and Green TSCH-Based WSNs With Proactive Reduction of Idle Listening
abstract
Wireless sensor networks are characterized by low power consumption because motes are typically battery-powered. Time slotted channel hopping (TSCH) relies on a fixed transmission schedule, which enables the receiver module of wireless motes to be switched off every time it is not needed. Unfortunately, in many practical contexts most of the reserved slots remain unused, which leads to appreciable energy waste. For periodic traffic, proactive reduction of idle listening (PRIL) techniques have been proven able to mitigate this problem. In this paper, PRIL multi-hop (PRIL-M) is introduced with the aim to improve existing PRIL techniques, by lowering energy waste further in large real-world mesh networks. PRIL-M is advantageous in all those contexts where ultra-low power consumption is more important than end-to-end latency. Applications that can benefit from PRIL-M include, e.g., environmental monitoring, where sensors are deployed over the target area and must operate for years without maintenance. A thorough simulation campaign showed that, in these scenarios, energy consumption of PRIL-M is 75% less than standard TSCH, while the average latency is about 20 times larger.
Stefano Scanzio, Federico Quarta, Giacomo Paolini, Gabriele Formis, Gianluca Cena
IEEE Internet Things J.5
2024 QR Codes: From a Survey of the State of the Art to Executable eQR Codes for the Internet of Things
abstract
QR codes are increasingly used in a plurality of scenarios, and research activities are being successfully carried out to improve this technology and widen its contexts of applicability. After an extensive survey of the state-of-the-art on the subject, this work presents the new, promising possibility to embed a programming language in a QR code. This new kind of executable QR codes, we named eQR codes, enable interaction with end users even in the absence of an Internet connection, and provide a sort of IoT paradigm where intelligence is embedded in the object tag in the form of a program. Among all the possible languages that can be embedded, this work focuses on a powerful but compact (in terms of QR code storage occupation) dialect, termed QRtree, which is aimed at implementing decision trees. The eQR code technology makes a new class of applications possible, e.g., providing hints for navigation or instructions for using rescue devices in places with no network coverage like mountains and caves. Smart interactive user manuals are enabled as well. Besides defining the QRtree language and eQR code structure, this paper describes all the steps needed to generate eQR codes and to manage their execution in end-user devices. A simple yet realistic example and the related code are also presented, to practically show how this technology can be used to solve real-world problems. For the example, the QRtree version of the code takes 234B, less than one-half the size of an equivalent program in Python bytecode (634B).
Stefano Scanzio, Matteo Rosani, Mattia Scamuzzi, Gianluca Cena
IEEE Internet Things J.4
2024 Adaptive Seamless Redundancy to Achieve Highly Dependable MQTT Communication
abstract
Nowadays, large enterprises, critical infrastructures, and utilities are complex systems, and consist of a number of sub-systems, often located far away from each other, that coordinate their operations over geographic networks. Typically, they are interconnected through the Internet and communicate by means of TCP/IP-based protocols. When system-level resilience is required, extremely high dependability is demanded from the network. In this paper a solution is described and evaluated that loosely resembles SDN architectures. A redundant version of MQTT is used for the data plane, whereas an adaptive mechanism is implemented in the control plane that evaluates the quality of paths and dynamically selects the best choice. To maximize dependability, yet keeping resource consumption to acceptable levels, concepts borrowed from Reinforcement Learning are exploited. An experimental campaign corroborated our expectations and showed the practical feasibility of our proposal.
Claudio Zunino, Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Ind. Informatics2
2023 Linear Combination of Exponential Moving Averages for Wireless Channel Prediction
abstract
The ability to predict the behavior of a wireless channel in terms of the frame delivery ratio is quite valuable, and permits, e.g., to optimize the operating parameters of a wireless network at runtime, or to proactively react to the degradation of the channel quality, in order to meet the stringent requirements about dependability and end-to-end latency that typically characterize industrial applications.In this work, prediction models based on the exponential moving average (EMA) are investigated in depth, which are proven to outperform other simple statistical methods and whose performance is nearly as good as artificial neural networks, but with dramatically lower computational requirements. Regarding the innovation and motivation of this work, a new model that we called EMA linear combination (ELC), is introduced, explained, and evaluated experimentally. Its prediction accuracy, tested on some databases acquired from a real setup based on Wi-Fi devices, showed that ELC brings tangible improvements over EMA in any experimental conditions, the only drawback being a slight increase in computational complexity.
Gabriele Formis, Stefano Scanzio, Gianluca Cena, Adriano Valenzano
INDIN3
2023 Seamless Redundancy for High Reliability Wi-Fi
abstract
By removing wire harness, Wi-Fi is becoming increasingly pervasive in every aspect of our lives, in both the consumer and industrial worlds. Besides flexibility, the recent high efficiency and extremely high throughput versions managed to close the performance gap with Ethernet. However, it still lags behind Ethernet for what concerns dependability. To this aim, the ultra high reliability study group has been recently formed. This paper reports on some preliminary ideas and proposals about the ways seamless redundancy can be exploited to make Wi-Fi more reliable, yet retaining a good degree of backward compatibility with existing network infrastructures.
Gianluca Cena, Stefano Scanzio, Dave Cavalcanti 0001, Valerio Frascolla
WFCS1
2023 Composite CAN XL-Ethernet Networks for Next-Gen Automotive and Automation Systems
abstract
New generation electrified and self-driving vehicles require much higher performance and flexibility for onboard digital communications than Controller Area Networks may offer. For this reason, automotive Ethernet is often regarded as the next de facto standard technology in these contexts, and by extension for networked embedded systems as well. However, an abrupt and drastic move from CAN to Ethernet is likely to cause further cost increases, which can be hardly tolerated by buyers. This paper analyzes the third generation of CAN, termed CAN XL, and studies how interoperability can be ensured with Ethernet. Likely, composite CAN XL-Ethernet networks are the key for getting the best of both worlds, not only in the automotive domain but also for sensing and control in scenarios like building automation, wired sensor networks, and low-cost networked embedded systems with real-time constraints.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
WFCS1
2023 Predicting Wireless Channel Quality by Means of Moving Averages and Regression Models
abstract
The ability to reliably predict the future quality of a wireless channel, as seen by the media access control layer, is a key enabler to improve performance of future industrial networks that do not rely on wires. Knowing in advance how much channel behavior may change can speed up procedures for adaptively selecting the best channel, making the network more deterministic, reliable, and less energy-hungry, possibly improving device roaming capabilities at the same time. To this aim, popular approaches based on moving averages and regression were compared, using multiple key performance indicators, on data captured from a real Wi-Fi setup. Moreover, a simple technique based on a linear combination of outcomes from different techniques was presented and analyzed, to further reduce the prediction error, and some considerations about lower bounds on achievable errors have been reported. We found that the best model is the exponential moving average, which managed to predict the frame delivery ratio with a 2.10% average error and, at the same time, has lower computational complexity and memory consumption than the other models we analyzed.
Gabriele Formis, Stefano Scanzio, Gianluca Cena, Adriano Valenzano
WFCS3
2023 Enhanced Energy-Saving Mechanisms in TSCH Networks for the IIoT: The PRIL Approach
abstract
Lifetime of motes in wireless sensor networks can be enlarged by decreasing the energy spent for communication. Approaches like time slotted channel hopping pursue this goal by performing frame exchanges according to a predefined schedule, which helps reducing the duty cycle. Unfortunately, whenever the receiving radio interface is active but nobody in the network is transmitting, idle listening occurs. If the traffic pattern is known in advance, as in the relevant case of periodic sensing, proactive reduction of idle listening (PRIL) noticeably lowers energy waste by disabling receivers when no frames are expected for them. Optimal PRIL operation demands that, at any time, the transmitter and receiver sides of a link have a coherent view of its state (either enabled or disabled). However, this is not ensured in the presence of acknowledgment frame losses. This paper presents and analyzes some strategies to cope with such events. An extensive experimental campaign has been carried out through discrete event simulation to determine what consequences above errors may have from both a functional and performance viewpoint. Results show that, although no strategy is optimal in all circumstances, different solutions can be profitably adopted depending on the specific operating conditions.
Stefano Scanzio, Gianluca Cena, Adriano Valenzano
IEEE Trans. Ind. Informatics2
2022 QRscript: Embedding a Programming Language in QR codes to support Decision and Management
abstract
Embedding a programming language in a QR code is a new and extremely promising opportunity, as it makes devices and objects smarter without necessarily requiring an Internet connection. In this paper, all the steps needed to translate a program written in a high-level programming language to its binary representation encoded in a QR code, and the opposite process that, starting from the QR code, executes it by means of a virtual machine, have been carefully detailed. The proposed programming language was named QRscript, and can be easily extended so as to integrate new features.One of the main design goals was to produce a very compact target binary code. In particular, in this work we propose a specific sub-language (a dialect) that is aimed at encoding decision trees. Besides industrial scenarios, this is useful in many other application fields. The reported example, related to the configuration of an industrial networked device, highlights the potential of the proposed technology, and permits to better understand all the translation steps.
Stefano Scanzio, Gianluca Cena, Adriano Valenzano
ETFA2
2022 Machine Learning to Support Self-Configuration of Industrial Systems Interconnected over Wi-Fi
abstract
Communication quality of wireless links unavoidably varies over time, for a number of reasons that are mostly unknown in the design phase of distributed systems. This is a severe limitation when such network technologies are employed to connect devices and subsystems in industrial applications, where high reliability and timeliness are customarily demanded. The ability to foresee, to some extent, the quality of a link in the near future is likely to provide clear benefits in many such cases.In this paper, we analyzed and compared the performance of two approaches, based on simple moving averages and artificial neural networks, respectively, to carry out predictions for a real Wi-Fi link. Results confirm that reliable estimates about the packet delivery ratio can be obtained in realistic operating conditions by averaging the recent past, and that the use of machine learning may improve prediction further.
Stefano Scanzio, Gianluca Cena, Claudio Zunino, Adriano Valenzano
ETFA2
2022 A Fair Access Mechanism to Support Fragmented Data Transfers in CAN
abstract
Controller Area Network is still the most popular solution for in-vehicle communications in automotive scenarios. Recent solutions like CAN FD and CAN XL manage to reduce the performance gap with Ethernet-based solutions. Nevertheless, the priority-based access mechanism they rely on is not completely adequate to support fragmented transfers of large blocks of data, as happens, e.g., for driver assistance and the Internet of Things. In this paper, a slight modification is proposed for the basic CAN access mechanism that permits a group of objects to be served by the network with about the same quality of service. This provides fair treatment to a number of block transfers initiated by different nodes and taking place contextually over the bus.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
WFCS1
2022 CONSIP: Consistency Protocol for Hopping Function Exchange and Black listing in TSCH
abstract
The use of white and black listing techniques in Wireless Sensor Networks (WSN), and in particular those which are based on the Time Slotted Channel Hopping (TSCH) op-erating mode of IEEE 802.15.4, permits to improve reliability and latency by performing transmissions on the best channels. Techniques that operate on a per-link basis are deemed quite effective, but proper operation requires that the two end points involved in the communication agree on the channels to be used for transmission. On the contrary, communication in the network can be prevented, eventually leading, in the worst cases, to the disconnection of part of the nodes. This paper presents CONSIP, a technique aimed to ensure strict consistency in the information exchanged between the nodes and used to drive communication, by preventing a priori the aforementioned problem from occurring. Results show a slight increase in energy consumption, due to the use of a backup cell, whereas communication latency does not worsen. The effectiveness of CONSIP was assessed by means of an experimental campaign, and the only drawback we found is that the backup cell, which is required to be reserved per link, may limit the number of nodes in dense networks.
Stefano Scanzio, Federico Bitondo, Gianluca Cena, Adriano Valenzano
WFCS3
2022 Resilient MQTT to Support Uninterruptible Services
abstract
Among the application layer protocols that support the Internet of Things, a very popular option is MQTT. Its main advantages reside in the inherent simplicity, which makes it suitable for embedded devices too, and the publisher-subscriber model it relies on, which decouples data sources and sinks and enables efficient multicast streaming over the Internet. In this paper a proposal is described that exploits redundant MQTT brokers, deployed in different geographic locations, whose aim is to provide uninterrupted service in spite of failures that may be affecting both the servers executing the middleware and the Internet core. Unlike routing algorithms and protocols, seamless redundancy features zero intervention time, making this solution suitable for critical infrastructures where timings are relevant, like public utilities and some large enterprises.
Claudio Zunino, Davide Malena, Gianluca Cena, Stefano Scanzio, Adriano Valenzano
WFCS3
2021 Robustness and Optimization of PRIL Techniques for Energy Saving in TSCH Networks
abstract
Saving motes energy as much as possible is a main requirement in wireless sensor networks. Time Slotted Channel Hopping (TSCH) is an effective solution, as the radio module of receivers is enabled only when a frame reception is scheduled. Unfortunately, this often leads to non-negligible idle listening, i.e., the receiving interface is switched on but no incoming frame is detected. In cases where the traffic pattern can be somehow predicted, Proactive Reduction of Idle Listening (PRIL) techniques can reduce energy wastes significantly by temporarily switching receivers off. In this paper two specific strategies are proposed, which are aimed at improving PRIL robustness in the case acknowledgment frames are lost, hence causing the transmitter and receiver to have different perceptions of the link state. They were encoded by means of a discrete event simulator and their behavior analyzed. Results obtained through an extensive experimental campaign show that there is no clear winner. Instead, each proposed strategy is suitable for specific application contexts.
Stefano Scanzio, Gianluca Cena, Lucia Seno, Adriano Valenzano
ETFA2
2021 Experimental Characterization of Asynchronous Notification Latency for Subscriptions in OPC UA
abstract
The past few decades saw factory and process automation move from monolithic to fully distributed architectures, where the communication system plays a key role in providing higher flexibility and availability, yet fitting the peculiar requirements of such contexts. As part of the Industry 4.0 (r)evolution, the Industrial Internet of Things is meant to achieve full convergence toward well-agreed non-proprietary digital networking technologies. In this scenario, OPC UA is becoming increasingly relevant as a high-level protocol to exchange information in heterogeneous distributed industrial applications. In this paper, the performance of OPC UA has been evaluated by means of an experimental measurement campaign carried out on real devices connected to real networks. In particular, we analyzed how much the end-to-end notification latency achieved by the subscription mechanism is affected by the position and interconnection of devices, their specific implementation, and configuration parameters. Outcomes can be helpful in designing systems where industrial devices interact with local workstations, the edge, and the cloud, to understand whether or not timing constraints of applications will be met.
Claudio Zunino, Gianluca Cena, Stefano Scanzio, Adriano Valenzano
ETFA2
2021 Black-Box Analysis of the Publish-Subscribe Notification Latency in Real OPC UA Servers
abstract
Among the many enabling technologies Industry 4.0 relies on, the Industrial Internet of Things is a relevant one that enables both horizontal and vertical integration in modern enterprises, to accomplish complex functions that exploit either cloud or edge processing. In particular, the OPC UA protocol is knowing an ever increasing attention for interconnecting devices, equipment, and facilities in next-generation plants. This work focuses on the characterization of the notification latency in distributed systems that rely on the OPC UA publish-subscribe paradigm for interactions. In particular, starting from a black-box experimental evaluation carried out on real setups, we tried to explain the seemingly peculiar behavior of some popular solutions by means of theoretical models complemented with code inspection.
Claudio Zunino, Davide Malena, Gianluca Cena, Stefano Scanzio, Adriano Valenzano
ETFA3
2021 Enabling Listening Suspension in the Time Slotted Channel Hopping Protocol
abstract
Time slotted channel hopping provides reliable and deterministic communication in IEEE 802.15.4 mesh networks. Although slotted access is able to lower energy consumption drastically by reducing the duty cycle of the radio module, it usually leads to significant idle listening experienced by receivers, which makes it a sub-optimal solution when ultra low-power wireless is sought for.In this paper a listening suspension mechanism is described, which operates at the MAC layer and is part of a more general approach aimed at cutting down energy consumption by proactively reducing idle listening. Links can be temporarily disabled, that convey slow-rate data streams whose characteristics, e.g., the generation period, are either known in advance to some extent or can be inferred by traffic inspection.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
WFCS1
2020 Energy-Efficient Link Capacity Overprovisioning In Time Slotted Channel Hopping Networks
abstract
TSCH is emerging as a reliable access mechanism for wireless sensor networks that, thanks to time slotting, suits the needs of battery-powered devices deployed in industrial scenarios. To take into account the traffic needs of the different links in a mesh network and the related variability, in such a way to prevent instability and butter overruns, overprovisioning can be exploited. It consists in allocating more cells than strictly needed for communication between a node and its neighbors. Unfortunately, overprovisioning in TSCH leads to higher power consumption, because of idle listening. In this paper, two approaches for saving energy are proposed, which temporarily disable listening when no packets are available at the transmitter. Such mechanisms show good backward compatibility with existing TSCH devices, and may coexist with them.
Gianluca Cena, Stefano Scanzio, Lucia Seno, Adriano Valenzano, Claudio Zunino
WFCS1
2020 Evaluating and Modeling IEEE 802.15.4 TSCH Resilience against Wi-Fi Interference in New-Generation Highly-Dependable Wireless Sensor Networks
Gianluca Cena, Claudio Giovanni Demartini, Mohammad Ghazivakili, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
Ad Hoc Networks1
2019 Experimental Analysis and Comparison of Industrial IoT Devices based on TSCH
abstract
Industrial Internet of Things demands high reliability and determinism on the one side, and easy interconnection with the existing network infrastructures on the other. A very promising class of solutions combines IEEE 802.15.4 Time Slotted Channel Hopping, to meet above communication requirements, and IPv6, to provide universal connectivity. Products compliant to this approach have recently begun to appear off-the-shelf.In this paper, two such solutions have been taken into account, namely SmartMesh IP and 6TiSCH. Their performance has been experimentally evaluated by taking into account metrics relevant to industrial applications. Since we aimed at providing a practical feedback to designers of industrial systems, devices were tested using their default configuration. Results provide valuable experimental figures on what engineers can expect from these technologies, which includes seamless connectivity and a reasonably high resilience to interfering traffic.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2019 A Full-Wireless Network Architecture Based on the Industrial Internet of Things Paradigm
abstract
The Industrial Internet of Things is currently gaining momentum in production plants as a way to efficiently support a number of functions, e.g., preventive maintenance. To this extent, a number of solutions have been proposed in the past few years, which typically rely on a layered approach. In this paper, a general-purpose architecture is presented for factory automation systems, which mimics the industrial networks used at the shop-floor. In particular, it relies on a modular structure for devices and protocols aimed at reducing implementation effort, so as to ease its adoption in real-world applications. A preliminary experimental testbed based on such architecture has been set up, and it operations verified.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2019 Event Notification in CAN-Based Sensor Networks
abstract
Preventive and reactive maintenance require the collection of an ever-increasing amount of information from industrial plants and other complex systems such as those based on robotized cells, a need that can be fulfilled by means of a suitable event notification mechanism. At the same time, timing and delivery reliability requirements in those scenarios are typically less demanding than those in other cases, thus enabling the adoption of best-effort notification approaches. This paper presents, evaluates, and compares some of those approaches, based on either standard Controller Area Network (CAN) messaging or a recently proposed protocol extension called CAN with eXtensible in-frame Reply (CAN XR). In the second case, the combined use of Bloom filters is also envisaged to increase flexibility. Results show that the latter approaches are advantageous in a range of event generation rates and network topologies of practical relevance.
Gedare Bloom, Gianluca Cena, Ivan Cibrario Bertolotti, Nicolas Navet, Adriano Valenzano
IEEE Trans. Ind. Informatics2
2019 SDMAC: A Software-Defined MAC for Wi-Fi to Ease Implementation of Soft Real-Time Applications
abstract
In distributed control systems where devices are connected through Wi-Fi, direct access to low-level medium access control (MAC) operations may help applications to meet their timing constraints. In particular, the ability to timely control single transmission attempts on air, by means of software programs running at the user space level, eases the implementation of mechanisms aimed at improving communication timeliness and reliability. Relevant examples are deterministic traffic scheduling, seamless channel redundancy, rate adaptation algorithms, and so on. In this paper, a novel architecture is defined, we call software-defined MAC (SDMAC), which in its current embodiment relies on conventional Linux PCs equipped with commercial Wi-Fi adapters. Preliminary SDMAC implementation on a real testbed and its experimental evaluation showed that integrating this paradigm in the existing protocol stacks constitutes a viable option, whose performance suits a wide range of applications characterized by soft real-time requirements.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2019 Experimental Evaluation of Techniques to Lower Spectrum Consumption in Wi-Red
abstract
Seamless redundancy layered atop Wi-Fi has been shown able to tangibly increase communication quality, hence offering industry-grade reliability. However, it also implies much higher network traffic, which is often unbearable as the wireless spectrum is a shared and scarce resource. To deal with this drawback, the Wi-Red proposal includes suitable duplication avoidance mechanisms that reduce spectrum consumption by preventing transmission on air of inessential frame duplicates. In this paper, the ability of such mechanisms to save wireless bandwidth is experimentally evaluated. To this purpose, specific post-analysis techniques have been defined, which permit assessment on a simple testbed that relies on plain redundancy and require no changes to the adapters' firmware. As the results show, spectrum consumption decreases noticeably without communication quality is impaired. Further saving can be obtained if a slight worsening is tolerated for latencies.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Wirel. Commun.1
2018 A Prototype Implementation of Wi-Fi Seamless Redundancy with Reactive Duplication Avoidance
abstract
Applying link-level seamless redundancy to Wi-Fi noticeably ameliorates communication quality, but also doubles spectrum consumption. The adoption of mechanisms, operating at runtime, aimed at preventing the transmission on air of inessential frame copies, permits to lower the generated traffic tangibly and also improves behavior further. In this paper, a prototype setup is described, based on redundant Wi-Fi, which carries out reactive duplication avoidance completely in software. This makes it mostly independent from wireless adapters hardware. An experimental evaluation of its performance showed that, although implementation is preliminary, this solution is able to outperform plain seamless redundancy.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
ETFA1
2018 Improving Effectiveness of Seamless Redundancy in Real Industrial Wi-Fi Networks
abstract
Reliability and determinism of Wi-Fi can be tangibly improved by means of seamless redundancy, to the point of making this technology suitable for industrial environments. As pointed out in recent papers, the most benefits can be achieved when no phenomena can simultaneously affect transmissions on all channels of a redundant link. In this paper, several aspects are analyzed which, if not properly counteracted, may worsen seamless redundancy effectiveness. Effects they cause on communication have been experimentally evaluated in real testbeds, which rely on commercial Wi-Fi devices. Then, practical guidelines are provided, which aim at preventing joint interference through a careful system design. Results show that measured communication quality can be made as good as expected in theory.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2017 CAN With eXtensible In-Frame Reply: Protocol Definition and Prototype Implementation
abstract
Controller area network (CAN) has been the de facto standard in the automotive industry for the past two decades. Recently, CAN with flexible data-rate (CAN FD) has been standardized, which achieves noticeably higher throughput. Further improvements are still possible for CAN, by exploiting its peculiar physical layer to carry out distributed operations among network nodes, implemented as atomic transactions mapped on quasi-conventional frame exchanges. In this paper, a proposal is made for an extension to the CAN protocol, termed CAN with eXtensible in-frame Reply (CAN XR), which enables upper protocol layers to define new custom services devoted to, e.g., network management, application-specific functions, and high-efficiency data transfer. The key point is that CAN XR retains full backward compatibility with CAN, therefore, there is no need to change the protocol specification once again.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2017 Experimental Evaluation of Seamless Redundancy Applied to Industrial Wi-Fi Networks
abstract
Seamless redundancy can be profitably exploited to improve predictability of wireless networks in general and, in particular, IEEE 802.11. According to this approach, packets are transmitted by senders on two (or more) channels at the same time and duplicate copies are discarded by receivers. As long as the behavior of physical channels is uncorrelated, communication quality improves noticeably, in terms of both transmission latencies and percentage of dropped frames. In this paper, communication over redundant links has been analyzed by means of a thorough experimental campaign, based on measurements carried out on real devices. Results confirm that, under typical operating conditions, the assumption of independence among channels in properly designed systems is verified reasonably well. Indeed, in our experiments, measured link quality indices did not differ more than$10\%$from what we expected from theory. This grants for redundant solutions tangible advantages over conventional Wi-Fi networks.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2017 Enhancing Communication Determinism in Wi-Fi Networks for Soft Real-Time Industrial Applications
abstract
Communication over the ether is by nature erratic, and thus wireless networks are often deemed unsuitable to support time-critical distributed control applications, like those at the shop-floor of industrial plants. However, scheduling techniques derived from real-time operating systems, along with channel redundancy and runtime retransmission management, can be profitably applied to wireless networks to improve their determinism tangibly. This paper presents a novel approach that combines such solutions. A preliminary prototype implementation, which relies on IEEE 802.11 (Wi-Fi), has been set up to assess feasibility and performance of the approach. Results show that determinism of data exchange can be improved to a degree that makes wireless networks actually suitable for many soft real-time applications.
Lucia Seno, Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics2
2017 Bandwidth Management for Soft Real-Time Control Applications in Industrial Wireless Networks
abstract
Industrial distributed control systems would greatly benefit from the adoption of wireless communication technologies, if only guarantees could be provided on timing of time-critical data delivery over the ether. This paper presents solutions to handle single-hop deadline-constrained periodic traffic, which combine centralized transmission scheduling according to earliest deadline first (EDF) and automatic repeat request (ARQ). For each solution, an admission control test is provided, which guarantees a configurable number of retries to each data instance within its deadline, statically addressing both timeliness and reliability on a per-instance basis. Dynamic bandwidth management strategies are also introduced that use runtime information about unperformed guaranteed retries and reassign them, as extra retries, to failed instances whose deadline has not yet expired. Simulation results show that significant benefits can be obtained, in terms of both determinism and improved performance, by a careful static/dynamic management of the available communication resources.
Lucia Seno, Gianluca Cena, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics2
2016 Design guidelines to improve reliability of seamless redundancy in Wi-Fi networks
abstract
Seamless redundancy has been recently proven to increase the quality of wireless links communication noticeably. As such, it can be exploited to improve Wi-Fi reliability and make it suitable for industrial environments. Higher benefits can be achieved when phenomena affecting transmissions on the two channels of a redundant link are independent. In this paper, a number of aspects that may lead to a reduction of the effectiveness of seamless redundancy are analyzed. In particular, the quality of communication has been experimentally evaluated in a real testbed made up of conventional Wi-Fi devices. Guidelines are then provided, which are aimed at preventing joint interference through a careful system design.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
ETFA1
2016 A fixed-priority access scheme for industrial Wi-Fi networks
abstract
The current version of IEEE 802.11, based on EDCA, is unable to support fine-grained assignments of priorities to messages. Instead, such an ability could be advantageous in distributed real-time control systems communicating over the air, as it would enable the exploitation of feasibility analysis to assess whether or not timing constraints are met. In this paper, a proposal is made for implementing a simple fixed-priority access scheme on conventional, commercial Wi-Fi devices. Basically, this is obtained by disabling the random backoff mechanism and suitably managing interframe gaps only. In particular, each real-time message is assigned a unique gap duration, so as to help in preventing collisions. An experimental campaign has been carried out on real devices aimed at assessing the performance this approach can achieve.
Gianluca Cena, Stefano Scanzio, Lucia Seno, Adriano Valenzano
IECON1
2016 CAN XR: CAN with extensible in-frame Reply
abstract
Controller Area Network (CAN) has been the de facto standard in the automotive industry for the past two decades, and recently CAN with flexible data-rate has been standardized, which achieves higher speed. Further improvements are possible by exploiting the peculiar physical layer of CAN to perform distributed operations among network nodes. In this paper a proposal is made for an extension to the CAN protocol, denoted CAN with eXtensible in-frame Reply (CAN XR), which enables upper protocol layers to define new custom services devoted to, e.g., network management, application-specific functions, and high-efficiency data transfer. Since CAN XR retains full backward compatibility with CAN FD, there is no need to change the protocol specification.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
INDIN1
2016 Combining reliability and timeliness in industrial wireless networks: An experimental assessment
abstract
Communication over the ether is by nature erratic and, consequently, wireless networks are unsuitable for hard real-time distributed control applications typical of industrial plants. However, scheduling strategies employed by real-time operating systems, along with channel redundancy and advanced bandwidth management, can be used to improve their determinism and make them suitable for soft real-time applications. This paper presents an approach that combines such techniques and a preliminary implementation, which relies on IEEE 802.11 (Wi-Fi), employed to assess its feasibility. Results show that data exchange determinism can be substantially improved towards the level required by many soft real-time applications.
Gianluca Cena, Stefano Scanzio, Lucia Seno, Adriano Valenzano, Claudio Zunino
WFCS1
2016 Experimental characterization of redundant channels in industrial Wi-Fi networks
abstract
Seamless redundancy can be profitably exploited to improve predictability of wireless networks, including IEEE 802.11. Packets are sent on two channels at the same time and duplicate copies are discarded by receivers. As long as behavior of channels is reasonably uncorrelated, both transmission latencies and the frame loss ratio improve noticeably. In this paper, such an assumption has been analyzed by means of experimental measurements carried out on real devices. Results confirm that, in typical operating conditions, independence reasonably holds.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
WFCS1
2016 Seamless Link-Level Redundancy to Improve Reliability of Industrial Wi-Fi Networks
abstract
The adoption of wireless communications and, in particular, Wi-Fi, at the lowest level of the factory automation hierarchy has not increased as fast as expected so far, mainly because of serious issues concerning determinism. Actually, besides the random access scheme, disturbance and interference prevent reliable communication over the air and, as a matter of fact, make wireless networks unable to support distributed real-time control applications properly. Several papers recently appearing in literature suggest that diversity could be leveraged to overcome this limitation effectively. In this paper, a reference architecture is introduced, which describes how seamless link-level redundancy can be applied to Wi-Fi. The framework is general enough to serve as a basis for future protocol enhancements, and also includes two optimizations aimed at improving the quality of wireless communication by avoiding unnecessary replicated transmissions. Some relevant solutions have been analyzed by means of a thorough simulation campaign, in order to highlight their benefits when compared with conventional Wi-Fi. Results show that both packet losses and network latencies improve noticeably.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2015 Reliable comparison of clock discipline algorithms for time synchronization protocols
abstract
Worst-case synchronization error is probably the most interesting performance index of clock synchronization protocols when used in real-time control applications. It depends on several factors, among which jitters on timestamp measurements and thermal variations in oscillators, which are very difficult to replicate in real systems. As a consequence, it makes little sense comparing the errors measured in different experiments, which means that assessing synchronization quality in real-time systems in a meaningful way is not a trivial task. In this paper, a methodology is described that permits different clock discipline algorithms to be experimentally evaluated and reliably compared. It was applied to a testbed where the reference broadcast infrastructure synchronization protocol is implemented over Wi-Fi, and permitted to define some guidelines for the optimal selection of the algorithm and its parametrization.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano
ETFA1
2015 A Mechanism to Prevent Stuff Bits in CAN for Achieving Jitterless Communication
abstract
The bit stuffing mechanism adopted in controller area networks leads to unwanted jitter on frame reception times, which worsens timing accuracy, even if countermeasures are adopted to avoid contentions on the bus. Several solutions have been proposed so far for dealing with stuff bits in the payload of messages, but they are not effective for the cyclic redundancy check. In this paper, a mechanism is presented that prevents the occurrence of stuff bits in the whole frame completely. It makes the duration of frame transmissions fixed and, hence, it achieves very accurate reception times. An optimized codec has been implemented to demonstrate that this approach is feasible and can be profitably adopted in low-cost networked embedded systems with demanding timing constraints.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2015 Implementation and Evaluation of the Reference Broadcast Infrastructure Synchronization Protocol
abstract
This paper describes reference broadcast infrastructure synchronization (RBIS), a clock synchronization protocol for IEEE 802.11 infrastructure wireless networks. The protocol is especially tailored for industrial and home automation networks, and in many application contexts, it offers several advantages compared with other solutions targeted at similar purposes. RBIS has been conceived to rely on conventional Wi-Fi equipment and, in particular, on unmodified access points. It is based on the master/slave approach and follows the receiver/receiver paradigm. An implementation of RBIS-carried out completely in software and based on timestamps taken at the interrupt handler level-has been developed, which achieves a synchronization error below 3 μs. Then, a simple distributed hard real-time control application has been setup, which consists in two PCs running real-time application interface for Linux (RTAI) and connected through Wi-Fi. The actuation error, measured on the generation of synchronous pulses, is strictly below 13 μs.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics1
2014 Dynamic duplicate deferral techniques for redundant Wi-Fi networks
abstract
Wireless communications suffer from disturbance and interference, which prevent reliable data exchanges and preclude their adoption in the real-time applications found at the lower levels of factory automation systems. This is particularly true for Wi-Fi, for which mechanisms like channel hopping and blacklisting are not available. Several solutions were defined in the past few years, which range from the adoption of general-purpose redundancy protocols over conventional communication equipment to proposals like Wi-Red, which offers link-level redundancy. In this paper, an enhancement is presented for the latter solution, which achieves better performance by deferring transmission of duplicate frames. The net effect is a sort of load balancing between wireless channels, which reduces network traffic and increases reliability further.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2013 Software-based assessment of the synchronization and error handling behavior of a real CAN controller
abstract
Although the Controller Area Network (CAN) technology is very mature, the behavior of real CAN controllers under marginal operating conditions is still of practical interest as CAN is being deployed in a variety of application domains. In this paper, we propose a test software architecture able to extensively investigate the reaction of a typical CAN controller when subject to various kinds of error and different timing scenarios. Both the analysis technique and the test software use a black-box approach and do not require any modification of, or access to, the internal structure of the controller itself. They are therefore readily applicable with low effort to different hardware. Possible applications include diagnostic and reliability analysis tools for CAN.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
ETFA1
2013 Fixed-Length Payload Encoding for Low-Jitter Controller Area Network Communication
abstract
The controller area network (CAN) bit stuffing mechanism, albeit essential to ensure proper receiver clock synchronization, introduces a significant, payload-dependent jitter on message response times, which may worsen the timing accuracy of a networked control system. Accordingly, several approaches to overcome this issue have been discussed in literature. This paper presents a novel software payload encoding scheme, which is able to guarantee that no stuff bits will ever be added to the data field by the CAN controller during transmission and, hence, lessens jitters considerably. Particular care has been put in its practical implementation and its subsequent evaluation to show how the simplicity and inherent high performance of the scheme make it suitable even for low-cost, embedded architectures.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2012 Performance comparison of mechanisms to reduce bit stuffing jitters in controller area networks
abstract
Bit stuffing in CAN is likely to cause jitters on message reception that, in specific cases where timing accuracy is relevant, may worsen the quality of the control algorithm noticeably. Several solutions have appeared in the past years that are aimed to tackle this issue, which are based on a suitable encoding of the payload of the message carried out in s/w by the transmitting node. In this paper, two efficient approaches are considered, namely XOR masking and 8B9B encoding, and their performance evaluated by means of both theoretical analysis and experimental campaigns. In particular, jitter reduction capability and encoding efficiency were taken into account and compared to the case when plain CAN is adopted.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
ETFA1
2012 Performance evaluation and improvement of the CPU-CAN controller interface for low-jitter communication
abstract
The effectiveness and quality of several distributed control loops are heavily affected by the ability to reduce jitters. This goal can hardly be achieved without understanding all possible causes that can introduce time fluctuations in the communication path between the processor, running the control algorithms, and the (remote) peripheral devices. This is because any of them, in fact, may worsen the timing accuracy of the system as a whole. After the most well-known sources of jitters are put under control, other aspects become more and more important for the overall behavior of the system. This paper tackles the problem of time fluctuations introduced by the interface between the Central Processing Unit (CPU) and the CAN controller in a typical off-the-shelf, single-chip microcontroller and shows why and how they should be considered and handled carefully.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
ETFA1
2012 The reference-broadcast infrastructure synchronization protocol
abstract
In this paper the RBIS synchronization protocol is presented, which has been specifically conceived for industrial infrastructure WLANs. It combines the concepts of the sender/receiver and receiver/receiver approaches: similarly to RBS, timestamps are recorded only on received frames while, like IEEE 1588, it permits slaves to synchronize to the same master clock. Compared to RBS, RBIS has several advantages. Every single wireless sub-network, in fact, can be easily synchronized with an external time source located on the wired backbone. Moreover, when software implementations are considered that rely on unmodified conventional WiFi equipment, RBIS is able to feature noticeably better timing accuracy than IEEE 1588.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2012 Evaluation of EtherCAT Distributed Clock Performance
abstract
EtherCAT is a real-time Ethernet protocol conceived explicitly for industrial applications. It is characterized by high communication efficiency, which permits control loops to be closed with short cycle times, and is provided with a suitable mechanism, known as distributed clock (DC), that enables synchronized operations to take place across the controlled system. These features can be profitably adopted, for instance, to support motion control applications. In this paper, the performance of the DC mechanism is evaluated by means of a thorough campaign of experimental measurements carried out on a real network setup. A number of factors have been taken into account that can affect accuracy and precision, and their effects studied in depth.
Gianluca Cena, Ivan Cibrario Bertolotti, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics1
2011 Security aspects of safety networks
abstract
The importance of safe communications in industrial environments has been steadily increasing over the past years and several special-purpose solutions have been developed to this purpose. However, the prevalent trend nowadays is the adoption of standard transmission technologies to support both safe and non-safe data exchanges over the same medium. This exposes safety-aware protocols to the same security threats experienced in conventional communication networks. This paper deals with some security aspects of a popular safety-oriented communication solution, namely Safe-tyNETp. Its main contribution is showing that safety protocols too suffer from security threats and can even make things simpler in carrying out certain types of attacks such as denial of service (DoS).
Gianluca Cena, Marco Cereia, Adriano Valenzano
ETFA1
2011 Evaluation of the real-time properties of open-source protocol stacks
abstract
At present, two important trends in industrial environments are the adoption of Ethernet-based technologies to interconnect devices and the use of PCs provided with open-source real-time operating systems to execute control applications. This makes the implementation of distributed control systems easier and inexpensive. In these cases, it is of utmost importance that response times concerning the messages exchanged over the network be deterministically bounded. In this paper, the contribution to the end-to-end transmission delay which is due to the latencies introduced by the local protocol stack is analysed through experimental evaluation. In particular, two popular stacks have been taken into account, that is the one provided in conventional Linux and RTnet.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2010 A software implementation of IEEE 1588 on RTAI/RTnet platforms
abstract
At present, an increasing number of distributed control systems are based on platforms made up of conventional PCs running open-source real-time operating systems. Often, the need arises in these systems to have networked devices supporting synchronized operations. In this paper, an inexpensive solution is introduced, described, implemented and evaluated that relies on standard software and protocols such as RTAI, RTnet and IEEE 1588. The main goals of this architecture are reducing design and development costs, ensuring adequate synchronization accuracy, and easing the porting of control applications to different H/W and S/W configurations.
Gianluca Cena, Marco Cereia, Ivan Cibrario Bertolotti, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2010 Performance analysis of switched EtherCAT Networks
abstract
EtherCAT is a popular, real-time Ethernet network that features very high communication efficiency. However, because of the ring topology it relies on, cycle times increase when the network size grows larger (considering both the amount of process data and the network extension). In this paper a solution based on commonly available off-the-shelf switches is presented and analyzed that can improve performance for large automation systems. Such an approach (almost) does not require new custom h/w to be purposely developed.
Gianluca Cena, Stefano Scanzio, Adriano Valenzano, Claudio Zunino
ETFA1
2010 On the Performance of IEEE 802.11e Wireless Infrastructures for Soft-Real-Time Industrial Applications
abstract
Nowadays, wireless communication technologies are being employed in an ever increasing number of different application areas, including industrial environments. Benefits deriving from such a choice are manifold and include, among the others, reduced deployment costs, enhanced flexibility and support for mobility. Unfortunately, because of a number of reasons that have been largely debated in the literature, wireless systems cannot be thought of as a means able to fully replace wired networks in production plants, in particular, when real-time behavior is a key issue. In this paper, an analysis of the real-time performance that can be achieved in quality-of-service (QoS)-enabled 802.11 networks has been carried out. In particular, a detailed analysis of latencies and packet loss ratios for a typical enhanced distributed channel access (EDCA) infrastructure wireless local area network (WLAN) is presented, obtained through numerical simulations. A number of aspects that may affect suitability for the use in control systems have been taken into account, including the Transmission Opportunity (TXOP) mechanism, the internal architecture of the AP, the use of a time-division multiple access (TDMA)-based communication scheme as well as the adoption of broadcast communications.
Gianluca Cena, Lucia Seno, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics1
2009 A High-performance CAN-like Arbitration Scheme for EtherCAT
abstract
EtherCAT is a popular Ethernet-based solution conceived for connecting devices at the shop floor in industrial environments. Even though it features very high communication efficiency, that permits thousands of I/O points to be periodically exchanged between controlling devices and decentralized periphery with cycle times well below 1 ms, it is not able to cope in a proper way with event-driven systems, where lots of devices may be producing asynchronous information in a sporadic and unpredictable way. In this paper, some modifications to the basic EtherCAT protocol are proposed which enable CAN-like arbitrations to take place in such networks, so as to achieve a true priority-based access scheme.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano, Claudio Zunino
ETFA1
2009 Evaluation of Real-time Communication Performance in QoS-enabled Infrastructure WLANs
abstract
Nowadays, industrial communication systems are experiencing the introduction of wireless technologies at all levels of automated factories. The benefits that derive from such a choice are manifold, including reduced deployment costs, enhanced flexibility and support for mobility. Unfortunately, because of a number of reasons, wireless systems can not be thought of as a complete replacement of wired networks at the field level. In this paper, the performance that can be achieved by QoS-enabled WLANs to support communication in industrial environments is analyzed. In particular, a detailed analysis of latencies in infrastructure networks is presented, obtained through numerical simulations, that takes into account both media access and queuing delays. Moreover, the impact of the internal architecture of the access point on performance is evaluated as well.
Gianluca Cena, Adriano Valenzano, Claudio Zunino, Lucia Seno
ETFA1
2008 An arbitration-based access scheme for EtherCAT networks
abstract
EtherCAT is a very popular solution for connecting control applications to field devices in industrial environments, which is based on Ethernet transmission technology. Even though EtherCAT features a very high level of communication efficiency, that permits thousands of I/O points to be periodically exchanged between the controlling device and the decentralized periphery with cycle times well below lms, it is not able to cope in a proper way with event-driven systems, where lots of devices may be producing asynchronous information sporadically and unpredictably. In this paper, a modification to the basic EtherCAT access scheme is proposed, which enables a CAN-like arbitration to take place in such networks in order to select the most urgent event pending for transmission.
Gianluca Cena, Adriano Valenzano, Claudio Zunino
ETFA1
2008 Guest Editorial: Special Section on Communication in Automation - Part II
abstract
The three papers in Part II of this special issue focus on communication in automation.
Gianluca Cena, Francisco Vasques
IEEE Trans. Ind. Informatics1
2007 Reasoning about communication latencies in real WLANs
abstract
Large diffusion of wireless communications is a trend that will soon involve industrial environments, too, and in particular those applications where granting limited response times is of utmost importance. This paper analyzes the impact of a number of causes, besides the medium access technique, on the performance of real 802.11g networks. In particular, the extent to which beacon frames and traffic on nearby channels can decrease the communication performance is taken into account, as well as the effect of the adapter's and access point's overheads on frame transmission latencies.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano, Claudio Zunino
ETFA1
2007 Evaluation of Response Times in Industrial WLANs
abstract
The adoption of wireless communication technologies in industrial environments for supporting (soft) real-time applications heavily depends on the ability to grant bounded response times for messages, at least from a probabilistic point of view. This aspect is particularly important in factory automation systems, where response times are considered much more significant than other performance indices, such as throughput, that are usually considered in different application areas. The ever-increasing availability on the market of products and solutions based on the IEEE 802.11 standard and the introduction of the 802.11e amendment for enhancing the quality of service (QoS) and prioritizing traffic make this kind of communication technology interesting also for adoption in (loosely coupled) distributed control systems. This paper reports on some experimental measures and the related analysis that have been carried out on real 802.11g/e networks for better understanding the statistical distribution of response times and can be of help in characterizing these solutions when used to support noncritical real-time traffic.
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano, Claudio Zunino
IEEE Trans. Ind. Informatics1
2006 On the properties of the flexible time division multiple access technique
abstract
Flexible time division multiple access (FTDMA) is a medium access mechanism that some modern popular networks for use in passenger vehicles, such as Byteflight and FlexRay, rely on. Its development was driven explicitly by the new needs of automotive x-by-wire systems, which could not be satisfied by the existing solutions. The FTDMA technique was conceived primarily to overcome the limitations of controller area network and, in particular, for supporting high performance real-time communications. Even though this access scheme is mainly suitable for asynchronous transmissions, it can be adopted profitably for synchronous exchanges as well. In this paper, the main features of FTDMA are analyzed, and its performance is evaluated for different kinds of communications that have to be supported in today's vehicles.
Gianluca Cena, Adriano Valenzano
IEEE Trans. Ind. Informatics1
2005 Modelling CANopen communications according to the socket paradigm
abstract
At present, a number of platforms are becoming available for the implementation of intelligent field devices, which are based on low-cost microcontrollers and open-source real-time operating systems. To take full benefit from these platforms and to ease the task of developing and porting the application software, a standard interface has to be provided to cope with communication facilities. In this paper an application programming interface for CANopen is introduced that relies on the well-known socket paradigm. Despite its inherent simplicity, it is very flexible and offers the programmer all the functionalities foreseen by the CANopen specification
Gianluca Cena, Ivan Cibrario Bertolotti, Adriano Valenzano
ETFA1
2005 Introducing intelligent sensors in presses for plastic material injection
abstract
This paper presents some theoretical and experimental results concerning the introduction of advanced sensors in the design and development of a new generation of presses for plastic material injection used to produce washing machine tubs. The architecture of the control system for the presses is based on a distributed solution and relies on fieldbus communications to obtain a graceful migration path to the adoption of sensors of a new generation. This enables a dramatic decrease in both the cabling complexity and cost, together with a significant improvement in the performance of the whole machine. The adoption of the field network to connect sensors and actuators to the controller has been carefully evaluated by means of a preliminary theoretical analysis. Then, two test systems have been implemented to collect data and performance figures by carrying out experiments and measures on some of the real devices selected for the design of press control equipment.
Gianluca Cena, Adriano Valenzano, Stefano Vitturi
IEEE Trans. Ind. Informatics1
2003 Efficient polling of devices in CANopen networks
abstract
In this paper a new technique is introduced that enables the communication efficiency of CANopen networks to be increased above its current limit. In particular, significant improvements can be achieved in all those cases where the application master needs to poll whole groups of input devices or process data have to be sampled at different rates. The new mechanism does not require any modification to the hardware of CAN controllers, but only slight changes to the CANopen protocol stack. Thus, it can be implemented easily and inexpensively by simply upgrading the firmware of the existing devices.
Gianluca Cena, Adriano Valenzano
ETFA (1)1
2001 Integrating the CAN and MUST access techniques in a single fieldbus
abstract
Even though the controller area network (CAN) protocol is particularly suitable to support communications in real-time environments, it may exhibit unfair behaviour under heavy traffic conditions. Medium-utilisation state tracking (MUST) is a novel technique which achieves fair round-robin access in CANs and requires few changes to the original protocol. Furthermore, it preserves full compatibility with the existing devices and applications developed for CANs. In this paper, the combined use of conventional CAN and MUST devices is analysed, and the performance improvements which can be obtained have been evaluated. In addition, some hints are given on possible implementations of the MUST technique in real CAN controllers.
Gianluca Cena, Adriano Valenzano
ETFA (1)1
2000 Delay analysis of priority promotion systems
Gianluca Cena, Adriano Valenzano
Comput. Commun.1
1997 A Q-Coder Algorithm with Carry Free Addition
abstract
The Q-Coder algorithm is a very efficient compression technique for bi-level images based on the arithmetic coding. The paper presents a new and fast version of the Q-Coder algorithm in which the carry-propagated adders have been replaced by carry-save adders. In this way, all the additions can be performed with a delay time of a single fill adder, independently of the length of the operands. The compression method is faster than the traditional Q-Coder algorithm with an almost unnoticeable increasing of the hardware requirements.
Gianluca Cena, Paolo Montuschi, Luigi Ciminiera, Andrea Sanna
IEEE Symposium on Computer Arithmetic1
1997 Adaptive bandwidth balancing mechanisms for DQDB networks
Gianluca Cena, Luca Durante, Riccardo Sisto, Adriano Valenzano
Comput. Commun.1
1992 CIMNET: a prototype network for time critical applications in the factory
abstract
A network based on a reduced protocol profile is well suited for industrial applications that require cheap and fast communications. A pilot project whose aim is to demonstrate the practical feasibility of such an environment is presented. The implementation approach is described, pointing out the advantages coming from the solution adopted, which is based on the availability of multiple processes carrying out different protocol functions that the user can see as a collection of procedures linked together forming a common library. Some significant manufacturing message service (MMS) services are also described, and their performance is discussed in terms of response times.>
Adriano Valenzano, Claudio Giovanni Demartini, Gianluca Cena
LCN3