Summary of the invention
(1) technical problem that will solve
In view of above-mentioned technical problem, the invention provides one, to be applied to wideband OFDM power line logicalThe frame timing synchronized method of communication system.
(2) technical scheme
According to a first aspect of the invention, provide a kind of wideband OFDM electricity of carrying out at transmitting terminalThe frame timing synchronized method of line of force communication system. This frame timing synchronized method comprises:
Step S101: carry out OFDM modulation generated data frame to sending data;
Step S102: before the Frame generating, insert targeting sequencing, generate signal frame, wherein, frontLead sequence by several OFDM symbol-SYNCP and at least one OFDM symbol-SYNCM groupBecome; And
Step S103: signal frame is carried out to digital-to-analogue conversion, generate analog signal and send into power line channel.
According to another aspect of the present invention, also provide a kind of broadband that is applied in receiving terminal executionThe frame timing synchronized method of OFDM electric line communication system. This frame timing synchronized method comprises:
Step S104: receive analog signal from power line channel, this analog signal is carried out to modulus and turnChange, be converted into the signal frame of digital signal form;
Wherein, to carry out digital-to-analogue conversion by Frame and the targeting sequencing that inserts its front raw for this analog signalBecome, Frame carries out OFDM modulation generation by sending data; Targeting sequencing is by several OFDMSymbol SYNCP and several OFDM symbols SYNCM composition;
Step S105, carries out auto-correlation computation to the signal frame after conversion, by autocorrelation value corr1WithDefault first threshold TxRelatively, when having a continuous N numerical value, autocorrelation value is greater than first threshold TxTime,Think and signal frame detected, one that auto-correlation is started as original position S1, and records that this is initialPosition S1;
Step S106: the lead data of utilizing the local storage of receiving terminal taking original position S1 as starting point withThe signal frame receiving carries out computing cross-correlation and obtains array corr in an OFDM symbol2, byArray corr2Compute sign timing position S2; And
Step S107: according to Symbol Timing position S2 and default Second Threshold Tx2, utilize and receiveThe auto-correlation of signal obtains frame timing, completes frame Timing Synchronization, wherein, and Second Threshold Tx2Equal negativeFirst threshold Tx1。
(3) beneficial effect
Can find out from technique scheme, it is leading that the present invention is joined by positive and negative OFDM symbolStructure, and cross-correlation auto-correlation intert three steps synchronously locate, make sync bit accurately and reliably,Promote the net synchronization capability of system data frame, for subsequent demodulation data provide reliable OFDM symbolThe position of number windowing, thus the overall performance of system promoted to a great extent, can be large at noise, dryDisturb in strong power line environment and effectively determine frame synchronization position, for follow-up signal processing is given security.
Detailed description of the invention
The present invention is mainly the targeting signal inserting before based on Frame, while receiving data-signal, passes throughThereby auto-correlation or cross-correlation are determined Symbol Timing, frame timing and are reached the object of correct reception data-signal.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with concrete realityExecute example, and with reference to accompanying drawing, the present invention is described in more detail.
In one exemplary embodiment of the present invention, provide one to be applied to wideband OFDM electricityThe frame timing synchronized method of line of force communication system. As shown in Figure 1, the present embodiment is applied to wideband OFDMThe frame timing synchronized method of electric line communication system comprises two parts, and wherein Part I is held at transmitting terminalOK, Part II carries out at receiving terminal.
Continue referring to Fig. 1, in Part I, at transmitting terminal: insert before transmitting terminal FrameTargeting sequencing, targeting sequencing is by several identical OFDM symbol: SYNCP and SYNCM groupBecome, as shown in Figure 2. Wherein, SYNCP and SYNCM have the more uniform feature of symbol energy.
Specifically,, in Part I, transmitting terminal is carried out following steps:
Step S101: first carry out OFDM modulation generated data frame to sending data;
Step S102: before the Frame generating, insert targeting sequencing, generate signal frame, wherein, frontLeading sequence is made up of several OFDM symbol SYNCP and an at least individual OFDM symbol SYNCM;
Wherein, wherein SYNCP is that CENELEC-A frequency range in G3-PLC standard agreement is leadingSymbol, SYNCP is multiplied by-1 and obtains SYNCM. The number of SYNCP is generally got 5~10, thisIn embodiment, get 8; The number of SYNCM is generally got 1~2, and the present embodiment is got 1.5, thisThe meaning of 1.5 at place is to get a whole SYNCM and half SYNCM;
Step S103: signal frame is carried out to D/A (digital-to-analog) conversion, generate analog signal and sendEnter power line channel.
Continue referring to Fig. 1, in Part II, at receiving terminal: to synchronous point three steps of FrameCarry out: the first step, the auto-correlation of receiving terminal utilization reception signal is searched leading, when autocorrelation value hasContinuous N (M is the numerical value setting in advance) is individual to be greater than and to think inspection after the threshold value Tx setting in advanceMeasure the rough starting point of data frame signal; Second step, on the rough starting point basis obtaining to received signalDetermine Symbol Timing with local targeting signal cross-correlation; The 3rd step, at definite on last stage symbolOn the basis of timing, utilize the auto-correlation that receives signal to determine frame timing.
Specifically,, in Part II, receiving terminal is carried out following steps:
Step S104: receive analog signal from power line channel, this analog signal is carried out to A/D(analog/digital) changed, and is converted into the signal frame of digital signal form;
Step S105, carries out auto-correlation computation to the signal frame after conversion, by autocorrelation value corr1WithDefault first threshold TxRelatively, when having a continuous N numerical value, autocorrelation value is greater than first threshold Tx1Time, to think and signal frame detected, one that auto-correlation is started as original position S1, and record shouldOriginal position S1;
In this step, adopt following formula to carry out auto-correlation computation:
Wherein, when N is transmitting terminal OFDM modulation, IFFT counts, yr(n+i) represent after analog-to-digital conversionThe range value of n+i sampled point; yr(n+i+N) represent that n+i+N after analog-to-digital conversion is adoptedThe range value of sampling point, corr1(n) represent the auto-correlation result of n sampled point as starting point.
Wherein, the value of M generally, between 5~15, is got M=10 in the present embodiment; The first thresholdValue Tx1Value relevant with signal amplitude, in the present embodiment according to the following formula calculate:
In the present embodiment, N gets 256, Tx1=38。
Step S106: the lead data of utilizing the local storage of receiving terminal taking original position S1 as starting point withThe signal frame receiving carries out computing cross-correlation and obtains array corr in an OFDM symbol2, byArray corr2Compute sign timing position S2;
In this step, adopt following formula to carry out computing cross-correlation:
Wherein, ssyncp(i) be the amplitude of i sampled point of the targeting signal of local storage. nadvFor fromThe figure place that previous step sync bit is searched for forward. M=0,1 ..., Nstage2-1,Nstage2For the inspection of this stepSurvey sampling number, yr(S1-nadv+ m+i) represent the S1-n after analog-to-digital conversionadv+ m+i sampled pointRange value.
In this step, Symbol Timing position is obtained by following formula:
Wherein, max is array corr2Maximum.
Step S107: according to Symbol Timing position S2 and default Second Threshold Tx2, utilize signalThe auto-correlation of frame obtains frame timing, completes frame Timing Synchronization.
In this step, adopt following formula to carry out auto-correlation computation:
Wherein, m=0,1 ..., Nstage3-1,Nstage3For the detection duration of this step.
If for certain m value, corr3(m) be less than predefined Second Threshold Tx2, SYNCMThe timing S of symbolSYNCMFor:
SSYNCM=S2+(m+1)·N
The timing that obtains SYNCM symbol obtains frame timing, and frame Timing Synchronization finishes;
Wherein, Second Threshold Tx2Equal negative first threshold Tx1。
Otherwise, if corr3(m) be more than or equal to Second Threshold, return to step 105.
Step S108: after frame Timing Synchronization finishes, the targeting signal in Frame is removed;
Step S109: Frame is carried out to OFDM demodulation and obtain transmitting data.
So far, by reference to the accompanying drawings one embodiment of the invention be have been described in detail. More than foundationDescribe, those skilled in the art should be applied to wideband OFDM electric line communication system to the present inventionFrame timing synchronized method had clearly understanding.
It should be noted that, in accompanying drawing or description text, the implementation that does not illustrate or describe,Under being, form known to a person of ordinary skill in the art in technical field, is not elaborated. In addition,The above-mentioned definition to each step method is not limited in various concrete structures, the shape in embodiment, mentionedOr mode, those of ordinary skill in the art can change simply or replace it.
In addition, can provide herein the demonstration of the parameter that comprises particular value, but these parameters are without definite etc.In corresponding value, but can in acceptable error margin or design constraint, be similar to analog value. AndAnd, unless describe especially or the step that must sequentially occur, the order of above-mentioned steps there is no be limited toUpper listed, and can change or rearrange according to required design.
In sum, the present invention overcome low voltage power line communication channel noise large, disturb strong defect, canWith better specified data frame synchronization position, thereby accurately receive in severe low voltage power line communication channelData, improve systematic function, have good using value.
Above-described specific embodiment, carries out object of the present invention, technical scheme and beneficial effectFurther description, institute it should be understood that the foregoing is only specific embodiments of the invention and, be not limited to the present invention, within the spirit and principles in the present invention all, any repairing of doingProtection scope of the present invention changes, be equal to replacement, improvement etc., within all should be included in.