CN103970184B - Method and device for adjusting real time clock system - Google Patents

Method and device for adjusting real time clock system Download PDF

Info

Publication number
CN103970184B
CN103970184B CN201310047331.6A CN201310047331A CN103970184B CN 103970184 B CN103970184 B CN 103970184B CN 201310047331 A CN201310047331 A CN 201310047331A CN 103970184 B CN103970184 B CN 103970184B
Authority
CN
China
Prior art keywords
temperature
adc values
summit
real time
time clock
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
Application number
CN201310047331.6A
Other languages
Chinese (zh)
Other versions
CN103970184A (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 Eastsoft Microelectronics Co ltd
Qingdao Eastsoft Communication Technology Co Ltd
Original Assignee
Shanghai Eastsoft Microelectronics 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 Shanghai Eastsoft Microelectronics Co Ltd filed Critical Shanghai Eastsoft Microelectronics Co Ltd
Priority to CN201310047331.6A priority Critical patent/CN103970184B/en
Publication of CN103970184A publication Critical patent/CN103970184A/en
Application granted granted Critical
Publication of CN103970184B publication Critical patent/CN103970184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)
  • Measuring Temperature Or Quantity Of Heat (AREA)

Abstract

The invention provides a method and a device for adjusting a real time clock system. The method includes acquiring current ADC (analog-to-digital conversion) values of a built-in temperature sensor in an SOC (system-on-chip); acquiring current temperatures corresponding to the current ADC values according to preliminarily acquired changing curves of peak temperatures, peak ADC values corresponding to the peak temperatures, the temperature of the built-in temperature sensor and the ADC values; querying preliminarily acquired temperature and frequency compensation value mapping relations and acquiring current frequency compensation values corresponding to the current temperatures; adjusting the real time clock system according to the current frequency compensation values. The method and the device for adjusting the real time clock system have the advantages that long-term isothermal standing for the real time clock system before the real time clock system is adjusted can be omitted, accordingly, strict thermal and temporal adjustment requirements of the real time clock system can be reduced, and the adjustment efficiency can be improved.

Description

