CN101060667A - An adaptive calibration device and method for mobile terminal power-saving system - Google Patents

An adaptive calibration device and method for mobile terminal power-saving system Download PDF

Info

Publication number
CN101060667A
CN101060667A CNA200610072487XA CN200610072487A CN101060667A CN 101060667 A CN101060667 A CN 101060667A CN A200610072487X A CNA200610072487X A CN A200610072487XA CN 200610072487 A CN200610072487 A CN 200610072487A CN 101060667 A CN101060667 A CN 101060667A
Authority
CN
China
Prior art keywords
temperature
calibration
subelement
clock
ambient temperature
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.)
Granted
Application number
CNA200610072487XA
Other languages
Chinese (zh)
Other versions
CN100479472C (en
Inventor
史公正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Li Ke Semiconductor Technology Co., Ltd.
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CNB200610072487XA priority Critical patent/CN100479472C/en
Publication of CN101060667A publication Critical patent/CN101060667A/en
Application granted granted Critical
Publication of CN100479472C publication Critical patent/CN100479472C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The related adaptive correction method for saving-power system in mobile terminal comprises: A. building a mapping table between environment temperature and digital voltage; B. reading current digital voltage value, looking up the mapping table to obtain current environment temperature, and reading the environment temperature at last wake-up time; C. calculating environment temperature difference; ; and D. when the difference over a threshold, automatic starting the correction unit to update and correct parameter. This invention reduces power consumption and average current greatly, and prolongs system standby time.

Description

Adaptive calibration device in the mobile terminal power-saving system and method
Technical field
The present invention relates to communication technical field, particularly relate to adaptive calibration device and method in a kind of mobile terminal power-saving system.
Background technology
Along with development of Communication Technique, the design of portable terminal (such as mobile phone) is saved the power consumption problem of portable terminal to greatest extent except the direction to multi-functional machine develops, and be the target that those skilled in the art pursue always the service time that prolongs portable terminal.Described portable terminal under the certain prerequisite of battery electric quantity, reaches maximum, the average power consumption of just necessary minimize standby time for making its stand-by time as a kind of portable handheld device.The approach that its reduction portable terminal (is example with the mobile phone) power consumption mainly comprises is: 1) power supply and Clock management: promptly when mobile phone is in state of activation, for different Business Processing, dispose different CPU work clock and core voltage, thereby regulate mobile telephone power consumption dynamically, to reach the purpose that minimizes mobile telephone power consumption when the different business.Such as, when mobile phone communication, dispose higher CPU operating frequency and core voltage, and when mobile phone is in holding state, then dispose lower operating frequency and core voltage.2) degree ground reduces the mobile telephone power consumption of the length of one's sleep greatly: I/O (I/O) pin of promptly closing all peripheral hardwares that can close and chip.3) length of one's sleep of maximization system: when mobile phone is in standby, every regular hour (being paging cycle), mobile phone will wake the beep-page message that receives network side automatically up, with keep with the networking synchronously.
At present, a kind of up-to-date power conservation techniques is to make full use of real-time clock (RTC under the sleep quality, Real-time Communication Clock) characteristic of still working, waking up when system is received regularly paging, but because the instability of RTC crystal frequency, so be implanted into a RTC clock alignment unit at digital baseband chip, it is to utilize the stable system clock of high frequency to measure and calculate between awake period to obtain that calibration parameter extracts, and utilizes calibration parameter that the RTC clock is carried out real time calibration then between sleep period.And the cycle of calibration often be difficult to be determined, if oversize, very possible owing to do not calibrate for a long time and cause mobile phone and base station step-out and must weigh synchronous; If too short, because each calibration parameter measurements and calculations all need ms more than 500, this moment, system power was approximately mA more than 200, therefore can increase system power dissipation.Therefore, under sleep state, utilize the 32K clock to come the timing wake-up system to carry out the reception of beep-page message.But the RTC clock alignment parameter extraction for the time precision that guarantees to wake up carries out at set intervals needs system clock work because calibration parameter extracts, this necessary sacrifice certain length of one's sleep of making use of momentum.But, power consumption when sleeping for the assurance system reaches and minimizes, system has only the 32K clock in work during sleep, but the frequency of common 32K crystal is influenced by environmental temperature, therefore must calibrate to obtain a calibration clock CCLK32K that frequency is more stable the 32K clock.Because therefore the system clock VCTXO frequency quite stable of high frequency can utilize the 13M clock that common 32K crystal is calibrated.The theory diagram of its calibration as shown in Figure 1.
As shown in Figure 1, the 32K calibration module of digital baseband chip inside mainly comprises two submodules: calibration parameter extraction module and calibration realize module.
The essence of calibration is exactly to deduct a 32K clock cycle every certain 32K clock cycle, and obtaining a frequency stabilization, but frequency values is less than the calibration clock CCLK32K of outside 32K crystal, and the ratio of system clock and this calibration clock frequency is integer.The calibration parameter extraction module of system at first calculates N with the hardware logic of chip internal 32KSYSCLK periodicity N in the individual 32K clock cycle SYSCLK, so just can go out the SYSCLK periodicity R that a CLK32K clock cycle is comprised, that is: by computed in software
R=T 32K/T SYSCLK=N SYSCLK/N 32K
R comprises integer and mark two parts.In fact R has also represented the frequency dividing ratio of system clock and outside 32K clock, and the frequency ratio of supposing system clock and CCLK32K is CR, then can further calculate the poor Δ R between two frequency dividing ratios, that is:
ΔR=CR-R
This difference DELTA R is exactly desired calibration parameter CP.Calibration realizes that module has obtained this calibration parameter, can be by accumulator this parameter that constantly adds up, and when the result of accumulator surpasses CR, a promptly deductible 32K clock cycle.By this method, can obtain the CCLK32K clock of frequency stabilization.
Because the work clock of calibration parameter extraction module is SYSCLK and PCLK (CPU nuclear clock), therefore when parameter extraction, the quite about mA more than 200 of system power dissipation, and renewal primary parameter, the time that needs about hundreds of ms, much larger than the time of waking back paging receiving message up, thereby will inevitably shorten the actual length of one's sleep.Therefore, the update cycle of calibration parameter, often be difficult to set.Present power conservation techniques is generally set a fixed value SCALE value according to a large amount of test results, then when the 32K rolling counters forward is worth to this, by EN signal enabling calibration parameter extraction module.This just is difficult to be avoided, and the value of setting is too for a short time causes reduce the length of one's sleep, and is perhaps too big, has mobile phone and NodeB step-out and the heavy synchronous risk of needs.
This shows that the shortcoming of prior art is: upgrade the calibration parameter module every the set time, when the real crystal frequency is not drifted about, can waste sizable system power dissipation, reduce stand-by time; When the real crystal frequency drift occurs in the fixed cycle time, that is to say that bigger drift has taken place crystal frequency if before starting the calibration parameter extraction module next time, will there be the risk of system and network step-out.
Summary of the invention
The technical problem that the present invention solves provides adaptive calibration device and the method in a kind of mobile terminal power-saving system, to reduce mobile telephone power consumption and standby average current in the present technology, prolongs the stand-by time of system.
For addressing the above problem, the invention provides a kind of adaptive calibration device that is used for mobile terminal power-saving system, described device comprises: temperature measurement unit, temperature difference detecting unit and alignment unit, wherein,
Described temperature measurement unit is used to measure the voltage of bleeder circuit, and this voltage is carried out sending after the analog to digital conversion;
Described temperature difference detecting unit, link to each other with temperature measurement unit, be used to set up and store the voltage that reads and the mapping table of corresponding ambient temperature thereof, obtain corresponding ambient temperature value by searching this mapping table,, start alignment unit automatically and calibrate when waking constantly ambient temperature and the difference of waking ambient temperature constantly last time up up when current greater than the temperature judging threshold preset;
Described alignment unit links to each other with temperature difference detecting unit, is used for the 32K crystal clock frequency of outside is calibrated, to obtain a calibration clock that frequency is more stable.
Described temperature measurement unit comprises:
The voltage measurement subelement is used for waking the voltage that measurement constantly has the thermistor bleeder circuit up at each;
The analog-to-digital conversion subelement links to each other with the voltage measurement subelement, is used for converting the aanalogvoltage of bleeder circuit to digital voltage.
Described temperature difference detecting unit comprises:
Set up subelement, link to each other with the analog-to-digital conversion subelement, read digital voltage value, and obtain the current pairing ambient temperature constantly of waking up according to the mapping table of digital voltage of setting up in advance and ambient temperature by communication serial port;
The buffer memory subelement is used to store one and wakes ambient temperature constantly up;
Computation subunit and is set up subelement and is linked to each other respectively with the buffer memory subelement, is used to calculate the difference that this wakes ambient temperature constantly and the ambient temperature of waking the moment last time up up;
Judgment sub-unit links to each other with computation subunit, whether is used to judge described temperature gap greater than default temperature judging threshold, and handles accordingly according to court verdict.
Described alignment unit comprises:
Calibration parameter extracts subelement, utilizes the system clock of high frequency, and calculates calibration parameter according to the relation of outside 32K clock frequency and this subelement output clock frequency;
Calibration realizes subelement, extracts subelement with calibration parameter and links to each other, and is used for according to calibration parameter, realizes calibration by the mode of deducting the clock cycle.
Describedly be treated to accordingly:, then start calibration parameter and extract subelement and upgrade calibration parameter by control signal if temperature gap is greater than default judging threshold according to court verdict.
The content of described calibration parameter comprises: the difference between the frequency dividing ratio of system clock and calibration parameter extraction subelement output clock and the frequency dividing ratio of described frequency dividing ratio and external clock.
Described temperature measurement unit is positioned on the Analog Baseband chip, and described alignment unit and temperature difference detecting unit are positioned on the digital baseband chip, and described temperature measurement unit links to each other by communication serial port with temperature difference detecting unit.
In addition, the present invention also provides a kind of adaptive calibration method that is used for mobile terminal power-saving system, and described method comprises step:
A, set up the mapping table of ambient temperature and its corresponding digital voltage;
B, read the current digital voltage value that wakes up constantly, search described mapping table according to this digital voltage value and obtain currently waking ambient temperature constantly up, and from buffering area, read the ambient temperature value when waking up last time constantly;
C, the current difference of waking the ambient temperature value of measuring constantly up and waking ambient temperature value constantly last time up of calculating;
D, when described ambient temperature difference during greater than default temperature judging threshold, then start the calibration parameter extraction unit automatically and upgrade calibration parameter.
The process of setting up of mapping table described in the steps A is:
A1, the analog voltage-dividing value of thermistor one end when calculating arbitrary temperature;
A2, described analog voltage-dividing value is become digital partial pressure value through analog to digital conversion;
A3, set up the mapping table of the arbitrary temp digital partial pressure value corresponding with it.
The detailed process that described startup calibration parameter extracts subelement renewal calibration parameter is:
Utilize the hardware logic of digital baseband chip inside to calculate system clock cycle number in outside 32K clock cycle of some;
Calculate the frequency dividing ratio of described system clock and external clock;
Frequency ratio according to described frequency dividing ratio and system clock and the calibration clock of presetting is calculated calibration parameter.
By above-mentioned disclosed technical scheme as can be known, the present invention utilize crystal frequency (such as the 32K crystal frequency) at portable terminal (such as cell phone system) as long as the time error of sleep awakening is no more than certain threshold value, system just need not weigh this synchronous characteristic, utilize crystal frequency mainly with the characteristics of temperature drift, the temperature drift (temperature difference) of (being wakeup time) computing system in the necessary activationary time of system, and compare with guaranteeing the pairing maximum temperature difference threshold value of system synchronization, whether the start-up parameter alignment unit upgrades calibration parameter in adaptive judgement.This shows, make system out-of-step free when the present invention has not only guaranteed sleep awakening all the time, and guaranteed to increase to greatest extent the length of one's sleep of system to reduce the standby average current, raising stand-by time, reduction system power dissipation.Though among the present invention with the wake up time period of paging cycle as adaptive calibration, but the cycle of the wakeup time in the invention also can be adopted other integer paging cycle, concrete wake up time period value is relevant with the performance of components and parts, can adopt long calibration wake-up period when the stability of 32K low-frequency clock is better.
Description of drawings
Fig. 1 is the structural representation of calibration module principle in the prior art;
Fig. 2 is the structural representation of the adaptive calibration device in the mobile terminal power-saving system of the present invention;
Fig. 3 is the concrete structure formula intention of each unit in the described device of Fig. 2;
Fig. 4 is an application example of the described device of Fig. 2;
Fig. 5 is the flow chart of the adaptive calibration method in the mobile terminal power-saving system of the present invention.
Embodiment
Core of the present invention be utilize the RTC crystal main in time with the characteristic of variations in temperature and mostly the Analog Baseband chip all have submodule variator (ADC, Analogue to Digital Converter), between each awake period, mobile phone temp is detected, and calculate twice adjacent temperature difference of waking up between the moment and come the adaptive calibration parameter extraction unit that calls, thereby promptly guaranteed the synchronously stable of mobile phone and base station system, the length of one's sleep that increases system again to greatest extent is to reduce the standby average current, improve stand-by time, reduce system power dissipation.
The present invention is described further below in conjunction with accompanying drawing.
Please refer to Fig. 2, is the structural representation of the adaptive calibration device in the mobile terminal power-saving system of the present invention.Described device comprises: temperature measurement unit 11, temperature difference detecting unit 12 and alignment unit 13, and wherein, described temperature measurement unit 11 is used to measure the voltage of bleeder circuit, and this voltage is carried out sending after the analog to digital conversion; Described temperature difference detecting unit 12, link to each other with temperature measurement unit 11, be used to set up and store the voltage that reads and the mapping table of corresponding ambient temperature thereof, obtain corresponding ambient temperature value by searching this mapping table,, start alignment unit automatically and calibrate when waking constantly ambient temperature and the difference of waking ambient temperature constantly last time up up when current greater than the temperature judging threshold preset; Described alignment unit 13 links to each other with temperature difference detecting unit 12, is used for the clock frequency of outside is calibrated, to obtain a calibration clock that frequency is more stable.
Described temperature measurement unit 11 comprises: voltage measurement subelement 111 and analog-to-digital conversion subelement 112.Wherein, described voltage measurement subelement 111 is used for waking the voltage that measurement constantly has the thermistor bleeder circuit up at each; Described analog-to-digital conversion subelement 112 links to each other with voltage measurement subelement 111, is used for converting the aanalogvoltage of bleeder circuit to digital voltage.Described temperature difference detecting unit 12 comprises: set up subelement 121, buffer memory subelement 122, computation subunit 123 and judgment sub-unit 124.Wherein, the described subelement 121 of setting up links to each other with analog-to-digital conversion subelement 112 by communication serial port, reads digital voltage value, and the mapping table according to digital voltage of setting up in advance and ambient temperature obtains the current pairing ambient temperature of cycle constantly of waking up then; Described buffer memory subelement 122 is used to store one and wakes ambient temperature constantly up; Described computation subunit 123 and is set up subelement 121 and is linked to each other respectively with buffer memory subelement 122, is used to calculate the difference that this wakes ambient temperature constantly and the ambient temperature of waking the moment last time up up; Described judgment sub-unit 124 links to each other with computation subunit 123, whether is used to judge described temperature gap greater than default temperature judging threshold, and handles accordingly according to court verdict.Described alignment unit 13 comprises: calibration parameter extracts subelement 131 and calibration realizes subelement 132, wherein, described calibration parameter extracts subelement 131, utilize the system clock of high frequency, and calculating calibration parameter according to the relation of outside 32K clock frequency and this subelement output clock frequency, described calibration parameter comprises: system clock (13M) and calibration parameter extract subelement and export difference between the frequency dividing ratio of the frequency dividing ratio of clock and described frequency dividing ratio and outside 32K clock; Described calibration realizes subelement 132, extracts subelement 131 with calibration parameter and links to each other, and is used for according to calibration parameter, realizes calibration by the mode of deducting the clock cycle.The concrete structure schematic diagram of above-mentioned described unit sees Fig. 3 for details.
For the ease of those skilled in the art's understanding, be that example illustrates the present invention with the 32K crystal frequency below, its concrete principle realizes block diagram as shown in Figure 4.
That is to say that the present invention utilizes the main characteristic relevant with temperature of common 32K crystal frequency, has proposed a kind of adaptive calibration scheme that detects based on the temperature difference.Promptly when waking up constantly, ambient temperature is detected at every turn, calculate the adjacent temperature difference constantly of waking up then,, show that 32K crystal frequency deviation is excessive, then start the calibration parameter extraction module and upgrade calibration parameter when this temperature difference during greater than a decision threshold Δ T; Otherwise, do not start the calibration parameter extraction module.Its concrete implementation procedure is:
As can be seen from the figure, the present invention compares with prior art (being Fig. 1), removed fixedly the 32K counter to the control of calibration parameter extraction module, has increased the control of temperature detecting unit 11,12 pairs of calibration parameter extraction units of temperature difference detecting unit.And described temperature difference detecting unit 12 and alignment unit 13 (comprising that calibration parameter extracts subelement 131 and calibration realizes subelement 132) are arranged in digital baseband chip, and described temperature detecting unit is arranged in analog chip.Temperature difference detecting unit reads the digital voltage of changing in the temperature detecting unit by communication serial port.Wherein, described temperature detecting unit generally comprises: voltage measurement subelement, the i.e. bleeder circuit of being made up of thermistor and conventional, electric-resistance; Analog-to-digital conversion subelement (ADC, Analogue to Digital Converter), it is actually an A/D converter, and the aanalogvoltage that is about to receive converts digital voltage to.And temperature difference detecting unit comprises: set up subelement, promptly the mapping table according to the digital voltage value that reads and digital voltage of setting up in advance and ambient temperature obtains the current pairing ambient temperature constantly of waking up; Buffer memory (Buffer) subelement is used to store one and wakes ambient temperature value constantly up; Computation subunit, this unit are to calculate the temperature difference by relevant program; And judgment sub-unit, whether the temperature difference of judge calculating greater than the judging threshold of temperature, if greater than, illustrate that then 32K crystal frequency deviation is excessive, extract subelement with regard to adaptive startup calibration parameter and upgrade calibration parameter, thereby eliminated the risk of system's step-out.
Set up the specific implementation process of ambient temperature and digital voltage mapping table below with the formal description of giving an example.As shown in FIG., R0 is the fixing conventional, electric-resistance of a resistance, and R1 is a thermistor, and promptly resistance changes with temperature.Suppose that supply voltage VCC is 2.8V, R0=33K, R1 is that (25 degree) is the thermistor of 68K (temperature of the thermistor of its calibration and the table of comparisons of resistance thereof are referring to table 1) under the normal temperature, and the analog to digital converter (ADC) of analog chip ABB inside is the 16bit precision, and its full width of cloth voltage is 3V.The present invention is that example illustrates with the temperature of thermistor for-40 degree, the resistance that can find its corresponding thermistor from this table 1 is 2735.3593, the voltage that can be calculated R1 other end this moment by bleeder circuit is 2.8V*2735.3593/ (2735.3593+33)=2.767V, and pairing 16bit digital voltage is 2.796V*2 16/ 3V=60438, other temperature and the pairing digital voltage process that is the repetition aforementioned calculation of thermistor obtains in this table, in this no longer detailed description, set up the temperature of thermistor and the mapping table of digital voltage thereof according to its data, specifically as shown in table 2, data shown in this table be the present invention for some examples, but the present invention is not limited to disclosed these data.
Table 1
The temperature of thermistor (Temp) Corresponding resistance (Resistance)
-40 2735.3593
-35 1937.3907
-15 547.4555
-10 409.5999
-5 309.2166
0 235.6064
5 180.9801
15 109.3437
20 85.9287
30 54.1668
40 35.0157
100 3.9216
Table 2
The temperature of thermistor (Temp) Corresponding digital voltage (Digital Voltage)
-40 60438
-35 60143
-15 57689
-10 56606
-5 55269
0 53652
5 51734
15 46986
20 44195
30 38010
40 31490
100 6497
Whenever portable terminal (such as mobile phone) when waking up, the DBB chip is by the temperature detecting unit in the communication serial port startup ABB chip, promptly the end from thermistor R1 extracts voltage analog voltage, be defined as Vtemp, and this voltage carried out mould/number (A/D) conversion, obtain the digital voltage value (DV of a quantification, Digital Video), the DBB chip will (the present invention be not limited to this communication serial port by communication serial port then, also can other interface) read this digital voltage value, and corresponding actual environment temperature, and then the immediate ambient temperature value T of correspondence table (as table 2) acquisition by looking into digital voltage and ambient temperature, and be stored in the fixing buffer (Buffer), when waking up constantly later on, temperature difference detecting unit is at first read the ambient temperature Tpre of last time when waking up constantly from Buffer at every turn, subtracts each other with the current cycle ambient temperature Tcur that obtains that tables look-up that wakes up constantly then, obtain temperature difference T, that is:
ΔT=T cur-T pre
Simultaneously with the ambient temperature value among the Tcur renewal Buffer.When the absolute value of Δ T during, then start the calibration parameter extraction unit and upgrade calibration parameter by the EN control signal greater than decision threshold Td (described Td is the maximum of the temperature difference); Otherwise, do not start the calibration parameter extraction unit.This shows, whether the present invention starts the calibration parameter extraction unit according to the temperature drift decision is upgraded calibration parameter, greatly reduces the number of times that starts the calibration parameter unit, thereby has reduced the time that system activates, increased the length of one's sleep of system, bigger reduction the power consumption of system; The value of all computing system temperature drift (temperature difference) just should judge whether to upgrade calibration parameter by this value, thereby eliminate the risk of system's step-out basically at every turn when waking up constantly.
Wherein, the implementation procedure that described startup calibration parameter extraction unit upgrades calibration parameter is: also be example with the mobile phone: mobile phone wakes constantly necessary timing wake-up up every one, receive the beep-page message of sub-district, so that keep synchronously with terminal access device base station node B.Wake up and last a period of time (being about 10 period of sub-frame for the TD-SCDMA system is 50ms), continue sleep then.Therefore, for wireless system, particularly the TD-SCDMA system guarantees that the error precision that wakes up is considerable.For the TD-SCDMA system, it is 16/1.28M=12.5us that this error generally requires less than positive and negative 16 chips, so the clock frequency of sleep awakening must quite stable.Simultaneously, power consumption when sleeping for the assurance system reaches and minimizes, system has only the 32K clock in work during sleep, but the frequency of common 32K crystal is influenced by environmental temperature, therefore must calibrate to obtain a calibration clock CCLK32K that frequency is more stable the 32K clock.Because therefore the system clock VCTXO frequency quite stable of high frequency can utilize the 13M clock that common 32K crystal is calibrated.And the essence of calibration is to deduct a 32K clock cycle every certain 32K clock cycle, and obtaining a frequency stabilization, but frequency values is less than the calibration clock CCLK32K of outside 32K crystal, and the ratio of system clock and this calibration clock frequency is integer.Its concrete calibration process sees background technology for details, does not repeat them here.
In addition, the patient 32K crystal maximum frequency deviation Δ F of system is fixedly the time, so decision threshold Td is mainly determined by the temperature parameter of 32K crystal.For the 32K crystal of different model, decision threshold Td is different probably.For example, the temperature parameter of certain 32K crystal is Δ F=0.035* Δ T 2+/-10% supposes that maximum Δ F is 3.5ppm, and the maximum of T d that then can obtain Δ T behind this formula of substitution is about 10 degree.
In addition, the present invention also provides the method for the adaptive calibration in a kind of mobile terminal power-saving system, and the flow chart of this method sees Fig. 5 for details.Described method comprises step:
Step S11: the mapping table of setting up ambient temperature and its corresponding digital voltage;
Its process of setting up mapping table is: calculate the partial pressure value of thermistor one end earlier, the resistance of thermistor is calculated the partial pressure value of one end during promptly according to external circuit and a certain temperature; Again with the analog to digital conversion of described voltage process; Read digital voltage and corresponding ambient temperature value thereof after the conversion by communication serial port at last, set up mapping table.
Step S12: read the current digital voltage value constantly that wakes up, search described mapping table according to this digital voltage value and obtain the current ambient temperature of waking the moment up, and from buffering area, read the ambient temperature value when waking up last time constantly;
Step S13: calculate the current difference of waking the ambient temperature value of measuring constantly up and waking ambient temperature value constantly last time up;
Step S14:, then start the calibration parameter extraction unit automatically and upgrade calibration parameter when described ambient temperature difference during greater than default temperature judging threshold.
That is to say, utilize the hardware logic of digital baseband chip inside to calculate system clock cycle number in outside 32K clock cycle of some earlier; Then, calculate the frequency dividing ratio of described system clock and external clock, the formula of described system clock of described calculating and external clock frequency dividing ratio is:
R=T 32K/T SYSCLK=N SYSCLK/N 32K
Wherein, R is the frequency dividing ratio of system clock and external clock; N SYSCLKExpression N 32KIndividual 32K clock cycle T 32KInterior system cycle number; N 32KRepresent the system cycle number that outside 32K clock periodicity is included.
At last according to described frequency dividing ratio and the default calibration clock and the frequency ratio calculating calibration parameter of system clock.The formula of described calculating calibration parameter is:
ΔR=CR-R
Wherein, Δ R is desired calibration parameter CP; CR is the frequency ratio of system clock and CCLK32K.Its concrete calibration process sees background technology for details, does not repeat them here.
By above-mentioned steps as can be known, the present invention makes full use of the system wake-up time error does not need heavy this condition synchronously within the specific limits.That is, when 32K crystal frequency range of drift during less than Δ F, the system wake-up time error just can not exceed the patient worst error of system synchronization.That is to say that just do not need to start the calibration parameter extraction module this moment, thereby saved unnecessary system's activationary time (about five or six hundred ms, the about mA more than 200 of integration current this moment), increased system length of one's sleep.In addition, the present invention also utilizes the main temperature influence of common 32K crystal frequency and the characteristic of drifting about, and by the judgement to the temperature difference, determines whether starting the calibration parameter extraction module.Temperature parameter index according to the applied 32K crystal of system, the peak frequency range of drift Δ F of system is converted into maximum temperature excursion Td, utilize system must activate then and receive the WOL characteristic of message constantly in cycle at regular intervals, the temperature difference of computing system in wakeup time, at last result of calculation and temperature difference thresholding are compared, if greater than thresholding, start the calibration parameter extraction module and upgrade calibration parameter, thereby the time error that guarantees next sleep awakening is still in error range; Otherwise do not start the calibration parameter extraction module, extract the length of one's sleep that is slatterned, promptly increase the length of one's sleep to greatest extent, reduce the system standby average current thereby reduced calibration parameter to greatest extent.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1, the adaptive calibration device in a kind of mobile terminal power-saving system is characterized in that, described device comprises: temperature measurement unit, temperature difference detecting unit and alignment unit, wherein,
Described temperature measurement unit is used to measure the voltage of bleeder circuit, and this voltage is carried out sending after the analog to digital conversion;
Described temperature difference detecting unit, link to each other with temperature measurement unit, be used to set up and store the voltage that reads and the mapping table of corresponding ambient temperature thereof, obtain corresponding ambient temperature value by searching this mapping table,, start alignment unit automatically and calibrate when waking constantly ambient temperature and the difference of waking ambient temperature constantly last time up up when current greater than the temperature judging threshold preset;
Described alignment unit links to each other with temperature difference detecting unit, is used for the 32K crystal clock frequency of outside is calibrated, and obtains a calibration clock that frequency is more stable.
According to the adaptive calibration device in the described mobile terminal power-saving system of claim 1, it is characterized in that 2, described temperature measurement unit comprises:
The voltage measurement subelement is used for waking the voltage that measurement constantly has the thermistor bleeder circuit up at each;
The analog-to-digital conversion subelement links to each other with the voltage measurement subelement, is used for converting the aanalogvoltage of bleeder circuit to digital voltage.
According to the adaptive calibration device in the described mobile terminal power-saving system of claim 1, it is characterized in that 3, described temperature difference detecting unit comprises:
Set up subelement, link to each other with the analog-to-digital conversion subelement, read digital voltage value, and obtain the current pairing ambient temperature of cycle constantly of waking up according to the mapping table of digital voltage of setting up in advance and ambient temperature by communication serial port;
The buffer memory subelement is used to store one and wakes ambient temperature constantly up;
Computation subunit and is set up subelement and is linked to each other respectively with the buffer memory subelement, is used to calculate the difference that this wakes ambient temperature constantly and the ambient temperature of waking the moment last time up up;
Judgment sub-unit links to each other with computation subunit, whether is used to judge described temperature gap greater than default temperature judging threshold, and handles accordingly according to court verdict.
According to the adaptive calibration device in the described mobile terminal power-saving system of claim 1, it is characterized in that 4, described alignment unit comprises:
Calibration parameter extracts subelement, utilizes the system clock of high frequency, and calculates calibration parameter according to the relation of outside 32K clock frequency and this subelement output clock frequency;
Calibration realizes subelement, extracts subelement with calibration parameter and links to each other, and is used for according to calibration parameter, realizes calibration by the mode of deducting the clock cycle.
5, according to the adaptive calibration device in the described mobile terminal power-saving system of claim 4, it is characterized in that, describedly be treated to accordingly:, then start calibration parameter and extract subelement and upgrade calibration parameter by control signal if temperature gap is greater than default judging threshold according to court verdict.
6, according to the adaptive calibration device in the described mobile terminal power-saving system of claim 5, it is characterized in that the content of described calibration parameter comprises: the difference between the frequency dividing ratio of system clock and calibration parameter extraction subelement output clock and the frequency dividing ratio of described frequency dividing ratio and external clock.
7, according to the adaptive calibration device in the described mobile terminal power-saving system of claim 1, it is characterized in that, described temperature measurement unit is positioned on the Analog Baseband chip, described alignment unit and temperature difference detecting unit are positioned on the digital baseband chip, and described temperature measurement unit links to each other by communication serial port with temperature difference detecting unit.
8, the adaptive calibration method in a kind of mobile terminal power-saving system is characterized in that, comprises step:
A, set up the mapping table of ambient temperature and its corresponding digital voltage;
B, read the current digital voltage value that wakes up constantly, search described mapping table according to this digital voltage value and obtain currently waking ambient temperature constantly up, and from buffering area, read the ambient temperature value when waking up last time constantly;
C, the current difference of waking the ambient temperature value of measuring constantly up and waking ambient temperature value constantly last time up of calculating;
D, when described ambient temperature difference during greater than default temperature judging threshold, then start the calibration parameter extraction unit automatically and upgrade calibration parameter.
9, the method for adaptive calibration in the described according to Claim 8 mobile terminal power-saving system is characterized in that the process of setting up of mapping table described in the steps A is:
A1, the analog voltage-dividing value of thermistor one end when calculating arbitrary temperature;
A2, described analog voltage-dividing value is become digital partial pressure value through analog to digital conversion;
A3, set up the mapping table of the arbitrary temp digital partial pressure value corresponding with it.
10, the method for adaptive calibration in the described according to Claim 8 mobile terminal power-saving system is characterized in that, the detailed process that described startup calibration parameter extracts subelement renewal calibration parameter is:
Utilize the hardware logic of digital baseband chip inside to calculate system clock cycle number in outside 32K clock cycle of some;
Calculate the frequency dividing ratio of described system clock and external clock;
Frequency ratio according to described frequency dividing ratio and system clock and the calibration clock of presetting is calculated calibration parameter.
CNB200610072487XA 2006-04-17 2006-04-17 An adaptive calibration device and method for mobile terminal power-saving system Active CN100479472C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200610072487XA CN100479472C (en) 2006-04-17 2006-04-17 An adaptive calibration device and method for mobile terminal power-saving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200610072487XA CN100479472C (en) 2006-04-17 2006-04-17 An adaptive calibration device and method for mobile terminal power-saving system

