Next Article in Journal
Multimedia Storytelling in Journalism: Exploring Narrative Techniques in Snow Fall
Previous Article in Journal
A Novel Rough WASPAS Approach for Supplier Selection in a Company Manufacturing PVC Carpentry Products
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Calibrated Test-Set for Measurement of Access-Point Time Specifications in Hybrid Wired/Wireless Industrial Communication

1
National Research Council of Italy, CNR-IEIIT, 35131 Padova, Italy
2
Department of Information Engineering, University of Padova, 351231 Padova, Italy
*
Author to whom correspondence should be addressed.
This paper is an extended and improved version of our paper published at the 2012 IEEE International Instrumentation and Measurement Technology Conference, Graz, Austria, 13–16 May 2012.
Current address: Via Gradenigo 6/B, I-35131 Padova, Italy.
Information 2018, 9(5), 122; https://doi.org/10.3390/info9050122
Submission received: 7 April 2018 / Revised: 4 May 2018 / Accepted: 7 May 2018 / Published: 16 May 2018
(This article belongs to the Section Information and Communications Technology)

Abstract

:
In factory automation and process control systems, hybrid wired/wireless networks are often deployed to connect devices of difficult reachability such as those mounted on mobile equipment. A widespread implementation of these networks makes use of Access Points (APs) to implement wireless extensions of Real-Time Ethernet (RTE) networks via the IEEE 802.11 Wireless LAN (WLAN). Unfortunately, APs may introduce random delays in frame forwarding, mainly related to their internal behavior (e.g., queue management, processing times), that clearly impact the overall worst case execution time of real-time tasks involved in industrial process control systems. As a consequence, the knowledge of such delays becomes a crucial design parameter, and their estimation is definitely of utter importance. In this scenario, the paper presents an original and effective method to measure the aforementioned delays introduced by APs, exploiting a hybrid loop-back link and a simple, yet accurate set-up with moderate instrumentation requirements. The proposed method, which requires an initial calibration phase by means of a reference AP, has been successfully tested on some commercial APs to prove its effectiveness. The proposed measurement procedure is proven to be general and, as such, can be profitably adopted in even different scenarios.

1. Introduction

At the lowest level of factory automation systems, the communication infrastructure typically supports fast cyclic exchange of small payload data packets between sensors/actuators and controllers [1]. A controller cyclically polls its attached nodes under tight timing requirements, which, in turn, imply that packet delivery is subject to strict determinism where jitter has to be kept as low as possible and, in any case, below a specified threshold [2]. Time guarantees may also have to be provided for aperiodic traffic, since event notification messages (the most common type of aperiodic traffic in industrial applications) require real-time operations with quite tight delivery deadlines.
The demanding requirements of this communication environment, briefly summarized in Table 1, have been largely addressed by wired networks such as field-busses (e.g., Profibus DP [3], CANopen [4] and DeviceNet [5] to mention some) and Real-Time Ethernet (RTE), which is an effective family of communication systems for factory automation developed in the last decade [6,7,8,9].
Moving to the wireless domain, although dedicated industry standard solutions are currently available for process automation scenarios, such as WirelessHART and ISA 100.11a [10,11,12], so far stand-alone wireless networks have not been widely considered at the field level in factory automation applications. Wireless links can nevertheless be found wherever network nodes can be used to effectively solve mobility or cabling-related issues in factory automation and process control systems. In this context, the IEEE 802.11 wireless LAN family of standards provides an effective answer to the conflicting needs of cabling simplification, coexistence, real-time behavior and reliability [13,14,15], since it is able to provide performance theoretically comparable to those of RTE networks up to factory automation contexts.
As a matter of fact, a common employment of the IEEE 802.11 WLAN is the development of hybrid solutions that include wireless extensions of wired networks [16]. A hybrid wired/wireless network is obtained by the interconnection of two different communication subsystems by means of an Intermediate System (IS), which is inserted at a specific layer of the ISO/OSI stack. In an IEEE 802.11-based wireless extension of a wired RTE link, interconnection takes place at the Data Link-Layer (DLL), just above the physical layer, by means of an Access Point (AP) acting as a bridge between the two sides (Figure 1). This provides connectivity in a so-called “infrastructured” network. In the real-time industrial scenario, such hybrid solutions are often deployed to solve reachability issues and to serve a distant or separate production cell in a factory automation system. In this perspective, we may find on the wired segment a set of Controlled Nodes (CN) connected on an RTE segment, and then bridged through the AP with the Wireless Controlled Nodes (WCN) on the wireless segment. For this reason, the wireless segment is interested by traffic profiles mostly relevant to automation purposes, hence with real-time and determinism requirements.
In view of the stringent requirements about factory automation networks, it is worth highlighting that the adoption of IEEE 802.11-based solutions might introduce several sources of delay, which, in turn, may significantly impact the timeliness of the network and consequently the performance of the whole factory automation system, as already addressed in [17]. We need to mainly recognize two different sources of delay, that is, those strictly relevant to the IEEE 802.11 protocol behavior (i.e., channel access functions, random backoffs, etc.) and those due to the adopted network devices. As far as the first is concerned, unfortunately the Medium Access Control (MAC) layer of the WLAN standard is based on a random channel access strategy not specifically designed to serve deterministic real-time scenarios, as will be further discussed next in the paper. This strategy makes the overall delivery time of a frame a function of the channel condition and, in practice, of the number of retransmissions and the corresponding transmission rates needed to obtain a successful reception. Modeling this behavior in a closed form is theoretically though [18], and in any case results in a stochastic behavior. Often, in a real-time perspective, it results in being very effective to provide an upper bound of the frame delivery time as a function of the transmission attempt [19].
Conversely, looking at the latencies relevant to the adopted network devices, in the discussed configurations, the complexity of the bridging operation represented in Figure 1 highlights the fact that particular care has to be paid to the possibly non-negligible random delays that the AP may introduce while forwarding data from the wired part of the network to the wireless segment and vice versa. Being a potentially critical device, the performance figures of an AP should be known and well understood in advance. Unfortunately, AP specifications are seldom documented with the necessary degree of detail and, particularly, frame forwarding delays and queue management are usually not provided, even for devices specifically conceived for industrial applications [20,21].
From the perspective of real-time factory communication systems, when an AP is deployed to extend a wired RTE segment, such a device is required to provide suitable time guarantees, since AP-related latencies together with the aforementioned protocol latencies may actually constitute a lower bound to the task completion time, eventually limiting the performance of the network itself. Therefore, the characterization of an AP represents a crucial task that has to be pursued via appropriate models and measurements.
The goal of this paper is to address the issue, providing a general, effective and simple-to-use measurement method for characterizing AP forwarding latency, namely D A P . To this aim, the paper presents a calibrated test-set enabling the measurement and discusses the necessary calibration steps, by taking inspiration and origin from the research reported in [22]. In particular, a dedicated hybrid wired/wireless loop-back link is employed where the device under test (DUT) is being placed within the loop. The test-set is first calibrated by means of a characterized reference AP, so that the contributions to total transmission delay that are known to be unrelated to the DUT can be compensated for. Finally, the collected DUT data are post-processed by a deconvolution algorithm to provide the required corrected information. To prove the effectiveness of the proposed method, we present a set of experimental results aiming to show that measurements can accurately characterize AP devices, and could also help verify and validate analytic models.
The final aim of this work is hence to define a general, simple and inexpensive measurement procedure, rather than discuss actual latencies verified in our experiments. In this light, the proposed approach, which has been described in the context of factory automation systems, is demonstrated to be not constrained to a specific field of application and can thus be adopted in several different scenarios.