The adjusting process and device of Real Time Clock System
Technical field
The present invention relates to communication technology, more particularly to a kind of adjusting process and device of Real Time Clock System.
Background technology
In prior art, Real Time Clock System mainly includes SOC(system on a chip)(System on chip, hereinafter referred to as SOC)Core Piece and quartz crystal are constituted.Further, since Real Time Clock System inner quartz crystal frequency departure inherently and with The frequency departure that the rising or reduction of temperature brings, can all cause the time on Real Time Clock System to cause more or less mistake Difference, in order to this error for reducing the time on Real Time Clock System is entered it is necessary to pass through clock adjustment system to Real Time Clock System Row adjustment, and then frequency compensation is carried out, so as to reduce the error of time on Real Time Clock System.Specifically, clock adjustment system It is to the main process that Real Time Clock System carries out adjustment:First, clock adjustment system and Real Time Clock System must be in quartz Equality of temperature stands in summit temperature environment on the temperature-frequency curve of crystal, to guarantee that the two temperature is identical after equality of temperature stands. Then, clock adjustment system carries out adjustment to Real Time Clock System again, so as to reduce the mistake of the time on the Real Time Clock System Difference.
But, because clock adjustment system to Real Time Clock System before adjustment is carried out, need long-time to enter trip temperature Equilibrium, it is identical with the ambient temperature of Real Time Clock System with the ambient temperature for ensureing clock adjustment system, so as to result in adjustment It is less efficient.
The content of the invention
The present invention provides a kind of adjusting process and device of Real Time Clock System, to solve prior art in adjusted due to clock Calibration system needed long-time to carry out temperature equalization, to ensure clock adjustment system before adjustment is carried out to Real Time Clock System Ambient temperature it is identical with the ambient temperature of Real Time Clock System and cause the less efficient problem of adjustment.
The present invention provides a kind of adjusting process of Real Time Clock System, including:
The current ADC values of built-in temperature sensor in collection SOC;
According to advance summit temperature, the corresponding summit ADC values of the summit temperature for obtaining, and default built-in temperature The temperature of sensor and the change curve of ADC values, obtain the corresponding Current Temperatures of the current ADC values;
Temperature and the mapping relations of frequency compensation value that inquiry is obtained in advance, obtain corresponding with the Current Temperatures current Frequency compensation value;
According to the ongoing frequency offset, adjustment is carried out to the Real Time Clock System.
The present invention provides a kind of adjusting process of Real Time Clock System, including:
Receive ADC values that the Real Time Clock System sends, with reference to temperature in ADC values, the Real Time Clock System Demarcate the temperature and ADC values of built-in temperature sensor in the temperature of device and mapping relations, the Real Time Clock System of ADC values Change curve and the pulse per second (PPS) without alignment treatment;Wherein, an ADC values are the voltage of the temperature calibration device It is worth corresponding ADC values;
According to the temperature and the mapping relations of ADC values of the temperature calibration device, obtain corresponding with an ADC values Reference temperature;And according to the reference temperature, with reference to ADC values and the built-in temperature sensor temperature and ADC values change Change curve, obtain summit ADC values corresponding with the summit temperature being pre-configured with;
According to pulse per second (PPS), default pulse per second (PPS), the built-in temperature sensing ideally without alignment treatment The temperature of device and the change curve of ADC values, the change curve of the temperature of default quartz crystal and frequency, the summit temperature and The corresponding summit ADC values of the summit temperature, obtain the mapping relations of temperature and frequency compensation value;
By reflecting for the summit temperature, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value The relation of penetrating is sent to the Real Time Clock System, so that the Real Time Clock System is according to the summit temperature, the summit temperature Spending the mapping relations of corresponding summit ADC values and the temperature and frequency compensation value carries out corresponding alignment treatment.
The present invention provides a kind of calibration apparatus of Real Time Clock System, including:
Acquisition module, for gathering SOC in built-in temperature sensor current ADC values;
Acquisition module, for summit temperature, the corresponding summit ADC values of the summit temperature that basis is obtained in advance, and The temperature of default built-in temperature sensor and the change curve of ADC values, obtain the corresponding Current Temperatures of the current ADC values;
The acquisition module is additionally operable to inquire about the temperature of advance acquisition and the mapping relations of frequency compensation value, obtain with it is described The corresponding ongoing frequency offset of Current Temperatures;
Adjustment module, for according to the ongoing frequency offset, to the Real Time Clock System adjustment being carried out.
The present invention provides a kind of calibration apparatus of Real Time Clock System, including:
Transceiver module, for receive ADC values that the Real Time Clock System sends, with reference to ADC values, it is described real-time when Built-in temperature sensor in the mapping relations of the temperature of temperature calibration device and ADC values, the Real Time Clock System in master slave system Temperature and ADC values change curve and the pulse per second (PPS) without alignment treatment;Wherein, an ADC values are the temperature Demarcate the corresponding ADC values of magnitude of voltage of device;
Acquisition module, for according to the mapping relations of the temperature of the temperature calibration device and ADC values, obtaining and described the The corresponding reference temperature of one ADC values;And according to the reference temperature, with reference to ADC values and the temperature of the built-in temperature sensor The change curve of degree and ADC values, obtains summit ADC values corresponding with the summit temperature being pre-configured with;
The acquisition module is additionally operable to according to pulse per second (PPS), the default second arteries and veins ideally without alignment treatment The change of the change curve, the temperature of default quartz crystal and frequency of punching, the temperature of the built-in temperature sensor and ADC values Curve, the summit temperature and the corresponding summit ADC values of the summit temperature, the mapping for obtaining temperature and frequency compensation value is closed System;
The transceiver module is additionally operable to the summit temperature, the corresponding summit ADC values of the summit temperature and the temperature The mapping relations of degree and frequency compensation value are sent to the Real Time Clock System, so that the Real Time Clock System is according to the top The mapping relations of point temperature, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value are carried out accordingly Alignment treatment.
In the present invention, by the current ADC values of built-in temperature sensor in collection SOC, and according to acquisition in advance Summit temperature, the corresponding summit ADC values of the summit temperature, and the temperature and ADC values of default built-in temperature sensor Change curve, obtains the corresponding Current Temperatures of the current ADC values, then inquires about the temperature of advance acquisition and the mapping of frequency compensation value Relation, obtains corresponding with Current Temperatures ongoing frequency offset, finally, according to the current frequency compensation value, to this it is real-time when Master slave system carries out adjustment, so as to without the need for carry out carrying out prolonged equality of temperature standing before adjustment to Real Time Clock System just to realize Adjustment is carried out to Real Time Clock System, Real Time Clock System adjustment is reduced to the strict requirements on temperature and time, and then Improve the efficiency of adjustment.
Description of the drawings
Fig. 1 is the schematic flow sheet of the adjusting process embodiment one of Real Time Clock System of the present invention;
Fig. 2 is the schematic flow sheet of the adjusting process embodiment two of Real Time Clock System of the present invention;
Fig. 3 is the schematic flow sheet of the adjusting process embodiment three of Real Time Clock System of the present invention;
Fig. 4 is the schematic flow sheet of the adjusting process example IV of Real Time Clock System of the present invention;
Fig. 5 is the schematic flow sheet of the adjusting process embodiment five of Real Time Clock System of the present invention;
Fig. 6 is the structural representation of the calibration apparatus embodiment one of Real Time Clock System of the present invention;
Fig. 7 is the structural representation of the calibration apparatus embodiment two of Real Time Clock System of the present invention;
Fig. 8 is the structural representation of the calibration apparatus embodiment three of Real Time Clock System of the present invention;
Fig. 9 is the structural representation of the calibration apparatus example IV of Real Time Clock System of the present invention.
Specific embodiment
Fig. 1 is the schematic flow sheet of the adjusting process embodiment one of Real Time Clock System of the present invention.As shown in figure 1, the party The executive agent of method is Real Time Clock System, then the method includes:
Step 101:Collection SOC(system on a chip)(System on chip, hereinafter referred to as SOC)Built-in temperature sensor in chip Current voltage analog digital conversion(Analog to Digital, hereinafter referred to as ADC)Value.
Step 102:It is according to advance summit temperature, the corresponding summit ADC values of summit temperature for obtaining and default built-in The temperature of temperature sensor and the change curve of ADC values, obtain the corresponding Current Temperatures of current ADC values.
Step 103:Temperature and the mapping relations of frequency compensation value that inquiry is obtained in advance, obtain corresponding with Current Temperatures Ongoing frequency offset.
Step 104:According to ongoing frequency offset, adjustment is carried out to Real Time Clock System.
In the present embodiment, by gathering SOC in built-in temperature sensor current ADC values, and according to obtaining in advance Summit temperature, the corresponding summit ADC values of the summit temperature for taking, and the temperature and ADC values of default built-in temperature sensor Change curve, obtain the corresponding Current Temperatures of the current ADC values, then inquire about the temperature of advance acquisition and reflecting for frequency compensation value Relation is penetrated, ongoing frequency offset corresponding with Current Temperatures is obtained, it is finally, real-time to this according to the current frequency compensation value Clock system carries out adjustment, so as to without the need for Real Time Clock System is carried out carry out prolonged equality of temperature standing before adjustment just can be real Now adjustment is carried out to Real Time Clock System, reduce Real Time Clock System adjustment to the strict requirements on temperature and time, entered And improve the efficiency of adjustment.
Further, Fig. 2 is the schematic flow sheet of the adjusting process embodiment two of Real Time Clock System of the present invention, above-mentioned On the basis of embodiment shown in Fig. 1, before step 101, the method can also include:
Step 201:The magnitude of voltage of temperature calibration device and the reference of built-in temperature sensor in collection Real Time Clock System ADC values, and obtain an ADC values corresponding with the magnitude of voltage.
In the present embodiment, temperature calibration device is substantially a critesistor, but is not limited to critesistor, its electricity Pressure value variation with temperature and change.
Step 202:First ADC values, the mapping for referring to ADC values, the temperature of the temperature calibration device and ADC values are closed System and the temperature of the built-in temperature sensor and the change curve of ADC values are sent to adjustment system, for the adjustment system root According to the temperature and the mapping relations of ADC values of the temperature calibration device, reference temperature corresponding with an ADC values, and root are obtained According to the reference temperature, this with reference to ADC values and the built-in temperature sensor temperature and the change curve of ADC values, acquisition with it is pre- The corresponding summit ADC values of the summit temperature for first configuring.
Wherein, when an above-mentioned ADC values are initial(I.e. Real Time Clock System is before adjustment is carried out)Temperature calibration device ADC values, above-mentioned reference ADC values for it is initial when built-in temperature sensor ADC values.Because said temperature demarcates device and built-in Temperature sensor is in together inside Real Time Clock System, therefore, the temperature and Real Time Clock System corresponding to an above-mentioned ADC values The corresponding temperature of the reference ADC values of internal built-in temperature sensor is identical, i.e. the corresponding reference temperature of an ADC values is reference The corresponding temperature of ADC values.Also, it should be noted that the summit temperature in the present embodiment is the quartz-crystal in Real Time Clock System The summit temperature of body, it is that adjustment system is pre-configured with.
In addition, in the present embodiment, Real Time Clock System is by an above-mentioned ADC values, with reference to ADC values, the temperature calibration device The temperature of part and the change curve of the mapping relations of ADC values and the temperature of the built-in temperature sensor and ADC values pass through system Programming(In-System Programming, hereinafter referred to as ISP)Interface is sent to adjustment system, and adjustment system is according to thermometer scale The mapping relations of the temperature and ADC values of determining device obtain the corresponding reference temperature of an above-mentioned ADC values.Again due to temperature calibration device Part and SOC built-in temperature sensor are in together inside Real Time Clock System, i.e. temperature calibration device and the built-in temperature of SOC The degree ambient temperature that perceived of sensor is identical, therefore, the corresponding temperature of above-mentioned ADC values is SOC built-in temperature The corresponding temperature of sensor reference ADC value.Finally, adjustment system is according to reference temperature, with reference to ADC values, the summit of quartz crystal The change curve of the temperature and ADC values of temperature and built-in temperature sensor, the summit temperature for obtaining and being pre-configured with is corresponding Summit ADC values.
Step 203:Receive summit temperature and the corresponding summit ADC values of the summit temperature that the adjustment system sends.
In the present embodiment, the summit temperature and summit ADC values that adjustment system is pre-configured with this is sent to real-time clock System, so that the above-mentioned summit being pre-configured with that the Real Time Clock System is sent by the ISP interfaces adjustment system Temperature and the corresponding ADC values of summit temperature.
Furthermore it is preferred that in the present embodiment, a kind of specific implementation of step 102 is:
After the current ADC values for collecting SOC built-in temperature sensor, current ADC values and summit temperature pair are calculated The difference of the summit ADC values answered, if judging, current ADC values are more than or equal to 0 with the difference of summit ADC values, obtain in SOC Put the temperature of temperature sensor and the high-temperature region slope of ADC value changes curves, by the difference of current ADC values and summit ADC values and High-temperature region slope carries out ratio and can be obtained by current temperature offset amount, afterwards by above-mentioned reference temperature and current temperature Side-play amount is sued for peace, and further obtains the corresponding Current Temperatures of current ADC values.If judging, current ADC values are corresponding with summit temperature The difference of ADC values is less than 0, then the temperature of acquisition SOC built-in temperature sensor and the low-temperature space of ADC value changes curves are oblique Rate, carries out the difference of current ADC values and summit ADC values and low-temperature space slope ratio and can be obtained by current temperature drift Amount, afterwards sues for peace above-mentioned reference temperature with current temperature offset amount, further obtains the corresponding current temperature of current ADC values Degree.
Further, Fig. 3 is the schematic flow sheet of the adjusting process embodiment three of Real Time Clock System of the present invention.Upper On the basis of stating the embodiment shown in Fig. 2, after step 203, before step 101, the method can also include:
Step 301:Send without the pulse per second (PPS) of alignment treatment to the adjustment system, for the adjustment system according to this without The pulse per second (PPS) of alignment treatment, default pulse per second (PPS) ideally, the change curve of the temperature of default quartz crystal and frequency, The temperature of the built-in temperature sensor and the change curve of ADC values and the summit temperature and the corresponding summit of summit temperature ADC values, obtain the mapping relations of the temperature and frequency compensation value.
Step 302:Receive the temperature of adjustment system transmission and the mapping relations of frequency compensation value.
Specifically, Real Time Clock System leads to the temperature of SOC built-in temperature sensor and the change curve of ADC values Cross ISP interfaces and be sent to adjustment system, afterwards Real Time Clock System by ISP interfaces send a pulse per second (PPS) without adjustment to Adjustment system, adjustment system is poor with default pulse per second (PPS) ideally using the pulse per second (PPS) without adjustment for receiving Value, the relation being inversely proportional to using cycle and frequency obtains the corresponding fixed frequency offset of the difference at a temperature of summit.Adjustment in addition System is by using SOC built-in real-time clock(Real Time Clock, hereinafter referred to as RTC)The frequency departure of module is mended The numerical value increment of depositor is repaid, fixed frequency offset and numerical value increment are carried out into ratio, just obtain the corresponding frequency of summit temperature Offset.
Afterwards, temperature and the change curve of frequency of the adjustment system according to itself default quartz crystal(The curve is The curve that quartz crystal producer provides)And the summit temperature and the corresponding frequency compensation value of summit temperature of acquisition, so that it may obtain Corresponding frequency compensation value, the i.e. mapping relations of temperature and frequency compensation value under different temperatures, and send it to real-time clock System, temperature and the mapping relations of frequency compensation value that Real Time Clock System is sent by ISP interfaces adjustment system.
In the present embodiment, by being arranged on Real Time Clock System in the temperature of temperature calibration device and reflecting for ADC values Penetrate the characteristic of relation and its critesistor to demarcate the temperature of SOC built-in temperature sensor, due to built-in temperature sensing Device and temperature calibration device are arranged inside Real Time Clock System, therefore the two ambient temperature for perceiving is identical, so that it is guaranteed that warm Scale determines the temperature that device is capable of accurate calibration built-in temperature sensor, it is to avoid Real Time Clock System is carried out before adjustment it is long when Between equality of temperature stand, Real Time Clock System adjustment is reduced to the strict requirements on temperature and time, so as to improve adjustment Efficiency;Furthermore with the temperature and frequency variation curve of Real Time Clock System inner quartz crystal, summit temperature and summit are obtained The corresponding ADC values of temperature, and the pulse per second (PPS) without adjustment that sent using Real Time Clock System and the built-in RTC of SOC Module obtains the corresponding frequency compensation value of summit temperature and then obtains the mapping relations of temperature and frequency compensation value, real-time clock system The frequency compensation value that the mapping relations for inquiring about the temperature and frequency compensation value according to current temperature of uniting are obtained under Current Temperatures, enters And Real Time Clock System is compensated, it is ensured that Real Time Clock System exports the accuracy of pulse.
Fig. 4 is the schematic flow sheet of the adjusting process example IV of Real Time Clock System of the present invention.As shown in figure 4, the party The executive agent of method is adjustment system, then the method includes:
Step 401:Receive Real Time Clock System send an ADC values, with reference to temperature in ADC values, Real Time Clock System Demarcate the temperature of built-in temperature sensor and the change of ADC values in the temperature of device and mapping relations, the Real Time Clock System of ADC values Change curve and the pulse per second (PPS) without alignment treatment.
In the present embodiment, Real Time Clock System can perform the embodiment shown in above-mentioned Fig. 1 to Fig. 3 either method, its Realize that principle is similar, here is omitted.
Step 402:According to the temperature and the mapping relations of ADC values of the temperature calibration device, it is right with an ADC values to obtain The reference temperature answered;And according to the reference temperature, with reference to ADC values and the built-in temperature sensor temperature and ADC values change Change curve, obtain summit ADC values corresponding with the summit temperature being pre-configured with.
Step 403:According to the pulse per second (PPS) without alignment treatment, default pulse per second (PPS), built-in temperature biography ideally The temperature of sensor and the change curve of ADC values, the change curve of the temperature of the default quartz crystal and frequency, summit temperature and The corresponding summit ADC values of the summit temperature, obtain the mapping relations of temperature and frequency compensation value.
Step 404:By reflecting for summit temperature, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value The relation of penetrating is sent to Real Time Clock System, so that the Real Time Clock System is according to the summit temperature, the corresponding top of summit temperature The mapping relations of point ADC values and the temperature and frequency compensation value carry out corresponding alignment treatment.
Specifically, adjustment system is sent by ISP interfaces Real Time Clock System an ADC values, real-time clock system In system in the mapping relations of the temperature of temperature calibration device and ADC values, Real Time Clock System the temperature of built-in temperature sensor and The change curve of ADC values, adjustment system obtains above-mentioned first according to the temperature of temperature calibration device and the mapping relations of ADC values The corresponding temperature of ADC values, but temperature calibration device and SOC built-in temperature sensor be in together inside Real Time Clock System, Therefore temperature calibration device is identical with the ambient temperature that SOC built-in temperature sensor is perceived, then an above-mentioned ADC values are corresponding Temperature be SOC built-in temperature sensor with reference to the corresponding reference temperature of ADC values, adjustment system and according to above-mentioned in addition Reference temperature, with reference to ADC values and above-mentioned built-in temperature sensor temperature and ADC values change curve, obtain and match somebody with somebody in advance The corresponding ADC values of summit temperature put.
In addition, the pulse per second (PPS) without adjustment that adjustment system is sent by ISP interfaces Real Time Clock System, adjustment system System carries out difference using the pulse per second (PPS) without adjustment for receiving with default pulse per second (PPS) ideally, using cycle and frequency The relation being inversely proportional to obtains the corresponding frequency departure of summit temperature, and afterwards adjustment system is by using in Real Time Clock System The numerical value increment of the frequency departure offset registers of RTC block in SOC is put, by the corresponding frequency of above-mentioned summit temperature Deviation and numerical value increment carry out ratio, just obtain the corresponding frequency compensation value of summit temperature;Afterwards, adjustment system is pre- according to itself If the temperature of quartz crystal and the change curve of frequency and the corresponding frequency compensation value of the summit temperature of acquisition, so that it may obtain Corresponding frequency compensation value, the i.e. mapping relations of temperature and frequency compensation value under different temperatures, and be sent to by ISP interfaces To Real Time Clock System.
In the present embodiment, the temperature calibration device that adjustment system is sent by ISP interfaces Real Time Clock System The mapping relations and an ADC values of temperature and ADC values, determine the corresponding reference temperature of an ADC values, i.e. Real Time Clock System The reference temperature of middle SOC built-in temperature sensor, this avoid carries out the long-time before adjustment to Real Time Clock System Equality of temperature stands, and real-time clock adjustment is reduced to the strict requirements on temperature and time, so as to improve the efficiency of adjustment;Separately Outer adjustment system according to the temperature of the corresponding summit ADC values of summit temperature, summit temperature and quartz crystal being pre-configured with and Frequency variation curve, obtains the mapping relations of temperature and frequency compensation value, and by the temperature and the mapping relations of frequency compensation value Real Time Clock System is sent to, so that Real Time Clock System can inquire about the temperature and frequency compensation value according to current temperature Mapping relations determining the corresponding ongoing frequency offset of Current Temperatures, and then Real Time Clock System is compensated, so as to Just can realize carrying out Real Time Clock System without the need for carry out carrying out prolonged equality of temperature standing before adjustment to Real Time Clock System Adjustment, reduces Real Time Clock System adjustment to the strict requirements on temperature and time, and then improves the efficiency of adjustment.
Fig. 5 is the schematic flow sheet of the adjusting process embodiment five of Real Time Clock System of the present invention.As shown in figure 5, the party The executive agent of method is adjustment system, then the method includes:
Step 501:Receive Real Time Clock System send an ADC values, with reference to temperature in ADC values, Real Time Clock System Demarcate the temperature of built-in temperature sensor and the change of ADC values in the temperature of device and mapping relations, the Real Time Clock System of ADC values Change curve and the pulse per second (PPS) without alignment treatment.
In the present embodiment, Real Time Clock System can perform the embodiment shown in above-mentioned Fig. 1 to Fig. 3 either method, its Realize that principle is similar, here is omitted.
Step 502:According to the temperature and the mapping relations of ADC values of the temperature calibration device, it is right with an ADC values to obtain The reference temperature answered;And according to the reference temperature, with reference to ADC values and the built-in temperature sensor temperature and ADC values change Change curve, obtain summit ADC values corresponding with the summit temperature being pre-configured with.
Step 503:According to described pulse per second (PPS), default pulse per second (PPS), built-in temperature ideally without alignment treatment The temperature of degree sensor and change curve, the change curve of the temperature of the default quartz crystal and frequency, the summit temperature of ADC values Degree and the corresponding summit ADC values of the summit temperature, obtain the mapping relations of temperature and frequency compensation value.
Step 504:Pulse per second (PPS) after collection Real Time Clock System adjustment.
Step 505:Judge whether the pulse per second (PPS) after adjustment meets adjustment condition.It is if judging, execution step 506; If judging no, execution step 507.
Step 506:Adjustment success, the successful result of output adjustment.Adjustment terminates.
Step 507:Adjustment fails, and exports adjustment failure result and parameter.
Specifically, adjustment system is sent by ISP interfaces Real Time Clock System an ADC values, real-time clock system In system in the mapping relations of the temperature of temperature calibration device and ADC values, Real Time Clock System the temperature of built-in temperature sensor and The change curve of ADC values, adjustment system obtains above-mentioned first according to the temperature of temperature calibration device and the mapping relations of ADC values The corresponding temperature of ADC values, but temperature calibration device and SOC built-in temperature sensor be in together inside Real Time Clock System, Therefore temperature calibration device is identical with the ambient temperature that SOC built-in temperature sensor is perceived, then an above-mentioned ADC values are corresponding Temperature be SOC built-in temperature sensor with reference to the corresponding reference temperature of ADC values, adjustment system and according to above-mentioned in addition Reference temperature, with reference to ADC values and above-mentioned built-in temperature sensor temperature and ADC values change curve, obtain and match somebody with somebody in advance The corresponding ADC values of summit temperature put.
In addition, the pulse per second (PPS) without adjustment that adjustment system is sent by ISP interfaces Real Time Clock System, adjustment system System carries out difference using the pulse per second (PPS) without adjustment for receiving with default pulse per second (PPS) ideally, using cycle and frequency The relation being inversely proportional to obtains the corresponding frequency departure of summit temperature, and afterwards adjustment system is by using in Real Time Clock System The numerical value increment of the frequency departure offset registers of RTC block in SOC is put, by the corresponding frequency departure of summit temperature Ratio is carried out with numerical value increment, the corresponding frequency compensation value of summit temperature is just obtained;Afterwards, adjustment system is according to default quartz The temperature of crystal and the change curve of frequency and the corresponding frequency compensation value of the summit temperature of acquisition, so that it may obtain different temperatures Under corresponding frequency compensation value, the i.e. mapping relations of temperature and frequency compensation value;Then adjustment system is according to the reference temperature for obtaining Reference frequency offset under degree carries out alignment treatment to the received pulse per second (PPS) without adjustment.
Afterwards, the pulse per second (PPS) after adjustment system measurement adjustment, if the pulse per second (PPS) after adjustment meets adjustment condition, tune herein School condition is adjusting accuracy, even scope of the frequency departure of the pulse per second (PPS) after adjustment in set frequency departure degree of stability Interior, then adjustment system exports the successful result of adjustment, so that user is known in real time according to the adjustment result that adjustment system shows Whether the adjustment of clock system is successful, if the frequency departure of the pulse per second (PPS) after adjustment system measurement adjustment is not in set frequency In the range of deviation degree of stability, then adjustment failure, adjustment system can export adjustment failure result and parameter, and the parameter includes tune Frequency departure precision of pulse per second (PPS) behind school etc., so that research staff is made to the adjustment according to the adjustment failure information and parameter The next step of system is indicated.
In the present embodiment, the temperature calibration device that adjustment system is sent by ISP interfaces Real Time Clock System The mapping relations and an ADC values of temperature and ADC values, determine the corresponding reference temperature of an ADC values, i.e. Real Time Clock System The reference temperature of middle SOC built-in temperature sensor, this avoid carries out the long-time before adjustment to Real Time Clock System Equality of temperature stand, real-time clock adjustment is reduced to the strict requirements on temperature and time, so as to improve the efficiency of adjustment; Pulse per second (PPS) of the adjustment system after to the adjustment for exporting in addition is measured and judges whether it meets adjustment condition, is judging to adjust Pulse per second (PPS) behind school is met after adjustment condition, by calculating process the mapping relations of the temperature that obtains and frequency compensation value and be sent to Real Time Clock System, so that Real Time Clock System can inquire about the mapping of the temperature and frequency compensation value according to current temperature Relation is compensated determining the corresponding ongoing frequency offset of Current Temperatures to Real Time Clock System, it is to avoid in adjustment Adjustment and frequency compensation are carried out to Real Time Clock System in the case of precision is inaccurate, which ensures that Real Time Clock System is defeated Go out the accuracy of pulse.
Fig. 6 is the structural representation of the calibration apparatus embodiment one of Real Time Clock System of the present invention, as shown in fig. 6, the dress Put including:Acquisition module 61, acquisition module 62 and adjustment module 63, wherein, acquisition module 61, for gathering SOC in The current ADC values of built-in temperature sensor;Acquisition module 62, for according to summit temperature, the summit temperature pair for obtaining in advance The summit ADC values answered, and the temperature and the change curve of ADC values of default built-in temperature sensor, obtain current ADC values right The Current Temperatures answered;The acquisition module 62 is additionally operable to inquire about the temperature of advance acquisition and the mapping relations of frequency compensation value, obtains Take ongoing frequency offset corresponding with the Current Temperatures;Adjustment module 63 is right for according to the described current frequency compensation value The described Real Time Clock System carries out adjustment.
The calibration apparatus of the Real Time Clock System of the present embodiment can perform embodiment of the method shown in Fig. 1, and it realizes principle Similar, here is omitted.
In the present embodiment, the summit temperature that obtained in advance by acquisition module, the corresponding summit ADC values of summit temperature, Reference temperature and the corresponding reference ADC values of the reference temperature, can obtain the current of built-in temperature sensor in current SOC The corresponding Current Temperatures of ADC values, and the mapping relations of the temperature and frequency compensation value for obtaining in advance are inquired about, obtain and Current Temperatures Corresponding ongoing frequency offset, last adjustment module carries out adjustment to Real Time Clock System according to ongoing frequency offset, solution Because clock adjustment system to Real Time Clock System before adjustment is carried out in prior art of having determined, long-time is needed to enter trip temperature Equilibrium, so that the ambient temperature for ensureing clock adjustment system is identical with the ambient temperature of Real Time Clock System the efficiency of adjustment is caused Relatively low problem, so as to improve the efficiency of adjustment.
Fig. 7 is the structural representation of the calibration apparatus embodiment two of Real Time Clock System of the present invention, real shown in above-mentioned Fig. 6 On the basis of applying example, above-mentioned acquisition module 61 is specifically additionally operable to gather the voltage of temperature calibration device in above-mentioned Real Time Clock System The reference ADC values of value and above-mentioned built-in temperature sensor;Above-mentioned acquisition module 62, is additionally operable to obtain corresponding with above-mentioned magnitude of voltage First ADC values.
The device also includes transceiver module 64, for an above-mentioned ADC values, above-mentioned reference ADC values, said temperature to be demarcated The change curve of the temperature and ADC values of the temperature of device and the mapping relations of ADC values and above-mentioned built-in temperature sensor sends To adjustment system, so that the adjustment system is according to the temperature of the temperature calibration device and the mapping relations of ADC values, obtain with it is above-mentioned The corresponding reference temperature of first ADC values;And according to above-mentioned reference temperature, above-mentioned reference ADC values, the summit temperature of quartz crystal with And the temperature and the change curve of ADC values of above-mentioned built-in temperature sensor, obtain with the above-mentioned summit temperature pair being pre-configured with The summit ADC values answered;The summit temperature that transceiver module 64 is additionally operable to receive above-mentioned adjustment system transmission is corresponding with the summit temperature Summit ADC values.
Preferably, transceiver module 64 is additionally operable to be sent without the pulse per second (PPS) of alignment treatment, for institute to the adjustment system Adjustment system is stated according to pulse per second (PPS), default pulse per second (PPS), the default quartz crystal ideally without alignment treatment Temperature and the change curve of frequency, the change curve of the temperature of the built-in temperature sensor and ADC values and the summit Temperature and the corresponding summit ADC values of the summit temperature, obtain the mapping relations of the temperature and frequency compensation value;Transceiver module 64 are additionally operable to receive the temperature of above-mentioned adjustment system transmission and the mapping relations of frequency compensation value.
The calibration apparatus of the Real Time Clock System of the present embodiment can perform embodiment of the method shown in Fig. 2 and Fig. 3, its realization Principle is similar, and here is omitted.
In the present embodiment, acquisition module obtains summit temperature, the corresponding summit ADC of summit temperature by transceiver module Value, reference temperature and the corresponding reference ADC values of the reference temperature, and then to the SOC built-in temperature in Real Time Clock System The temperature that sensor is perceived is demarcated, it is ensured that the environment for being perceived of acquisition module and SOC built-in temperature sensor Temperature is identical, i.e., acquisition module can prepare to demarcate the temperature that perceived of SOC built-in temperature sensor, it is to avoid to it is real-time when Master slave system carries out the standing of the long-time equality of temperature before adjustment, reduces Real Time Clock System adjustment to strict on temperature and time Require, so as to improve the efficiency of adjustment;Temperature is obtained additionally by acquisition module and transceiver module collective effect and frequency is mended The mapping relations of value are repaid, Real Time Clock System is obtained according to the mapping relations that current temperature inquires about the temperature and frequency compensation value Frequency compensation value under Current Temperatures, and then Real Time Clock System is compensated, it is ensured that Real Time Clock System exports pulse Accuracy.
Fig. 8 is the structural representation of the calibration apparatus embodiment three of Real Time Clock System of the present invention, as shown in figure 8, the dress Put including:Transceiver module 71 and acquisition module 72, wherein, transceiver module 71, for receiving what above-mentioned Real Time Clock System sent First ADC values, the mapping relations of the temperature with reference to temperature calibration device in ADC values, above-mentioned Real Time Clock System and ADC values, on State the change curve and the second arteries and veins without alignment treatment of the temperature of built-in temperature sensor and ADC values in Real Time Clock System Punching;Wherein, an above-mentioned ADC values are the corresponding ADC values of the temperature calibration device;Transceiver module 71 is additionally operable to above-mentioned summit The mapping relations of temperature, the corresponding summit ADC values of above-mentioned summit temperature and said temperature and frequency compensation value are sent to above-mentioned reality When clock system, for above-mentioned Real Time Clock System according to above-mentioned summit temperature, the corresponding summit ADC values of above-mentioned summit temperature and The mapping relations of said temperature and frequency compensation value carry out corresponding alignment treatment;Acquisition module 72, for according to said temperature The temperature of device and the mapping relations of ADC values are demarcated, reference temperature corresponding with an above-mentioned ADC values is obtained;And according to above-mentioned Reference temperature, with reference to the change curve of ADC values, the temperature of summit temperature and above-mentioned built-in temperature sensor and ADC values, obtain Summit ADC values corresponding with the summit temperature being pre-configured with;Acquisition module 72 be additionally operable to according to without alignment treatment pulse per second (PPS), Default pulse per second (PPS), the change curve of the temperature of above-mentioned built-in temperature sensor and ADC values, above-mentioned default stone ideally The temperature of English crystal and the change curve of frequency, said temperature demarcate the temperature of device and mapping relations, the above-mentioned summit of ADC values Temperature and the corresponding summit ADC values of above-mentioned summit temperature, obtain the mapping relations of temperature and frequency compensation value.
The calibration apparatus of the Real Time Clock System of the present embodiment can perform embodiment of the method shown in Fig. 4, and it realizes principle Similar, here is omitted.
In the present embodiment, adjustment system receives the temperature calibration device that Real Time Clock System sends by transceiver module The mapping relations and an ADC values of temperature and ADC values, determine the corresponding reference temperature of an ADC values, i.e. Real Time Clock System The reference temperature of middle SOC built-in temperature sensor, this avoid carries out the long-time before adjustment to Real Time Clock System Equality of temperature stands, and Real Time Clock System adjustment is reduced to the strict requirements on temperature and time, so as to improve the effect of adjustment Rate;In addition the mapping relations that acquisition module calculating processes the temperature and frequency compensation value for obtaining are passed through transceiver module by adjustment system Real Time Clock System is sent to, so that Real Time Clock System can inquire about the temperature and frequency compensation value according to current temperature Mapping relations determining the corresponding ongoing frequency offset of Current Temperatures, and then Real Time Clock System is compensated, it is ensured that Real Time Clock System exports the accuracy of pulse.
Fig. 9 is the structural representation of the calibration apparatus example IV of Real Time Clock System of the present invention, real shown in above-mentioned Fig. 8 On the basis of applying example, the device also includes acquisition module 73 and judge module 74.Wherein, acquisition module 73, it is above-mentioned for gathering Pulse per second (PPS) after Real Time Clock System adjustment;Judge module 74, if whether the pulse per second (PPS) after for judging adjustment meets adjustment bar Part, if then the transceiver module 71 is additionally operable to the judge module 74 and judges that the pulse per second (PPS) after the adjustment meets institute's tune School condition, then export the successful result of adjustment;If transceiver module 71 is additionally operable to the judge module 74 judging after the adjustment Pulse per second (PPS) be unsatisfactory for the adjustment condition, then export adjustment failure result and parameter.
The calibration apparatus of the Real Time Clock System of the present embodiment can perform embodiment of the method shown in Fig. 5, and it realizes principle Similar, here is omitted.
In the present embodiment, adjustment system transceiver module receives the temperature of the temperature calibration device that Real Time Clock System sends With the mapping relations and an ADC values of ADC values and send acquisition module to, acquisition module demarcates device according to said temperature The mapping relations of temperature and ADC values determine the corresponding reference temperature of an ADC values, i.e., SOC is built-in in Real Time Clock System The reference temperature of temperature sensor, this avoid carries out the standing of the prolonged equality of temperature before adjustment, drop to Real Time Clock System Low Real Time Clock System adjustment to the strict requirements on temperature and time, so as to improve the efficiency of adjustment;Adjustment in addition System gathers the pulse per second (PPS) after Real Time Clock System adjustment by acquisition module, and after adjustment of the judge module to output Pulse per second (PPS) is measured and judges whether it meets adjustment condition, and the pulse per second (PPS) after adjustment is judged is met after adjustment condition, output The successful result of adjustment, and then so that Real Time Clock System can inquire about the temperature and frequency compensation value according to current temperature Mapping relations determining the corresponding ongoing frequency offset of Current Temperatures, and then Real Time Clock System is compensated, it is to avoid Adjustment and frequency compensation are carried out to Real Time Clock System in the case of adjusting accuracy is inaccurate, real-time clock is which ensures that System exports the accuracy of pulse.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only to illustrate technical scheme, rather than a limitation;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, either which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, do not make the essence disengaging various embodiments of the present invention technology of appropriate technical solution The scope of scheme.

