Utility model content
The utility model affects problem in order to solve interference on the above-mentioned power line mentioned and noise to carrier communication, a kind of power carrier wave communication device for Data Division transmission and method are provided, it can by resuming the subpackage of power carrier data, to solve on power line carrier communication data in stronger interference and noise corrupted power line, causes the problem that real time communication rate is not high, communication reliability is bad of carrier signal.
Particularly, the utility model provides a kind of power carrier wave communication device, and it comprises power line and carrier chip, and described carrier chip comprises interconnective Data Division module, sending module, receiver module and detection module;
Described Data Division module is used for carrier data being split as the data burst with regular length, and described sending module comprises modulating unit for modulating data burst, for sending the data transmission unit of described data burst and the power amplification unit for carrying out power amplification to described data burst;
Described receiver module comprises the data receipt unit for receiving described data burst, the unit that accepts filter, demodulating unit and low noise amplifier circuit.
Advantage of the present utility model is as described below:
The utility model by the subpackage of power carrier data being resumed, can destroy carrier communication data on power line when solving interference stronger on power line and noise, causing the real time communication rate of carrier signal not high, the problem that communication reliability is bad.Eliminate the electric power interference of power line carrier, PLC, and accelerate the transmission speed of data.In addition in receiving course, the data burst of makeing mistakes once find that mistake appears in the subframe received, then resends, supplements correct data burst by detection module.Until the data burst of multiple zero defect is integrated into complete Frame by receiving terminal.On the other hand, the data subpackage of power line carrier, PLC resumes by the utility model, when the disturbed damage of certain data burst, automatic repeat request can be started, the error message on display feedback path, and supplementary correct data burst retransfers, data burst transmission speed is fast, and efficiency of transmission is high.
Embodiment
Below in conjunction with accompanying drawing and embodiment, structure and working principle of the present utility model is further explained:
As shown in Figure 1, the utility model provides a kind of power carrier wave communication device transmitted for Data Division, it comprises power line 2 and carrier chip, carrier chip comprises Data Division module 3, sending module 4, receiver module 5 and detection module 1, mutually communicates between Data Division module 3, sending module 4, receiver module 5 and detection module 1.
Carrier chip is provided with the first buffer area being positioned at carrier communication transmitting terminal and the second buffer area being positioned at carrier communication receiving terminal.
Data Division module 3 comprises split cells 31 and computing unit 32, split cells 31 and computing unit 32 communicate to connect each other, split cells 31 forms N number of data burst of respective numbers for carrier data being split as N number of data with regular length, N number of data burst interrelated formation adjacent one another are one group of continuous data subframe, computing unit 32 carries out convolution algorithm for the data and a coefficient matrix of encoding each with regular length m and forms data burst 100.The number of data burst 100 is consistent with the number of the data with regular length m, and the value of m is determined according to the length of the carrier data of each transmission, and in actual applications, general m is 10-20byte.
Sending module 4 comprises for receiving and continuing to transmit the data transmission unit 41 of multiple data burst 100, modulating unit 42 and the power amplification unit 43 for carrying out power amplification to multiple data burst 100.
Receiver module 5 comprises accumulator 51, for receiving the data receipt unit 52 of multiple data burst 100, the unit 53 that accepts filter, demodulating unit 54, low noise amplifier circuit 55.
Detection module 1 is provided with continuous data subframe relevance judging unit, for calculating the optimal relevance of continuous data subframe, detection module 1 is by judging that whether the relevance of the continuous data subframe received is that the optimal relevance of continuous data subframe judges whether the data burst sequence number received exists mistake.
Continuous data subframe relevance judging unit calculates the optimal relevance of continuous data subframe, and the relevance of the continuous data subframe of reception and the optimal relevance of continuous data subframe are compared, if the relevance of the continuous data subframe received conforms to the optimal relevance of continuous data subframe, then judge to receive data burst correct, if the relevance of the continuous data subframe received does not conform to the optimal relevance of continuous data subframe, then judge that receiving data burst exists mistake, the sequence number of the misdata subframe of detection is fed back to data transmission unit by detection module, resend correct data burst.
Be illustrated in figure 2 carrier signal subpackage and resume schematic diagram, power line adopts large data frame transfer, be subject to impulse noise interference on power line.On the other hand due to the impulse disturbances on power line, its interference signal 300 is random, carrier signal 200 is split into multiple data burst, and data burst subpackage is sent the data burst 100 after forming subpackage, there is annexation between data burst 100 and data burst 100 simultaneously, data burst can be avoided to be subject to the impact of impulse disturbances.
Be illustrated in figure 3 the principle schematic of power line carrier, PLC, carrier signal is sent to data transmission unit 41 after splitting into multiple data burst packet, is then sent on power line after power amplification unit 43 carries out power amplification by each data burst.Data burst wraps in the interference that power line can be subject to power line noise, pulse 300.At receiving terminal, accept filter unit 53 to the data burst filtering received, filtering noise wherein, filtered data are carried out low noise amplification by low noise amplifier circuit 55, after analog-to-digital conversion, by data demodulates, detection module 1 judges that whether the data burst after demodulation is correct, once find that mistake appears in the data burst received, the sequence number of error data subframe is sent to data transmission unit, data transmission unit resends correct data burst according to the data burst sequence number received, until the data burst of N number of zero defect is integrated into complete Frame by data receipt unit 52.
As shown in Figure 4, when data send, first length is become by the Data Division of transmission to be N number of data burst of m, after data burst modulation, subpackage resumes, annexation is there is between data burst and data burst, each data burst carries information checking position, k position, there is optimal relevance between data burst and data burst.
As shown in Figure 5, each data burst is input length is the data of M and the convolution algorithm of a coefficient matrix of encoding.
Pi[n]=N[n-j]G[j]
Wherein i is the transmission sequence of the continuous data subframe transmitted, and Pi [n] is the data burst after splitting; N [n-j] is for sending carrier data; G [j] is the coefficient matrix of coding.
Each time quantum input length is the data burst data Ni of m, Ni data burst through with coding coefficient matrix convolution algorithm after, directly export on the one hand, on the other hand with the data burst Ni-1 of two time quantums above, Ni-2 carries out convolution algorithm, obtains continuous multiple data burst data Pi
0[i], Pi
1[i].
As:
Pi
0[i]=N[i]G[i]
Pi
1[i]=(N[i]+N[i-1]+N[i-2])G[i]
The data burst data of next unit continue to export by that analogy, and data burst and data burst define continuous data subframe, and have the optimal relevance of a concerned path, i.e. optimal relevance path.
The data burst of each fractionation is modulated by modulating unit 42, and data burst modulation system is carried out in the following manner: 1 coding changes into " 01 ", and 0 coding changes into " 10 ".Data need to export after ovennodulation, and the signal after modulation facilitates data burst data to transmit at a distance on power line.
When data send, the region of the first buffering area as data temporary storage of a 32bit length is set in power line physical layer PHY layer, once change a byte, and this byte can become 2 bytes after coded modulation deposits in first buffering area of 32bit, and then in the storage area that sets stored in sending module physical layer of the data read coding in first buffering area of 32bit after and hardware ZCTBD space, stop until hardware ZCTBD spatial data fills up data write, wait pending data to send.
When reception carrier data, deposited in by reception data burst in accumulator ZCACC2, to data burst sampling also demodulation, the demodulating data produced is deposited in physical layer modulation buffering area, and wait-receiving mode data complete, and read demodulating data.
The data burst received and the data burst of transmission are one-to-one relationship, the sub-frame data sent within each time period can be represented by associated path as shown in Figure 6, and continuous data subframe relevance judging unit carries out calculating to the data burst of each reception of receiver module with the relevance of previous data burst and compares from the moment received.And the data of each reception are below measured by that analogy, delete the data of previous moment poke simultaneously, and the optimal relevance path calculated in this moment stores, often increase a moment, the optimal relevance path stored just is updated to the optimal relevance path of latest computed, only has an optimal relevance path, as in Fig. 6 under each state, dotted portion 500 is associated path possible in computational process, and bold portion 400 represents the associated path of the best in calculating.Until all finished receiving by all data bursts, what finally store is data burst optimal relevance path, i.e. the optimal relevance of continuous data subframe.
The detailed process whether the detection data burst describing detection module 1 below makes mistakes:
In receiving course, according to the best storage path calculated, the data burst sequence number of makeing mistakes once find continuous data subframe optimal relevance mistake, is then sent to data transmission unit, resends, supplement correct data subframe by detection module 1.Until the data burst of multiple zero defect is integrated into complete Frame by receiving terminal.
The utility model by the subpackage of power carrier data being resumed, can destroy carrier communication data on power line when solving interference stronger on power line and noise, causing the real time communication rate of carrier signal not high, the problem that communication reliability is bad.Eliminate the electric power interference of power line carrier, PLC, and accelerate the transmission speed of data.In addition in receiving course, misdata subframe once find the data burst existing problems received, then resends, supplements misdata subframe by detection module 1.Until the data burst of multiple zero defect is integrated into complete Frame by receiving terminal.On the other hand, the data subpackage of power line carrier, PLC resumes by the utility model, when the disturbed damage of certain data burst, automatic repeat request can be started, the error message on display feedback path, and supplementary misdata subframe retransfers, data burst transmission speed is fast, and efficiency of transmission is high.
Last it is noted that above-described each embodiment is only for illustration of the technical solution of the utility model, be not intended to limit; Although be described in detail the utility model with reference to previous embodiment, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in previous embodiment, or to wherein partly or entirely technical characteristic carry out equivalent replacement; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of each embodiment technical scheme of the utility model.