CN107612635B - A kind of calibration method, mobile terminal and computer readable storage medium - Google Patents
A kind of calibration method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN107612635B CN107612635B CN201710700814.XA CN201710700814A CN107612635B CN 107612635 B CN107612635 B CN 107612635B CN 201710700814 A CN201710700814 A CN 201710700814A CN 107612635 B CN107612635 B CN 107612635B
- Authority
- CN
- China
- Prior art keywords
- capacitance
- transceiver
- radio frequency
- calibration
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Transceivers (AREA)
Abstract
The present invention provides a kind of calibration method, mobile terminal and computer readable storage mediums, are related to technical field of mobile terminals.Wherein, this method includes:When radio frequency path communication is normal, control WiFi accesses input the first radiofrequency signal to the RF transceiver of radio frequency path;Receive the first correction signal sent out according to the local oscillation signal of the first radiofrequency signal and RF transceiver by RF transceiver;According to the first correction signal and initial capacitance, reference capacitance is determined;When radio frequency path communication is abnormal, control WiFi accesses input the second radiofrequency signal to RF transceiver;Receive the second correction signal sent out according to the local oscillation signal of the second radiofrequency signal and RF transceiver by RF transceiver;According to the second correction signal and reference capacitance, calibration capacitance is determined;It controls RF transceiver and crystal calibration is carried out according to calibration capacitance.So as to solve the problem of the radio frequency path of mobile terminal, there are frequency shift (FS)s, and mobile terminal to be caused to can not work normally.
Description
Technical field
The present invention relates to technical field of mobile terminals, can more particularly to a kind of calibration method, mobile terminal and computer
Read storage medium.
Background technology
The crystal of each radio-frequency devices belongs to Sensitive Apparatus in mobile terminal, easily by factors such as temperature, mechanical stresses
It influences, to which each radio-frequency devices based on identical crystal design can be caused to generate the clock signal of different frequency, mobile terminal
In each radio-frequency devices will be unable to work asynchronously, and then entire mobile terminal will be unable to work normally.Therefore, in order to eliminate crystalline substance
Influence of the body sensitivity to mobile terminal, it will usually crystal calibration is carried out by comprehensive tester before mobile terminal manufacture, to
The clock signal of each radio-frequency devices and the clock signal of base station is set in mobile terminal to keep unified frequency, mobile terminal then can be with
Normal work, and it is supplied to user's normal use.
However, user using mobile terminal for a period of time after, including crystal in the radio frequency path of radio-frequency devices due to
It is influenced by extraneous factor, the clock signal of radio frequency path can be made to carry out continuing occurrence frequency on the basis of crystal calibration before manufacture
Offset, penetrates access, and then make to make the obtained parameter of manufacture advance row crystal calibration not be suitable for the frequency after shifting
Mobile terminal can not cause mobile terminal can not work normally with the clock signal synchronization of base station.
Invention content
A kind of calibration method of present invention offer, mobile terminal and computer readable storage medium, to solve in mobile terminal
The problem of clock signal of portion's radio frequency path shifts, can not work normally.
According to the present invention in a first aspect, provide a kind of calibration method, be applied to mobile terminal, this method includes:
When radio frequency path communication is normal, control WiFi accesses are penetrated to the RF transceiver of radio frequency path input first
Frequency signal;
It receives by the RF transceiver according to the local oscillation signal institute of first radiofrequency signal and the RF transceiver
The first correction signal sent out;
According to first correction signal and initial capacitance, reference capacitance is determined;
When radio frequency path communication is abnormal, controls the WiFi accesses and penetrated to RF transceiver input second
Frequency signal;
It receives by the RF transceiver according to the local oscillation signal institute of second radiofrequency signal and the RF transceiver
The second correction signal sent out;
According to second correction signal and the reference capacitance, calibration capacitance is determined;
It controls the RF transceiver and crystal calibration is carried out according to the calibration capacitance.
Second aspect according to the present invention provides a kind of mobile terminal, including processor, radio frequency path and WiFi lead to
Road, the processor are separately connected the radio frequency path and the WiFi accesses, and the radio frequency path includes RF transceiver,
It is characterized in that, the RF transceiver of the radio frequency path is connect with the WiFi accesses, and the processor includes:
First control module, for when radio frequency path communication is normal, controlling the WiFi accesses to the radio frequency
The RF transceiver of access inputs the first radiofrequency signal;
First receiving module is received by the RF transceiver according to first radiofrequency signal and the radio frequency for receiving
The first correction signal that the local oscillation signal of hair device is sent out;
First determining module, for according to first correction signal and initial capacitance, determining reference capacitance;
Second control module, for when radio frequency path communication is abnormal, controlling the WiFi accesses and being penetrated to described
Frequency transceiver inputs the second radiofrequency signal;
Second receiving module is received by the RF transceiver according to second radiofrequency signal and the radio frequency for receiving
The second correction signal that the local oscillation signal of hair device is sent out;
Second determining module, for according to second correction signal and the reference capacitance, determining calibration capacitance;
Calibration module carries out crystal calibration for controlling the RF transceiver according to the calibration capacitance.
The third aspect according to the present invention provides a kind of mobile terminal, the mobile terminal include processor, memory and
It is stored in the computer program that can be run on the memory and on the processor, the computer program is by the processing
The step of device realizes calibration method of the present invention when executing.
Fourth aspect according to the present invention provides a kind of computer readable storage medium, the computer-readable storage medium
The step of storing computer program in matter, calibration method of the present invention realized when computer program is executed by processor.
In this way, in embodiments of the present invention, the processor of mobile terminal can be controlled when radio frequency path communication is normal
First radiofrequency signal is input to RF transceiver by WiFi accesses, and then RF transceiver can send out the first correction to processor
Signal, and then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for logical to radio frequency
Road carries out the capacitance of crystal calibration;Preprocessor when radio frequency path communication is abnormal, WiFi accesses can be controlled by the
Two radiofrequency signals are input to RF transceiver, and then RF transceiver can send out the second correction signal to processor, and then locate
Reason device determines calibration capacitance according to the second correction signal and reference capacitance, and controls RF transceiver and carry out crystalline substance according to calibration capacitance
Sports school is accurate.Then the embodiment of the present invention is communicated not by determining reference capacitance when radio frequency path communicates normal in radio frequency path
Calibration capacitance is determined according to reference capacitance when normal, radio frequency path can be controlled later and be based on calibration capacitance progress crystal calibration,
To which clock signal caused by the radio frequency path Jing Guo crystal calibration will be not present frequency shift (FS), and then the radio frequency of mobile terminal
Access can restore normal communication.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows a kind of hardware architecture diagram of calibration circuit of the embodiment of the present invention;
Fig. 2 shows the hardware architecture diagrams of another calibration circuit of the embodiment of the present invention;
Fig. 3 shows the block diagram of the clock signal module inside a kind of RF transceiver of the embodiment of the present invention;
Fig. 4 shows a kind of flow chart of calibration method in the embodiment of the present invention one;
Fig. 5 shows a kind of flow chart of calibration method in the embodiment of the present invention two;
Fig. 6 shows a kind of structure diagram of mobile terminal according to embodiments of the present invention three;
Fig. 7 shows a kind of structure diagram of mobile terminal according to embodiments of the present invention four;
Fig. 8 shows a kind of structure diagram of mobile terminal according to embodiments of the present invention five;
Fig. 9 shows a kind of structure diagram of mobile terminal according to embodiments of the present invention six.
Specific implementation mode
Exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to be best understood from the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
Before carrying out detailed explanation to the embodiment of the present invention, first to the calibration electricity involved by the embodiment of the present invention
The hardware configuration on road is introduced, referring to FIG. 1, Fig. 1 shows a kind of hardware architecture diagram of calibration circuit, calibration electricity
In road mainly include but not limited to processor 100, radio frequency path 200 and WiFi accesses 300, wherein processor 100 respectively with penetrate
Frequency access 200 and WiFi accesses 300 connect, to be managed to radio frequency path 200 and WiFi accesses 300.
Radio frequency path 200 includes but not limited to mainly modem 210, RF transceiver 220, main RF radio frequency front end
230 and antenna 240, and modem 210, RF transceiver 220, main RF radio frequency front end 230 and antenna 240 can be successively
Connection.In addition, processor 100 is connect with modem 210, to which radio frequency path 200 can be penetrated what antenna 240 received
Frequency signal transmission to processor 100 is handled, and the radiofrequency signal being disposed can also be passed through radio frequency path by processor 100
200 transmitting of antenna 240 is to base station etc..Secondly, exist between the RF transceiver 220 and processor 100 of radio frequency path 200 anti-
Feedthrough road, to which radio frequency path 200 can be by the feedback network to 100 feedback signal of processor, processor 100 can also lead to
It crosses the feedback network and directly sends notice etc. to RF transceiver 220.
WiFi accesses 300 include but not limited to mainly WiFi module 310, WiFi radio-frequency front-ends 320, coupler 330 and day
Line 340, and WiFi module 310, WiFi radio-frequency front-ends 320, coupler 330 and antenna 340 can be sequentially connected, in addition, processing
Device 100 is connect with WiFi module 310, to which the radio signal transmission that WiFi accesses 300 can receive antenna 340 is extremely handled
Device 100 is handled, and processor 100 can also be emitted the radiofrequency signal being disposed by the antenna 340 of WiFi accesses 300
To equipment such as routers.Furthermore coupler 330 can also directly be connect with WiFi module 310, to which coupler 330 can be to
WiFi module 310 carries out Feedback of Power.
In addition, as shown in Figure 1, the RF transceiver 220 of radio frequency path 200 can be with the WiFi module of WiFi accesses 300
310 connections, to which signal transmission can be carried out between WiFi accesses 300 and radio frequency path 200.
Fig. 2 shows the hardware architecture diagrams of another calibration circuit, unlike calibration circuit shown in FIG. 1,
In calibration circuit shown in Fig. 2, the RF transceiver 220 of radio frequency path 200 can be with the coupler 330 of WiFi accesses 300
Connection, to which signal transmission can be carried out between WiFi accesses 300 and radio frequency path 200.
Fig. 3 shows the clock signal module inside a kind of RF transceiver 220, wherein the clock signal module is main
Include but not limited to be sequentially connected VC-TCXO (Voltage-Controlled Temperature-Controlled Crystal
Oscillator, voltage-controlled compensation crystal oscillator) circuit 221, PLL (Phase Locking Loop, phaselocked loop) circuit 222,
Frequency divider 223, frequency mixer 224, filter 225, amplifier 226.The clock signal module further includes being connect with frequency mixer 224
Low-noise amplifier 227, wherein low-noise amplifier 227 can be input to receiving modem, main RF radio frequency front end etc.
The signal of RF transceiver input terminal, an and signal is exported after low noise amplification is handled, to which frequency mixer 224 can will be low
The signal that the signal and frequency divider 223 that noise amplifier 227 exports export is mixed, and passes through filter 225 and amplifier
226 export a series of signal after processing to modem 210 by video transceiver output end, and then are transmitted to processor
100 are handled.
As shown in figure 3, VC-TCXO circuits 221 include the crystal 2211 and definite value capacitance for generating clock signal
2212, the tunable capacitor 2213 of multiple parallel connections and the first VCO (Voltage-Controlled Oscillator, voltage controlled oscillation
Device) 2214.PLL circuit 222 includes PFD2221 (Phase Frequency Detector, phase frequency detector), CP2222
(Charge Pump, charge pump), filter 2223, the 2nd VCO2224, MMD2225 (Multi-Modulus Divider, it is more
Mould frequency divider) and SDM2226 (Sigma-Delta Modulation, Sigma-Delta modulator).In VC-TCXO circuits 221
Crystal 2211 by oscillation, via PLL circuit 222, frequency divider 223, frequency mixer 224, filter 225, amplifier 226, most
The clock signal of output radio frequency path 200 eventually.
The application scenarios of the embodiment of the present invention are introduced below.Before mobile terminal manufacture, developer is usual
Crystal calibration can be carried out to all radio-frequency devices in mobile terminal, including radio frequency path and WiFi accesses, calibration process is main
It is to simulate the signal that the base station in practical application is sent out using comprehensive tester to be calibrated, wherein carried out to radio frequency path brilliant
The process of sports school's standard is:
(1) comprehensive tester emits test signal, the clock signal frequency phase of the test signal and base station to mobile terminal
Together, which is received by the antenna of radio frequency path by mobile terminal, and passes through main RF radio frequency front end delivery to radio frequency
Then transceiver is transmitted to frequency mixer by low-noise amplifier;
(2) crystal in the VC-TCXO circuits inside RF transceiver generates clock signal, passes through PLL circuit and frequency dividing
Device is also transmitted to frequency mixer;
(3) after frequency mixer receives test signal and clock signal, the two signals are mixed, and by mixed frequency signal
It is transmitted to processor by filter, amplifier and modem;
(4) processor determines the capacitance C of the tunable capacitor in VC-TCXO circuits according to the mixed frequency signal0, and according to true
Fixed capacitance controls VC-TCXO circuits, namely control radio frequency path by the backfeed loop of processor and VC-TCXO circuits
Carry out crystal calibration.
So far, by above-mentioned steps (1)-(4), the crystal calibration before dispatching from the factory to radio frequency path is completed, it is mobile later whole
End can carry out frequency modulation based on the capacitance parameter after calibration to the signal that crystal oscillation generates, and then generate the clock of radio frequency path
Signal, which will keep with the clock signal of base station with frequency, to which mobile terminal can carry out normal communication.
However, after carrying out crystal calibration to radio frequency path before manufacture, during user uses mobile terminal, crystal
Due to being influenced by factors such as temperature, mechanical stresses, the capacitance of set tunable capacitor can not be suitable for this before dispatching from the factory
When crystal, the clock frequency that oscillation generates will continue to shift, to gradually generate frequency deviation, and then can not be with base station when
Clock signal is kept with frequency.And requirement higher of the radio frequency path in mobile terminal to clock signal frequency, general frequency error are wanted
It asks less than 0.1ppm (parts per million, million/), but the WiFi accesses in mobile terminal are to clock signal frequency
The requirement of rate is then relatively lower, and general frequency error requires to be less than 20ppm, and therefore, an embodiment of the present invention provides a kind of crystalline substances
Body calibration method can carry out crystal school by communicating the capacitance of normal WiFi accesses to communicating abnormal radio frequency path
Standard causes mobile terminal can not work normally to solve the problem of that the clock signal of radio frequency path shifts.
Embodiment one
With reference to Fig. 4, shows the flow chart of the calibration method of the embodiment of the present invention one, can specifically include following steps:
Step 101, when radio frequency path communication is normal, the RF transceiver for controlling WiFi accesses to the radio frequency path is defeated
Enter the first radiofrequency signal.
In embodiments of the present invention, during being used by a user after mobile terminal manufacture, the processor of mobile terminal
The first output order can be sent to WiFi accesses, when detecting that radio frequency path communication is normal to which WiFi accesses are receiving
When to first output order, can by the first radiofrequency signal, namely the radiofrequency signal that normally exports of current WiFi accesses or
A part for the radiofrequency signal is input to the RF transceiver of radio frequency path.
Step 102, it receives by the RF transceiver according to the sheet of first radiofrequency signal and the RF transceiver
The first correction signal that the signal that shakes is sent out.
It in embodiments of the present invention, can be by the first radiofrequency signal after RF transceiver receives the first radiofrequency signal
With the local oscillation signal of RF transceiver, the processing such as it is mixed, is filtered and is amplified, the first correction signal is obtained, then by
One correction signal is transmitted to processor, to which processor can receive the first correction signal that RF transceiver is sent out.Its
In, the local oscillation signal of RF transceiver is clock signal caused by the crystal oscillation in RF transceiver.In addition, Frequency mixing processing
Can be using the frequency-splitting of the first radiofrequency signal and local oscillation signal as the processing of the first correction signal of rate-adaptive pacemaker.
Step 103, according to first correction signal and initial capacitance, reference capacitance is determined.
In embodiments of the present invention, the frequency of the first correction signal can be determined when processor receives the first correction signal
Rate, and according to the frequency and initial capacitance of the first correction signal, by the backfeed loop between processor and RF transceiver, by
The tunable capacitor in RF transceiver is adjusted in step, final to determine the reference capacitance for making that the frequency of the first correction signal is 0.
Wherein, initial capacitance is the capacitance of tunable capacitor for by developer obtain after crystal calibration before mobile terminal manufacture,
And it stores and that is to say that initial capacitance is capacitance when the preceding RF transceiver of manufacture works normally in the processor.
Step 104, when radio frequency path communication is abnormal, it is defeated to the RF transceiver that the WiFi accesses are controlled
Enter the second radiofrequency signal.
In embodiments of the present invention, when radio frequency path communication is abnormal, processor can send second to WiFi accesses
Output order can be by the second radiofrequency signal namely current WiFi to which WiFi accesses are when receiving second output order
A part for radiofrequency signal or the radiofrequency signal that access normally exports is input to the RF transceiver of radio frequency path.
Step 105, it receives by the RF transceiver according to the sheet of second radiofrequency signal and the RF transceiver
The second correction signal that the signal that shakes is sent out.
In embodiments of the present invention, the realization process of this step is received with processor in step 102 by the radio-frequency receiving-transmitting
The process phase for the first correction signal that device is sent out according to the local oscillation signal of first radiofrequency signal and the RF transceiver
Together, this will not be detailed here.
Step 106, according to second correction signal and the reference capacitance, calibration capacitance is determined.
In embodiments of the present invention, the frequency of the second correction signal can be determined when processor receives the second correction signal
Rate, and according to the reference capacitance determined in the frequency and step 103 of the second correction signal, by processor and RF transceiver it
Between backfeed loop, gradually the tunable capacitor in RF transceiver is adjusted, it is final to determine the frequency for making the second correction signal
The calibration capacitance that rate is 0.
Step 107, it controls the RF transceiver and crystal calibration is carried out according to the calibration capacitance.
In embodiments of the present invention, after processor determines calibration capacitance, by between processor and RF transceiver
Backfeed loop notifies RF transceiver, so that RF transceiver sets internal tunable capacitor to calibration capacitance, to realize
To the crystal calibration of radio frequency path.After calibration, radio frequency path can be communicated under the action of calibration capacitance, to extensive
Multiple normal operating conditions.
In embodiments of the present invention, it is logical can to control WiFi when radio frequency path communication is normal for the processor of mobile terminal
First radiofrequency signal is input to RF transceiver by road, and then RF transceiver can send out the first correction signal to processor,
And then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for being carried out to radio frequency path
The capacitance of crystal calibration;Preprocessor radio frequency path communication it is abnormal when, WiFi accesses can be controlled by the second radio frequency
Signal is input to RF transceiver, and then RF transceiver can send out the second correction signal, and then processor root to processor
Calibration capacitance is determined according to the second correction signal and reference capacitance, and controls RF transceiver and crystal school is carried out according to calibration capacitance
It is accurate.Then the embodiment of the present invention is communicated abnormal by determining reference capacitance when radio frequency path communicates normal in radio frequency path
When calibration capacitance determined according to reference capacitance, radio frequency path can be controlled later be based on calibration capacitance and carry out crystal calibration, to
Clock signal caused by radio frequency path by crystal calibration will be not present frequency shift (FS), and then the radio frequency path of mobile terminal
It can restore normal communication.
Embodiment two
With reference to Fig. 5, shows the flow chart of the calibration method of the embodiment of the present invention two, can specifically include following steps:
Step 201, processor sends the first output order when radio frequency path communication is normal to WiFi accesses.
It should be noted that method for calibrating crystal provided in an embodiment of the present invention is needed in the normal feelings of WiFi pass communications
It is executed under condition, that is to say that the embodiment of the present invention is to be carried out by communicating normal WiFi accesses to communicating abnormal radio frequency path
Crystal calibration.
In addition, the processor can be the central processing unit (Central Processing Unit, CPU) of mobile terminal,
Certainly, in practical applications, which may be at the son in mobile terminal for managing radio frequency path and WiFi accesses
Device is managed, the embodiment of the present invention is not construed as limiting this.
Step 202, after WiFi accesses receive the first output order, the first radiofrequency signal is input to penetrating for radio frequency path
Frequency transceiver.
In embodiments of the present invention, WiFi accesses, can be defeated by the first radiofrequency signal after receiving the first output order
Enter to the RF transceiver of radio frequency path.Wherein, the first radiofrequency signal is input to the radio-frequency receiving-transmitting of radio frequency path by WiFi accesses
The realization method of device can be following two kinds of input modes, including:
The first input mode:WiFi module in WiFi accesses closes normal communication path, and passes through WiFi module
Calibration access between the RF transceiver of radio frequency path, by the first radiofrequency signal, namely what should be exported when normal work penetrate
Frequency signal is input to RF transceiver.
For the first above-mentioned input mode, it is directed to the hardware architecture diagram of calibration circuit shown in figure 1,
I.e. the RF transceiver of radio frequency path is connected with the WiFi module of WiFi accesses, to constitute WiFi module and RF transceiver
Between calibration access.
In addition, the calibration access can be turned on or off by the calibration switch being set on calibration access namely the school
Quasi- switch ends can be separately connected the WiFi module of the RF transceiver and WiFi accesses of radio frequency path, to which processor can be with
Calibration switch closure is controlled, and then calibration access is connected;Certainly, in practical applications, can also be set in RF transceiver
One first calibration switch is set, while one second calibration switch, 2201 He of calibration switch as shown in Figure 1 are set in WiFi module
3101, wherein RF transceiver can be cut by the first calibration switch between normal communication path and calibration access
It changes, WiFi module can be switched over by the second calibration switch between normal communication path and calibration access, to locate
Reason device can control the first calibration switch and the second calibration switch while switch to calibration access, and then calibration access is connected.This
Outside, after the first radiofrequency signal is input to RF transceiver by the WiFi module of WiFi accesses, processor can also control calibration
Switch disconnects or switches to normal communication path, to disconnect calibration access, meanwhile, WiFi module can also switch back into normally
Communication path.
Second of input mode:The radio frequency that the WiFi module of WiFi accesses passes through normal communication path output normal work
Signal, and then coupler, the RF transceiver that coupler passes through coupler and radio frequency path are input to by WiFi radio-frequency front-ends
Between calibration access, by the radiofrequency signal of the first radiofrequency signal namely a part of power of the radiofrequency signal be input to radio frequency receive
Send out device.
For above-mentioned second of input mode, it is directed to the hardware architecture diagram of calibration circuit illustrated in fig. 2,
I.e. the RF transceiver of radio frequency path is connected with the coupler of WiFi accesses, to constitute between coupler and RF transceiver
Calibration access.
In addition, similar with calibration circuit shown in figure 1, which can also be by being set on calibration access
Calibration switch is turned on or off, unlike, the calibration switch both ends can be separately connected radio frequency path RF transceiver and
To which processor can control calibration switch closure, and then calibration access is connected in the coupler of WiFi accesses;Certainly, in reality
In the application of border, a calibration switch, calibration switch 2201 as shown in Figure 2, wherein radio frequency can also be set in RF transceiver
Transceiver can be switched over by the calibration switch between normal communication path and calibration access, to which processor can be with
It controls the calibration switch and switches to calibration access, and then calibration access is connected.In addition, the coupler of WiFi accesses is by the first radio frequency
Signal is input to after RF transceiver, and processor can also control calibration switch and disconnect or switch to normal communication path,
To disconnect calibration access.
It should be noted that coupler can convert the radiofrequency signal of WiFi accesses in multiple power signals, radio frequency letter
Number power be multiple power signal power summation, therefore, in above-mentioned second of input mode, the first radiofrequency signal
Power is only the part that WiFi module sends out the power of radiofrequency signal, but the first radiofrequency signal is penetrated with what WiFi module was sent out
The frequency of frequency signal is still identical, therefore, crystal calibration is carried out by the power signal that coupler separates, will not be to clock
The frequency of signal impacts.
In addition, the letter when frequency of the first radiofrequency signal can be the WiFi access normal communications such as 2.4GHz (Gigahertz)
Number frequency.
Step 203, RF transceiver sends out the first correction according to the local oscillation signal of the first radiofrequency signal and RF transceiver
Signal is to processor.
In embodiments of the present invention, the first radiofrequency signal is input to the low-noise amplifier of RF transceiver, and then inputs
To frequency mixer, meanwhile, the crystal oscillation in VC-TCXO circuits generates local oscillation signal, and is also inputted by PLL circuit and frequency divider
To frequency mixer, the first radiofrequency signal and local oscillation signal are carried out Frequency mixing processing by frequency mixer, and are converted by filter and amplifier
It is transmitted to modem for the first correction signal, and then is transmitted to processor.
Step 204, after processor receives the first correction signal, according to the first correction signal and initial capacitance, ginseng is determined
Examine capacitance.
In embodiments of the present invention, after processor receives the first correction signal, it can be determined and be referred to by following manner
Capacitance, including:Determine the corresponding capacitance C of the first correction signal1;By the corresponding capacitance C of the first correction signal1With initial capacitance C0
Between difference (C1-C0) it is determined as reference capacitance Δ C.
It should be noted that step 201 to step 204 can be only performed once, that is to say can mobile terminal will
It is executed once before manufacture, or user is primary using being executed during mobile terminal after manufacture, certainly, step 201 to step
Rapid 204 can also execute repeatedly, that is to say that user periodically executes using during mobile terminal after manufacture.
Wherein, the periodical implementation procedure of step 201 to step 204 can be:Processor executes control according to the setting period
The step of WiFi accesses processed input the first radiofrequency signal to the RF transceiver of radio frequency path, namely send first to WiFi accesses
The step of output order, to determine multiple idle capacities according to the setting period;Processor will determine the time in multiple idle capacities
Nearest capacitance is determined as reference capacitance with current time.The above-mentioned process periodically executed that is to say will walk according to the setting period
Rapid 201 execute repeatedly to step 204, then determine multiple idle capacities by step 204, and the last time are determined spare
Capacitance is determined as reference capacitance.It is determined as reference capacitance by the idle capacity for determining the last time, to work as radio frequency path
When communicating abnormal, crystal calibration can be carried out by newest capacitance data, and then improve the accuracy of crystal calibration.
Step 205, when radio frequency path communication is abnormal, processor sends the second output order to WiFi accesses.
In embodiments of the present invention, when radio frequency path communication is abnormal, processor can send second to WiFi accesses
Output order.Wherein, processor sent to WiFi accesses in realization method and the step 201 of the second output order processor to
The realization method that WiFi accesses send the first output order is identical, and details are not described herein.
Step 206, after WiFi accesses receive the second output order, the second radiofrequency signal is input to RF transceiver.
In embodiments of the present invention, the realization process of this step receives the first output with WiFi accesses in step 202 and refers to
After order, the realization process that the first radiofrequency signal is input to the RF transceiver of radio frequency path is identical, and details are not described herein.
In addition, the second radiofrequency signal is due to identical as the property of the first radiofrequency signal, the frequency of the second radiofrequency signal
Or the signal frequency when WiFi access normal communications such as 2.4GHz.
Step 207, RF transceiver sends out the second correction according to the local oscillation signal of the second radiofrequency signal and RF transceiver
Signal is to processor.
In embodiments of the present invention, the realization process of this step is believed with RF transceiver in step 203 according to the first radio frequency
Number send out that the first correction signal is identical to the realization process of processor, and details are not described herein with the local oscillation signal of RF transceiver.
Step 208, after processor receives the second correction signal, according to the second correction signal and reference capacitance, school is determined
Pseudo-capacitance.
In embodiments of the present invention, after processor receives the second correction signal, it can be determined and be calibrated by following manner
Capacitance, including:Processor determines the corresponding capacitance C of the second correction signal2;Processor is by the corresponding capacitance C of the second correction signal2
With the difference (C between reference capacitance Δ C2Δ C) it is determined as calibration capacitance.
Wherein, the corresponding capacitance C of the second correction signal2For the generation clock signal institute of the WiFi accesses of normal communication at this time
The capacitance needed, reference capacitance Δ C is the correction term of the corresponding capacitance of the second correction signal, due to radio frequency path and WiFi accesses pair
The requirement of clock signal frequency is different, and therefore, directly carrying out crystal calibration to radio frequency path by the capacitance of WiFi accesses can
Can or can not when radio frequency path restore normal, so, the embodiment of the present invention passes through the capacitance in WiFi access normal communications
On the basis of introduce reference capacitance be used as correction term, and then determine calibration capacitance, so as to adjust tunable capacitor capacitance be school
When pseudo-capacitance, radio frequency path can be made to restore normal communication.
Step 209, processor control RF transceiver carries out crystal calibration according to calibration capacitance.
In embodiments of the present invention, after processor determines calibration capacitance, can by processor and RF transceiver it
Between feedback network to RF transceiver feedback calibration capacitance, and then RF transceiver can carry out crystal school according to calibration capacitance
Standard, after crystal calibration, frequency shift (FS) is not present in the clock signal of radio frequency path, therefore the clock signal again with base station is same
Frequently, to which radio frequency path can restore normal communication.
In embodiments of the present invention, it is logical can to control WiFi when radio frequency path communication is normal for the processor of mobile terminal
First radiofrequency signal is input to RF transceiver by road, and then RF transceiver can send out the first correction signal to processor,
And then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for being carried out to radio frequency path
The capacitance of crystal calibration;Preprocessor radio frequency path communication it is abnormal when, WiFi accesses can be controlled by the second radio frequency
Signal is input to RF transceiver, and then RF transceiver can send out the second correction signal, and then processor root to processor
Calibration capacitance is determined according to the second correction signal and reference capacitance, and controls RF transceiver and crystal school is carried out according to calibration capacitance
It is accurate.Then the embodiment of the present invention is communicated abnormal by determining reference capacitance when radio frequency path communicates normal in radio frequency path
When calibration capacitance determined according to reference capacitance, radio frequency path can be controlled later be based on calibration capacitance and carry out crystal calibration, to
Clock signal caused by radio frequency path by crystal calibration will be not present frequency shift (FS), and then the radio frequency path of mobile terminal
It can restore normal communication.
Embodiment three
With reference to Fig. 6, shows a kind of structure diagram of mobile terminal 300 of the embodiment of the present invention three, can specifically include:
First control module 301, for when radio frequency path communication is normal, control WiFi accesses to be logical to the radio frequency
The RF transceiver on road inputs the first radiofrequency signal;
First receiving module 302, for receiving by the RF transceiver according to first radiofrequency signal and described penetrating
The first correction signal that the local oscillation signal of frequency transceiver is sent out;
First determining module 303, for according to first correction signal and initial capacitance, determining reference capacitance;
Second control module 304, for when radio frequency path communication is abnormal, controlling the WiFi accesses to described
RF transceiver inputs the second radiofrequency signal;
Second receiving module 305, for receiving by the RF transceiver according to second radiofrequency signal and described penetrating
The second correction signal that the local oscillation signal of frequency transceiver is sent out;
Second determining module 306, for according to second correction signal and the reference capacitance, determining calibration capacitance;
Calibration module 307 carries out crystal school Huaihe River for controlling the RF transceiver according to the calibration capacitance.
In embodiments of the present invention, it is logical can to control WiFi when radio frequency path communication is normal for the processor of mobile terminal
First radiofrequency signal is input to RF transceiver by road, and then RF transceiver can send out the first correction signal to processor,
And then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for being carried out to radio frequency path
The capacitance of crystal calibration;Preprocessor radio frequency path communication it is abnormal when, WiFi accesses can be controlled by the second radio frequency
Signal is input to RF transceiver, and then RF transceiver can send out the second correction signal, and then processor root to processor
Calibration capacitance is determined according to the second correction signal and reference capacitance, and controls RF transceiver and crystal school is carried out according to calibration capacitance
It is accurate.Then the embodiment of the present invention is communicated abnormal by determining reference capacitance when radio frequency path communicates normal in radio frequency path
When calibration capacitance determined according to reference capacitance, radio frequency path can be controlled later be based on calibration capacitance and carry out crystal calibration, to
Clock signal caused by radio frequency path by crystal calibration will be not present frequency shift (FS), and then the radio frequency path of mobile terminal
It can restore normal communication.
Example IV
With reference to Fig. 7, shows a kind of structure diagram of mobile terminal 400 of the embodiment of the present invention four, can specifically include:
First control module 401, for when radio frequency path communication is normal, control WiFi accesses to be logical to the radio frequency
The RF transceiver on road inputs the first radiofrequency signal;
First receiving module 402, for receiving by the RF transceiver according to first radiofrequency signal and described penetrating
The first correction signal that the local oscillation signal of frequency transceiver is sent out;
First determining module 403, for according to first correction signal and initial capacitance, determining reference capacitance;
Second control module 404, for when radio frequency path communication is abnormal, controlling the WiFi accesses to described
RF transceiver inputs the second radiofrequency signal;
Second receiving module 405, for receiving by the RF transceiver according to second radiofrequency signal and described penetrating
The second correction signal that the local oscillation signal of frequency transceiver is sent out;
Second determining module 406, for according to second correction signal and the reference capacitance, determining calibration capacitance;
Calibration module 407 carries out crystal school Huaihe River for controlling the RF transceiver according to the calibration capacitance.
Optionally, first determining module 403 includes:
First determination sub-module 4031, for determining the corresponding capacitance of first correction signal;
Second determination sub-module 4032 is used for the difference between the corresponding capacitance of first correction signal and initial capacitance
Value is determined as reference capacitance.
Optionally, second determining module 406 includes:
Third determination sub-module 4061, for determining the corresponding capacitance of second correction signal;
4th determination sub-module 4062, being used for will be between the corresponding capacitance of second correction signal and the reference capacitance
Difference be determined as calibration capacitance.
Optionally, the mobile terminal 400 further includes:
Third control module 408 is closed for controlling the calibration switch;The calibration switch both ends are separately connected described
The WiFi module or the calibration switch both ends of the RF transceiver of radio frequency path and the WiFi accesses are separately connected described
The coupler of the RF transceiver of radio frequency path and the WiFi accesses.
Optionally, the mobile terminal 400 further includes:
Calling module 409, for calling first control module to control the WiFi accesses to institute according to the setting period
The RF transceiver for stating radio frequency path inputs the first radiofrequency signal, to determine multiple idle capacities according to the setting period;
Third determining module 410, for will determine time and the nearest capacitance of current time in the multiple idle capacity
It is determined as reference capacitance.
In embodiments of the present invention, it is logical can to control WiFi when radio frequency path communication is normal for the processor of mobile terminal
First radiofrequency signal is input to RF transceiver by road, and then RF transceiver can send out the first correction signal to processor,
And then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for being carried out to radio frequency path
The capacitance of crystal calibration;Preprocessor radio frequency path communication it is abnormal when, WiFi accesses can be controlled by the second radio frequency
Signal is input to RF transceiver, and then RF transceiver can send out the second correction signal, and then processor root to processor
Calibration capacitance is determined according to the second correction signal and reference capacitance, and RF transceiver is notified to carry out crystal school according to calibration capacitance
It is accurate.Then the embodiment of the present invention is communicated abnormal by determining reference capacitance when radio frequency path communicates normal in radio frequency path
When calibration capacitance determined according to reference capacitance, radio frequency path can be controlled later be based on calibration capacitance and carry out crystal calibration, to
Clock signal caused by radio frequency path by crystal calibration will be not present frequency shift (FS), and then the radio frequency path of mobile terminal
It can restore normal communication.
Embodiment five
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 8 includes:At least
One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500
Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components
Letter.Bus system 505 further includes power bus, controlling bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in fig. 8 various buses are all designated as bus system 505.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Both or may include volatile and non-volatile memory.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 502 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022, including various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program for calling memory 502 to store or instruction, specifically, can be application
The program stored in program 5022 or instruction, processor 501 are used to, when radio frequency path communication is normal, control WiFi accesses to institute
The RF transceiver for stating radio frequency path inputs the first radiofrequency signal;Reception is believed by the RF transceiver according to first radio frequency
Number and the RF transceiver the first correction signal for being sent out of local oscillation signal;According to first correction signal and initial electricity
Hold, determines reference capacitance;When radio frequency path communication is abnormal, it is defeated to the RF transceiver to control the WiFi accesses
Enter the second radiofrequency signal;It receives by the RF transceiver according to the local oscillator of second radiofrequency signal and the RF transceiver
The second correction signal that signal is sent out;According to second correction signal and the reference capacitance, calibration capacitance is determined;Control
The RF transceiver carries out crystal calibration according to the calibration capacitance.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, the above method is completed in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit may be implemented in one or more application-specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, the processor 501 is according to first correction signal and initial capacitance, when determining reference capacitance,
It is additionally operable to:Determine the corresponding capacitance of first correction signal;By the corresponding capacitance of first correction signal and initial capacitance
Between difference be determined as reference capacitance.
Optionally, the processor 501 determines calibration capacitance according to second correction signal and the reference capacitance
When, it is additionally operable to:Determine the corresponding capacitance of second correction signal;By the corresponding capacitance of second correction signal and the ginseng
The difference examined between capacitance is determined as calibration capacitance.
Optionally, the first radiofrequency signal is input to the radio frequency in the control WiFi accesses and led to by the processor 501
When the RF transceiver on road, it is additionally operable to:Calibration switch is controlled to be closed;The calibration switch both ends are separately connected the radio frequency path
RF transceiver and the WiFi accesses WiFi module or the calibration switch both ends be separately connected the radio frequency path
RF transceiver and the WiFi accesses coupler.
Optionally, the processor 501 is additionally operable to:The control WiFi accesses are executed to described according to the setting period
The RF transceiver of radio frequency path inputs the step of the first radiofrequency signal, to determine multiple standby electricities according to the setting period
Hold;It will determine that the time is determined as reference capacitance with the nearest capacitance of current time in the multiple idle capacity.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.In the embodiment of the present invention, the processor of mobile terminal 500 can be controlled when radio frequency path communicates normal
First radiofrequency signal is input to RF transceiver by WiFi accesses, and then RF transceiver can send out the first correction to processor
Signal, and then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for logical to radio frequency
Road carries out the capacitance of crystal calibration;Preprocessor when radio frequency path communication is abnormal, WiFi accesses can be controlled by the
Two radiofrequency signals are input to RF transceiver, and then RF transceiver can send out the second correction signal to processor, and then locate
Reason device determines calibration capacitance according to the second correction signal and reference capacitance, and controls RF transceiver and carry out crystalline substance according to calibration capacitance
Sports school is accurate.Then the embodiment of the present invention is communicated not by determining reference capacitance when radio frequency path communicates normal in radio frequency path
Calibration capacitance is determined according to reference capacitance when normal, radio frequency path can be controlled later and be based on calibration capacitance progress crystal calibration,
To which clock signal caused by the radio frequency path Jing Guo crystal calibration will be not present frequency shift (FS), and then the radio frequency of mobile terminal
Access can restore normal communication.
Embodiment six
Fig. 9 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 9
600 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 600 in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input
Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WLAN (Wireless Fidelity) module
680 and power supply 690.
Wherein, input unit 630 can be used for receiving number input by user or character information, and generation and mobile terminal
The 600 related signal input of user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 631.Touch panel 631, collect user on it or neighbouring touch operation (such as user use hand
The operation of any suitable object or attachment such as finger, stylus on touch panel 631), and driven according to preset formula
Corresponding attachment device.Optionally, touch panel 631 may include both touch detecting apparatus and touch controller.Wherein,
Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control
Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor
660, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with
And the multiple types such as surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other
Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), it is trace ball, mouse, one or more in operating lever etc..
Wherein, display unit 640 can be used for showing information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, LCD or organic hairs may be used
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
It measures and sends processor 660 on it or after neighbouring touch operation to determine the type of touch event, be followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
Including the interface elements such as icon and/or widget desktop controls of at least one application program.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage
Data in second memory 622 execute the various functions and processing data of mobile terminal 600, to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by calling store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 are used to, when radio frequency path communication is normal, control WiFi accesses to institute
The RF transceiver for stating radio frequency path inputs the first radiofrequency signal;Reception is believed by the RF transceiver according to first radio frequency
Number and the RF transceiver the first correction signal for being sent out of local oscillation signal;According to first correction signal and initial electricity
Hold, determines reference capacitance;When radio frequency path communication is abnormal, it is defeated to the RF transceiver to control the WiFi accesses
Enter the second radiofrequency signal;It receives by the RF transceiver according to the local oscillator of second radiofrequency signal and the RF transceiver
The second correction signal that signal is sent out;According to second correction signal and the reference capacitance, calibration capacitance is determined;Control
The RF transceiver carries out crystal calibration according to the calibration capacitance.
Optionally, the processor 601 is according to first correction signal and initial capacitance, when determining reference capacitance,
It is additionally operable to:Determine the corresponding capacitance of first correction signal;By the corresponding capacitance of first correction signal and initial capacitance
Between difference be determined as reference capacitance.
Optionally, the processor 601 determines calibration capacitance according to second correction signal and the reference capacitance
When, it is additionally operable to:Determine the corresponding capacitance of second correction signal;By the corresponding capacitance of second correction signal and the ginseng
The difference examined between capacitance is determined as calibration capacitance.
Optionally, the first radiofrequency signal is input to the radio frequency in the control WiFi accesses and led to by the processor 601
When the RF transceiver on road, it is additionally operable to:Calibration switch is controlled to be closed;The calibration switch both ends are separately connected the radio frequency path
RF transceiver and the WiFi accesses WiFi module or the calibration switch both ends be separately connected the radio frequency path
RF transceiver and the WiFi accesses coupler.
Optionally, the processor 601 is additionally operable to:The control WiFi accesses are executed to described according to the setting period
The RF transceiver of radio frequency path inputs the step of the first radiofrequency signal, to determine multiple standby electricities according to the setting period
Hold;It will determine that the time is determined as reference capacitance with the nearest capacitance of current time in the multiple idle capacity.
As it can be seen that in the embodiment of the present invention, the processor of mobile terminal 600 can be when radio frequency path communicates normal, can be with
First radiofrequency signal is input to RF transceiver by control WiFi accesses, and then RF transceiver can send out first to processor
Correction signal, and then processor determines reference capacitance according to the first correction signal and initial capacitance, namely be to determine for penetrating
Frequency access carries out the capacitance of crystal calibration;Preprocessor radio frequency path communication it is abnormal when, WiFi accesses can be controlled
Second radiofrequency signal is input to RF transceiver, then RF transceiver can send out the second correction signal to processor, into
And processor determines calibration capacitance according to the second correction signal and reference capacitance, and control RF transceiver according to calibration capacitance into
Row crystal calibration.The embodiment of the present invention is then logical in radio frequency path by determining reference capacitance when radio frequency path communicates normal
Calibration capacitance is determined according to reference capacitance when believing abnormal, radio frequency path can be controlled later and be based on calibration capacitance progress crystal school
Standard, to which clock signal caused by radio frequency path Jing Guo crystal calibration is there will be no frequency shift (FS), and then mobile terminal
Radio frequency path can restore normal communication.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so description is fairly simple,
The relevent part can refer to the partial explaination of embodiments of method.
Embodiment seven
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, and memory is stored in memory
Computer program that is upper and can running on the processor, the computer program realize above-mentioned calibration side when being executed by processor
Each process of method embodiment, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
Embodiment eight
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned calibration method embodiment when being executed by processor, and can reach
Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic disc or CD etc..
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that be:The arbitrary combination application of above-mentioned each embodiment is all feasible, therefore
Arbitrary combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
Calibration method is not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.Respectively
Kind general-purpose system can also be used together with teaching based on this.As described above, it constructs with the present invention program's
Structure required by system is obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can
With using various programming languages realize invention described herein content, and the description that language-specific is done above be for
Disclose the preferred forms of the present invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific implementation mode, wherein each claim conduct itself
The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary
It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors
Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor either digital signal processor (DSP) come realize in calibration method according to the ... of the embodiment of the present invention some or it is complete
The some or all functions of portion's component.The present invention be also implemented as a part for executing method as described herein or
The equipment or program of device (for example, computer program and computer program product) of person's whole.It is such to realize the present invention's
Program can may be stored on the computer-readable medium, or can be with the form of one or more signal.Such signal
It can download and obtain from internet website, either provide on carrier signal or provide in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame
Claim.
Claims (12)
1. a kind of calibration method is applied to mobile terminal, which is characterized in that the method includes:
When radio frequency path communication is normal, control WiFi accesses input the first radio frequency letter to the RF transceiver of the radio frequency path
Number;
Reception is sent out by the RF transceiver according to the local oscillation signal of first radiofrequency signal and the RF transceiver
The first correction signal;
According to first correction signal and initial capacitance, reference capacitance is determined;
When radio frequency path communication is abnormal, controls the WiFi accesses and input the second radio frequency letter to the RF transceiver
Number;
Reception is sent out by the RF transceiver according to the local oscillation signal of second radiofrequency signal and the RF transceiver
The second correction signal;
According to second correction signal and the reference capacitance, calibration capacitance is determined;
It controls the RF transceiver and crystal calibration is carried out according to the calibration capacitance.
2. according to the method described in claim 1, it is characterized in that, described according to first correction signal and initial capacitance,
Determine reference capacitance, including:
Determine the corresponding capacitance of first correction signal;
Difference between the corresponding capacitance of first correction signal and initial capacitance is determined as reference capacitance.
3. according to the method described in claim 1, it is characterized in that, described according to second correction signal and described with reference to electricity
Hold, determines calibration capacitance, including:
Determine the corresponding capacitance of second correction signal;
Difference between the corresponding capacitance of second correction signal and the reference capacitance is determined as calibration capacitance.
4. according to the method described in claim 1, it is characterized in that, the control radio frequency of the WiFi accesses to the radio frequency path
Transceiver inputs the first radiofrequency signal, including:
Calibration switch is controlled to be closed;The calibration switch both ends are separately connected the RF transceiver of the radio frequency path and described
The WiFi module of WiFi accesses or the calibration switch both ends are separately connected the RF transceiver of the radio frequency path and described
The coupler of WiFi accesses.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
The control WiFi accesses are executed according to the setting period to penetrate to the RF transceiver of radio frequency path input first
The step of frequency signal, to determine multiple idle capacities according to the setting period;
It will determine that the time is determined as reference capacitance with the nearest capacitance of current time in the multiple idle capacity.
6. a kind of mobile terminal, including processor, radio frequency path and WiFi accesses, it is logical that the processor is separately connected the radio frequency
Road and the WiFi accesses, the radio frequency path include RF transceiver, which is characterized in that the radio-frequency receiving-transmitting of the radio frequency path
Device is connect with the WiFi accesses, and the processor includes:
First control module, for when radio frequency path communication is normal, controlling the WiFi accesses to the radio frequency path
RF transceiver input the first radiofrequency signal;
First receiving module, for receiving by the RF transceiver according to first radiofrequency signal and the RF transceiver
The first correction signal for being sent out of local oscillation signal;
First determining module, for according to first correction signal and initial capacitance, determining reference capacitance;
Second control module, for when radio frequency path communication is abnormal, controlling the WiFi accesses and being received to the radio frequency
It sends out device and inputs the second radiofrequency signal;
Second receiving module, for receiving by the RF transceiver according to second radiofrequency signal and the RF transceiver
The second correction signal for being sent out of local oscillation signal;
Second determining module, for according to second correction signal and the reference capacitance, determining calibration capacitance;
Calibration module carries out crystal calibration for controlling the RF transceiver according to the calibration capacitance.
7. mobile terminal according to claim 6, which is characterized in that first determining module includes:
First determination sub-module, for determining the corresponding capacitance of first correction signal;
Second determination sub-module, for the difference between the corresponding capacitance of first correction signal and initial capacitance to be determined as
Reference capacitance.
8. mobile terminal according to claim 6, which is characterized in that second determining module includes:
Third determination sub-module, for determining the corresponding capacitance of second correction signal;
4th determination sub-module, for the difference between the corresponding capacitance of second correction signal and the reference capacitance is true
It is set to calibration capacitance.
9. mobile terminal according to claim 6, the WiFi accesses include WiFi module and coupler, and feature exists
In the mobile terminal further includes calibration switch, and the processor further includes:
Third control module is closed for controlling the calibration switch;It is logical that the calibration switch both ends are separately connected the radio frequency
It is logical that the WiFi module or the calibration switch both ends of the RF transceiver on road and the WiFi accesses are separately connected the radio frequency
The coupler of the RF transceiver on road and the WiFi accesses.
10. mobile terminal according to claim 6, which is characterized in that the processor further includes:
Calling module is logical to the radio frequency for calling first control module to control the WiFi accesses according to the setting period
The RF transceiver on road inputs the first radiofrequency signal, to determine multiple idle capacities according to the setting period;
Third determining module, for the capacitance nearest with current time of determining time in the multiple idle capacity to be determined as joining
Examine capacitance.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in calibration method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes the step of the calibration method as described in any one of claim 1 to 5 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700814.XA CN107612635B (en) | 2017-08-15 | 2017-08-15 | A kind of calibration method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700814.XA CN107612635B (en) | 2017-08-15 | 2017-08-15 | A kind of calibration method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107612635A CN107612635A (en) | 2018-01-19 |
CN107612635B true CN107612635B (en) | 2018-10-19 |
Family
ID=61064366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710700814.XA Active CN107612635B (en) | 2017-08-15 | 2017-08-15 | A kind of calibration method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107612635B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112825487B (en) * | 2019-11-18 | 2024-03-15 | 深圳市中兴微电子技术有限公司 | Radio frequency receiving link and radio frequency transceiver |
CN111045318B (en) * | 2019-12-26 | 2021-11-30 | 展讯通信(上海)有限公司 | Calibration method, device and system of equipment clock, self-calibration method and equipment |
CN111045317B (en) * | 2019-12-26 | 2022-02-25 | 展讯通信(上海)有限公司 | Calibration method, device and system of equipment clock, self-calibration method and equipment |
CN111007710B (en) * | 2019-12-26 | 2022-01-04 | 展讯通信(上海)有限公司 | Production line calibration method, device and system of equipment clock, self-calibration method and equipment |
CN111130589B (en) * | 2019-12-31 | 2021-04-13 | 联想(北京)有限公司 | Electronic equipment and power calibration method |
CN112469141B (en) * | 2020-11-27 | 2022-08-26 | 维沃移动通信有限公司 | Wireless connection method, device, equipment and readable storage medium |
CN113225142B (en) * | 2021-07-08 | 2021-11-09 | 珠海泰芯半导体有限公司 | Frequency offset correction method, device, equipment, storage medium and system of wireless equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7587184B2 (en) * | 2005-06-30 | 2009-09-08 | Silicon Laboratories Inc. | Controlling fine frequency changes in an oscillator |
US20110018762A1 (en) * | 2009-07-24 | 2011-01-27 | John Walley | Method and system for calibrating a local gnss clock using non-gnss system clocks in a gnss enabled mobile device |
CN102045060B (en) * | 2009-10-13 | 2017-03-01 | 晨星软件研发(深圳)有限公司 | Portable control device and its method |
GB2504757B (en) * | 2012-08-09 | 2015-03-25 | Nvidia Corp | Reference clock calibration |
US9369225B2 (en) * | 2012-10-01 | 2016-06-14 | Intel Deutschland Gmbh | Distribution of an electronic reference clock signal that includes delay and validity information |
CN106160761B (en) * | 2015-03-31 | 2019-01-15 | 联想(北京)有限公司 | A kind of transmitting frequency calibration method and electronic equipment |
US9673847B1 (en) * | 2015-11-25 | 2017-06-06 | Analog Devices, Inc. | Apparatus and methods for transceiver calibration |
CN105406195A (en) * | 2015-12-31 | 2016-03-16 | 联想(北京)有限公司 | Frequency adjusting method and electronic apparatus |
CN106292839B (en) * | 2016-08-11 | 2019-05-31 | 上海东软载波微电子有限公司 | Real-time clock compensation circuit and calibration method, device |
-
2017
- 2017-08-15 CN CN201710700814.XA patent/CN107612635B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107612635A (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107612635B (en) | A kind of calibration method, mobile terminal and computer readable storage medium | |
TW525349B (en) | System and method for programming oscillators | |
US8461885B2 (en) | Hybrid digital-analog phase locked loops | |
US9425810B2 (en) | Frequency signal generating system and display device | |
JP2002305446A (en) | Oscillator with noise-reducing function, wiring unit, and method for controlling write unit | |
CN110071772B (en) | Radio system, calibration system, and LO signal calibration method | |
US20090273378A1 (en) | Clock configuration | |
CN106446614B (en) | A kind of right management method and mobile terminal of application program | |
US11888445B2 (en) | Variable capacitor devices with differential voltage control | |
US6502050B1 (en) | Measuring a minimum lock frequency for a delay locked loop | |
CN106160760B (en) | A kind of harmonic suppressing method and mobile terminal of cyclical signal | |
GB2393794A (en) | Module, system and method for testing a phase locked loop | |
US20150340013A1 (en) | Wireless communication apparatus and method of driving display device included in wireless communication apparatus | |
CN106027044B (en) | A kind of polycyclic frequency synthesizer predetermined frequency automated calibration system and method | |
CN205356307U (en) | Frequency synthesizer of short wave receiver | |
CN102546040B (en) | Method and system for testing channel delay difference | |
Haapala et al. | Temperature compensation of crystal references in NB-IoT modems | |
CN213581157U (en) | Novel antenna measuring device | |
CN113791556A (en) | Method and system for autonomously detecting and switching internal and external clocks of responder | |
CN115085721A (en) | Temperature compensation method, device, equipment and storage medium based on crystal oscillator | |
CN203243310U (en) | Microwave signal source | |
US8143958B2 (en) | Systems and methods for self testing a voltage controlled oscillator in an open loop configuration | |
EP3907891A1 (en) | Measurement device and measurement method | |
CN107576867B (en) | Co-time base device suitable for comprehensive test of active clock mode device | |
Song et al. | A fast AFC technique with self-calibration for fast-locking PLLs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |