The independent adjustment method and the debugging module of radio frequency unit in a kind of wireless base system
Technical field
The present invention relates to wireless communication technology field, be specifically related to the independent adjustment method and the debugging module of radio frequency unit in a kind of wireless base system.
Background technology
Along with the continuous development of radio communication, the commerce of radio communication is used from analog to digital communication, develops into 3G (3G (Third Generation) Moblie) from 2G (second generation mobile communication), and develops into the wireless broadband communication service of supporting high-speed mobile.In wireless communication field, base station equipment is the important component part in the wireless network, and the research and development speed of base station equipment depends on the design of each major function unit in the base station equipment, the speed of debugging.
A base station will experience design, drawing, making sheet, welding component, functional unit debugging and detection, until a plurality of links such as integration testings from being designed into the R﹠D process of finishing integration testing.In this whole process, the time proportion that the functional unit debugging takies is bigger.Mainly needing the functional unit of debugging in the wireless base system is baseband control unit and radio frequency unit, wherein the debugging of radio frequency unit needs the supplemental characteristic configuration that baseband control unit is correlated with, and this begins after the baseband control unit debugging is finished with regard to the debugging that means radio frequency unit.How could make parallel the carrying out of debugging work of baseband control unit and radio frequency unit, to improve research staff's operating efficiency, accelerate the research and development process as much as possible, be very important.
The adjustment method of serial is adopted in the debugging of radio frequency unit in traditional wireless base system, that is: adopt instrument and meters such as required signal source of baseband control unit, power supply, PC, the debugging identical and spectrum analyzer to build debugging enironment with the real base station system, connect cable between baseband control unit and radio frequency unit, connect the instrument and meter of debugging radio frequency unit; Power on the back baseband control unit to target radio frequency unit loading frequency and attenuator supplemental characteristic, make radio frequency unit enter operating state.During debugging, the modulation signal of signal source output corresponding frequencies and level, the commissioning staff debugs and tests tested radio frequency unit according to waveform and level that spectrum analyzer shows.
In traditional adjustment method, structure to the environment of radio frequency unit debugging need one can operate as normal baseband control unit, if under the state that radio frequency unit and baseband control unit are researched and developed simultaneously, the debugging enironment that is configured to radio frequency unit with baseband control unit has certain degree of difficulty.Mean, one can operate as normal the debugging of baseband control unit also need the long cycle, be not easy to realize the parallel debugging of radio frequency unit and baseband control unit.Therefore, the adjustment method of this serial has restricted the raising of research and development speed.
Summary of the invention
The present invention is directed to the problems referred to above, the independent adjustment method and the debugging module of radio frequency unit in a kind of wireless base system are provided, adopt this adjustment method, can not have under the prerequisite of baseband control unit, radio frequency unit to the base station carries out debugging work, make that the debugging of radio frequency unit and baseband control unit are parallel carries out, shorten the R﹠D cycle of base station system, accelerate the research and development process.
Technical scheme of the present invention is such:
The independent adjustment method of radio frequency unit in a kind of wireless base system, described wireless base system is the integrated wireless base station system, this method comprises:
This plate of radio frequency unit microcontroller monitoring radio frequency unit connects or does not connect baseband control unit;
When radio frequency unit did not connect baseband control unit, this plate of radio frequency unit microcontroller was taken over the radio frequency unit bus;
Operating frequency and attenuator parameter are set, and radio frequency unit enters debugging working state.
The further technical scheme of the present invention is:
The method of described this plate of radio frequency unit microcontroller monitoring radio frequency unit is: according to the site type of wireless base station, download working procedure and configuration parameter data in advance to this plate of radio frequency unit microcontroller; After radio frequency unit powered on, its this plate microcontroller was monitored the interface of radio frequency unit and baseband control unit, judges whether to be connected to baseband control unit.
The method of described site type configuration parameter according to the wireless base station is: described configuration parameter data is the pre-configured supplemental characteristic of site type according to the wireless base station under the radio frequency unit that will debug; Described pre-configured supplemental characteristic comprises: the acquiescence operating frequency of radio frequency unit, the fading channel device parameter value of acquiescence down output power and the up channel attenuator parameter value of acquiescence.
The method that described this plate of radio frequency unit microcontroller is taken over the radio frequency unit bus is: when radio frequency unit does not connect baseband control unit, by this plate of radio frequency unit microcontroller management radio frequency unit bus, by the radio frequency unit bus supplemental characteristic is set, makes radio frequency unit be in specific operating state; When radio frequency unit connected baseband control unit, this plate of radio frequency unit microcontroller discharged the radio frequency unit bus control right, and radio frequency unit bus power is managed by baseband control unit.
The adjustment method that described radio frequency unit enters after the debugging working state is: this plate of radio frequency unit microcontroller is provided with the radio frequency unit uplink and downlink operating frequency and the attenuator parameter of acquiescence, and according to the operating frequency and attenuator parameter testing and the debugging radio frequency unit uplink and downlink channel that are provided with; This plate of radio frequency unit microcontroller by the PC control desk through the PC general-purpose interface be provided with permission any one group of radio frequency unit operating frequency and or the attenuator parameter debug.
Described PC control desk is provided with the method that parameter debugs: by transfer of data serial port protocol download configuration supplemental characteristic, described configuration parameter data is the supplemental characteristic that frequency parameter data and fading channel device allow in the operating frequency range that allows of target radio frequency unit to PC through general-purpose interface; All supplemental characteristics that PC is downloaded through general-purpose interface receive by this plate of radio frequency unit microcontroller, and are provided with and the corresponding radio frequency unit operating state of supplemental characteristic by the radio frequency unit bus; The supplemental characteristic of PC is to import control commands corresponding and supplemental characteristic by keyboard by the commissioning staff on PC, and control command comprises that the uplink and downlink operating frequency is provided with order, radio frequency unit frequency module operating state is adjusted, checked to specified attenuation device supplemental characteristic.
The independent debugging module of radio frequency unit in a kind of wireless base system, this module are positioned at this plate of radio frequency unit microcontroller side, and it comprises:
The bus control right selected cell, PC general-purpose interface communication unit and supplemental characteristic are provided with the unit;
Described bus control right selected cell is according to the control that state is determined the radio frequency unit bus that whether is connected between baseband control unit and the radio frequency unit;
Described PC general-purpose interface communication unit, according to the debugging mode of debug target radio frequency unit determine by PC transmit commissioning staff's appointment the debugging frequency and or the attenuator supplemental characteristic;
Supplemental characteristic is provided with the unit, according to configuration parameter data of downloading in advance or the supplemental characteristic that transmits via the PC general-purpose interface, the operating frequency of radio frequency unit frequency module is set and or the pad value of fading channel device is set by the radio frequency unit bus.
As seen from the above technical solution, the independent adjustment method and the debugging module of radio frequency unit in the wireless base system provided by the invention, compare with existing common adjustment method, when radio frequency unit is debugged, simplified demand to debugging enironment, debugging work is carried out in the control that can break away from baseband control unit, makes that radio frequency unit and baseband control unit can parallel debuggings; In the research and development of wireless base station product, the mutual wait phenomenon when the present invention has avoided radio frequency unit debugging and baseband control unit debugging can be accelerated the debugging progress, increases work efficiency, and shortens the R﹠D cycle effectively.
Description of drawings
The debugging enironment schematic diagram that Fig. 1 independently debugs for radio frequency unit of the present invention.
Fig. 2 is the flow chart of the independent adjustment method of radio frequency unit of the present invention.
Fig. 3 is the composition structural representation of the independent debugging module of radio frequency unit of the present invention.
Embodiment
The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
The present invention is mainly used in the integrated wireless base station system, and this system becomes a complete wireless base system by baseband control unit, radio frequency unit, power amplifier, power supply module, power interface, antennal interface and other external signal interface group.The present invention is applicable in the debugging of other wireless communication system too, as the PHS system.
For making technical scheme of the present invention more cheer and bright, below in conjunction with the drawings and specific embodiments the present invention is elaborated, so that further understand technical scheme of the present invention.Technical scheme provided by the present invention is applicable in the debugging of other wireless communication system too.
The embodiment of the invention provides the independent adjustment method of radio frequency unit in a kind of wireless base system, and the debugging enironment that this method is used comprises frequency spectrograph, PC, radio frequency unit, signal source and D.C. regulated power supply as shown in Figure 1.Frequency and attenuator supplemental characteristic that this plate of radio frequency unit microcontroller μ P presets by the setting of radio frequency unit bus perhaps receive PC and behind frequency that RS-232 interface sends or attenuator supplemental characteristic radio frequency unit are provided with.
Before carrying out, need meet the following conditions to the debugging of radio frequency unit:
1. set up debugging enironment, and correctly connect the line between the each several part.
2. debugging module program and the frequency and the attenuator supplemental characteristic that preset are downloaded in the program storage of this plate of radio frequency unit microcontroller μ P.
3. correctly power to radio frequency unit.
4. the instrument and meter of test usefulness is normal.
Among the present invention the flow chart of the independent adjustment method of radio frequency unit as shown in Figure 2, comprising:
Step 201: this plate of radio frequency unit microprocessor controls radio frequency unit bus.
When microcontroller μ P detects radio frequency unit and does not connect baseband control unit, the microcontroller program enters debugging mode, this moment, microcontroller μ P was connected to the I/O port of radio frequency unit bus, by the high resistant mode switch is output mode, and radio frequency unit bus power is just controlled by microcontroller μ P like this.
Otherwise, when microcontroller μ P detects radio frequency unit and is connected with baseband control unit, the microcontroller program withdraws from debugging mode, enter normal mode of operation, the I/O port that this moment, microcontroller μ P was connected to the radio frequency unit bus transfers the high resistant pattern to, discharge its control to the radio frequency unit bus, this bus control right profit is transferred to baseband control unit control.
Step 202: the radio frequency unit frequency and the attenuator supplemental characteristic that preset are set.
After entering debugging mode, microcontroller μ P will be loaded in the frequency of the acquiescence in the memory and attenuator supplemental characteristic in advance down and be written to frequency module and attenuator on the radio frequency unit respectively through the radio frequency unit bus, carry out the operating frequency and the attenuator configuration of radio frequency unit.
Step 203: receive and be provided with supplemental characteristic from PC.
The commissioning staff is according to the debugging situation to radio frequency unit, and the debugging demand, can also adopt the control of PC control desk, by RS-232 interface different frequency debugging is set, with the working condition of check radio frequency unit any frequency in the frequency range of design; Change attenuator supplemental characteristic perhaps is set, adjusts the signal level position of channel, so that signal reaches the optimal design scope of link.
Microcontroller receives order and the supplemental characteristic from the PC RS-232 interface, and the resolve command requirement is written to the correspondent frequency module to the supplemental characteristic of receiving according to order and carries out frequency configuration, perhaps is written to corresponding attenuator and carries out the pad value setting.
Step 204: radio frequency unit debugging.
The commissioning staff carries out the debugging of radiofrequency signal link according to the signal results of the parameter detecting radio frequency unit that is provided with, after the debugging of debugging of the radio frequency unit under the default parameters condition and PC control desk control tuning parameter combines, can finish debugging to all radio-frequency (RF) index of radio frequency unit.
The present invention also provides a kind of independent debugging module of radio frequency unit, is the module of carrying out the independent adjustment method of above-mentioned radio frequency unit, and it is positioned at the microcontroller side of this plate of radio frequency unit, the composition structure of this debugging module as shown in Figure 3:
Described debugging module 300, under the radio frequency unit debugging mode, the frequency module 311 and the attenuator 312 of configuration target radio frequency unit 310.
Described debugging module 300 comprises: RS-232 serial communication unit 301, supplemental characteristic are provided with unit 302 and bus control right selected cell 303.
Described RS-232 serial communication unit 301 receives order and the supplemental characteristic that the PC RS-232 interface is sent according to data communication protocol;
Described supplemental characteristic is provided with unit 302, the frequency and the attenuator supplemental characteristic of acquiescence are set, perhaps be provided with from the frequency of PC control desk and attenuator supplemental characteristic to target radio frequency unit 310, the operating frequency and the attenuator of target radio frequency unit 310 is configured;
Described bus control right selected cell 303 is judged the connection status between target radio frequency unit 310 and baseband control unit, microprocessor controls or discharge its control to target radio frequency unit bus.
By as seen above-mentioned, the independent adjustment method of radio frequency unit makes many radio frequency units to debug simultaneously, and be independent of the debugging of other unit of wireless base system, be independent of each other, when improving the debugging progress, also reduced demand, saved the hardware cost of debugging enironment indirectly debugging enironment.This adjustment method has also been avoided the influence of other factors simply, as the problem of being brought at research and development initial stage baseband control unit imperfection.Even enter into the stage of production, the present invention also is a kind of simple adjustment method.
The above only is one embodiment of the present of invention; so it is not to be used to limit spirit of the present invention and protection range; under the situation that does not deviate from spirit of the present invention and essence thereof; various corresponding variation or distortion that those of ordinary skill in the art made all should be considered as belonging to the protection range of the appended claim of the present invention.