CN107579723A - A kind of method and apparatus of calibrating clock frequency - Google Patents
A kind of method and apparatus of calibrating clock frequency Download PDFInfo
- Publication number
- CN107579723A CN107579723A CN201710659545.7A CN201710659545A CN107579723A CN 107579723 A CN107579723 A CN 107579723A CN 201710659545 A CN201710659545 A CN 201710659545A CN 107579723 A CN107579723 A CN 107579723A
- Authority
- CN
- China
- Prior art keywords
- clock signal
- clock
- frequency
- count value
- parameter adjustable
- 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
Links
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Manipulation Of Pulses (AREA)
Abstract
The embodiment of the invention discloses a kind of method and apparatus of calibrating clock frequency, including:Clock detection circuit, the clock signal exported for timing to Parameter adjustable oscillator counts to get count value, the absolute value for judging the difference of obtained count value and expectation count value is more than or equal to predetermined threshold value, to the calibration enable signal of circuit output first, working condition is entered with control calibration circuit;Circuit being calibrated, entering working condition during for receiving the first enable signal, according to obtained count value to Parameter adjustable oscillator output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;Parameter adjustable oscillator, for the clock signal of output to be output into clock detection circuit and other circuits based on clock signal duty, the frequency of clock signal is adjusted according to control signal.The embodiment of the present invention reduces influence of the change of surrounding environment and application temperature to the clock frequency of oscillator, improves the precision of the frequency of oscillator;And reduce power consumption.
Description
Technical field
The present invention relates to integrated circuit fields, espespecially a kind of method and apparatus of calibrating clock frequency.
Background technology
In recent years, application of the electronic technology in the field such as medical treatment, finance, Internet of Things provides newly for the development of integrated circuit
Direction, also driven the rapid development of IC industry.Consumer electronics from traditional electronic product, as computer,
Mobile phone, household electrical appliance etc. have developed into some new electronic products, as all-purpose card, contact-free integrated circuit (IC,
Integrated Circuit) card, Intelligent hardware etc..The clock frequency more and more higher of IC chip at present, while this
Higher and higher requirement is proposed to the clock signal of whole system.When the working frequency of IC chip reaches GHz
(GHz) when, the stability of clock signal directly affects the performance of chip, or even can generating function mistake.Oscillator conduct
A kind of frequency source plays very important effect in electronics, communication equipment.
The precision of the clock frequency of oscillator output is determined by parameters such as its internal resistance and electric capacity, and these parameters
Easily influenceed by semiconductor fabrication process, in the implementation process of technique, it is inclined that resistance and electric capacity there may be larger technique
Difference so that the frequency of the clock signal of oscillator output has bigger deviation, so as to influence the normal work of digital circuit.
Calibrated at present by the frequency of the clock signal exported in wafer test phases to oscillator, oscillator
The clock signal of required precision can be met with output frequency.But with the continuous work of oscillator, surrounding environment and application temperature
The change of degree can cause the clock frequency of oscillator to deviate original frequency of oscillation, larger so as to cause the frequency of oscillator to produce
Error, and the capability error of circuit may be had influence on.
The content of the invention
The embodiments of the invention provide a kind of method and apparatus of calibrating clock frequency, surrounding environment and application can be reduced
Influence of the change of temperature to the clock frequency of oscillator, so as to improve the precision of the frequency of oscillator.
The embodiments of the invention provide a kind of device of calibrating clock frequency, it is characterised in that including:
Clock detection circuit, the clock signal exported for timing to Parameter adjustable oscillator count to get count value, sentenced
The absolute value of the difference of the count value for obtain of breaking and expectation count value is more than or equal to predetermined threshold value, to calibration circuit output first
Enable signal, working condition is entered with control calibration circuit;
Circuit being calibrated, entering working condition during for receiving the first enable signal, according to obtained count value to parameter
Tunable oscillator output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;
Parameter adjustable oscillator, believed for the clock signal of output to be output into clock detection circuit with other based on clock
Number work circuit, according to control signal adjust clock signal frequency.
Optionally, the clock detection circuit is additionally operable to:
Judge that the obtained count value and the absolute value of the difference for it is expected count value are less than predetermined threshold value, to calibration
The enable signal of circuit output second, off working state is entered with control calibration circuit;
The calibration circuit is additionally operable to:
Enter off working state when receiving second enable signal.
Optionally, in addition to:
Reference clock circuit, for producing the detection pulse in cycle;
The clock detection circuit is specifically used for realizing that the timing exports Parameter adjustable oscillator in the following ways
Clock signal count to get count value:
When non-count status receives the detection pulse from reference clock circuit, start defeated to Parameter adjustable oscillator
The clock signal gone out counts;When count status receives the detection pulse from reference clock circuit, stop to Parameter adjustable
The clock signal of oscillator output counts, and obtains count value.
Optionally, the calibration circuit is specifically used for realizing count value that the basis obtains to parameter in the following ways
Tunable oscillator output control signal:
Judge that the obtained count value is more than the expectation count value, export and be used for the Parameter adjustable oscillator
Indicate that the Parameter adjustable oscillator reduces the control signal of frequency of clock signal;
The Parameter adjustable oscillator is specifically used for:
The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to
The frequency of clock signal is reduced in the control signal for the frequency for indicating the Parameter adjustable oscillator reduction clock signal.
Optionally, the calibration circuit is specifically used for realizing count value that the basis obtains to parameter in the following ways
Tunable oscillator output control signal:
Judge that the obtained count value is less than the expectation count value, export and be used for the Parameter adjustable oscillator
Indicate the control signal of the frequency of the Parameter adjustable oscillator rise clock signal;
The Parameter adjustable oscillator is specifically used for:
The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to
In the frequency of the control signal rise clock signal for the frequency for indicating the Parameter adjustable oscillator rise clock signal.
The embodiment of the present invention also proposed a kind of method of calibrating clock frequency, including:
The clock signal of output is output to Parameter adjustable oscillator into clock detection circuit and other are based on clock signal work
The circuit of work;
Clock detection circuit timing counts to get count value to the clock signal of Parameter adjustable oscillator output, judges
The count value and the absolute value of the difference of expectation count value arrived is more than or equal to predetermined threshold value, to the enabled letter of calibration circuit output first
Number, working condition is entered with control calibration circuit;
Calibration circuit enters working condition when receiving the first enable signal, is shaken according to obtained count value to Parameter adjustable
Device output control signal is swung, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;
Parameter adjustable oscillator adjusts the frequency of clock signal according to control signal.
Optionally, this method also includes:
The clock detection circuit judges that the absolute value of the obtained count value and the difference for it is expected count value is small
In predetermined threshold value, to the calibration enable signal of circuit output second, off working state is entered with control calibration circuit;
The calibration circuit enters off working state when receiving second enable signal.
Optionally, the clock detection circuit timing counts to get counting to the clock signal of Parameter adjustable oscillator output
Value includes:
Reference clock circuit produces the detection pulse in cycle;
The clock detection circuit starts pair when non-count status receives the detection pulse from reference clock circuit
The clock signal of Parameter adjustable oscillator output counts;The detection pulse from reference clock circuit is received in count status
When, stop counting the clock signal of Parameter adjustable oscillator output, and obtain count value.
Optionally, the calibration circuit includes according to obtained count value to Parameter adjustable oscillator output control signal:
The calibration circuit judges go out the obtained count value and are more than the expectation count value, are shaken to the Parameter adjustable
Device is swung to export for indicating that the Parameter adjustable oscillator reduces the control signal of the frequency of clock signal;
The frequency that the Parameter adjustable oscillator adjusts clock signal according to control signal includes:
According to for indicating that the Parameter adjustable oscillator reduces the control signal reduction clock letter of the frequency of clock signal
Number frequency.
Optionally, the calibration circuit includes according to obtained count value to Parameter adjustable oscillator output control signal:
Judge that the obtained count value is less than the expectation count value, export and be used for the Parameter adjustable oscillator
Indicate the control signal of the frequency of the Parameter adjustable oscillator rise clock signal;
The frequency that the Parameter adjustable oscillator adjusts clock signal according to control signal includes:
According to the control signal rise clock letter of the frequency for indicating the Parameter adjustable oscillator rise clock signal
Number frequency.
The embodiment of the present invention also proposed a kind of chip, including the device of any one above-mentioned calibrating clock frequency is all
Module, in addition to:
Configuration module, when electric on chip, parameter configuration is carried out to Parameter adjustable oscillator;
Other circuits based on clock signal duty, for the clock signal duty exported according to Parameter adjustable oscillator;
Parameter adjustable oscillator is additionally operable to:
The clock signal of output frequency frequency corresponding with the parameter configured after configuration module carries out parameter configuration.
Compared with correlation technique, the embodiment of the present invention includes:Clock detection circuit, for timing to Parameter adjustable oscillator
The clock signal of output counts to get count value, judge obtained count value and it is expected the difference of count value absolute value be more than or
Equal to predetermined threshold value, to the calibration enable signal of circuit output first, working condition is entered with control calibration circuit;Calibrate circuit,
Enter working condition during for receiving the first enable signal, according to obtained count value to Parameter adjustable oscillator output control
Signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;Parameter adjustable oscillator, for by output when
Clock signal output adjusts clock signal to clock detection circuit and other circuits based on clock signal duty according to control signal
Frequency.It is real-time according to the count value of the clock signal exported to Parameter adjustable oscillator by the scheme of the embodiment of the present invention
The frequency of the clock signal of adjusting parameter tunable oscillator output, the change of surrounding environment and application temperature is reduced to oscillator
Clock frequency influence, so as to improve the precision of the frequency of oscillator;Also, by clock detection circuit to calibration circuit
Enable signal is sent to control the working condition of calibration circuit, reduces power consumption.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the structure composition schematic diagram of the device of calibrating clock frequency of the embodiment of the present invention;
Fig. 2 is the structure composition schematic diagram of clock detection circuit of the embodiment of the present invention;
Fig. 3 is the flow chart of the method for calibrating clock frequency of the embodiment of the present invention.
Embodiment
Embodiments of the invention are described in detail below in conjunction with accompanying drawing.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of
Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein
Sequence performs shown or described step.
Referring to Fig. 1, the embodiment of the present invention proposes a kind of device of calibrating clock frequency, including:
Clock detection circuit, the clock signal exported for timing to Parameter adjustable oscillator count to get count value, sentenced
The absolute value of the difference of the count value for obtain of breaking and expectation count value is more than or equal to predetermined threshold value, to calibration circuit output first
Enable signal, working condition is entered with control calibration circuit;
Circuit being calibrated, entering working condition during for receiving the first enable signal, according to obtained count value to parameter
Tunable oscillator output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;
Parameter adjustable oscillator, believed for the clock signal of output to be output into clock detection circuit with other based on clock
Number work circuit, according to control signal adjust clock signal frequency.
Optionally, clock detection circuit is additionally operable to:
The absolute value for judging the difference of obtained count value and expectation count value is less than predetermined threshold value, to calibration circuit output
Second enable signal, off working state is entered with control calibration circuit;
Calibration circuit is additionally operable to:
Enter off working state when receiving the second enable signal.
In said apparatus, the first enable signal EN is 0, and the second enable signal EN is 1;
Or first enable signal EN be 1, the second enable signal EN be 0.
Specifically depending on the realization of calibration circuit.
Optionally, in addition to:
Reference clock circuit, for producing the detection pulse in cycle;
Clock detection circuit is specifically used for realizing that the clock of Parameter adjustable oscillator output is believed in timing in the following ways
Number count to get count value:
When non-count status receives the detection pulse from reference clock circuit, start defeated to Parameter adjustable oscillator
The clock signal gone out counts;When count status receives the detection pulse from reference clock circuit, stop to Parameter adjustable
The clock signal of oscillator output counts, and obtains count value.
Wherein, the time interval between adjacent three detections pulse is equal to a calibration cycle.
For example, clock detection circuit starts counting up when receiving first detection pulse, second detection is being received
Stop counting during pulse, started counting up when receiving the 3rd detection pulse, stopped when receiving the 4th detection pulse
Count ... ..., by that analogy.
Wherein, the clock signal that clock detection circuit exports to Parameter adjustable oscillator counts, and refers to shake to Parameter adjustable
The pulse for swinging the clock signal of device output is counted.
Specifically, referring to Fig. 2, clock detection circuit includes counter and state control circuit;
Wherein, counter, the clock signal for being exported to Parameter adjustable oscillator count to get count value;
State control circuit, the absolute value for the count value for judging to obtain and the difference for it is expected count value are more than or equal to
Predetermined threshold value, to the calibration enable signal of circuit output first, working condition is entered with control calibration circuit;Judge obtained meter
The absolute value of the difference of numerical value and expectation count value is less than predetermined threshold value, to the calibration enable signal of circuit output second, to control school
Quasi- circuit enters off working state.
Wherein, counter is specifically used for:
When non-count status receives the detection pulse from reference clock circuit, start defeated to Parameter adjustable oscillator
The clock signal gone out counts;When count status receives the detection pulse from reference clock circuit, stop to Parameter adjustable
The clock signal of oscillator output counts, and obtains count value.
Optionally, circuit is calibrated to be specifically used for realizing that the count value that basis obtains vibrates to Parameter adjustable in the following ways
Device output control signal:
The count value for judging to obtain, which is more than, it is expected count value, is exported to Parameter adjustable oscillator for indicating Parameter adjustable
Oscillator reduces the control signal of the frequency of clock signal;
Parameter adjustable oscillator is specifically used for:
The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to
The control signal of the frequency of clock signal is reduced in instruction Parameter adjustable oscillator reduces the frequency of clock signal.
Optionally, circuit is calibrated to be specifically used for realizing that the count value that basis obtains vibrates to Parameter adjustable in the following ways
Device output control signal:
The count value for judging to obtain, which is less than, it is expected count value, is exported to Parameter adjustable oscillator for indicating Parameter adjustable
The control signal of the frequency of oscillator rise clock signal;
Parameter adjustable oscillator is specifically used for:
The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to
The frequency of clock signal is reduced in the control signal of the frequency of instruction Parameter adjustable oscillator rise clock signal.
The frequency of clock signal is adjusted especially by the adjustable parameter in adjusting parameter tunable oscillator, adjustable parameter can
To be resistance value, capacitance, inductance value, etc..
For example, by resistance value to adjust the frequency of clock signal when, resistance can be set to possess multiple adjustable gears, often
The corresponding resistance value of one gear;When the control for receiving the frequency for indicating Parameter adjustable oscillator reduction clock signal
During signal, a resistance gear is turned down;When the control for receiving the frequency for indicating Parameter adjustable oscillator rise clock signal
During signal processed, a resistance gear is heightened.
It is of course also possible to use other adjustment modes, the embodiment of the present invention are not construed as limiting to this.
Wherein, other circuits based on clock signal duty can be digital circuit or analog circuit etc..
It is real-time according to the count value of the clock signal exported to Parameter adjustable oscillator by the scheme of the embodiment of the present invention
The frequency of the clock signal of adjusting parameter tunable oscillator output, the change of surrounding environment and application temperature is reduced to oscillator
Clock frequency influence, so as to improve the precision of the frequency of oscillator;Also, by clock detection circuit to calibration circuit
Enable signal is sent to control the working condition of calibration circuit, reduces power consumption.
Referring to Fig. 3, the embodiment of the present invention also proposed a kind of method of calibrating clock frequency, including:
Step 300, Parameter adjustable oscillator by the clock signal of output be output to clock detection circuit and other be based on when
The circuit of clock signal work.
Step 301, clock detection circuit timing count to get count value to the clock signal of Parameter adjustable oscillator output,
Judge obtained count value and it is expected that the absolute value of the difference of count value is more than or equal to predetermined threshold value, to calibrating circuit output the
One enable signal, working condition is entered with control calibration circuit.
In this step, clock detection circuit timing counts to get count value to the clock signal of Parameter adjustable oscillator output
Including:
Reference clock circuit produces the detection pulse in cycle;
Clock detection circuit starts to parameter when non-count status receives the detection pulse from reference clock circuit
The clock signal of tunable oscillator output counts;When count status receives the detection pulse from reference clock circuit, stop
Only the clock signal of Parameter adjustable oscillator output is counted, and obtains count value.
Wherein, the time interval between adjacent three detections pulse is equal to a calibration cycle.
For example, clock detection circuit starts counting up when receiving first detection pulse, second detection is being received
Stop counting during pulse, started counting up when receiving the 3rd detection pulse, stopped when receiving the 4th detection pulse
Count ... ..., by that analogy.
Wherein, the clock signal that clock detection circuit exports to Parameter adjustable oscillator counts, and refers to shake to Parameter adjustable
The pulse for swinging the clock signal of device output is counted.
Step 302, calibration circuit enter working condition when receiving the first enable signal, according to obtained count value to ginseng
Number tunable oscillator output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal.
In this step, calibration circuit includes according to obtained count value to Parameter adjustable oscillator output control signal:
The count value that calibration circuit judges go out to obtain, which is more than, it is expected count value, is exported to Parameter adjustable oscillator for indicating
Parameter adjustable oscillator reduces the control signal of the frequency of clock signal;
The count value for judging to obtain, which is less than, it is expected count value, is exported to Parameter adjustable oscillator for indicating Parameter adjustable
The control signal of the frequency of oscillator rise clock signal.
Step 303, Parameter adjustable oscillator adjust the frequency of clock signal according to control signal.Including:
According to for indicating that Parameter adjustable oscillator reduces the control signal reduction clock signal of the frequency of clock signal
Frequency;
According to the control signal rise clock signal of the frequency for indicating Parameter adjustable oscillator rise clock signal
Frequency.The clock signal of output is output to Parameter adjustable oscillator after adjustment into clock detection circuit and other are believed based on clock
Number work circuit, detection pulse control under, into next round detect and calibrate.
The frequency of clock signal is adjusted especially by the adjustable parameter in adjusting parameter tunable oscillator, adjustable parameter can
To be resistance value, capacitance, inductance value, etc..
For example, by resistance value to adjust the frequency of clock signal when, resistance can be set to possess multiple adjustable gears, often
The corresponding resistance value of one gear;When the control for receiving the frequency for indicating Parameter adjustable oscillator reduction clock signal
During signal, a resistance gear is turned down;When the control for receiving the frequency for indicating Parameter adjustable oscillator rise clock signal
During signal processed, a resistance gear is heightened.
It is of course also possible to use other adjustment modes, the embodiment of the present invention are not construed as limiting to this.
Optionally, this method also includes:
Clock detection circuit judges obtained count value and it is expected that the absolute value of the difference of count value is less than predetermined threshold value, to
The enable signal of circuit output second is calibrated, off working state is entered with control calibration circuit;
Calibration circuit enters off working state when receiving the second enable signal.
In the above method, the first enable signal EN is 0, and the second enable signal EN is 1;
Or first enable signal EN be 1, the second enable signal EN be 0.
Specifically depending on the realization of calibration circuit.
The embodiment of the present invention also proposed a kind of chip, including the device of any one above-mentioned calibrating clock frequency is all
Module, in addition to:
Configuration module, when electric on chip, parameter configuration is carried out to Parameter adjustable oscillator;
Other circuits based on clock signal duty, for the clock signal duty exported according to Parameter adjustable oscillator;
Parameter adjustable oscillator is additionally operable to:
The clock signal of output frequency frequency corresponding with the parameter configured after configuration module carries out parameter configuration.
Wherein, configuration module can be CPU.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (11)
- A kind of 1. device of calibrating clock frequency, it is characterised in that including:Clock detection circuit, the clock signal exported for timing to Parameter adjustable oscillator count to get count value, judged Obtained count value and the absolute value of the difference of expectation count value is more than or equal to predetermined threshold value, enabled to calibration circuit output first Signal, working condition is entered with control calibration circuit;Circuit being calibrated, entering working condition during for receiving the first enable signal, according to obtained count value to Parameter adjustable Oscillator output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;Parameter adjustable oscillator, clock signal work is based on other for the clock signal of output to be output into clock detection circuit The circuit of work, the frequency of clock signal is adjusted according to control signal.
- 2. device according to claim 1, it is characterised in that the clock detection circuit is additionally operable to:Judge that the obtained count value and the absolute value of the difference for it is expected count value are less than predetermined threshold value, to calibration circuit The second enable signal is exported, off working state is entered with control calibration circuit;The calibration circuit is additionally operable to:Enter off working state when receiving second enable signal.
- 3. device according to claim 1 or 2, it is characterised in that also include:Reference clock circuit, for producing the detection pulse in cycle;The clock detection circuit is specifically used for realizing the when that the timing exports to Parameter adjustable oscillator in the following ways Clock signal-count obtains count value:When non-count status receives the detection pulse from reference clock circuit, start to the output of Parameter adjustable oscillator Clock signal counts;When count status receives the detection pulse from reference clock circuit, stop vibrating Parameter adjustable The clock signal of device output counts, and obtains count value.
- 4. device according to claim 1 or 2, it is characterised in that the calibration circuit is specifically used in the following ways Realize count value that the basis obtains to Parameter adjustable oscillator output control signal:Judge that the obtained count value is more than the expectation count value, exported to the Parameter adjustable oscillator for indicating The Parameter adjustable oscillator reduces the control signal of the frequency of clock signal;The Parameter adjustable oscillator is specifically used for:The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to for referring to Show that the Parameter adjustable oscillator reduces the frequency of control signal reduction clock signal of the frequency of clock signal.
- 5. device according to claim 1 or 2, it is characterised in that the calibration circuit is specifically used in the following ways Realize count value that the basis obtains to Parameter adjustable oscillator output control signal:Judge that the obtained count value is less than the expectation count value, exported to the Parameter adjustable oscillator for indicating The control signal of the frequency of the Parameter adjustable oscillator rise clock signal;The Parameter adjustable oscillator is specifically used for:The clock signal of output is output to clock detection circuit and other circuits based on clock signal duty, according to for referring to Show the frequency of the control signal rise clock signal of the frequency of the Parameter adjustable oscillator rise clock signal.
- A kind of 6. method of calibrating clock frequency, it is characterised in that including:The clock signal of output is output to clock detection circuit with other based on clock signal duty by Parameter adjustable oscillator Circuit;Clock detection circuit timing counts to get count value to the clock signal of Parameter adjustable oscillator output, judges what is obtained Count value and it is expected that the absolute value of difference of count value is more than or equal to predetermined threshold value, to calibrating the enable signal of circuit output first, Working condition is entered with control calibration circuit;Calibration circuit enters working condition when receiving the first enable signal, according to obtained count value to Parameter adjustable oscillator Output control signal, so that Parameter adjustable oscillator is adjusted to the frequency of clock signal;Parameter adjustable oscillator adjusts the frequency of clock signal according to control signal.
- 7. according to the method for claim 6, it is characterised in that this method also includes:The clock detection circuit judges that the obtained count value and the absolute value of the difference for it is expected count value are less than in advance If threshold value, to the calibration enable signal of circuit output second, off working state is entered with control calibration circuit;The calibration circuit enters off working state when receiving second enable signal.
- 8. the method according to claim 6 or 7, it is characterised in that the clock detection circuit timing is shaken to Parameter adjustable The clock signal for swinging device output counts to get count value and included:Reference clock circuit produces the detection pulse in cycle;The clock detection circuit starts to parameter when non-count status receives the detection pulse from reference clock circuit The clock signal of tunable oscillator output counts;When count status receives the detection pulse from reference clock circuit, stop Only the clock signal of Parameter adjustable oscillator output is counted, and obtains count value.
- 9. the method according to claim 6 or 7, it is characterised in that the calibration circuit is according to obtained count value to ginseng Number tunable oscillator output control signal includes:The calibration circuit judges go out the obtained count value and are more than the expectation count value, to the Parameter adjustable oscillator Export for indicating that the Parameter adjustable oscillator reduces the control signal of the frequency of clock signal;The frequency that the Parameter adjustable oscillator adjusts clock signal according to control signal includes:According to for indicating that the Parameter adjustable oscillator reduces the control signal reduction clock signal of the frequency of clock signal Frequency.
- 10. the method according to claim 6 or 7, it is characterised in that the calibration circuit is according to obtained count value to ginseng Number tunable oscillator output control signal includes:Judge that the obtained count value is less than the expectation count value, exported to the Parameter adjustable oscillator for indicating The control signal of the frequency of the Parameter adjustable oscillator rise clock signal;The frequency that the Parameter adjustable oscillator adjusts clock signal according to control signal includes:According to the control signal rise clock signal of the frequency for indicating the Parameter adjustable oscillator rise clock signal Frequency.
- 11. a kind of chip, it is characterised in that the device including the calibrating clock frequency described in Claims 1 to 5 any one All modules, in addition to:Configuration module, when electric on chip, parameter configuration is carried out to Parameter adjustable oscillator;Other circuits based on clock signal duty, for the clock signal duty exported according to Parameter adjustable oscillator;Parameter adjustable oscillator is additionally operable to:The clock signal of output frequency frequency corresponding with the parameter configured after configuration module carries out parameter configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710659545.7A CN107579723B (en) | 2017-08-04 | 2017-08-04 | Method and device for calibrating clock frequency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710659545.7A CN107579723B (en) | 2017-08-04 | 2017-08-04 | Method and device for calibrating clock frequency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107579723A true CN107579723A (en) | 2018-01-12 |
CN107579723B CN107579723B (en) | 2020-11-13 |
Family
ID=61035638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710659545.7A Active CN107579723B (en) | 2017-08-04 | 2017-08-04 | Method and device for calibrating clock frequency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107579723B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109586691A (en) * | 2018-11-19 | 2019-04-05 | 珠海市杰理科技股份有限公司 | Clock correcting method, device, system, storage medium and computer equipment |
CN110365335A (en) * | 2019-08-12 | 2019-10-22 | 兆讯恒达微电子技术(北京)有限公司 | A kind of piece internal clock calibration method in technical process and calibration circuit |
CN110492848A (en) * | 2019-08-15 | 2019-11-22 | 成都锐成芯微科技股份有限公司 | The number adjustment device and its method of adjustment of RC oscillator |
CN110504959A (en) * | 2019-08-12 | 2019-11-26 | 兆讯恒达微电子技术(北京)有限公司 | The calibration method and calibration circuit of a kind of internal clock |
CN110990322A (en) * | 2018-10-02 | 2020-04-10 | 新唐科技股份有限公司 | Clock adjusting device and transmission system and method thereof |
WO2020237648A1 (en) * | 2019-05-31 | 2020-12-03 | 京东方科技集团股份有限公司 | Signal frequency adjustment method and apparatus, display apparatus, and storage medium |
CN112149368A (en) * | 2020-09-16 | 2020-12-29 | 北京中电华大电子设计有限责任公司 | Circuit and method for self calibration of clock |
CN112150962A (en) * | 2020-10-23 | 2020-12-29 | 维沃移动通信有限公司 | Chip clock frequency adjusting method and device, chip and electronic equipment |
CN112327596A (en) * | 2021-01-04 | 2021-02-05 | 南京芯视界微电子科技有限公司 | Clock system for single photon detection chip and calibration method thereof |
CN112596578A (en) * | 2020-12-08 | 2021-04-02 | 北京地平线机器人技术研发有限公司 | Clock monitoring circuit and monitoring method |
CN112636752A (en) * | 2020-12-29 | 2021-04-09 | 北京奕斯伟计算技术有限公司 | Oscillator device and oscillator frequency calibration method |
CN112910461A (en) * | 2021-01-20 | 2021-06-04 | 上海华虹宏力半导体制造有限公司 | Self-calibration method and self-calibration circuit of RC oscillator |
CN113641214A (en) * | 2021-08-24 | 2021-11-12 | 维沃移动通信有限公司 | Clock calibration circuit, clock calibration method and related equipment |
CN113757932A (en) * | 2021-08-27 | 2021-12-07 | Tcl空调器(中山)有限公司 | Air conditioner communication fault processing method and device, computer equipment and storage medium |
CN113970698A (en) * | 2021-10-22 | 2022-01-25 | 思澈科技(上海)有限公司 | Method and system for calibrating off-chip crystal oscillator |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7612624B2 (en) * | 2006-10-31 | 2009-11-03 | Samsung Electro-Mechanics Co., Ltd. | Resistor-capacitor oscillation circuit capable of adjusting oscillation frequency and method of the same |
CN102195646A (en) * | 2010-03-18 | 2011-09-21 | 上海华虹Nec电子有限公司 | Automatic clock oscillator calibration method and circuit |
CN102339014A (en) * | 2010-05-13 | 2012-02-01 | 玛克西姆综合产品公司 | Synchronization of a generated clock |
CN102638225A (en) * | 2012-04-01 | 2012-08-15 | 北京集创北方科技有限公司 | On-chip clock frequency regulating circuit and regulating method |
CN103701437A (en) * | 2013-12-10 | 2014-04-02 | 浙江大学 | Clock generator integrated in power electronic chip |
CN106130547A (en) * | 2016-06-20 | 2016-11-16 | 大唐微电子技术有限公司 | A kind of clock frequency calibration steps and device |
-
2017
- 2017-08-04 CN CN201710659545.7A patent/CN107579723B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7612624B2 (en) * | 2006-10-31 | 2009-11-03 | Samsung Electro-Mechanics Co., Ltd. | Resistor-capacitor oscillation circuit capable of adjusting oscillation frequency and method of the same |
CN102195646A (en) * | 2010-03-18 | 2011-09-21 | 上海华虹Nec电子有限公司 | Automatic clock oscillator calibration method and circuit |
CN102339014A (en) * | 2010-05-13 | 2012-02-01 | 玛克西姆综合产品公司 | Synchronization of a generated clock |
CN102638225A (en) * | 2012-04-01 | 2012-08-15 | 北京集创北方科技有限公司 | On-chip clock frequency regulating circuit and regulating method |
CN103701437A (en) * | 2013-12-10 | 2014-04-02 | 浙江大学 | Clock generator integrated in power electronic chip |
CN106130547A (en) * | 2016-06-20 | 2016-11-16 | 大唐微电子技术有限公司 | A kind of clock frequency calibration steps and device |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990322A (en) * | 2018-10-02 | 2020-04-10 | 新唐科技股份有限公司 | Clock adjusting device and transmission system and method thereof |
CN110990322B (en) * | 2018-10-02 | 2021-03-19 | 新唐科技股份有限公司 | Clock adjusting device and transmission system and method thereof |
CN109586691A (en) * | 2018-11-19 | 2019-04-05 | 珠海市杰理科技股份有限公司 | Clock correcting method, device, system, storage medium and computer equipment |
WO2020237648A1 (en) * | 2019-05-31 | 2020-12-03 | 京东方科技集团股份有限公司 | Signal frequency adjustment method and apparatus, display apparatus, and storage medium |
CN112514255B (en) * | 2019-05-31 | 2024-03-19 | 京东方科技集团股份有限公司 | Signal frequency adjustment method and device, display device and storage medium |
US11455950B2 (en) | 2019-05-31 | 2022-09-27 | Chengdu Boe Optoelectronics Technology Co., Ltd. | Method and apparatus for adjusting signal frequency, display device and storage medium |
CN112514255A (en) * | 2019-05-31 | 2021-03-16 | 京东方科技集团股份有限公司 | Signal frequency adjusting method and device, display device and storage medium |
CN110365335A (en) * | 2019-08-12 | 2019-10-22 | 兆讯恒达微电子技术(北京)有限公司 | A kind of piece internal clock calibration method in technical process and calibration circuit |
CN110504959A (en) * | 2019-08-12 | 2019-11-26 | 兆讯恒达微电子技术(北京)有限公司 | The calibration method and calibration circuit of a kind of internal clock |
CN110492848A (en) * | 2019-08-15 | 2019-11-22 | 成都锐成芯微科技股份有限公司 | The number adjustment device and its method of adjustment of RC oscillator |
CN112149368A (en) * | 2020-09-16 | 2020-12-29 | 北京中电华大电子设计有限责任公司 | Circuit and method for self calibration of clock |
WO2022083638A1 (en) * | 2020-10-23 | 2022-04-28 | 维沃移动通信有限公司 | Chip clock frequency adjustment method and apparatus, chip, and electronic device |
CN112150962A (en) * | 2020-10-23 | 2020-12-29 | 维沃移动通信有限公司 | Chip clock frequency adjusting method and device, chip and electronic equipment |
CN112150962B (en) * | 2020-10-23 | 2024-04-05 | 维沃移动通信有限公司 | Chip clock frequency adjusting method and device, chip and electronic equipment |
CN112596578A (en) * | 2020-12-08 | 2021-04-02 | 北京地平线机器人技术研发有限公司 | Clock monitoring circuit and monitoring method |
CN112636752A (en) * | 2020-12-29 | 2021-04-09 | 北京奕斯伟计算技术有限公司 | Oscillator device and oscillator frequency calibration method |
CN112636752B (en) * | 2020-12-29 | 2024-08-20 | 北京奕斯伟计算技术股份有限公司 | Oscillator device and oscillator frequency calibration method |
CN112327596A (en) * | 2021-01-04 | 2021-02-05 | 南京芯视界微电子科技有限公司 | Clock system for single photon detection chip and calibration method thereof |
CN112327596B (en) * | 2021-01-04 | 2021-04-13 | 南京芯视界微电子科技有限公司 | Clock system for single photon detection chip and calibration method thereof |
CN112910461A (en) * | 2021-01-20 | 2021-06-04 | 上海华虹宏力半导体制造有限公司 | Self-calibration method and self-calibration circuit of RC oscillator |
CN112910461B (en) * | 2021-01-20 | 2024-06-14 | 上海华虹宏力半导体制造有限公司 | Self-calibration method and self-calibration circuit of RC (remote control) oscillator |
CN113641214A (en) * | 2021-08-24 | 2021-11-12 | 维沃移动通信有限公司 | Clock calibration circuit, clock calibration method and related equipment |
CN113757932A (en) * | 2021-08-27 | 2021-12-07 | Tcl空调器(中山)有限公司 | Air conditioner communication fault processing method and device, computer equipment and storage medium |
CN113757932B (en) * | 2021-08-27 | 2022-12-13 | Tcl空调器(中山)有限公司 | Air conditioner communication fault processing method and device, computer equipment and storage medium |
CN113970698A (en) * | 2021-10-22 | 2022-01-25 | 思澈科技(上海)有限公司 | Method and system for calibrating off-chip crystal oscillator |
Also Published As
Publication number | Publication date |
---|---|
CN107579723B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107579723A (en) | A kind of method and apparatus of calibrating clock frequency | |
CN106130547A (en) | A kind of clock frequency calibration steps and device | |
CN105021972B (en) | aging detection circuit and method thereof | |
US8922287B2 (en) | Amplitude loop control for oscillators | |
CN109412582B (en) | PWM signal sampling detection circuit, processing circuit and chip | |
EP1777604A1 (en) | USB apparatus without frequency oscillator | |
CN112150962A (en) | Chip clock frequency adjusting method and device, chip and electronic equipment | |
CN106292839B (en) | Real-time clock compensation circuit and calibration method, device | |
CN103365336B (en) | The calibration steps of system clock of USB equipment and device | |
US20130082784A1 (en) | Oscillator calibration apparatus and oscillator calibration method | |
US6084441A (en) | Apparatus for and method of processing data | |
CN113641214B (en) | Clock calibration circuit, clock calibration method and related equipment | |
CN105933001A (en) | Device and method for reducing electromagnetic interference in circuit | |
CN110492848A (en) | The number adjustment device and its method of adjustment of RC oscillator | |
CN205901711U (en) | Accurate digital frequency divider based on GPS pulse signal second | |
CN110707014A (en) | Method for testing chip process angle offset | |
US10408870B2 (en) | Capacitor sensor apparatus and sensing method thereof | |
US20180083637A1 (en) | Frequency calibration method for digitally controlled oscillator and apparatus using the same | |
CN105356864B (en) | A kind of reference clock detection circuit and its method | |
CN109580975B (en) | Speed detector, processing circuit and chip based on PWM signal | |
CN109975617A (en) | A kind of the test circuit and test method of matched crystal load capacitance | |
CN111026232A (en) | Clock calibration method, chip and electronic equipment | |
CN207475534U (en) | A kind of crystal oscillator system and crystal oscillator frequency calibration device | |
JP2008249529A (en) | Jitter determination circuit and jitter determination method | |
CN106209092A (en) | A kind of precise figures dividing method based on GPS second pulse signal and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |