# Performance Analysis of IEEE 802.15.4 Compliant Wireless Devices for Heterogeneous Indoor Home Automation Environments

Authors: Juan Antonio Nazabal; Peio López Iturri; Leire Azpilicueta; Francisco Falcone; Carlos Fernández-Valdivielso
Journal: International Journal of Antennas and Propagation
 (2012)

---

## Abstract

The influence of topology as well as morphology of complex indoor scenarios in the deployment of wireless sensor networks and wireless systems applied to home and building automation systems is analyzed. The existence of loss mechanisms such as material absorption (walls, furniture, etc.) and strong multipath components as well as the increase in the number of wireless sensors within indoor scenarios increases the relevance in the configuration of the heterogeneous wireless systems. Simulation results by means of empirical-based models are compared with an in-house 3D ray launching code as well as measurement results from wireless sensor networks illustrate the strong influence of the indoor scenario in the overall performance. The use of adequate radioplanning strategies lead to optimal wireless network deployments in terms of capacity, quality of service, and reduced power consumption.


---

## Body

## 1. Introduction

The use of wireless sensor networks (WSNs) is growing rapidly into a large number of fields of application [1–3], such as building automation systems (BAS), industrial monitoring [4, 5], farming and agriculture [6–9], structural monitoring [10], civil infrastructure state monitoring [11–13], healthcare monitoring [14, 15], location and guiding [16], or security and defense, among others. The future trend is to increase the number of nodes, in order to increase the interaction with users as well as capturing more information from the surrounding environment. On the other hand, the use of building automation systems, especially oriented to home automation, is growing all over the world [17–22]. As time goes by more homes integrate an automation system for intelligently controlling elements such light, heating, and energy management. The connection between the components of these systems has been made typically via electric conducting cables but nowadays the use of wireless technologies for communication with each other is taking a predominant role.In the case of home and building automation systems, the foreseen scenario is indoor, with high complexity related to the topology as well as the morphology. This leads to increased losses, in terms of material absorption as well as to strong multipath propagation. Future systems will tend to use a large number of sensors, in which energy consumption as well as capacity are key issues to be considered.The application of Building Automation systems to residential environments is also called Smart Home systems. In this way, a Smart Home can be defined as the application of automation and integration systems of housing facilities to improve the daily life of final users, which are usually domestic. This technology has been under development during many years with different standards and technologies such as KNX, BACnet, or LON allowing the development of different applications and systems in the last few years [23–26]. All Smart home networks are based on communication between sensors and actuators governed by the intelligence of the system. Over time these systems have evolved incorporating more and more intelligence and decision making, up to ambient intelligence (AmI) concepts. Nowadays, AmI is described as an emerging discipline that brings intelligence to our everyday environments and makes them sensitive to end users. In order to obtain this level of intelligence, the hardware becomes more complex and is necessary to involve a larger number of sensors to obtain a large amount of information achieving a more accurate response. In this scenario, wireless sensors networks play a fundamental role, bringing the “Internet of Things” to the domestic environment, providing communications and intelligence to the devices that surround us in everyday life defining “new” ambient intelligence environments.With the rapid development of the wireless network technologies, the Home Automation systems based on the WSN becomes more and more popular [27–39]. The main advantage of using these wireless sensors is that they are easy and fast to deploy, not requiring any kind of wiring infrastructure. There are many wireless communication technologies available (i.e., Bluetooth, ZigBee [40–42], Wi-Fi, NFC, etc.), most of them working in any of the existent ISM (Industrial, Scientific, and Medical) free bands. For Home Automation systems, aspects like low power consumption and low cost are typical parameters desirable in this kind of networks and because the data amount to exchange is small, the transmission data rate is not an important issue. There are several products in the market that fulfill these characteristics and most of them are IEEE 802.15.4 compliant devices and the most promising of them all. The main radio characteristics of the IEEE 802.15.4 protocol are shown in the Figure 1.Figure 1
IEEE 802.15.4 radio characteristics.The goal of this work is to assess the radio coverage [43–45] and link quality [43] of IEEE 802.15.4 compliant devices in typical real indoor scenarios [46], for optimizing their deployment into WSN for using them on Home Automation systems. The proposed analysis is applicable in principle to a wide range of wireless systems, although it has been particularized for 802.15.4 devices, which can be made extensible to ZigBee if higher layer functionalities are necessary. This type of wireless sensor network exhibit properties such as 5 MHz bandwidth channelization, channel access based on CSMA/CA and low output power in the order of 0 dBm, just to name a few. These properties, together with multiple network configurations and the possibility of including a large number of nodes, pose 802.15.4 networks and ZigBee as candidates in home automation systems for control illumination, household appliance intercommunication, control of climate systems, presence-intrusion detection or home entertainment, among others. The main analysis parameter is link quality, which is given by the packet error ratio (PER), directly related to the signal to noise ratio to be achieved as a function of transceiver sensitivity. The signal to Noise ratio is strongly conditioned by the received power levels, which depend on the radiopropagation environment. Therefore, once the received signal levels are estimated, the link quality parameters can be inferred.The behavior of the radio channel in indoor scenarios [47, 48] is not a trivial issue and heavily depends of the complexity of the environment. The appearance of degradation effects fundamentally due multipath components but also of phenomenon like reflection, refraction, diffraction, and scattering among others make the study of the associated radio channel a complex task [49]. Here it is where this paper focuses its efforts in order to optimize the wireless sensors deployment to achieve a more efficient network coverage and consumption. Usually, empirical based models and simplified deterministic methods are employed (i.e., COST 231, Walfish-Bertoni, Okumura Hata, etc.) [50]. These kinds of methods are fast and easy to calculate but not highly accurate. They require calibration based on measurements in order to give an adequate fit of the results, based on initial regression methods. On the other hand, deterministic methods are based on numerical approaches to the resolution of Maxwell’s equations, such as ray launching and ray tracing (based on geometrical approximations) [51] or full wave simulation techniques (MoM, FDTD, FITD, etc.). These methods are precise, but are time consuming to inherent computational complexity. As a midpoint, methods based on geometrical optics, for radio planning calculations with strong diffractive elements, offer a reasonable trade-off between precision and required calculation time [52–54]. Simulations and measurements have been made in two laboratories of the Public University of Navarre: R&D building’s laboratory no. 5 (scenario 1) and the Radio communication laboratory (scenario 2) depicted in the Figures 2(a) and 2(b).(a) R&D building’s laboratory no. 5 picture. (b) Radio communication laboratory picture.
(a)
(b)These scenarios are complex environments composed of different types of walls (concrete, plywood, etc…) and a variety of different furniture (metallic cupboards, tables, chairs, computers, etc.) heavily affected by signal degradation due to multipath components. The proposed scenarios emulate the behavior of a typical small home’s room and a more complex, bigger location like an office.


