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 (PowerLineCommunication, PLC) communication technical field, particularly, it is specifically related to the data transmission OFDM (OrthogonalFrequencyDivisionMultiplexing of a kind of power line communication, OFDM) data processing method and the system of process, and the transmitter of power line communication and receiver.
Background technology
Power line communication (PowerLineCommunication, PLC) is a kind of communication mode using electric lines of force as telecommunication media.PLC technology was just applied on transmission line of electricity before more than 60 years, dispatch control communication for power plant and transformer station, but since for a long time, it is not a kind of desirably communication media, continuous progress however as technology, the particularly development of modulation technique and microelectric technique so that the practical of PLC is possibly realized.
Progress along with technology, PLC technology is utilized with multimedia service signals such as low-voltage distributing line transmitting high speed data, voice, images, it is applied to family's Internet (Internet) " broadband " access and household electrical appliances intellectuality networking control, i.e. high-speed data PLC.So, the research of PLC is significant.
The major function of distribution wire road network is the electric power signal of transmission 50Hz, and electric power signal waveform on electric lines of force is 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 electric lines of force to carry out signal transmission, prior art is usually zero point and sends, and namely carries out signal transmission within the time period of the zero crossings several milliseconds of electric power signal.
But there is a defect clearly in existing employing zero-point voltage signal transmission technology: can produce to be transmitted the above harmonic wave of secondary of signal frequency.Through repeatedly testing discovery, the second-harmonic power of generation is only little 8 decibels (DB) to 10 decibels (DB) than base band power.
If the frequency band range being transmitted signal is fstartTo fend(wherein, fstartFor low frequency cut-off points, fendFor high cut-off point).
Existence due to higher hamonic wave, it is necessary to meet fend< 2fstart, otherwise will produce serious harmonic wave interference.Thus drawing signal bandwidth such as formula (1):
fΔ=fend-fstart< 2fstart-fstart=fstart(1)
Meanwhile, the signal of communication in national grid is limited in 0~500KHz, i.e. fend< 500KHz.So obtaining formula (2):
fΔ=fend-fstart< 500-fstart(2)
F is obtained by formula (1), (2)Δ< 250KHz.
So, in the channel width that 500KHz is wide, adopt point of zero voltage to carry out when signal transmits only with wherein 250KHz bandwidth.Therefore, the existence of higher hamonic wave limits the bandwidth range that can transmit signal in channel.And, development and OFDM (OrthogonalFrequencyDivisionMultiplexing along with multi-transceiver technology, OFDM) technology extensive use in power line carrier communication, the existence of harmonic wave interference becomes a major issue of restriction available carrier wave number, this greatly limits the data transfer communications speed of power line communication.
Summary of the invention
An object of the present invention is in that to provide a kind of power line communication data processing method and system and equipment, which overcome the shortcoming that zero point sending method exists higher hamonic wave interference, significantly improve the bandwidth of power line communication, add carrier number available in communication.
To achieve these goals, the invention provides a kind of power line communication data processing method, process step including power line communication data transmitter transmitting, and power line communication data receiver reception processes step;
Described power line communication data transmitter transmitting processes step, comprises the steps:
Step A1, detecting this voltage peak, to point out now be t1, in order to carry out signal transmitting at peak point;
Step A2, it was predicted that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Step A3, according to prediction obtain next peak point go out t now2, the time point calculating proceed-to-send signal is t2-T/2, at time point t2-T/2 starts to launch power line communication data;
Step A4, after duration T, the power line communication data signal completing this sends, and backs into step A1, carries out peak point power line communication data next time and launches, until the whole power line communication data of battery has fired;
Described power line communication data receiver reception processes step, comprises the steps:
Step B1, detects this voltage peak point t1, in order to carry out signal reception at peak point;
Step B2, it was predicted that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Step S33, goes out t now according to the next peak point predicted2, calculating the time point starting to receive signal is t2-T/2, at time point t2-T/2 starts to receive power line communication data;
Step B4, after duration T, the power line communication data signal completing this receives, and backs into step B1, carries out peak point power line communication data next time and receives, until receiving whole power line communication data.
More preferably, in described step A1 and B1, it is t that described detection voltage peak points out now1, comprise the steps:
According to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
A kind of power line communication data receive-transmit system based on OFDM is also provided for, including transmitter and receiver for realizing the object of the invention;
Described transmitter includes the first peak detection block, transmitting front-end module, modulation module, channel coding module;
Described first peak detection block, is used for carrying out peak point detection and voltage peak point prediction;;
Described channel coding module, for the chnnel coding in power line carrier communication;
Described modulation module, is modulated according to OFDM modulation system for the bitstream data that described channel coding module is exported;
Described transmitting front-end module, for detecting the time to peak point t obtained according to described peak detection block2-T/2, at time to peak point t2-T/2 starts to launch power line communication data, and after duration T, terminates this and send;
Described receiver includes the second peak detection block, receiving front-end module, demodulation module, channel decoding module;
Wherein, described second peak detection block, for the detection of voltage peak point and peak point prediction;
Described channel decoding module, for carrying out the channel-decoding in power line carrier communication;
Described demodulation module, for carrying out being demodulated according to OFDM modulation system to the demodulation signal of receiving front-end module output;
Described receiving front-end module, for the voltage peak time point t provided according to the second peak detection block2-T/2, at time to peak point t2-T/2 starts to receive power line communication data, and after duration T, is sent to demodulation module and is demodulated after being synchronized by power line communication data.
More preferably, described first peak detection block, including the first detection sub-module, first predicts submodule and the first peak value time point calculating sub module, wherein:
Described first detection sub-module, being used for detecting voltage peak, to point out now be t1, in order to carry out signal transmitting at peak point;
Described first prediction submodule, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Described first peak value time point calculating sub module, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2;
Described second peak detection block, including the second detection sub-module, second predicts submodule and the second time to peak point calculating sub module, wherein:
Described second detection sub-module, being used for detecting this detection voltage peak, to point out now be t1, in order to carry out signal reception at peak point;
Described second prediction submodule, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Described second time to peak point calculating sub module, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2。
More preferably, described detection voltage peak points out now is t1Refer to, according to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
More preferably, described modulation module is made up of the IFFT functional unit of a N point, completes OFDM modulation;Described demodulation module is made up of N point fft processing unit, completes OFDM demodulation.
A kind of power line communication data transmitter based on OFDM is also provided for, including the first peak detection block, transmitting front-end module, modulation module, channel coding module for realizing the object of the invention;
Described first peak detection block, is used for carrying out peak point detection and voltage peak point prediction;;
Described channel coding module, for the chnnel coding in power line carrier communication;
Described modulation module, is modulated according to OFDM modulation system for the bitstream data that described channel coding module is exported;
Described transmitting front-end module, for detecting the time to peak point t obtained according to described peak detection block2-T/2, at time to peak point t2-T/2 starts to launch power line communication data, and after duration T, terminates this and send.
More preferably, described first peak detection block, including the first detection sub-module, first predicts submodule and the first peak value time point calculating sub module, wherein:
Described first detection sub-module, being used for detecting voltage peak, to point out now be t1, in order to carry out signal transmitting at peak point;
Described first prediction submodule, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Described first peak value time point calculating sub module, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2。
A kind of power line communication data receiver based on OFDM is also provided for, including the second peak detection block, receiving front-end module, demodulation module, channel decoding module for realizing the object of the invention;
Wherein, described second peak detection block, for the detection of voltage peak point and peak point prediction;
Described channel decoding module, for carrying out the channel-decoding in power line carrier communication;
Described demodulation module, for carrying out being demodulated according to OFDM modulation system to the demodulation signal of receiving front-end module output;
Described receiving front-end module, for the voltage peak time point t provided according to the second peak detection block2-T/2, at time to peak point t2-T/2 starts to receive power line communication data, and after duration T, is sent to demodulation module and is demodulated after being synchronized by power line communication data.
More preferably, described second peak detection block, including the second detection sub-module, second predicts submodule and the second time to peak point calculating sub module, wherein:
Described second detection sub-module, being used for detecting this detection voltage peak, to point out now be t1, in order to carry out signal reception at peak point;
Described second prediction submodule, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds;
Described second time to peak point calculating sub module, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2。
Beneficial effects of the present invention: the power line communication data processing method of the present invention and system and equipment, utilize the feature not producing higher hamonic wave at voltage peak point transmission signal, signal is made to be transmitted near voltage peak point, thus avoiding the generation of higher hamonic wave, avoid higher hamonic wave to the highest restriction by frequency of signal of communication simultaneously, significantly improve the bandwidth of power line communication.And, receive-transmit system of the present invention, hence it is evident that add the carrier number that modulation is available, be effectively increased communication bandwidth.
Accompanying drawing explanation
Fig. 1 is electric-power wire communication signal oscillogram on electric lines of force 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;
The receiver that Fig. 3 is power line communication data processing method in the embodiment of the present invention receives process flow diagram flow chart;
Fig. 4 is based on the power line communication data receive-transmit 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 utilizing power line communication data processing method time-domain signal on electric lines of force of the present invention to obtain after sampling;
Fig. 8 is embodiment of the present invention when sending 150KHz single frequency sinusoidal ripple, the time domain waveform at zero point place and the time domain beamformer at peak point place, and the frequency-domain waveform figure in two kinds of situations.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the 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 is only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with each accompanying drawing, successively power line communication (PowerLineCommunication, the PLC) data processing method of the present invention and the specific implementation method of system and equipment are described in further detail.
Embodiment one
As a kind of embodiment, embodiment of the present invention power line communication data processing method, process step including power line communication data transmitter transmitting, and power line communication data receiver reception processes step.
Wherein, power line communication data transmitter transmitting processes step, as in figure 2 it is shown, comprise the steps:
Step S21, detecting this voltage peak, to point out now be t1, in order to carry out signal transmitting 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, it is preferred that, it is t that described detection voltage peak points out now1, comprise the steps:
According to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
Zero point detection is a kind of prior art, therefore, in embodiments of the present invention, is no longer described in detail one by one.
Step S22, it was predicted that next peak point goes out t now2, i.e. t2=t1+10ms;
Step S23, according to prediction obtain next peak point go out t now2, the time point calculating proceed-to-send signal is t2-T/2, at time point t2-T/2 starts to launch power line communication data;
Wherein, T be each peak point transmit the persistent period;It is preferred that T=3 millisecond (ms).
Step S24, after duration T, the power line communication data signal completing this sends, and backs into step S21, carries out peak point power line communication data next time and launches, until the whole power line communication data of battery has fired.
As a kind of embodiment, in the embodiment of the present invention, unit of time is millisecond (ms)
Power line communication data receiver reception processes step, as it is shown on figure 3, comprise the steps:
Step S31, detects this voltage peak point t1, in order to carry out signal reception at peak point;
Similarly, since the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, it is preferred that, it is t that described detection voltage peak points out now1, comprise the steps:
According to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
Step S32, it was predicted that next peak point goes out t now2, i.e. t2=t1+10ms;
Step S33, goes out t now according to the next peak point predicted2, calculating the time point starting to receive signal is t2-T/2, at time point t2-T/2 starts to receive power line communication data;
Wherein, T is the received duration of each peak point;It is preferred that T=3 millisecond (ms).
Step S34, after duration T, the power line communication data signal completing this receives, and backs into step S31, carries out peak point power line communication data next time and receives, until receiving whole power line communication data.
Embodiment two
Power line communication data processing method corresponding to the embodiment of the present invention, the embodiment of the present invention also provides for a kind of based on OFDM (OrthogonalFrequencyDivisionMultiplexing, OFDM) power line communication data receive-transmit system, as shown in Figure 4, including transmitter 1 and receiver 2.
Wherein:
Described transmitter includes 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, it is used for carrying out peak point detection and voltage peak point prediction;
It is preferred that described first peak detection block 14, including the first detection sub-module 141, first predicts submodule 142 and the first peak value time point calculating sub module 143, wherein:
Described first detection sub-module 141, being used for detecting voltage peak, to point out now be t1, in order to carry out signal transmitting 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, it is preferred that, it is t that described detection voltage peak points out now1Refer to, according to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
Zero point detection is a kind of prior art, therefore, in embodiments of the present invention, is no longer described in detail one by one.
Described first prediction submodule 142, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds (ms);
Described first peak value time point calculating sub module 143, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2。
Described channel coding module 13, for the chnnel coding in power line carrier communication;
To the chnnel coding in power line carrier communication, it is a kind of prior art, therefore, in embodiments of the present invention, is no longer described in detail one by one.
Modulation module 12, for being modulated according to OFDM modulation system the bitstream data of channel coding module 13 output.
It is preferred that as a kind of embodiment, OFDM modulation in the embodiment of the present invention, modulation module is made up of IFFT (invertedFastFourierTransform, the inverse fast Fourier transform) functional unit of a N point, completes OFDM modulation.As shown in Figure 5.
It is preferred that in the present embodiment, N=512.
Transmitting front-end module 11, for detecting the time to peak point t obtained according to peak detection block 142-T/2, at time to peak point t2-T/2 starts to launch power line communication data, and after duration T, terminates this and send.
In the transmitter of the embodiment of the present invention, first data to be sent are carried out chnnel coding by channel coding module 13, modulation module 12 is paid in its output, modulation module 12 pays transmitting front-end module 11 after these data being modulated, peak detection block 14 continues to monitor electric lines of force, and predicts the arrival moment t of next peak point2, and notify that transmitting front-end module 11 is at t2-T/2 the moment transmits data on electric lines of force, and before peak point, the T/2 moment starts to launch transmission signal to electric lines of force, and after duration T, terminates this and send.
The power line communication data of the present invention processes system, at the peak point of electric lines of force, rather than its zero point transmitting data, thus improving communication quality.
Described receiver includes 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, for the detection of this voltage peak point and peak point prediction;
It is preferred that described second peak detection block 24, including the second detection sub-module 241, second predicts submodule 242 and the second time to peak point calculating sub module 243, wherein:
Described second detection sub-module 241, being used for detecting this detection voltage peak, to point out now be t1, in order to carry out signal reception at peak point;
Similarly, since the wave period of power line communication is 10 milliseconds (ms), as a kind of embodiment, in the embodiment of the present invention, it is preferred that, it is t that described detection voltage peak points out now1Refer to, according to zero point detection obtain the zero point moment after, calculate peak point moment=zero point moment+5ms, obtain voltage peak and point out t now1。
Described second prediction submodule 242, is used for predicting that next peak point goes out t now2, i.e. t2=t1+ 10 milliseconds (ms);
Described second time to peak point calculating sub module 243, for according to prediction obtain next peak point go out t now2, the time to peak point calculating proceed-to-send signal is t2-T/2。
Described channel decoding module 23, for carrying out the channel-decoding in power line carrier communication;
To the channel-decoding in power line carrier communication, it is a kind of prior art, therefore, in embodiments of the present invention, is no longer described in detail one by one.
Demodulation module 22, for carrying out being demodulated according to modulation system to the demodulation signal of receiving front-end module 21 output.
It is preferred that as a kind of embodiment, OFDM demodulation in the embodiment of the present invention, demodulation module is made up of N point FFT (FastFourierTransform, inverse Fourier transform) processing unit, completes OFDM demodulation, as shown in Figure 6.
It is preferred that in the present embodiment, N=512.
Receiving front-end module 21, for the voltage peak time point t provided according to the second peak detection block 242-T/2, at time to peak point t2-T/2 starts to receive power line communication data, and after duration T, is sent to demodulation module and is demodulated after being synchronized by power line communication data.
In the receiver of the embodiment of the present invention, the second peak detection block 24 monitors power line communication constantly, it was predicted that the arrival moment t of next peak point2, and notify that receiving front-end module 21 is at t2-T/2 the moment starts to receive data, and the data received are demodulated by demodulation module 22, and namely demodulating process is 512 FFT calculating processes, and as shown in Figure 6, data after demodulating is carried out channel-decoding by channel decoding module 23, exports final result.
Fig. 7 represents that power line communication data processing method according to embodiments of the present invention and system and equipment time-domain signal on electric lines of force carries out the diagram after detection is sampled;When Fig. 8 represents transmission 150KHz single frequency sinusoidal ripple, the time domain waveform at zero point place and the time domain waveform at peak point place, and the frequency-domain waveform in two kinds of situations.Contrasted it appeared that higher hamonic wave can be produced in electric power signal zero point transmission by Fig. 7, Fig. 8, and higher hamonic wave will not be produced 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 N=512. very bandwidth limit value beyond the 250KHz in point of zero voltage signal transmission plan.
The power line communication data processing method of the embodiment of the present invention and system and equipment, it is to avoid the generation of higher hamonic wave, avoid higher hamonic wave to the highest restriction by frequency of signal of communication simultaneously, significantly improve the bandwidth of power line communication.And, the power line communication data receive-transmit system based on OFDM of the embodiment of the present invention, hence it is evident that add the carrier number that modulation is available, be effectively increased communication bandwidth.
It is last it should be noted that, it will be apparent that the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.