Claims (8)

1. a kind of adjusting process of Real Time Clock System, it is characterised in that include:
The current ADC values of built-in temperature sensor in collection SOC;
Sensed according to advance summit temperature, the corresponding summit ADC values of the summit temperature for obtaining, and default built-in temperature The temperature of device and the change curve of ADC values, obtain the corresponding Current Temperatures of the current ADC values;
Temperature and the mapping relations of frequency compensation value that inquiry is obtained in advance, obtain ongoing frequency corresponding with the Current Temperatures Offset;
According to the ongoing frequency offset, adjustment is carried out to the Real Time Clock System;
The summit temperature and the corresponding summit ADC value acquisition modes of the summit temperature are:
Gather the reference ADC of the magnitude of voltage of temperature calibration device and the built-in temperature sensor in the Real Time Clock System Value, and obtain an ADC values corresponding with the magnitude of voltage;
By the mapping relations of an ADC values, the reference ADC values, the temperature of the temperature calibration device and ADC values and The temperature of the built-in temperature sensor and the change curve of ADC values are sent to adjustment system, for the adjustment system according to The temperature of the temperature calibration device and the mapping relations of ADC values, obtain reference temperature corresponding with an ADC values, and According to the change curve of the reference temperature, the temperature of the reference ADC values and the built-in temperature sensor and ADC values, Obtain summit ADC values corresponding with the summit temperature being pre-configured with;
Receive the summit temperature and the corresponding summit ADC values of the summit temperature that the adjustment system sends;
Wherein, the basis is obtained in advance summit temperature, the corresponding summit ADC values of the summit temperature, and it is default interior The temperature of temperature sensor and the change curve of ADC values are put, the corresponding Current Temperatures of the current ADC values is obtained and is specifically included:
The difference of current ADC values summit ADC values corresponding with the summit temperature is calculated, the difference is built-in with described The temperature and ADC value changes slope of a curve of temperature sensor is carried out than being worth to current temperature offset amount, by the reference Temperature and the current temperature offset amount summation, obtain the corresponding Current Temperatures of the current ADC values;Wherein, if judging institute Difference is stated more than or equal to 0, the slope is that the high-temperature region of the temperature of the built-in temperature sensor and ADC value changes curves is oblique Rate;If judging the difference less than 0, the slope is the low of the temperature of the built-in temperature sensor and ADC value changes curves Warm area slope.
2. the adjusting process of Real Time Clock System according to claim 1, it is characterised in that the temperature and frequency compensation The acquisition modes of the mapping relations of value are:
To the adjustment system send without alignment treatment pulse per second (PPS), for the adjustment system according to it is described without adjustment at The pulse per second (PPS) of reason, default pulse per second (PPS) ideally, the change curve of the temperature of default quartz crystal and frequency, it is described in Put the temperature of temperature sensor and the change curve of ADC values and the summit temperature and the corresponding summit of the summit temperature ADC values, obtain the mapping relations of the temperature and frequency compensation value;
Receive the temperature of the adjustment system transmission and the mapping relations of frequency compensation value.
3. a kind of adjusting process of Real Time Clock System, it is characterised in that include:
Receive ADC values that the Real Time Clock System sends, with reference to temperature calibration in ADC values, the Real Time Clock System The temperature of built-in temperature sensor and the change of ADC values in the temperature of device and the mapping relations of ADC values, the Real Time Clock System Change curve and the pulse per second (PPS) without alignment treatment;Wherein, an ADC values are the magnitude of voltage pair of the temperature calibration device The ADC values answered;
According to the temperature and the mapping relations of ADC values of the temperature calibration device, reference corresponding with an ADC values is obtained Temperature;And according to the reference temperature, it is bent with reference to the change of the temperature and ADC values of ADC values and the built-in temperature sensor Line, obtains summit ADC values corresponding with the summit temperature being pre-configured with;
According to the pulse per second (PPS) without alignment treatment, default pulse per second (PPS) ideally, the built-in temperature sensor The change curve of temperature and ADC values, the change curve of the temperature of default quartz crystal and frequency, the summit temperature and described The corresponding summit ADC values of summit temperature, obtain the mapping relations of temperature and frequency compensation value;
The mapping of the summit temperature, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value is closed System is sent to the Real Time Clock System, so that the Real Time Clock System is according to the summit temperature, the summit temperature pair The summit ADC values answered and the mapping relations of the temperature and frequency compensation value carry out corresponding alignment treatment;
Wherein, the corresponding summit ADC values of the summit temperature are used for, the Real Time Clock System calculate current ADC values with it is described The difference of the corresponding summit ADC values of summit temperature, by the temperature and ADC value changes of the difference and the built-in temperature sensor Slope of a curve is carried out than being worth to current temperature offset amount, and the reference temperature is asked with the current temperature offset amount With obtain the corresponding Current Temperatures of the current ADC values;Wherein, if judging the difference more than or equal to 0, the slope is institute State the temperature of built-in temperature sensor and the high-temperature region slope of ADC value changes curves;It is described oblique if judging the difference less than 0 Rate is the low-temperature space slope of the temperature of the built-in temperature sensor and ADC value changes curves.
4. the adjusting process of Real Time Clock System according to claim 3, it is characterised in that described by the summit temperature The mapping relations of degree, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value are sent to described real-time After clock system, methods described also includes:
Gather the pulse per second (PPS) after the adjustment of the Real Time Clock System;
If the pulse per second (PPS) after the Real Time Clock System adjustment meets adjustment condition, the successful result of output adjustment;
If pulse per second (PPS) is unsatisfactory for adjustment condition, output adjustment failure result and parameter after the Real Time Clock System adjustment.
5. a kind of calibration apparatus of Real Time Clock System, it is characterised in that include:
Acquisition module, for gathering SOC in built-in temperature sensor current ADC values;
Acquisition module, for according to summit temperature, the corresponding summit ADC values of the summit temperature for obtaining in advance and default Built-in temperature sensor temperature and the change curve of ADC values, obtain the corresponding Current Temperatures of the current ADC values;
The acquisition module is additionally operable to inquire about the temperature of advance acquisition and the mapping relations of frequency compensation value, obtains current with described The corresponding ongoing frequency offset of temperature;
Adjustment module, for according to the ongoing frequency offset, to the Real Time Clock System adjustment being carried out;
The acquisition module is additionally operable to gather the magnitude of voltage of temperature calibration device and the built-in temperature in the Real Time Clock System The reference ADC values of degree sensor;
The acquisition module is additionally operable to obtain an ADC values corresponding with the magnitude of voltage;
Described device also includes:
Transceiver module, for by an ADC values, the reference ADC values, the temperature of the temperature calibration device and ADC values Mapping relations and the temperature of the built-in temperature sensor and the change curve of ADC values be sent to adjustment system, for institute Adjustment system is stated according to the temperature of the temperature calibration device and the mapping relations of ADC values, is obtained corresponding with an ADC values Reference temperature, and according to the temperature and ADC of the reference temperature, the reference ADC values and the built-in temperature sensor The change curve of value, obtains summit ADC values corresponding with the summit temperature being pre-configured with;
The summit temperature and the summit temperature that the transceiver module is additionally operable to receive the adjustment system transmission is corresponding Summit ADC values;
Wherein, the acquisition module, specifically for:
The difference of current ADC values summit ADC values corresponding with the summit temperature is calculated, the difference is built-in with described The temperature and ADC value changes slope of a curve of temperature sensor is carried out than being worth to current temperature offset amount, by the reference Temperature and the current temperature offset amount summation, obtain the corresponding Current Temperatures of the current ADC values;Wherein, if judging institute Difference is stated more than or equal to 0, the slope is that the high-temperature region of the temperature of the built-in temperature sensor and ADC value changes curves is oblique Rate;If judging the difference less than 0, the slope is the low of the temperature of the built-in temperature sensor and ADC value changes curves Warm area slope.
6. calibration apparatus of Real Time Clock System according to claim 5, it is characterised in that the transceiver module is additionally operable to Send without the pulse per second (PPS) of alignment treatment to the adjustment system, for the adjustment system according to described without alignment treatment Pulse per second (PPS), default pulse per second (PPS), the change curve of the temperature of default quartz crystal and frequency, the built-in temperature ideally The temperature of degree sensor and the change curve and the summit temperature and the corresponding summit ADC values of the summit temperature of ADC values, Obtain the mapping relations of the temperature and frequency compensation value;
The transceiver module is additionally operable to receive the temperature of the adjustment system transmission and the mapping relations of frequency compensation value.
7. a kind of calibration apparatus of Real Time Clock System, it is characterised in that include:
Transceiver module, for receiving an ADC values of the Real Time Clock System transmission, with reference to ADC values, the real-time clock system In system in the mapping relations of the temperature of temperature calibration device and ADC values, the Real Time Clock System built-in temperature sensor temperature The change curve and the pulse per second (PPS) without alignment treatment of degree and ADC values;Wherein, an ADC values are the temperature calibration The corresponding ADC values of magnitude of voltage of device;
Acquisition module, for according to the mapping relations of the temperature of the temperature calibration device and ADC values, obtaining and described first The corresponding reference temperature of ADC values;And according to the reference temperature, with reference to ADC values and the temperature of the built-in temperature sensor With the change curve of ADC values, summit ADC values corresponding with the summit temperature being pre-configured with are obtained;
The acquisition module is additionally operable to according to pulse per second (PPS), default pulse per second (PPS), the institute ideally without alignment treatment State the temperature of built-in temperature sensor and the change curve of ADC values, the change curve of the temperature of default quartz crystal and frequency, The summit temperature and the corresponding summit ADC values of the summit temperature, obtain the mapping relations of temperature and frequency compensation value;
The transceiver module be additionally operable to the summit temperature, the corresponding summit ADC values of the summit temperature and the temperature and The mapping relations of frequency compensation value are sent to the Real Time Clock System, so that the Real Time Clock System is according to the summit temperature The mapping relations of degree, the corresponding summit ADC values of the summit temperature and the temperature and frequency compensation value carry out corresponding adjustment Process;
Wherein, the corresponding summit ADC values of the summit temperature are used for, the Real Time Clock System calculate current ADC values with it is described The difference of the corresponding summit ADC values of summit temperature, by the temperature and ADC value changes of the difference and the built-in temperature sensor Slope of a curve is carried out than being worth to current temperature offset amount, and the reference temperature is asked with the current temperature offset amount With obtain the corresponding Current Temperatures of the current ADC values;Wherein, if judging the difference more than or equal to 0, the slope is institute State the temperature of built-in temperature sensor and the high-temperature region slope of ADC value changes curves;It is described oblique if judging the difference less than 0 Rate is the low-temperature space slope of the temperature of the built-in temperature sensor and ADC value changes curves.
8. calibration apparatus of Real Time Clock System according to claim 7, it is characterised in that also include:
Acquisition module, for gathering the Real Time Clock System adjustment after pulse per second (PPS);
Judge module, for judging adjustment after pulse per second (PPS) whether meet adjustment condition;
If the transceiver module is additionally operable to the judge module judges that the pulse per second (PPS) after the adjustment meets the adjustment condition, Then export the successful result of adjustment;
If the transceiver module is additionally operable to the judge module judges that the pulse per second (PPS) after the adjustment is unsatisfactory for the adjustment bar Part, then export adjustment failure result and parameter.
CN201310047331.6A 2013-02-06 2013-02-06 Method and device for adjusting real time clock system Active CN103970184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310047331.6A CN103970184B (en) 2013-02-06 2013-02-06 Method and device for adjusting real time clock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310047331.6A CN103970184B (en) 2013-02-06 2013-02-06 Method and device for adjusting real time clock system

