Method and apparatus for power line communication
The variation cycle L of the characteristics of a transmission line is divided into a plurality of sections (n sections), a procedure is repeated in which transmission line estimation is performed for only one section among n sections in one beacon period, and thus transmission line estimation is performed for all of the n sections. The beacon period T is set based on (T=L×m/n), where n is an integer that is 2 or larger, and m is an integer that is n or larger and whose greatest common measure with n is 1.
This is a Continuation of Ser. No. 10/573,774, filed Mar. 28, 2006, now Pat. No. 7,298,706, which is the National Stage of International Application No. PCT/JP2005/015499.
TECHNICAL FIELDThe present invention relates to a communication apparatus and a transmission line estimation method. More specifically, the present invention relates to a communication apparatus sending and receiving data based on the characteristics of a transmission line between apparatuses without lowering the throughput, and a transmission line estimation method (channel estimation) performed by the communication apparatus, by which the characteristics of the transmission line are estimated and evaluated with a high precision.
BACKGROUND ARTIn a communication method by which communication parameters such as a subcarrier and a modulation method used for transmission and reception are determined based on estimation on the characteristics of a transmission line, it is important to precisely determine the communication parameters that are suitable for the characteristics of the transmission line in transmission. In particular, in a communication system having attenuation characteristics that deeply depend on the frequency (power line carrier communications having a power line as a communication medium, for example), it is effective to use a multi-carrier transmission line method using a subcarrier and a modulation method that are suitable for the characteristics of the transmission line.
In a transmission line estimation method used in conventional communication systems, a transmission line is estimated periodically or when the number of retransmissions due to communication errors exceeds a specified value (considering that the characteristics of the transmission line are deteriorated) Then, based on the result of this estimation on the transmission line, new parameters are selected, and data is sent or received. This technique has been disclosed in, for example, JP2002-158675A.
However, in an environment in which the characteristics of the transmission line vary periodically, the communication parameters selected when estimating the transmission line often do not suit for the characteristics of the transmission line when sending data if a timing of sending data is not synchronized with the periodical variation of the characteristics of the transmission line. Thus, in the above-described conventional method, the maximum communication efficiency is not always obtained even when the transmission line is estimated.
Thus, as a countermeasure for this problem, a following method has been conventionally proposed.
First, the variation cycle of the characteristics of a transmission line is synchronized with the frame period of a communication system, and this variation cycle is divided into a plurality of sections. Next, within one frame period, the plurality of divided sections of the transmission line are continuously estimated section by section. Then, as a result of the transmission line estimation, communication parameters obtained in a section with the highest communication efficiency are selected and then communications are performed.
However, in the conventional method shown in
Therefore, an object of the present invention is to provide a communication apparatus in which a transmission line is estimated in a distributed manner by a simple scheduling, so that the characteristics of the transmission line are estimated and evaluated with a high precision and thus data can be sent and received at a high throughput without affecting other streams, and a transmission line estimation method performed by the communication apparatus.
The present invention is directed to a communication apparatus performing periodical communications with another communication apparatus via a transmission line. In order to achieve the above-described object, the communication apparatus of the present invention is provided with a communication control portion, a transmission line estimation portion, and a communication parameter determination portion.
The communication control portion sets the communication period to (L×m/n) (L is the variation cycle of the characteristics of a transmission line, n is an integer that is 2 or larger, and m is an integer that is n or larger and whose greatest common measure with n is 1) to perform communications. The transmission line estimation portion estimates the characteristics of the transmission line within a time (L/n) after a certain offset time (L×k/n) (k is a real number that is 0 or larger) has passed since the communication period started. The communication parameter determination portion determines a communication parameter to be used by the communication control portion, based on a result of estimation by the transmission line estimation portion.
It is preferable that the transmission line estimation portion estimates the characteristics of the transmission line at least n times. Furthermore, the communication apparatus may estimate the characteristics of the transmission line at the initial starting up or upon detecting a change in a state of the transmission line. A typical communication period is the period of beacons sent from a communication apparatus serving as a base unit. When there is a request to estimate the characteristics of the transmission line, the communication apparatus sends a request to allocate a time for estimating the characteristics of the transmission line to the communication apparatus serving as the base unit, and the characteristics of the transmission line are estimated only when permission is given. This request may be notified using the beacon frame or the polling frame to another communication apparatus. A typical variation cycle L of the characteristics of the transmission line is the half cycle of the commercial power supply cycle.
Each of the processes performed by each of the components of the communication apparatus described above can be regarded as a transmission line estimation method that gives a series of procedures. This method is provided in the form of a program for letting a computer execute the series of procedures. This program may be introduced in a computer in the form stored in a computer-readable storage medium. Furthermore, a part of the functional blocks described above that constitute the communication apparatus may be realized as an LSI, which is an integrated circuit.
As described above, according to the present invention, a transmission line is estimated in a distributed manner by a simple scheduling, so that the characteristics of the transmission line are estimated and evaluated with a high precision and thus data can be sent and received at a high throughput without affecting other streams.
BRIEF DESCRIPTION OF THE DRAWINGS
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First Embodiment
The communication apparatus 1 is provided with a communication control portion 11, a transmission line estimation portion 12, and a communication parameter determination portion 13. The communication control portion 11 deals with most of the communication processes performed by the communication apparatus 1. Basically, this communication control portion 11 performs communications with another communication apparatus 1 using communication parameters determined by the communication parameter determination portion 13. The transmission line estimation portion 12 measures the characteristics of the transmission line 2 at predetermined periodical timings and estimates a state of the transmission line 2. The communication parameter determination portion 13 sets or updates communication parameters based on the result obtained when transmission line estimation portion 12 estimates the transmission line 2.
Hereinafter, a method by which the thus configured communication apparatus 1 estimates the characteristics of a transmission line will be described. FIGS. 2 to 4 are diagrams each showing an example of timings at which a transmission line is estimated by the communication apparatus 1 according to the first embodiment of the present invention.
In this embodiment, a case will be described in which in the transmission line 2 in the communication network system, a noise with a certain pattern (the mark X in
There is a case in which due to an influence of a power circuit of, for example, a household electrical appliance that is connected to a power line, the cycle of a noise pattern on the power line is the same as the half cycle of a commercial power supply (50 Hz or 60 Hz). Accordingly, when assuming a communication network system using a power line, it is necessary to consider the characteristics of a transmission line that has been synchronized with the half cycle of the commercial power supply described above (see sine waves in
A point of the setting is that a variation cycle L of the characteristics of the transmission line is divided into n sets of sections (n sections), a procedure is repeated in which transmission line estimation is performed for only one section among n sections in one beacon period, and thus transmission line estimation is performed for all of the n sections. A beacon period T for realizing this point is set based on “T=L×m/n”, where n is an integer that is 2 or larger, and m is an integer that is n or larger and whose greatest common measure with n is 1. Furthermore an offset time is set based on “L×k/n”, where k is a real number that satisfies 0≦k<m. In this manner, when the offset time is set to enable a transmission line to be estimated within one beacon period and section by section, it is possible to deal with a variation of the transmission line quickly. It should be noted that the offset time can be set freely if dealing with a variation of the transmission line rapidly is not considered.
Referring to
At the initial starting up such as when the power is turned on, or upon detecting a change in the characteristics of a transmission line, a communication apparatus 1 serving as a slave unit (hereinafter, referred to as apparatus A) requests a communication apparatus 1 serving as a master unit (hereinafter, referred to as apparatus C) to allocate a time for estimating the transmission line (step 1). When receiving the request to allocate a time for estimating the transmission line from the apparatus A, the apparatus C sends a beacon, to which information on time allocation for estimating the transmission line is added, during the next time of sending the beacon (step 2) . This information on the time allocation for estimating the transmission line refers to information showing sections that can be used for estimating the transmission line, and is typically given as the offset time from the starting time of the beacon period.
When receiving the beacon, to which the information on time allocation for estimating the transmission line is added, from the apparatus C, the apparatus A measures the characteristics of the transmission line based on this information, after the offset time has passed since the beacon period started. In the example in
First, a predetermined estimation series as well as the transmission line estimation request are sent from the apparatus A to the apparatus B. Based on this estimation series, the apparatus B calculates the receiving CNR (carrier to noise power ratio). Next, according to the calculated receiving CNR, the apparatus B creates a tonemap that specifies communication parameters such as a subcarrier to be used and a modulation method for each subcarrier. An example of the tonemap is shown in
With a similar process, the apparatus A measures the characteristics of the transmission line in the other transmission line estimation sections (steps 5 to 10) . In the example in
An optimal tonemap is selected, for example, in the following manner. In the example in
Even without acquiring all of the tonemaps of the transmission line estimation sections, it is possible to select an optimal tonemap among tonemaps that have been acquired when a predetermined time-out period has passed.
As described above, according to the communication apparatus 1 of the first embodiment of the present invention, it is possible to easily realize transmission line estimation in a distributed manner. Thus, the characteristics of the transmission line are estimated and evaluated with a high precision, and thus data can be sent and received at a high throughput.
In the first embodiment, the integers n and m are described as fixed values, but they can be changed dynamically in accordance with, for example, a change in the transmission line based on the estimation result of the transmission line, the value of the PHY rate, or the degree of a variation of the PHY rate.
Furthermore, in the communication sequence shown in
Referring to
In a time during which a response to the request to estimate the transmission line is sent from the apparatus B to the apparatus A, data transfer by the apparatuses A, B, and others may be or may not be prohibited for the purpose of improving the throughput in the data transfer.
Furthermore, instead of a manner in which the receiver apparatus B responds to the transmitter apparatus A by sending the transmission line estimation at each time as described above, the plurality of transmission line estimations may be sent at one time, or the receiver apparatus B may select a tonemap based on the plurality of transmission line estimations and notify the transmitter apparatus A of the selected tonemap. In either case, the effect of the present invention is not lost.
Second EmbodimentThe first embodiment described above is a technique assuming that the variation cycle of the characteristics of the transmission line is known in advance. Then, in a second embodiment below, a technique will be described in which an optimal beacon period can be set automatically even when the variation cycle of the characteristics of the transmission line is not known in advance.
For example, a case will be described in which the communication apparatus 1 can set both of a beacon period T1 (
Herein, it is assumed that the actual commercial power supply frequency is 60 Hz.
As a result, the variation cycle L of the characteristics of the transmission line in the beacon period T1 is synchronized more with a noise that is synchronized with the actual commercial power supply frequency (60 Hz) in the drawing (
On the other hand, the variation cycle L of the characteristics of the transmission line in the beacon period T2 is not synchronized with a noise that is synchronized with the actual commercial power supply frequency (60 Hz) in the drawing (
Based on the above-described points, it is determined that the settings of a beacon period determined to have the highest correlation is synchronized most with a noise that is actually being generated. Accordingly, only by selecting the settings of the beacon period with which the correlation is high, it is possible to automatically set a beacon period that corresponds to the variation cycle of the characteristics of the transmission line.
An optimal communication parameter that is noise-resistant is selected by setting the beacon period according to the second embodiment and then by performing the process according to the first embodiment.
The above-described embodiments can be realized also when a CPU executes a program that can let the CPU execute the above-described procedure stored in a storage device (ROM, RAM, or hard disk, for example). In this case, the program may be executed after being stored in the storage device via a storage medium, or may be executed directly on the storage medium. The storage medium here includes a semiconductor memory such as a ROM, a RAM, and a flash memory, a magnetic disk memory such as a flexible disk and a hard disk, an optical disk such as a CD-ROM, a DVD, and a BD, and a memory card. Furthermore, the concept of the storage medium also includes a communication medium such as a telephone line and a carrier line.
Each of the functional blocks indicated by the broken line in
It should be noted that the method for forming an integrated circuit is not limited to using an LSI, and a circuit integration maybe realized by a dedicated circuit or a general purpose processor. Furthermore, it is possible to use an FPGA (field programmable gate array) that can be programmed after an LSI is produced, and a reconfigurable processor being capable of reconfiguring connections and settings of circuit cells inside of the LSI.
Moreover, if circuit integration technology that replaces an LSI appears due to the development of semiconductor technology or derived another technology, it is natural that the functional blocks may be integrated by using that technology. There is a possibility of, for example, application of biotechnology.
Hereinafter, an example will be described in which the present invention that has been described in the embodiments is applied to an actual network system.
The above-described embodiment is an example in which existing multimedia equipment is applied to power line communications via an adaptor converting a signal interface of the existing equipment to an interface of the power line communications. In future, however, the function of the present invention is included in multimedia equipment, so that it becomes possible to transmit data between the equipment via power codes of the multimedia equipment. In this case there is no need for the adaptor, the IEEE1394 cable, or the USB cable shown in
As described above, by installing a QoS function including a copyright protection function by encoding the contents and the effect of the present invention (band allocation flexibly addressing improvement in throughput, increased retransmission, and variation in traffic), AV contents with a high quality can be transmitted via a power line.
INDUSTRIAL APPLICABILITYThe communication apparatus and the transmission line estimation method of the present invention can be used, for example, in a communication system in which the characteristics of a transmission line vary at a certain cycle, and are particularly useful, for example, when the characteristics of the transmission line are required to be estimated and evaluated with a high precision so that data is sent and received at a high throughput.
Claims
1. A communication apparatus performing periodical communications with another communication apparatus via a transmission line, the communication apparatus comprising:
- a communication control portion operable to set a communication period to a plurality of sections to perform communications,
- a transmission line estimation portion operable to estimate the characteristics of the transmission line in a predetermined section after an offset time has passed since the communication period started, and
- a communication parameter determination portion operable to determine a communication parameter to be used by the communication control portion, based on a result of estimation by the transmission line estimation portion.
2. The communication apparatus according to claim 1,
- wherein when receiving a beacon, to which information on time allocation for estimating the transmission line is added, the transmission line estimation portion estimates the characteristics of the transmission line based on the information.
3. The communication apparatus according to claim 2,
- wherein the information also includes to prohibiting other apparatuses from transferring data.
4. The communication apparatus according to claim 1,
- wherein the transmission line estimation portion estimates the characteristics of the transmission line based on a PHY rate of a tonemap in the predetermined section.
5. A computer-readable recording medium having a program recorded thereon, the program for being executed by a communication apparatus which performs periodical communications with another communication apparatus via a transmission line, the program comprising the steps of:
- setting a communication period to (L×m/n) (L is a variation cycle of characteristics of a transmission line, n is an integer that is 2 or larger, and m is an integer that is n or larger and whose greatest common measure with n is 1) to perform communications,
- estimating the characteristics of the transmission line within a time (L/n) after a certain offset time has passed since the communication period started, and
- determining a communication parameter to be used in the communicating step, based on a result of estimation in the estimating step.
Type: Application
Filed: Nov 19, 2007
Publication Date: Apr 10, 2008
Inventors: Shigeo Yoshida (Osaka), Shinichiro Ohmi (Osaka), Tohru Yasukawa (Wakayama), Tsuyoshi Yamaguchi (Osaka)
Application Number: 11/984,526
International Classification: H04B 17/00 (20060101);