Digital temperature compensation real-time clock chip design based on I~2C bus

Author
TianXiaoHong
Advisor
ZhangKai
School
Yangzhou University
Major
Microelectronics and Solid State Electronics
Classification
TN402 Design
Degree
Master's thesis
Year
2012
Downloads
19
Citations
0

Request the full text

Abstract

The purpose of this paper is to research and design a multi-function real time clock (RTC), which is widely used in industrial control and consumer electronics.The paper studies the piezoelectric properties the temperature-frequency and Frequency Stabilization characteristic of the crystal, gives a method of RTC temperature compensation, by changing the load capacitance of the crystal oscillator, and shows a formula to calculate the value of the load capacitance, which is based on the temperature-frequency characteristic of the crystal. The temperature compensation method may automatically check the temperature by temperature sensor, and change analog temperature signal to digital signal by A/D converter, then look up the storage to get the load cap compensation value at the current temperature, finally finish the compensation for the crystal oscillator. The frequency generated by crystal oscillator is32.768kHz, which is more precise. At the range of-40℃to+85℃, the accuracy of RTC is±5ppm, as the precision error is0.432s in the day.The chip communicates with the external MCU by I2C bus. I2C bus developed by Philips is a serial bus interface, holds the biggest market share, and is widely used in many areas, especially in the consumer electronics, telecommunications and industrial electronics. I2C bus is2-wire bus, which saves hardware source. RTC supports I2C-bus’s fast speed mode400kbps.RTC includes seconds, minutes, hours, date of the month, day of the week, month and year with leap-year compensation until2099. It may select between12-hour and34hour clock display, which is used in the different situation. It also has alarm functions that alarm A and alarm B have different alarm functions by minutes, hours and date/day. And it has programmable square wave output function, as1Hz,4.096kHz,8.192kHz, and32.768kHz.The chip designed in the paper is a high-precision, multi-function RTC chip, which communicates with external devices by2-wire I2C bus. The0.18μm CMOS one poly four metal process is used to fabricate the chip. Up to now, the chip has been fabricated. After testing, all functions meet the requirements.

Table of contents

Summary 2-3 Abstract 3-4 directory 4-6 1 Introduction 6-9 1.1 , research background and basis 6-7 1.2, the research purpose and meaning 7 1.3, the paper is organized as 7-9 2 The overall chip design 9-14 2.1, the overall function of the chip design 9-10 2.2, chip modular division 10-12 2.3, chip applications 12-13 2.4, chapter Summary principle 13-14 3 digital temperature compensated oscillator with the design 14-26 3.1 , quartz crystal characteristics 14-18 3.1.1, the piezoelectric effect 14-15 3.1.2, crystal temperature drift characteristics 15-16 <br / > 3.1.3 , the crystal oscillator frequency stabilization characteristics 16-18 3.2, the impact load capacitance of the crystal frequency 18-20 3.3, temperature compensation scheme 20-21 3.4, principles of digital temperature compensation 21-22 3.5, circuit design, digital temperature compensation 22-25 3.6, Summary 25-26 4 I ~ 2C bus interface chip circuit design 26-37 4.1, I ~ 2C bus protocol 26-30 <br / > 4.1.1, I ~ 2C bus advantage 26-27 4.1.2, I ~ 2C bus features 27-30 4.2, I ~ 2C bus circuit design 30-35 4.2.1, start stop conditions determine 31 4.2.2, nine -band and strings turn and 31-32 <br / > 4.2.3 , mode switching state machine design 32-35 4.3, simulation and verification I ~ 2C bus circuit 35-36 4.4, Summary 36-37 5 RTC function implementation and simulation 37-51 5.1, to achieve real-time clock and simulation verification 37-42 5.1. 1 , address decoding circuit design and verification 38-39 5.1.2,12 / 24小时module design simulation and verification 39-41 5.1.3, Year month, simulation and verification date module 41-42 5.2, interrupt function implementation and simulation 42-46 5.3, RTC function control section and a square wave output circuit Implementation and simulation 46-49 5.4, divider circuit design and verification 49-50 5.5, chapter Summary 50-51 6 layout 51-56 6.1, layout design process 51-52 6.2, chip layout 52-56 7 summary and Outlook 56-58 References 58-61 Thanks 61-62 Appendix period of studying for a master's degree thesis published 62-63

Related dissertations

  1. Research of Humidity Sensor Based on STM8S Single-chip Microcomputer and Its Calibration-check System
  2. The Development of Combustible Gas Alarm Apparatus Using RBF Neural Networks
  3. A Electrical Capacitance Tomography System Based on FPGA and AD5933
    WangDa ·Tianjin University ·2012 ·Master's thesis
  4. Research on the Technology of Calibration and Temperature Compensation for the MIMU
    ZhuJiaYi ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research on Signal Conditioning for Piezoresistive Intracranial Pressure Sensors
  6. Research on the Signal Acquisition and Processing for Air Mouse Pointer Positioning
    PengYi ·Wuhan University of Technology ·2013 ·Master's thesis
  7. Design and Implementation on the Soft IP Cores of Low Speed Serial Communication Bus
  8. Design and research of arc protection device based on STC MCU
  9. The Research on Temperature Compensation System for GMM-FBG Current Transformer Based on FPGA
  10. Study on Fiber Bragg Grating Sensors for Real-time Monitoring of Reservoir Levels
    LengZhuoYan ·Wuhan University of Technology ·2013 ·Master's thesis
  11. The Research of Vehicle-Cabin Air Quality and Hazardous Gas Detection Method
  12. Car Radio-cassette System Based on SI4740
    ZhangJingBo ·Tianjin University ·2012 ·Master's thesis
  13. Researches on the Strain Monitoring System of Guantouba Bridge
    LiuKun ·Chang'an University ·2013 ·Master's thesis
  14. The Design and Implementation of a Zero Flux Hall Current Sensor
  15. Study of a low temperature vacuum off-axis reflective collimator
  16. Research on a Method for Pressure Measurement in Pressure Vessel Using Reflected Longitudinal Wave
    BiYao ·Zhejiang University ·2014 ·Master's thesis
  17. Error Compensation Technology for CNC Machine Tool and its Application
    ZhuShao ·Hunan University ·2013 ·Master's thesis
  18. Design of Coal Mine Safety Monitoring System Based on Internet of Things
    LiMaoDong ·Taiyuan University of Technology ·2013 ·Master's thesis
  19. Experimental Study on Distributed Optical Fiber Sensing Technology for Monitoring of Engineering Deformation
    XiaoMeiZuo ·Tianjin University ·2012 ·Master's thesis
  20. Research on Temperature Control and Compensation of Digital Closed-Loop Fiber Optic Gyroscope
    CaoHui ·Xi'an Optics and Fine Mechanics ·2013 ·Master's thesis