Communication networks, such as wireless mesh networks, star networks, and so on, are used to connect a variety of different devices. These communication networks often contain devices having different characteristics and capabilities. As such, in many instances, the devices can communicate according to multiple modulation schemes. Furthermore, a device may select a link for communication based on link quality metrics for the available links associated with modulation schemes that are available. The metrics may, for example, indicate a success of previous communications on the various links using those modulation schemes. However, when link selection is focused on link quality metrics developed for only one modulation scheme, the link selection may not be optimal. For example, focusing on link quality metrics for only one modulation scheme can lead to instability of the network due the large variations in the link quality when the modulation schemes being used are different from those used to evaluate the links.
Furthermore, metrics accumulated at just one layer of communication (e.g., network layer or Media Access Control, or MAC, layer) may not provide the basis of a precise link quality metric that accurately represents the quality of a link. On the other hand, a link quality metric determined based on such metrics may be too precise, resulting in a link quality metric that is excessively volatile.
The detailed description is set forth with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items.
As discussed above, metrics about different communication links may be evaluated to select an appropriate communication link. However, in many instances link quality metrics for the various communication links are developed for only one modulation scheme (modulation type and/or data rate). This may lead to a network instability due to the large variations in the link quality when the modulation schemes actually being used are different from those used to evaluate the links.
This disclosure describes techniques directed to attributing to link quality information regarding communications with a plurality of modulation schemes. In one example, successful communications on a link using a first modulation scheme and a second modulation scheme may contribute to an overall link quality metric for the link. Such contributions to the overall link quality metric for the link may be weighted for the respective modulation schemes. In another example, unsuccessful communications on a link using a first modulation scheme and a second modulation scheme may contribute to an overall link quality metric for the link. Such contributions to the overall link quality metric for the link may be weighted for the respective modulation schemes. As such, the techniques may generate link quality metric data for a link that considers more than one modulation scheme that may be utilized on the link. This may ultimately result in link quality metric data for a link that is more useful across multiple modulation schemes.
In one illustration, a device may communicate over a link that has been chosen according to link quality metric data associated with a plurality of links available to the device for communication. The link may be a direct communication path between the device and another device and communication over the link may be possible using one of a plurality of modulation schemes. The device may store, for example, information regarding a number of transmission attempts to the other device with each modulation scheme, a number of transmissions acknowledged by the other device with each modulation scheme, and so on. Such information may generally represent communication metric data regarding successful and/or unsuccessful transmissions on the link between the two devices with each modulation scheme. The metric data associated with each modulation scheme may be combined to achieve a link quality metric that is representative of the link, across multiple modulation schemes that may be employed on the link.
Alternately or in addition, a calculation of link quality metric may be triggered by network layer transmission attempts, based on communication metrics accumulated at the link layer of the link. For example, a filter used to calculate the link quality metric may be updated based on network layer transmission attempts, based on successful and/or unsuccessful transmissions at the MAC layer of the link. More generally, a calculation of link quality may be triggered by a higher layer transmission attempt while being calculated based on transmission attempts at a lower layer of the link.
In some examples, the techniques may be implemented in the context of an advanced metering infrastructure (AMI) of a utility communication network. However, the techniques described herein are not limited to use in a utility industry AMI. For example, the techniques may be implemented in the context of Distribution Automation, Home Energy Management or any other type of wireless or wired network. Unless specifically described to the contrary, the techniques described herein applicable to any communications network, control network, and/or another type of network or system. In one example, the techniques may be implemented in the context of the Internet of Things (IoT).
As used herein, the term “area network” (AN) refers to a defined group of devices that are in communication with one another via one or more wired or wireless links. Examples of area networks include, for example, local area networks (LANs), neighborhood area networks (NANs), personal area networks (PANs), home area networks (HANs), field area networks (FANs), or the like. While only one AN 106 is shown in
The term “link” refers to a direct communication path between two devices (without passing through or being relayed by another device). A link may be over a wired or wireless communication path. Each link may represent a plurality of channels over which a device is able to transmit or receive data. Each of the plurality of channels may be defined by a frequency range which is the same or different for each of the plurality of channels. In some instances, the plurality of channels comprises Radio Frequency (RF) channels. The AN 106 may implement a channel hopping sequence, such that a channel may change over time. Although many examples discussed herein implement a plurality of channels as data channels, in some instances the plurality of channels include a control channel that is designated for communicating messages to specify a data channel to be utilized to transfer data. Transmissions on the control channel may be shorter relative to transmissions on the data channels.
The AN 106 may comprise a mesh network, in which the network communication devices relay data through the AN 106. Alternatively, or additionally, the AN 106 may comprise a star network, in which a central device acts a parent to one or more children devices. Further, in some instances the AN 106 may include a portion that is implemented as a mesh network and a portion that is implemented as a star network. Moreover, in other instances the AN 106 may be implemented in whole or part by other types of networks, such as hub-and-spoke networks, mobile networks, cellular networks, etc. In some instances, a device may be able to communicate with multiple different types of networks (e.g., a mesh network and a star network) at the same or different times. For instance, if a device is unable to discover a suitable device in a mesh network mode, the device may attempt to connect to a nearby star network, mobile data collection network, or cellular network. Regardless of the topology of the AN 106, individual network communication devices may communicate by wireless (e.g., radio frequency) and/or wired (e.g., power line communication, Ethernet, serial, etc.) connections.
In some instances, the service provider 110 comprises one or more central office systems that include a security service such as Authentication, Authorization and Accounting (AAA) server, a network registration service such as Dynamic Host Configuration Protocol (DHCP) server, a network management service (NMS), a collection engine (CE), a meter data management system (in the utility context), a customer relationship management system (in the sales context), a diagnostic system (in a manufacturing context), an inventory system (in a warehouse context), a patient record system (in the healthcare context), a billing system, etc. Network communication devices may register or interact with some or all of these one or more central office systems. In one example, the one or more central office systems may implement a meter data management system to collect resource consumption data from the network communication devices of the AN 106, process the resource consumption data, provide data regarding resource consumption to customers, utilities, and others, and/or perform a variety of other functionality. In other instances, the service provider 110 comprises other systems to implement other functionality, such as web services, cloud services, and so on. In yet other instances, the service provider 110 may be implemented as other types of devices, such as in the context of the Internet of Things (IoT) that allows a variety of devices to exchange data.
The service provider 110 may be physically located in a single central location, or it may be distributed at multiple different locations. The service provider 110 may be hosted privately by an entity administering all or part of the communications network (e.g., a utility company, a governmental body, distributor, a retailer, manufacturer, etc.), or may be hosted in a cloud environment, or a combination of privately hosted and cloud hosted services.
As noted above, any of the network communication devices 102, the network communication device 104, and/or the service provider 110 may communicate according to various modulation schemes that are available to it and perform processing to determine and indicate a preferred link to use for communication. Available modulation schemes may differ by modulation type and/or by data rate.
For instance, the network communication device 102(3) may transmit and/or receive one or more communications/transmissions (e.g., Protocol Data Units (PDUs), such as bits, frames, packets, segments, etc.) with the network communication device 102(1) and/or 102(2) and, based on the communications, determine a preferred link to use. The network communication device 102(3) may maintain, at 114, link quality metric data for available links to other communication devices. Further, the network communication device 102(3) may update the link quality metrics at 114 and, based thereon, determine (or not) that a new link is to be the preferred link. In some examples, the link quality metrics at 114 may be based on communication metrics associated with multiple modulation schemes and/or the calculation of a link quality metric may be triggered by an attempted communication at a higher communication layer of the link while being calculated based on communication metric data gathered based on communication at a lower layer of the link.
Communication metric data may include a detected/measured value, a computed value, or any other statistic, metric, or value related to communication. For example, communication metric data may indicate a number of transmission attempts (e.g., a number of transmissions sent), a number of successful transmissions (e.g., a number of transmissions that are acknowledged by a receiving node), a number of unsuccessful transmissions (e.g., calculated by subtracting a number of transmission attempts by a number of acknowledgements), and so on. Further, in some examples communication metric data includes an Expected Transmission (ETX) metric and/or an Expected Transmission Time (ETT) metric, as discussed in further detail below.
In many instances, communication metric data may include data that is specific to a particular modulation scheme and/or to a particular link (e.g., direct communication path between devices). To illustrate, communication metric data may indicate a number of successful transmissions and a number of transmission attempts via a particular link (between a first node and a second node) with a particular modulation scheme.
An ETX metric may generally indicate an expected number of transmissions required to successfully send a transmission to a device. The ETX metric may be computed in a variety of manners. In one example, an ETX metric equals a total number of transmissions sent (e.g., transmission attempts) over a number of successful transmissions (e.g., transmissions acknowledged). In another example, an ETX metric equals 1/P, where P=Pf×Pr. Here, Pf corresponds to a probably that a transmission successfully arrives at a recipient, and Pr corresponds to a probability that an acknowledgment transmission is successfully received by a sender. Pf and Pr may be calculated according to the following formulas:
In some instances, such as where Pf and Pr cannot be computed separately (e.g., when the sender does not know the number of transmissions that a receiver sent to it), then the ETX metric may be estimated as in the first example above. That is, if Pf and Pr cannot be computing separately due to a lack of information, the ETX metric may correspond to a total number of transmissions sent over a number of successful transmissions.
An ETT metric may generally indicate an expected time required to successfully send a transmission to a device. In one example, the ETT metric equals a time to transmit a transmission of a given size multiplied to the ETX metric.
Communication metric data may be used in a variety of manners. In some instances, communication metric data is used to select a modulation scheme for communicating. For example, a network communication device may select a modulation scheme to use for communicating on a particular link based on ETX metrics for multiple modulation schemes that are available for the link. In particular, if a first modulation scheme that is supported by two network communication devices is associated with a lower ETX metric than a second modulation scheme that is also supported by the two network communication devices, the first modulation scheme may be selected.
In some instances, the network communication device 200 comprises a Full Function Device (FFD), while in other instances the network communication device 200 comprises a Limited Function Device (LFD). An FFD may include more functionality/resources than an LFD, such as different processing powers, processing capabilities, power reliance, hardware components, etc. In one example, an FFD is implemented as a Mains Powered Device (MPD) that is connected to mains electricity (e.g., electricity meters), while an LFD is implemented as Battery Powered Device (BPD) that is not connected to mains electricity (e.g., a water meter, gas meter, etc. that employs batteries). Since an MPD relies on mains power, the MPD may remain in an active state (e.g., a state associated with consuming more than a threshold amount of power). Meanwhile, since a BPD relies on battery power, the BPD may enter a sleep state (e.g., a state associated with consuming less than a threshold amount of power) when the BPD is not communicating or otherwise performing operations. The BPD may use a communication schedule to determine when to enter a sleep state and/or when to enter an active state. This may allow the BPD to conserve battery life. In some instances, components of LFDs are lower power components than the corresponding components of the FFDs.
As shown in
The transceiver(s) 204 may comprise one or more hardware and/or software implemented radios to provide two-way RF communication with other network communication devices in the AN 106 and/or other devices via the network 108. The transceiver(s) 204 may additionally or alternatively include a modem to provide power line communication (PLC) communication with other network communication devices that are connected to an electrical service grid.
In some instances, the transceiver(s) 204 may include different characteristics depending on the type of device implementing the transceiver(s) 204. For example, while both FFDs and LFDs have transceivers, the specific transceivers used may be different. To illustrate, an FFD transceiver may include a PLC modem while an LFD transceiver may not because the LFD is not connected to an electrical power line that could be used for PLC communications. Additionally, or alternatively, an LFD transceiver may employ a lower power RF radio to minimize energy consumption.
The metrology device(s) 206 comprises physical hardware and/or sensors to measure consumption data of a resource (e.g., electricity, water, or gas) at a site of the meter. In the case of an electric meter, for example, the metrology device(s) 206 may include one or more Hall effect sensors, shunts, or the like. In the case of water and gas meters, the metrology device(s) 206 may comprise various flow meters, pressure sensors, or the like. The metrology device(s) 206 may report the consumption data to a service provider via the transceiver(s) 204. The consumption data may be formatted and/or packetized in a manner or protocol for transmission.
The power supply unit 208 may provide power to the network communication device 200. In some instances, such as when the network communication device 200 is implemented as a FFD, the power supply unit 208 comprises a mains power connector that couples to an Alternating Current (AC) or Direct Current (DC) mains power line where the network communication device 200 is installed. In other instances, such as when the network communication device 200 is implemented as a LFD, the power supply unit 208 comprises a battery, such as a Lithium Thionyl Chloride battery (e.g., a 3 volt battery having an internal impedance rated at 130 Ohms), a Lithium Manganese battery (e.g., a 3 volt battery having an internal impedance rated at 15 Ohms), a Lithium Ion battery, a lead-acid battery, an alkaline battery, and so on.
The memory 212 includes an operating system (OS) 214 and one or more applications 216 that are executable by the one or more processors 210. The memory 212 may also include one or more metrology drivers 218 configured to receive, interpret, and/or otherwise process metrology data collected by the metrology device(s) 206. Additionally, or alternatively, one or more of the applications 216 may be configured to receive and/or act on data collected by the metrology device(s) 206.
The memory 212 may also include one or more communication stacks 220. In some examples, the communication stack(s) 220 may be configured to implement a 6LowPAN protocol, an 802.15.4e (TDMA CSM/CA) protocol, an 802.15.4-2015 protocol, 802.15.4g protocol, and/or another protocol. However, in other examples, other protocols may be used, depending on the networks with which the device is intended to be compatible. The communication stack(s) 220 describe the functionality and rules governing how the network communication device 200 interacts with each of the specified types of networks. For instance, the communication stack(s) 220 may cause FFDs and LFDs to operate in ways that minimize the battery consumption of LFDs when they are connected to these types of networks.
As illustrated, the memory 212 may also store communication metric data 222. Communication metric data 222 may be updated from time to time to maintain data for multiple modulation schemes and/or multiple communication links.
In some instances, the network communication device 200 may be configured to send or receive communications on multiple channels simultaneously. For example, the transceiver(s) 204 may be configured to receive data at the same time on hundreds of channels. Additionally, or alternatively, the transceiver(s) 204 may be configured to send data at the same time on hundreds of channels.
The network communication device 200 may be configured to implement a variety of modulation schemes. A modulation scheme may be associated with a modulation type, a data rate, and/or other parameters. In some instances, a same modulation type is used for different modulations schemes to produce different data rates.
Example modulation schemes include: Direct-Sequence Spread Spectrum (DSSS), Quadrature Phase-Shift Keying (QPSK) (e.g., “LONG_RANGE” scheme) associated with a data rate of 12.5 kbps; Frequency Shift Keying (FSK) (e.g., “4G_FSK_150” scheme) associated with a data rate of 75 kbps; Orthogonal Frequency-Division Multiplexing (OFDM) (e.g., “4G_OFDM_200” scheme) associated with a data rate of 200 kbps; OFDM (e.g., “4G_OFDM_600” scheme) associated with a data rate of 600 kbps; Differential 8 PSK (D8PSK) associated with a data rate of around 200 kbps; Differential Quadrature PSK (DQPSK) associated with a data rate of around 165 kbps; Differential Binary PSK (DBPSK) associated with a data rate of around 105 kbps; Robust OFDM (ROBO); or any other modulation scheme. DSSS QPSK (e.g., “LONG_RANGE” scheme), FSK (e.g., “4G_FSK_150” scheme), OFDM (e.g., “4G_OFDM_200” scheme), and OFDM (e.g., “4G_OFDM_600” scheme) may correspond to RF modulation schemes. Meanwhile, D8PSK, DQPSK, DBPSK, and ROBO may correspond to PLC modulation schemes. Although any other modulation schemes may be used.
In many instances, the above noted modulation schemes may be ordered according to data rates as follows:
(i) For RF: 4G_OFDM_600>4G_OFDM_200>4G_FSK_150>LONG RANGE;
(ii) For PLC: D8PSK>DQPSK>DBPSK>ROBO
The memory 212 of the network communication device 200 may include software functionality configured as one or more “modules.” The modules are intended to represent example divisions of software for purposes of discussion, and they are not intended to represent any type of requirement or required method, manner or necessary organization. Accordingly, while various “modules” are discussed, their functionality and/or similar functionality could be arranged differently (e.g., combined into a fewer number of modules, broken into a larger number of modules, etc.).
The various memories described herein (e.g., the memory 212) are examples of computer-readable media. Computer-readable media may take the form of volatile memory, such as random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash RAM. Computer-readable media devices include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data for execution by one or more processors of a computing device. Examples of computer-readable media include, but are not limited to, phase change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information for access by a computing device. As defined herein, computer-readable media does not include transitory media, such as modulated data signals and carrier waves, and/or signals.
While detailed examples of certain network communication devices are described herein, it should be understood that those network communication devices may include other components and/or be arranged differently. As noted above, in some instances a network communication device may include one or more processors and memory storing processor executable instructions to implement the functionalities they are described as performing. Certain network communication devices may additionally or alternatively include one or more hardware components (e.g., application specific integrated circuits, field programmable gate arrays, systems on a chip, and the like) to implement some or all of the functionalities they are described as performing. Further, certain network communication devices may include one or more network interfaces to send or receive data.
The processes 300, 400, 500 and 600 (as well as each process described herein) are illustrated as logical flow graphs, each operation of which represents a sequence of operations that can be implemented in hardware, software, or a combination thereof. In the context of software, the operations represent computer-readable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Generally, computer-readable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular abstract data types. In some contexts of hardware, the operations may be implemented (e.g., performed) in whole or in part by hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the process. Further, any number of the described operations may be omitted.
The network communication device 200 may initiate a link evaluation in a variety of manners. In one example, the network communication device 200 performs an “Active Link Evaluation.” Here, the network communication device 200 determines that a predetermined period of time has passed since a previous update to communication metric data. This determination may trigger one or more transmissions to be sent by the network communication device 200 to another network communication device, such one or more probe transmissions. If successful, these transmissions are acknowledged by the other network communication device (e.g., the network communication device 200 receives an acknowledgement(s) of the transmissions from the other network communication device). After sending the one or more transmissions (and/or receiving acknowledgements), the communication device 200 may use information it has gathered regarding successful and failed communications to evaluate a link. As such, in the Active Link Evaluation, a link may be evaluated periodically based on actively sending transmissions.
In another example, the network communication device 200 performs a “Passive Link Evaluation.” Here, the network communication device 200 maintains normal operations by sending transmissions as they normally occur according to a communication schedule. After determining that a period of time has passed, the network communication device 200 may determine if there have been a predetermined number of transmissions on a link to trigger an evaluation of the link. When the network communication device 200 determines that the predetermined number of transmissions have occurred, the network communication device 200 may proceed to evaluate a link.
In either example, the network communication device 200 may have communicated with another network communication device (e.g., node) one or more times using two or more modulation schemes. As part of evaluating the link, it is determined what modulation scheme is preferred for communication over the link. An indication of the preferred modulation scheme is saved, such as, for example, by storing the indication as part of the communication metric data 222 in the memory 212 of the network communication device 200.
Turning now specifically to the example process 300 illustrated in
Turning now to
N is the number of modulation schemes utilized, and the product of OperatingModeFactor for a modulation scheme and the number of transmission attempts according to that modulation scheme are the coefficient for that modulation scheme. In one example, the OperatingModeFactor portion of the coefficient is as shown in the following table:
In accordance with another aspect, determination of communication metric data for a link may be triggered and updated at a higher layer of network communication, such as by initiation of a PDU transmission at the network layer, while the link quality metrics (such as number of attempted transmissions and number of successful transmissions) are determined based on communication at a lower layer of network communication, such as at the MAC layer. For example, as described in detail below, a filter used to calculate the link quality metric may be triggered and updated as a result of network layer transmission attempts, based on successful and/or unsuccessful transmissions at the MAC layer of the link.
For each modulation scheme according to which there is communication on the link, the ETX may be calculated as follows:
The ETX calculations may be performed at a defined epoch, with the results being provided to a filtering calculation, such as an exponentially weighted moving average (EWMA) calculation.
In one example, the defined epoch at which the ETX calculations are performed is when the total number of network layer PDU transmission attempts since the last ETX calculation is at least four (over all modulation schemes). Furthermore, the FrameTxAttempts and AcksReceived counts are attempts and acknowledgements, respectively, at the MAC layer of communication on the link. In one example, the ETX calculation is performed for each modulation scheme that has at least four network layer attempts.
In one example, the EWMA calculation for each modulation scheme is defined as follows, given a sequence of values X(t=0, 1, 2, 3, . . . ):
where S is a smoothing factor between 0 and 1, and EWMA(0)=X(0). The smoothing factor for each ETXn may be determined by the following algorithm:
From an implementation standpoint, then, the following variables may be maintained.
The link layer also may maintain a variable for the overall local ETX value with a neighbor, that is used by the network layer to determine which link to utilize, such as by executing a Minimum Rank with Hysteresis Objective Function (MRHOF). See RFC 6719, dated September 2012. While the implementation has been discussed in terms of an ETX value, other types of link quality metrics may be utilized.
At 620, link layer communication metrics are updated after a designated number of network layer communication triggers (e.g., after four such communication triggers), including updating an EWMA calculation when the link metrics are updated. The EWMA calculation is just one example of a method to maintain and update link layer communication metrics. At 622, MRHOF processing uses the link metrics in routing determination, such as to determine a best link for the communication node to use. The MRHOF process is just one example of a routing determination method.
With the process 600 and, more generally, with a link quality determination process that is triggered by communication activity at a higher network layer based on communication activity at a lower network layer, the network may evolve when looking for better routing alternatives, while still having an acceptable network stability.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claims.
This application is a continuation of and claims priority to U.S. patent application Ser. No. 16/599,990, filed on Oct. 11, 2019, which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | 16599990 | Oct 2019 | US |
Child | 17669289 | US |