2. Measurement Test-Set

Since one of the aims of an industrial network is the timely delivery of packets, in a hybrid network there should ideally be no difference, in this respect, between the wired and the wireless segment. Knowledge of the degree of determinism provided for this basic service is a key aspect for the effective implementation of a wireless extension to a RTE network. Unfortunately, AP designers do not usually have such system requirements in mind targeting different applications.
Indeed, an AP is typically realized as an embedded system, running a lightweight operating system (OS) that manages the supported protocol stacks, implements bridging and schedules the execution of traffic and queue management algorithms. The architecture is conceived with general purpose communication, Internet browsing, file sharing, etc. as target applications, so that delays an AP may introduce are not guaranteed nor specified, even for devices declared to be specifically designed for industrial usage [23]. Clearly, this does not represent an issue in general purpose, home or office communications, where the aforementioned delays are much lower with respect to other delay sources and are anyway well managed by more complex protocol mechanisms. Nevertheless, the diverse scenarios provided by the case of industrial communication systems for factory automation share different requirements, where delay sources should be limited to the minimum—in fact, looking at the problem from a real-time system perspective, what is needed is to have network components whose delays are accurately known and characterized, in order to take them into account in the planning of network cycle, or at a scheduling phase.
This shortcoming provided the motivation for development of the test-set presented in this paper. The loop-back scheme shown in Figure 2 is the simplest AP measurement test-set that can reproduce the hybrid network effects of a factory automation system. It can be implemented through the use of a general purpose personal computer (PC) equipped with two communication interfaces, namely an Ethernet card and a wireless LAN adapter.
The device under test is connected to the two interfaces, being stimulated by the traffic patterns generated by the PC and forwarding packets within the communication loop. Packet timestamps taken by the hardware Time Stamp Counter (TSC) of the PC microprocessor allow the characterization of AP time specifications.
In principle, a simple measurement of the one-way delay experienced by a packet through the hybrid link, e.g., outgoing from the controller (Ethernet interface) to its attached wireless slave (IEEE 802.11 interface), is obtained by comparing the send and receive timestamps taken at the respective interfaces. With the aim of reducing measurement uncertainty, a significant option is to perform hardware timestamping. To accomplish this goal, we rely on the TSC, which has been long recognised as a reliable timing source. Moreover, since all generated timestamps are then employed within the same PC, the use of TSC is possibly the simplest solution and, in our opinion, a very practical way to measure latencies with adequate time resolution. As a further consideration, it is worth observing that the adoption of more structured solutions, such as the IEEE 1588 standard, even though they may provide intrinsic traceability to a calibrated time source, appears to be rather overkill for the purpose of designing a simple test set, given also the intrinsic synchronization of the proposed measurement setup. Providing accurate hardware timestamping is still by no means trivial and a more detailed discussion of its implementation by TSC in this work is necessary.

2.1. Timestamping

Packet timestamping is a well-known problem in network measurement, where an acceptable tradeoff between accuracy and implementation complexity has to be defined. In fact, the time when a packet physically leaves a network interface can be determined precisely, but this typically requires dedicated measurement hardware. On the other hand, monitoring a communication interface at a higher-level protocol layer is often easier, but timestamp uncertainty may be larger, since timing jitter with respect to a low-level hardware timestamp tends to be introduced as the packet progresses through the lower protocol layers.
Measuring network interface boards providing hardware timestamping have been developed for a number of research and commercial projects, such as the well-known Endace DAG Cards (Data Acquisition and Generation packet capture cards [24]). In general, these boards provide high-resolution counters and a stable internal clock, which can be synchronized to an external reference such as a GPS signal for distributed network measurements or for synchronization purposes.
For the application considered in this work, the level of cost and complexity associated with such hardware appears to be unjustified. However, as the test-set is aimed at the characterization of a single device, hardware timestamps can be obtained from a common time reference within the PC that manages the test. This results in a simpler measurement set-up, where any possible synchronization issue between the clocks of different hardware measuring interfaces is avoided. Measurements can prove equally reliable, provided suitable calibration steps are introduced so that measurement uncertainty can be mostly attributed to residual short-term clock instabilities.
It is worth observing that different possible time reference sources actually exist within a computing system and have been used for time related functions in operating systems, such as Real-Time Clocks (RTCs) or, more recently, the High Precision Event Timer (HPET). These are basically provided by an uncompensated quartz crystal oscillator, typically providing a frequency of about 14.318 MHz, and, while they may result in being adequate for interrupt generation and for triggering scheduling events, they are far from acceptable in code profiling and in time measurement applications, on account of both the comparatively poor resolution they provide and their intrinsic instability.
Conversely, in this paper, our choice has been to adopt a superior high-resolution and low-overhead source for gathering CPU time measurements, that is, the internal microprocessor TSC found in nearly all CPUs of the x86 family [25] that are commonly adopted in PCs and notebooks. This register counts CPU clock cycles, that is it gets incremented internally by the CPU at every single clock cycle from the last CPU power up or reset. A significant observation is that it provides a deterministic way of measuring the flow of processors’ operations, rather than time, which can be theoretically obtained considering the measured CPU frequency. By “deterministic” we mean that TSC values are incremented deterministically and that there is no (easy) way to interfere with the counting process: clearly, reading the TSC value may instead be subjected to non-deterministic latencies.
The specific microprocessor instruction to read the TSC microprocessor register is RDTSC, which returns the 64-bit value stored in the TSC counter as two 32-bit values within the two CPU registers EDX:EAX (general registers of the x86 processor family). A basic snippet of code that allows reading the TSC value within a program written in C language is given in Listing 1. Intuitively, the overhead that is incurred in reading the TSC is basically due to the execution time of this instruction and to the need for transferring the content of these two registers in the main process stack memory.
Information 09 00122 i001
Listing 1: C–language snippet to read the Time Stamp Counter register
It must be emphasized that the introduction of several features to increase modern processors performance, such as power saving, frequency scaling, out-of-order and speculative execution, requires great care in the adoption of the TSC for direct time measurement. Nonetheless, if used cleverly, for current architectures the TSC can provide very high-resolution timestamps (resolutions around 10 ns), and, for this reason, it has already been considered in network monitoring projects (e.g., [26,27,28]).
A trivial feature that affects the accuracy of time stamps taken through the TSC is the frequency scaling, which characterizes almost all modern CPUs, to allow for better power consumption and thermal dissipation. This feature may cause an inaccurate interpretation of the value T T S C read from the TSC, which indeed accounted for CPU cycles, and not directly time. The relationship with current time t c t is through the CPU’s actual frequency f c , that is, t c t = T T S C / f c . Additionally, we should consider that modern architectures are typically multi-core. Each CPU core has its own TSC register and one should take into account that there are no guarantees in general that all TSC registers in the system are kept synchronized, nor that their tick rate is equal throughout time.
In our work, we avoided these issues by disabling both power saving features and frequency scaling at the operating system level, imposing for all the CPU cores in our system to work at the nominal maximum frequency. Moreover, we programmed our traffic generator so that the corresponding process would be executed always on the same CPU core, by specifying a suitable CPU affinity mask to the system scheduler.
A further issue is due to the out-of-order execution feature typically found in modern processors, where instructions are not necessarily performed in the same order they are written in the code. Hence, the RDTSC instruction can be shifted before or after its intended location, further decreasing the accuracy of its value. To avoid such an effect, the most effective action is to insert a “serializing” instruction just before the RDTSC one, i.e., an instruction that forces all the other operations to finish before its execution. A typical example of such an operation is the CPUID instruction.
All the aforementioned precautions have been introduced within the traffic generator software purposely designed for this work, with the aim of reducing as much as possible the uncertainty associated with the timestamping procedure. According to the literature [29], it is indeed possible to state that the short-term stability of a carefully programmed TSC, which is the main concern for the purposes of this work, can be considered good enough and satisfactory for the intended goals. In addition, given that all timestamps are generated and employed within the same PC, hence sharing the same time source, the use of TSC is possibly the simplest solution and, in our opinion, a very practical way to measure latencies with adequate time resolution, without resorting to complex synchronization systems such as IEEE 1588.
As a final note, we highlight that the timestamping procedure discussed here is methodologically general, and as such it may be adopted even if a different processor architecture is chosen. For instance, the ARM processor architecture does not provide a TSC register, but uses instead a Performance Monitor Unit (PMU) to a similar extent.

