Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The gain control method of the radio frequency front-end device that the embodiment of the invention provides is by setting in advance the adjustable extent value of attenuation, and the attenuation of the attenuation fine adjustment signal correspondence of user input and modulated attenuation and when not exceeding this default adjustable extent value, the current attenuation variation attenuation corresponding of control controllable attenuator with this attenuation fine adjustment signal.
Fig. 1 shows the flow process of the gain control method of the radio frequency front-end device that the embodiment of the invention provides.
In step S101, receiving attenuation amount fine adjustment signal, and judge the attenuation of this attenuation fine adjustment signal correspondence and modulated attenuation and whether exceed default adjustable extent value.
In step S102, when the attenuation of judging this attenuation fine adjustment signal correspondence and modulated attenuation and when not exceeding default adjustable extent value, the current attenuation variation attenuation corresponding of control controllable attenuator with this attenuation fine adjustment signal.
Controllable attenuator wherein is numerical-control attenuator or voltage-controlled attenuator.
Attenuation fine adjustment signal wherein both can be that the user adjusts signal by the numerical value of input terminal input, at this moment, the attenuation of this attenuation fine adjustment signal correspondence is the numerical value of user's input, for controllable attenuator with stepping regulatory function, this attenuation fine adjustment signal also can be that the user adjusts signal by the stepping of input terminal input, at this moment, the attenuation of each attenuation fine adjustment signal correspondence is the stepping amount of controllable attenuator.In the embodiment of the invention, controllable attenuator is a step attenuator, and in order to guarantee trimming precision, the stepping amount of this step attenuator is 0.25dB, because the stepping accuracy height makes and adopts the trimming precision of aforesaid way well to be guaranteed.
Default adjustable extent value wherein is meant the predefined attenuation value range that can finely tune controllable attenuator, and in the embodiment of the invention, this default adjustable extent value is 3dB.For instance, if current attenuation is 1dB, the attenuation that has decayed is 2dB, then for step attenuator with 0.25dB stepping amount, when the user need finely tune attenuation, suppose that the user imports an attenuation fine adjustment signal, that is to say that the user need be with the attenuation fine setting 0.25dB of step attenuator, because this 0.25dB is 3dB with the 2dB's that has decayed with not exceeding default adjustable extent value, then can realize fine setting to this step attenuator, and calculate based on aforesaid way user input attenuation fine adjustment signal correspondence attenuation and modulated attenuation and exceed when presetting the adjustable extent value, then cannot finely tune this step attenuator according to this attenuation fine adjustment signal.
Because the gain control method of above-mentioned radio frequency front-end device is by setting in advance the adjustable extent value of attenuation, and the attenuation of the attenuation fine adjustment signal correspondence of user input and modulated attenuation when not exceeding this default adjustable extent value, the current attenuation of control controllable attenuator changes the attenuation corresponding with this attenuation fine adjustment signal, and do not need to use traditional π type attenuator to realize fine setting to the gain of radio frequency front-end device, thereby avoided changing the rosin joint of causing that resistance causes, leak phenomenons such as weldering or dry joint, do not need welding action repeatedly, improved reliability of products and qualification rate.
For radio frequency front-end device, because the temperature characterisitic of chip, can cause under state of temperature on a large scale (40-75 ℃), the change in gain fluctuation can not be satisfied performance requirement, for this reason, the circuit in the time of need be to high temperature and low-temperature working carries out effective gain compensation, then in the embodiment of the invention, before step S101, afterwards or simultaneously, can further include following steps:
The ambient temperature of sampling radio frequency front-end device obtains temperature detection value; The temperature value that prestores of inquiry and the mapping table of burst sequence obtain the burst sequence of this temperature detection value correspondence; By this burst sequence, the variation of the current attenuation of control controllable attenuator.
Wherein, the temperature value that prestores and the mapping table of burst sequence both can write down the corresponding relation of temperature value scope and burst sequence, this moment, the trip point of burst sequence was two end values of temperature value scope, certainly, the temperature value that prestores and the mapping table of burst sequence also can write down the corresponding relation of temperature spot and burst sequence, at this moment, for unwritten temperature spot, promptly when temperature detection value during not by the corresponding relation table record of this temperature value and burst sequence, the burst sequence of temperature detection value correspondence remains unchanged.Being provided with of two end values of temperature value scope wherein or temperature spot can be determined according to the temperature characterisitic of amplifier chips at different levels in concrete required temperature compensation range and the radio frequency front-end device.
Further, in the embodiment of the invention, before the step of ambient temperature of sampling radio frequency front-end device, further comprising the steps of: the attenuation of controllable attenuator under the record normal temperature, as the acquiescence attenuation.
The mapping table of temperature value and burst sequence owing to prestored, and detect the ambient temperature of radio frequency front-end device in real time, to obtain the burst sequence of ambient temperature correspondence, and then the attenuation of controllable attenuator controlled, realize the temperature-compensating of gain, temperature compensation range is big, has better controlled precision and stability, avoided the temperature-compensating of using traditional thermo-sensitive resistor to gain, provided cost savings.
Fig. 2 shows the structural principle of the gain control system of the radio frequency front-end device that the embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
The gain control system 1 of this radio frequency front-end device is connected between two radio frequency amplifiers of radio frequency front-end device, specifically comprises: signal processing unit 11; And be connected, and be connected in controllable attenuator 12 between two radio frequency amplifiers of radio frequency front-end device with signal processing unit 11.Signal processing unit 11 is used for receiving attenuation amount fine adjustment signal, and judge the attenuation of this attenuation fine adjustment signal correspondence and modulated attenuation and whether exceed default adjustable extent value, when the attenuation of judging this attenuation fine adjustment signal correspondence and modulated attenuation and when not exceeding default adjustable extent value, the current attenuation variation attenuation corresponding of control controllable attenuator 12 with this attenuation fine adjustment signal.
Controllable attenuator 12 wherein is numerical-control attenuator or voltage-controlled attenuator.Attenuation fine adjustment signal wherein both can be that the user adjusts signal by the numerical value of input terminal input, at this moment, the attenuation of this attenuation fine adjustment signal correspondence is the numerical value of user's input, for controllable attenuator 12 with stepping regulatory function, this attenuation fine adjustment signal also can be that the user adjusts signal by the stepping of input terminal input, at this moment, the attenuation of each attenuation fine adjustment signal correspondence is the stepping amount of controllable attenuator 12.In the embodiment of the invention, controllable attenuator 12 is a step attenuator, and in order to guarantee trimming precision, the stepping amount of this step attenuator is 0.25dB, because the stepping accuracy height makes and adopts the trimming precision of aforesaid way well to be guaranteed.Default adjustable extent value wherein is meant the predefined attenuation value range that can finely tune controllable attenuator 12, and in the embodiment of the invention, this default adjustable extent value is 3dB.
Because the gain control system of above-mentioned radio frequency front-end device is by setting in advance the adjustable extent value of attenuation, and the attenuation of the attenuation fine adjustment signal correspondence of user input and modulated attenuation when not exceeding this default adjustable extent value, the current attenuation of control controllable attenuator changes the attenuation corresponding with this attenuation fine adjustment signal, avoided using the fine setting of traditional π type attenuator realization to the gain of radio frequency front-end device, thereby avoided changing the rosin joint of causing that resistance causes, leak phenomenons such as weldering or dry joint, do not need welding action repeatedly, improved reliability of products and qualification rate.
In order further to realize temperature-compensating to the gain of radio frequency front-end device, in the embodiment of the invention, signal processing unit 11 is the ambient temperature of sampling radio frequency front-end device further, obtain temperature detection value, afterwards, the temperature value that prestores of inquiry and the mapping table of burst sequence obtain the burst sequence of this temperature detection value correspondence, by this burst sequence, the variation of the current attenuation of control controllable attenuator 12.Wherein, the temperature value that prestores and the mapping table of burst sequence do not repeat them here as mentioned above.
Further, in the embodiment of the invention, signal processing unit 11 can also write down the attenuation of controllable attenuator under the normal temperature, as the acquiescence attenuation.
The mapping table of temperature value and burst sequence because signal processing unit 11 has prestored, and detect the ambient temperature of radio frequency front-end device in real time, to obtain the burst sequence of ambient temperature correspondence, and then the attenuation of controllable attenuator controlled, realize the temperature-compensating of gain, temperature compensation range is big, has better controlled precision and stability, avoided the temperature-compensating of using traditional thermo-sensitive resistor to gain, provided cost savings.
Fig. 3 shows the concrete structure of signal processing unit among Fig. 2 that one embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
In this embodiment of the invention, signal processing unit 11 further comprises: signal receiving module 11 is used for receiving attenuation amount fine adjustment signal; Judge module 112, be used to judge the attenuation of this attenuation fine adjustment signal correspondence and modulated attenuation and whether exceed default adjustable extent value; Memory module 113, default adjustable extent value is used to prestore; The control module 114 that is connected with controllable attenuator 12, the attenuation that is used for judging these attenuation fine adjustment signal correspondences and modulated attenuation when judge module 112 and do not exceed when presetting the adjustable extent value, the current attenuation of control controllable attenuator 12 changes the attenuation corresponding with this attenuation fine adjustment signal, being failure to actuate when presetting the adjustable extent value with exceeding of the attenuation of judging these attenuation fine adjustment signal correspondences when judge module 112 and modulated attenuation.
Fig. 4 shows the concrete structure of signal processing unit among Fig. 2 that another embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
With shown in Figure 3 different, in this embodiment of the invention, signal processing unit 11 also comprises temp-sensitive sensor 115 and enquiry module 116.At this moment, memory module 113 also be used to the to prestore mapping table of temperature value and burst sequence, wherein, temp-sensitive sensor 115 be used to the to sample ambient temperature of radio frequency front-end device obtains temperature detection value; Enquiry module 116 is used to inquire about the temperature value that memory module 113 prestores and the mapping table of burst sequence, obtains the burst sequence of this temperature detection value correspondence; Control module 114 also is used for the burst sequence that obtains by enquiry module 116, the variation of the current attenuation of control controllable attenuator 12.
Fig. 5 shows a kind of circuit implementation of signal processing unit 11 among Fig. 3 or Fig. 4, and Fig. 6 is a kind of circuit implementation of controllable attenuator among Fig. 3 or Fig. 4.Signal processing unit 11 wherein adopts a singlechip chip U1 to carry out controllable attenuator 12 is controlled, and singlechip chip U1 is specially C8051F31X series; Controllable attenuator 12 wherein is that a stepping amount is 0.25dB, 6 high precision numerical control attenuator U2 of attenuation range 15.75dB, 6 I/O port P10, P11, P12, P13, P14, the corresponding connection of P15 of 6 control port C0.5, the C1 of numerical-control attenuator U2, C2, C4, C8, C16 and singlechip chip U1, singlechip chip U1 is by these 6 I/O port output pulse string sequences, thus the attenuation of control numerical-control attenuator U2.
Certainly, the gain control system of the above-mentioned radio frequency front-end device that the embodiment of the invention provides can also be in conjunction with Auto-Test System (Auto Test Equipment, ATE) realization is to the preceding performance test of dispatching from the factory of radio frequency front-end device, at this moment, signal processing unit 11 specifically is to pass through GPIB, Ethernet, interfaces such as serial ports are connected with vowing the net analyzer, vow the gain detection threshold scope that prestored in the net analyzer, in test process, the gain of radio frequency front-end device can not be satisfied index, when having exceeded the gain detection threshold scope that prestores, vow that the net analyzer sends control commands corresponding to signal processing unit 11, by signal processing unit 11, adopt above-mentioned steps, realize gain-adjusted, thereby realized automatic regulatory function the gain of radio frequency front-end device to radio frequency front-end device.
The gain control method of the radio frequency front-end device that the embodiment of the invention provides is by setting in advance the adjustable extent value of attenuation, and the attenuation of the attenuation fine adjustment signal correspondence of user input and modulated attenuation when not exceeding this default adjustable extent value, the current attenuation of control controllable attenuator changes the attenuation corresponding with this attenuation fine adjustment signal, and do not need to use traditional π type attenuator to realize fine setting to the gain of radio frequency front-end device, thereby avoided changing the rosin joint of causing that resistance causes, leak phenomenons such as weldering or dry joint, do not need welding action repeatedly, improved reliability of products and qualification rate; Have again, the gain control method of the radio frequency front-end device that the embodiment of the invention provides can also be by the mapping table of prestore temperature value and burst sequence, and detect the ambient temperature of radio frequency front-end device in real time, to obtain the burst sequence of ambient temperature correspondence, and then the attenuation of controllable attenuator controlled, realize the temperature-compensating of gain, temperature compensation range is big, has better controlled precision and stability, avoided the temperature-compensating of using traditional thermo-sensitive resistor to gain, provided cost savings; Have, the gain control system of the radio frequency front-end device that the embodiment of the invention is provided combines with ATE, can realize the automatic regulatory function to the gain of radio frequency front-end device again.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is can control relevant hardware by program to finish, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.