Summary of the invention
The embodiment of the present invention provides a kind of antenna tuning circuit, mobile terminal and antenna tuning method, with solve it is mobile eventually
End is when antenna mismatch, the more complicated problem of the process of adjusting.
In a first aspect, the embodiment of the present invention provides a kind of antenna tuning circuit, comprising:
Processor, transceiver, power amplifier, directional coupler, antenna tuner and antenna;
The first end of the processor is connect with the first end of the transceiver, the second end of the transceiver and the function
The first end of rate amplifier connects, and the second end of the power amplifier is connect with the first end of the directional coupler, described
The second end of directional coupler is connect with the first end of the antenna tuner, the second end of the antenna tuner and the day
Line connection, the third end of the antenna tuner connect with the second end of the processor, and the third end of the transceiver and
The third end of the directional coupler connects;
Wherein, the transceiver be used for the power amplifier export input signal, the power amplifier for pair
The input signal amplifies, and exports the amplified signal after the input signal is amplified to the directional coupler;Institute
Directional coupler is stated for coupling to the amplified signal, and coupling is carried out to the amplified signal to transceiver transmission
The positive coupled signal of conjunction;The transceiver is also used to transmit the performance number of the positive coupled signal to the processor;Institute
Processor is stated for calculating the performance number of the positive coupled signal and the difference of predetermined power value, is preset if the difference is greater than
Threshold value then controls the antenna tuner and carries out antenna tuning, wherein the predetermined power value is that the processor is stored in advance
Performance number corresponding with the performance number of the input signal.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including above-mentioned antenna tuning circuit.
The third aspect, the embodiment of the present invention also provide a kind of antenna tuning method, are applied to include above-mentioned antenna tuning electricity
The mobile terminal on road, comprising:
The transceiver for controlling the antenna tuning circuit exports input letter to the power amplifier of the antenna tuning circuit
Number;
Receive the performance number of the positive coupled signal of the transceiver transmission, wherein the forward direction coupled signal is described
The signal that the directional coupler of antenna tuning circuit couples amplified signal, the amplified signal are that the power is put
After big device amplifies the input signal, export to the signal of the directional coupler;
The performance number of the positive coupled signal and the difference of predetermined power value are calculated, if the difference is greater than default threshold
Value then controls antenna tuner and carries out antenna tuning, wherein the predetermined power value is the pre-stored and input signal
The corresponding performance number of performance number.
In this way, a kind of antenna tuning circuit of the embodiment of the present invention, comprising: processor, power amplifier, is determined transceiver
To coupler, antenna tuner and antenna;The first end of the processor is connect with the first end of the transceiver, the transmitting-receiving
The second end of device is connect with the first end of the power amplifier, the second end of the power amplifier and the directional coupler
First end connection, the second end of the directional coupler connect with the first end of the antenna tuner, the antenna tuning
The second end of device is connect with the antenna, and the third end of the antenna tuner is connect with the second end of the processor, and institute
The third end for stating transceiver is connect with the third end of the directional coupler;Wherein, the transceiver to the power for putting
Big device exports input signal, and the power amplifier is for amplifying the input signal, and to the directional coupler
Export the amplified signal after the input signal is amplified;The directional coupler is used to couple the amplified signal,
And the positive coupled signal coupled to the amplified signal is transmitted to the transceiver;The transceiver is also used to described
Processor transmits the performance number of the positive coupled signal;The processor is used to calculate the performance number of the positive coupled signal
It controls the antenna tuner if the difference is greater than preset threshold with the difference of predetermined power value and carries out antenna tuning,
In, the predetermined power value is the pre-stored performance number corresponding with the performance number of the input signal of the processor.This
Sample, in antenna mismatch, it is only necessary to which the power for detecting positive coupled signal just can be carried out antenna tuning, and not have to detect positive coupling
It closes power and reverse coupled power is adjusted again later, keep the process adjusted simpler.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It is a kind of structural schematic diagram of antenna tuning circuit provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, such as Fig. 1 institute
Show, antenna tuning circuit 100 includes:
Processor 1, transceiver 2, power amplifier 3, directional coupler 4, antenna tuner 5 and antenna 6;
The first end of the processor 1 is connect with the first end of the transceiver 2, the second end of the transceiver 2 and institute
State the first end connection of power amplifier 3, the first end company of the second end of the power amplifier 3 and the directional coupler 4
It connecing, the second end of the directional coupler 4 is connect with the first end of the antenna tuner 5, and the second of the antenna tuner 5
End is connect with the antenna 6, and the third end of the antenna tuner 5 is connect with the second end of the processor 1, and the transmitting-receiving
The third end of device 2 is connect with the third end of the directional coupler 4;
Wherein, the transceiver 2 is used to export input signal to the power amplifier 3, and the power amplifier 3 is used for
The input signal is amplified, and exports the amplified signal after the input signal is amplified to the directional coupler 4;
The directional coupler 4 for being coupled to the amplified signal, and to the transceiver 2 transmission to the amplified signal into
The positive coupled signal of row coupling;The transceiver 2 is also used to transmit the power of the positive coupled signal to the processor 1
Value;The processor 1 is used to calculate the performance number of the positive coupled signal and the difference of predetermined power value, if the difference is big
It in preset threshold, then controls the antenna tuner 5 and carries out antenna tuning, wherein the predetermined power value is the processor 1
Pre-stored performance number corresponding with the performance number of the input signal.
In the embodiment of the present invention, the first end and second end of above-mentioned processor 1 is output end.The first of above-mentioned transceiver 2
End and third end are input terminal, and the second end of transceiver 2 is output end.The first end of above-mentioned power amplifier 3 is input terminal, function
The second end of rate amplifier 3 is output end.The first end of above-mentioned directional coupler 4 is input terminal, the second end of directional coupler 4
It is output end with third end.The first end and second end of above-mentioned antenna tuner 5 is input terminal, the third end of antenna tuner 5
For output end.
In the embodiment of the present invention, above-mentioned power amplifier 3 amplifies input signal, and amplification factor here can be
Three times, four times, five times or other multiples etc..There can be one or more coil pair inside above-mentioned directional coupler 4
Amplified signal is coupled, and in general, may exist linear relationship between positive coupled signal and amplified signal.It is above-mentioned pre-
If threshold value, it can be 10 watts, 20 watts, 30 watts or other performance numbers etc..Above-mentioned predetermined power value is that the processor 1 is pre-
The performance number corresponding with the performance number of the input signal first stored is understood that.Such as the performance number when input signal
For 20 watt-hours, predetermined power value is 40 watts;When the performance number of input signal is 30 watt-hours, predetermined power value is 60 watts.Certainly it removes
Except this, it is also possible to which, when input signal is 20 watt-hours and 21 watt-hours, since the gap between them is smaller, predetermined power value can
To be 40 watts of the same numerical value, this mode is also possible.
In the embodiment of the present invention, when circuit works normally, processor 1 receives the positive coupling letter of the transmission of transceiver 2
Number power and pre-set performance number between difference can be less than preset threshold, the aerial network of indication circuit is just at this time
Normal.When antenna mismatch, since the gain of power amplifier 3 and the coefficient of coup of directional coupler 4 hardly become
Change, and obvious variation can occur for the load of power amplifier 3, the gain so as to cause power amplifier 3 changes.
Power amplifier 3 in this way can generate when receiving identical input signal and change bigger output signal, directional coupler 4
It receives and changes after bigger output signal, due to positive coupled signal and the wired sexual intercourse of signal received, orient coupling
Clutch 4 can accordingly generate the bigger positive coupled signal of variation, and send to transceiver 2.Transceiver 2 can will become at this time
Change the power transmission of bigger positive coupled signal to processor 1, leads to the power of the positive coupled signal of the calculating of processor 1
Difference between pre-set performance number can be greater than preset threshold, illustrate antenna mismatch, so that day can be controlled
Line tuner 5 carries out antenna tuning, and aerial network is made to restore normal state.
In the embodiment of the present invention, above-mentioned antenna tuning circuit be can reside in mobile terminal, and mobile terminal can be hand
Machine, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital help
Manage (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device,
) or wearable device (Wearable Device) etc. MID.
A kind of antenna tuning circuit of the embodiment of the present invention, comprising: processor 1, transceiver 2, power amplifier 3, orientation
Coupler 4, antenna tuner 5 and antenna 6;The first end of the processor 1 is connect with the first end of the transceiver 2, described
The second end of transceiver 2 is connect with the first end of the power amplifier 3, the second end of the power amplifier 3 with it is described fixed
It is connected to the first end of coupler 4, the second end of the directional coupler 4 is connect with the first end of the antenna tuner 5, institute
The second end for stating antenna tuner 5 is connect with the antenna 6, and the of the third end of the antenna tuner 5 and the processor 1
The connection of two ends, and the third end of the transceiver 2 is connect with the third end of the directional coupler 4;Wherein, the transceiver 2
For exporting input signal to the power amplifier 3, the power amplifier 3 is used to amplify the input signal,
And the amplified signal after the input signal is amplified is exported to the directional coupler 4;The directional coupler 4 is used for institute
It states amplified signal to be coupled, and transmits the positive coupled signal coupled to the amplified signal to the transceiver 2;Institute
State the performance number that transceiver 2 is also used to transmit the positive coupled signal to the processor 1;The processor 1 is for calculating
It is described forward direction coupled signal performance number and predetermined power value difference, if the difference be greater than preset threshold, control described in
Antenna tuner 5 carries out antenna tuning, wherein the predetermined power value is that the processor 1 is pre-stored with the input
The corresponding performance number of the performance number of signal.In this way as long as the power for detecting positive coupled signal can circuit to antenna mismatch into
Row tuning, without then just can be carried out after the positive coupled power and reverse coupled power in detection antenna tuning circuit
It adjusts, keeps the process adjusted simpler.
Referring to fig. 2, Fig. 2 is the structural schematic diagram of another antenna tuning circuit provided in an embodiment of the present invention, and last
Embodiment is different, increases a switch in the antenna tuning circuit in the present embodiment, can add intelligence to the control of circuit.Such as figure
Shown in 2, antenna tuning circuit 100 includes:
Processor 1, transceiver 2, power amplifier 3, directional coupler 4, antenna tuner 5, antenna 6 and switch 7;
The first end of the processor 1 is connect with the first end of the transceiver 2, the second end of the transceiver 2 and institute
The first end connection of power amplifier 3 is stated, the second end of the power amplifier 3 passes through switch 7 and the directional coupler 4
First end connection, the second end of the directional coupler 4 are connect with the first end of the antenna tuner 5, the antenna tuning
The second end of device 5 is connect with the antenna 6, and the third end of the antenna tuner 5 is connect with the second end of the processor 1,
And the third end of the transceiver 2 is connect with the third end of the directional coupler 4;
Wherein, the transceiver 2 is used to export input signal to the power amplifier 3, and the power amplifier 3 is used for
The input signal is amplified, and exports the amplified signal after the input signal is amplified to the directional coupler 4;
The directional coupler 4 for being coupled to the amplified signal, and to the transceiver 2 transmission to the amplified signal into
The positive coupled signal of row coupling;The transceiver 2 is also used to transmit the power of the positive coupled signal to the processor 1
Value;The processor 1 is used to calculate the performance number of the positive coupled signal and the difference of predetermined power value, if the difference is big
It in preset threshold, then controls the antenna tuner 5 and carries out antenna tuning, wherein the predetermined power value is the processor 1
Pre-stored performance number corresponding with the performance number of the input signal, the switch 7 are used for the closure of control circuit.
In the embodiment of the present invention, other than increasing a switch 7 between power amplifier 3 and directional coupler 4,
Other circuit structures are identical as upper one embodiment.Connection and function to component each in circuit in last embodiment
Detailed explanation is made, has been repeated no more secondary.Increase a switch in circuit, can more intelligently control circuit open
It opens or is closed.
Optionally, the processor 1 is also used to send control instruction to the transceiver 2, and the transceiver 2 is used for basis
The control instruction exports the input signal to the power amplifier 3, and the control instruction is for determining the input letter
Number power.
In present embodiment, processor 1 determines the power of input signal by above-mentioned control instruction.
Optionally, the processor 1 is also used to preset discrete values and record the power of the input signal, and from default
Obtaining in mapping table has the performance number of corresponding relationship with the default discrete values, by the performance number be determined as with it is described defeated
Enter the corresponding performance number of performance number of signal.
In present embodiment, above-mentioned default discrete values can be any one of 1 to 1024 value, be also possible to 1 to
Any one of 2048 values, some values etc. being in addition to this also possible between some pre-set range.In order to very
The good above-mentioned corresponding relationship of understanding, such as: the power for the input signal that default discrete values 20 record is 200 watts, at default pair
Answer obtained in relation table with 20 have corresponding relationship performance number be 400 watts, then 400 watts be determined as be with input signal
200 watts of corresponding performance numbers;Or the power of the input signal of the default record of discrete values 30 is 250 watts, in default corresponding pass
Be obtained in table with 30 have corresponding relationship performance number be 600 watts, then 600 watts be determined as with input signal be 250 watts
Corresponding performance number.It thus can be using the corresponding performance number of input signal power value as reference data, in antenna mismatch
The power power corresponding with input signal power value for measuring positive coupled signal is made comparisons, and judges whether mismatch to be adjusted
It is whole.Theoretically speaking the coefficient of coup parameter of the Insertion Loss of switch 7, directional coupler 4 hardly becomes when antenna mismatch, but
It is that obvious variation can occur for the load of power amplifier 3, the gain so as to cause power amplifier 3 changes, when
When inputting identical input power, amplified signal has bigger variation, so that positive coupled power can also change.
Optionally, the processor 1 is also used to obtain at least two parameter presets of the antenna tuner 5;Make respectively
The antenna tuner 5 is pre-configured with each parameter preset, calculate under conditions of each parameter preset, it is described just
To the performance number of coupled signal and the difference of the predetermined power value;Minimal difference is determined from all differences being calculated,
And determining the corresponding target component of the minimal difference, the target component is a ginseng at least two parameter preset
Number;The antenna tuner 5 is configured using the target component.
In present embodiment, processor 1 can send a signal to antenna tuner 5, then connect in antenna mismatch
Receive at least two parameter presets that antenna tuner 5 is sent;Or it is also possible to antenna tuner 5 and is periodically sent to processor 1
At least two parameter presets enable processor 1 to get the parameter preset of antenna tuner 5.Assuming that there are two parameter presets
10 and 11, under parameter preset 10, the performance number of positive coupled signal and the difference of predetermined power value are 40 watts;In parameter preset
Under 11, the performance number of positive coupled signal and the difference of predetermined power value are 60 watts;40 watts less than 60 watts, then parameter preset 10
Just it is target component, antenna tuner 5 is configured using target component 10.Certainly also available antenna tuner here
Then all parameter presets in 5 determine that target component, this mode are also possible in all parameter presets.
Optionally, the processor 1 is used to periodically calculate the performance number and predetermined power value of the positive coupled signal
Difference.
In present embodiment, processor 1 periodically calculates the performance number of the positive coupled signal and the difference of predetermined power value
Value, so that it may which timing detects the situation of antenna match, is able to carry out adjust automatically in antenna mismatch, makes mobile terminal more intelligence
Energy.
The embodiment of the present invention increases a switch, for controlling electricity between power amplifier 3 and directional coupler 4
The closure on road enables the control of circuit to add intelligence.And the circuit can lose antenna as long as the power for detecting positive coupled signal
The circuit matched is tuned, without right after the positive coupled power and reverse coupled power in detection antenna tuning circuit
It just can be adjusted afterwards, keep the process adjusted simpler.
The embodiment of the present invention also provides a kind of mobile terminal, which includes any one implementation in the embodiment of the present invention
The antenna tuning circuit of mode.
It is a kind of flow chart of antenna tuning method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, is applied to include upper
The mobile terminal of antenna tuning circuit is stated, as shown in Figure 3, comprising the following steps:
Step 301, the power amplifier of the transceiver to the antenna tuning circuit that control the antenna tuning circuit are defeated
Input signal out.
Step 302, the performance number for receiving the positive coupled signal that the transceiver transmits, wherein the positive coupling letter
Number for the antenna tuning circuit directional coupler signal that amplified signal is coupled, the amplified signal is institute
It states after power amplifier amplifies the input signal, exports to the signal of the directional coupler.
The difference of step 303, the performance number for calculating the positive coupled signal and predetermined power value, if the difference is greater than
Preset threshold, then control antenna tuner carry out antenna tuning, wherein the predetermined power value be it is pre-stored with it is described defeated
Enter the corresponding performance number of performance number of signal.
In the embodiment of the present invention, input signal is exported to power amplifier, input signal is amplified by power amplifier,
Amplified signal is obtained, directional coupler couples amplified signal, obtains positive coupled signal, and processor can pass through meter
Calculate positive coupled signal power and predetermined power difference come judge antenna whether mismatch, can control day in antenna mismatch
Line tuner carries out antenna tuning.
Optionally, power amplifier of the transceiver of the control antenna tuning circuit to the antenna tuning circuit
The step of exporting input signal, comprising:
Control instruction is sent to the transceiver, to control the transceiver of the antenna tuning circuit to the antenna tuning
The power amplifier of circuit exports input signal, and the control instruction is used to determine the power of the input signal.
Optionally, the predetermined power value is the power for having corresponding relationship in default mapping table with default discrete values
Value, the default discrete values indicate the power of the input signal.
Optionally, the control antenna tuner carries out the step of antenna tuning, comprising:
Obtain at least two parameter presets of the antenna tuner;
The antenna tuner is pre-configured using each parameter preset respectively, is calculated in each parameter preset
Under the conditions of, the performance number of the forward direction coupled signal and the difference of the predetermined power value;
Minimal difference is determined from all differences being calculated, and determines the corresponding target component of the minimal difference,
The target component is a parameter at least two parameter preset;
The antenna tuner is configured using the target component.
Optionally, the step of difference of the performance number for calculating the positive coupled signal and predetermined power value, comprising:
Timing calculates the performance number of the positive coupled signal and the difference of predetermined power value.
It should be noted that this method can be applied to include above-mentioned antenna tuning circuit mobile terminal, it is specific
Implementation process, which can be, to be realized using the antenna tuning circuit provided in above-described embodiment, is not repeated herein.
The embodiment of the present invention, control transceiver export input signal to power amplifier;Receive the transceiver transmission just
To the performance number of coupled signal;The performance number of the positive coupled signal and the difference of predetermined power value are calculated, if the difference
Greater than preset threshold, then controls antenna tuner and carry out antenna tuning, wherein the predetermined power value is pre-stored and institute
State the corresponding performance number of performance number of input signal.In this way, it is only necessary to which the power for detecting positive coupled signal just can be carried out antenna
Tuning keeps the process adjusted simpler.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.