2.2. System and Traffic Model

In factory automation, several traffic profiles are multiplexed on the same network, which can be mainly categorized into real-time isochronous (i.e., periodic) exchange of small frames, real-time asynchronous frames (i.e., alarms, set points, etc.) and classic general purpose traffic not subjected to real-time constraints. In this framework, the different profiles are also characterized by different average length of the involved frames. As an example, the use of longer packets (several hundreds to thousands of bytes) is typically relevant to background non real-time traffic, such as Internet traffic, management, etc., for which the AP forwarding latency is typically not an issue, as may be also inferred by the fact that in several RTE protocols this traffic class is possibly delayed or queued to prioritize real-time traffic [30,31,32,33].
The most important pattern of traffic within a typical automation network is relevant to the transfer of sensor/actuator readings within a periodic cycle, under timeliness constraints and typically based on a simple Time Division Multiple Access (TDMA) scheme (Figure 3). New packets, typically of small sizes, are sent within cycle slots, and hence the inter-departure times may be either fixed (the most common situation) or variable on a rather discrete basis.
For the sake of this work, the system is designed taking into account this most critical type of traffic, i.e., small, cyclic data transmission, hence subjected to real-time and deterministic constraints. In this traffic model, a new packet is sent on a regular basis every t c y c l e seconds. In addition, the inter-departure time between two consecutive packets can be easily varied dynamically in order to emulate different design solutions of a factory automation system.
To implement such a traffic profile, a suitable traffic generator software has been designed, running within the PC at the application level (refer to Figure 2). Specifically, it delivers a packet to the specified communication interface (typically the Ethernet port) and waits for the same packet arriving back from the other interface. This software allows the tuning of different communication parameters, such as the length of packets, the inter-departure time, etc.
This has been purposely developed with the goal of reducing the impact of latencies due to OS interrupts, by adopting low-level system calls towards the OS Linux kernel and the processor registers. In addition, carefully programmed “raw” sockets have been used, in order to avoid any protocol overhead both at the networking and the processing levels. Relying on low-level calls helps reducing packet time stamping uncertainty, since the sequence of computations and call is accurately designed and optimized for just the required operations, hence minimizing the intervention of “generic” libraries and foreign uncontrolled pieces of code.
Timestamps are taken by the traffic generator itself, following the guidelines provided in Section 2.1, at the interfaces with the relevant protocol layers. With reference to Figure 2, a packet is delivered by the packet generator to the kernel at the timestamped instant t 1 . The time stamp t 2 indicates the instant when the process receives the same packet back through the loop. Adopting the precautions about TSC readings discussed above, and taking into account the microprocessor frequency, this allows to obtain the delay measured at the OS level as the difference D P C = t 2 t 1 . In the rest of the paper, we will refer to this delay as D P C , where the prime sign indicates this is the whole delay measured by the traffic generator, and includes both deterministic and random terms, as will be detailed afterwards. It is worth observing, however, that this procedure measures a number of different contributions included in D P C , within which the delay D A P introduced by the AP is somehow hidden.
The differences between the above two quantities are now discussed, with an extended view on removing them by means of test-set calibration.

2.3. Considerations about the Wireless Link

The research literature does not converge on a common setup for the use of IEEE 802.11 in factory automation systems, as well as a standard “industrial” implementation is absent. The main reason is the need to find a shared alternative to the Distributed Channel Function (DCF) channel access function, which in turn represents the most significant source of randomness affecting the frame delivery time [23,34], and that, if possible, should be avoided in real-time communication setups.
However, the alternatives provided by the same IEEE 802.11 specifications (i.e., Point Coordination Function (PCF) and IEEE 802.11e extensions) that could be profitably exploited in the intended scenarios are seldom (or almost never) implemented in real components, even though their theoretical performance figures would solve several issues in these applications. Particularly, with reference to the IEEE 802.11e amendment, it introduced the new Hybrid Coordination Function (HCF) function, enabling two more channel access functions, namely Enhanced Distributed Channel Access (EDCA) and HCF Controlled channel access (HCCA). The latter, as already said, is almost never implemented in real APs. Conversely, EDCA provides support for different traffic classes through the use of increasing Arbitration inter-frame spacing (AIFS) for decreasing priority traffic classes, and the introduction of Transmit Opportunity (TXOP), to provide a time-limited contention free channel access to stations. From a commercial point of view, this has been called WiFi multimedia (WMM), and almost any recent device is able to support at least a part of these functionalities.
There have also been efforts to design new MAC-layer protocols to support real-time operations in industrial WLAN communications, such as RT-WiFi [32] and iWLAN [35] by Siemens (Munich, Germany). The first one is a proposal for a protocol design based on the IEEE 802.11 PHY to enable “real” real-time communications, but at the moment there are no public implementations, despite its high effectiveness. The proprietary system proposed by Siemens in its APs for industrial traffic, namely iWLAN, is based on a variation of the standard PCF not publicly disclosed: scientific works analyzed its performance, but there is no effective way to theoretically model this function and hence to compare its performance with baseline 802.11 systems. In one of our tests, we included a Siemens AP supporting the iWLAN function in order to understand, at an initial stage, to what extent the component behavior differs from that of a simple low-cost commercial one.
In this paper, hence, all devices included in our tests support at least WMM. The adoption of such prioritization functions impacts on two different sides: the transmission time and, eventually, the AP delay. The former reflects in possibly different interframe spaces (IFS) to be accounted for in Equation (1), even if these terms are deterministic, known and defined by the standard. The latter is more relevant to the use of possibly different queues within the AP: however, if we limit to industrial traffic, then it is a common choice to assign this data flow to a single high-priority traffic class.
A further consideration about the wireless link is also necessary. This paper focuses at first on the system calibration of the measurement process, as discussed in the next Section, for which it is essential to provide a high degree of effectiveness, repeatability and reproducibility. Hence, in this initial phase, we have to face an accurate characterization of the different delay terms (see Equation (1) for reference). The presence of retransmissions in this phase, due for instance to collisions/interference, would introduce a further contribution due to backoff times and frame transmission times possibly at different rates (whose values may be unknown since very few APs declare what is the rate selection policy they implement). Actually, even assuming the number of involved retransmissions and the respective rates were known exactly, the distribution of backoff times would add a further random term that would make impracticable the characterization of the whole measurement chain. This explains why a controlled, reproducible and well-known configuration is emphasized in the calibration phase discussed below.

3. Test-Set Calibration

An illustrative sketch about the relationship between D A P and D P C is represented in Figure 4. Here, we highlighted the different terms involved in the frame delivery process. In particular, we indicated generically with D O S the overall latency relevant to the operating system, which includes delay contributions due to the execution of the involved system calls, the processing time required by device driver operations, and latencies within communication interfaces (i.e., Ethernet and wireless card drivers, etc.). A description of the different terms represented in the figure follows.
A data packet is delivered by the traffic generator to the OS kernel at the timestamped instant t 1 . Then, it takes some random time (that is part of D O S ) before this packet traverses the system, is processed by the Ethernet Network Interface Card (NIC) device driver, and finally is actually delivered through the Ethernet transceiver.
After a transmission delay t t x , e t h (defined by the standard), the whole frame is decoded at the physical Ethernet transceiver of the AP at time t 3 . The frame is then passed up to the Data Link Layer (DLL), where protocol conversion from the IEEE 802.3 to the IEEE 802.11 format is performed (see Figure 1). At time instant t 4 , the resulting frame is delivered at the input of the wireless transceiver, where it is used to generate the modulated physical signal to be transmitted. The time interval t 4 t 3 is then the delay introduced by the AP and, apart from protocol conversion, it is composed by various contributions such as queue management, coding, logging, etc.
For the sake of mathematical tractability, wireless transmission follows the rules given by the DCF channel access scheme of the IEEE 802.11 standard, found in [36]. Under the assumptions of an interference free channel and correct transmission at first attempt, which hold for the proposed test-set, the radio chip shall sense the medium for a fixed amount of time ( t D I F S ) and, since it is sensed as idle during this period, the transmission may start, lasting for a specific and easily obtainable transmission time [37]. Therefore, the time D P C necessary to receive a frame back on the PC can be decomposed into the following sum of terms:
D P C = t t x , e t h + D A P + t t x , 802.11 + t D I F S + D O S ,
where the one-way delay is D P C = t 2 t 1 , while delay due to the AP is D A P = t 4 t 3 . Calibration of the measurement set-up is required to infer D A P from the timestamp difference t 2 t 1 . The above assumption of an interference free channel, which guarantees a correct transmission at the first attempt, is enforced by two subsequent steps. First, we carried out a preliminary frequency scan through a spectrum analyzer of the whole 2.4 GHz band, and correspondingly selected the WiFi channel for our experiments as the one less affected by other coexistent WLANs. Second, and most important, we carried out a continuous monitoring of each frame transmission through a traffic analyzer (e.g., Wireshark) located on an independent host PC, as well as our traffic generator software collected several statistics about each frame in order to identify eventual retransmission. Given the particular setup of Figure 2, characterized by a low distance between nodes, a careful selection of channel and a continuous monitoring of the environment, we have verified experimentally that no frames undergo retransmissions during our test.
In Equation (1), signal propagation times can be neglected on both the wired and the wireless segment, since distances among components are very short in the test-set. The terms t t x , e t h , t t x , 802.11 and t D I F S represent, with very good accuracy, deterministic delay contributions defined in the relevant standard documents [36,38], whose parameters and values are reported in Table 2.
Terms represented by capital letters in Equation (1) denote random variables. Indeed, the behavior of the delays introduced by the AP and the PC is not known a priori and, in general, is not deterministic. Since deterministic terms in the general model of Equation (1) can be either calculated or measured, as shown in [37], then Equation (1) can be rewritten to account only for the delays introduced by the AP and OS, considering the random component of D P C :
D P C = D A P + D O S ,
with D P C = D P C t t x , e t h t t x , 802.11 t D I F S .
Delay D O S introduced by the OS kernel is unknown and, as noted, includes contributions associated with both OS latencies and NICs. Moreover, it also depends on an update of the system software, kernel version, active services, etc. This is in fact the only term that can not be measured, neither directly nor indirectly. Its estimation is indeed the goal of the calibration procedure discussed in this section.
Roughly speaking, to determine D O S , the measured AP delay D A P should be subtracted from the corresponding total delay D P C measured at the application level. In practice, however, it is difficult to exactly associate a given measurement of D A P to the specific value of D P C from which it should be subtracted. Consequently, these quantities are more conveniently described in statistical terms by means of their probability mass function (pmf).
Since the pmf of the sum of two random variables can be calculated through the convolution of their respective pmfs, the distribution of the random delay through the PC is, from Equation (2):
p D P C ( z ) = p D A P p D O S ( z ) = k = 0 z p D A P ( k ) p D O S ( z k ) ,
where ⊗ denotes the convolution operator, and p D P C , p D O S and p D A P are the pmfs of the three discrete random variables.
The test setup described in this section allows actual measurements of D P C and D A P to be taken. A measurement session can provide sample values for both D P C and D A P , which can be conveniently described through normalized histograms, representing the empirical pmfs p D P C ¯ and p D A P ¯ (denoted by an overline) of the two discrete random variables. The estimate of the pmf p D O S (denoted by the wide caret symbol ^ ) can be obtained by deconvolution, which is equivalent to computing the cross-correlation of two discrete time signals:
p D O S ^ ( z ) = k = 0 z p D P C ¯ ( k ) p D A P ¯ ( z + k ) .

Direct Measurement of D A P

While the timestamping operation by the TSC provides D P C , to accurately characterize the AP delay D A P , a direct measurement should be preferred. In this perspective, as indicated in Figure 5, we located on the AP’s internal printed circuit board two test points providing hardware-level signaling of the arrival of a frame on the Ethernet port and of the start of radio transmission, respectively. Therefore, using the same system architecture and traffic profile, we were able to measure the delay between the two positive edges of these control signals, occurring at times t 3 and t 4 , through the use of a high resolution digital sampling oscilloscope (DSO).
The whole measurement setup is sketched in Figure 6. In particular, it is shown that, on the same PC, two fundamental processes are executed, i.e., the traffic generator software that provides the suitable traffic pattern and collects the needed statistics for the experiments, and the LabView virtual instrument (National Instruments, Austin, TX, USA) purposely designed to directly control the DSO. In this way, each measurement session provides delay readings synchronously collected both through the PC and through the oscilloscope.

