Summary of the invention
In view of this, the invention provides a kind of multiple signals System of Synchronous Processing and method, solve FPGA array processing board of the prior art and can not guarantee the synchronous acquisition of multichannel carrier signal source and can not realize multichannel carrier signal these technical problems of synchronous frequency conversion under numeral, thereby realized the object of mobile phone being carried out to phase difference location.
For achieving the above object, the invention provides following technical scheme:
A System of Synchronous Processing, this system applies, in mobile phone phase difference navigation system, comprising: synchronised clock module, FPGA module, DSP processing module, AD module, external digital receiver and CPCI interface;
Described synchronised clock module is used for the clock signal of output multi-channel homology, and the clock signal of described multichannel homology is distributed to respectively to described FPGA module and AD module;
Described external digital receiver is sent to described AD module for the multichannel carrier signal receiving is converted to multichannel intermediate-freuqncy signal;
Described FPGA module is used for according to the clock signal of homology, control described AD module described multichannel intermediate-freuqncy signal is carried out to synchronized sampling, data after synchronized sampling are done to the lower synchronous frequency conversion processing of numeral and obtain I/Q data, and described I/Q data are sent to described DSP processing module;
Described DSP processing module receives the I/Q data that FPGA module sends, and the I/Q data that receive are encoded and added synchronized timestamp;
Described CPCI interface, for multipath synchronous data being transferred to the host computer of system outside, utilizes the synchronized timestamp of multichannel data to extract the data that need by host computer, carries out the position coordinates that phase difference analysis obtains mobile phone.
Preferably, the clock signal of the multichannel homology of described synchronised clock module output is specially the clock signal of 6 tunnel homologies.
Preferably, described synchronised clock module specifically comprises crystal oscillator and clock distribution chip;
Described crystal oscillator is used for providing clock signal, and drives clock distribution chip operation;
Described clock distribution chip is used for according to the clock signal of the driver output multichannel homology of crystal oscillator, and the clock signal of described multichannel homology is distributed to respectively to described FPGA module and AD module.
Preferably, described FPGA module comprises 2 FPGA disposable plates;
Wherein, between described 2 FPGA disposable plates, specifically by synchronizing signal, undertaken synchronously.
Preferably, describedly the multichannel carrier signal receiving is converted to multichannel intermediate-freuqncy signal is specially the 8 tunnel carrier signals that receive are converted to 8 tunnel intermediate-freuqncy signals.
Preferably, described AD module specifically comprises 4 AD chips, and described each AD chip gathers 2 tunnel intermediate-freuqncy signals.
Preferably, describedly data after synchronized sampling are done to the lower synchronous frequency conversion of numeral process and be specially:
Data after sampling are sent to described FPGA module, and described FPGA module is utilized IP stone to realize synchronous frequency conversion under the numeral of multiple signals and is processed.
A synchronization processing method, the method is applied to, in mobile phone phase difference location, comprising:
Output multi-channel homology clock signal is also distributed described multichannel homology clock signal;
The multichannel carrier signal receiving is converted to multichannel intermediate-freuqncy signal;
According to homology clock signal, described multichannel intermediate-freuqncy signal is carried out to synchronized sampling and preliminary treatment, the data after synchronized sampling are done to the lower synchronous frequency conversion processing of numeral and obtain I/Q data;
Described I/Q data are encoded and added synchronized timestamp;
Utilize the synchronized timestamp of multichannel data to extract the data that need, carry out the position coordinates that phase difference analysis obtains mobile phone.
Preferably, described multichannel homology clock signal is specially the clock signal of 6 tunnel homologies.
Preferably, describedly the multichannel carrier signal receiving is converted to multichannel intermediate-freuqncy signal is specially the 8 tunnel carrier signals that receive are converted to 8 tunnel intermediate-freuqncy signals.
Known via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of multiple signals System of Synchronous Processing and method, can be by the multi-path synchronous clock signal of synchronised clock module output be distributed to respectively to AD module and FPGA module as same source signal, thereby realized, multichannel intermediate-freuqncy signal that multichannel carrier signal that AD module receives external receiver converts to is carried out synchronized sampling and FPGA module is carried out synchronous frequency conversion processing under numeral to multichannel intermediate-freuqncy signal, data after DSP processing module is processed synchronous frequency conversion are encoded and add synchronized timestamp, by CPCI interface, multipath synchronous data is transferred to again to the host computer of system outside, by host computer, utilize the synchronized timestamp of multichannel data to extract the data that need, carry out phase difference analysis and obtain the position coordinates of mobile phone.The present invention compared with prior art, has guaranteed the synchronous acquisition to multichannel carrier signal, has realized the synchronous frequency conversion of multichannel carrier signal under numeral and has processed, thereby reached the object of mobile phone being carried out to phase difference location.
Embodiment
Embodiment mono-
In order to realize the synchronous acquisition to multichannel carrier signal, by multichannel carrier signal synchronous frequency conversion under numeral, thereby be able to mobile phone to carry out phase difference location, the present embodiment is following content openly, Fig. 1 is the block diagram of the disclosed a kind of multiple signals System of Synchronous Processing of the embodiment of the present invention, shown in Fig. 1, described in the multiple signals System of Synchronous Processing that is applied in mobile phone phase difference navigation system comprise: synchronised clock module 101, FPGA module 102, DSP processing module 103, AD module 104, external digital receiver 105 and CPCI interface 106;
Synchronised clock module 101 is for the clock signal of output multi-channel homology, and the clock signal of multichannel homology is distributed to respectively to FPGA module 102 and AD module 104;
Concrete, synchronised clock module 101 specifically comprises crystal oscillator and clock distribution chip two parts, and crystal oscillator is 52.1MHz crystal oscillator OSC, and clock distribution chip is specially precision clock and divides distribution chip AD9510, FPGA module specifically comprises two FPGA disposable plates, and AD module specifically comprises 4 AD chips.Synchronised clock module 101 is driven by the crystal oscillator OSC of 52.1MHz, and the clock signal of dividing distribution chip AD9510 to export 6 tunnel homologies by precision clock is sent to 4 AD chips and two FPGA disposable plates.
External digital receiver 105 is for introducing multichannel intermediate-freuqncy signal to AD module 104;
Concrete, external digital receiver 105 use RF cables are introduced ch1 to the carrier signal of 8 passages of ch8, and carrier signal is converted to high-frequency signal is sent to AD module 104, each AD chip in AD module 104 is responsible for respectively gathering 2 tunnel intermediate-freuqncy signals, simultaneously, external digital receiver 105 also has serial communication passage with AD module 104, for carrying out the transmission of signal.
FPGA module 102 is for according to the clock signal of homology, control 104 pairs of multichannel intermediate-freuqncy signals of AD module and carry out synchronized sampling, data after synchronized sampling are done to the lower synchronous frequency conversion processing of numeral and obtain I/Q (In-phase/Quadrature inphase quadrature) data, and I/Q data are sent to DSP processing module 103;
Concrete, two FPGA disposable plates in FPGA module 102 are directly by synchronous protocol, notify the other side to sample and the operating state of Digital Down Convert, and what further guarantee to process is synchronous.Every FPGA disposable plates is responsible for respectively controlling the synchronized sampling that two AD chips carry out 4 tunnel intermediate-freuqncy signals, and the data after sampling are sent in FPGA module, utilize IP stone to realize synchronous frequency conversion under the numeral of multiple signals, the I/Q data that obtain after synchronous frequency conversion are sent to DSP processing module 103;
Between two FPGA disposable plates in the present invention, by synchronizing signal, undertaken synchronously, 8 tunnel carrier signals of external receiver are carried out to synchronized sampling and Digital Down Convert, the maximum sample rate of single channel is 80Mbps.
The I/Q data that DSP processing module 103 sends for receiving FPGA module 102, and the I/Q data that receive are encoded and added synchronized timestamp;
Dsp processor in the present invention is for coding and the synchronized timestamp sign of I/Q data, expand RS232 interface and control external receiver work, the IO of use 32bit controls the work of the aerial array of external receiver, put on display the startup NOR FLASH of 2MB and the storage Flash of 8MB simultaneously, and the DDR SDRM of 128M.
CPCI interface 106, for multipath synchronous data being transferred to the host computer of system outside, utilizes the synchronized timestamp of multichannel data to extract the data that need by host computer, carries out the position coordinates that phase difference analysis obtains mobile phone.
What the dsp processor using in the present invention adopted is high performance fixed-point DSP processor, its clock frequency can reach 1GHz, highest point reason ability is 4800MIPS, it has 2 extended menory interfaces (EMIF), one is 64bit(EMIFA), one is 16bit(EMIFA), can with asynchronous (SRAM, EPROM)/synchronous memories (SDRAM, SBSRAM, ZBTSRAM, FIFO) seamless link, maximum addressable scope is 1280MB; The direct memory access controller (EDMA) with expansion, can provide 64 independently DMA passages, also has the universal input/output interface (GPIO) of 16 pins in sheet.
AD sampling module in the present invention adopts 4 chip AD9251, supports 80Msps sampling, 14bit, supporting signal input amplitude 0-1.5V, AC coupled.
It is that a precision clock divides distribution chip that clock module in the present invention is used AD9510, and it has PLL core on differential clocks input, 8 road clocks outputs and the sheet of 2 road 1.6GHz.Wherein, comprise the independently 1.2GHz LVPECL clock output of 4 tunnels, LVDS or CMOS can be arranged in other 4 tunnels independently clock output: while being arranged to LVDS output, frequency can reach 800MHz; While being arranged to CMOS output, frequency can reach 250MHz.Meanwhile, this chip can also be controlled the phase delay between output clock by SPI serial programming, and shake and phase noise extremely low.
In the present invention, by 2 EMIF interface: EMIFA and the EMIFB of DSP module, the interface of expansion comprises memory interface, sdram interface, control interface.EMIFA interface clock frequency can reach 100MHz, and EMIFA interface chip selects 0 for controlling SDRAM, big or small 128MByte, data bit width 32bit; Sheet selects 1 read-write for FPGA1, big or small 16Byte, data bit width 32bit; Sheet selects 2 read-writes for FPGA2, big or small 16Byte, data bit width 32bit.The clock frequency of EMIFB interface can reach 133MHz, and sheet selects 0 for storing the read-write of NOR FLASH, big or small 8MByte, data bit width 16bit; Sheet selects 1 for starting the read-write of NOR FLASH, big or small 2MByte, data bit width 8bit; Sheet selects 2 read-writes for serial ports 0, big or small 16Byte, data bit width 8bit; Sheet selects 3 read-writes for serial ports 1, big or small 16Byte, data bit width 8bit.
Dsp processor in the present invention, for coding and the synchronized timestamp sign of I/Q data, expands RS232 interface and controls operation of receiver, and the IO of use 32bit controls the work of 8 road aerial arrays of external receiver.
The present invention uses two FPGA respectively 4 road signals to be gathered, and has overcome while carrying out multiple signals processing by monolithic FPGA, when port number too much causes that the isometric layout of system PCB signal is puzzled, the problem that antijamming capability is not strong.
Receiver of the present invention can collect the carrier signal that No. 8 mobile phones are launched by antenna array.
As shown in Figure 2, be the schematic diagram of the disclosed synchronized sampling of the embodiment of the present invention, external clock reference carries out precision clock distribution by clock module AD9510 chip, then exports 6 road clock sync signals to a 4 AD chip and two FPGA disposable plates.Because 6 road synchronizing clock signals are same source signal, be that the synchronized sampling of 8 road signals of 4 AD chips and Digital Down Convert that two FPGA carry out 8 road signals are processed and provided the foundation.Two FPGA are directly by synchronous protocol, notify the other side to sample and the operating state of Digital Down Convert, further guarantee synchronous.
The principle of the lower synchronous frequency conversion of monolithic FPGA disposable plates realization numeral is shown in Figure 3, and Fig. 3 is the schematic diagram that the disclosed monolithic FPGA of embodiment of the present invention disposable plates realizes synchronous frequency conversion under numeral, and the working method of multiple FPGA is also like this.The Hardware I P core of employing based on FPGA carries out the conversion system of multiple signals, because being adopts hardware to carry out synchronous frequency conversion to multiple signals.Can overcome the poor problem of asynchronous and real-time that software frequency conversion brings.The data of ADC sampling successively carry out forming I/Q data after mixing, cic filter, CIFR filter, PFIR filter, then by delivering to DSP after the packing of I/Q data, carry out subsequent treatment.
The dsp processor using in the present invention is provided with by the outer of FPGA module controls: 4 AD chip settings of totally 8 passages, the setting of clock distribution chip, the GPIO that FPGA outside connects (32bit output) and GPIO(2bit input), the control line of 2 passage serial port chip, the page control line of NOR FLASH, the control to FPGA internal register.Inner being and exporting FIFO of being connected with DSP of FPGA, communicating by letter between FPGA and DSP, the sheet of use EMIFA interface select 1 and sheet select 2.Output data through FPGA Digital Down Convert are I/Q data, the signed number of each 16bit, and I/Q is one group, forms altogether the data of 32bit so that DSP access; Every FPGA controls 4 passages, and FPGA only has inside 1 FIFO, and the data polling of 8 passages deposits in FIFO so that DSP reads.
Fig. 4 is the controller drawing of the disclosed synchronous processing of the embodiment of the present invention, as shown in Figure 4, after dsp processor power supply, first carry out system initialization, each configuration register is set each functional module of DSP is moved by designing requirement, main configuration pin is multiplexing, PLL, PSC and EMIF.FPGA starts simultaneously and starts to control AD9251 and starts image data, the Hardware I P core that carrier signal process AD sampling enters FPGA carries out Digital Down Convert, baseband I/Q data after frequency conversion are carried out the fifo buffer of FPGA, when the data volume in FIFO reaches preseting length, and output interrupt signal.Because the general GPIO pin of interrupt signal line for this reason and DSP is connected, the EDMA3 controller of DSP inside can detect this GPIO and interrupt affairs, and produce a transmission request, according to the parameter of setting, data are transferred to the SDRAM memory of DSP module from the output FIFO in FPGA.After completing this EDMA transmission request, trigger an EDMA and interrupt, in interrupt service routine, detect data length in SDRAM.Between two FPGA, use synchronous protocol to notify the other side operating state.Finally, when the data length of sdram memory storage reaches the length of setting, trigger coding and synchronized timestamp function and carry out synchronizing signal processing, the signal after processing can be read by the synchronous CPCI interface of host computer.
Embodiment bis-
On the basis of embodiment mono-, the embodiment of the present application also provides a kind of multiple signals synchronization processing method, as shown in Figure 5, and the schematic flow sheet of a kind of multiple signals synchronization processing method providing for the embodiment of the present application.
The method is applied to, in mobile phone phase difference location, comprising:
Step S1: export and distribute multichannel homology clock signal.
Multichannel is specially the 6 same source signals in tunnel with source signal, exports rear and distributes, and as synchronizing signal, indicates the synchronous acquisition of carrier signal and processing.
Step S2: the multichannel carrier signal receiving is converted to multichannel intermediate-freuqncy signal;
Be specially the 8 tunnel carrier signals that receive are converted to 8 tunnel intermediate-freuqncy signals.
Step S3: according to homology clock signal, multichannel intermediate-freuqncy signal is carried out to synchronized sampling, do the lower synchronous frequency conversion processing of numeral and obtain I/Q data;
Step S4: I/Q data are encoded and added synchronized timestamp;
Step S5: utilize the synchronized timestamp of multichannel data to extract the data that need, carry out the position coordinates that phase difference analysis obtains mobile phone.
From above technical scheme, this multiple signals synchronization processing method that the embodiment of the present application provides, can be by the multi-path synchronous clock signal of synchronised clock module output be distributed to respectively to AD module and FPGA module as same source signal, thereby realized, multichannel intermediate-freuqncy signal that multichannel carrier signal that AD module receives external receiver converts to is carried out synchronized sampling and FPGA module is carried out synchronous frequency conversion processing under numeral to multichannel intermediate-freuqncy signal, data after DSP processing module is processed synchronous frequency conversion are encoded and add synchronized timestamp, by CPCI interface, multipath synchronous data is transferred to again to the host computer of system outside, by host computer, utilize the synchronized timestamp of multichannel data to extract the data that need, carry out phase difference analysis and obtain the position coordinates of mobile phone.The present invention compared with prior art, has guaranteed the synchronous acquisition to multichannel carrier signal, has realized the synchronous frequency conversion of multichannel carrier signal under numeral and has processed, thereby reached the object of mobile phone being carried out to phase difference location.
Also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.