CN102857197B - A kind of calibration steps improving built-in RC oscillator frequency precision - Google Patents

A kind of calibration steps improving built-in RC oscillator frequency precision Download PDF

Info

Publication number
CN102857197B
CN102857197B CN201210354473.2A CN201210354473A CN102857197B CN 102857197 B CN102857197 B CN 102857197B CN 201210354473 A CN201210354473 A CN 201210354473A CN 102857197 B CN102857197 B CN 102857197B
Authority
CN
China
Prior art keywords
frequency
chip
main control
interface
interface chip
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.)
Expired - Fee Related
Application number
CN201210354473.2A
Other languages
Chinese (zh)
Other versions
CN102857197A (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.)
Fuzhou University
Original Assignee
Fuzhou University
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 Fuzhou University filed Critical Fuzhou University
Priority to CN201210354473.2A priority Critical patent/CN102857197B/en
Publication of CN102857197A publication Critical patent/CN102857197A/en
Application granted granted Critical
Publication of CN102857197B publication Critical patent/CN102857197B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Oscillators With Electromechanical Resonators (AREA)

Abstract

The present invention relates to a kind of calibration steps improving built-in RC oscillator frequency precision, it is characterized in that: described calibration steps is applied to the calibration of main control chip docking port chip frequency, be equipped with crystal oscillator outside described main control chip, described interface chip is built-in with RC oscillator; This calibration steps comprises the following steps: step S001: described main control chip is measured the RC frequency of oscillation of described interface chip or cycle, calculates correction value through this main control chip; Step S002: by the interface chip described in described correction value write, thus realize the correction to the frequency of oscillation of described interface chip.Method of the present invention, when not increasing chip cost, is revised the error that technique produces, is reached high-precision object.

Description