Publications (2)

Publication Number Publication Date
CN101060667A true CN101060667A (en) 2007-10-24
CN100479472C CN100479472C (en) 2009-04-15

Family

ID=38866507

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610072487XA Active CN100479472C (en) 2006-04-17 2006-04-17 An adaptive calibration device and method for mobile terminal power-saving system

Country Status (1)

Country Link
CN (1) CN100479472C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771428A (en) * 2010-01-19 2010-07-07 青岛海信移动通信技术股份有限公司 Temperature detection circuit and mobile communication equipment
CN101826850A (en) * 2010-03-19 2010-09-08 北京天碁科技有限公司 Method for controlling working frequency of quartz crystal and reference clock based on quartz crystal
CN102361488A (en) * 2011-09-28 2012-02-22 惠州Tcl移动通信有限公司 Mobile phone and temperature detection method based on mobile phone
CN102567692A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Device and method for adaptive regulation on parameter set input into high-speed chip
CN103335664A (en) * 2013-06-28 2013-10-02 成都汉康信息产业有限公司 Telemetric terminal with overheating protection function
CN104562194A (en) * 2013-10-24 2015-04-29 上海西门子工业自动化有限公司 Technical process control method
CN105487632A (en) * 2014-10-13 2016-04-13 展讯通信(上海)有限公司 Time calibration system and method and mobile terminal
WO2016061786A1 (en) * 2014-10-23 2016-04-28 华为技术有限公司 Data re-synchronization method and apparatus
CN106488515A (en) * 2015-08-28 2017-03-08 联芯科技有限公司 A kind of intervalometer, baseband chip and its sleep state changing method
CN113391539A (en) * 2021-06-16 2021-09-14 北京康斯特仪表科技股份有限公司 RTC (real time clock) calibration method and industrial field calibration device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771428A (en) * 2010-01-19 2010-07-07 青岛海信移动通信技术股份有限公司 Temperature detection circuit and mobile communication equipment
CN101826850A (en) * 2010-03-19 2010-09-08 北京天碁科技有限公司 Method for controlling working frequency of quartz crystal and reference clock based on quartz crystal
CN102567692A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Device and method for adaptive regulation on parameter set input into high-speed chip
CN102361488A (en) * 2011-09-28 2012-02-22 惠州Tcl移动通信有限公司 Mobile phone and temperature detection method based on mobile phone
CN103335664A (en) * 2013-06-28 2013-10-02 成都汉康信息产业有限公司 Telemetric terminal with overheating protection function
CN104562194B (en) * 2013-10-24 2017-05-31 西门子工厂自动化工程有限公司 The temprature control method of polysilicon production process
CN104562194A (en) * 2013-10-24 2015-04-29 上海西门子工业自动化有限公司 Technical process control method
CN105487632A (en) * 2014-10-13 2016-04-13 展讯通信(上海)有限公司 Time calibration system and method and mobile terminal
CN105487632B (en) * 2014-10-13 2019-03-12 展讯通信(上海)有限公司 A kind of time calibration system and method and mobile terminal
CN105723779A (en) * 2014-10-23 2016-06-29 华为技术有限公司 Data re-synchronization method and apparatus
WO2016061786A1 (en) * 2014-10-23 2016-04-28 华为技术有限公司 Data re-synchronization method and apparatus
CN105723779B (en) * 2014-10-23 2019-07-09 华为技术有限公司 A kind of method and device that data re-synchronize
CN106488515A (en) * 2015-08-28 2017-03-08 联芯科技有限公司 A kind of intervalometer, baseband chip and its sleep state changing method
CN106488515B (en) * 2015-08-28 2019-06-14 辰芯科技有限公司 A kind of timer, baseband chip and its sleep state switching method
CN113391539A (en) * 2021-06-16 2021-09-14 北京康斯特仪表科技股份有限公司 RTC (real time clock) calibration method and industrial field calibration device