4. Access Point Characterization

The experimental procedure involving oscilloscope measurements presents, however, some drawbacks that limit its application. As suggested by Figure 5, direct measurement of AP delay requires “invasive” and device-dependent operations, which are not very suitable for routine AP characterization. For example, it may not always be practical to look for suitable test points within the AP device under examination, nor are the needed pins available in every device, hence this is not an effective general route to estimate D A P .
Instead, knowledge of p D O S ^ obtained through the use of an already characterized “reference” AP can allow for inferring delay statistics of any new AP under test. It has been observed that Equation (4) provides the same results with different APs, as long as the OS level is not changed. Experimentally, this has been seen to hold until low-level software layers (kernel, drivers, etc.) are not updated. Therefore, once the test-set has been purposely characterized, by exploiting this assumption, a simple yet effective way for estimating the delay introduced by any AP under test can be devised:
  • estimation of the pmf of the delay D O S introduced by the operating system and the PC communication boards. This test-set calibration step can be effectively carried out through the use of a well-known reference AP with metrologically characterized delay.
  • a new set of delay values D P C t e s t is collected with the new AP under examination, whose delay is called D A P t e s t in the following, according to the scheme of Figure 2. This step is relatively quick, simple to perform and non–invasive.
  • From the empirical pmf p D P C t e s t ¯ of these delays, and following the same passages that led to Equation (4), one has:
    p D A P t e s t ^ ( z ) = k = 0 z p D P C t e s t ¯ ( k ) p D O S ^ ( z + k ) ,
    which estimates the required probabilistic description of the forwarding latency time for the AP under investigation.

5. Experimental Results

