AU2011203480A1 - Communications Method and Device - Google Patents

Communications Method and Device Download PDF

Info

Publication number
AU2011203480A1
AU2011203480A1 AU2011203480A AU2011203480A AU2011203480A1 AU 2011203480 A1 AU2011203480 A1 AU 2011203480A1 AU 2011203480 A AU2011203480 A AU 2011203480A AU 2011203480 A AU2011203480 A AU 2011203480A AU 2011203480 A1 AU2011203480 A1 AU 2011203480A1
Authority
AU
Australia
Prior art keywords
phase
power line
data
noise
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
AU2011203480A
Inventor
Stuart Ross Bannister
Song Cui
Denis Daniel Daniel
Stephen Moo Kim
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SEMITECH SEMICONDUCTOR Pte Ltd
Original Assignee
SEMITECH SEMICONDUCTOR Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SEMITECH SEMICONDUCTOR Pte Ltd filed Critical SEMITECH SEMICONDUCTOR Pte Ltd
Priority to AU2011203480A priority Critical patent/AU2011203480A1/en
Publication of AU2011203480A1 publication Critical patent/AU2011203480A1/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The present invention relates to communications devices and methods, particularly in the field of power line networks. The invention has a number of aspects, which in one form, relate to a communication device and/or methods adapted for the automatic meter 5 reading, data concentrator, home gateway, IR gateway and home automation, such as by way of example power point, light switches, curtain control, gas valve control, air conditioner and heater control, remote device and/or appliance control and/or industrial control markets. In a specific form, the invention and one or any combination of its aspects may reside in a power line modem. Figure 1 User Applications Electric/Gas/Water meters . Home appliances Lighting control Security system etc. STAPLM-300 Power supply System Overview Block Diagram

Description

