A kind of broadcasting location baseband processing chip of software and hardware combining
[technical field]
The present invention relates to the mobile broadcast television technical field, relate in particular to a kind of broadcasting location baseband processing chip.
[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 open day is on 02 16th, 2011, application publication number is 101977172 Chinese invention patent.Wherein said broadcasting framing signal generation method comprises: receiving data stream, said data flow is carried out forward error correction coding and OFDM (OFDM) modulation, and generate ofdm signal, and generate first spreading code; According to said first spreading code preset 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 said ofdm signal, insert one or more said modulated spread spectrum signals, and one or more said first spreading codes, generate the broadcasting framing signal.
Said localization method comprises: transmitting terminal generates the broadcasting framing signal, and broadcasts; Receiving terminal is according to the said broadcasting framing signal of at least three different transmitting terminals that receive, and the coordinate of said three different transmitting terminals positions receiving terminal.
Said broadcasting framing signal generating apparatus comprises: code modulation module, be used for receiving data stream, and said 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 said first spreading code preset 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 is sent; 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 said modulated spread spectrum signals, and one or more said first spreading codes, the broadcasting framing signal generated.Yet the Base-Band Processing to present broadcasting framing signal receives is technological; Be merely able to receiving broadcast signal and can not obtain broadcasting the text of the different emitters emissions of framing signal transmission, delay inequality, the signal to noise ratio parameter of broadcasting framing signal, its Base-Band Processing technology can not realize positioning function.
[summary of the invention]
The technical problem that the present invention will solve; Be to provide a kind of broadcasting location baseband processing chip of software and hardware combining, it can realize the Base-Band Processing of broadcast reception and positioning function, and has taken into account low-power consumption and flexibility; Be easy to upgrade and expand, be easy to support multiple broadcast standard.
The present invention is achieved in that a kind of broadcasting location baseband processing chip of software and hardware combining, and it comprises processor unit, hardware-accelerated interface unit, the hardware-accelerated unit of ofdm signal demodulating and decoding and the hardware-accelerated unit of spread-spectrum signal despreading; The hardware-accelerated unit of said ofdm signal demodulating and decoding is connected to hardware-accelerated interface unit, the hardware-accelerated unit of spread-spectrum signal despreading, and said hardware-accelerated interface unit is connected respectively to the hardware-accelerated unit of spread-spectrum signal despreading, processor unit;
The part or all of operation of the Base-Band Processing of said processor unit completion ofdm signal and spread-spectrum signal and the control of whole system workflow;
The hardware-accelerated unit of said ofdm signal demodulating and decoding receiving baseband signal, and cooperate the Base-Band Processing of accomplishing ofdm signal with processor unit, obtain broadcasting the information source data of broadcasting in the framing signal;
The hardware-accelerated unit of said spread-spectrum signal despreading cooperates the Base-Band Processing of accomplishing spread-spectrum signal with hardware-accelerated unit of ofdm signal demodulating and decoding and processor unit, obtains broadcasting the text of the different emitters emissions of framing signal transmission, the delay inequality of broadcasting framing signal, the parameter of signal to noise ratio; Thereby realize ofdm signal and spread-spectrum signal in the broadcasting framing signal are carried out the function of Base-Band Processing.
Further; Said processor unit is accomplished the control of whole system workflow, specifically comprise to ofdm signal carry out Base-Band Processing workflow control, spread-spectrum signal is carried out the workflow control of Base-Band Processing and simultaneously ofdm signal and spread-spectrum signal is carried out the workflow control of Base-Band Processing.
Further; The hardware-accelerated unit of said ofdm signal demodulating and decoding; Specifically comprise: AGC module, frame synchronization module, front-end processing module, FFT module, separate mapping quantization modules, deinterleaving decoder module; Input signal is transported to AGC module, frame synchronization module, front-end processing module respectively, and said frame synchronization module is transported to the front-end processing module with the result of frame synchronization, said front-end processing module, FFT module, separates mapping quantization modules, deinterleaving decoder module and connects successively; Said AGC module is carried out the gain controlling of input signal; Said frame synchronization module is carried out frame synchronization, confirms the frame head position of broadcast singal frame; Said front-end processing module is carried out LPF, utilizes the Cyclic Prefix of ofdm signal to carry out the decimal frequency bias estimation, is carried out timing adjustment synchronously, sampling clock offset correction, the unbalanced estimation of IQ and correction, frequency offset correction; Said FFT module is carried out the FFT conversion, and time domain data is transformed to frequency domain; The said mapping quantization modules of separating is carried out equilibrium, is separated mapping and quantification; Data after said deinterleaving decoder module will interweave revert to the order of original transmission and accomplish the decoding of channel error correction encoding.
Further, frequency correction and despreading are carried out in all paths of also essence being caught and following the tracks of, the hardware-accelerated unit of said spread-spectrum signal despreading.
Further, transfer of data also will be imported in the inner memory of processor unit in the hardware-accelerated unit of said ofdm signal demodulating and decoding, make processor unit directly carry out Base-Band Processing to the data of ofdm signal and spread-spectrum signal.
Further, the hardware-accelerated unit of said ofdm signal demodulating and decoding regularly the transfer of data behind adjustment and the frequency offset correction to the memory and the hardware-accelerated unit of spread-spectrum signal despreading of processor unit inside; The hardware-accelerated unit of perhaps said ofdm signal demodulating and decoding with the front-end processing resume module good and through the transfer of data after the conversion of FFT module to the inner memory of processor unit; Perhaps for the ofdm signal of being with pilot tone; The hardware-accelerated unit of said ofdm signal demodulating and decoding also with the memory of the pilot signal transfer of data that extracts to processor unit inside, can cooperatively interact processor unit, the hardware-accelerated unit of ofdm signal demodulating and decoding and the hardware-accelerated unit of spread-spectrum signal despreading.
Further, said ofdm signal is carried out the workflow control of Base-Band Processing, comprising: the Base-Band Processing of the input data directly being carried out whole ofdm signal;
Perhaps; Let the hardware-accelerated unit of ofdm signal demodulating and decoding start working; Wait for frame head synchronizing signal and decimal frequency bias results estimated that the hardware-accelerated unit of ofdm signal demodulating and decoding transmits; The frame head synchronizing signal is carried out integer frequency bias estimation, sampling clock skew estimation and timing estimation, and the result is fed back to the hardware-accelerated unit of ofdm signal demodulating and decoding; Wherein said integer frequency bias is estimated only just beginning to carry out 1 time; Ofdm signal for the band pilot tone also will be waited for the pilot signal that the hardware-accelerated unit of ofdm signal demodulating and decoding transmits, and pilot signal is carried out decimal frequency bias estimate and channel estimating, and the result is fed back to the hardware-accelerated unit of ofdm signal demodulating and decoding;
Perhaps; Let the hardware-accelerated unit of ofdm signal demodulating and decoding start working; Wait for frame head synchronizing signal, sampling clock skew estimation and decimal frequency bias results estimated that the hardware-accelerated unit of ofdm signal demodulating and decoding transmits; The frame head synchronizing signal is carried out integer frequency bias estimate and timing estimation, and the result is fed back to the hardware-accelerated unit of ofdm signal demodulating and decoding; Wherein said integer frequency bias is estimated only just beginning to carry out 1 time; Then, the hardware-accelerated unit of demodulating and decoding is carried out transfer of data after the FFT conversion to the processor unit internal storage, processor unit is separated mapping to these data and is quantized to conciliate trellis decoded, accomplishes whole Base-Band Processing.
Further, said spread-spectrum signal is carried out the workflow control of Base-Band Processing, comprising: the Base-Band Processing of the input data directly being carried out whole spread-spectrum signal; Perhaps: at first let AGC module, frame synchronization module, the front-end processing module of the hardware-accelerated unit of ofdm signal demodulating and decoding start working; Waited for carrying out that the hardware-accelerated unit of ofdm signal demodulating and decoding transmits regularly the frame head synchronizing signal and the decimal frequency bias results estimated of adjustment and frequency offset correction; The frame head synchronizing signal is carried out the integer frequency bias estimation and slightly caught, and wherein said integer frequency bias is estimated only when just beginning to calculate rough frequency deviation, to carry out 1 time; Said processor unit is controlled the hardware-accelerated unit of spread-spectrum signal despreading according to the result who slightly catches which path signal is carried out frequency correction and the despreading that essence is caught; The result who catches according to essence and the result of track loop control the frequency correction of tracking and the calculating of despreading.
Further; The said workflow control of simultaneously ofdm signal and spread-spectrum signal being carried out Base-Band Processing will be chosen any one kind of them and the workflow control of spread-spectrum signal the being carried out Base-Band Processing completion that combines of choosing any one kind of them to the workflow control that ofdm signal carries out Base-Band Processing.
The present invention has following advantage: the broadcasting location baseband processing chip that the present invention proposes a kind of software and hardware combining; In the Base-Band Processing that realizes broadcast reception and positioning function; Take into account low-power consumption and flexibility, be easy to upgrade and expand, be easy to support multiple broadcast standard.
[description of drawings]
Combine embodiment that the present invention is further described with reference to the accompanying drawings.
Fig. 1 is the structured flowchart of chip of the present invention.
Fig. 2 is the structured flowchart of the hardware-accelerated unit of ofdm signal demodulating and decoding of the present invention.
Fig. 3 is the block diagram of the passage in the hardware-accelerated unit of spread-spectrum signal despreading.
[embodiment]
See also Fig. 1 to shown in Figure 3, embodiments of the invention are carried out detailed explanation.
Like Fig. 1, a kind of broadcasting of software and hardware combining location baseband processing chip, it comprises processor unit, the hardware-accelerated unit of ofdm signal demodulating and decoding and the hardware-accelerated unit of spread-spectrum signal despreading; The hardware-accelerated unit of said ofdm signal demodulating and decoding is connected to hardware-accelerated interface unit, the hardware-accelerated unit of spread-spectrum signal despreading, and said hardware-accelerated interface unit is connected respectively to the hardware-accelerated unit of spread-spectrum signal despreading, processor unit.
The part or all of operation of the Base-Band Processing of said processor unit completion ofdm signal and spread-spectrum signal and the control of whole system workflow; The hardware-accelerated unit of said ofdm signal demodulating and decoding receiving baseband signal, and cooperate the Base-Band Processing of accomplishing ofdm signal with processor unit, obtain broadcasting the information source data of broadcasting in the framing signal; The hardware-accelerated unit of said spread-spectrum signal despreading cooperates the Base-Band Processing of accomplishing spread-spectrum signal with hardware-accelerated unit of ofdm signal demodulating and decoding and processor unit, obtains broadcasting the text of the different emitters emissions of framing signal transmission, the delay inequality of broadcasting framing signal, the parameter of signal to noise ratio; Thereby realize ofdm signal and spread-spectrum signal in the broadcasting framing signal are carried out the function of Base-Band Processing.
Said processor unit is accomplished the control of whole system workflow, specifically comprises: the workflow of ofdm signal being carried out Base-Band Processing is controlled, spread-spectrum signal is carried out the workflow control of Base-Band Processing and simultaneously ofdm signal and spread-spectrum signal carried out the workflow control of Base-Band Processing.
Like Fig. 2; The hardware-accelerated unit of said ofdm signal demodulating and decoding; Specifically comprise: AGC module, frame synchronization module, front-end processing module, FFT module, separate mapping quantization modules, deinterleaving decoder module; Input signal is transported to AGC module, frame synchronization module, front-end processing module respectively, and said frame synchronization module is transported to the front-end processing module, said front-end processing module, FFT module, separates mapping quantization modules, deinterleaving decoder module and connects successively.Said AGC module is carried out the gain controlling of input signal; Said frame synchronization module is carried out frame synchronization, confirms the frame head position of broadcast singal frame; Said front-end processing module is carried out LPF, utilizes the Cyclic Prefix of ofdm signal to carry out the decimal frequency bias estimation, is carried out timing adjustment synchronously, sampling clock offset correction, the unbalanced estimation of IQ and correction, frequency offset correction; Said FFT module is carried out the FFT conversion, and time domain data is transformed to frequency domain; The said mapping quantization modules of separating is carried out equilibrium, is separated mapping and quantification; Data after said deinterleaving decoder module will interweave revert to the order of original transmission and accomplish the decoding of channel error correction encoding.
The hardware-accelerated unit of said ofdm signal demodulating and decoding can be transferred to the input data in the inner memory of processor unit through hardware-accelerated interface unit; Make processor unit directly carry out Base-Band Processing, realized the Base-Band Processing mode of full software the data of ofdm signal and spread-spectrum signal.Data after the hardware-accelerated unit of said ofdm signal demodulating and decoding also can carry out the front-end processing module regularly synchronously are transferred to the inner memory of processor unit through hardware-accelerated interface unit, simultaneously with this transfer of data to the hardware-accelerated unit of spread-spectrum signal despreading; The hardware-accelerated unit further of said ofdm signal demodulating and decoding is good and be transferred to the inner memory of processor unit through the data after the conversion of FFT module through hardware-accelerated interface unit with the front-end processing resume module; For the ofdm signal of band pilot tone, the hardware-accelerated unit of said ofdm signal demodulating and decoding can also be transferred to the inner memory of processor unit through hardware-accelerated interface unit with the pilot signal data that extract; Processor unit, the hardware-accelerated unit of ofdm signal demodulating and decoding and the hardware-accelerated unit of spread-spectrum signal despreading can be cooperatively interacted, and the Base-Band Processing of software and hardware combining is carried out in realization to ofdm signal and spread-spectrum signal.
Frequency correction and despreading are carried out in all paths that the hardware-accelerated unit of said spread-spectrum signal despreading is caught and followed the tracks of essence.It is divided into plurality of channels; The corresponding frequency correction of each passage handle with despreading since essence to catch the computing of doing with frequency correction of following the tracks of and despreading identical; The data of just handling are different; Therefore essence is not caught and followed the tracks of independent designed channel, confirm that through the different Configuration Values of register a passage carries out essence and catches frequency correction and the despreading processing of still following the tracks of.Need of tracking servo to a path takies a plurality of passages according to the algorithm that adopts.Like Fig. 3; It is the block diagram of a passage; The local carrier generator generates local carrier and input data through first multiplier completion frequency correction operations that multiplies each other; And then the local reference sequences that generates with local reference sequences generator, multiplying each other and add up through the integration accumulator through second multiplier obtains the result of despreading.
Said hardware-accelerated interface unit comprises an asynchronous bridge; Make processor unit and the hardware-accelerated unit of ofdm signal demodulating and decoding, the hardware-accelerated unit of spread-spectrum signal despreading can be operated in different frequency; Processor unit generally will operate in higher frequency to improve its disposal ability, and the hardware-accelerated unit of ofdm signal demodulating and decoding, the hardware-accelerated unit of spread-spectrum signal despreading generally will operate in lower frequency to reduce chip power-consumption.
Said ofdm signal is carried out the workflow control of Base-Band Processing, comprise the workflow of full software and the workflow of software and hardware combining.
The workflow of said full software is according to being the Base-Band Processing of the input data directly being carried out whole ofdm signal.
The workflow of said software and hardware combining has dual mode.First kind: the configuration register through writing hardware-accelerated interface unit is started working by the hardware-accelerated unit of ofdm signal demodulating and decoding; Through hardware-accelerated interface unit frame head synchronizing signal and decimal frequency bias results estimated are transferred to the processor unit internal storage and carry out integer frequency bias estimation, timing estimation and sampling clock skew and estimate, and the result is fed back to the hardware-accelerated unit of demodulating and decoding through hardware-accelerated interface unit; Wherein said integer frequency bias is estimated only just beginning to carry out 1 time; Ofdm signal for the band pilot tone also will arrive the processor unit internal storage with the pilot signal transmission that the hardware-accelerated unit of demodulating and decoding transmits through hardware-accelerated interface unit; Pilot signal is carried out decimal frequency bias estimate and channel estimating, and the result is fed back to the hardware-accelerated unit of demodulating and decoding through hardware-accelerated interface unit; Sampling clock skew for the ofdm signal of being with pilot tone is estimated also to utilize pilot signal to calculate;
Second kind; Configuration register through writing hardware-accelerated interface unit is started working by the hardware-accelerated unit of ofdm signal demodulating and decoding; Through hardware-accelerated interface unit the frame head synchronizing signal is transferred to the processor unit internal storage and carries out integer frequency bias estimation, timing estimation and sampling clock skew estimation, and the result is fed back to the hardware-accelerated unit of demodulating and decoding through hardware-accelerated interface unit; Wherein said integer frequency bias is estimated only just beginning to carry out 1 time; Then, through hardware-accelerated interface unit the hardware-accelerated unit of demodulating and decoding is carried out transfer of data after the FFT conversion to the processor unit internal storage, processor unit is separated mapping to these data and is quantized to conciliate trellis decoded, accomplishes whole Base-Band Processing.
Said spread-spectrum signal is carried out the workflow control of Base-Band Processing, comprise the workflow of full software and the workflow of software and hardware combining.
The workflow of said full software is exactly the Base-Band Processing of the input data directly being carried out whole spread-spectrum signal;
The workflow of said software and hardware combining is specific as follows: at first start working by AGC module, frame synchronization module and the front-end processing module of the hardware-accelerated unit of ofdm signal demodulating and decoding through the configuration register of writing hardware-accelerated interface unit; Through hardware-accelerated interface unit the hardware-accelerated unit of demodulating and decoding is carried out regularly the frame head synchronizing signal and the decimal frequency bias results estimated of adjustment and be transferred to the processor unit internal storage; The frame head synchronizing signal is carried out the integer frequency bias estimation and slightly caught; Integer frequency bias results estimated and the addition of decimal frequency bias results estimated are obtained rough frequency deviation; After obtaining rough frequency deviation, integer frequency bias is estimated and decimal frequency bias is estimated no longer to carry out; Said processor unit carries out frequency correction and despreading that essence catch through the hardware-accelerated unit of configuration register control spread-spectrum signal despreading of writing hardware-accelerated interface unit to which path signal according to the result who slightly catches; The result who catches according to essence and the result of track loop change the value of the configuration register of hardware-accelerated interface unit, the frequency correction of following the tracks of with control and the calculating of despreading.
The said workflow control of simultaneously ofdm signal and spread-spectrum signal being carried out Base-Band Processing will be chosen any one kind of them and the workflow control of spread-spectrum signal the being carried out Base-Band Processing completion that combines of choosing any one kind of them to the workflow control that ofdm signal carries out Base-Band Processing.
Baseband processing chip of the present invention carries out the Base-Band Processing of ofdm signal in the workflow of using first kind of software and hardware combining; When the workflow of use software and hardware combining is carried out the Base-Band Processing of spread-spectrum signal; System power dissipation is minimum, and the processor unit resource consumption is minimum.When the function that realizes in the hardware-accelerated unit of ofdm signal demodulating and decoding has better algorithm or will support original nondesigned standard, under the enough prerequisite of processor unit ability, can use the workflow of workflow or the full software of second kind of software and hardware combining to carry out the Base-Band Processing of ofdm signal.When the function that realizes in the hardware-accelerated unit of spread-spectrum signal despreading has better algorithm or will support original nondesigned standard, under the enough prerequisite of processor unit ability, can use the workflow of full software to carry out the Base-Band Processing of spread-spectrum signal.Like this, baseband processing chip of the present invention is easy to upgrade and expand, and is easy to support multiple broadcast standard.
Baseband processing chip of the present invention can also be integrated into source coding and finder in one chips through the disposal ability of increase processor unit or the quantity of processor unit, also can radio-frequency tuner and analog to digital converter also be integrated into the integrated level that improves chip in this chip.
The above is merely preferred embodiment of the present invention, so can not limit the scope that the present invention implements according to this, the equivalence of promptly doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that the present invention contains.