## 2. Simulation Technique and Results

In order to analyze the impact of the topology and morphology of the indoor scenario (i.e., domestic household, office building, etc.), in wireless system behavior, initial results can be obtained by simulation. A first approximation can be given by means of empirical based-models, based on analytical expressions derived from nonlinear regression of the scenario under analysis. These models give rapid results, but require calibration based on measurements in order to give an adequate fit of the result, since it is strongly dependent on the environment where the results are being obtained. In this work, the estimation of wireless coverage of scenario 1 has been obtained by applying different models, such as Cost 231, Keenan-Motley, and multiwall models (see Figure3(a)), ITU R. P. 1238 model (see Figure 3(b)) and linear attenuation path model (see Figure 4). The calculations have been obtained considering a frequency of operation of 2.45 GHz and a transmitter power of 18 dBm. As it can be seen from the figures, these models give simplified estimations, in which the complexity of the indoor elements (such as material changes, furniture, windows, etc.) has no significant effect.(a) Spatial distribution of received power (dBm) for a height of 1.05 m in the indoor scenario of Figure2(a) with Cost 231, Keenan-motley, and multiwall models. (b) Spatial distribution of received power (dBm) for a height of 1.05 m in the indoor scenario of Figure 2(a) with ITU R. P. 1238 model.
(a)
(b)Figure 4
Spatial distribution of received power (dBm) for a height of 1.05 m in the indoor scenario of Figure2(a) with Linear Attenuation Path model.In addition to this, a deterministic method based on 3D ray launching is used in order to analyze the indoor scenario. A 3D ray launching algorithm has been implemented in-house, based on MatLab programming environment. It is based on geometrical optics (GO) and geometrical theory of diffraction (GTD). The rays considered in GO are only direct, reflected, and refracted rays. Because of this, abrupt transitions areas may occur, corresponding to the boundaries of the regions where these rays exist. To complement the GO theory, the diffracted rays are introduced with the GTD and its uniform extension, the Uniform GTD (UTD). The purpose of these rays is to remove the field discontinuities and to introduce proper field corrections, especially in the zero-field regions predicted by GO.The basic procedure of the ray launching algorithm is, first, to launch a ray from the transmitting antenna (Tx). Then, the ray is traced to see if it hits any object or is received by the receiving antenna. When the ray impacts with an obstacle, reflection, transmission, and diffraction will occur, depending on the geometry and the electric properties of the object. Figure5 represents the phenomena of reflection and transmission when the ray impacts with an obstacle and the diffraction phenomena when the ray impacts with an edge.Principle of ray launching method: reflection, transmission, and diffraction.
(a)
(b)A plane electromagnetic wave falling to the planar interface between two regular semi-infinite media 1 and 2 gives rise to two plane waves: reflected and transmitted (or refracted). According to the Snell’s law [55], the reflection coefficient R⊥ and transmission coefficient T⊥ are calculated by
(1)T⊥=Et⊥Ei⊥=2η2cos(Ψi)η2cos(Ψi)+η1cos(Ψt),R⊥=Er⊥Ei⊥=η2cos(Ψi)-η1cos(Ψt)η2cos(Ψi)+η1cos(Ψt),
where η1=120π/εr1, η2=120π/εr2, and Ψi,Ψr, and Ψt are the incident, reflected, and transmitted angles respectively.For the parallel (or magnetic) polarization the magnetic field vector of the incident wave is perpendicular to the plane of incidence. Then, the reflection and transmission coefficientsR∥ and T∥ can be calculated by
(2)R∥=Er∥Ei∥=η1cos(Ψi)-η2cos(Ψt)η1cos(Ψi)+η2cos(Ψt),T∥=Et∥Ei∥=2η2cos(Ψi)η1cos(Ψi)+η2cos(Ψt).Once the parameters of transmissionT and reflection R are calculated, and the angle of incidence Ψi and Ψt, the new angles (θr,ϕr) of the reflected wave, and (θt,ϕt) of the transmitted wave can be calculated.The finite conductivity two-dimensional diffraction coefficients are given by [56–58] as follows:
(3)D∥⊥=-e(-jπ/4)2n2πk×{cotg(π+(Φ2-Φ1)2n)F(kLa+(Φ2-Φ1))+cotg(π-(Φ2-Φ1)2n)F(kLa-(Φ2-Φ1))+R0∥⊥cotg(π-(Φ2+Φ1)2n)F(kLa-(Φ2+Φ1))+Rn∥⊥cotg(π+(Φ2+Φ1)2n)F(kLa+(Φ2+Φ1))},
where nπ is the wedge angle, F,L, and a± are defined in [51], R0,n are the reflection coefficients for the appropriate polarization for the 0 face or n face, respectively. The Φ2 and Φ1 angles in (3) would refer to the angles in Figure 6.Figure 6
Geometry for wedge diffraction coefficients.Within the considered indoor scenario, several sources (which can emulate sensors connected by wireless technology, WLAN or femtocells, as part of an Intelligent Home or Automated Building) can be placed, in which wireless power is converted into a finite number of rays launched within a solid angle. Parameters such as frequency of operation, radiation diagram of the antennas, number of reflections, separation angle between rays, and cuboid dimension can be fixed.A view of the indoor scenario (which correspond to the “R&D building’s laboratory No. 5” shown in Figure2(a), including indoor elements such as furniture, doors and walls) is shown in Figure 7(a). In Figure 7(b), a representation of the ray launching procedure is shown, with a three dimensional calculation scheme. The scenario is subdivided in cuboids, in which the calculation of electrical field values in vector format are performed and processed in order to estimate parameters such as received power levels or power delay profiles, as a function of the spatial observation point.(a) R&D building’s laboratory no. 5, proposed for deterministic radio channel simulation. (b) Ray launching representation for the indoor scenario. Rays are launched given the solid angle definition within the simulation parameters.
(a)
(b)In order to analyze the influence of the topology and morphology of the wireless network, the indoor simulation scenario depicted in Figure2(a) has been simulated. Figure 8 shows the simulation results in the same points of the measurements. It is observed that results are more accurate with deterministic model than empiric ones, given by the consideration of the elements within the indoor scenario. The simulations have been performed considering a frequency of operation of 2.45 GHz and a transmit power equal to 18 dBm.Figure 8
Bidimensional distribution of received power (dBm) for a height plane of 1.05 m in the indoor scenario of Figure2(a) calculated with the 3D ray launching algorithm.Figure9 shows the comparison between real measurements, empiric models and deterministic model. As it can be seen, there is good agreement between measurement results and 3D ray launching results, whereas there is worse agreement with empirical based models in general. The illustration correspond to the values of X=0.5 along the Y-axis, with higher discrepancies at certain points, due to averaging differences in the cuboid and equivalent antenna volume. The adequate correlation between simulation and measurement results validates the simulation results for the complete scenario. As stated previously, the determination of the received signal levels is the key parameter in order to analyze the overall link quality of the wireless sensor network nodes.Figure 9
Comparison Measurements versus different Propagation Models forX=0.5 m along the Y-axis.Several simulations have been performed in different locations of the transmitter to verify that the interaction with the elements within the indoor scenario are considered and to stress the fact that different material properties play a key role in the overall performance of the wireless system.Figure10 shows the received power for two different heights in the indoor scenario with the transmitter fixed at the point (1.8, 5.34, 1.05) meters. Once the values of received power can be estimated within the scenario, information related to the performance of wireless systems can be analyzed. As an example, Figure 11 represents the signal to noise ratio for the same heights in the scenario as in the previous case. This information can be used in order to consider the most adequate deployment strategy of a set of wireless sensor networks within the indoor scenario, in order to increase signal quality, whilst maintaining the optimal wireless power transmission (and hence energy consumption) of the system.Spatial distribution of received power (dBm) for different heights in the indoor scenario of Figure2(a) obtained by means of 3D ray launching algorithm.
(a)
(b)Spatial distribution of signal to noise ratio for different heights in the indoor scenario of Figure2(a) with the 3D ray launching algorithm.
(a)
(b)As it can be seen, there is noticeable variation even in the case of relatively small distances. This is due to the particular electromagnetic phenomena occurring within the scenario, such as fast fading, which is the most relevant, that is due to the multipath components, strongly dependent of the morphology and topology of the scenario considered. As for consideration of computational error, the corresponding simulation error is defined as the difference between the measured and simulated values of the path loss at any time. The resulting mean standard error is 0.501 and the standard deviation 1.585, indicating that the simulation method is working properly. It is also worth noting that the simulation results indicate that the received signal levels are above the sensitivity threshold of conventional 802.15.4 transceivers, usually below −80 dBm and dependent on the signal to noise ratio within the region of operation.Additional results of signal to noise ratio for different height planes are shown in Figure11, which confirm the variation as a function of the position of the receiver within the bidimensional plane. Once again, this is a consequence of the changes in the distribution of materials and elements within the indoor scenario, which is responsible for the components of multipath propagation, which is very significant in this type of scenarios. To illustrate the relevance of this propagation mechanism the power delay profile for a given point of the scenario is shown in Figure 12. As it can be seen, there is a large number of echoes in the scenario, within a time span of approximately 15 ns to 90 ns, corresponding to distances from 0.5 meters to 2.5 meters. The large amount of echoes within such a short distance is coherent with the complexity of the scenario (elements such as furniture) as well as the material properties at the frequency of operation.Figure 12
Power-delay profile at point (1.8, 3.04, 1.5) m in the indoor scenario.In order to illustrate the dependence with spatial distribution, Figure13 represents how the received power is distributed along the X- and Y-axis for different heights. The strong dips in received power level are due to destructive addition of multipath components, described by statistically by fast fading. This information is useful in the estimation of optimal position of sensor elements within the scenario, in order to obtain the highest possible reception value by carefully analyzing the deployment strategy.Distribution of power for different points ofY along the X-axis and for different heights.
(a)
(b)In addition, several simulations of the indoor scenario “radio communication laboratory” (Figure2(b)) have been done. Figure 14 shows the spatial distribution of power for different heights in this scenario with the antenna fixed at the point (2, 2, height = 0.81) m. In this case, the scenario has a larger size, with a great deal of furniture, typical of laboratory/technical office environment. Once again, the morphology and the topology of the scenario play a key role in the values of received power levels and hence in the overall sensor network performance.Spatial distribution of received power (dBm) for different heights in the indoor scenario of Figure2(b) with the 3D ray launching algorithm.
(a)
(b)


