[summary of the invention]
Based on this, be necessary to provide a kind of high-efficiency reliable power line carrier, PLC method and device.
A kind of power line carrier, PLC method comprises the steps: the information gathering step, obtains pilot signal, and obtains to send described node status information after the node status information according to described pilot signal; The information processing step receives described node status information and handles described node status information, adjusts node state; Communication steps communicates according to adjusted node state.
Preferably, described node status information comprises the modulus of channel status of channel condition information, the node of data packet transmission demand information, the node of node.
Preferably, described information gathering step and information processing step can the described node status information of Real-Time Sharing.
Preferably, described information processing step also comprises: the Data Transmission Controlling layer is the node set that needs transmits data packets and can nodes in communication gather the common factor of getting node.
Preferably, described information processing step also comprises the steps: to determine communication channel capacity according to described node status information; Compose with different weights according to the transfer level of packet; Determine the size of bandwidth according to the different weights of described channel capacity and packet.
Preferably, this communication steps adopts time-multiplexed mode, allows node take turns the holding time section and communicates.
In addition, also be necessary to provide a kind of high-efficiency reliable power line carrier, PLC device, comprise at least: information acquisition module is used to receive pilot signal and obtains node status information, and sends described node status information; Message processing module links to each other with described information acquisition module, is used to receive described node status information and handles described node status information, adjusts node state; Communication module links to each other with described message processing module, is used for communicating according to adjusted node state.
Preferably, described node status information comprises the modulus of channel status of channel condition information, the node of data packet transmission demand information, the node of node.
Preferably, described message processing module be further used in the channel condition information for can nodes in communication set and need the set of node conjunction of transmits data packets to occur simultaneously.
Preferably, described message processing module is further used for determining the capacity of communication channel and composing with different weights according to the transfer level of packet according to channel condition information, determines the size of bandwidth according to the different weights of described channel capacity and packet.
Preferably, it is characterized in that described communication module adopts time-multiplexed mode, allow node take turns the holding time section and communicate.
Preferably, described information acquisition module and described message processing module can the described node status information of Real-Time Sharing.
The present invention receives pilot signal, and to obtain channel condition information, the Data Transmission Controlling layer receives the channel condition information that is sent by physical layer in real time, obtains the packet that needs also can be communicated by letter according to described channel condition information, and transmits in channel; Physical layer and Data Transmission Controlling layer shared channel state information have realized the cross-layer optimizing of power line carrier, PLC, effectively promoted between physical layer and the Data Transmission Controlling layer mutual cognition, coordinate mutually and interact; The high efficiency and the reliability of transfer of data have been reached; Help multimedia service signals such as transmitting high speed data, speech, image in electrical network;
Existing network carries out the high efficiency of transmission of data in the application electrical network as communication channel, do not need electrical network is transformed on a large scale, do not need to carry out large-scale communication construction and can carry out active data communication, saved fund and guaranteed the high efficiency of transfer of data, made full use of electric power facility and brought into play the advantage of electric power resource;
From channel condition information, extract the modulus of channel status, Centroid to the circuit difference of node, load is different and be subjected to that annoyance level is different all can to produce mutually different channel status modulus, overcome on the power carrier line and can not discern the influence that load, signal attenuation and interference cause transfer of data, make the accurate identification channel state of Centroid, thereby reduced the transmission rate of packet, avoided network throughput to reduce and cause damage;
Capacity according to Centroid communication channel in the transmission of the channel status modulus of node size determination data bag, the amount of capacity of channel has determined the size of data transmission rate, importance according to packet is determined the needed bandwidth of transmits data packets by the objective optimization function, thereby reasonably optimize the distribution of bandwidth, make the bandwidth of transmits data packets consistent with data transmission rate, to satisfy the demand of network service to greatest extent, the communication system of power grids network bandwidth is fully used.
[embodiment]
Fig. 1 shows the communication subnet topological diagram on the intelligent grid, comprises Centroid and node in the communication subnet on the intelligent grid, and Centroid sends the packet that comes from other subnet on the intelligent grid to node.When packet arrives Centroid, at first to rank, each is the corresponding node of formation independently, and the task of Centroid is to arrange these packets in time to arrive the node of appointment by power line.
Fig. 2 shows a kind of flow chart of power line carrier, PLC method, and detailed process is as follows:
Step S1, information gathering is obtained pilot signal and is sent described node status information again according to described pilot signal acquisition node status information, comprising:
Physical layer receives the pilot signal that comes from the node, collects the state information of node.Node status information comprises the modulus of the channel status of the channel condition information of data packet transmission demand information, node of node and node.In the process of information gathering, collect state information to receive, and from node status information, extract the modulus h of the channel status of the channel condition information of data packet transmission demand information, node and node from Centroid to each node from the pilot signal of node.In the channel, circuit, load and all had nothing in common with each other by annoyance level, so the modulus of the channel status of each node is also different.One threshold value is set, if the modulus of the channel status of certain node is less than this threshold value, Centroid can not be communicated by letter to respective nodes so.In the intelligence communication subnet, Centroid has two instantaneous channel statuses to node, and is disconnected from passing to.
The modulus h of channel status is channel impulse response just, considers the transmission and the reception of baseband signal, does not promptly consider up-conversion and down-conversion, sends a pilot signal x in this way, through after the channel, can obtain following expression:
y=h·x+n
Wherein, x is a plural number, and y is the signal that receives, and h is a channel impulse response, and n is the additive white Gaussian noise signal.
At this, if the recipient receives signal y, and know pilot signal x, the recipient can draw plural h so.
Step S2, information processing receives described node status information and handles described node status information, adjusts node state, comprising:
Step S21, the Data Transmission Controlling layer is the node set that needs transmits data packets and can nodes in communication gather the common factor of getting node.
Step S22 determines communication channel capacity according to described channel condition information.The capacity C of communication channel is by the size decision of the modulus of channel status, and the capacity C of channel reduces, and data transmission rate also can correspondingly reduce so.And according to different data transmission rates, the different chnnel coding of the employing of physical layer adaptive comes the corresponding data bag is carried out encoding and decoding.Communication channel capacity can obtain by following expression:
Wherein, W is a channel width, and N is the power of additive white Gaussian noise signal n, and E is a signal transmission power, and h is a channel impulse response.
Step S23 composes with different weights according to the transfer level of described packet.The packet that is transferred to node to needs is composed the importance of representing packet with weights α, can give different weights according to the type of packet, the time delay of packet requirement or the service quality (Quality of Service is called for short QoS) that packets need reaches.
Step S24 determines bandwidth according to the different weights of described channel capacity and packet.Distribution according to the capacity dynamic optimization bandwidth of the importance of this packet and communication channel.As shown in Figure 1, in the communication subnet of intelligent grid, the objective optimization function of Centroid to three node is
maxα
1C
1x
1+α
2C
2x
2+α
3C
3x
3
s.t.x
1+x
2+x
3=1
X wherein
1, x
2And x
3Be need be transferred to normalization that the packet of three nodes is assigned with bandwidth, if a node does not have packets need transmission or center control nodes can't communicate by letter to the channel of a node at present, the bandwidth of so corresponding distribution then is 0, i.e. x
i=0, i=1,2, or 3.The objective optimization function can have a lot of different selections, and above-mentioned objective optimization function only be a kind of in numerous objective optimization functions, only provide with reference to and usefulness is described, be not to be used for the present invention is limited.
In the process of step S1 and step S2, information gathering step and information processing step can the described node status information of Real-Time Sharing, i.e. physical layer and data transfer layer synchronization node state informations.Physical layer provides node status information to the Data Transmission Controlling layer in real time.
Step S3, communication steps communicates according to adjusted node state.Adopt time-multiplexed mode, allow node take turns the holding time section and communicate.The Data Transmission Controlling layer is according to resulting amount of bandwidth high efficiency of transmission in channel in the objective optimization function, thereby reaches the purpose of optimizing allocated bandwidth.
Fig. 3 shows a kind of power line carrier, PLC device.The power line carrier, PLC device comprises: information acquisition module 100, message processing module 120 and communication module 140;
Information acquisition module 100 receives pilot signal and obtains node status information and send described node status information.Node status information comprises the modulus of channel status of channel condition information, the node of data packet transmission demand information, the node of node.Because circuit, load and be subjected to the different of annoyance level, the modulus of channel status is also different, and a threshold value is set, if the modulus of the channel status of certain node then can not communicate between Centroid and the respective nodes less than this threshold value;
The modulus of channel status is channel impulse response just, considers the transmission and the reception of baseband signal, does not promptly consider up-conversion and down-conversion, sends a pilot signal x in this way, through after the channel, can obtain following expression:
y=h·x+n
Wherein, x is a plural number, and y is the signal that receives, and h is a channel impulse response, and n is the additive white Gaussian noise signal.
At this, if the recipient receives y, and know x, the recipient can estimate plural h so.
Message processing module 120, link to each other with information acquisition module 100, be used to receive described node status information and handle described node status information, adjust node state, in the channel condition information for can nodes in communication set and need the set of node conjunction of transmits data packets to occur simultaneously, obtain and need and can nodes in communication gather, determine the capacity C of communication channel and compose with behind the different weights α according to channel condition information according to the transfer level of packet, determine the size of bandwidth according to the different weights of channel capacity and packet, be that the objective optimization function utilizes the capacity C of communication channel and weights α to determine the pairing bandwidth of transmits data packets, thereby reach the purpose of dynamic optimization bandwidth.
Communication channel capacity can obtain by following expression:
Wherein, W is a channel width, and N is the power of additive white Gaussian noise signal n, and E is a signal transmission power, and h is a channel impulse response.
Weights α can give different weights according to the type of packet, the time delay of packet requirement or the service quality (Quality of Service is called for short QoS) that packets need reaches.
As shown in Figure 1, in the communication subnet of intelligent grid, the objective optimization function of Centroid to three node is
maxα
1C
1x
1+α
2C
2x
2+α
3C
3x
3
s.t.x
1+x
2+x
3=1
X wherein
1, x
2And x
3Be need be transferred to normalization that the packet of three nodes is assigned with bandwidth, if a node does not have packets need transmission or center control nodes can't communicate by letter to the channel of a node at present, the bandwidth of so corresponding distribution then is 0, i.e. x
i=0, i=1,2 or 3, the objective optimization function can have a lot of different selections, above-mentioned objective optimization function only be a kind of in numerous objective optimization functions, only provide with reference to and usefulness is described, be not to be used for the present invention is limited;
Information acquisition module 100 and message processing module 120 Real-Time Sharing node status information.To the Data Transmission Controlling layer, the synchronizing channel state information makes physical layer and Data Transmission Controlling layer Real-Time Sharing channel condition information to node status information in physical layer and Data Transmission Controlling layer from physical layer transmission;
Communication module 140 links to each other with message processing module, communicates according to adjusted node state.Communication module 140 adopts time-multiplexed mode, allows node take turns the holding time section and communicates, and transmits in the determined bandwidth of objective optimization function.
The present invention receives pilot signal, and to obtain channel condition information, the Data Transmission Controlling layer receives the channel condition information that is sent by physical layer in real time, obtains the packet that needs also can be communicated by letter according to described channel condition information, and transmits in channel; Physical layer and Data Transmission Controlling layer shared channel state information have realized the cross-layer optimizing of power line carrier, PLC, effectively promoted between physical layer and the Data Transmission Controlling layer mutual cognition, coordinate mutually and interact; The high efficiency and the reliability of transfer of data have been reached; Help multimedia service signals such as transmitting high speed data, speech, image in electrical network;
Existing network carries out the high efficiency of transmission of data in the application electrical network as communication channel, do not need electrical network is transformed on a large scale, do not need to carry out large-scale communication construction and can carry out active data communication, saved fund and guaranteed the high efficiency of transfer of data, made full use of electric power facility and brought into play the advantage of electric power resource;
From channel condition information, extract the modulus of channel status, Centroid to the circuit difference of node, load is different and be subjected to that annoyance level is different all can to produce mutually different channel status modulus, overcome on the power carrier line and can not discern the influence that load, signal attenuation and interference cause transfer of data, make the accurate identification channel state of Centroid, thereby reduced the transmission rate of packet, avoided network throughput to reduce and cause damage;
Capacity according to Centroid communication channel in the transmission of the channel status modulus of node size determination data bag, the amount of capacity of channel has determined the size of data transmission rate, importance according to packet is determined the needed bandwidth of transmits data packets by the objective optimization function, thereby reasonably optimize the distribution of bandwidth, make the bandwidth of transmits data packets consistent with data transmission rate, to satisfy the demand of network service to greatest extent, the communication system of power grids network bandwidth is fully used.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.