Publications (2)

Publication Number Publication Date
CN103970184A CN103970184A (en) 2014-08-06
CN103970184B true CN103970184B (en) 2017-05-17

Family

ID=51239808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310047331.6A Active CN103970184B (en) 2013-02-06 2013-02-06 Method and device for adjusting real time clock system

Country Status (1)

Country Link
CN (1) CN103970184B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9470726B2 (en) * 2014-10-27 2016-10-18 Maxim Integrated Products, Inc. Temperature compensated real-time clock
CN105049391A (en) * 2015-07-07 2015-11-11 深圳市广和通无线股份有限公司 Temperature compensating method of communication module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101922981A (en) * 2010-09-10 2010-12-22 中冶南方(武汉)自动化有限公司 Thermistor temperature detecting method based on DSP (Digital Signal Processing)
CN102025368A (en) * 2009-09-19 2011-04-20 无锡爱睿芯电子有限公司 Temperature sensing oscillator and production method thereof as well as temperature frequency correction system
CN102545778A (en) * 2010-12-30 2012-07-04 苏州银河龙芯科技有限公司 Closed-loop temperature compensation method and device for clock crystal oscillator
CN203340020U (en) * 2013-06-04 2013-12-11 京信通信技术(广州)有限公司 Crystal oscillator frequency temperature compensation device
CN103457601A (en) * 2012-06-04 2013-12-18 美国博通公司 Common reference crystal systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025368A (en) * 2009-09-19 2011-04-20 无锡爱睿芯电子有限公司 Temperature sensing oscillator and production method thereof as well as temperature frequency correction system
CN101922981A (en) * 2010-09-10 2010-12-22 中冶南方(武汉)自动化有限公司 Thermistor temperature detecting method based on DSP (Digital Signal Processing)
CN102545778A (en) * 2010-12-30 2012-07-04 苏州银河龙芯科技有限公司 Closed-loop temperature compensation method and device for clock crystal oscillator
CN103457601A (en) * 2012-06-04 2013-12-18 美国博通公司 Common reference crystal systems
CN203340020U (en) * 2013-06-04 2013-12-11 京信通信技术(广州)有限公司 Crystal oscillator frequency temperature compensation device