A kind of calibration steps improving built-in RC oscillator frequency precision
Technical field
The present invention relates to the calibration steps of the built-in RC oscillator frequency of integrated circuit (IC) chip.
Background technology
There are some such application systems in electronic product, except host CPU, also have some interface chip inside to need clock, and the precision to clock frequency had, stability have higher requirement.Now have two schemes to adopt, one is this interface chip also external crystal oscillator, can obtain very high precision, but chip needs many extractions two pins, and the cost of application system can be higher; Another kind of way is the built-in RC oscillator of interface chip, and this scheme cost is very low, does not increase number of pins, but the precision of RC oscillator and stability are not high.The method that tradition improves RC vibration precision is in chip production process, carries out middle survey before encapsulation, and carries out fine setting correction by the method for laser lithography to R or C in nude film.The method requires necessarily there is middle survey in chip production process, and according to test result, chip is revised one by one, and therefore testing cost is higher, and this scheme of chip for low value cannot receive.
Summary of the invention
The object of the invention is when not increasing chip cost, the error that technique produces is revised, improve the precision of chip internal frequency.
The present invention adopts following scheme to realize: a kind of calibration steps improving built-in RC oscillator frequency precision, it is characterized in that: described calibration steps is applied to the calibration of main control chip docking port chip frequency, be equipped with crystal oscillator outside described main control chip, described interface chip is built-in with RC oscillator; This calibration steps comprises the following steps:
Step S001: described main control chip is measured the RC frequency of oscillation of described interface chip or cycle, calculates correction value through this main control chip;
Step S002: by the interface chip described in described correction value write, thus realize the correction to the frequency of oscillation of described interface chip.
In an embodiment of the present invention, described main control chip is the method by adopting multiplex interface bus, measures the RC frequency of oscillation of described interface chip or cycle.
In an embodiment of the present invention, described interface bus comprises I2C interface bus, SPI interface bus or parallel interface bus.
In an embodiment of the present invention, the inside of described interface chip is integrated with Parasites Fauna, and described Parasites Fauna can carry out frequency division to the frequency of RC oscillator thus reduce the frequency of oscillation of this interface chip.
In an embodiment of the present invention, the inside of described interface chip is integrated with Parasites Fauna, and described Parasites Fauna, by the value of analog switch control R or C, realizes the object improving frequency of oscillation.
In an embodiment of the present invention, the specific implementation process of described step S001 and step S002 is as follows: first described main control chip sends out control command to described interface chip, after described interface chip receives order, interpreted command also enters frequency measurement pattern, now SDA holding wire is set to the way of output, and the output pulse of RC oscillator is exported by SDA interface, automatically terminate this process after certain special time; After described main control chip is given an order, by IO mode, SCL holding wire is set to low level, and start pulse frequency or the pulse period of testing SDA holding wire, and calculate correction value, then pass through I2C interface by the interface chip internal register group described in correction value write, thus realize the correction to the frequency of oscillation of described interface chip.
In an embodiment of the present invention, described interface chip is a face control chip that can complete LED display driver, keyboard scan identification, timing start-up, button start, infrared remote control power up function.
In an embodiment of the present invention, utilize infrared remote control to receive line IR and realize frequency measurement, calibrating frequency function, the specific implementation process of described step S001 and step S002 is as follows: described main control chip sends out an order to described face control chip, described face control chip is allowed to enter frequency measurement state, what then now IR line transmits is the oscillating pulse wave of described face control built-in chip type RC oscillator, after described main control chip has been tested, send out an order again to described face control chip, allow described face control chip exit frequency measurement state; After described main control chip sends frequency measurement order, frequency measurement is carried out to IR line, and calculate corresponding correction value; After frequency measurement terminates, main control chip sends out an order allows described face control chip exit frequency measurement state, and sends out the correction value of an order write frequency again, thus realizes the correction of the frequency of oscillation to described control chip.
The present invention has following beneficial effect:
1, the number of pins of described interface chip can be reduced, so the cost even reducing described interface chip can not be increased;
2, do not increase the cost of electronics applications system, do not increase lead-in wire, do not increase components and parts, side is convenient just realizes the frequency precision of oscillation improving built-in RC oscillator.
3, use, wide application, is applicable to need in the various interface chips of high accuracy operating frequency.
4, the technique of chip is had no special requirements, be applicable in polytechnic chip.
Accompanying drawing explanation
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is application system interface relationship schematic diagram of the present invention.
Fig. 3 is the built-in RC oscillator of embodiment of the present invention interface chip and Parasites Fauna relation schematic diagram.
Fig. 4 is the built-in RC oscillator of another embodiment of the present invention interface chip and Parasites Fauna relation schematic diagram.
Fig. 5 is that the present invention realizes the example schematic of frequency measurement, calibrating frequency with multiplexing I2C bus mode.
Fig. 6 is the example schematic that the multiplexing infrared remote control of the present invention receives that line realizes frequency measurement, calibrating frequency.
Embodiment
Below in conjunction with drawings and Examples, the present invention will be further described.
As shown in Figure 1, the present embodiment provides a kind of calibration steps improving built-in RC oscillator frequency precision, it is characterized in that: described calibration steps is applied to the calibration of main control chip docking port chip frequency, be equipped with crystal oscillator outside described main control chip, described interface chip is built-in with RC oscillator; This calibration steps comprises the following steps:
Step S001: described main control chip is measured the RC frequency of oscillation of described interface chip or cycle, calculates correction value through this main control chip;
Step S002: by the interface chip described in described correction value write, thus realize the correction to the frequency of oscillation of described interface chip.
Concrete, be briefly described below in conjunction with the annexation of chip chamber and working method, please refer to Fig. 2, Fig. 2 is application system interface relationship schematic diagram of the present invention, described main control chip is the method by adopting multiplex interface bus, measures the RC frequency of oscillation of described interface chip or cycle.This interface bus comprises I2C interface bus, SPI interface bus or parallel interface bus.Please refer to Fig. 3, Fig. 3 is the built-in RC oscillator of interface chip of the present invention and Parasites Fauna relation schematic diagram.In figure, the inside of this interface chip is integrated with Parasites Fauna, and described Parasites Fauna can carry out frequency division to the frequency of RC oscillator thus reduce the frequency of oscillation of this interface chip.Please refer to Fig. 4, Fig. 4 is the built-in RC oscillator of another embodiment interface chip and Parasites Fauna relation schematic diagram, and the Parasites Fauna described in this embodiment, by the value of analog switch control R or C, realizes the object improving frequency of oscillation.
Be the example that a multiplexing I2C bus realizes frequency measurement, calibrating frequency continue referring to Fig. 5, Fig. 5.Described main control chip is connected by I2C interface bus with described interface chip.During calibrating frequency, first described main control chip sends out control command to described interface chip, after described interface chip receives order, interpreted command also enters frequency measurement pattern, now SDA holding wire is set to the way of output, and the output pulse of RC oscillator is exported by SDA interface, automatically terminate this process after certain hour.After described main control chip is given an order, by IO mode, SCL holding wire is set to low level, and starts pulse frequency or the pulse period of testing SDA holding wire.Described main control chip is by frequency measurement or survey frequency of oscillation or the cycle that periodic mode can calculate the built-in RC oscillator of described interface chip, corresponding correction value can be calculated by the frequency of oscillation or cycle of measuring the built-in RC oscillator obtained, and by I2C interface by the interface chip internal register group described in correction value write, then described interface chip just can obtain high-precision operating frequency.The precision of the operating frequency obtained and the figure place of correction value are closed, and the more general precisions of figure place are higher.In addition, similar interface mode can also be SPI interface, UART interface, parallel bus interface etc.
Please refer to Fig. 6, Fig. 6 is the interface mode of a face control chip and described main control chip, and this face control chip can complete LED display driver, keyboard scan recognition function, can realize timing start-up, button start, infrared remote control power up function etc.So face control chip needs the operating frequency of a high stability, generally control chip in this face needs an external crystal oscillator just can reach the precision of time, as have employed the technology of patent of the present invention, utilize built-in RC oscillator equally can realize high accuracy and walk time function, realize the function of timing start-up.In such a system, infrared remote control can be utilized to receive line IR and to realize frequency measurement, calibrating frequency function.In figure, described main control chip and this face are controlled chip and the various interface mode such as I2C, SPI can be adopted to be connected, and also have an IR line to be connected in addition, as shown in Figure 5.In such a system, directly utilize infrared remote control to receive line IR and realize frequency measurement, calibrating frequency function, operation is by convenient, simple.During frequency measurement, described main control chip sends out an order to described face control chip, described face control chip is allowed to enter frequency measurement state, what then now IR line transmits is the oscillating pulse wave of described face control built-in chip type RC oscillator, after described main control chip has been tested, send out an order again to described face control chip, allow described face control chip exit frequency measurement state.After described main control chip sends frequency measurement order, frequency measurement is carried out to IR line, and calculate corresponding correction value.After frequency measurement terminates, send out an order and allow described face control chip exit frequency measurement state, and send out the correction value of an order write frequency again, the operating frequency of face control chip described like this can be improved significantly.
The foregoing is only preferred embodiment of the present invention, all equalizations done according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.