Also Published As

Publication number Publication date
CN100479472C (en) 2009-04-15

Similar Documents

Publication Publication Date Title
CN101060667A (en) An adaptive calibration device and method for mobile terminal power-saving system
CN102540868A (en) Slow clock crystal frequency compensation method and device for mobile communication terminal
TWI473513B (en) Wireless network device and integrated circuit thereof
EP1702421B1 (en) Precise sleep timer using a low-cost and low-accuracy clock
CN1216470C (en) Device and method for generating clock with optional frequency usable clock
CN102740429B (en) A kind of noncontinuity receiving cycle method to set up and mobile terminal
CN102405678B (en) Method and apparatus for calibrating low frequency clock
CN1845624A (en) Standby processing method and device for mobile terminal
CN1910947A (en) Synchronization of time base units
CN1870795A (en) Method and apparatus for reducing standby power consumption of a handheld communication system
CN101034914A (en) Method and device for the RF performance temperature-self-adaptive compensation of the mobile communication terminal
CN1722029A (en) A fractional divider system and method
CN1357174A (en) Reduction of power consumption with increased standby time in wireless communications device
TWI504207B (en) Communication device and frequency bias calibrating method
CN100508635C (en) Resynchronization method of mobile terminal under stand-by state woke up from sleep mode
CN1190897C (en) Oscillator using calibration means
CN105142210A (en) Synchronous calibration method for real-time clocks of wireless sensor network and sensors
US20090199037A1 (en) Wake-up timer with periodic recalibration
US10506537B2 (en) Transceiver device with real-time clock
CN101083815B (en) Method and apparatus for realizing mobile terminal clock relation track
CN1744741A (en) Mobile phone base band chip power-saving synchronizing method
CN101990282A (en) Method and device for improving performance of receiver
CN1838800A (en) Method for regulating sleeping processor in mobile terminal machine process
CN111209712B (en) System, method and chip for obtaining working voltage of crystal oscillator
CN208888611U (en) A kind of super low-power consumption control system based on wireless bidirectional communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: LIANXIN SCIENCE CO., LTD.

