Using physical layer (PHY) data frame having a PHY header including a destination address field in a powerline communication (PLC) network
10334087 ยท 2019-06-25
Assignee
Inventors
- Gang Xu (Allen, TX, US)
- Ramanuja Vedantham (Allen, TX)
- KUMARAN VIJAYASANKAR (ALLEN, TX, US)
- Anand G Dabak (Plano, TX)
- Tarkesh Pande (Richardson, TX, US)
- Il Han Kim (Allen, TX)
- Xiaolin Lu (Plano, TX)
Cpc classification
International classification
Abstract
In a disclosed embodiment, a method for communication in a network includes receiving, at a first device registered to the network, a physical layer (PHY) frame that includes a PHY header and a MAC header. The PHY frame may further include a MAC payload. The PHY header includes a destination address field. The method further includes comparing a network address of the first device to the destination address field to determine whether the destination address field stores a value having the same number of bits as the network address. When the comparison indicates that the value stored by the destination address field does not have the same number of bits as the network address, the method skips decoding the MAC header and the MAC payload.
Claims
1. A system comprising: a communication network comprising a medium over which signals can be transmitted; a first communication device comprising: a first communication circuit communicatively coupling the first communication device to the communication network; a first memory to store first instructions; and a first processor coupled to the first communication circuit and to the first memory, the first processor being configured to execute the first instructions to cause the first communication device to transmit a physical layer (PHY) frame to the communication network, the PHY frame including a PHY header, a MAC header, and a MAC payload, and the PHY header including a destination address field containing a value having either a first length or a second length; and a second communication device comprising: a second communication circuit communicatively coupling the second communication device to the communication network to receive the PHY frame transmitted by the first communication device; a second memory to store second instructions; and a second processor coupled to the second communication circuit and to the second memory, the second processor being configured to execute the second instructions to cause the second communication device to: skip decoding the MAC header and the MAC payload when: the second communication device is not registered to the communication network and the value contained in the destination address field has the first length; the second communication device is registered to the communication network and the value contained in the destination address field has the second length; or the second communication device is registered to the communication network and the value contained in the destination address field has the first length but the value does not match an address value of the second communication device; and decode the MAC header and the MAC payload when: the second communication device is registered to the communication network and the value contained in the destination address field has the first length and the value matches the address value of the second communication device.
2. The system of claim 1, wherein the second processor is configured to execute the second instructions to cause the second communication device to decode the MAC header and the MAC payload additionally when the second communication device is not registered to the communication network and the value contained in the destination address field has the second length.
3. The system of claim 1 wherein: a value having the first length corresponds to an address value indicating a device registered to the communication network; and a value having the second length corresponds to a reserved value indicating a device not registered to the communication network.
4. The system of claim 3, wherein the second length is greater than the first length.
5. The system of claim 1, wherein: the communication network is a power line communication (PLC) network; the medium is a power line; the first communication device is a first PLC device; and the second communication device is a second PLC device.
6. The system of claim 1, wherein the communication network is based on IEEE 1901.2.
7. The system of claim 1, wherein, when the value contained in the destination address field has the first length and matches the address value of the second communication device, the execution of the second instructions by the second processor causes the second communication device to perform a cyclic redundancy check (CRC) verification on the MAC header and the MAC payload prior to decoding the MAC header and the MAC payload.
8. The system of claim 7, wherein the decoding of the MAC header and the MAC payload is performed when the CRC verification is successful and is not performed when the CRC verification fails.
9. The system of claim 1, wherein the PHY frame includes in the PHY header a delimiter type (DT) field located prior to the destination address field to indicate whether the PHY frame contains data or non-data, wherein the destination address field is not read by the second processor when the DT field indicates that the PHY frame contains non-data.
10. A system comprising: a communication network comprising a medium over which signals can be transmitted; a first communication device comprising: a first communication circuit communicatively coupling the first communication device to the communication network; a first memory to store first instructions; and a first processor coupled to the first communication circuit and to the first memory, the first processor being configured to execute the first instructions to cause the first communication device to transmit a physical layer (PHY) frame to the communication network, the PHY frame including a PHY header, a MAC header, and a MAC payload, and the PHY header including a destination address field containing either an address value indicating a device registered to the communication network or a reserved value for devices not registered to the communication network; a second communication device comprising: a second communication circuit communicatively coupling the second communication device to the communication network to receive the PHY frame transmitted by the first communication device; a second memory to store second instructions; and a second processor coupled to the second communication circuit and to the second memory, the second processor being configured to execute the second instructions to cause the second communication device to: skip decoding the MAC header and the MAC payload when: the second communication device is not registered to the communication network and the value contained in the destination address field is an address value; the second communication device is registered to the communication network and the value contained in the destination address field is the reserved value; or the second communication device is registered to the communication network and the value contained in the destination address field is an address value that does not match an address value of the second communication device; and decode the MAC header and the MAC payload when: the second communication device is registered to the communication network and the value contained in the destination address field is an address value that matches the address value of the second communication device; or the second communication device is not registered to the communication network and the value contained in the destination address field is the reserved value.
11. The system of claim 10, an address value indicating a device registered to the network has a first length and the reserved value for devices not registered to the network has a second length.
12. The system of claim 11, wherein the first length is less than the second length.
13. The system of claim 10, wherein: the communication network is a power line communication (PLC) network; the medium is a power line; the first communication device is a first PLC device; and the second communication device is a second PLC device.
14. The system of claim 10, wherein the communication network is based on IEEE 1901.2.
15. The system of claim 10, wherein, when the value contained in the destination address field is an address value that matches the address value of the second communication device, the execution of the second instructions by the second processor causes the second communication device to perform a cyclic redundancy check (CRC) verification on the MAC header and the MAC payload prior to decoding the MAC header and the MAC payload.
16. The system of claim 10, wherein the PHY header includes a delimiter type (DT) field located prior to the destination address field to indicate whether the PHY frame contains data or non-data, and wherein the destination address field is not read by the second processor when the DT field indicates that the PHY frame contains non-data.
17. A power line communication (PLC) device comprising: a communication circuit communicatively coupling the PLC device to a PLC network; a memory to store instructions; and a processor coupled to the communication circuit and to the memory, the processor being configured to execute the instructions stored in the memory to cause the PLC device to transmit a physical layer (PHY) frame to the communication network, the PHY frame including a PHY header, a MAC header, and a MAC payload, and the PHY header including a destination address field, wherein the PLC device transmits the PHY frame with the destination address field containing an address value having a first number of bits if an intended recipient of the PHY frame is registered to the PLC network and transmits the PHY frame with the destination address field containing a reserved value having a second number of bits if an intended recipient of the PHY frame is not registered to the PLC network.
18. The PLC device of claim 17, wherein the second number of bits is greater than the first number of bits.
19. The PLC device of claim 17, wherein the processor is a digital signal processor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, wherein:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) Disclosed embodiments now will be described more fully hereinafter with reference to the accompanying drawings. Such embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of this disclosure to those having ordinary skill in the art. One having ordinary skill in the art may be able to use the various disclosed embodiments and there equivalents. As used herein, the term couple or couples is intended to mean either an indirect or direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
(7) As described above, for PLC standards such as IEEE P1901.2, the MAC header in the frame is decoded only after the CRC verification is successful to determine if the frame is intended for that node or not. This can be an expensive and energy consuming operation that is performed on every frame, including frames not intended for that node. Also, some PLC standards, such as IEEE P1901.2, require a destination node to send a NACK if the MAC CRC failed, which introduces ambiguity in the transmission of NACK when the received MAC frame is corrupted since it is possible that the destination address in the MAC header is corrupted and a node that is not the intended receiver may be the node transmitting the NACK. The problem arises because the MAC CRC protects both the header and the payload of the MAC frame, so it is possible that the destination address field is corrupted when the CRC has failed.
(8) Disclosed PHY data frames having a destination address within the PHY header solve the above problems, and also eliminate node identity ambiguity upon the transmission of a NACK when the received frame is corrupted. In one embodiment, a destination address field (e.g., a 2-byte field) is added inside the PHY Header (e.g., FCH in case of IEEE P1901.2) for all data frames, but not for non-data frames such as ACK frames. The DT field (see DT 124 in
(9) If the network address of the receiving node does not match the destination address in the PHY header of the received data frame, the receiving node can skip the decoding of the entire MAC Header 130 and MAC payload 140 thus providing considerable power savings. Disclosed embodiments allow for nodes to transmit the NACK frame only if the destination address in the PHY header matches its own address, even if the data frame is corrupted (corrupted MAC header and/or payload).
(10) In one embodiment the data frame sent by the first node includes a reserved destination address field set to a reserved value in the PHY header for nodes in the PLC network that use an extended address which are not yet registered to the PLC network. The second node when registered to the PLC network uses the reserved destination address field to skip decoding of the data frame. Since nodes in the network that are registered to the network will have a shorter address, all registered nodes can skip the decoding of the entire MAC header and MAC payload if this reserved value is in the PHY Header. This embodiment thus allows nodes that are part of the network to skip the decoding of frames intended for nodes trying to join the network.
(11)
(12) In addition, since the destination address field 215 is included in FCH 120, this address information can be encoded with the ROBO modulation scheme (Robust OFDM). ROBO modulation is robust in the sense that it may provide four times extra redundancy parity bits by mean of repetition code and therefore the system may reliably deliver data under severe channel conditions.
(13)
(14) Modem 304 includes a processor (e.g., a digital signal processor, (DSP)) 304a coupled to an associated memory 305 that that stores a disclosed frame compiling algorithm which provides code for compiling frames including PHY data frames having a destination address in the PHY header. Memory 305 comprises machine readable storage, for example, static random-access memory (SRAM). The processor 304a is programmed to implement a disclosed frame compiling algorithm. Modem 304 includes a timer 307, such as for ACK transmission, Carrier Sense Multiple Access/collision avoidance (CSMA)/CA) back-off and data transmission purposes.
(15) The PLC transceiver (TX/RX) 306 is communicably coupled to the modem 304 for coupling of the communications device 300 to the shared powerline 340. Transceiver 306 facilitates communications with other SNs and the BN on the powerline 340.
(16) The modem 304 is shown formed on an integrated circuit (IC) 320 comprising a substrate 325 having a semiconductor surface 326, such as a silicon surface. Memory 305 may be included on the IC 320. In another embodiment the modem 304 is implemented using 2 processor chips, such as 2 DSP chips. Besides the DSP noted above, the processor 304a can comprise a desktop computer, laptop computer, cellular phone, smart phone, or an application specific integrated circuit (ASIC).
(17) Disclosed modems 304 and disclosed communications devices 300 can be used in a PLC network to provide a networked device that in service is connected to a powerline via a power cord. In general, the networked device can be any equipment that is capable of transmitting and/or receiving information over a powerline. Examples of different types of networked devices include, but are not limited or restricted to a computer, a router, an access point (AP), a wireless meter, a networked appliance, an adapter, or any device supporting connectivity to a wired or wireless network.
(18)
(19) All non-data frames (e.g., ACK, NACK) used in the PLC network can exclude a destination address field in their PHY headers. The destination address field can be after the DT field in the data frame, which allows the second node to not parse for a destination address field of a received frame if the DT field of the received frame indicates a non-data frame. The PHY header including the destination address field can be encoded with a ROBO modulation scheme which includes a repetition code, making the destination address information more robust.
(20) The second node can transmit a NACK frame responsive to the data frame received only if the destination address matches the network address. In this embodiment, if at least one of the MAC header and MAC payload are corrupted, the second node can still transmit the NACK frame responsive to the data frame.
(21) As described above, in one embodiment, the data frame sent by the first node includes a reserved destination address field set to a reserved value in the PHY header for nodes in the PLC network that use an extended address which are not yet registered to the PLC network. The second node when registered to the PLC network uses information in the reserved destination address field to skip decoding of the data frame. Since nodes in the network that are registered to the network will have a shorter address, all registered nodes can skip decoding of the entire MAC header and MAC payload if this reserved value is in the PHY Header. This embodiment allows nodes that already part of the network to skip the decoding of frames intended for nodes trying to join the network.
(22) Many modifications and other embodiments of the invention will come to mind to one skilled in the art to which this Disclosure pertains having the benefit of the teachings presented in the foregoing descriptions, and the associated drawings. Therefore, it is to be understood that embodiments of the invention are not to be limited to the specific embodiments disclosed. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.