Claims (1)

1. one kind is improved the calibration steps of built-in RC oscillator frequency precision, it is characterized in that: described calibration steps is applied to the calibration of main control chip docking port chip frequency, be equipped with crystal oscillator outside described main control chip, described interface chip is built-in with RC oscillator; This calibration steps comprises the following steps:
Step S001: described main control chip is measured the RC frequency of oscillation of described interface chip or cycle, calculates correction value through this main control chip;
Step S002: by the interface chip described in described correction value write, thus realize the correction to the frequency of oscillation of described interface chip;
The inside of described interface chip is integrated with Parasites Fauna, and described Parasites Fauna can carry out frequency division to the frequency of RC oscillator thus reduce the frequency of oscillation of this interface chip;
The inside of described interface chip is integrated with Parasites Fauna, and described Parasites Fauna, by the value of analog switch control R or C, realizes the object improving frequency of oscillation;
The specific implementation process of described step S001 and step S002 is as follows: first described main control chip sends out control command to described interface chip, after described interface chip receives order, interpreted command also enters frequency measurement pattern, now SDA holding wire is set to the way of output, and the output pulse of RC oscillator is exported by SDA interface, automatically terminate this process after certain special time; After described main control chip is given an order, by IO mode, SCL holding wire is set to low level, and start pulse frequency or the pulse period of testing SDA holding wire, and calculate correction value, then pass through I2C interface by the interface chip internal register group described in correction value write, thus realize the correction to the frequency of oscillation of described interface chip;
Described main control chip is the method by adopting multiplex interface bus, measures the RC frequency of oscillation of described interface chip or cycle.
CN201210354473.2A 2012-09-22 2012-09-22 A kind of calibration steps improving built-in RC oscillator frequency precision Expired - Fee Related CN102857197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210354473.2A CN102857197B (en) 2012-09-22 2012-09-22 A kind of calibration steps improving built-in RC oscillator frequency precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210354473.2A CN102857197B (en) 2012-09-22 2012-09-22 A kind of calibration steps improving built-in RC oscillator frequency precision

Publications (2)

Publication Number Publication Date
CN102857197A CN102857197A (en) 2013-01-02
CN102857197B true CN102857197B (en) 2015-09-09

Family

ID=47403450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210354473.2A Expired - Fee Related CN102857197B (en) 2012-09-22 2012-09-22 A kind of calibration steps improving built-in RC oscillator frequency precision

Country Status (1)

Country Link
CN (1) CN102857197B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103698603B (en) * 2013-12-27 2017-03-15 深圳芯邦科技股份有限公司 A kind of chip and its clock test methodology and chip clock test system
CN104007313A (en) * 2014-05-08 2014-08-27 深圳市硅格半导体有限公司 Chip detection method and system in testing process
CN107219395B (en) * 2017-05-23 2019-06-18 郑州云海信息技术有限公司 A kind of detection method of RTC crystal oscillator
CN109143031A (en) * 2018-08-06 2019-01-04 深圳市鑫研创科技有限公司 The calibration method of wireless charging full-automatic testing mould group and wireless charging transmitter
CN111322916A (en) * 2020-03-18 2020-06-23 融硅思创(北京)科技有限公司 High-precision digital electronic detonator chip and method for improving detonator delay precision
CN113467570B (en) * 2021-07-16 2024-02-09 无锡英斯特微电子有限公司 Clock accurate calibration system and method for USB full-speed equipment chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425089B1 (en) * 1999-03-19 2002-07-23 Winbond Electronics Corp. Method for generating a clock signal for universal asynchronous receiver transmitter by utilizing a PCI-standardized clock signal
CN1421751A (en) * 2001-11-30 2003-06-04 精中(珠海)表业有限公司 Low-power consumption precise timer and its precision correcting equipment, system and method
CN1622329A (en) * 2003-11-26 2005-06-01 中颖电子(上海)有限公司 Integrated circuit chip with built-in high precision frequency oscillator
CN101317145A (en) * 2005-11-30 2008-12-03 汤姆森许可贸易公司 Method and apparatus for providing a stable clock signal
CN201374688Y (en) * 2009-02-26 2009-12-30 南京理工海疆科技有限公司 Device for regulating frequency of crystal oscillator in remote controlling way
US7852099B1 (en) * 2007-01-31 2010-12-14 Ixys Ch Gmbh Frequency trimming for internal oscillator for test-time reduction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425089B1 (en) * 1999-03-19 2002-07-23 Winbond Electronics Corp. Method for generating a clock signal for universal asynchronous receiver transmitter by utilizing a PCI-standardized clock signal
CN1421751A (en) * 2001-11-30 2003-06-04 精中(珠海)表业有限公司 Low-power consumption precise timer and its precision correcting equipment, system and method
CN1622329A (en) * 2003-11-26 2005-06-01 中颖电子(上海)有限公司 Integrated circuit chip with built-in high precision frequency oscillator
CN101317145A (en) * 2005-11-30 2008-12-03 汤姆森许可贸易公司 Method and apparatus for providing a stable clock signal
US7852099B1 (en) * 2007-01-31 2010-12-14 Ixys Ch Gmbh Frequency trimming for internal oscillator for test-time reduction
CN201374688Y (en) * 2009-02-26 2009-12-30 南京理工海疆科技有限公司 Device for regulating frequency of crystal oscillator in remote controlling way

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
数码管显示驱动和键盘扫描控制器CH451及其应用;施隆照;《国外电子元器件》;20040105(第1期);第53页至第57页 *

Also Published As

Publication number Publication date
CN102857197A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN102857197B (en) A kind of calibration steps improving built-in RC oscillator frequency precision
CN107579723B (en) Method and device for calibrating clock frequency
JP5891758B2 (en) Electronic equipment
CN104949667A (en) Physical quantity sensor, sensor unit, electronic device, and moving object
CN104901690A (en) Method and device for automatically calibrating ring oscillator in test mode
CN103063374B (en) The seal performance tester of a kind of band temperature compensation function and sealing property method of testing
CN102692258B (en) Circuit device, integrated circuit and detection device
CN101072029A (en) Multiple precision clock generating circuit on single chip and its realizing method
CN102830748A (en) Method and system for calibrating clock skew inside chip
CN101626587A (en) Crystal auto-calibration method and apparatus
CN103868416A (en) Method for correcting original oscillation frequency clock of chip
KR101876997B1 (en) Oscillator auto trimming method and a semiconductor device using thereof
CN103424731A (en) Electric energy meter real-time clock correction device and correction method
US9548724B2 (en) Clock generation device, electronic apparatus, moving object, and clock generation method
CN101908012A (en) Clock signal testing device and testing method thereof
CN103336754B (en) A kind of USB is from the system clock automated calibration system of equipment and method
KR102271469B1 (en) Semiconductor device and semiconductor system comprising the same
CN109975617A (en) A kind of the test circuit and test method of matched crystal load capacitance
CN102638225A (en) On-chip clock frequency regulating circuit and regulating method
Lokapure et al. Interfacing of digital TPH sensors with FPGA using I2C interface
CN107623517A (en) A kind of clock and the realization device for resetting control chip mode of operation
CN102624328A (en) Motor speed control circuit
CN204556136U (en) Temperature sensing chip test circuit
CN202713272U (en) On-chip clock frequency adjusting circuit
CN101561691B (en) Method and device for regulating system frequency of storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

Termination date: 20190922