CN102255842A - Receiver with baseband processing module for realizing location function by using broadcasting location signal - Google Patents

Receiver with baseband processing module for realizing location function by using broadcasting location signal Download PDF

Info

Publication number
CN102255842A
CN102255842A CN2011100851433A CN201110085143A CN102255842A CN 102255842 A CN102255842 A CN 102255842A CN 2011100851433 A CN2011100851433 A CN 2011100851433A CN 201110085143 A CN201110085143 A CN 201110085143A CN 102255842 A CN102255842 A CN 102255842A
Authority
CN
China
Prior art keywords
data
digital signal
sign
frame
ready
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100851433A
Other languages
Chinese (zh)
Other versions
CN102255842B (en
Inventor
张善旭
张毅敏
夏海军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN 201110085143 priority Critical patent/CN102255842B/en
Publication of CN102255842A publication Critical patent/CN102255842A/en
Application granted granted Critical
Publication of CN102255842B publication Critical patent/CN102255842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a receiver with a baseband processing module for realizing location function by using a broadcasting location signal. The receiver comprises an RF (radio-frequency) tuner, an analog-to-digital converter, a de-location module, a map and a user interface module. According to the invention, the RF tuner converts a broadcasting location radio-frequency signal into a baseband signal, the baseband signal is converted into digital signal data for broadcasting location through the analog-to-digital converter and the digital signal data is input into the baseband processing part of the receiver for processing; the baseband processing module of the receiver performs a digital signal data transmission flow based on a direct memory access (DMA) unit, a digital signal data transmission interruption processing flow and a baseband processing algorithm main flow; messages transmitted by different transmitting device for broadcasting location signal transmission, time delay differences of broadcasting location signals and parameters of signal-to-noise ratio, which are obtained after the digital signal data is processed by the baseband processing module part, are de-located by the de-location module; and finally the de-location results are displayed by the map and the user interface module. Thus the location function is achieved.

Description

A kind of baseband processing module of receiver is realized positioning with the broadcasting framing signal
[technical field]
The present invention relates to the mobile broadcast television technical field, the baseband processing module that relates in particular to a kind of receiver is realized positioning with the broadcasting framing signal.
[background technology]
In recent years, people grow with each passing day to the pinpoint demand of indoor and outdoor, and particularly when the reply emergency, accurately the location seems particularly important especially.Location technology mainly comprises in the prior art: GPS location, location, portable terminal base station etc.Have following problem in the prior art: adopt the mode of GPS location to carry out communication with satellite, therefore existing GPS (global positioning system) locating terminal cost is than higher.Adopt the mode of location, portable terminal base station to carry out communication with the base station, therefore need portable terminal to have positioning function, and current a large amount of portable terminals do not have positioning function, if a large amount of portable terminal all positions with the base station then can take communication resources.
A kind of broadcasting framing signal generation method, localization method and device are provided in the prior art, see that on 02 16th, 2011 disclosed Chinese invention patent application publication number are 101977172.Wherein said broadcasting framing signal generation method comprises: receiving data stream, described data flow is carried out forward error correction coding and OFDM (OFDM) modulation, and generate ofdm signal, and generate first spreading code; According to described first spreading code default text bit information is carried out band spectrum modulation, generate modulated spread spectrum signal; Between the transmission id signal and first synchronizing signal of each time slot of described ofdm signal, insert one or more described modulated spread spectrum signals, and one or more described first spreading codes, generate the broadcasting framing signal.
Described localization method comprises: transmitting terminal generates the broadcasting framing signal, and broadcasts; Receiving terminal is according to the described broadcasting framing signal of at least three different transmitting terminals that receive, and the coordinate of described three different transmitting terminals positions receiving terminal.
Described broadcasting framing signal generating apparatus comprises: code modulation module, be used for receiving data stream, and described data flow is carried out forward error correction coding and OFDM modulation, generate ofdm signal; The spreading code generation module is used to generate first spreading code; The band spectrum modulation module is used for according to described first spreading code default text bit information being carried out band spectrum modulation, generates modulated spread spectrum signal; Intercut into frame module, be used for the ofdm signal of received code modulation module output, first spreading code of spreading code generation module transmission and the modulated spread spectrum signal that the band spectrum modulation module sends, at the transmission id signal of each time slot of ofdm signal with connect between first synchronizing signal of this transmission id signal, insert one or more described modulated spread spectrum signals, and one or more described first spreading codes, generate the broadcasting framing signal.Yet can not receive framing signal at present broadcasting receiver, be simple receiving broadcast signal.General location receiver mostly uses special-purpose baseband processing chip to realize, as shown in Figure 1, comprise RF tuner, analog to digital converter, Base-Band Processing, separate locating module, map and subscriber interface module, the A part all realizes with hardware among the figure, have only B partly to use software to realize, and traditional baseband processing chip can not be realized the function of locating.Consuming time permanent for the research and development of chip, adjustment and modification upgrading for algorithm after chip development is finished all need the logic OR structural adjustment of chip is revised, and need the time and the higher cost of length.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of baseband processing module of receiver to realize positioning with the broadcasting framing signal, and the baseband processing module of its receiver can be realized positioning with the broadcasting framing signal.
The present invention is achieved in that a kind of baseband processing module realization of receiver positions with the broadcasting framing signal, described receiver comprises the RF tuner, analog to digital converter, baseband processing module, separate locating module, map and subscriber interface module, described RF tuner will be broadcasted the location radiofrequency signal and will be converted to baseband signal, and the baseband processing module that the digital signal data that described baseband signal is converted to broadcasting location through analog to digital converter inputs to receiver partly handled, described receiver baseband processing module is by utilizing DMA (direct memory access unit) that digital signal data is carried out transfer process, digital signal data transmission Interrupt Process flow process and Base-Band Processing algorithm main flow are realized;
The described DMA of utilization carries out transfer process to digital signal data: the digital signal data of importing in Base-Band Processing is to store by the memory space that DMA moves processor inside to, described memory space is divided into identical two of size, and the digital signal data that receives circulation is stored in this two memory spaces; When the transfer of data of a monoblock memory space is finished, DMA can produce one and finish interruption, the processor of triggering receiver is carried out described digital signal data transmission Interrupt Process flow process this blocks of data is handled, and simultaneously, new biography is input into the storage of coming and arrives another piece memory space;
Described digital signal data transmission Interrupt Process flow process concrete steps are as follows:
Step 11, the stable sign of definition AGC (automatic gain control), sign, frame synchronization that the frame synchronization data are ready to complete are finished sign, essence and are caught the sign that executable sign, frame head data are ready to complete; Earlier transmission is interrupted counting to digital signal data, judges the whether set of the stable sign of AGC, if past step 16 is jumped in not set; If set enters step 12;
Step 12, judge whether the frame synchronization of described Base-Band Processing algorithm main flow is finished, then do not enter step 13, otherwise jump toward step 14 if finish;
Step 13, judge the data of the frame synchronization of described Base-Band Processing algorithm main flow are prepared whether to finish, if finish then the required data of frame synchronization in the digital signal data of described input are not imported in the data space of frame synchronization, whether the synchronous required data of judgment frame are ready to complete once more, if the required data of frame synchronization are ready to complete, the sign set that described frame synchronization data are ready to complete;
Step 14, judge the data whether the frame head symbol is arranged in the digital signal data of described input,, then directly enter step 15 if do not have; If have then the data of frame head symbol imported in the frame head data memory space, and judge whether the data of frame head symbol are ready to complete, and are ready to complete the sign set that then described frame head data is ready to complete, and enter step 15;
Step 15, judge in the digital signal data of described input whether have the essence of described Base-Band Processing algorithm main flow to catch needed data, if then directly do not enter step 17; According to smart frequency expansion sequence of catching emitter ID institute respective path in the tabulation essence is caught needed data and carry out despreading and handle if having then, and import the result of despreading into data space that the essence in the corresponding footpath of corresponding emitter is caught, judge that essence catches needed data and whether be ready to complete, be ready to complete the essence of then essence being caught the corresponding emitter respective path in the data structure array and catch executable sign set, enter step 17;
Step 16, after the adjustment number of times of AGC counting arrives the fixed value that sets in advance, the sign set that AGC is stable enters step 17;
Step 17, interrupt the value of count value when being the fixed value that sets in advance when the transmission of described digital signal data through being converted to, input data in this piece memory space are carried out the statistics of energy, the thresholding that makes it and expect compares, if greater than the thresholding upper limit of expectation, with the past ditty of the gain of RF tuner; If less than the lower limit of expected range, then the gain of RF tuner is transferred toward big; If within the scope of expectation, do not need the gain of RF tuner is adjusted; Judge the whether set of the stable sign of AGC, if set does not then need inferior counting number that AGC is adjusted; Enter step 18;
Step 18, count value is interrupted in digital signal data transmission compare, just digital signal data is transmitted the zero clearing of interruption count value more than or equal to the frame end count value if count value is interrupted in the digital signal data transmission with the frame end count value; Described frame end count value is that the pairing digital signal data transmission of next frame frame head starting point data interruption count value subtracts 1, count down to this value to the zero clearing of digital signal data transmission interruption count value, interrupt count value and be 0 to guarantee the pairing digital signal data transmission of each frame frame head starting point data.
Described Base-Band Processing algorithm main flow concrete steps are as follows:
The hardware components of step 21, initialization receiver and baseband processing module part;
The sign that step 22, the described frame synchronization data of inquiry are ready to complete, if identifying not set then inquires about this sign always, the call frame synchronized algorithm carries out frame synchronization after this sign set; Described frame synchronization algorithm is in order to determine the start position of frame; If on frame synchronization is not synchronous, then empty the sign that described frame synchronization data are ready to complete, and counting zero clearing, repeating step 22 interrupted in the digital signal data transmission; If in the frame synchronization success synchronously, then frame synchronization is carried out initialization to the count value relevant with frame structure after finishing sign set, the described count value relevant with frame structure comprises which data is count values of frame head in the digital signal data that is used to refer to input, which data is count values that essence is caught the data that need, and the starting point of frame data and end point are in the count value of which position; And calculate rough frequency deviation, enter step 23.
Step 23, to slightly catching slightly catching tabulation, carrying out essence and catch that the essence of processing is caught tabulation, initialization is carried out in the tracking tabulation of following the tracks of processing of processing in the receiver Base-Band Processing, enter step 24.
Step 24, judge the whether set of sign that described frame head data is ready to complete, be ready to complete that the sign that frame head data is ready to complete resets, call thick acquisition algorithm and catch slightly to described that emitter ID slightly catches in the tabulation up to frame head data; Thick acquisition algorithm is estimated the energy that the pairing spreading code of broadcast transmission device ID carries out code phase, multipath and each footpath, and is compared with desired value; To add essence greater than the emitter ID of threshold value and catch tabulation, and this emitter ID will be removed from catching tabulation, enter step 25 afterwards; If there is not the path greater than threshold value to exist, and essence is caught tabulation and the tracking tabulation all is empty, then empties the sign that described frame synchronization data are ready to complete, and jumps to step 22, carries out frame synchronization again;
Step 25, essence is caught the pairing path of emitter ID in the tabulation judge that essence catches desired data and whether be ready to complete, if smart catch required data and be ready to complete and then carry out essence and catch, essence caught emitter ID carries out meticulous frequency offset estimating in pairing path in the tabulation, this path added follow the tracks of tabulation, and this emitter ID caught the tabulation from essence remove; Jump to step 26;
Step 26, the path that the emitter ID that follows the tracks of in the tabulation is existed are carried out the code phase of carrier phase and spreading code and are followed the tracks of, solve delay inequality, the signal to noise ratio parameter of the broadcasting framing signal of the text of broadcasting framing signal transmission, the emission of different emitter, and the track loop of judging carrier phase and code phase losing lock whether; If the path of all tracking of emitter is losing lock all, then the ID of this emitter is removed from follow the tracks of tabulation, and add and slightly catch tabulation, enter step 27 afterwards.
Step 27, the parameter that tracking is obtained are passed to and are separated locating module, jump to step 24;
The parameter that described digital signal data obtains after the baseband processing module section processes is separated the location by separating locating module, described parameter is follows the tracks of the parameter that obtains, to separate positioning result and show, thereby realize the function of location by map and subscriber interface module.
The present invention has following advantage: the baseband processing module part of traditional receiver is realized by utilizing DMA that digital signal data is carried out transfer process, digital signal data transmission Interrupt Process flow process and Base-Band Processing algorithm main flow, rather than the simple chip that passes through is realized, can satisfy requirement to low-power consumption and real-time, can adjust making amendment of algorithm easily again and optimize, be beneficial to upgrading and upgrade to meet the different needs.The present invention can be easy to existing broadcasting receiver is changed a social system, and makes it increase positioning function, has shortened the time that broadcasting location receiver product is released.Low cost of manufacture of the present invention, it is high and take the problem of communication resources to efficiently solve GPS locate mode of the prior art and portable terminal locate mode cost.
[description of drawings]
Fig. 1 is the structural representation of existing receiver.
Fig. 2 is a receiver structure schematic diagram of the present invention.
Fig. 3 is the frame structure schematic diagram of broadcast singal CMMB.
Fig. 4 is the structural representation of beacon.
Fig. 5 is a kind of frame structure schematic diagram of spreading code of the broadcasting framing signal based on CMMB.
[embodiment]
With reference to shown in Figure 2, a kind of baseband processing module of receiver is realized positioning with the broadcasting framing signal, described receiver comprises the RF tuner, analog to digital converter, baseband processing module, separate locating module, map and subscriber interface module, described RF tuner will be broadcasted the location radiofrequency signal and will be converted to baseband signal, and the baseband processing module that the digital signal data that described baseband signal is converted to broadcasting location through analog to digital converter inputs to receiver partly handled, described receiver baseband processing module is by utilizing DMA that digital signal data is carried out transfer process, digital signal data transmission Interrupt Process flow process and Base-Band Processing algorithm main flow are realized;
The described DMA of utilization carries out transfer process to digital signal data: the digital signal data of importing in Base-Band Processing is to store by the memory space that DMA moves processor inside to, memory space is divided into identical two of size, and the input datacycle is stored in this two memory spaces; When a monoblock transfer of data was finished, DMA can produce one and finish interruption, triggers processor combine digital signal data transmission Interrupt Process flow process this blocks of data is handled, and simultaneously, new biography is input into the storage of coming and arrives another piece memory space;
Described digital signal data transmission Interrupt Process flow process concrete steps are as follows:
Step 11, the stable sign of definition AGC, sign, frame synchronization that the frame synchronization data are ready to complete are finished sign, essence and are caught the sign that executable sign, frame head data are ready to complete; Earlier transmission is interrupted counting to digital signal data, judges the whether set of the stable sign of AGC, if past step 16 is jumped in not set; If set enters step 12;
Step 12, judge whether the frame synchronization of described Base-Band Processing algorithm main flow is finished, then do not enter step 13, otherwise jump toward step 14 if finish;
Step 13, judge the data of the frame synchronization of described Base-Band Processing algorithm main flow are prepared whether to finish, if finish then the required data of frame synchronization in the digital signal data of described input are not imported in the data space of frame synchronization, whether the synchronous required data of judgment frame are ready to complete once more, if the required data of frame synchronization are ready to complete, the sign set that described frame synchronization data are ready to complete;
Step 14, judge the data whether the frame head symbol is arranged in the digital signal data of described input,, then directly enter step 15 if do not have; If have then the data of frame head symbol imported in the frame head data memory space, and judge whether the data of frame head symbol are ready to complete, and are ready to complete the sign set that then described frame head data is ready to complete, and enter step 15;
Step 15, judge in the digital signal data of described input whether have the essence of described Base-Band Processing algorithm main flow to catch needed data, if then directly do not enter step 17; According to smart frequency expansion sequence of catching emitter ID institute respective path in the tabulation essence is caught needed data and carry out despreading and handle if having then, and import the result of despreading into data space that the essence of corresponding emitter respective path is caught, judge that essence catches needed data and whether be ready to complete, be ready to complete the essence of then essence being caught the corresponding emitter respective path in the data structure array and catch executable sign set, enter step 17;
Step 16, after the adjustment number of times of AGC counting arrives the fixed value that pre-sets, the sign set that AGC is stable enters step 17;
Step 17, interrupt after the value of count value through being converted to be the fixed value that pre-sets when the transmission of described digital signal data, input data in this piece memory space are carried out the statistics of energy, the thresholding that makes it and expect compares, if greater than the thresholding upper limit of expectation, with the past ditty of the gain of RF tuner; If less than the lower limit of expected range, then the gain of RF tuner is transferred toward big; If within the scope of expectation, do not need the gain of RF tuner is adjusted; Judge the whether set of the stable sign of AGC, if set does not then need inferior counting number that AGC is adjusted; Enter step 18;
Step 18, count value is interrupted in digital signal data transmission compare, just digital signal data is transmitted the zero clearing of interruption count value more than or equal to the frame end count value if count value is interrupted in the digital signal data transmission with the frame end count value; Described frame end count value is that the pairing digital signal data transmission of next frame frame head starting point data interruption count value subtracts 1, count down to this value to the zero clearing of digital signal data transmission interruption count value, interrupt count value and be 0 to guarantee the pairing digital signal data transmission of each frame frame head starting point data.
Described Base-Band Processing algorithm main flow concrete steps are as follows:
The hardware components of step 21, initialization receiver and baseband processing module part;
The sign that step 22, the described frame synchronization data of inquiry are ready to complete, if identifying not set then inquires about this sign always, the call frame synchronized algorithm carries out frame synchronization after this sign set; Described frame synchronization algorithm is in order to determine the start position of frame; If on frame synchronization is not synchronous, then empty the sign that described frame synchronization data are ready to complete, and counting zero clearing, repeating step 22 interrupted in the digital signal data transmission; If in the frame synchronization success synchronously, then frame synchronization is carried out initialization to the count value relevant with frame structure after finishing sign set, the described count value relevant with frame structure comprise be used to refer to the input data in which data are count values of frame head, which data is count values that essence is caught the data that need, the starting point of one frame data and end point are in the count value of which position and calculate rough frequency deviation, enter step 23.
Step 23, to slightly catching slightly catching tabulation, carrying out essence and catch that the essence of processing is caught tabulation, initialization is carried out in the tracking tabulation of following the tracks of processing of processing in the receiver Base-Band Processing, enter step 24.
Step 24, judge the whether set of sign that described frame head data is ready to complete, be ready to complete that the sign that frame head data is ready to complete resets, call thick acquisition algorithm and catch slightly to described that emitter ID slightly catches in the tabulation up to frame head data; Thick acquisition algorithm is estimated the energy that the pairing spreading code of broadcast transmission device ID carries out code phase, multipath and each footpath, and is compared with desired value; To add essence greater than the emitter ID of threshold value and catch tabulation, and this emitter ID will be removed from slightly catching tabulation, enter step 25 afterwards; Do not exist if having greater than the path of threshold value, and essence to catch tabulation and follow the tracks of tabulation all be sky, then empty the sign that sign that described frame synchronization data are ready to complete and frame synchronization are finished, jump to step 22, carry out frame synchronization again;
Step 25, essence is caught the pairing path of emitter ID in the tabulation judge that essence catches desired data and whether be ready to complete, if smart catch required data and be ready to complete and then carry out essence and catch, essence caught emitter ID carries out meticulous frequency offset estimating in pairing path in the tabulation, this path added follow the tracks of tabulation, and this emitter ID caught the tabulation from essence remove; Jump to step 26;
Step 26, the path that the emitter ID that follows the tracks of in the tabulation is existed are carried out the code phase of carrier phase and spreading code and are followed the tracks of, solve delay inequality, the signal to noise ratio parameter of the broadcasting framing signal of the text of broadcasting framing signal transmission, the emission of different emitter, and the track loop of judging carrier phase and code phase losing lock whether; If the path of all tracking of emitter is losing lock all, then the ID of this emitter is removed from follow the tracks of tabulation, and add and slightly catch tabulation, enter step 27 afterwards.
Step 27, the parameter that tracking is obtained are passed to and are separated locating module, jump to step 24;
The parameter that described digital signal data obtains after the baseband processing module section processes is separated the location by separating locating module, described parameter is follows the tracks of the parameter that obtains, to separate positioning result and show, thereby realize the function of receiving broadcast signal and location by map and subscriber interface module.
Frame synchronization among the present invention and rough frequency offset estimating can be finished with frame synchronization in the baseband processing method of original broadcast singal and frequency offset estimating algorithm, slightly catch, essence is caught and follow the tracks of can be with slightly catching in the baseband processing method of GPS software receiver, essence is caught and track algorithm is finished.Separating locating module can realize with the geometry location method among the GPS, can be that disclosed localization method is realized in 101977172 with the Chinese invention patent application publication number also.Map and subscriber interface module can be realized with map and subscriber interface module that existing GPS receiver uses.
The invention will be further described below in conjunction with specific embodiment.
As shown in Figure 3, be the frame structure schematic diagram of broadcast singal CMMB (China Mobile multimedia broadcasting), its per 1 second is 1 frame, is divided into 40 time slots, and the length of each time slot is 25ms, comprises 1 beacon and 53 OFDM symbols, and bit rate is 10M.The structure of beacon comprises identification signal of transmitter (TXID) and 2 identical synchronizing signals as shown in Figure 4, and the length of TXID is 36us, and the length of a synchronizing signal is 204.8us.
The broadcasting framing signal is 511 a Gold sign indicating number of stack on the CMMB signal, bit rate is 5M, the Gold sign indicating number of stack is to repeat in the cycle with time slot (25ms), its structure chart in time slot as shown in Figure 5, wherein, harbour part (136us) is removed original C MMB signal (being the preceding 100us of TXID and first synchronizing signal), has only the Gold sign indicating number, and the CMMB signal energy of signal energy and back is suitable; Superimposed code partly keeps original CMMB signal, and the signal energy of the Gold sign indicating number of stack is lower than harbour 20db.The Gold sign indicating number of harbour part is modulated text with BPSK, and the duration of every bit text is 50ms; The superimposed code part is not modulated text.The Gold sign indicating number always has 20 groups, its ID numbering from 0 to 19.
With reference to shown in Figure 2, a kind of baseband processing module of receiver is realized positioning machine with the broadcasting framing signal, described receiver comprises the RF tuner, analog to digital converter, baseband processing module, separate locating module, map and subscriber interface module, described RF tuner will be broadcasted the location radiofrequency signal and will be converted to the baseband signal of being made up of homophase (I) component and quadrature (Q) component, described analog to digital converter is a twin-channel analog to digital converter, TCXO sampling clock sample conversion with 20M is I, the digital signal that the Q two-way is respectively 8 bit bit wides inputs to the baseband processing module of receiver and partly handles, and described receiver baseband processing module part is by utilizing DMA that digital signal data is carried out transfer process, digital signal data transmission Interrupt Process flow process and Base-Band Processing algorithm main flow are realized;
The described DMA of utilization carries out transfer process to digital signal data: the digital signal data of importing in Base-Band Processing is to store by the memory space that DMA moves processor inside to the form of an I road signal and a common Word of composition of Q road signal (representing 2 bytes), memory space is divided into the data space of two 1024Word, and the input datacycle is stored in this two memory spaces; When one 1024 number reportedly is totally lost into, DMA can produce one and finish interruption, trigger processor combine digital signal data transmission Interrupt Process flow process this blocks of data is handled, simultaneously, new biography is input into next storage in the memory space of another piece 1024Word;
Described digital signal data transmission Interrupt Process flow process concrete steps are as follows:
Step 11, elder generation add 1 to digital signal data transmission interruption counting DataTransIsrCnt (representing the definition of counting variable parameter, down together), judge whether the stable sign AgcStableFlag of AGC is True, if False jumps past step 16 again; If True enters step 12;
Whether step 12, the sign FrameSyncReadyFlag that is ready to complete by the judgment frame synchrodata are that True judges whether the frame synchronization of described Base-Band Processing algorithm main flow is finished, if Flase then enters step 13, for Ture then jumps toward step 14;
Step 13, judge the data of the frame synchronization of described Base-Band Processing algorithm main flow are prepared whether to finish.According to the required data of the algorithm principle frame synchronization of frame synchronization is 510000 data, judge whether the data number FrameDataCnt that imports in the frame synchronization memory space arrives 510000, if no show is then imported the required data of frame synchronization in the digital signal data of described input in the data space of frame synchronization into, and FrameDataCnt added 1024, judge once more whether FrameDataCnt arrives 510000, if more than or equal to 510000, the sign FrameSyncDataReadyFlag that described frame synchronization data are ready to complete is changed to True, and with the FrameDataCnt zero clearing;
Step 14, judge the data whether the frame head symbol is arranged in the digital signal data of described input,, then directly enter step 15 if do not have; If have then the data of frame head symbol imported in the frame head data memory space, and judge whether the data of frame head symbol are ready to complete, and are ready to complete the sign FrameHeadDataReadyFlag that then described frame head data is ready to complete and are changed to True, enter step 15;
The concrete grammar of judging the data whether the frame head symbol is arranged in the digital signal data of described input is as follows: the end block that counting DataTransIsrCnt and frame head are interrupted in the digital signal data transmission is counted HeadEndBlkNum and is compared, if smaller or equal to HeadEndBlkNum, then thinking has the data of frame head in this piece; Need judge that the data that begin wherefrom in this data block are the data of frame head according to the StartBlkIndex that counts of the skew in the frame head original position piece for first blocks of data (be digital signal data transmission interrupt counting DataTransIsrCnt equal at 0 o'clock); Need judge in this data block that the data of front are the data of frame head wherefrom according to the EndBlkIndex that counts of the skew in the frame head end position piece for last blocks of data when equaling HeadEndBlkNum (be DataTransIsrCnt); Otherwise thinking does not have the data of frame head in this piece.
Judge that the concrete grammar whether data of frame head symbol be ready to complete is as follows: as DataTransIsrCnt during more than or equal to FrameEndBlkNum, the data of frame head are and are ready to complete.
Step 15, judge in the digital signal data of described input whether have the essence of described Base-Band Processing algorithm main flow to catch needed data, if then directly do not enter step 17; If have then and data carried out the despreading processing according to smart path of catching the pairing passage of tabulation, and with the result of despreading import into the essence of the corresponding emitter respective path data space of catching, judge that essence catches needed data and whether be ready to complete, be ready to complete the essence of then essence being caught the corresponding emitter respective path in the data structure array and catch executable sign FineAcqDataReadyFlag and be changed to True (its essence is caught has the essence of a plurality of different emitter respective path to catch executable sign in the data structure array), enter step 17;
It is similar to judge that the essence whether described Base-Band Processing algorithm main flow is arranged in the digital signal data of described input is caught the method for the data that judge whether the frame head symbol in the concrete grammar of needed data and the preceding step 14, DataTransIsrCnt and smart starting block of catching required data number and end block number are compared, if between this two number, then thinking has essence to catch needed data.
The despread data that essence is caught is unit with the millisecond, and when despreading and count down to the data of 1024ms, then the essence in respective channel path is caught needed data and is ready to complete.
Step 16, that whether the adjustment time counting number AgcAdjustCnt that judges AGC arrives 200 (predefined values) is inferior, if arrive 200, then that AGC is stable sign AgcStableFlag is changed to True.Enter step 17;
Step 17, interrupt counting DataTransIsrCnt to 8 complementations when the transmission of described digital signal data, remainder is (can also use method for distinguishing herein at 7 o'clock, not necessarily 8 complementations are controlled), the data of the input in this piece memory space are carried out the statistics of energy, the thresholding that makes it and expect compares, if greater than the thresholding upper limit of expectation, with the duty ratio of PWM (pulse width modulation) toward step-length of ditty so that the gain of RF tuner toward ditty; If less than the lower limit of expected range, then the duty ratio of PWM is transferred a step-length so that the gain of RF tuner is transferred toward big toward big; If within the scope of expectation, do not need the duty ratio of PWM is adjusted; And judge whether the stable sign AgcStableFlag of AGC is True, if False then needs the number of times AgcAdjustCnt that AGC adjusts is added 1; Enter step 18;
Step 18, count value DataTransIsrCnt is interrupted in digital signal data transmission and frame end count value FrameEndCnt compares, if digital signal data transmission interrupt count value DataTransIsrCnt more than or equal to frame end count value FrameEndCnt just to the DataTransIsrCnt zero clearing, and to the indication frame structure those variablees (comprise which data is frame heads, which data is data that essence is caught to be needed, frame end count value etc.) carry out assignment again according to the relation of frame structure and data block length;
Described Base-Band Processing algorithm main flow concrete steps are as follows:
The hardware components and the baseband processing module part of step 21, initialization broadcasting location receiver.Described hardware components initialization comprise 1024 data of the every transmission that enables, is provided with DMA that the enabling of RF tuner, RF tuner receive the initialization of the required pulse width modulation (PWM) of setting, the RF tuner gain controlling of frequency, AD analog to digital converter trigger once interrupt, the DMA transmission is interrupted enables; The initialization of described baseband processing module part comprises that the stable sign AgcStableFlag of initialization AGC is False, the number of times AgcAdjustCnt that AGC adjusts is 0, the sign FrameSyncDataReadyFlag that the frame synchronization data are ready to complete is False, data number FrameDataCnt in the frame synchronization memory space puts 0, it is False that frame synchronization is finished sign FrameSyncReadyFlag, it is False that the essence that essence is caught all paths in the data structure array is caught executable sign FineAcqDataReadyFlag, the sign FrameHeadDataReadyFlag that frame head data is ready to complete is False, it is 0 that counting DataTransIsrCnt is interrupted in the digital signal data transmission, frame end count value FrameEndCnt is 10000000 (for guaranteeing can not count down to the frame end count value before frame synchronization is finished);
Step 22, judgment frame synchrodata are ready to complete whether sign FrameSyncDataReadyFlag is True, if this is designated False and then inquires about this sign always, the call frame synchronized algorithm carries out frame synchronization after this is designated True; If frame synchronization synchronously on, then putting the frame synchronization data, to be ready to complete sign FrameSyncDataReadyFlag be False, and counting DataTransIsrCnt assignment is interrupted in the digital signal data transmission is 0, repeating step 22.If in the frame synchronization success synchronously, then the sign FrameSyncReadyFlag that finishes of frame synchronization is set to True, those variablees (comprise which data is frame heads, which data is data that essence is caught to be needed, frame end count value etc.) to the indication frame structure carry out assignment; And utilize the rough frequency deviation of data computation of the slot length that frame synchronization uses, enter step 23 afterwards;
Step 23, catch tabulation FineAcqList to slightly catching tabulation CoarsAcqList, essence, follow the tracks of tabulation TrackList and carry out initialization, slightly catching list initialization is 0 to 19, and essence is caught tabulation and followed the tracks of list initialization for empty; Enter step 24;
Step 24, judge whether the sign FrameHeadDataReadyFlag that described frame head data is ready to complete is True, be designated this sign of True up to this and be set to False, and emitter ID slightly catches among the tabulation CoarsAcqList to slightly catching to call thick acquisition algorithm; Thick acquisition algorithm is estimated the energy that the pairing spreading code of broadcast transmission device ID carries out code phase, multipath and each footpath, and is compared with desired value; To add essence greater than the emitter ID of threshold value and catch among the tabulation FineAcqList, and this emitter ID will be removed from slightly catch tabulation CoarsAcqList, enter step 25 afterwards; If there is not path to exist greater than threshold value, and essence is caught tabulation and followed the tracks of tabulation all is empty, it is False that the sign FrameSyncReadyFlag that frame synchronization finishes then is set, it is False that the sign FrameSyncDataReadyFlag that the frame synchronization data are ready to complete is set, jump to step 22, carry out frame synchronization again;
Step 25, essence is caught the emitter ID pairing path of tabulation among the FindAcaList judge that essence catches desired data and whether be ready to complete, essence catch the essence in all paths in the data structure array whether catch executable sign FineAcqDataReadyFlag be that True finishes by judging, if True then carries out meticulous frequency offset estimating to this path, this path added follow the tracks of among the tabulation TrackList, and this path caught the tabulation FineAcqList from essence remove; Jump to step 26;
Step 26, the path that the emitter ID that follows the tracks of among the tabulation TrackList is existed are carried out the code phase of carrier phase and spreading code and are followed the tracks of, solve delay inequality, the signal to noise ratio parameter of the broadcasting framing signal of the text of broadcasting framing signal transmission, the emission of different emitter, and the track loop of judging carrier phase and code phase losing lock whether; If the path of all tracking of emitter is losing lock all, then the ID of this emitter is removed from follow the tracks of tabulation TrackList, and add and slightly catch among the tabulation CoarsAcqList, enter step 27 afterwards.
Step 27, the parameter that tracking is obtained are passed to and are separated locating module, jump to step 24;
The parameter that the digital signal data of described input obtains after the baseband processing module section processes is separated the location by separating locating module, described parameter is follows the tracks of the parameter that obtains, to separate positioning result and show, thereby realize the function of receiving broadcast signal and location by map and subscriber interface module.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (4)

1. the baseband processing module of a receiver is realized positioning with the broadcasting framing signal, described receiver comprises the RF tuner, analog to digital converter, separate locating module, baseband processing module, map and subscriber interface module, described RF tuner will be broadcasted the location radiofrequency signal and will be converted to baseband signal, and the baseband processing module that the digital signal data that described baseband signal is converted to broadcasting location through analog to digital converter inputs to receiver partly handled, it is characterized in that: the baseband processing module of described receiver is by utilizing DMA that digital signal data is carried out transfer process, digital signal data transmission Interrupt Process flow process and Base-Band Processing algorithm main flow are realized;
The described DMA of utilization carries out transfer process to digital signal data: the digital signal data of importing in Base-Band Processing is to store by the memory space that DMA moves processor inside to, described memory space is divided into identical two of size, and the digital signal data that receives circulation is stored in this two memory spaces; When the transfer of data of a monoblock memory space is finished, DMA can produce one and finish interruption, the processor of triggering receiver is carried out described digital signal data transmission Interrupt Process flow process this blocks of data is handled, and simultaneously, new biography is input into the storage of coming and arrives another piece memory space;
Described digital signal data transmission Interrupt Process flow process concrete steps are as follows:
Step 11, the stable sign of definition AGC, sign, frame synchronization that the frame synchronization data are ready to complete are finished sign, essence and are caught the sign that executable sign, frame head data are ready to complete; Earlier transmission is interrupted counting to digital signal data, judges the whether set of the stable sign of AGC, if past step 16 is jumped in not set; If set enters step 12;
Step 12, judge whether the frame synchronization of described Base-Band Processing algorithm main flow is finished, then do not enter step 13, otherwise jump toward step 14 if finish;
Step 13, judge the data of the frame synchronization of described Base-Band Processing algorithm main flow are prepared whether to finish, if finish then the required data of frame synchronization in the digital signal data of described input are not imported in the data space of frame synchronization, whether the synchronous required data of judgment frame are ready to complete once more, if the required data of frame synchronization are ready to complete, the sign set that described frame synchronization data are ready to complete;
In the described digital signal data of step 14, judgement input whether the data of frame head symbol are arranged,, then directly enter step 15 if do not have; If have then the data of frame head symbol imported in the frame head data memory space, and judge whether the data of frame head symbol are ready to complete, and are ready to complete the sign set that then described frame head data is ready to complete, and enter step 15;
Step 15, judge in the digital signal data of described input whether have the essence of described Base-Band Processing algorithm main flow to catch needed data, if then directly do not enter step 17; According to smart frequency expansion sequence of catching emitter ID institute respective path in the tabulation essence is caught needed data and carry out despreading and handle if having then, and import the result of despreading into data space that the essence of corresponding emitter respective path is caught, judge that essence catches needed data and whether be ready to complete, be ready to complete the essence of then essence being caught the corresponding emitter respective path in the data structure array and catch executable sign set, enter step 17;
Step 16, after the adjustment number of times of AGC counting arrives the fixed value that sets in advance, the sign set that AGC is stable enters step 17;
Step 17, interrupt the value of count value when being the fixed value that sets in advance when the transmission of described digital signal data through being converted to, input data in this piece memory space are carried out the statistics of energy, the thresholding that makes it and expect compares, if greater than the thresholding upper limit of expectation, with the past ditty of the gain of RF tuner; If less than the lower limit of expected range, then the gain of RF tuner is transferred toward big; If within the scope of expectation, do not need the gain of RF tuner is adjusted; Judge the whether set of the stable sign of AGC, if set does not then need inferior counting number that AGC is adjusted; Enter step 18;
Step 18, count value is interrupted in digital signal data transmission compare, just digital signal data is transmitted the zero clearing of interruption count value more than or equal to the frame end count value if count value is interrupted in the digital signal data transmission with the frame end count value; Described frame end count value is that the pairing digital signal data transmission of next frame frame head starting point data interruption count value subtracts 1, count down to this value to the zero clearing of digital signal data transmission interruption count value, interrupt count value and be 0 to guarantee the pairing digital signal data transmission of each frame frame head starting point data;
Described Base-Band Processing algorithm main flow concrete steps are as follows:
The hardware components of step 21, initialization receiver and baseband processing module part;
The sign that step 22, the described frame synchronization data of inquiry are ready to complete, if identifying not set then inquires about this sign always, the call frame synchronized algorithm carries out frame synchronization after this sign set; Described frame synchronization algorithm is in order to determine the start position of frame; If on frame synchronization is not synchronous, then empty the sign that described frame synchronization data are ready to complete, and counting zero clearing, repeating step 22 interrupted in the digital signal data transmission; If in the frame synchronization success synchronously, then frame synchronization is carried out initialization to the count value relevant with frame structure after finishing sign set, the described count value relevant with frame structure comprises which data is count values of frame head in the digital signal data that is used to refer to input, which data is count values that essence is caught the data that need, and the starting point of frame data and end point are in the count value of which position; And calculate rough frequency deviation, enter step 23;
Step 23, to slightly catching slightly catching tabulation, carrying out essence and catch that the essence of processing is caught tabulation, initialization is carried out in the tracking tabulation of following the tracks of processing of processing in the receiver Base-Band Processing, enter step 24;
Step 24, judge the whether set of sign that described frame head data is ready to complete, be ready to complete that the sign that frame head data is ready to complete resets, call thick acquisition algorithm and catch slightly to described that emitter ID slightly catches in the tabulation up to frame head data; Thick acquisition algorithm is estimated the energy that the pairing spreading code of broadcast transmission device ID carries out code phase, multipath and each footpath, and is compared with desired value; To add essence greater than the emitter ID of threshold value and catch tabulation, and this emitter ID will be removed from catching tabulation, enter step 25 afterwards; Do not exist if having greater than the path of threshold value, and essence to catch tabulation and follow the tracks of tabulation all be sky, then empty the sign that sign that described frame synchronization data are ready to complete and frame synchronization are finished, jump to step 22, carry out frame synchronization again;
Step 25, essence is caught the pairing path of emitter ID in the tabulation judge that essence catches desired data and whether be ready to complete, if smart catch required data and be ready to complete and then carry out essence and catch, essence caught emitter ID carries out meticulous frequency offset estimating in pairing path in the tabulation, this path added follow the tracks of tabulation, and this emitter ID caught the tabulation from essence remove; Jump to step 26;
Step 26, the path that the emitter ID that follows the tracks of in the tabulation is existed are carried out the code phase of carrier phase and spreading code and are followed the tracks of, solve delay inequality, the signal to noise ratio parameter of the broadcasting framing signal of the text of broadcasting framing signal transmission, the emission of different emitter, and the track loop of judging carrier phase and code phase losing lock whether; If the path of all tracking of emitter is losing lock all, then the ID of this emitter is removed from follow the tracks of tabulation, and add and slightly catch tabulation, enter step 27 afterwards;
Step 27, the parameter that tracking is obtained are passed to and are separated locating module, jump to step 24;
The parameter that described digital signal data obtains after baseband processing module is handled is separated the location by separating locating module, described parameter is follows the tracks of the parameter that obtains, to separate positioning result and show, thereby realize the function of receiving broadcast signal and location by map and subscriber interface module.
2. the baseband processing module of a kind of receiver according to claim 1 is realized positioning with the broadcasting framing signal, it is characterized in that: described analog to digital converter is that clock is sampled to analogue data with the TCXO crystal of concussion frequency stabilization.
3. the baseband processing module of a kind of receiver according to claim 1 is realized positioning with the broadcasting framing signal, it is characterized in that: the hardware components of the initialization receiver of described step 21 and baseband processing module part, the initialization of hardware components specifically comprises: to reception frequency, analog to digital converter and the analog to digital converter interface of RF tuner, the initialization of DMA; The initialization of baseband processing module part specifically comprises: comprise the initialization of each sign in the described step 11.
4. realize positioning with the broadcasting framing signal according to the baseband processing module of a kind of receiver according to claim 1, it is characterized in that: in the described step 17 described digital signal data transmission interruption count value being changed is the conversion of carrying out 8 complementations.
CN 201110085143 2011-04-06 2011-04-06 Method for receiving baseband processing module to realize location by using broadcasting location signal Active CN102255842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110085143 CN102255842B (en) 2011-04-06 2011-04-06 Method for receiving baseband processing module to realize location by using broadcasting location signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110085143 CN102255842B (en) 2011-04-06 2011-04-06 Method for receiving baseband processing module to realize location by using broadcasting location signal

Publications (2)

Publication Number Publication Date
CN102255842A true CN102255842A (en) 2011-11-23
CN102255842B CN102255842B (en) 2013-08-21

Family

ID=44982844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110085143 Active CN102255842B (en) 2011-04-06 2011-04-06 Method for receiving baseband processing module to realize location by using broadcasting location signal

Country Status (1)

Country Link
CN (1) CN102255842B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308422A (en) * 2019-07-29 2019-10-08 清华大学 Terminal location service method and apparatus based on broadcasting and television network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040248587A1 (en) * 2001-09-20 2004-12-09 Jarko Niemenmaa Method and network element for providing location services using predetermined portions of a broadcast signal
CN101366295A (en) * 2005-12-16 2009-02-11 SiRF技术公司 Network system for aided GPS broadcast positioning
WO2009127242A1 (en) * 2008-04-14 2009-10-22 Nokia Corporation Providing positioning assistance data
CN101846737A (en) * 2009-03-25 2010-09-29 何丽莉 Sensor network node positioning method based on wireless transmission delay
CN101977172A (en) * 2010-10-18 2011-02-16 北京邮电大学 Broadcast positioning signal generation method, positioning method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040248587A1 (en) * 2001-09-20 2004-12-09 Jarko Niemenmaa Method and network element for providing location services using predetermined portions of a broadcast signal
CN101366295A (en) * 2005-12-16 2009-02-11 SiRF技术公司 Network system for aided GPS broadcast positioning
WO2009127242A1 (en) * 2008-04-14 2009-10-22 Nokia Corporation Providing positioning assistance data
CN101846737A (en) * 2009-03-25 2010-09-29 何丽莉 Sensor network node positioning method based on wireless transmission delay
CN101977172A (en) * 2010-10-18 2011-02-16 北京邮电大学 Broadcast positioning signal generation method, positioning method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308422A (en) * 2019-07-29 2019-10-08 清华大学 Terminal location service method and apparatus based on broadcasting and television network

Also Published As

Publication number Publication date
CN102255842B (en) 2013-08-21

Similar Documents

Publication Publication Date Title
US10820270B2 (en) Preamble detector
CN106851696B (en) UWB multi-label multi-base station scheduling system based on wireless clock synchronization
CN101394581B (en) Access and synchronization method and apparatus for special carrier of multimedia broadcast multicast service
CN101986633A (en) Communication method and system
CN202798695U (en) Radio station frequency hopping synchronous control device based on Beidou satellite timing system
US9462549B2 (en) Systems and methods for optimizing power consumption associated with processing group addressed messages
CN105897304B (en) A kind of fast synchronization method of frequency-hopping communication system
CN102148629A (en) Baseband processing device and method for receiving broadcasting positioning signals
CN101043248A (en) Method for repeater to obtain switch point in TD-SCDMA system
CN105450382A (en) Clock synchronization method and equipment for media play
CN105635016B (en) Support satellite mobile communication system, the method and device of either simplex data collection service
CN102724753B (en) Arrival time difference rectification based wireless positioning method and terminal
CN102307328B (en) Positioning signal generation method, transmitter and positioning system
CN206835081U (en) High-speed frequency-hopping transceiver with cognitive radio frequency spectrum perceptional function
CN106911415B (en) A method of realizing time service using FM frequency modulation broadcastings
CN1418413A (en) Re-synchronization method for communication deivice
CN101291511B (en) Carrier detecting method for downlink signal of TD-SCDMA
CN102255842B (en) Method for receiving baseband processing module to realize location by using broadcasting location signal
CN102395140B (en) Energy saving frequency spectrum detection method based on cognitive sensor network
CN1274213A (en) Control channel of time division multiple access system
CN201742566U (en) Multipoint set net type data system
CN104104457B (en) Based on frequency spectrum detection distribution method and the system of ground digital television broadcast frequency range
CN102832965B (en) Pseudorange acquisition and positioning method, device and system based on broadcast positioning signal
US20130034034A1 (en) Power control device for mobile communication and method thereof
CN101102123B (en) Mixing service RAKE receiving device based on broadband CDMA system and its method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee before: Fuzhou Rockchip Semiconductor Co., Ltd.

CP01 Change in the name or title of a patent holder

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.

CP01 Change in the name or title of a patent holder