A kind of power line communication data processing method and system and equipment
Technical field
The present invention relates to a kind of power line communication (Power Line Communication, PLC) communication technical field, particularly, be specifically related to a kind of transfer of data OFDM (Orthogonal Frequency Division Multiplexing of power line communication, OFDM) data processing method and treatment system, and the transmitter of power line communication and receiver.
Background technology
Power line communication (Power Line Communication, PLC) is with a kind of communication mode of power line as communication medium.The PLC technology just was applied on transmission line before six more than ten years, be used for the dispatch control communication of power plant and transformer station, but for a long time, it is not a kind of desirable communication media, yet the continuous progress along with technology, the particularly development of modulation technique and microelectric technique makes the practical possibility that becomes of PLC.
Progress along with technology, the PLC technology is utilized with multimedia service signals such as low-voltage distributing line transmitting high speed data, voice, images, be applied to family's Internet (Internet) " broadband " access and household electrical appliances intelligent networking control, i.e. high-speed data PLC.So, significant to the research of PLC.
The major function of distribution wire road network is the electric power signal of transmission 50Hz, and the waveform of electric power signal on power line as shown in Figure 1.Signal period is 20ms.The frequency of occurrences of zero point is 100Hz, and the appearance cycle of zero point is 10ms; The frequency of occurrences of peak point is 100Hz, and the appearance cycle of peak point is 10ms.
When utilizing power line to carry out the signal transmission, prior art is generally to send zero point, namely carries out the signal transmission near the zero point of electric power signal in the time period of several milliseconds.
But there is a defective clearly in existing employing zero-point voltage signal transmission technology: can produce the above harmonic wave of the secondary that is transmitted signal frequency.Find through test repeatedly, the second-harmonic power of generation only than fundamental frequency power little 8 decibels (DB) to 10 decibels (DB).
If being transmitted the frequency band range of signal is f
StartTo f
end(wherein, f
StartBe low frequency cut-off points, f
endBe high cut-off point).
Due to the existence of high order harmonic component, must satisfy f
end<2f
Start, otherwise will produce serious humorous wave interference.Thereby draw signal bandwidth suc as formula (1):
f
Δ=f
end-f
start<2f
start-f
start=f
start (1)
Simultaneously, the signal of communication in national grid is limited in 0~500KHz, i.e. f
end<500KHz.So formula of obtaining (2):
f
Δ=f
end-f
start<500-f
start (2)
Obtain f by formula (1), (2)
Δ<250KHz.
So, in the wide channel width of 500KHz, can only utilize wherein 250KHz bandwidth when adopting point of zero voltage to carry out the signal transmission.Therefore, the existence of high order harmonic component limited in channel can signal transmission bandwidth range.And, development and OFDM (Orthogonal Frequency Division Multiplexing along with multi-transceiver technology, OFDM) extensive use of technology in power line carrier communication, the existence of humorous wave interference becomes a major issue of restriction available carrier wave number, and this has greatly limited the transfer of data traffic rate of power line communication.
Summary of the invention
One of purpose of the present invention is to provide a kind of power line communication data processing method and system and equipment, it has overcome the shortcoming that the zero point sending method exists high order harmonic component to disturb, significantly improve the bandwidth of power line communication, increased available carrier number in communication.
To achieve these goals, the invention provides a kind of power line communication data processing method, comprise power line communication data transmitter emission treatment step, and power line communication data receiver reception ﹠ disposal step;
Described power line communication data transmitter emission treatment step comprises the steps:
Steps A 1, detecting this voltage peak, to point out now be t
1, in order to carry out the signal emission at peak point;
Steps A 2 predicts that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Steps A 3, the next peak point that obtains according to prediction go out t now
2, the time point that calculates proceed-to-send signal is t
2-T/2 is at time point t
2-T/2 begins to launch the power line communication data;
Steps A 4, after duration T, the power line communication data-signal of completing this sends, and returns and enters steps A 1, carries out peak point power line communication data transmission next time, until the whole power line communication data of battery has fired;
Described power line communication data receiver reception ﹠ disposal step comprises the steps:
Step B1 detects this voltage peak point t
1, receive in order to carry out signal at peak point;
Step B2 predicts that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Step S33 goes out t now according to the next peak point that predicts
2, calculating the time point that begins to receive signal is t
2-T/2 is at time point t
2-T/2 begins to receive the power line communication data;
Step B4, after duration T, the power line communication data-signal of completing this receives, and returns and enters step B1, carries out peak point power line communication data receiver next time, until receive whole power line communication data.
More preferably, in described steps A 1 and B1, it is t that described detection voltage peak is pointed out now
1, comprise the steps:
After obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
For realizing that the object of the invention also provides a kind of power line communication data receiving-transmitting system based on OFDM, comprises transmitter and receiver;
Described transmitter comprises the first peak detection block, transmitting front-end module, modulation module, channel coding module;
Described the first peak detection block is used for carrying out peak point and detects and the voltage peak point prediction;
Described channel coding module is used for the chnnel coding to power line carrier communication;
Described modulation module is used for the bitstream data of described channel coding module output is modulated according to the OFDM modulation system;
Described transmitting front-end module is used for detecting according to described peak detection block the time to peak point t that obtains
2-T/2 is at time to peak point t
2-T/2 begins to launch the power line communication data, and after duration T, finishes this transmission;
Described receiver comprises the second peak detection block, receiving front-end module, demodulation module, channel decoding module;
Wherein, described the second peak detection block is used for the detection of voltage peak point and peak point prediction;
Described channel decoding module is for the channel-decoding that carries out power line carrier communication;
Described demodulation module is used for the restituted signal of receiving front-end module output is carried out carrying out demodulation according to the OFDM modulation system;
The voltage peak time point t that provides according to the second peak detection block is provided described receiving front-end module
2-T/2 is at time to peak point t
2-T/2 begins to receive the power line communication data, and after duration T, the power line communication data is sent to demodulation module synchronously carries out demodulation.
More preferably, described the first peak detection block comprises the first detection sub-module, the first predictor module and the first peak value time point calculating sub module, wherein:
Described the first detection sub-module, pointing out now for detection of voltage peak is t
1, in order to carry out the signal emission at peak point;
Described the first predictor module is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Described the first peak value time point calculating sub module, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2;
Described the second peak detection block comprises the second detection sub-module, the second predictor module and the second time to peak point calculating sub module, wherein:
Described the second detection sub-module, pointing out now for detection of this detection voltage peak is t
1, receive in order to carry out signal at peak point;
Described the second predictor module is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Described the second time to peak point calculating sub module, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2.
More preferably, to point out now be t to described detection voltage peak
1Refer to, after obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
More preferably, the IFFT functional unit that described modulation module is ordered by a N forms, and completes the OFDM modulation; Described demodulation module is comprised of N point fft processing unit, completes the OFDM demodulation.
For realizing that the object of the invention also provides a kind of power line communication data transmitter based on OFDM, comprises the first peak detection block, transmitting front-end module, modulation module, channel coding module;
Described the first peak detection block is used for carrying out peak point and detects and the voltage peak point prediction;
Described channel coding module is used for the chnnel coding to power line carrier communication;
Described modulation module is used for the bitstream data of described channel coding module output is modulated according to the OFDM modulation system;
Described transmitting front-end module is used for detecting according to described peak detection block the time to peak point t that obtains
2-T/2 is at time to peak point t
2-T/2 begins to launch the power line communication data, and after duration T, finishes this transmission.
More preferably, described the first peak detection block comprises the first detection sub-module, the first predictor module and the first peak value time point calculating sub module, wherein:
Described the first detection sub-module, pointing out now for detection of voltage peak is t
1, in order to carry out the signal emission at peak point;
Described the first predictor module is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Described the first peak value time point calculating sub module, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2.
For realizing that the object of the invention also provides a kind of power line communication data receiver based on OFDM, comprises the second peak detection block, receiving front-end module, demodulation module, channel decoding module;
Wherein, described the second peak detection block is used for the detection of voltage peak point and peak point prediction;
Described channel decoding module is for the channel-decoding that carries out power line carrier communication;
Described demodulation module is used for the restituted signal of receiving front-end module output is carried out carrying out demodulation according to the OFDM modulation system;
The voltage peak time point t that provides according to the second peak detection block is provided described receiving front-end module
2-T/2 is at time to peak point t
2-T/2 begins to receive the power line communication data, and after duration T, the power line communication data is sent to demodulation module synchronously carries out demodulation.
More preferably, described the second peak detection block comprises the second detection sub-module, the second predictor module and the second time to peak point calculating sub module, wherein:
Described the second detection sub-module, pointing out now for detection of this detection voltage peak is t
1, receive in order to carry out signal at peak point;
Described the second predictor module is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds;
Described the second time to peak point calculating sub module, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2.
Beneficial effect of the present invention: power line communication data processing method of the present invention and system and equipment, utilization does not produce the characteristics of high order harmonic component at voltage peak point signal transmission, signal is transmitted near voltage peak point, thereby avoided high harmonic generation, avoid simultaneously high order harmonic component to the highest restriction by frequency of signal of communication, significantly improved the bandwidth of power line communication.And receive-transmit system of the present invention has obviously increased and has modulated available carrier number, has effectively improved communication bandwidth.
Description of drawings
Fig. 1 is the oscillogram of electric-power wire communication signal on power line in prior art;
Fig. 2 is the transmitter emission process flow chart of power line communication data processing method in the embodiment of the present invention;
Fig. 3 is the receiver receiving course flow chart of power line communication data processing method in the embodiment of the present invention;
Fig. 4 is based on the power line communication data receiving-transmitting system structural representation of OFDM;
Fig. 5 is modulation module structural representation in Fig. 4;
Fig. 6 is demodulation module structural representation in Fig. 4;
Fig. 7 is the sample graph of utilizing power line communication data processing method of the present invention to obtain after on power line, time-domain signal is sampled;
Fig. 8 is the embodiment of the present invention when sending 150KHz single frequency sinusoidal ripple, zero point the place time domain waveform and at the time domain waveform figure at peak point place, and the frequency-domain waveform figure in two kinds of situations.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, power line communication data processing method of the present invention and system and equipment are further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with each accompanying drawing, successively the specific implementation method of power line communication of the present invention (Power Line Communication, PLC) data processing method and system and equipment is described in further detail.
Embodiment one
As a kind of embodiment, embodiment of the present invention power line communication data processing method comprises power line communication data transmitter emission treatment step, and power line communication data receiver reception ﹠ disposal step.
Wherein, power line communication data transmitter emission treatment step as shown in Figure 2, comprises the steps:
Step S21, detecting this voltage peak, to point out now be t
1, in order to carry out the signal emission at peak point;
Because the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, preferably, it is t that described detection voltage peak is pointed out now
1, comprise the steps:
After obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
Zero point, detection was a kind of prior art, therefore, in embodiments of the present invention, described in detail no longer one by one.
Step S22 predicts that next peak point goes out t now
2, i.e. t
2=t
1+ 10ms;
Step S23, the next peak point that obtains according to prediction go out t now
2, the time point that calculates proceed-to-send signal is t
2-T/2 is at time point t
2-T/2 begins to launch the power line communication data;
Wherein, T is the duration of posting a letter of each peak point; Preferably, T=3 millisecond (ms).
Step S24, after duration T, the power line communication data-signal of completing this sends, and returns and enters step S21, carries out peak point power line communication data transmission next time, until the whole power line communication data of battery has fired.
As a kind of embodiment, in the embodiment of the present invention, chronomere is millisecond (ms)
Power line communication data receiver reception ﹠ disposal step as shown in Figure 3, comprises the steps:
Step S31 detects this voltage peak point t
1, receive in order to carry out signal at peak point;
Similarly, because the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, preferably, it is t that described detection voltage peak is pointed out now
1, comprise the steps:
After obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
Step S32 predicts that next peak point goes out t now
2, i.e. t
2=t
1+ 10ms;
Step S33 goes out t now according to the next peak point that predicts
2, calculating the time point that begins to receive signal is t
2-T/2 is at time point t
2-T/2 begins to receive the power line communication data;
Wherein, T is the received duration of each peak point; Preferably, T=3 millisecond (ms).
Step S34, after duration T, the power line communication data-signal of completing this receives, and returns and enters step S31, carries out peak point power line communication data receiver next time, until receive whole power line communication data.
Embodiment two
Power line communication data processing method corresponding to the embodiment of the present invention, it is a kind of based on OFDM (Orthogonal Frequency Division Multiplexing that the embodiment of the present invention also provides, OFDM) power line communication data receiving-transmitting system, as shown in Figure 4, comprise transmitter 1 and receiver 2.
Wherein:
Described transmitter comprises the first peak detection block 14, transmitting front-end module 11, modulation module 12, channel coding module 13.
Wherein, the first peak detection block 14 is used for carrying out peak point and detects and the voltage peak point prediction;
Preferably, described the first peak detection block 14 comprises the first detection sub-module 141, the first predictor modules 142 and the first peak value time point calculating sub module 143, wherein:
Described the first detection sub-module 141, pointing out now for detection of voltage peak is t
1, in order to carry out the signal emission at peak point;
Because the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, preferably, it is t that described detection voltage peak is pointed out now
1Refer to, after obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
Zero point, detection was a kind of prior art, therefore, in embodiments of the present invention, described in detail no longer one by one.
Described the first predictor module 142 is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds (ms);
Described the first peak value time point calculating sub module 143, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2.
Described channel coding module 13 is used for the chnnel coding to power line carrier communication;
To the chnnel coding in power line carrier communication, be a kind of prior art, therefore, in embodiments of the present invention, describe in detail no longer one by one.
Modulation module 12 is used for the bitstream data of channel coding module 13 outputs is modulated according to the OFDM modulation system.
Preferably, as a kind of embodiment, OFDM modulation in the embodiment of the present invention, the IFFT that modulation module is ordered by a N (inverted Fast Fourier Transform, inverse fast Fourier transform) functional unit forms, and completes the OFDM modulation.As shown in Figure 5.
Preferably, in the present embodiment, N=512.
Transmitting front-end module 11 is used for detecting according to peak detection block 14 the time to peak point t that obtains
2-T/2 is at time to peak point t
2-T/2 begins to launch the power line communication data, and after duration T, finishes this transmission.
In the transmitter of the embodiment of the present invention, at first channel coding module 13 carries out chnnel coding with data to be sent, modulation module 12 is paid in its output, modulation module 12 is modulated rear payment transmitting front-end module 11 with these data, peak detection block 14 continues to monitor power line, and predicts the arrival moment t of next peak point
2, and notice transmitting front-end module 11 is at t
2-T/2 sends to data on power line constantly, and T/2 begins constantly to power line emission signal transmission before peak point, and after duration T, finishes this transmission.
Power line communication data handling system of the present invention, at the peak point of power line, rather than its zero point transmitting data, thereby improved communication quality.
Described receiver comprises the second peak detection block 24, receiving front-end module 21, demodulation module 22, channel decoding module 23.
Wherein, the second peak detection block 24 is used for this voltage peak point detection and peak point prediction;
Preferably, described the second peak detection block 24 comprises the second detection sub-module 241, the second predictor modules 242 and the second time to peak point calculating sub module 243, wherein:
Described the second detection sub-module 241, pointing out now for detection of this detection voltage peak is t
1, receive in order to carry out signal at peak point;
Similarly, because the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, preferably, it is t that described detection voltage peak is pointed out now
1Refer to, after obtaining the moment at zero point according to the detection at zero point, calculate the peak point moment+5ms at the moment=zero point, obtain voltage peak and point out t now
1
Described the second predictor module 242 is used for predicting that next peak point goes out t now
2, i.e. t
2=t
1+ 10 milliseconds (ms);
Described the second time to peak point calculating sub module 243, what be used for the next peak point that obtains according to prediction goes out t now
2, the time to peak point that calculates proceed-to-send signal is t
2-T/2.
Described channel decoding module 23 is for the channel-decoding that carries out power line carrier communication;
To the channel-decoding in power line carrier communication, be a kind of prior art, therefore, in embodiments of the present invention, describe in detail no longer one by one.
Demodulation module 22 is used for the restituted signal of receiving front-end module 21 outputs is carried out carrying out demodulation according to modulation system.
Preferably, as a kind of embodiment, OFDM demodulation in the embodiment of the present invention, demodulation module is comprised of N point FFT (Fast Fourier Transform, inverse Fourier transform) processing unit, completes the OFDM demodulation, as shown in Figure 6.
Preferably, in the present embodiment, N=512.
The voltage peak time point t that provides according to the second peak detection block 24 is provided receiving front-end module 21
2-T/2 is at time to peak point t
2-T/2 begins to receive the power line communication data, and after duration T, the power line communication data is sent to demodulation module synchronously carries out demodulation.
In the receiver of the embodiment of the present invention, the second peak detection block 24 is monitored power line communication constantly, and the arrival of the next peak point of prediction is t constantly
2, and notice receiving front-end module 21 is at t
2-T/2 begins receive data constantly, and 22 pairs of data that receive of demodulation module are carried out demodulation, and demodulating process is namely 512 FFT calculating processes, and as shown in Figure 6,23 pairs of data after demodulating of channel decoding module are carried out channel-decoding, the output final result.
Fig. 7 represents according to the power line communication data processing method of the embodiment of the present invention and system and the diagram of equipment after on power line, time-domain signal detects sampling; When Fig. 8 represents to send 150KHz single frequency sinusoidal ripple, in the time domain waveform at zero point place with in the time domain waveform at peak point place, and the frequency-domain waveform in two kinds of situations.Can find to produce high order harmonic component in electric power signal transmission at zero point by Fig. 7, Fig. 8 contrast, and can not produce high order harmonic component at electric power signal peak transmission single frequency sinusoidal signal.
In the present embodiment, after tested, OFDM modulation /demodulation occupied bandwidth is 300KHz, and carrier number is the very bandwidth limit value that N=512. has exceeded the 250KHz in point of zero voltage side signal transmission case.
The power line communication data processing method of the embodiment of the present invention and system and equipment have been avoided high harmonic generation, have avoided simultaneously high order harmonic component to the highest restriction by frequency of signal of communication, have significantly improved the bandwidth of power line communication.And the power line communication data receiving-transmitting system based on OFDM of the embodiment of the present invention has obviously increased and has modulated available carrier number, has effectively improved communication bandwidth.
Should be noted that at last obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these were revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also was intended to comprise these changes and modification.