A kind of frame-synchronizing device that is applied in the wireless sense network
Technical field
The present invention relates to a kind of radio sensing network, relate in particular to frame-synchronizing device and method in its sensor node receiver.
Background technology
Along with the develop rapidly of the communication technology, embedded computing technique and sensor technology and increasingly mature, the wireless sensor node with perception, computing capability and communication capacity begins to occur, and has caused people's very big concern.This wireless sensor node constitutes various environment or the monitoring target information in wireless sense network perception in phase, collection and the processing network's coverage area, and is distributed to the user who needs these information.Wireless sense network merges information world in logic with real physical world, profoundly changed the interactive mode of man and nature; Can be widely used in numerous areas such as military affairs, industrial or agricultural control, biologic medical, environmental monitoring.
At present, an importance of sensor network research is how to realize simple environment data (as temperature, humidity, light intensity etc.) collection, transmission and processing on the serious limited miniature node of energy.Yet, increasingly sophisticated changeable along with monitoring of environmental, the simple data of being obtained by these traditional sensors networks can not satisfy the comprehensive demand of people to environmental monitoring further, press for medium such as amount of information abundant image, audio frequency, video are incorporated into environmental monitoring activity based on sensor network, realize fine granularity, the precisely environmental monitoring of information.So just require each node can on limited frequency spectrum resources, transmit colourful content.
In existing wireless sense network, the frame synchronizing relevant based on the frame head sequence all has application in many instances.Fig. 1 is the exemplary block diagram of existing correlated series checkout gear.Described correlated series checkout gear comprises frame head sequence correlator, detection threshold maker, frame detector and maximum diameter searcher.In described frame signal checkout gear, frame head sequence correlator inside is provided with a local sequence memory, is used for the frame head sequence is stored in advance.During work, the frame head sequence of storing in current sequence that receives and the local sequence memory is sent into complex correlator simultaneously, be correlated with, and then added up by the correlated results of accumulator with each sampling point of frame head sequence, the result who adds up is exactly the relevant result of frame head sequence.The built-in threshold registers of described detection threshold maker, correlated results of the every output of frame head sequence correlator, the thresholding maker just is weighted summation with value in the threshold registers and correlated results, upgrades the value of threshold registers, and this result of calculation is just as new thresholding.Frame detector then compares the new threshold value of correlated results and the generation of detection threshold maker, when correlated results surpasses thresholding, then think and detect signal frame, enable the maximum diameter searcher of level behind the described frame detector at last, make its maximum diameter of from correlated results, searching for multipath signal, as the position of frame synchronization.
It is independent incoherent that yet synchronizer recited above, twice of the frame that each is adjacent are caught, and this mode is applicable to that information is brief, in the conventional wireless sensing net of burst transfer.And it is bigger for volume of transmitted data in the multimedia sensing network, meeting continuous communiction for some time between transmitter and the receiver, in such scene, above-mentioned synchronizer does not just use the information of being predicted between the adjacent frame, some unnecessary frame losings or mistake can occur synchronously.On the other hand, along with the raising of transmission rate, the sample rate that transmits also improves, if keep the intersymbol interference that the constant then multipath of length of frame head can cause training sequence in the frame head, thereby influence is caught and synchronous precision.
Summary of the invention
The object of the present invention is to provide a kind of frame-synchronizing device and method that is applicable to radio multimedia sensor network.
The present invention will solve the mistake of existing synchronizer existence in multimedia sensing network is used and catch and lose the high problem of probability of catching.
The frame synchornization method of radio multimedia sensor network of the present invention comprises state at least: lose and catch attitude, this moment, system did not detect short training sequence and long training sequence; Catch attitude, system detected short training sequence and searched for long training sequence this moment; Follow the tracks of attitude, this moment, system detected long training sequence, and was carrying out the synchronous of next frame.
In frame synchornization method of the present invention, the training sequence of frame head is changed, be provided with short training sequence and long training sequence.The number of samples of short training sequence is less, the corresponding matched filter of receiving terminal is realized also simpler, processing speed is also than comparatively fast, but may there be intersymbol interference in such training sequence in multi-path environment, therefore use such training sequence to use synchronously among the present invention as system is thick, and be provided with the short training sequence of a plurality of repetitions, reduce and lose the probability of catching.System acquisition promptly enters behind the short training sequence and catches attitude.The number of samples of long training sequence is more, opposite with short training sequence, the matched filter of receiving terminal is realized with regard to more complicated, the speed of handling also can be slow, but such training sequence can suppress intersymbol interference effectively in multi-path environment, therefore use such training sequence to use synchronously among the present invention, and only enter when catching attitude or following the tracks of attitude and just start the long code correlator, make long code and detect in system as system is smart.Adopt long code to carry out essence synchronously, the probability that the mistake of reduction system is effectively caught.In addition, when following the tracks of attitude, receiver can to estimating the time of advent of next frame, start the long code correlator according to the interval of the two continuous frames of predicting, and makes long code and detects the synchronously smart of realization system.If can't realize this moment essence synchronously then system enter to lose and catch attitude, restart the short code correlator and carry out short code and detect.
Described purpose of the present invention also is to provide a kind of frame-synchronizing device that is applicable to radio multimedia sensor network.This device comprises short sequential detector, long sequential detector and state controller.
Described short sequential detector comprises and is used for carrying out relevant to obtain the short sequence correlator of current correlated results with the short training sequence of storage in advance the burst of current reception, be used for generating the short Sequence Detection thresholding maker of current short Sequence Detection threshold value, be used for current short Sequence Detection threshold value with the correlated results of current described short sequence correlator acquisition and described short Sequence Detection thresholding maker generation and compare comparator to judge whether short sequence occurs according to the current correlated results that the threshold value that generated and described short sequence correlator obtain.
Described long sequence correlator comprises for carrying out relevant to obtain the long sequence correlator of current correlated results with pre-stored long training sequence the burst of current reception; Be used for generating according to the long Serial relation of the previous frame peak of being deposited by the threshold value that has generated and current correlated results or the described long Serial relation peak register of described long sequence correlator acquisition according to the current system state the long Sequence Detection thresholding maker of current long Sequence Detection threshold value; Be used for current long Sequence Detection threshold value that the correlated results that will current described long sequence correlator obtains and described long Sequence Detection thresholding maker generate and compare to judge the comparator whether long sequence occurs and be used for that each related results search according to described long sequence correlator goes out the maximum maximum path search device directly of signal when described long sequential detector is judged long sequence and arrived, for the long Serial relation peak register at the long Serial relation peak of depositing previous frame.
The signal that described state controller provides according to short sequential detector and long sequential detector carries out various states and switches, and provides corresponding short sequential detector and long sequential detector work enable signal.
In sum, the frame-synchronizing device of radio multimedia sensor network and the mode that method has adopted short training sequence and long training sequence combination of being applicable to of the present invention, undertaken synchronously thick by short training sequence, carry out essence synchronously according to long training sequence again, when having guaranteed the frame synchronization precision, reduced the mistake of system and caught rate like this.In addition, state controller is directly estimated the sync bit of present frame according to the sync bit of former frame when following the tracks of attitude, and provide the work enable signal of long sequential detector, and to carry out synchronously according to long training sequence, the mistake of so further reduction system is caught rate and has been improved the frame synchronization precision.
Description of drawings
Fig. 1 is the overall structure figure of existing frame signal checkout gear;
Fig. 2 is the frame synchornization method state transition graph that is applicable to radio multimedia sensor network of the present invention;
Fig. 3 is the frame-synchronizing device structure chart that is applicable to radio multimedia sensor network of the present invention;
Fig. 4 is a short sequential detector structure chart of the present invention;
Fig. 5 is a long sequential detector structure chart of the present invention.
Embodiment
In this patent file, Fig. 2 to 5 that discusses and the various embodiment that are used for illustrating the principle of the invention below, the mode by explanation only, and under any way, should not be regarded as limitation of the scope of the invention.It will be understood by those skilled in the art that and in the wireless sense network of any suitable laying, to realize principle of the present invention.
Fig. 2 shows a kind of state transition graph that is applicable to the frame synchornization method of radio multimedia sensor network of the present invention, catches attitude, catches attitude and follows the tracks of three states of attitude comprising mistake.Automatically enter behind the system boot to lose and catch attitude, continue to lack Sequence Detection this moment, from the received signal sequence, detect short training sequence and whether arrive, if successfully detect short training sequence then system enter and catch attitude, catch attitude otherwise stay in mistake.When catching attitude, system is according to the relative position of long training sequence and short training sequence, estimate the time that a long training sequence roughly arrives, start long sequential detector and grow Sequence Detection, whether detect long training sequence from the burst that receives arrives, if successfully detect long training sequence then system provide frame synchronizing signal and enter the tracking attitude, otherwise system returns to lose and catches attitude.In following the tracks of attitude, system is according to the blanking time of adjacent two frames, the time that arrives according to previous frame estimates the time of advent of present frame, start long sequential detector and grow Sequence Detection, whether detect long training sequence from the burst that receives arrives, if successfully detect long training sequence then system provide frame synchronizing signal and remain on the tracking attitude, otherwise system returns to lose and catches attitude.
It is synchronously thick that method of the present invention adopts short training sequence to carry out, and responds rapid capture rate height, carries out essence synchronously with long training sequence simultaneously, the synchronization accuracy height; In addition in tracing process according to the relative position of adjacent two frames by time of advent of former frame to estimating the time of advent of present frame, thereby starting long sequence correlator detects, reduce synchronous disturbing factor has further been improved the synchronization accuracy of system, reduced the rate of catching of losing.
Fig. 3 shows a kind of frame-synchronizing device structure chart that is applicable to radio multimedia sensor network of the present invention, comprises short sequential detector, long sequential detector and state controller at least.Short sequential detector and long sequential detector all to the received signal sequence carry out coherent detection, all the enable signal that is provided by state controller is controlled its operating state, and testing result fed back to state controller, state controller gives a long sequence correlator of condition indicative signal control in addition.
Described short sequential detector sees also Fig. 4, is made up of short sequence correlator, short Sequence Detection thresholding maker and comparator.Wherein, short sequence correlator is used for the burst of current reception and the short training sequence of storage are in advance carried out relevant to obtain current correlated results, and those skilled in the art know to its operation principle and structure, are not described in detail in this.Short Sequence Detection thresholding maker links to each other with short sequence correlator, be used for generating current demand signal footpath detection threshold value according to the correlated results of threshold value that has generated and current described frame head sequence correlator acquisition, if the described threshold value that has generated is thresh, the current correlated results that obtains is cor, and the current demand signal that is then generated footpath detection threshold value thresh_new is:
Thresh_new=α * thresh+K* (1-α) * cor, wherein, α and K are constant.This is identical with detection threshold maker principle in the existing frame-synchronizing device.In the present embodiment, the value of α elects 63/64 as, can make approximate relevant with preceding 64 correlated results of current threshold value, guarantees the stationarity of threshold value; The value of K elects 2 as, can make current threshold value be approximately the twice of each correlated results mean value in default time period, promptly is approximately the twice of preceding 64 correlated results mean values, to guarantee to filter out most signal footpath.The enable signal port of short in addition sequence correlator and short Sequence Detection thresholding maker all links to each other with short sequential detector enable signal, controls its operating state by state controller.Comparator links to each other with short Sequence Detection thresholding maker with short sequence correlator, to lack the sequence correlated results compares with short Sequence Detection thresholding, if put high level above the short Sequence Detection signal that thresholding then will be exported, expression detects short training sequence, otherwise keeps short Sequence Detection signal low level.
Described long sequential detector sees also Fig. 5, is made up of long sequence correlator, long Sequence Detection thresholding maker, comparator, maximum diameter searcher and long sequence relevant peaks register.Wherein long sequence correlator is identical with short sequence correlator structure recited above, and difference is to change the short training sequence of this locality storage into long training sequence.Grow Sequence Detection thresholding maker by the first thresholding maker, the second thresholding maker, threshold registers and selector are formed, and according to current system mode, generate long Sequence Detection thresholding.Comparator links to each other with long Sequence Detection thresholding maker with long sequence correlator, to grow the sequence correlated results compares with long Sequence Detection thresholding, if put high level above the long Sequence Detection signal that thresholding then will be exported, expression detects long training sequence, otherwise keeps long Sequence Detection signal low level.The maximum diameter searcher links to each other with comparator with long sequence correlator, by long its operating state of Sequence Detection signal controlling, when long Sequence Detection signal is high level, each related results search according to described frame head sequence correlator goes out the signal maximum diameter, its principle is identical with maximum diameter searcher in the existing frame-synchronizing device, just no longer describes in detail here.
In long Sequence Detection thresholding maker, the first thresholding maker links to each other with threshold registers with long sequence correlator, identical with top described short Sequence Detection thresholding maker principle, generate thresholding according to formula thresh_new=α * thresh+K* (1-α) * cor, the value of α elects 255/256 as in this embodiment, and the value of K elects 32 as.The second thresholding maker then links to each other with long sequence relevant peaks register, with the relevant peaks of previous frame divided by 2 as detection threshold.Threshold registers links to each other with the first thresholding maker, is used to store the threshold value that one-period produces on the first thresholding maker.Two input ports of selector link to each other with the second thresholding maker with the first thresholding maker respectively, select to adopt the threshold value of which thresholding maker generation by current system mode, if system is in and catches the threshold value that attitude is then selected the first thresholding maker for use, if system is in and follows the tracks of attitude and then select the and threshold value that the thresholding maker produces for use.
Described state controller is made up of a state machine and a timer, provides the enable signal and the condition indicative signal of short sequential detector and long sequential detector according to the detection signal of short sequential detector and long sequential detector.Wherein state machine is responsible for the switching of the state of realizing according to state diagram according to the signal of input.Timer is controlled by state machine, and only is in system that to follow the tracks of attitude be just to work.The timing length of timer is identical with frame length, and carries out zero clearing by frame synchronizing signal.
In sum, it is synchronously thick that method of the present invention adopts short training sequence to carry out, and responds rapid capture rate height, carries out essence synchronously with long training sequence simultaneously, the synchronization accuracy height; In addition in tracing process according to the relative position of adjacent two frames by time of advent of former frame to estimating the time of advent of present frame, thereby starting long sequence correlator detects, reduce synchronous disturbing factor has further been improved the synchronization accuracy of system, reduced the rate of catching of losing.