Summary of the invention
Main purpose of the present invention is divided collection method for transmitting and programmable logic device for a kind of delay is provided, and can divide the length of delay of collection emission to be provided with flexibly to postponing according to different needs, and is practical.
The present invention proposes a kind of delay and divides the collection method for transmitting, comprising:
Programmable logic device receives the baseband signal of base band data modem chip output;
Said baseband signal is configured to M roadbed band signal, and said M is the antenna amount of base station;
Length of delay by preset postpones said M roadbed band signal accordingly, and is sent to receiving terminal through the base station.
Preferably, saidly baseband signal be configured to M roadbed band signal comprise:
Receive M the configuration parameter that CPU sends;
Export corresponding baseband signal respectively according to configuration parameter.
Preferably, saidly M roadbed band signal is postponed to comprise accordingly by preset length of delay:
Receive M the length of delay that CPU sends;
The transmitting time of M roadbed band signal is set respectively according to said length of delay.
Preferably, the said transmitting time that M roadbed band signal is set according to length of delay respectively comprises:
Postpone by the length of delay of correspondence output time baseband signal.
Preferably, carry out said baseband signal is configured to M roadbed band signal after, comprising:
Receive M the enable signal that CPU sends;
Judge respectively whether said enable signal enables;
When enable signal enabled, the baseband signal after the output configuration postponed, otherwise the preset baseband signal of output postpones.
The present invention also proposes a kind of programmable logic device, comprising:
Receiver module is used to receive the baseband signal that the base band data modem chip is exported;
Configuration module is used for said baseband signal is configured to M roadbed band signal, and said M is the antenna amount of base station;
Postponement module is used for by preset length of delay said M roadbed band signal being postponed accordingly, and is sent to receiving terminal through the base station.
Preferably, said configuration module specifically is used to receive M the configuration parameter that CPU sends; And export corresponding baseband signal respectively according to configuration parameter.
Preferably, said Postponement module specifically is used to receive M the length of delay that CPU sends; And the transmitting time that M roadbed band signal is set respectively according to said length of delay.
Preferably, said Postponement module specifically is used for postponing by the length of delay of the correspondence output time with baseband signal.
Preferably, said programmable logic device also comprises enable module, is used to receive M the enable signal that CPU sends; And judge respectively whether said enable signal enables, and when enable signal enabled, the baseband signal after the output configuration postponed, otherwise the preset baseband signal of output postpones.
Delay of the present invention divides collection method for transmitting and programmable logic device; The delay diversity feature of base band data modem chip is transferred in the existing programmable logic device in base station; Because the parameter of programmable logic device can be provided with; Postpone to divide the principal and subordinate in the collection module to divide collection configuration, delay value all can be provided with in advance according to actual needs, thereby improved the practicality that postpones diversity technique through programmable logic device.
Embodiment
Delay of the present invention divides collection method for transmitting and programmable logic device; The delay diversity feature of base band data modem chip is transferred in the existing programmable logic device in base station; Because the parameter of programmable logic device can be provided with; Postpone to divide the principal and subordinate in the collection module to divide collection configuration, delay value all can be provided with in advance according to actual needs, changed the situation that parameter such as delay value in the base band data modem chip in the past can't be provided with flexibly through programmable logic device.
With reference to Fig. 1, propose the present invention and postpone branch collection method for transmitting one embodiment, comprising:
Step S101, programmable logic device receives the baseband signal of base band data modem chip output.
The base band data modem chip is exported to programmable logic device with baseband signal after ovennodulation; Baseband signal can be one or more, but is generally multichannel, in the present embodiment; The baseband signal of setting the programmable logic device reception is the N road, and N can be the arbitrary value more than or equal to 1.
Step S102 is configured to M roadbed band signal with baseband signal, and M is the antenna amount of base station.
In programmable logic device, N roadbed band signal is configured to M roadbed band signal, and through the M road antenna transmission of base station, M is generally the value more than or equal to N.There are two kinds of situation this moment: the one, a road in the N roadbed band signal of input possibly be configured to the multichannel in the M road output baseband signal; Then input baseband signal in this road is duplicated into the multichannel copy, then certainly exists a certain road in the N road or a few roadbed band signal is not exported; The 2nd, input baseband signal in N road is corresponding one by one, identical with M road output baseband signal, then has no one the tunnel to be replicated in the N road input baseband signal.
Step S103 postpones M roadbed band signal accordingly by preset length of delay, and is sent to receiving terminal through the base station.
M road output baseband signal is postponed accordingly again, be duplicated into the multichannel copy as having one the tunnel in the N roadbed band signal, can carry out different delays to every road copy, promptly this multichannel copy is as postponing to divide the principal and subordinate in the collection emission to divide collection output.And the length of delay of every road copy is to be provided with in advance, according to the different application scene, selects different length of delays, to be fit to the practical application needs.
Delay of the present invention divides the collection method for transmitting; The delay diversity feature of base band data modem chip is transferred in the existing programmable logic device in base station; Because the parameter of programmable logic device can be provided with; Delay value can be provided with through programmable logic device according to actual needs in advance, thereby has improved the practicality that postpones diversity technique.
With reference to Fig. 2, in one embodiment, step S102 can specifically comprise:
Step S1021 receives M the configuration parameter that CPU sends;
Step S1022 exports corresponding baseband signal respectively according to configuration parameter.
Programmable logic device receives M the configuration parameter that CPU sends, and exports corresponding input baseband signal to delay time according to the value of configuration parameter S_sector_sel.For example when the value of M-1 S_sector_sel all was 2, then in the N road input baseband signal, baseband signal was imported on output M-1 road the second tunnel, and promptly the second tunnel input baseband signal is copied into M-1 copy, and the principal and subordinate who forms in transmitting divides collection.
It should be noted that the present invention is not limited only to above-mentioned collocation method, the configuration of other corresponding relation that can realize importing and export that those skilled in the art can associate by this is all applicable to the present invention.
With reference to Fig. 3, in one embodiment, step S103 can specifically comprise:
Step S1031 receives M the length of delay that CPU sends;
Step S1032 is provided with the transmitting time of M roadbed band signal respectively according to length of delay.
In one embodiment, step S1032 can specifically comprise:
Postpone by the length of delay of correspondence output time baseband signal.
CPU divides the principal and subordinate of collection emission to divide the length of delay of collection to be provided with to postponing, and mode of slowing down sense data capable of using realizes.With the CDMA standard is example; 1 total 32bit serial data of sampled point; The data of M road output baseband signal are write among the RAM of a 32bit*256 in the programmable logic device successively; Postponing under the default situations is 0, reads the address ratio and writes the little 2bit in address, and each clock cycle read/write address all adds 1.When the length of delay of M road output baseband signal was configured to certain numerical value in 0~255 by CPU, this length of delay delay_sel had participated in the computing of write address.Write address has added 32*delay_sel on the raw address basis, thereby to make the data read when not disposing length of delay slow 32*delay_sel clock cycle satisfied the needs of delay.
It should be noted that RAM of the present invention comprises that shift register, fifo registers and other can realize the register of this function.
With reference to Fig. 4, propose the present invention and postpone the another embodiment of branch collection method for transmitting, in the above-described embodiments, after execution in step S102, comprising:
Step S1023 receives M the enable signal that CPU sends; Judge respectively whether enable signal enables, when enable signal enabled, the baseband signal after the output configuration postponed, otherwise the preset baseband signal of output postpones.
CPU provides and postpones to divide collection emission enable signal diversity_en; Whether programmable logic device is judged that this enable signal is current and is enabled; Postpone or export preset baseband signal to postpone with the baseband signal after the decision output configuration, preset baseband signal can be the arbitrary road in the M roadbed band signal.
Delay of the present invention divides the collection method for transmitting; The delay diversity feature of base band data modem chip is transferred in the existing programmable logic device in base station; Because the parameter of programmable logic device can be provided with, delay value can be provided with through programmable logic device according to actual needs in advance.Further, can also select to open or close the delay that the principal and subordinate divides collection.
With reference to Fig. 5, Fig. 6,programmable logic device 10 1 embodiment of the present invention are proposed, comprising:
Receiver module 20 is used to receive the baseband signal that base banddata modem chip 50 is exported;
Configuration module 30 is used for baseband signal is configured to M roadbed band signal, and M is the antenna amount ofbase station 80;
Postponement module 40 is used for by preset length of delay M roadbed band signal being postponed accordingly, and is sent to receivingterminal 60 throughbase station 80.
Programmable logic device 10places 80 inside, base station; Base banddata modem chip 50 is exported toreceiver module 20 with baseband signal after ovennodulation; Baseband signal can be one or more, but is generally multichannel, in the present embodiment; The baseband signal of settingreceiver module 20 receptions is the N road, and N can be the arbitrary value more than or equal to 1.
Configuration module 30 is configured to M roadbed band signal with N roadbed band signal, and through the M road antenna transmission ofbase station 80, M is generally the value more than or equal to N.There are two kinds of situation this moment: the one, a road in the N roadbed band signal of input possibly be configured to the multichannel in the M road output baseband signal; Then input baseband signal in this road is duplicated into the multichannel copy, then certainly exists a certain road in the N road or a few roadbed band signal is not exported; The 2nd, input baseband signal in N road is corresponding one by one, identical with M road output baseband signal, then has no one the tunnel to be replicated in the N road input baseband signal.
40 pairs of M roads of Postponement module output baseband signal postpones accordingly again; As existing one the tunnel to be duplicated into the multichannel copy in the N road input baseband signal; Can carry out different delays to every road copy, promptly this multichannel copy is as postponing to divide the principal and subordinate in the collection emission to divide collection output.And the length of delay of every road copy is to be provided with in advance, according to the different application scene, selects different length of delays, to be fit to the practical application needs.
Programmable logic device 10 of the present invention; To postpone branch collection emission function transfers to the 80 existingprogrammable logic devices 10 of base station from base banddata modem chip 50; Because the parameter ofprogrammable logic device 10 can be provided with; Delay value can be provided with throughprogrammable logic device 10 according to actual needs in advance, thereby has improved the practicality that postpones diversity technique.
Inprogrammable logic device 10 1 embodiment,configuration module 30 can specifically be used to receive M the configuration parameter that CPU90 sends; And export corresponding baseband signal respectively according to configuration parameter.
Receiver module 20 receives M the configuration parameter that CPU90 sends, and exports corresponding input baseband signal to delay time according to the value of configuration parameter S_sector_sel.For example when the value of M-1 S_sector_sel all was 2, then in the N road input baseband signal, baseband signal was imported on output M-1 road the second tunnel, and promptly the second tunnel input baseband signal is copied into M-1 copy, and the principal and subordinate who forms in transmitting divides collection.
It should be noted thatprogrammable logic device 10 of the present invention is not limited only to said method and realizes that the principal and subordinate divides the collection configuration, the configuration of other corresponding relation that can realize importing and export that those skilled in the art can associate by this is all applicable to the present invention.
Inprogrammable logic device 10 1 embodiment,Postponement module 40 can specifically be used to receive M the length of delay that CPU90 sends; And the transmitting time that M roadbed band signal is set respectively according to length of delay.
Inprogrammable logic device 10 1 embodiment,Postponement module 40 also can specifically be used for postponing by the length of delay of the correspondence output time with baseband signal.
CPU90 divides the principal and subordinate of collection emission to divide the length of delay of collection to be provided with to postponing, and mode of slowing down sense data capable of using realizes.With the CDMA standard is example; 1 total 32bit serial data of sampled point; The data of M road output baseband signal are write among the RAM of a 32bit*256 in theprogrammable logic device 10 successively; Postponing under the default situations is 0, reads the address ratio and writes the little 2bit in address, and each clock cycle read/write address all adds 1.When the length of delay of M road output baseband signal was configured to certain numerical value in 0~255 by CPU90, this length of delay delay_sel had participated in the computing of write address.Write address has added 32*delay_sel on the raw address basis, thereby to make the data read when not disposing length of delay slow 32*delay_sel clock cycle satisfied the needs of delay.
It should be noted that RAM of the present invention comprises that shift register, fifo registers and other can realize the register of this function.
With reference to Fig. 6,programmable logic device 10 another embodiment of the present invention are proposed, in theprogrammable logic device 10 of the foregoing description, also comprise enablemodule 70, be used to receive M the enable signal that CPU90 sends; And judge respectively whether enable signal enables, and when enable signal enabled, the baseband signal after the output configuration postponed, otherwise the preset baseband signal of output postpones.
CPU90 provides and postpones to divide collection emission enable signal diversity_en; Whether enablemodule 70 is judged that this enable signal is current and is enabled; Postpone or export preset baseband signal to postpone with the baseband signal after the decision output configuration, preset baseband signal can be the arbitrary road in the M roadbed band signal.
Programmable logic device 10 of the present invention; To postpone branch collection emission function transfers to the 80 existingprogrammable logic devices 10 of base station from base banddata modem chip 50; Because the parameter ofprogrammable logic device 10 can be provided with; Delay value can be provided with throughprogrammable logic device 10 according to actual needs in advance, further, can also select to open or close the delay that the principal and subordinate divides collection.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.