COMMUNICATIONS METHOD, AND DEVICE FIELD OF INVENTION The present invention relates to communications devices and methods, particularly in the field of power line networks. 5 The Invention has a number of aspects, which in one form, relate to a communication device and/or methods adapted for the automatic meter- reading, data concentrator, home gateway, IR gateway and home automation, such as by way of example power point, light switches, curtain control, gas valve control, air conditioner & heater control, remote device and/or appliance control and/or 10 industrial control markets. In a specific form, the invention and one or any combination of Its aspects may reside In a power line modem. It will be convenient to hereinafter describe the invention and-its aspects in relation to a power line modem, however it should be appreciated that the present invention Is not limited to that use only. 15 BACKGROUND ART The needs of today's consumers for information technology in their homes have dramatically increased over the last few years. People everywhere are dealing with a much greater volume of information than ever before and they need the capabilities to. process it much faster. 20 The Inventors have realised that one choice for construction of new houses is the Installation -of upgraded wiring while they have the chance during construction. Despite the fact that Installing upgraded wiring in existing structures is generally-considered- cost-prohibitive, it is desirable to have home automation features, especially those that deal with communications, added to existing 25 homes. There Is a need to provide this in a relatively cost effective and simple manner. Three types of products are currently available for retrofit home automation (HA) upgrades, namely power line communication (PLC), infrared, and radio frequency. 30 The inventors have realised that PLC technology may be utilised in Home Automation (HA) applications because It enables the installation of a control oriented communication network without the need to tear down walls in order to 2 Install dedicated wiring. PLC is also considered less expensive than existing IR and RF solutions. However, in many homes, electrical interference can prevent PLC receiver modules from operating properly. Electronic equipment found in virtually every 5 household generates disruptive noise interference, such as TV's, VCR's, audio equipment, personal computers and peripherals, FAX machines, electronic lighting ballasts and 'many other electronic devices. There is also a need to provide PLC technology that alleviates problems associated with interference. The inventors have also realised that PLC technology can be used in the 10 'AMR (Automatic Meter Reading) market from the point of view of utilities which are provided to the home. The utility meters market has been divided into three separate sectors, namely electricity, gas and water meters. The electric utility industry is undergoing radical business and structural changes. With the unbundling of generation, distribution and transmission, as 15 part of electric deregulation, utilities are closely examining many of their business processes. One of those areas currently being reviewed the most is meter data collection, With increasing demand for more frequent reading periods, electric utilities are looking for solutions that optimize their operations, improve service, lower costs, and provide additional services to their customers. 20 The water and gas utility industries are facing Increasing pressure to do more with less. Water and gas utilities are being challenged to meet higher public expectations regarding drinking water quality, ways to control gas costs, security and safety Issues with more stringent government regulations, while maintaining a high level of customer satisfaction and an efficient operation. 25 Today, many progressive electric, water and gas utilities are finding that implementing an Automatic Meter Reading (AMR) system can help position themselves better against today's and future challenges. The Inventors have further realised that there are several AMR communication technologies, namely Radio Frequency Communications, 30 Telephone Line Reading, Broadband (Fibre/Coax Cable) and Power Line Communication (PLC). PLC uses the existing wires that deliver electricity to consumers as a communications link for AMR. This makes PLC AMR very attractive for AMR systems, especially for high density countries like China, India 3 and most of EuropQ. The drawback of conventional PLC AMR is that signals may be easily affected by power line noise. The power cables were designed for distributing power but not necessarily for data applications as is needed in PLC technology. 5 In this regard, the inventors have Identified that there are a number of -specific problems, namely: 1. Noise A power line Is a very noisy environment. All sort of noises exist not only in the amplitude domain but also in the form of phase distortion. During a mains 10 power cycle the amount of noise can vary wildly. It is often the case that certain devices on the power line present different noise and loads at different parts of the cycle. This makes for an environment that is not only noisy but wildly dynamic. The time taken to transmit a packet can often be longer than many mains cycles. This means that the load and noise changes many times over the 15 duration of a packet transmission. 2. Phase detection Often within the domain of power-line communications It is not always possible for a technician installing networks to determine which phase two nodes are using for communicating between each other. Phase information is either not 20 labelled correctly or there is simply not the information easily available (eg accessibility to wiring diagrams for building). It is most often the case that between phase coupling is weak without some kind of extra added coupling at carrier frequencies.' It is considered that in order to produce the best communications result it Is advantageous for nodes that need to communicate to 25 be on a similar phase. Phase detection is also very useful for trouble shooting. 3, Separated solution Prior art systems use what could be referred to as a 'separated solution'. That is, there are several separate devices provided, namely a power line transceiver, a MCU, a non-volatile memory and some peripherals such as UART, 30 SP and RTC etc. This at least increases the cost of practically implementing a PLO system and maIntaining or fault finding.
4 4, Signal To Noise Estimation in the domain of power line communications a deterministic method of finding where the best point to point communication exists is needed, The noise on the power line is dynamic. A different time of day often produces a very 5 different noise profile. It Is almost useless to measure a noise profile only at the time of installation as the network may not communicate In an hours time due to the fluctuating noise. This is especially needed when determining where routers are to be placed. The inventors have realised that there is a need to be able to measure noise and signal strengths at anytime in such a dynamic environment. 10 5. Power Line communications A power line communications device with the indented use of low data rate communications and general control applications is needed. Domestic and commercial power lines are perhaps the most hostile environment for data communications. Devices connected to the mains network inject signals into the 15 power line, which hinder the transmission of data. It is intended that the demodulation system will have to retrieve carrier frequencies in the presence of significant noise. Many of these noise sources are outlined in the EIA-709.2 standard document, In order for a power line communication device to function reliably it is considered that It should be able to exceed the specifications outlined 20 in the standard. The inventors have realised that the main (but not the only) noise sources that effect demodulation are impulse noise, random noise and tonal noise, Random noise is considered one of the hardest to overcome in the context of receiving data. Any discussion of documents, devices, acts or knowledge in this 25 specification is Included to explain the context of the invention. It should not be taken as an admission that any of the material forms a part of the prior art base or the common general knowledge in the relevant art In Australia or elsewhere on or before the priority date of the disclosure and claims herein. An object of the present invention is to provide an enhanced PLC 30 technology, device and/or method of operation. A further object of the present invention is to alleviate at least one disadvantage associated with the prior art, 5 SUMMARY OF INVENTION The present invention provides, a method of and / or apparatus for determining phase difference between a first node and a second node, in a power transmission system, comprising providing a detection packet, the packet having at least one byte adapted to 5 store data related to determination of phase, detecting a zero crossing event at each of the first and the second nodes forwarding the detection packet, from the first node to the second node, at our after the zero crossing event is detected at the first node and including within the at least one byte of the detection packet, first data reflecting the time period between the zero crossing event at the first node and the time of forwarding of the 10 detection packet, receiving the packet at the second node, determining second data reflecting the time period between the zero crossing event at the second node and the time of receiving of the detection packet at the second node, and determining the phase difference between the first and the second node based on the first and second data. Other aspects and preferred aspects are disclosed in the specification and/or 15 defined in the appended claims, forming a part of the description of the invention.
6 Other aspects and preferred aspects are disclosed In the specification and/or defined in the appended claims, forming a part of the description of the invention. The present Invention has been found to result in a number of advantages, 5 such as: Combining an ANSi/EIA 709.1 compliant core with an ANSI/EIA 709.2 compliant power line transceiver Into a single chip CENELEC EN50065-1: 2001 compliant 8 programmable transmission frequencies dynamically selectable 10 a Dual carder frequencies Forward Error Correction embedded Very high tonal and impulse noise Immunity DSP techniques utilized Integrates easily into existing EIA709.1 protocol compliant networks or 15 - create new EIA709.1 networks with STAPLM-300 alone - Efficient STAPLM-300 architecture allows reliable processing of network packets and application code " Standard GNU C interface for application code programming - Single 32-bit EISC processor for: 20 o Application code processing o Event-driven task scheduler processing o EIA709.1 protocol-firmware processing = Task specific hardware modules: o Power Line Transceiver 25 o MAC Layer o User configurable 10 Interface o Programmable Real Time Clock with battery backup o Watch Dog Timer o Reset and Clocking 30 o Two 16-bit Time/Counters - ANSI/EIA 709.2 symbol rate support, 5.4 kbps at 131,98kHz = -80dBV receiver sensitivity 7 -Ability to operate as a twisted pair transceiver. Memory resources: o On chip 96K Byte Flash for EIA709,1 protoco[ firmware, configuration data, application code and node specific information o On chip 8K Byte RAM for buffering network and application data R Two embedded UART's a Embedded Low Voltage Detector * 3.3V voltage supply with 5V tolerant 10 - 5 x 8-bit GPIO ports 10 " Full Master/Slave SPI port - 100-pin PQFP package 48-bit unique ID number in each chip industrial temperature range of - 40 0 C to 85C Java based Node Developer software tool for application development 15 " Any node may become a repeater through embedded routing mechanism Further scope of appicabilIty of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the Invention, are given by way of Illustration only, since various 20 changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. BRIEF DESCRIPTION OF THE DRAWINGS Further disclosure, -objects,- advantages and aspects of the present application may be better understood by those skilled in the relevant art by 25 reference to the following description of preferred embodiments taken in conjunction with the accompanying drawings, which are given by way of illustration only, and thus are not limitative of the present Invention, and in which: Figure 1 Illustrates a system block diagram of an embodiment of the present Invention implemented for Power Line Communication (PLC) user 30 applications such as Automated Meter Reading (AMR) and Home Automation (HA), Figure 2 Illustrates a, block diagram of an embodiment of the present invention rendered on ASIC, 8 Figure 3 litustrates a further block diagram representation of the ASIC, Figure 4a Illustrates one embodiment of a receiver block diagram, Figure 4b illustrates one embodiment of a receiver and transceiver block diagram, 5 Figure 4c illustrates a plot of the phase change matching counts for an alternating bit pattern and data, Figure 4d Illustrates Simulation output showing the change in phase signal (delta-phase) and the bit synchronisation process, Figure 4e Illustrates a bit synchronisation process, 10 Figure 4f illustrates phase comparisons, Figure 5 illustrates one home automation system implementation of the present invention, Figure 6 illustrates an AMR system according to an aspect of invention, Figure 7 Illustrates a block diagram of one embodiment of a transceiver 15 according to an aspect of invention, Figure 6 illustrates a power line communication problem, Figure 9 illustrates the use of dual channels in accordance with an aspect of Invention, Figure 10 Illustrates a problem associated with high rise apartments, 20 Figure 11 Illustrates a counter operation, Figure 12 illustrates synchronisation, Figure 13 Illustrates noise around zero crossing, Figure 14 shows how the phase counter relates to the mains cycle as well as the noise, 25 Figure 15 shows how the packet mode system sends a packet but halts transmission around the distorted areas, Figure 16 illustrates the phase detection system in the context of a network, Figure 17 Illustrates a prior art zero crossing detector system, 30 Figure 18 illustrates phase detection according to an aspect of the present Invention, Figure 19 demonstrates the relative counts between the phases, 9 Figure 20 illustrates a frequency response for a filter network, In accordance with one embodiment of the present invention, and Figure 21 illustrates a schematic diagram of one embodiment of a circuit applicable to Figure 20, 5 DETAILED DESCRIPTION OVERVIEW The present invention, In one embodiment- is provided as a highly integrated System-on-a-chip (SoC) product. .It combines a powerful Power Line Transceiver and control networking protocol firmware into a single chip: The SoC 10 solution is considered to greatly reduce cost compared to other similar products, which require several chips. The embedded power line transceiver Is designed to operate in a harsh power line environment by utilizing modern DSP techniques to deliver reliable data communication. It preferably conforms to the ANSI/EIA 709.2 and 15 CENELEC EN50065-1:2001 standards. To produce enhanced performance, users have the option of selecting dual band transmission, various carrier frequencies, forward error correction, CENELEC Access Protocol, packet mode, data encryption and various transmitter output voltages. These options ensure the transceiver operates 20 reliably In a noisy power line environment whilst also having the ability to conform to local regulations. One embodiment of the present invention utilizes a 32-bit- processor to process application code and network traffic. Its embedded protocol conforms to ANSI/EIA 709.1, the LonTalk@ Control Network Protocol. 25 Figure 1 Illustrates one embodiment of the present invention which has been designed with an emphasis on Automated - Meter Reading (AMR) applications where the low cost and high performance features are needed. Figure 2 illustrates a block diagram of an embodiment of the present Invention rendered on ASIC. In the Figure 2: 30 * PLI - Power line interface: This is circuitry needed for the ASIC to interface with the mains power network.
10 Primary and Secondary Receivers - Described in more detail later herein. They are responsible for reliably taking transmitted signal from the power line network and changing It into digital data. There are.two separate receivers (Primary and Secondary). this allows simultaneous receptions on 5 different bands. - Transmitter - Is. responsible for changing the digital data into a signal that can be transported across the power line network and reassembled at the receiver end. - DLL and Network processors - Responsible for interpreting the data and 10 running the protocol stack. Figure 3 illustrates a further block diagram representation of the ASIC. With regard to the block diagram: * Full Master & Slave SPI - Support full master and slave SPI (Serial Peripheral Interface) between STALON and other chips with SPI, 15 * GPIO Ports - There are five 8-bit General Purpose Input/Output (GPIO) controllers. All of the ports are 3,3 volt, bi-drectional and byte addressable. Each pin has an internal pull up resistor making the un-driven logic value of a pin '1'. e UART Ports - There are two full duplex asynchronous receiver/ 20 transmitters (UARTs). Their frame format is: I start bit, 8 data bits, no parity, and I stop bit. The baud rate Is from 153 baud to 1.25M baud. * Battery Backed Real Time Clock - Is a 32-bit Real Time Clock (RTC). It has a battery backup in the case of a device power failure. In this mode it consumes less than 30A from its backup battery. 25 u 32,768KHz Clock Input - The Real Time Clock runs off of its own oscillator 32,768KHz from the RTCClock Pin. * Low Voltage Monitor - There are two voltage monitors. One protects the device from logic errors caused by low voltage. It resets the logic in the device as well as the Phase Lock Loop. It trips between 2.7 and 3 volts. 30 Another one is used to signal external devices of a low voltage failure, it controls the VDD_SENSE pin. This monitor switches between 1.2 and 1.3 11 volts, it will drive the VDDSENSE pin from VDD to 0 volts. It has no impact on the Internal chip. * Watchdog Timer - Is used to determine If the processor has stalled, and to recover from the stall. 5 a 16-bit User Timers - There are two 16-bit count down timers. Each timer can be set to count down to 0 or cyclic mode. Whenever a timer reaches its zero value an Interrupt is generated. * Debugger Stub - GNU debugging stub, 0 32-bit EISC Processor - A 32-bit EISC (Extendable Instruction Set 10 Computer) processor for: 0. Application code processing o Event-driven task scheduler processing o EIA709.1 protocol firmware processing * MAC - Medium Access Control (MAC) Sub layer (Sub layer of layer 2): 15 Outlined in EIA709.1 section 5 the MAC sub-layer provides an access protocol for the power line communication medium. The sub layer also provides compliance with the CENELEC standard EN 50065-1 signalling access protocol for the band of 125kHz to 140kHz (defined In section 5) standard. 20 D DLL - Data Link Layer (Layer 2): Outlined in EIA709.1 section 6, the DLL is responsible for data error detection using CRC16 and interfacing to higher level layers situated in a control microprocessor which includes buffering between layers. Power Line Transceiver - Physical Layer (Layer 1): Incorporates the whole 26 EIA709.2 and CENELEC EN50065-1:2001 standards, it constitutes to the - greatest complexity of the layers and Incorporates the aspects of Power Line coupling, transmission power line drive circuitry, modulation, demodulation, data framing, simple error detection/ correction and analog circuitry interfacing. It includes its special features like dual band 30 transmission, various carrier frequencies, forward error correction, CENELEC Access Protocol, packet mode, data encryption and various transmitter output voltages. These advanced options ensure the 12 transceiver operates reliably in a noisy power line environment whilst also having the ability to conform to local regulations. * Externai Interrupt Inputs - Selectable edge triggered interrupts. * Remote Bootstrap - Bootstrap via GNU debugger - using serial protocol. 5 e EIA709.1 Firmware - The on chip Flash includes ANSI/EIA 709.1, the LonTalk@ Control Network Protocol. * 96KByte Flash-- On chip 96K Byte Flash for EIA709.1 protocol firmware, configuration data, application code and node specific information. * 8KByte RAM -On chip 8K Byte RAM for buffering network and application 10 data. * Memory Protection - Memory violation interrupt triggered by Illegal access - to memory. One Example Implementation The present invention utilises a layering configuration based on the EIA709 15 standard and the OSI layered model. The layering system is considered to be a logical and neat way of partitioning and implementing a communications protocol. In one embodiment, -the layers are configured as: I Layer No. OSI Layer Task _Layer 1 Physical Handles electrical specifications and modulation schemes Layer 2 Data Link Data Encoding and Encryption, Frequency Selection, Data Validity Checks, Collision Detection, Data Framing Layer 3 Network Addressing Layer 4 Transport Message Resending, Sending Acknowledgements, Duplicate Detection Layer 5 Session Request/ Response Handling, Authentication Layer 6 Presentation Command Interpretation: Determines if messages are for Application Layer, Network Management, or Network ikp _ Variables. Layer 7 Applicatioi Handles User Code and provides APis A preferred embodiment of the present invention is a power line 20 communications device with the Intended use of low data rate communications and general control applications. The device incorporates a dynamic multi-band, multi-receiver transceiver, which Is believed to be the first of its kind within the context of power line communications. The present Invention was designed with the aim of flexibility in mind to alleviate some of the problems associated with 25 power line communications. During the process of overcoming these obstacles 13 many features were added. it Is believed that these unique aspects include, but are not limited to, its frequency diversity and its ability to communicate on multiple channels simultaneously. Another aspect is the ability to measure the median channel characteristics in terms of its noise and signal strengths. 5 The demodulation system of the present invention will have to retrieve carrier frequencies in the presence of significant tonal Interference and Impulse noise as outlined in the EIA-709.2 standard document. Dorhestic and commercial power lines are perhaps the most hostile environment for data communications. Devices connected to the mains network inject signals into the power line, which 10 hinder the transmission of data. Details are further described herein. Figure 4a Illustrates one embodiment of a receiver and transceiver block diagram, in which: * PLI - Power line interface: This is circuitry needed for the ASIC to interface with the mains power network. 15 Mains Cycle a Mains Signal Conditioning - Changes the mains signal from a high voltage down to a lower voltage, filters and clamps the signal ready to enter the STALON. * Mains cycle detection - A rising zero crossing is detected in this section. 20 The zero crossing is then used to reset a counter that keeps track of the positioning of the mains cycle. This Is used for phase detection and the packet mode system. * Packet mode sub-system - This system us used to avoid noise and is discussed in great deal In the packet mode patent application. 26 Receiver * Band Pass Filtering - Very narrow filtering does not let signals outside the frequency range to use be used through. This enables rejection of noise on the power line network. * Impulse correlation and detection - this section searches within the signal 30 coming In if there Is an impulse present. Impulses are large transient voltages that have the effect of destroying the wanted signal. The impulse must be detected early in the system to have minimal effect.
14 * -Impulse cancellation - The impulse is preferably removed before it enters the system because it has the effect of drawing out impulses. As soon as an impulse is detected from the Impulse correlation and detection section the impulse is cancelled out from the band pass filter and the unaffected 5 signal can enter the rest of the system. * Resampling - This aids the demodulation process. * BIU and channel metrics - This section provides the Band In Use signal to the MAC sub -layer as well as providing channel metrics such as noise and signal strength to the upper layers. 10 * Carrier - Phase Matching - Once the data has been resampled the phase of the signal must be acquired. This is done through a technique developed for STALON called phase Matching. It is considered a reliable method of determining the phase of a signal and also detects the position of bit boundaries In the signal. The bit boundary signal is passed onto the 15 bit synchronization section. * Bit sync - The signal from the Phase Matching section Is used to determine where the bit boundaries exist in the incoming signal. The bit sync does this by approximating every time it receives the' signal and taking an average of them. 20 * Demodulator - This takes the incoming signal and compares it to the reference phase that it has acquired. When the phase Is compared it is able to determine the data that is coming through the receiver. * Data Decoding and Detection - The coming in is of a raw form. The data needs to firstly be checked for the start of packet bit sequence. Then the 25 data needs to be framed and checked for parity. This framed data is sent to the high layers for extra processing such as CRC's and addressing. Transmitter * Data Framing - The data coming from the upper layer processor must be serialized and framed. This framing includes parity and polarity checks. 30 The preamble, start and end of packet fields are also added to the packet, 15 * Modulator - The modulator superimposes the serial data onto a carrier frequency in the form of BPSK. This enables the data to be transferred overthe power line more reliably: * Band Pass Filtering - Very narrow filtering does not let signals outside the 5 frequency range to use be used through. Make the signal as spectrally efficient as possible. Figure 4b illustrates one embodiment of a receiver block diagram. The receiver is specifically designed to- combat the types of noise that are found on the power line medium. As described earlier the main types of noise that are 10 found on the power line medium are: Impulse noise: short duration "spike" of voltage and large in amplitude. The Inventors have realised that this has the effect of dwarfing small signals also present on the medium. it Is hard to reject and devastating to, the demodulation If not rejected earlier in the receiver chain. Due to 15 protocol one off impulses such as a light turning on will not cause problems to communications as the packet will be resent. Problem Impulses are periodic in nature and mean that the probability of packets getting through will be low. The impulse has essentially the appearance of a phase change once it has passed through filtering etc, but does not correlate well 20 with the expected waveform for a carrier phase change. The impulse also has the effect of distorting the phase changes making it harder to detect and therefore demodulate. An impulse on a phase change may effectively snub it and detection is weak. The impulse can be noted and accounted for In the particular position. 25 * Tonal noise: Constant or bursting, periodic voltage. The inventors have realised that this often is caused by devices such as computers that contain switch mode power supplies. They place a tone of a specific frequency onto the power line. It Is often varying In amplitude and can be. very large in amplitude. Devices such as intercoms can also place tones 30 on the power line that are also modulated. This modulation has the effect of hindering communications.
16 . Random noise: Random noise is as the name describes le, being non deterministic- in nature. The Inventors have realised that It Is hard to completely eliminate random noise because of its random nature. This form of noise after narrow filtering looks like extreme jitter in the carrier 5 frequency. The effects of random noise can be minimized through averaging or other techniques. Average must be limited due to the effects of inter-symbol Interference, so using simple techniques can only remove the noise to a point. Due to this the demodulation process must be very hardy against jitter, 10 The following description details aspects of Invention which have been created to combat or at least ameliorate these types of noise listed above. The aspects may be included In the receiver as illustrated in Figure 4b. DEMODULATION Carrier phase matching 15 Demodulating incoherent binary phase shift keying Is considered to be a difficult process due to the lack of Initial phase information. A reference phase must be found before demodulation can occur. The phase change matching or phase change correlation technique was developed (after considerable research) to be relatively reliable in the face of considerable jitter and other noise. 20 Traditional techniques such as simple digital PLL based solutions are considered unreliable In the face of distorted carrier signals. Jitter and noise has the effect of making a PLL unable to lock and therefore unable to dbmodulate. This was considered unsuitable for the power line application and more signal conditioning would be needed in order to make these traditional techniques usable. 25 Initial research was carried out using the (so called) 'integrate and dump' technique, common In BPSK systems. It involves comparing the Incoming carrier signal with the phase of an internal clock of the same frequency. The phase is compared over a bit period, incrementing a counter when the phase is the same and not incrementing the counter if they are different. The end accumulation Is 30 then compared with half of the maximum possible count to determine the phase of the carrier. This accumulation over the bit period has the effect of averaging and therefore makes demodulation less prone to noise. This technique has a 17 number of foreseeable problems. Firstly the carrier and internal signals must be phase locked or a definite decision can not be made- If the phase of the signal was not Initially close to that of the internal clock. As previously mentioned phase locking is prone to noise problems and would require significant effort for it to be S suitable. Secondly a way of bit syncing was also needed and It required another system to do partial demodulation in order to determine the bit boundaries. If bit syncing was not carried out, the dumping of the accumulated value could occur in the wrong position (e.g. In between a bit boundary) once again making the phase decision process inaccurate. 10 The present aspect of phase change matching was derived from a form of the Hilbert transformer, which splits out the amplitude and quadrature components of a signal. By observing a phase change In a relatively noise-free carrier, it is possible to detect a similar phase change In a carrier that has noise Imposed on it by comparing the two. The present invention compares the noise 15 free carrier that we expect and the In coming signal. The two are multiplied together to correlate them. If they correlate well then we will get a large number when multiplied. If the two correlate well, there has been a correct phase change. If they do not correlate well then there is no phase change. In the binary phase shift keying system the two states are defined 'by sine waves that are 180 20 degrees out of phase from each other as: so (t) = A sin w~i and s 1 (t) Asin(wme +:) = -Asin r where So is a logic 0 and S 1 is a logic 1. Thus, the function of the phase change matching system for continuous time can be deflried as: 2r (t) 2s (t) 25 21) .......................... equation I where s(t) A decision must be made as to the point at which a correlation Is sufficiently high to determine a phase change has occurred. This system is substantially Immune to noise due to the fact that it is comparing a wanted signal over a longer period of time. This has the effect of averaging out jitter and other 18 unwanted noise. Figure 4c demonstrates the output of the phase change matching system when given a typical initial portion of a packet. At first until time 0.004s there is noise on the line It creates small counts, as It does not match well with a phase change. The carrier is now received and the initial alternating bit 5 pattern is displayed until 0.010s where the data becomes the start of packet field. After the start of packet sequence has been detected the data is received until the end of packet sequence is detected. The framing and detection of bit patterns Is handled by the data decoding and parity checking sub-section. Each spike in the count values represents a strong correlation to the phase 10 change that is required therefore signifying a phase change in the carrier. Decision circuitry is placed on the output of the system to ddtermlne the point at which output counts are sufficiently high to confidently say that a phase change has occurred, This is simply implemented as a-comparator at % of the maximum count. This value was chosen because the system when given a carrier 15 frequency without a phase change will produce counts that can reach the % and % marks and therefore anything higher is likely to be a phase change. The decision level can be change If excessive errors are produced due to incorrect phase change detection. There are also multiple thresholds available for determining the difference"between a weak phase change and a strong-one. This 20 can be used In error correction In determining if a bit received is likely to:be erroneous. Additional processing of this signal is needed to recover the data. The output of the phase correlation system only tells us that a phase change has occurred, This phase change also signifies a change in the data and therefore data recovery can simply be the toggling of a binary signal when a 25 phase change occurs. Another method Is the dual correllator method used for demodulation. It is Important that there is no DC offset at the point of demodulation due to the fact that the phase change matching system relies on the zero crossings of the incoming signal. After the threshold has been reached by the phase change matching count a signal is produces to signify the change in 30 phase (delta-phase). This signal is used to toggle lock onto the phase of the carrier and is also used In the bit synchronisation phase discussed in the next section. In the example shown in Figure 4d, an Impulse was added at approximately time=0.0126s to demonstrate its effect on demodulation. From the 19 output of the simulation it is evident that the counts have hot reached as high due to the signal not closely matching that of a phase change. it has the effect of masking a phase change and therefore missing data encoded on the carrier. The early impulse cancellation method was developed to overcome such an effect. 5 The phase change matching system is implemented in a similar way to an FIR filter. They are essentially the same as they are an averaging processes using the multiply and accumulate technique, During each demodulation cycle, these bits contained in the shift register are multiplied by an array containing the data representing an ideal phase change after filtering. As only the sign bits are 10 used, the multiplication- process is simply the adding of the two bits: These multiplied numbers are added together to form a count that is high if they match and low It they do not match. Serial addition is used to minimize the area of the logic used. This method is considered very efficient in logic area and is also very reliable for determining bit synchronization and also the phase of the carrier. 15 The phase change matching technique can be used as a very efficient way of demodulation and is also quite reliable as a demodulation technique however it was found with research that the dual correlator method of demodulation is also sellable and the two may be used together to provide a very robust demodulation system. 20 Bit synchronisation The synchronisation of the Internal clocks to the asynchronous data transfer is considered important to ensure the reliability of the decisions made on Incoming data. If the clock edges were to occur at a similar time to the phase change signal, jitter would significantly affect the demodulated data output as 25 phase changes might occur Just before the clock on some cycles and just after on others. The header of the packet contains an alternating I and 0 pattern for 24 cycles, which has been designed specifically for bit synchronisation. The phase change matching stage outputs a change in phase signal (delta-phase) to produce a definite time at which a phase change occurred. Using the alternating 30 1 and 0 sequence of the packet header plus the delta-phase signal, the Internal clock can be aligned with the asynchronous. data. An early-late decision process is used to carry out the clock alignment. Early-late synchronisation works by looking for rising edges In both the Internal clock and the output of the phase 20 change matching process. If the Internal clock -occurred before the received phase change then the data was late and the Internal data clock is advanced to compensate. The opposite occur's for the case when the phase change Was early and the internal clock is stalled to compensate. The 24 cycles of the alternating 5 bit period Is more than sufficient to produce an accurate synchronisation. Figure 4e Illustrates this process, The data decision process actually occurs on the falling edge of the Internal synchronised clock (eg half cycle) instead of -the leading edge (such as is shown in Figure 4e). This is because it represents the longest time in both 10 directions for the phase change circuitry to make a decision minimising the effect of jitter. Bit synchronIsation only occurs while the line is active and until the start of packet field Is detected. This is to stop the system from synchronising to phase changes that are non-periodic and therefore unsuitable for synchronisation. Also the synchronisation process must not occur during the data period or the internal 15 data clock will be continually changing. Figure 4d shows the bit synchronisation process In more detail on actual received data. Phase Locking When the delta phase signal is asserted, it represents a time when the phase-of the carrier was substantially stable and a particular phase angle. This 20 technique is considered superior to other techniques due to the fact that it only acquires the phase of the carrier when it knows the carrier phase is stable and not when the phase is changing. Phase Lock Loops are continually hunting for the phase of the carrier, this is considered to make them unreliable as the actual phase is never found because it Is always "fishing" for the phase. The phase 25 change matching technique is a deterministic way of determining the phase and is very robust against jitter and other effects due to noise, To actually recover the data, a technique similar to the dual correlator method may be used. The dual correlator method compares the incoming signal to two phases (sine and cosine). These two phases are multiplied by the 30 incoming signal. The phase that correlates the strongest with the incoming signal is used to determine which is closest to actual phase. The two reference phases are then changed to more closely match the signal. This method still continuously "fishes" for the correct phase match. The method developed in the present 21 invention Is considered more deterministic as the phase is compared when it is known that the phase is substantially stable. The demodulation is carried out using a more accurate method compared with that of the sine and cosine. Due to the fact that we know when the delta phase signal is asserted, the phase is stable 6 and we are close to a particular phase range, we can use a finer granularity of phase references to compare to. The demodulator contains two phase references one that is 22,5 degree ahead of the current phase estimate and bne that is 22.5 degrees behind the phase estimate. These are multiplied by the incoming signal and the one of the two that correlates the strongest is chosen as 10 the new phase estimate. This is illustrated in Figure 4f. This system ensures that the internal phase estimate tracks very closely that of the phase of the incoming signal. It is very robust in the face of jitter because it only attempts to track the phase when It is known that the phase is substantially stable Instead of trying to continually track. 15 HOME AUTOMATION A typical HA system is illustrated in Figure 5. The system contains a gateway to the internet. This gateway serves as a web host for the devices It controls and allows users to access the devices directly from the Internet. Thus, the consumer can then easily control (e.g. switching on/off) lights or house 20 appliances from anywhere with internet access (from either a PC or internet enabled TV). The hardware for the gateway may simply be cheap device(s) such as a single board computer with Ethernet (e.g. Wildcat BL2000) or a Set Top Box with web hosting capabilities. The hardware may also be a more sophisticated 25 device(s) or even a home PC for added functionality. Connection of the devices to the gateway can be achieved by either simply plugging an external Power Line Modem (PLM) unit (which is .an aspect of the present invention) into a power outlet, or through the internal or integral PLM circuit embedded in one or more house appliances. 30 The PLM HA solution, in accordance with an aspect of the present invention is an open system. It-is capable of interfacing easily with most of home appliances, hand-held computers, Set Top Boxes and PCs. Moreover, the PLM technology is considered to resolve difficulties associated with networking. OEMs 22 can easily and rapidly design powerful products with the PLM technology. The PLM may Include a set of powerful networking functions; relieving the designer from the low-level tedious networking details, and offering powerful networked products to the end-user. 5 AUTOMATIC METER READING (AMR) There are several AMR communication technologies, I.e, Radio Frequency Communications, Telephone Line Reading, Broadband (Fibre/Coax Cable) and Power Line Communication (PLC). PLC uses the existing wires that deliver electricity to consumers as a. -10 communications link for AMR. This Is considered to make PLC very attractive for. AMR systems, especially for high density countries like China, India and most of Europe. The drawback of conventional PLC AMR is that signals may be easily affected by power line nose. The power cables were obviously designed for distributing power not for data 15 A power line transceiver, in accordance with an aspect of Invention, is considered to make PLC AMR a reality. The unique dynamically changeable 8 frequency bands enable STAPLM-300 to choose the best channel for reliable communication under the noisy environment. More will be described later herein. Figure 6 Illustrates one embodiment of a PLM AMR system In accordance 20 with an aspect of Invention. The PLM AMR system has at least the following main features: Compatible to the open LON protocol, the do facto standard for AMR and control network. The protocol has the benefit of being flexible and proven In systems over the world. STALON can communicate with any devices 25 . using the same protocol. The protocol has also been utilised by the Italian nation wide AMR system currently containing 27 million meters, * Meets CENELEC EN50065-1 regulation for international operation. CENELEC conformance means that it is able to be used In many European countries. 30 . * High performance with features targeted at huge Asian market Including lucrative Chinese market * Low cost with single.chip solution 23 * High noise immunity. For increased communications reliabuity. 0 High receive sensitivity. Increased communications reliability under high attenuation environments. & Build-in error correction. Ability to self correct errors In the face of 5 extremely noisy conditions. Once again Increases communication reliability. * Unique ID for each device. A Unique ID in each device means that every device can be Individually addressed without complicated or inefficient addressing systems. 10 * Assists in managing the grid, enhancing customer services, developing new pricing options and Improving operations * Real time monitoring, control of the customer demand & load * Time & Money saving * Multi-tariff function. Each customer may be billed a different rate at 15 different times of the day or week etc, to encourage power usage in times of lighter grid loading. " Faulty meter detection & recording. Faults with meters and In the grid are detected immediately providing prompt maintenance and customer service. * increased packet success rate with built In smart repeater capabilities. 20 Smart repeater function means that the transceiver is able to communicate over longer distances and more reliably. * Ability to control, configure and upgrade meters through network. The system has be ability to be dynamic, It can be configured to behave differently or its functions can also be changed or added by uploading and 25 . changing code over the povier line network. * High data security with data encrypted. DES encryption stops people reading and tampering with sensitive data that is.transferred over a public - medium. Referring to Figure 6, in the PLM AMR system, meter data is passed from 30 the meter to a PLM node which is either integrated into or attached to the meter. From the power line modem, data Is transmitted over power lines to a concentrator. The concentrator may be an industrial PC or a single board 24 computer with hard disk storage where the meter data is typically stored until a scheduled time, and then it Is uploaded to the utility server by GSM, GPRS or Internet. The concentrator is not mandatory but is considered one way of implementing the present invention. It's inclusion depends on the application. 5 The STA-PLM AMR solution is a completely open system. It is capable to interface easily with other system components -including meters, hand-held computers and management software. INDUSTRIAL CONTROL The PLM In accordance with the present invention may be used in the 10 industrial control market to monitor and control devices. It can be used in control switches, traffic lights, industrial automation systems and data monitoring devices to name a few. An example of were PLM would be used In Industrial control is a factory or business application. The PLM may be used to automate items such as conveyor 15 belts, robot etc. Due to factories being electrically noisy environments and cables often have to be long due to the size of factories conventional communications such as Ethernet, wireless etc generally will not work. The present transceivers superior noise immunity and sensitivity make it ideal for Industrial control. Twisted Pair cables can also be used instead of power line cables for 20 industrial control market. Twisted pair can be used In HA and Is often used if wires are able to be laid easily. PLM can run on both media without changing the hardware and by using EIA709.2 protocol. MODEM One embodiment of the Power Line Modem technology is based on a 25 highly Integrated System-on-a-chlp (SoC) product. It combines a powerful Power Line Transceiver, EIA709.1 control networking protocol firmware and ample embedded flash memory Into a single chip. Other features and functions may also be provided. The SoC solution greatly reduces costs compared to other similar products, which require several chips. 30 The embedded power line transceiver Is designed to operate in a harsh power line environment by utilizing modern DSP techniques to deliver reliable data communication. Preferably, it conforms to the ANSI/EIA 709.2 and. CENELEC EN50065-1:2001 standards.
25 Preferably, to produce enhanced. performance, users have the option of selecting dual band transmission, various carrier frequencies, forward error correction, CENELEC Access Protocol, packet mode, data encryption and various transmitter output voltages, These advanced options ensure the transceiver 5 operates In a noisy power line environment whilst also having the ability to conform to local regulations. STAPLM-300 preferably utilizes a 32-bit processor to process application code and network traffic. Preferably, its embedded protocol conforms to ANSI/EIA 709.1 controlrnetwork protocol. 10 EIA709.1 protocol is a monitoring and control protocol. It is an "open standard" protocol that was developed by a US company named Echelon. The market for devices utilising this control protocol h.as grown substantially since the Introduction of the first products in 1991. Approximately.54 million Echelon brand Neuron Chips had been shipped as of mid 2004, resulting In thousands of 15 products using this open protocol in an impressive collection of applications worldwide. The EIA709.1 protocol provides a set of communication services that allow the application program In a device to send and receive messages from other devices over the network without needing to know the topology of the network or the names, addresses, or functions of other devices. Support for 20 network management services allow for remote network management tools to Interact with devices over the network, including reconfiguration of network addresses and parameters, downloading of application programs; reporting of network problems, and start/stop/reset of device application programs. The PLM of the present invention is preferably compatible with the 26 E1A709.1 protocol and all these of applications are interoperable with the PLM of the present invention. STAPLM-300 has been designed with an emphasis on Automated Meter Reading (AMR) and Home Automation (HA) applications where the low cost and high performance features of STAPLM-300 are very attractive. However, the 30 present invention may equally be adapted for use in other applications, such as Home Gateway, IR Gateway, Power Point, Light Switches, Curtain Control, Gas Valve Control, Air Conditioner & Heater Control and Any Control of Parameters, Sensor Interfaces, Robotic Control etc. in Industrial Automation.
26 Further more STAPLM-300 can also be used in Industrial control application with twisted pair as transmission media as noted above. The PLM according to this embodiment includes a number of features, such as: 5 Combining an ANSI/EA 709.1 compatible core with an ANSI/HA 709.2 compatible power line transceiver into a single chip CENELEC EN50065-1: 2001 compliant * 8 programmable transmission frequencies dynamically selectable * Dual carrier frequencies 10 * Forward Error Correction embedded N Very high tonal and Impulse noise immunity * DSP techniques utilized a Integrates easily Into existing EIA709.1 compliant networks or create own networks with STAPLM-300 alone 15 * Efficient STAPLM-300 architecture allows reliable processing of network packets and application code * Standard GNU C interface for application code programming Single 32-bit EISC processor for: o Application code processing 20 o Event-driven task scheduler processing o ELA709.1 protocol firmware processing = Task specific hardware modules: o Power Line Transceiver o MAC Layer 26 o User configurable 10 Interface 0 Programmable Real Time Clock with battery backup o Watch Dog Timer o Reset and Clocking o Two 16-bit Timer/Counters 30 - ANSI/EIA 709.2 symbol rate support, 5.4 kbps at 131,98kHz * -80dBV receiver sensitivity * Ability to operate as a twisted pair transceiver. * Memory resources: 27 o On chip 96K Byte Flash for EIA7091 protocol firmware, configuration data, application code and node specific information o On chip 8K Byte RAM for buffering network and application data * Two embedded UART's 5 - Embedded Low Voltage Detector - 3.3V voltage supply with 5V tolerant 10 *5 x 8-bit GPIO ports Full Master/Slave SPI port - 100-pin PQFP package 10 * With EIA 709.2 symbol rate support, 5.4 kbps at 131.98kHz. " 48-bit unique ID number in each Phip " Industrial temperature range of - 40 0 C to 85 0 C - Java based Node Developer software tool for application development POWER LINE TRANSCEIVER 15 The embedded power line transceiver, In accordance with an aspect of invention, is designed to operate in a harsh power line environment by utilizing modern DSP techniques to deliver reliable data communication, Carrier Frequencies The STAPLM-300 carrier frequencies are considered flexible giving the 20 user control of the transmission spectrum without needing to change oscillator frequencies. Not only can the user choose between eight different carrier frequencies but they also can be controlled dynamically through software even on a packet-by-packet basis. This control can achieved in two ways: 1) The user can place a request over the power line for another node 26 in the network to change the band it Is operating on. This is done by placing a special network management packet out onto the power line addressed for the other node. 2) The user can change the local transceiver (eg itself) by calling a special software function that has the ability to change the bands. 30 This function can be called just before a packet Is sent to change the band in which the packet will be sent on. This is known as a packet by packet basis.
28 This paves the way for dynamic frequency allocation according to the communications medium conditions. The eight frequencies are located within the CENELEC A and, C bands. The following table outlines an example of the available carrier frequencies and the corresponding data rates. Carrier Frequency Baud (KHz) Rate (bps) FO 131.578 5482 F1 113.636 4735 F2 104.166 4340 F3 94.339 -3931 F4 86.206 3592 FS 79.365 3307 F6 73.526 3063 F7 67.567 2815 5 In accordance with another aspect of Invention, two communication frequencies can be received simultaneously when configured for dual band mode. The STAPLM-300 defaults to carrier frequencies of FO and F1. Along with the communications medium metric estimation networks can dynamically determine 10 the optimum communications frequencies to use for a particular installation. STA PLMs can communicate with other EIA709.1 protocol based systems when either the FO or F4 carriers are selected and all other relevant features are correctly configured. Figure 7 shows a block diagram of a transceiver according to the present. 15 invention. With regard to Figure 7: * PLI - Power line interface: This is circuitry needed for the ASIC to interface with the mains power network. * Primary and Secondary Receivers - Described in more detail later herein. They are responsible for reliably taking transmitted signal from the power 20 line network and changing it into digital data. There are two separate 29 receivers (Primary and Secondary) this allows simultaneous receptions on different bands. * Transmitter - Is responsible for changing the digital data into a signal that can be transported across the power line network and reassembled at the 5 receiver end. * Noise and signal metrics estimation - Provides channel metrics such as noise and signal strength to the upper layers. a Higher Layer processors - Responsible for interpreting the data and running the protocol stack. 10 * Outside world application - The way that the chip Is used In a system eg for HA used as set top box power line Interface. The transceiver system contains many features that have been added to ease communications in the context of power line communications. It is identified that when communicating over the power line medium certain frequency bands 15 provide more trouble-free transfer of data. A communications system that Is unable to adapt to the environment around it is more often than not ineffective for data transfer, This Is especially true in power line communications were the environment can change wildly and randomly. The present transceiver was designed with this philosophy in mind. Three aspects of the system were added 20 to aid the process of environmental adaptability. These aspects are frequency diversity, Dual band receiver and channel metrics estimation, which will be described more fully below. Multi band frequency diversity An embodiment of the present Invention has 8 possible carrier frequencies 25 at which data communications can occur. More or fewer frequencies may be employed without departing from the spirit of this aspect of invention. For this embodiment, the follow table documents these 8 frequencies: 30 Band Carier Frequency (kHz) Bit Rate 1 ______ 131.57894 5482 2 113.63636 4735 3 104,16666 4340 4 94.33962 3931 5 86.20689 3592 6 79.36507 3307 7 73.52941 3064 8 67.56756 2815 Table 1 The present invention has the ability to dynamically change these carrier frequencies on a packet by packet basis. This means that through software the 5 receivers have the ability to be changed and not fixed to one frequency as the case with, many other power line communication products. This frequency diversity has many benefits when in very noisy environments, The first of these benefits Is that often on the power line medium.various bands of frequencies are blocked by noise sources; Devices such as switchmode power supplies used in 10 computers and television sets place noise on the power line that is largely tonal in nature providing communication difficulties at certain frequencies. Figure 8 helps to illustrate this common problem. When these communication difficulties are identified the present invention is able to dynamically change carrier frequencies In the field to -avoid this 15 particular noise source. it is often the case that the power line medium changes randomly from the last time communications were initiated. A simple case Is somebody plugging in a computer which blocks the frequency at which communications were possible only a few minutes before. The dynamic aspects of the present invention go some way to overcoming these problems. 20 Communication Medium Metrics Estimation Each STAPLM.-300 has the ability to estimate two communications medium metrics. These are how much noise is present In the communications band and the signal strength of each packet received. This allows a network to create more accurate decisions of where to put repeaters and routers and which 25 frequencies to use. Also users are able to diagnose a network by looking at each nodes individual metrics. The. metrics are based on a running average of the 31 Incoming signal after band limiting, Each of the metrics are in the form of a 16bit integer that is able to be read either locally or from a remote node, allowing the whole network to share Information, Regarding the first metric, being an estimate of band noise level, whilst idle 5 the PLM can acquire a 16-bit value which approximates the amount of noise that is presented to the node within the transmission frequency. This in band noise metric Is the received idle noise level averaged over (say) 4ms. It is recommended that multiple readings are taken and averaged once again due to the large fluctuations of noise commonly seen on power lines. Generally the less 10 noise (e.g. the lower the acquired In band noise metric) the more reliable communications will be. Regarding the second metric, being an estimate of received signal strength (RSSI), each packet received can be interrogated for its estimated signal strength. This is very useful to determine the signal to noise ratio of different 15 nodes on the network. It may be that the noise in a particular band is low but the signal is also attenuated significantly making data transmission unreliable. Network management systems can also Interrogate each node for signal to noise ratios to create a database of all transmission path conditions. This produces a deterministic way of finding where repeaters are needed in difficult environment 20 even If they are dynamic. Dual Channel Mode The STAPLM-300 has the ability to operate on two. different carrier frequencies simultaneously. . It is to be noted that the present invention may be configured to operate on more than 2 frequencies simply by providing more 25 receivers; and still in accordance with this aspect of invention. In a preferred embodiment, whilst transmitting you can only send data on one channel but you are able to receive on both channels at one (eg from two different nodes). The Transceiver contains two receiver modules known as the Primary and 30 secondary receivers. This dual receiver configuration gives the present invention the capability to communicate on two frequencies simultaneously. This opens up the possibility for many modes of operation that are beneficial In the context of 32 power line communications. if a particular carrier frequency is blocked it may be impossible for a network to dynamically change carrier frequencies in a single receiver system. A network must still have communications in order to change each nodes carrier frequency to a common network frequency. The secondary 5 band allows this. Acting as a redundancy channel, messages can be sent on the secondary band when the primary band fails, -This gives the present invention the ability receive even when the primary is blocked by noise sources. Figure 9 demonstrates the idea that when the primary channel of (for example) 131kHz carrier frequency is blocked by an interference source such as a computer 10 communications is still possible at the secondary channel of (for example) 96kHz carrier frequency, The user can assign the primary and secondary channels any of the eight carrier frequencies that are defined in Table 1, above. These two transmission frequencies 'can be .used for a variety of applications. In the case of other EIA709.1 protocol based systems the 15 secondary channel is superfluous and only used when communications on the primary are no longer possible. This could be due to particular devices on the power line jamming communications at the primary carrier frequency. With the dual channel mode enabled the last two retries of acknowledged service messages are sent using the secondary carrier frequency. This enables 20 automatic enabling of the redundant carrier. frequency In an attempt to finish the data transmission transaction. All PLMs that wish to communicate in this fashion have to be configured for the same carrier frequencies in order to make communications possible. A minimum of two retries must be used in this mode so that the first packet sent will be tried on the primary band and then the 25 secondary band will be used. Dual channel mode can also be use In applications were common channel repeating is needed. Parts of a network can be segregated into different frequencies in order to effectively isolate the communication channels. PLMs may then be configured to repeat packets across the different carrier frequencies. The two carrier frequencies may be 30 configured as any of the eight frequencies outlined in the carrier frequencies section.
33 Dual Band receiver operation . - The concepts of frequency diversity and dual receiver also opens up the possibility of dynamic routing In difficult environments. Repeating on a common channel such as the power line creates problems if there is more than one 5 repeater. Endless repeating Is considered the result of poor placement of repeaters meaning that people deploying networks have to be very careful when installing repeaters. The dual receiver of the present invention means that a network can be segmented through frequencies to route rather than repeat. Each node also then has the ability to become a router without adding extra hardware 10 in order to allow routing. Figure 10 Illustrates a common problem with meter reading systems in high rise apartment blocks. Communications from level 7 to level I is not always possible due to attenuation and a noise source that is located In the vicinity of level 3. A network can then be segmented into two channels to allow common medium repeating. A packet on (for example) the 15 96kHz carrier will be received on level 3 from level 7. This packet will then be retransmitted on (for example) the 131 kHz carrier to level 1. Moore often than not there may be the need for more than one router / repeater due to noise sources on each level. This vere the present invention has the advantage of dynamically changing where repeaters are placed and what frequencies are used even when 20 the network Is In operation. The channel metrics estimations are used in deciding where to put the repeaters and.what bands are to be used. Each of the receivers has its own MAC layer in order to keep the channels completely discrete; Medium Access Protocol/CENELEC Access Protocol The STAPLM-300 has selectable medium access protocols to keep It in 25 line with local regulatory bodies. STAPLM-300 can be configured to use either the CENELEC or EIA709.1 access protocols. When CENELEC mode is selected it is compliant with the Access protocol outlined in the EN 50065-1:2001 standard, sub-clause 5. Maximum theoretical throughput is reduced whilst in this mode. CENELEC outlines that every power line communications device must 30 monitor the band from 131.5kHz to 133.5kHz and be able to detect the presence of a signal that is asserted'for at least 4ms and of at least 86dBpVrms amplitude. A power line signalling device is permitted to transmit if the band-in-use (BIU) 34 shows that the medium has been inactive for at least 85 miliseconds. Each device must then choose a random interval for transmission, and at least seven evenly distributed intervals must be available for -random selection. PACKET MODE 5 Packet Mode is a specially formulated data transfer made that' Is designed to help avoid severe noise on the power.line. STA-PLMs are able to sense when a large amount of noise is likely to occur and adjusts its transfer rate accordingly. When packet mode Is enabled data throughput rate is lowered by approximately 30%. This mode can be dynamically enabled and disabled through software on 10 secondary frequency band. Perhaps the hardest noise to overcome .is that of phase distortion. The system uses the modulation technique called Binary Phase Shift Keying (BPSK) to transfer data over the power line medium, It relies on the phase to determine what data being transferred. If the phase is being changed from an external 15 method on the power line (eg by the changing of load Impedances on the power lin6) then it can be virtually Impossible to transfer a packet without erroneous data. The present invention contains a unique Internal system that avoids points in the mains cycle where problems are likely to occur and which will the further described below. This reduces the likelihood of erroneous data being transferred 20 in the harshest of environment, Definitions, acronyms and abbreviations PL Power Line PLI Power Line Interface Tx Transmit Rx Receive ASIC Application specific Integrated circuit SNR Signal to Noise Ratio MAC Medium Access Contrbl Node A single end-point on the power line network that is capable of transmitting and receiving data. BPSK Binary Phase Shift Keying STALON Semiconductor Technologies Australian LON STAPLM Semiconductor Technologies Australian Power Line Modem Each node according to the preserit invention has the ability to sense the current position of the mains power 50160Hz cycle. This is done through a zero 25 crossing sensor. The mains power Is taken through an isolation device (either an 35 opto-isolator or a step-down transformer) to produce a low voltage representation of the signal. This signal is given some basic analog low pass filtering to remove unwanted transients etc in the power supply that could falsely trigger the synchronization system. The signal is then clamped to GND and (for example) 5 &S3V rails to make sure that no damage could occur to the chip through- transients and surges. Once the signal enters the present invention, it is Schmitt triggered to stop the occurrence of meta-stability and introduce some hysteresis advantageous once again for filtering. Digital low pass filtering is.then introduced to ensure that 10 the zero crossing is not falsely detected. The filtering also guarantees the consistency of zero crossing point where any high frequency noise can cause jitter to the detection point any therefore giving Inconsistent and inaccurate readings. The signal is then finally rising edge detected where it is used as a synchronisation signal throughout the present system. 15 Each time a rising zero crossing has been detected an internal counter is reset as a reference to the phase (Phase counter). This counter has a fine granularity to ensure the counter free-runs until the next rising zero crossing Is reached. It is important that It Is a rising zero crossing and not simply just a zero crossing for reference reasons. Figure 11 Illustrates how the counter operates. 20 - The frequency of operation is selected though software during the configuration of a node. Depending on where the node is being used either 50 or 60Hz is selected. This mode selection determines the maximum count that can be reached for that frequency. This added in case small surges occur in the power and therefore the 'rising zero crossing is delayed, Using this condition 25 synchronisation is maintained and the next rising zero crossing Is ignored. This is illustrated In Figure 12. In some countries, such as Australia, the timing of the mains cycle is very accurate and therefore will almost always reset on the same count each time, In such countries the above mechanism may not be needed due to the consistent 30 accuracy of the mains cycle. However the above mechanism is more relevant In countries where this consistency does not exist and therefore compromises reliability. This phase counter is used by many subsystenis In the transceiver, 36 The noise contained on the power line is not constant, It is often changing dynamically according to the position of the mains cycle. Through research It has been found that often most of the noise Is generated around the zero crossing point. Figure 13 demonstrates this fact with some actual data acquired of the 5 power line. (the thickened line is band limited noise, and the single line sine wave Is the mains cycle position) It can be seen that the noise swells as it gets closer to a zero crossing point. This Is due to many loads on the power line conduct at the maxima and minima of the'mains. This increased conduction loads down the noise on the 10 power line and therefore it effectively seems quieter. This conduction also has the adverse effect of also attenuating signal as well as noise. Impulsive noise also occurs around the zero crossing point due to devices such as triacs being synchronous with the mains cycle, If there Is high attenuation and significant Impulsive noise present then It would be advantageous to avoid the part of the 15 mains cycle that contains the most noise. - This is how the packet mode system of the present invention works, The phase counter that Is previously described is used to relatively accurately measure where the mains cycle is positioned at any time. This accurate sense mechanism allows us to avoid the noise on the power line network. Figure .14 shows how the phase counter relates to the mains cycle 20 as well as the noise, The bottom of figure 14 demonstrates how and where a packet will generally get distorted. As previously mentioned at the maxima and minima of the mains cycle amplitude and phase distortion is introduced to the carrier signal. From Figure 14, it would be advantageous to avoid the areas where the distortion 25 is introduced. This would be around the phase counts of 10 to 20 and 42 to 52. Figure 15 shows how the packet mode system sends a packet but halts transmission around the distorted areas. The mode (and therefore the halting) Is preferably enabled through software where a flag is set to enable the packet mode. The user sets the places where the packet is to be automatically halted. 30 For example, in the above examples, phase counts 10 (start) and 20 (end) would be programmed into the configuration section of the chip. The halting will then occur In the 10 to 20 section, 37 ERROR CORRECTION IVODE Devastating noise on the power lines comes in many forms. Noise that is bursting or Impulsive in nature can typically have the effect of destroying a whole byte of data. Most power line communication systems are unable to recover from 5 such noise. If the noise is also repetitive in nature then communications may never normally be possible. When error correction mode is enabled a PLM has the ability to correct for multiple errors that would normally be unrecoverable in most other systems. When in this mode the data throughput rate is lowered by approximately 20%. Error correction can be enabled and disabled thitugh 10 software. Preferably, the transceiver uses a error correction method that is known as reed-solomon error correction, although other error correction methods may be used in conjunction with'the present Invention. A special form of reed-solomon error correction is used due to the variable sized packets and to ensure the 15 smallest sized packets. The most common variety of reed-solomon Is called reed-solomon (255,223). This refers to there being a block of 255 bytes, 223 bytes are actual data and 32 bytes are what is known as the error correction syndromes. The correction syndromes are additional bytes use in the event of an error to correct it. This is considered wasteful because even if 10 bytes are sent 20 then 32 bytes of syndromes need to be sent. The transceiver uses reed-solomon (11,15), this means It Is based on a 15 byte block with 4 bytes of syndrome. This seeks to minimise the wastage. Also the syndromes may be spread throughout the packet rather than appended to the end of the packet. This Is to minimise the effect of cyclic noise that is more than likely (in practice) to going to knock out 4 25 bytes in a row. ENCRYPTION MODE The present invention; for example includes an Integrated Triple DES encryption/decryption core. Due to the power line being an open medium any Individual has the ability to read transmitted packets. There is even the possibility 30 of Intercepting packets, then manipulating data to falsify Information. The strong encryption overcomes the problems of packet sniffing and manipulating data. Although the EIA709.1 protocol claims to have encryption it is not the case. It Is simply uses a one way encoding of data that is very easy to decipher. The three 38 encryption keys are stored through software and are field updateable to allow key rotation once significant amounts of data have been transferred. VARIABLE BIU THRESHOLD The CENELEC EN50065-1: 2001 standard, sub-clause 5 specifies that the 5 Band-in-Use threshold level is placed at amplitude of 86dBpVrms. This level may not always be practical in many Installations. Many. environments contain noise levels that are in excess of this threshold level making reliable medium access impossible. It is for this season that the present inventioN offers a variable Band In-Use threshold to accommodate the ambient noise levels of a wide range of 10 installations. It Is considered that if the BlU threshold [s set close to the threshold of noise, It is possible that transmission may not be possible. This due to the system thinking that there Is currently a packet being transmitted on the power line. In order not to collide with this "packet", the transmitter will not proceed. To 15 address this problem that exists in noisy environments, the threshold has the ability to be changed. MAINS SYNCHRONIZATION When the ACSYNC pin Is connected in the correct manner a STA-PLM Is able to synchronise to the phase of the AC power. Mains synchronisation can 20 help In overcoming certain sources of noise on the power lines by transmitting at a user defined point of the AC power cycle. PHASE DETECTION The present invention has the ability to detect if two nodes are connected to the same phase. The present Invention Is able to provide the relative phase 25 angle difference between the two nodes. The sensor (ACSYNC pin) may be connected as shown In the mains synchronisation configuration setting. The node may send a.phase detection packet addressed to a particular known node. The remote node will then respond with the relative phase. This can be used in the field, as often in installations we are unable to ascertain if two power lines are 30 on the same phase. Inter-phase communications are often difficult due to the large amounts of attenuation across phase couplings. During installation It is considered to be almost always best to communicate on the same phase.
39 The present invention offers a phase detection system inbuilt into every chip. This.means that no special equipment is needed in the installation of a network according to the 'present Invention to determine a phase difference between nodes. Technicians need not even be called out to the site to see if the 5 phases have been wired up correctly as they can be diagnosed remotely. The phase detection mechanism has addressing information embedded into the system in order to create point to point readings rather than having to remove all other nodes from the network. Figure 16 below illustrates the phase detection system in the context of a network. 10 Definitions, acronyms and abbreviations PL Power Line PLI Power Line Interface Tx Transmit Rx Receive ASIC Application specific integrated circuit SNR Signal to Noise Ratio MAC Medium Access Control Node A single end-point on the power line network that is capable of transmitting and receiving data. Each node has the ability to sense the current position of the mains power 50/60Hz cycle. This is done through a zero crossing sensor on (for example) the ACsync pin, and an example of this is described above In relation to the 'Packet 15 Mode", The traditional detection system consist of transmitting on a zero crossing and measuring the time that elapses since the last zero crossing. This Is illustrated in Figure 17. Although the traditional method is simple, it has a problem In the fact that it 20 breaks the medium access algorithm. This algorithm Is specified in the EIA709.2 and CENELEC standards. It basically says that if there is a presence of a carrier on the power line then you are not allowed to transmit as it would cause a collision. The traditional method breaks this algorithm because it transmits at a specific point in time regardless of whether there is a packet being transmitted. 25 This Is considered to have the shortcoming of causing collisions on the common power line medium within a network that is already commissioned. The present 40 phase detection system is considered unique as it does not affect the medium access. It operates in the following fashion. A phase detection packet is commissioned from the application layer, It Is addressed to a particular node in 5 which the relative phase difference is to be determined. This passed onto the medium access control (MAC) sublayer where it walts for the next transmission slot. Once the MAC sublayer'has given the signal to transmit the packet is assembled at that time at the physical layer. Two bytes of the data field of the packet are reserved. The current phase counter Is placed into these reserved 10 bytes of the packet and the rest of the data untouched. When this packet is received by the addressed node the phase count at the time of reception is acquired and stored with the packet. The phase difference is then calculated according to the discrepancy between the phase count embedded in the packet and the phase count when the packet was received. Figure 18 illustrates this. 15 There is a small amount of delay before the receiver acknowledges that the start of packet field has been reached. This delay is relatively constant and accounted for by simply subtracting the delay from the phase count. Due to there being only three possible phases in power line transmission networks, there are three ranges of relative phase counts. Figure 19 demonstrates the relative 20 counts between the phases when referenced to phase A. As It can be seen a relative count of 53 to 11 signifies that It is the same phase. A relative count of 12 to 32 signifies that it is 120 degrees out of phase and 33 to 52 signifies 240 degrees out of phase. it can be seen that this method does' not affect the medium access 25 algorithm therefore making it useful to a network that has already been commissioned and running in the field. TWISTED PAIR OPERATION Although the STAPLM-300 Is designed for power line networks It also has the ability to provide excellent communications over twisted pair networks. Due to 30 the high sensitivity of the receiver, communications over large distances is possible. This is Ideal for buildings that have existing twisted pair or wired communications.
41 When STAPLM-300 is supplied with a back up battery, it able to transmit over the same power line cable even when the power goes off, as If it was a twisted pair. INTEGRATABLE 5 The present Invention Is substantially fully integratable. Aside from new technologies introduced, the present Invention, implemented on chip is designed to fully conform to the open standard LONWORKS (EIA709.1 protocol) power line communications protocol. It can be fully Integrated with any other devices using the same protocol. Therefore, it can Inter-operate with devices existing in a 10 product or network. LONWORKS INTEROPERABILITY in its most basic mode STAPLM-300 nodes are compatible with other LonWorks@ (EIA709.1 protocol) based -systems and all other EIA709.2 compatible devices. Error correction, packet mode and encryption must be 15 turned off In order to enable communications from other LonWorks@ based systems. Also as other LonWorks@ based nodes can only receive and transmit on 132kHz and 86kHz carrier frequencies using the EIA709.2 protocol these frequencies must also be selected to enable Interoperability. The high integration (low system cost) and powerful power line transceiver 20 make the STA-PLM is the winner of using power line for Automatic Meter Reading (AMR) and Home Automation (HA). POWER LINE INTERFACE CIRCUIT The STAPLM-300 Power Line Interface Module consists of all of the necessary circuitry to interface the digital ASIC to the analogue power line. 25 In one embodiment, the analog front end contains two sections comprising of a low pass and high pass component. It is specifically designed to have a small impulse response and wide pass-band to incorporate all the carrier frequencies that the present Invention operates at. It also must act as an anti- 42 allasing filter to reject any frequencies above the niquist rate for the sampling frequency.. Also importantly, in one application, is the fact that it operates as a filter for rejecting strong tonal noise outside the carrier frequency bands. Specified in the EIA 709.2 standard Is a recommended tonal rejection 5 profile. The profile Is based on some of the common tonal noise found on the power line. This is namely devices such as intercoms above 150kHz and switch mode power supplies In the lower ranges. It has also been determined that there is often more actual noise on the power line than what is ideally stated in the applicable standards. This shows that many devices operating on the power are 10 not conforming within their applicable standard ranges. With this in mind the front end was designed to cope with interference that exceed the maximum disturbance limits outlined In the standards so that It was more able to operate In a real environment. A second order sallen-key filter structure was used for Its unity gain, stability and its ability lo be used In a single power rail system, The 15 filter provides a second order band pass function. It is chosen as the best trade of between cost, performance and complexity. Figure 20 shows the frequency response for filter network, in accordance with one preferred embodiment of the present invention. The -3dB points are placed at approximately 65kHz and 140kHz. This is to ensure that all carrier 20 frequencies are not attenuated by the filter but at the same time attenuating noise as much as possible. The frequency response Is also easily modified, with only two components needed to change. This is advantageous when only certain frequency bands will be used. The filter can be narrowed to increase tonal noise rejection, The analog front end also adds a DC offset that is needed for the ADO 25 to operate correctly, The schematic diagram is show In Figure 21. ROUTING The inventors have realised that a STAPLM-300 node may niot be able to communicate directly with another node at all times due to reasons of noise, interference, and signal attenuation. Because of this, it is sometimes necessary 30 for nodes to communicate indirectly, It is preferred that every (or at least some) devices of the present Invention (STAPLM-300) can act as a router, routing Is implemented as a Network Management command. A message is addressed to the router node with a 43 payload code of STALONNMSTALON ROUTE (0x7E) and the final destination address information pre-pended to the message payload, the router then forwards the enclosed *packet to the destination. Because the routing is implemented In the Application, it can be dynamically switched on and off as 5 network conditions change. When a router node receives a route message it strips the route information from the start of the message and forwards the result to the destination node. The destination node will see the incoming message as having been generated by the router. If the destination node responds the response will 10 be directed to- the router node's address. The router node then forwards the response to the initiator node. When responses are returned by the destination they arrive at the Initiator node with the router node's address. if a routing node cannot contact its destination, it returns the code STALON_NM_STALON_ROUTE used to Initiate the mute. This tells the initiator that 15 the transaction failure was due to communications difficulties between router and destination, and not between the Initiator and router. Routes may be nested (ie. a message can be routed through a number of nodes before It reaches the destination). To add an extra route to an outgoing message simply pre-pend another route request in front of any existing ones. 20 Example of a Route Three nodes A, B, and C: A can communicate with B. B can communicate with A. B can communicate with C. 25 C can communicate with B. A cannot communicate with C. C cannot communicate with A. Node A can forward a message from B to C, the message response (If any) will return via B to A. 30 Routing Issues Because a route increases the packet size, it will impact on the maximum size the user can make a packet, 44 Routlg will produce extra network traffic (each stage of the route increases congestion to forward a message) and an Increased response time (the routed packed takes longer to reach the destination and the response takes longer to return). Care must be taken to tune the retry timing of each stage. If a 5 node retries too frequently the retries can collide with the response packets from the router. Route Example The following example shows a scenario where the Initiator wants to send a sub-net node addressed message to an unreachable node. The payload to be 10 delivered Is a code of 0x20 and data of OxlO. A router node is chosen, it contains the address of the unreachable destination in its address table at table index 1. Destination Address (in raw bytes): Ox01 OXOO Ox.44 0x44 0x05 Route Addressi (in raw bytes): OxO 0x02 x44 Ox44 0x5 Original Packet (No Routing) Address Payload Code Payload Data fxOl OxOO Ox44 Ox44 OxO5 J0x20 OxI 15 Routed Packet (If Address Index Supplied) Address Payload Code Payload Data 0x01 Ox02 0x44 0x44 0x05 x7E 0x01 0x20 0x10 Routed Packet (if Full Address Supplied) Address Payload Code Payload Data 0x01 0x02 0x44 0x44 OxOS x7E OxOF 0x01 OxO 0x44 0x44 0x05 Ox20 0x10 ASYNCHRONOUS RECEIVERITRANSMITTER (UART) There are two full duplex asynchronous receiver/transmitters (UART's) in 20 the STAPLM-300. They support baud rates from 1.25 mega baud down to 300 baud. The frame format is: I start bit, 8 data bits, no parity, and 1 stop bit. Each UART can generate a receive buffer full or transmit buffer empty interrupt. HARDWARE TIMERS There are two 16-bit count down timers, they can each generate an 25 interrupt, The timers have a 50 ns time base.
45 There are pre-scale settings for modifying the default time base, The pre scale settings can be from a one ms pre-scalar, the Real Time Clock Unit, or the UART baud rate timer. The timers can be set up to count interrupts from a GPiO Port, or from the 5 other timer. The timers can be set to cyclic mode, where they automatically reload, making them useful for periodic timing functions, GPIO There are five 8-bit General Purpose Input/Output (GPIO) ports in the STAPLM-300. They are labelled A through to E. All of the ports are 3.3V, 5V 10 tolerant, bi-directional and bit addressable,. BitO for each port can be used as a level sensitive interrupt input, the Interrupt polarity is programmable. Port E's pins may be used for hardware specific operations: Amplitude Shift Keying, Serial Shifted Output, SPI, and Real Time Clock calibration. AMPLITUDE SHIFT KEY UNIT 15 This controller will modulate Input generated by GPIO Port E, or from the UART transmit pin with a carrier generated by one of the user timers. This unit-is useful for activities like Infra Red communications. SERIAL SHIFT OUTPUT This is a buffered timer driven output. The output updates exactly at the 20 timer rate. This produces a high precision for timing/phase sensitive applications. Without buffered timer driven output the microprocessor execution time is added to the phase error (JItter) of the pin, this phase error will be many orders of magnitude greater than the latent error in the Input clock. SPI INPUT/OUTPUT . 25 Pins can be configured as the Serial Peripheral Interface (SPI) port. STAPLM-306 includes a full Master/Slave SPI module with following features: Master or slave mode Multi-master bus contention detection and interrupt a Four transfer protocols available with selectable clock polarity and clock 30 phase Variable length of transfer word up to 16 bits * Is compatible with SPI (a trademark of Motorola Semiconductor) and Microwire/Plus (a trademark of National Semiconductor) 46 " Bit rates generated in Master mode: +2 down to +256 of System clock " Bit rates supported in Slave mode: SCK = System clock -4 BREAK POINT REGISTER Whenever the microprocessor program counter equals this register, a 5 breakpoint interrupt is generated. This register is used by the GNU debugger. WATCH DOG TIMER This timer can have a period between 1 ms and 2 sec. It can be configured to generate an interrupt or to reset the STAPLM-300. INTERRUPT CONTROLLER, 10 All interrupts may be blocked, cleared or set in software. The interrupts are buffered in the event of a new interrupt being generated while an existing Interrupt is being handled. The interrupts include: UART buffer interrupts, SPI Interrupts, GPIO interrupts, Timer interrupts, a Real. Time Clock alarm interrupt, a watchdog Interrupt, and a break point interrupt. 15 While this Invention has been described in connection with specific embodiments therof, it will be understood that it is capabIe of further modification(s). This application is intended to cover any variations uses or adaptations of the invention following in general, the principles of the Invention and Including such departures from the present disclosure as come within known 20 or customary practice within the art to which the invention pertains and as may be applied to the essential features hereinbefore set forth. As the present invention may be embodied In several forms without departing from the spirit of the essential characteristics of the Invention, it should be understood that the above described embodiments are not to limit the present 25 invention unless otherwise specified, but rather should be construed broadly within the spirit and scope of the Invention as defined in the appended claims. Various modifications and equivalent arrangements are Intended to be included within the spirit and scope of the invention and appended claims. Therefore, the specific embodiments are to be understood to be Illustrative of the many ways in 30 which the principles of the present invention may be practiced. In the following claims, means-plus-function clauses are intended to cover structures as performing the defined function and not only. structural equivalents, but also equivalent structures. For example, although a nail and a screw may not be 47 structural equivalents in that a nail employs a cylindrical surface to secure wooden parts together, whereas a screw employs a helical surface to secure wooden parts together, in the environment of fastening wooden parts, a nail and a screw are equivalent structures. 5 "Comprises/comprising" when used in this specification is taken to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof." Thus, unless the context clearly requires otherwise, throughout the description and the claims, the words 'comprise', 10 'comprising', and the like are to be construed In an Inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of "including, but not limited to".

Claims (9)

  1. 2. A method as claimed in claim 1, wherein a second byte of data represents the phase of the selected node at the time of receiving the packet. 20
  2. 3. A method as claimed in claim 1 or 2, wherein if the difference between the first and second data is between: * 53 to 11, the nodes are on the same power line phase * 12 to 32, the nodes are 120 degrees out of phase, and 25 * 33 to 52, the nodes are 240 degrees out of phase.
  3. 4. A method as claimed in claim 1, wherein the detection packet is initiated from an application layer. 30 5. A method as claimed in claim 4, wherein the detection packet is provided from the application layer to a MAC layer prior to transmission. 49
  4. 6. A method as claimed in any one of claims I to 5, wherein a second byte is provided in the detection packet adapted to store the second data.
  5. 7. A method as claimed in any one of claims 1 to 6, wherein the zero crossing event 5 is the same zero crossing event at both the first and second node.
  6. 8. A data packet adapted to be used in conjunction with the method as claimed in any one of claims I to 7, the packet comprising: First data representing the phase of the node transmitting the data, and 10 Second data representing the phase of the node receiving the data, at the time of receiving the packet.
  7. 9. A power line system adapted to operate in accordance with the method as claimed in any one of claims I to 7. 15
  8. 10. Apparatus adapted to operate in a power line system, said apparatus including: processor means adapted to operate in accordance with a predetermined instruction set, said apparatus, in conjunction with said instruction set, being adapted to perform 20 the method as claimed in any one of claims I to 7.
  9. 11. A method as claimed in claim 1, substantially as herein described with reference to the accompanying drawings.
AU2011203480A 2005-04-26 2011-07-08 Communications Method and Device Abandoned AU2011203480A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2011203480A AU2011203480A1 (en) 2005-04-26 2011-07-08 Communications Method and Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
AU2005902067 2005-04-26
AU2011203480A AU2011203480A1 (en) 2005-04-26 2011-07-08 Communications Method and Device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2006239729A Division AU2006239729A1 (en) 2005-04-26 2006-04-26 Communications method and device

Publications (1)

Publication Number Publication Date
AU2011203480A1 true AU2011203480A1 (en) 2011-07-28

Family

ID=45420109

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2011203480A Abandoned AU2011203480A1 (en) 2005-04-26 2011-07-08 Communications Method and Device

Country Status (1)

Country Link
AU (1) AU2011203480A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2887557B1 (en) 2013-12-19 2016-07-20 LSIS Co., Ltd. Apparatus for power line communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2887557B1 (en) 2013-12-19 2016-07-20 LSIS Co., Ltd. Apparatus for power line communication

Similar Documents

Publication Publication Date Title
US20090072954A1 (en) Communications method and device
US7345998B2 (en) Mesh network of intelligent devices communicating via powerline and radio frequency
US20110043374A1 (en) Communication methods and devices
EP2057727B1 (en) Method and apparatus for a power line communications test system
US4479215A (en) Power-line carrier communications system with interference avoidance capability
US20020130768A1 (en) Low voltage power line carrier communications at fundamental working frequency
US9584185B2 (en) Relative phase detection in power line communications networks
US10050671B2 (en) MAC cycle alignment method for neighboring network coordination
WO2000030324A2 (en) Modem having a programmable universal data access arrangement
JP6322799B2 (en) Automatic meter reading system
Zuberi Powerline carrier (plc) communication systems
CN102100004A (en) Method and system for isolating local area networks over a co-axial wiring for energy management
AU2011203480A1 (en) Communications Method and Device
AU2006239729A1 (en) Communications method and device
Kim et al. A power line communication modem based on adaptively received signal detection for networked home appliances
US20220108160A1 (en) Method and apparatus for power line communication network
JPH11284552A (en) Power line carrier communication system
Leitgeb et al. Using Regular Semiconductor Illumination Arrays (Connected via Power Line Communications) for Visible Light Sensing
Duplex AMIS--49587 Product Preview Power Line Carrier Modem

Legal Events

Date Code Title Description
MK4 Application lapsed section 142(2)(d) - no continuation fee paid for the application