The current section presents the outcomes obtained through the adoption of the calibrated test-set described above, by describing a thorough measurement session on real devices.
The reference AP we adopted in our work is a general purpose off-the-shelf available one, namely a 3Com OfficeConnect 3CRWE454G75, which supports a 10/100 BASE-TX Ethernet connection and an IEEE 802.11 g/e compliant infrastructured network, in which we enabled the Wireless Multimedia Extensions (WMM) option, which is a subset of the IEEE 802.11e specifications to support traffic profiles. In the presented experimental campaign, another AP was taken into account as a term of validation of the current procedure. Namely, it is a Siemens Scalance W784-1, which is an industry-grade device particularly designed for use in industrial WLANs, for which it may be expected that a lower forwarding delay is introduced, hence allowing for verifying the validity of the methodology proposed here.
The test beds presented in Section 2 have been employed to obtain samples of the delays introduced by this reference AP. Particularly, the PC exploited during tests was a Dell Optiplex 960 running an Ubuntu 16.04 LTS operating system, with an Atheros AR9287 IEEE 80211n compliant wireless NIC, and an Intel 82567LM-3 Ethernet NIC. In addition, the high resolution digital sampling oscilloscope was an Agilent DSO 6032A. It is worth observing that, in our experimental setup, we have not resorted to the use of a real-time OS. Actually, this choice has been carried out with a precise intent, i.e., to assess that the method is general and not related with the use of a particular or specific environment. Indeed, the use of a RT OS would have provided a better performance in terms of variance of the D O S term (not necessarily in its magnitude), but, in this work, that was not the focus. Moreover, it has to be observed that, in a typical RT OS, the system is generally able to behave under real-time constraints if all the involved components, included the device drivers, support that feature (which means that they have been programmed having in mind what are the requirements of a real-time system, hence avoiding unbounded latencies, spin locks, etc.). Unfortunately, most of the device drivers of commercial WiFi cards are seldom able to respect real-time constraints. Hence, in this case, even if the OS is a RT one, the wireless communication section would have been carried out outside the real-time path of execution, leading to unbounded latencies to possibly arise.
The experimental campaign presented in the following is based on the execution of measurement sessions involving at least 10.000 frame exchanges, in order to obtain a good statistical significance of the outcomes. Moreover, for the sake of evaluating the repeatability of the procedure, we performed the same experiments in different days and hour of day, always obtaining consistent results.
Figure 7 shows the empirical pmfs for the delays D P C and D A P measured with the setups of Figure 2 and Figure 5, respectively. The figure is relevant to tests with inter-departure time of packets set to the lowest value of t c y c l e = 3 ms. Given the high resolution of both TSC and oscilloscope raw data, in the post–processing phase, we have chosen a histogram bin width of 1 μ s.
As a matter of fact, we have carried out experiments with different inter-departure times, as indicated by Table 2. The obtained outcomes are substantially analogous to the ones provided in Figure 7, and hence the respective figures are not reported here to avoid clutter.
It is also worth highlighting that the choice of the values reported in Table 2 comes from the consideration that this work focuses on the measurement of the AP latency under non-saturated conditions, i.e., when the AP is not overwhelmed by packets coming from the Ethernet connections, so that the queue is not saturated and/or packets have not to be dropped by the AP. This simplifying assumption, which avoids the need to take into account the model for queue management within the AP in Equation (1), is actually appropriate for the field of industrial automation, since, although the traffic profiles typical of that scenario are characterized by very stringent constraints on the timeliness, they are also characterized by a very low throughput, often allowing the networking devices (and APs in particular) to work under rather under-loaded conditions.
The rightmost curve is the estimated pmf of the delays measured through the software p D P C ¯ , while the leftmost one, p D A P ¯ , is that collected through oscilloscope measurements. Please note that we have already subtracted the deterministic contributions from the measured value D P C , actually showing D P C . Looking at Figure 7, a shift between the two pmfs of roughly 50 μ s can be observed, so that it is expected that the latency of the OS will result, from the application of the deconvolution method, in a pmf centered around that value.
Indeed, we applied the proposed calibration scheme to our data, and the result of Equations (4) and (5) is shown in Figure 8. Particularly, the leftmost PDF is the result of the application of Equation (4), showing the estimation of p D O S ^ . The expected behavior of D O S is therefore confirmed by this curve, whose peak is found at 52 μ s and which highlights that operating system latencies together with those due to the network interfaces on the PC (Ethernet and Wireless boards) constitutes in fact a non negligible fraction of the overall delay measurement obtained at traffic generator level D P C . Moreover, as it is trivially expected, D P C changes from machine to machine, or if any of the adopted network cards is replaced, as it has been confirmed by other tests we performed, not shown here for the sake of brevity. Nonetheless, the setup here proposed proved to be able to provide accurate results independently of these changes because of the use of a reference AP with metrologically characterized delay.
To provide an initial assessment that the procedure produced an accurate estimate of pfm, in Figure 8, we have also provided a comparison between the estimated and the measured pmf of the 3Com AP. The measured AP pmf is represented with the dashed thick blue line, while, for the estimated pmf, we used a solid gray area.
Nonetheless, it is worth observing that the shape of the pmf p D O S ^ (solid orange area) is smoother than that directly measured through the oscilloscope p D A P ¯ and TSC readings p D P C ¯ , as can be noticed both in Figure 7 and in the rightmost pmf in Figure 8. Indeed, the different probability mass functions are represented through normalized histograms, where a specific and meaningful bin width has to be selected. This hence produces an implicit filtering operation on the acquired samples, so that we have:
p D X ¯ ( z ) = p D X F ( z ) = k = 0 z p D X ( k ) F ( z k ) ,
where p D X is the theoretical pmf of the original acquired data (without filtering) and the filter F ( k ) is defined as
F ( k ) = 1 n , 0 k n 1 , 0 , elsewhere ,
with n being the length of the filter. Moreover, the subsequent application of (de)convolution or, similarly, cross-correlation operations, as in Equations (4) and (5), to obtain the needed estimates proposed in this work accentuates the effect of this filtering operation.
Therefore, returning to look at Figure 8, we have to consider that both measurement procedures (oscilloscope and TSC) return data with a granularity in the order of tens of nanoseconds and that we built the pfms using bins that are 1 μ s large. Hence, to effectively compare the measured p D A P ¯ with the estimated one, we have to apply to the former the same number of filtering operations involved in the estimation of the latter. We actually already carried out this post–processing in Figure 8, and as such we may definitely state that there is a very strong agreement between the estimated AP forwarding latency and the measured one. Furthermore, it is possible to give a rough estimation of the goodness of fit, adopting the normalized root mean square (RMS) difference between the pmfs as a performance indicator of the method. To this regard, a value well below 1 % is obtained, providing a raw figure of merit of the whole measurement procedure accuracy.
To further assess the performance of the proposed approach, we have applied the described method to another AP that were previously characterized both according to the proposed black-box estimation method (through the set-up of Figure 2), and according to the same direct measurement method used to characterize the reference AP, i.e., through direct measurements with a high-resolution digital sampling oscilloscope. Namely, the new access point is a Siemens Scalance W784-1, which is an industry-grade device particularly designed within industrial WLANs, for which it may be expected that a lower forwarding delay is introduced.
The results of the application of the characterization procedure described in this work to this new AP are summarized in Figure 9. In the figure, the leftmost solid orange area is the estimated p D O S ^ , determined before as the result of the measurement test-set calibration. The rightmost solid gray area is the pmf relevant to the delay D P C S , i.e., measured at the OS level with the loopback setup of Figure 2 and with the new AP as the device under test. The central solid dark gray area is the final result of the estimation of the delay D A P S introduced by the new AP, and the comparison with the measured delay (dashed thick blue line) confirms again the goodness of the estimation procedure.
As a significant observation, we may state that, as expected, this industry-grade AP introduces a nearly 60 μ s lower forwarding latency than the one introduced by the reference AP, which is a commercial off-the-shelf office device. Nonetheless, we may also observe that, despite the Siemens Scalance W784-1 AP being realized for the management of time-critical industrial traffic, its forwarding latency is nevertheless considerable (about 250 μ s) and associated with a non-negligible randomness, which has to be taken into account for the deployment of real-time communication tasks in the system. This is a fitting example of the vital information that can be gathered by the test set-up presented in this work.
Nonetheless, it is worth highlighting that, given that the focus of this paper is on the measurement system rather than on the actual delay results, it is beyond our intentions to provide a performance comparison between one AP and another one, also given that the two considered APs belong to very different device classes. Conversely, these final figures and experiments are intended only to demonstrate the validity and accuracy of the measurement method in the given application context.
Finally, it is worth drawing some considerations about the time measurement uncertainty associated with the proposed estimation procedure. Several factors contribute to the overall expanded uncertainty, the most significant being the measurement procedure for the metrological characterization of the reference AP through the oscilloscope, the software time stamping operations, the post-processing of data to obtain the empirical pmfs. As far as the time stamping is concerned, the TSC has a resolution which is determined by the internal CPU frequency multiplier, typically in the range 10–20. Since the clock frequency on the machine used in these experiments is 2.66 GHz, the resolution may be considered roughly 10 ns. However, considering the different sources of uncertainty cited in Section 2.1, and some test carried out to assess the overhead involved in TSC reading operation, it may result in being safe to overestimate the accuracy related to the software time stamp and set it to one order of magnitude greater, i.e., around 100 ns.
The time resolution of the oscilloscope is on the order of the 2 ns, but, for the kind of measurement (a time difference) and looking at the instrument data sheet, the uncertainty may be set to about 50 ns.
The histogram bin width in Figure 7, Figure 8 and Figure 9 has been set to 1 μ s. This means that, considering the aforementioned uncertainties, there is quite a minimal chance that samples at the boundary between two bins are misplaced. Hence, it may be safe to consider that the accuracy involved in the post-processing of data is not significantly degraded during these operations, and can be set to 2 μ s in the worst case. Filtering effects due to consecutive applications of Equations (4) and (5) tend to further decrease this accuracy. However, since the final estimation of the AP forwarding delay D A P t e s t requires actually two steps of (de)convolution, we may assume that the overall uncertainty associated with the proposed estimation procedure is no larger than 5 μ s.

6. Conclusions

This paper proposed a calibrated test-set for the characterization of the forwarding delay introduced by an Access Point, used to forward packets from/to a wired real-time industrial Ethernet segment to/from a wireless IEEE 802.11 one. The proposed approach exploits the availability of a reference AP, which is at first metrologically characterized through the use of a high-resolution digital sampling oscilloscope, and applies a deconvolution algorithm to obtain the characterization of the measurement system.
Provided that a reference AP has been made available for the initial calibration step, the method reveals to be easy to perform, fast, accurate and does not require expensive dedicated instrumentation, allowing the characterization of the forwarding delay introduced by any other AP under test in a non-invasive procedure.
Knowledge of the delay introduced by these kind of devices is a very significant topic in the design of wireless communication networks for factory automation systems, where deterministic timings are often required. In the case of an AP used to extend a wired network with a wireless segment, the randomness it introduces in delivering packets must be included in the calculation of the inter-polling time between two consecutive nodes, but such relevant parameter is usually neither predictable nor specified by manufacturers. In a deterministic, soft real-time context, such as that of industrial automation, this forwarding delay has to be carefully considered in order to maximize the chance that the system is able to respect deadlines.
As a future development of this work, further experiments have to be carried out in order to further characterize the method with different APs, potentially supporting more IEEE 802.11 recent features. Moreover, tests in different channels and environment conditions have to be carried out, in order to assess the methodology and also obtain a latency characterization when the device is deployed in real industrial and automation environments.

Author Contributions

F.T. conceived and performed the experiments, and analyzed the data; C.N. and S.V. contributed to the analysis of data and to the refinement of the methodology; these authors equally contributed to writing the paper. M.B. was involved in the first version of this work, and revised the final version of the paper.

Funding