Free format text: FORMER OWNER: DATANG MOBILE COMMUNICATION APPARATUS CO., LTD.

Effective date: 20090515

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090515

Address after: 41, No. 4, No. 333, No. 333, chin Jiang Road, zip code: 200233

Co-patentee after: Datang Mobile Communication Equipment Co., Ltd.

Patentee after: Lian core technology Co., Ltd.

Co-patentee after: Datang Mobile Communication Equipment Co., Ltd., Shanghai

Address before: Beijing, Xueyuan Road, Haidian District No. 29: 100083

Co-patentee before: Datang Mobile Communication Equipment Co., Ltd., Shanghai

Patentee before: Datang Mobile Communications Equipment Co

ASS Succession or assignment of patent right

Free format text: FORMER OWNER: DATANG MOBILE COMMUNICATION EQUIPMENT CO., LTD. DATANG MOBILE COMMUNICATION EQUIPMENT CO., LTD., SHANGHAI

Effective date: 20120323

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 200233 XUHUI, SHANGHAI TO: 201206 PUDONG NEW AREA, SHANGHAI

TR01 Transfer of patent right

Effective date of registration: 20120323

Address after: 201206 Pudong New Area Mingyue Road, Shanghai, No. 1258

Patentee after: Leadcore Technology Co., Ltd.

Address before: 200233 Shanghai, Jiang Road, No. 41, building 4, building 333

Co-patentee before: Datang Mobile Communication Equipment Co., Ltd.

Patentee before: Leadcore Technology Co., Ltd.

Co-patentee before: Datang Mobile Communication Equipment Co., Ltd., Shanghai

TR01 Transfer of patent right

Effective date of registration: 20170421

Address after: 201206 China (Shanghai) free trade zone, the moon Road, No. 3, building fourth, room B412, level 1258

Patentee after: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Address before: 201206 Pudong New Area Mingyue Road, Shanghai, No. 1258

Patentee before: Leadcore Technology Co., Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 201203 1st, 6th and 7th floors, building 2, No. 1761, Zhangdong Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203

Patentee after: Shanghai Li Ke Semiconductor Technology Co.,Ltd.

Address before: Room b412, 4th floor, building 3, 1258 Mingyue Road, China (Shanghai) pilot Free Trade Zone

Patentee before: Shanghai Li Ke Semiconductor Technology Co.,Ltd.

CP02 Change in the address of a patent holder