Background technology
As radio-frequency transmitter (for example: the important step of Sheng Chaning mobile phone), the accuracy rate of mobile phone calibration and the efficient of calibration directly have influence on the quality and the output of mobile phone, accurately and efficiently calibration steps has very important significance for the production cost that reduces mobile phone.No matter be GSM (Global System for MobileCommunications, global system for mobile communications)/GPRS (General Packet Radio Service) GPRS), or CDMA (Code Division Multiple Access, code division multiple access) or WCDMA (Wideband CDMA, Wideband Code Division Multiple Access (WCDMA)) mobile phone, RF calibration can be divided into transmitter power calibration, radio-frequency transmitter gain calibration and VCO (Voltage Controlled Oscillator, voltage controlled oscillator) calibration three parts.
The calibration of CDMA radio-frequency transmitter mainly is to utilize tens channels respectively the low noise amplifier under the different gains state to be carried out power and frequency response calibration in whole frequency, different low noise amplifier gain-state can be thought different passages to radiofrequency signal, different passages requires receiving different power level signal, so in calibration process, at the gain-state of different low noise amplifiers, require signal source output appropriate signal.
In the prior art, before mobile phone carries out RF calibration, set in advance mobile phone receive channel and signalization source output frequency, when carrying out the mobile phone radio frequency calibration testing, low noise amplifier is set earlier to be in certain gain-state, signalization source then, make signal source export corresponding power level, calculate the skew between desirable received power value of mobile phone and the mobile phone actual reception performance number, after test finishes, send order by computer to mobile phone again, make low noise amplifier switch to other gain-state again, signalization source again makes the suitable power level of signal source output, until the calibration of finishing all gain-state of amplifier afterwards.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: existing RF calibration method needs are the power output in signalization source continually, because the certain otherness of existence between the mobile phone products, in order to guarantee the stability of mobile phone received power level, after the signal source output power levels, and before the radio-frequency transmitter read power level, artificial increase certain fixed delay, postpone feature owing to can't predict the radio-frequency transmitter of every mobile phone, therefore, after the signal source power output, be provided with longer time of delay, and the radio-frequency transmitter calibration efficiency is low.
Summary of the invention
The embodiment of the invention provides a kind of calibration steps, device and system of radio-frequency transmitter, calibrate by finishing the efficient of raising radio-frequency transmitter calibration between programmable attenuator and the radio-frequency transmitter automatically to realize the radio-frequency transmitter under the same channel low noise amplifier different gains state.
For achieving the above object, the embodiment of the invention provides a kind of calibration steps of radio-frequency transmitter on the one hand, comprising:
The residing gain-state of low noise amplifier in the radio-frequency transmitter is set;
Under described gain-state, the control programmable attenuator output power level corresponding with described gain-state;
According to described power level, the power level of described radio-frequency transmitter actual reception is calibrated.
On the other hand, the embodiment of the invention also provides a kind of radio-frequency transmitter, comprising:
First control module is used to be provided with the gain-state that low noise amplifier is in;
Second control module is used under the gain-state that described first control module is provided with, the control programmable attenuator output power level corresponding with described gain-state;
Calibration module is used for according to described power level the power level of radio-frequency transmitter actual reception being calibrated.
On the one hand, the embodiment of the invention also provides a kind of radio-frequency transmitter calibration system, comprising again:
Programmable attenuator is used for the control command that the received RF receiver sends, and according to described control command, output and the corresponding power level of the residing gain-state of described low noise amplifier;
Radio-frequency transmitter is used for the power level according to described programmable attenuator output, and the power level of described radio-frequency transmitter actual reception is calibrated.
Compared with prior art, the embodiment of the invention has the following advantages: pass through the embodiment of the invention, calibration under the same channel low noise amplifier different gains state is by finishing automatically between programmable attenuator and the radio-frequency transmitter, improve the automaticity of radio-frequency transmitter calibration to be measured, thereby improved the efficient of radio-frequency transmitter calibration.
Embodiment
The embodiment of the invention provides a kind of calibration steps, device and system of radio-frequency transmitter, pass through the embodiment of the invention, radio-frequency transmitter calibration under the same channel low noise amplifier different gains state is by finishing automatically between programmable attenuator and the radio-frequency transmitter, improve the automaticity of radio-frequency transmitter calibration, thereby improved the efficient of radio-frequency transmitter calibration.
As shown in Figure 1, the structure chart for embodiment of the invention radio-frequency transmitter calibration system comprises:
Programmable attenuator 11 is used for the control command that the received RF receiver sends, and according to this control command, output and the corresponding power level of the residing gain-state of low noise amplifier.
Radio-frequency transmitter 12 is used for the power level according to programmable attenuator 11 outputs, and the power level of radio-frequency transmitter 12 actual reception is calibrated.
In another kind of implementation, as shown in Figure 2, above-mentioned programmable attenuator 11 can be replaced by attenuation module 23, also comprises signal processing chip 21 and low noise amplifier 22 among Fig. 2, and signal processing chip 21 and low noise amplifier 22 are functional modules of radio-frequency transmitter 12.
Attenuation module 23 comprises variable gain amplifier 231 and detecting circuit 232,
Variable gain amplifier 231 comprises: first amplifier 2311 and second amplifier 2312;
First amplifier 2311 is used to enlarge the scope of the detection of dynamic power level of electric wave circuit 232.
Second amplifier 2312 be used to export with low noise amplifier 22 gain-state of living under corresponding power level.
The signal processing chip 21 of first amplifier 2311 and second amplifier 2312 and radio-frequency transmitter 12,22 of low noise amplifiers can connect with interface bus in succession, also can adopt other interface to connect.
Before carrying out radio-frequency transmitter 12 calibrations, in advance power linear characteristic and Frequency Response are kept in the mobile phone memory.In the process of radio-frequency transmitter 12 calibration testings, because the detecting circuit that different power levels is corresponding different, therefore, radio-frequency transmitter 12 is adjusted the decay range of second amplifier 2312 automatically according to the size of detecting circuit, make 2312 outputs and the corresponding power level of low noise amplifier different gains state of second amplifier, finish radio-frequency transmitter 12 calibration testings under low noise amplifier different gains state.
As shown in Figure 3, the flow chart for the calibration steps of embodiment of the invention radio-frequency transmitter 12 specifically comprises following step:
Step S301 is provided with the residing gain-state of low noise amplifier.
Step S302, under described gain-state, the control programmable attenuator 11 outputs power level corresponding with described gain-state.
In embodiments of the present invention, radio-frequency transmitter 12 is determined the residing gain-state of low noise amplifier, according to the residing gain-state of low noise amplifier, to programmable attenuator 11 transmitting control commands, one of control programmable attenuator 11 output and the corresponding power level of low noise amplifier gain-state of living in.
Step S303 according to above-mentioned power level, calibrates the power level of radio-frequency transmitter 12 actual reception.
In embodiments of the present invention, the power level of radio-frequency transmitter 12 actual reception and the power level of programmable attenuator 11 outputs are compared, after the difference of the power level that the power level and the programmable attenuator 11 of radio-frequency transmitter 12 actual reception are exported tends towards stability, write down this difference, and utilize the linear and frequency response error of obtaining of the power of difference compensation low noise amplifier under this gain-state.Thereby reduced the stand-by period, improved the calibration efficiency of radio-frequency transmitter 12.
After the calibration of radio-frequency transmitter 12 under this gain-state finishes, radio-frequency transmitter 12 continues transmitting control commands by serial ports or USB port to programmable attenuator 11, control programmable attenuator 11 changes the decay range of programmable attenuator 11, make programmable attenuator 11 outputs and the corresponding power level of another gain-state of low noise amplifier, thereby carry out the calibration of radio-frequency transmitter 12 under the next gain-state.
As shown in Figure 4, the flow chart for the calibration steps embodiment one of radio-frequency transmitter 12 of the present invention specifically comprises following step:
Step S401 is provided with the residing gain-state of low noise amplifier.
The low noise amplifier of same channel has different gain-state, when computer sends when carrying out calibration command to radio-frequency transmitter 12, radio-frequency transmitter 12 receives after this calibration command, in same channel, low noise amplifier is set is in a certain gain-state.
Step S402, under the gain-state that sets, 11 outputs and corresponding first power level of this gain-state of control programmable attenuator.
In embodiments of the present invention, radio-frequency transmitter 12 sets in advance the gain-state of radio-frequency transmitter 12, under the residing gain-state of low noise amplifier, fixed power level according to signal source 13 outputs, to programmable attenuator 11 transmitting control commands, control programmable attenuator 11 one of output and corresponding first power levels of low noise amplifier gain-state of living in, programmable attenuator 11 is exported first power level corresponding with low noise amplifier gain-state of living in by changing the decay range of output power levels.
Step S403 according to first power level, calibrates the power level of radio-frequency transmitter 12 actual reception.
In embodiments of the present invention, under this gain-state, the power level of radio-frequency transmitter 12 actual reception and first power level of programmable attenuator 11 outputs are compared, after the difference of first power level that the power level and the programmable attenuator 11 of radio-frequency transmitter 12 actual reception are exported tends towards stability, write down this difference again, thereby can reduce the stand-by period.Utilize the linear and frequency response error of obtaining of the power of difference compensation low noise amplifier under this gain-state then, thereby improved the calibration efficiency of radio-frequency transmitter 12.
After 12 calibration testings of the radio-frequency transmitter under this gain-state finish, low noise amplifier is set to another gain-state, radio-frequency transmitter 12 continues transmitting control commands by serial ports or USB port to programmable attenuator 11, control programmable attenuator 11 one of output and corresponding second power levels of residing another gain-state of low noise amplifier.Under residing another gain-state of low noise amplifier, according to the fixed power level of signal source 12 outputs and the control command of radio-frequency transmitter 12 transmissions, the decay range of the change power level that programmable attenuator 11 is suitable, output and pairing second power level of another gain-state of low noise amplifier.Under residing another gain-state of low noise amplifier, second power level according to programmable attenuator 11 outputs, the power level of radio-frequency transmitter 12 actual reception is proceeded calibration, after the difference for the treatment of second power level of the power level of radio-frequency transmitter 12 actual reception and programmable attenuator 11 outputs tends towards stability, write down this difference again.Utilize the linear and frequency response error of obtaining in the calibration process of the power of power difference compensation low noise amplifier under the different gains state.Until radio-frequency transmitter 12 calibrations of finishing under all gain-state of low noise amplifier.
In the same channel under the residing different gains state of low noise amplifier, the calibration of radio-frequency transmitter 12 can be finished between programmable attenuator 11 and radio-frequency transmitter 12 automatically, shorten the stand-by period of radio-frequency transmitter 12 calibrations, improved the calibration efficiency of radio-frequency transmitter 12.
As shown in Figure 5, the schematic diagram for embodiment of the invention radio-frequency transmitter 12 structures comprises:
First control module 51 is used to be provided with the residing gain-state of low noise amplifier.
Second control module 52 is used under the gain-state that first control module 51 is provided with, the control programmable attenuator 11 outputs power level corresponding with this gain-state.
Calibration module 53 is used for the power level according to 52 outputs of second control module, and the power level of radio-frequency transmitter 12 actual reception is calibrated.
Wherein, in another embodiment, as shown in Figure 6, second control module 52 can comprise:
Control submodule 521 is used for fixed power level and the residing gain-state of low noise amplifier according to the signal source output of programmable attenuator 11 connections, the control programmable attenuator 11 outputs power level corresponding with this gain-state.
Wherein, calibration module 53 can comprise:
Contrast submodule 531 is used for the power level of radio-frequency transmitter 12 actual reception and the power level of programmable attenuator 11 outputs are compared.
Record sub module 532 is used for writing down described difference after the difference of the power level that the power level and the programmable attenuator 11 of radio-frequency transmitter 12 actual reception are exported tends towards stability.
Compensation submodule 533 is used to utilize difference that power linearity and the frequency response error of described low noise amplifier under described gain-state compensated.
The embodiment of the invention provides a kind of calibration steps, device and system of radio-frequency transmitter, pass through the embodiment of the invention, calibration under the same channel low noise amplifier different gains state is by finishing automatically between programmable attenuator and the radio-frequency transmitter, improve the automaticity of radio-frequency transmitter calibration to be measured, thereby improved the efficient of radio-frequency transmitter calibration.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
The scheme of the content record of claim also is the protection range of the embodiment of the invention.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.