The presented work has been conceived originally under the support of the Italian Ministry for University and Research (MIUR) research project PRIN 2009—“Characterization and performance measurement in hybrid smart transducer networks: innovative experimental methods and instrumentation”—Contract No. 2009ZTT5N4_001.

Conflicts of Interest

The authors declare no conflict of interest. Moreover, the founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

References

  1. Zurawski, R. (Ed.) Industrial Communication Technology Handbook, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2014. [Google Scholar]
  2. Wollschlaeger, M.; Sauter, T.; Jasperneite, J. The Future of Industrial Communication: Automation Networks in the Era of the Internet of Things and Industry 4.0. IEEE Ind. Electron. Mag. 2017, 11, 17–27. [Google Scholar] [CrossRef]
  3. International Electrotechnical Commission. IEC 61158-5: Digital Data Communications for Measurement and Control—Fieldbus for Use in Industrial Control Systems—Parts 5 and 6: Application Layer Service Definition and Protocol Specification, Communication Model Type 3; IEC: Geneva, Switzerland, 2000. [Google Scholar]
  4. CANopen Application Layer and Communication Profile, CiA/DS 301, Version 4.01; CAN In Automation, International Users and Manufacturers Group e.V.: Nuremberg, Germany, 2000.
  5. European Committee for Electrotechnical Standardization. EN 50325-2: Industrial Communication Subsystem Based on ISO 11898 (CAN) for Controller-Device Interface—Part 2: DeviceNet; CENELEC: Brussels, Belgium, 2000. [Google Scholar]
  6. International Electrotechnical Commission. IEC 61784: Digital Data Communications for Measurement and Control—Part 2: Additional Profiles for ISO/IEC 8802-3 Based Communication Networks in Real-Time Applications; IEC: Geneva, Switzerland, 2007. [Google Scholar]
  7. Decotignie, J.D. The Many Faces of Industrial Ethernet [Past and Present]. IEEE Ind. Electron. Mag. 2009, 3, 8–19. [Google Scholar] [CrossRef]
  8. Bello, L.L.; Bini, E.; Patti, G. Priority-Driven Swapping-Based Scheduling of Aperiodic Real-Time Messages Over EtherCAT Networks. IEEE Trans. Ind. Inf. 2015, 11, 741–751. [Google Scholar] [CrossRef]
  9. Ashjaei, M.; Patti, G.; Behnam, M.; Nolte, T.; Alderisi, G.; Lo Bello, L. Schedulability analysis of Ethernet Audio Video Bridging networks with scheduled traffic support. Real-Time Syst. 2017, 53, 526–577. [Google Scholar] [CrossRef]
  10. HART Communication Foundation. Available online: http://www.hartcomm.org/ (accessed on 8 May 2018).
  11. Ferrari, P.; Flammini, A.; Marioli, D.; Rinaldi, S.; Sisinni, E. On the Implementation and Performance Assessment of a WirelessHART Distributed Packet Analyzer. IEEE Trans. Instrum. Meas. 2010, 59, 1342–1352. [Google Scholar] [CrossRef]
  12. International Society of Automation. ISA-100.11a-2011 Wireless Systems for Industrial Automation: Process Control and Related Applications; ISA: Research Triangle Park, NC, USA, 2011. [Google Scholar]
  13. Willig, A. Recent and Emerging Topics in Wireless Industrial Communications: A Selection. IEEE Trans. Ind. Inform. 2008, 4, 102–124. [Google Scholar] [CrossRef]
  14. Ferrari, P.; Flammini, A.; Marioli, D.; Taroni, A. IEEE802.11 sensor networking. Instrum. Meas. IEEE Trans. 2006, 55, 615–619. [Google Scholar] [CrossRef]
  15. Bertocco, M.; Gamba, G.; Sona, A.; Tramarin, F. Investigating wireless networks coexistence issues through an interference aware simulator. In Proceedings of the IEEE International Conference on Emerging Technologies and Factory Automation 2008 (ETFA 2008), Hamburg, Germany, 15–18 September 2008; pp. 1153–1156. [Google Scholar] [CrossRef]
  16. Cena, G.; Valenzano, A.; Vitturi, S. Hybrid Wired/Wireless Networks for Real-Time Industrial Communications. IEEE Ind. Electron. Mag. 2008, 2, 8–20. [Google Scholar] [CrossRef]
  17. Vitturi, S.; Tramarin, F.; Seno, L. Industrial Wireless Networks: The Significance of Timeliness in Communication Systems. IEEE Ind. Electron. Mag. 2013, 7, 40–51. [Google Scholar] [CrossRef]
  18. Bianchi, G. Performance analysis of the IEEE 802.11 Distributed Coordination Function. IEEE J. Sel. Areas Commun. 2000, 18, 535–547. [Google Scholar] [CrossRef]
  19. Bertocco, M.; Narduzzi, C.; Tramarin, F.; Seno, L.; Vitturi, S. Estimation and analysis of communication service time in a real-time wireless industrial network. In Proceedings of the 2013 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Minneapolis, MN, USA, 6–9 May 2013; pp. 1838–1843. [Google Scholar] [CrossRef]
  20. Seno, L.; Tramarin, F.; Vitturi, S. Influence of Real Components Behavior on the Performance of Wireless Industrial Communication Systems. In Proceedings of the 2011 IEEE International Symposium on Industrial Electronics (ISIE), Gdansk, Poland, 27–30 June 2011. [Google Scholar]
  21. Betta, G.; Capriglione, D.; Ferrigno, L.; Miele, G. Influence of Wi-Fi Computer Interfaces on Measurement Apparatuses. IEEE Trans. Instrum. Meas. 2010, 59, 3244–3252. [Google Scholar] [CrossRef]
  22. Bertocco, M.; Narduzzi, C.; Tramarin, F. Estimation of the delay of network devices in hybrid wired/wireless real-time industrial communication systems. In Proceedings of the 2012 IEEE International Instrumentation and Measurement Technology Conference, Graz, Austria, 13–16 May 2012; pp. 2016–2021. [Google Scholar] [CrossRef]
  23. Seno, L.; Tramarin, F.; Vitturi, S. Experimental Evaluation of the Service Time for Industrial Hybrid (Wired/Wireless) Networks under Non-Ideal Environmental Conditions. In Proceedings of the Emerging Technologies & Factory Automation (ETFA 2011), Toulouse, France, 5–9 September 2011. [Google Scholar]
  24. Endace DAG Packet Capture Cards. Available online: https://www.endace.com (accessed on 8 May 2018).
  25. Intel® 64 and IA-32 Architectures Software Developer Manuals; Intel®: Santa Clara, CA, USA, 2016.
  26. Tian, G.S.; Tian, Y.C.; Fidge, C. High-Precision Relative Clock Synchronization Using Time Stamp Counters. In Proceedings of the 13th IEEE International Conference on Engineering of Complex Computer Systems (iceccs 2008), Belfast, UK, 31 March–3 April 2008; pp. 69–78. [Google Scholar] [CrossRef]
  27. Pásztor, A.; Veitch, D. PC Based Precision Timing Without GPS. Sigmetrics Perform. Eval. Rev. 2002, 30, 1–10. [Google Scholar] [CrossRef]
  28. Veitch, D.; Ridoux, J.; Korada, S.B. Robust Synchronization of Absolute and Difference Clocks Over Networks. IEEE/ACM Trans. Netw. 2009, 17, 417–430. [Google Scholar] [CrossRef]
  29. Ridoux, J.; Veitch, D. Ten Microseconds Over LAN, for Free (Extended). IEEE Trans. Instrum. Meas. 2009, 58, 1841–1848. [Google Scholar] [CrossRef]
  30. Ethernet POWERLINK Standardization Group. Ethernet POWERLINK Communication Profile Specification V. 2.0; EPSG: Winterthur, Switzerland, 2003. [Google Scholar]
  31. Bello, L.L. Novel Trends in Automotive Networks: A perspective on Ethernet and the IEEE Audio Video Bridging. In Proceedings of the 2014 IEEE 19th Conference on Emerging Technologies Factory Automation (ETFA), Barcelona, Spain, 16–19 September 2014; pp. 1–8. [Google Scholar]
  32. Wei, Y.H.; Leng, Q.; Han, S.; Mok, A.; Zhang, W.; Tomizuka, M. RT-WiFi: Real-Time High-Speed Communication Protocol for Wireless Cyber-Physical Control Applications. In Proceedings of the 2013 IEEE 34th Conference on Real-Time Systems Symposium (RTSS), Vancouver, BC, Canada, 3–6 December 2013; pp. 140–149. [Google Scholar]
  33. Reimann, F.; Graf, S.; Streit, F.; Glas, M.; Teich, J. Timing Analysis of Ethernet AVB-based Automotive E/E Architectures. In Proceedings of the 2013 IEEE 18th Conference on Emerging Technologies Factory Automation (ETFA), Cagliari, Italy, 10–13 September 2013; pp. 1–8. [Google Scholar]
  34. Bertocco, M.; Gamba, G.; Sona, A. Is CSMA/CA Really Efficient Against Interference in a Wireless Control System? An Experimental Answer. In Proceedings of the IEEE International Conference on Emerging Technologies and Factory Automation (ETFA 2008), Hamburg, Germany, 15–18 September 2008. [Google Scholar]
  35. Siemens, A.G. Industrial Wireless LAN: Industrial Features and Current Standards; White paper 2009; Siemens: Munich, Germany, 2009. [Google Scholar]
  36. IEEE 802.11 Working Group. IEEE Standard for Information Technology—Telecommunications and Information Exchange between Systems—Local and Metropolitan Area Networks—Specific Requirements. Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. IEEE STD 2017. [Google Scholar] [CrossRef]
  37. Bertocco, M.; Tramarin, F. A cross-layer simulator for industrial wireless communication systems. In Proceedings of the IEEE International Workshop on Measurement & Networking (M&N2011), Anacapri, Italy, 10–11 October 2011. [Google Scholar]
  38. IEEE 802.3 Working Group. IEEE 802.3 Standard: Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications; IEEE: Piscataway, NJ, USA, 2000. [Google Scholar]
Figure 1. An Access Point serving as a bridge between a wireless extension of a wired network.
Figure 1. An Access Point serving as a bridge between a wireless extension of a wired network.
Information 09 00122 g001
Figure 2. The setup adopted for emulating a simple hybrid industrial network.
Figure 2. The setup adopted for emulating a simple hybrid industrial network.
Information 09 00122 g002
Figure 3. The generated traffic profile.
Figure 3. The generated traffic profile.
Information 09 00122 g003
Figure 4. A schematic representation of the different terms of delay that are measured by the traffic generator, and are included in D P C .
Figure 4. A schematic representation of the different terms of delay that are measured by the traffic generator, and are included in D P C .
Information 09 00122 g004
Figure 5. An illustration of the measurement points within the reference AP, used for measurements with the oscilloscope.
Figure 5. An illustration of the measurement points within the reference AP, used for measurements with the oscilloscope.
Information 09 00122 g005
Figure 6. Representation of the designed test-set calibration setup.
Figure 6. Representation of the designed test-set calibration setup.
Information 09 00122 g006
Figure 7. pmfs of the measured delays for the 3Com OfficeConnect AP (reference).
Figure 7. pmfs of the measured delays for the 3Com OfficeConnect AP (reference).
Information 09 00122 g007
Figure 8. Result of the estimation for the 3Com AP, and a comparison between the measured and estimated AP behaviour.
Figure 8. Result of the estimation for the 3Com AP, and a comparison between the measured and estimated AP behaviour.
Information 09 00122 g008
Figure 9. Result of the estimation for the Siemens Scalance W784-1 AP, and a comparison between the measured and estimated AP behaviour.
Figure 9. Result of the estimation for the Siemens Scalance W784-1 AP, and a comparison between the measured and estimated AP behaviour.
Information 09 00122 g009
Table 1. Typical requirements of industrial control applications.
Table 1. Typical requirements of industrial control applications.
ScenarioNo. of NodesCycle Time/Deadline
Building Automation100010 s
Process Automation10,000100 ms
Factory Automation1001 ms
Power System Automation100100  μ s
Power Electronic Control10010  μ s
Table 2. Communication parameters.
Table 2. Communication parameters.
Description Value
Application sending periods t c y c l e 3 , 5 , 10 , 15 , 30  ms
Application payload sizel46 Bytes
IEEE 802.11 g transmission rates 54 Mb/s
IEEE 802.11 g transmission channel 6 (2.437 GHz)
Short Inter-Frame SpaceSIFS10  μ s
Distributed Inter-Frame Space t D I F S 28  μ s
Slot Time μ s
Max number of retransmissions ( N m a x ) 7
CTS protection Switched off
Encryption Open-system
Transmission time for Ethernet frames t t x , e t h 5.76  μ s
Transmission time for IEEE 802.11 frames @54 Mb/s t t x , 802 . 11 42  μ s
Transmission time for IEEE 802.11 ACKs @24 Mb/s t t x , a c k 36  μ s

Share and Cite

MDPI and ACS Style

Tramarin, F.; Narduzzi, C.; Vitturi, S.; Bertocco, M. A Calibrated Test-Set for Measurement of Access-Point Time Specifications in Hybrid Wired/Wireless Industrial Communication . Information 2018, 9, 122. https://doi.org/10.3390/info9050122

AMA Style

Tramarin F, Narduzzi C, Vitturi S, Bertocco M. A Calibrated Test-Set for Measurement of Access-Point Time Specifications in Hybrid Wired/Wireless Industrial Communication . Information. 2018; 9(5):122. https://doi.org/10.3390/info9050122

Chicago/Turabian Style

Tramarin, Federico, Claudio Narduzzi, Stefano Vitturi, and Matteo Bertocco. 2018. "A Calibrated Test-Set for Measurement of Access-Point Time Specifications in Hybrid Wired/Wireless Industrial Communication " Information 9, no. 5: 122. https://doi.org/10.3390/info9050122

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

Article Metrics

Back to TopTop