Also Published As

Publication number Publication date
CN103970184A (en) 2014-08-06

Similar Documents

Publication Publication Date Title
US10448928B2 (en) Method and device for detecting physiological index
JP2023134555A (en) Blood glucose tracking system
CN107228719A (en) Temperature correction method, module to be measured and temperature calibration instrument
CN204542117U (en) A kind of multi-mode continuous blood pressure measurer
CN101562451B (en) Precise domestication conserving method of second-level frequency scale
CN103162901A (en) Nonlinear calibrating method for multiple temperature points of pressure sensor
CN104367308B (en) A kind of can external pressure calibration electronic sphygmomanometer
CN109259330A (en) Electronic cigarette system, control method, electronic cigarette and storage medium
CN104254761A (en) Sensor time synchronization
CN103528714B (en) The temperature calibration instrument of integrated CMOS temperature sensor and method
CN103970184B (en) Method and device for adjusting real time clock system
CN103138756A (en) Atomic frequency standard servo method with temperature compensation and circuit
CN104849523A (en) Single-phase watt-hour meter temperature compensation method
CN102662107A (en) Micro control unit (MCU) built-in reference temperature compensation method based on system on chip (SOC) electric meter
CN107272821A (en) Calibration method of real-time clock and device, storage medium, electronic equipment
CN106528323B (en) A kind of Nand flash data calibration method and system
CN105180995B (en) A kind of measurement calibration system and method
Beltrán Jimenez et al. Exact mapping between tensor and most general scalar power spectra
CN101252357B (en) Method for correcting parameter
CN204394476U (en) A kind of intelligent mobile terminal infrared radiation thermometer
CN106483486B (en) A kind of continuous wave power probe power calibration system and method
CN111308881B (en) Rubidium clock temperature characteristic calibration method and calibration compensation device
CN109374129B (en) Laser based on strain signal reproduction, which declines, swings chamber precision dress calibration method and dress calibration device
CN108471960A (en) The compensation method of blood pressure detecting signal sampling and device and blood pressure signal acquisition system
WO2018126366A1 (en) Temperature measurement method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 200235 Shanghai city Xuhui District Longcao Road No. 299 Tianhua Information Technology Park Building 2 floor A block 5

Applicant after: SHANGHAI EASTSOFT MICROELECTRONICS Co.,Ltd.

Address before: 200235 Shanghai city Xuhui District Longcao Road No. 299 Tianhua Information Technology Park Building 2 floor A block 5

Applicant before: SHANGHAI HAIER INTEGRATED CIRCUIT Co.,Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230905

Address after: 200235 5th floor, block a, building 2, Tianhua Information Technology Park, 299 Longcao Road, Xuhui District, Shanghai

Patentee after: SHANGHAI EASTSOFT MICROELECTRONICS Co.,Ltd.

Patentee after: QINGDAO EASTSOFT COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 200235 5th floor, block a, building 2, Tianhua Information Technology Park, 299 Longcao Road, Xuhui District, Shanghai

Patentee before: SHANGHAI EASTSOFT MICROELECTRONICS Co.,Ltd.