## 3. Experimental Setup

The simulation results obtained in the previous section shows the relevance of the layout of the working scenario in the deployment of wireless sensor networks. Validation is now sought in terms of experimental results, with the aid of realistic wireless transceivers in different scenarios. Due to the performance in terms of unit cost, power consumption and spectrum availability, IEEE 802.15.4 based devices will be employed for the experimental setup.The wireless communication devices used in this work are XBee Pro models, from Digi International Inc, shown in the Figure15(a). The transmission RF power level of the wireless communication devices can be adjusted with a maximum default value of 18 dBm which will be used in the experimental validation. The module has different antenna options (i.e., external antenna, usually a whip antenna, or a compact integrated chip antenna) with election, in terms of size and integration of chip antenna, which leads to a low antenna gain, in the order of −1.5 dBi. For simple standalone operation, the transmitter XBee Pro module and the associated components can be plugged into a solderless breadboard powered by two 1.5 VDC AA batteries. For transmitting arbitrary data or processing receiving data, the connection with a PC is required. For that purpose, the XBee Pro module is plugged into an XBee Explorer USB unit (see Figure 15(b)). In this way, the XBee Pro modules UART appears as a USB serial port in the connected PC and can be accessed for reading/writing data using RS 232 protocol.(a) XBee Pro module. (b) XBee Explorer USB.
(a)
(b)The initial experimental setup was deployed in a small office, located in an R&D facility at the Public University of Navarre. In order to analyze the radio propagation characteristics of the scenario (see Figures2(a) and 2(b)), a transmitting XBee Pro module was placed in the center of the room and the received RF power were registered in several different points. Received power values were measured with the aid of an Agilent N9912A FieldFox RF Spectrum Analyzer of Agilent with an omnidirectional antenna, with a central detection frequency fixed at 2.4 GHz. The spectrum analyzer is capable of measure signals from 5 KHz to 4/6 GHz with a DALN (displayed average noise level) of −148 dBm, a sufficient dynamic range to analyze the XBee Pro transmitted RF signal. In order to improve the spectrum analyzer’s measurement time, the transmitter was configured to operate sending one packet of data per millisecond, which is the maximum achievable data rate. The obtained measured RF power for each of the different points is represented in the Figure 16.Figure 16
Measured RF power values for indoor scenario 1.If we compare these measured values with the previous simulations results, it can be seen that the spatial distribution of the received RF power differs greatly from the values predicted by the propagation models and adjusts more precisely to the ones predicted by the 3D ray launching algorithm. Another important aspect of a wireless communication system is the quality of the radio link. It is significant to determine how the received packet’s RSSI affects the links PER (packet error rate), as already stated previously. To obtain the data, XBee Pro module’s functionality of estimating each received packet’s RSSI was used. The goal is to analyze the relation of PER of the radio link according to different values of RSSI, since this will give a direct correlation between both values and hence allow an estimation of the overall observable radio link quality.In one particular point of the room, an XBee Pro module emulating a transmitter was placed and connected to a computer via a USB cable. In the same computer, a Java application was placed running, which was programmed in-house for such purpose which broadcast a quantity of packets determined by the user. On the other hand, another XBee Pro module was connected, also via a USB cable, to a laptop. In that laptop another in-house Java programmed application was running. That application determines the average RSSI of the received packets and the corresponding PER value, also storing them in one text file together with the values of the arriving time, RSSI value and the sequence number of every received packet. The receiver’s position was changed for obtaining different values of average RSSI and its corresponding PER value in different points. To obtain valid data, it is important to send a significant amount of packets. Taking this into consideration, the number of packets used for every PER measurement was of 1,000,000. In Figure17 the representation of the PER versus the average RSSI is shown. It can be seen that the behavior follows an exponential trend of received RF signal power and around −85 dBm the degradation of the signal is relevant. The IEEE 801.15.4 uses the DSSS (direct-sequence spread spectrum) modulation, which relies on spread spectrum for becoming more robust versus the radio channel noise, in a similar manner as an error-correction code. For every data symbol of 4 bits, a 32 bit chip symbol is send and the receiver can retrieve the original signal even with noise presence. This issue is very important due the quantity of different noise interferences that can be present in the radio channel, like microwave ovens, Bluetooth devices, Wi-Fi devices, and so forth.Figure 17
Representation of PER versus average RSSI in scenario 1.When the signal to noise ratio becomes too low, the receiver begins to have problems retrieving the original data correctly. This effect is what we see in Figure17.The XBee Pro module, in its network layer, has the capability of sending ACK (acknowledgment) packets for error recovering. When a packet is sent by the transmitter, a ACKs retry packet is sent back from receiver. If a packet is sent with no ACK retry, another packet is sent. The IEEE 802.15.4 protocol provides a maximum of 3 ACK retries after the packet emission is considered a failure. For the purpose of this analysis, this functionality will been deactivated in all measurements.The difference in the link quality between using or not an ACK could be very significant, as it is shown in Figure18. It can be seen that the trend of both curves is similar; however, the degradation in data quality (given by the percentage of errors in the packets, PER) is observed with received power levels that exhibit a difference of over 20 dB, which has a strong impact on the overall coverage radius of the wireless system. These data values have been measured in the same scenario, transmitting 500,000 data packets.Figure 18
Representation of wireless link degradation in terms of percentage of PER, with or without use of ACK.Further results have been obtained for a more complex scenario, depicted in a schematic way in Figure19. In this case, the indoor scenario corresponds to a real laboratory, with a higher density of elements, such as different type of furniture and a larger surface.Figure 19
Scenario 2: Radio communication laboratory.The obtained measurement data of a deployed wireless sensor topology within the scenario is shown in Figure20, as a representation of the PER versus the average RSSI. As it is expected, similar behavior is observed as in the previous case of scenario 1. In this case, degradation in the amount of received packets is observed at a level of approximately −82 dBm, lower than in the precious case. This is due to the fact that the complexity of the scenario increases the amount of radio propagation losses, which leads to more conservative network deployment of the wireless sensors. To obtain the average RSSI value for every measurement point, the corresponding variance has been calculated also. In Figure 21, the representation of the standard deviation values versus the average RSSI values is shown, indicating a stable measurement condition all over the points within the scenario.Figure 20
Representation of PER versus average RSSI in scenario 2.Figure 21
Standard deviation curve for the measurement results previously obtained.


## 4. Conclusions

The layout and composition of elements within an indoor scenario play a key role in the overall effect in terms of losses in the propagation channel used in wireless sensor networks and systems. Initial considerations are based on simplified empirical based models, which lead to large errors in received signal estimation. To overcome this limitation, an in-house deterministic code based on 3D ray launching has been developed to analyze the effect of the indoor topology and morphology in the operation of wireless links within two different realistic scenarios. Experimental validation has been obtained by performing tests with test RF signals as well as with wireless sensors, which have been specifically programmed in order to obtain performance parameters, such as RSSI and PER indicators. The results confirm that the analysis of the topology of the wireless sensor network has a strong impact in complex indoor scenarios, in which small distances represent relevant changes in the received level as well as the overall quality of the wireless system. The application of deterministic techniques in the planning phase of wireless sensor networks and systems has a direct impact in the quality of service, capacity and overall energy consumption, which is of great importance in the deployment strategy of future high density sensor configurations, present in home automation as well as building automation systems of the future.



---

*Source: 176383-2012-10-17.xml*