實(shí)時(shí)時(shí)鐘補(bǔ)償(Real Time Clock Compensation)
資料介紹
Real Time Clock Compensation
This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
The sample code discussed is from the demonstration code for the 71M6521F, but similar principles may be used
with the 71M6511, 71M6513 and other Teridian Meter products.
The Challenge
The real-time clock (RTC) in Teridian energy meter chips is based on the external crystal connected to the XIN
and XOUT pins of the on-chip oscillator. Most uses require accuracy that is better than an uncompensated clock
crystal can provide. Commercially available crystals will have a slight deviation from the target frequency at room
temperature. In addition, the crystal frequency will change with temperature following a quadratic function. There-
fore, practical clocks require some sort of compensation to get adequate accuracy.
The RTC in the 71M6521D/F
The real-time clock in Teridian energy meter chips provided on-chip in the 71M6521D and 71M6521F chips con-
sists of an oscillator and divider chain that keeps track of the current time of day and date, as long as main power
or battery power is applied to the chip. Once set, the RTC tracks real time and date at the accuracy provided by
the external 32kHz oscillator.?
The hardware of the 71M6521 permits the seconds counter to be corrected by incrementing or decrementing it
using the RTC_INC_SEC or RTC_DEC_SEC registers of the I/O RAM.
Theory of Operation
Teridian offers a solution that uses software to compensate the RTC, permitting quadratic compensation for
temperature-induced drift. This solution is purely digital, with excellent accuracy and stability. It saves space on
the integrated circuit, providing very good value compared to more expensive solutions, such as temperature-
compensated oscillators, digital drift compensation logic, or programmable loading capacitors.
The digital compensation uses the RTC_INC_SEC or RTC_DEC_SEC registers of the I/O RAM to occasionally
correct the seconds counter. This correction occurs when the calculated deviation of the clock has reached one
second. The compensation code continuously adds up the fractional error, until it equals a second, and then adds
or subtracts one second of error to or from the RTC by incrementing or decrementing the seconds counter. This
mode of operation is shown in Figure 1. While this compensation methods works fine, it is better to correct the
RTC when the error exceeds ? seconds. That way, the deviation from ideal time is always less than 500ms (see? Figure 2).?
- TPS65950實(shí)時(shí)時(shí)鐘時(shí)序補(bǔ)償分析
- stm32f4 RTC實(shí)時(shí)時(shí)鐘解析
- MSP430單片機(jī)實(shí)時(shí)時(shí)鐘模塊的詳細(xì)介紹和使用代碼免費(fèi)下載
- 實(shí)時(shí)時(shí)鐘RTC的程序應(yīng)用設(shè)計(jì)和詳細(xì)資料免費(fèi)下載 13次下載
- AN1155中文手冊(cè)之時(shí)鐘晶振的實(shí)時(shí)校準(zhǔn) 0次下載
- dsPIC33E/PIC24E之實(shí)時(shí)時(shí)鐘和日歷(RTCC)
- TPS65950實(shí)時(shí)時(shí)鐘定時(shí)補(bǔ)償分析 12次下載
- 時(shí)鐘晶振的實(shí)時(shí)校準(zhǔn) 7次下載
- TB3124 - 實(shí)時(shí)時(shí)鐘和日歷技術(shù)簡(jiǎn)介 0次下載
- I2C總線實(shí)時(shí)時(shí)鐘/日歷? 和EEPROM,ISL12026 25次下載
- 實(shí)時(shí)時(shí)鐘X12xx的特性及應(yīng)用
- 實(shí)時(shí)時(shí)鐘X12xx的特性及應(yīng)用
- Xicor實(shí)時(shí)時(shí)鐘系列用戶指南
- X1226 pdf datasheet (Real Time
- X1228 pdf datasheet (Real Time
- 基于FPGA的實(shí)時(shí)時(shí)鐘設(shè)計(jì) 530次閱讀
- TCXO RTC實(shí)時(shí)時(shí)鐘模塊的特性 415次閱讀
- RTC實(shí)時(shí)時(shí)鐘的基本概念和工作原理 3913次閱讀
- 基于FPGA的RTC實(shí)時(shí)時(shí)鐘系統(tǒng)設(shè)計(jì) 1325次閱讀
- 業(yè)界轉(zhuǎn)向MEMS以獲得精確的實(shí)時(shí)時(shí)鐘 1370次閱讀
- 使用實(shí)時(shí)時(shí)鐘IC DS1307制作精確時(shí)鐘的方法 6654次閱讀
- 實(shí)時(shí)時(shí)鐘的硬件結(jié)構(gòu)_實(shí)時(shí)時(shí)鐘故障怎么解決 7224次閱讀
- 實(shí)時(shí)時(shí)鐘的單片機(jī)項(xiàng)目需要學(xué)習(xí)什么知識(shí) 3574次閱讀
- STM32單片機(jī)中RTC的秒中斷的原理解析 1.4w次閱讀
- 一文看懂rtc實(shí)時(shí)時(shí)鐘和單片機(jī)時(shí)鐘的區(qū)別 6.1w次閱讀
- 關(guān)于實(shí)時(shí)時(shí)鐘模塊DS1302的介紹 1.9w次閱讀
- 實(shí)時(shí)時(shí)鐘芯片有哪些_實(shí)時(shí)時(shí)鐘芯片選型介紹 4w次閱讀
- 基于MicroBlaze的AXI總線實(shí)時(shí)時(shí)鐘IP核設(shè)計(jì) 3946次閱讀
- 實(shí)時(shí)時(shí)鐘芯片應(yīng)用設(shè)計(jì)時(shí)必須要考慮的事項(xiàng) 5546次閱讀
- MC9S08MG64實(shí)時(shí)時(shí)鐘的校準(zhǔn)和補(bǔ)償 8264次閱讀
下載排行
本周
- 1EMC電路設(shè)計(jì)工程師必備的EMC基礎(chǔ)
- 0.42 MB | 4次下載 | 2 積分
- 2AU3116 2×60W模擬輸入雙通道Class-D 音頻功率放大器數(shù)據(jù)手冊(cè)
- 1.19 MB | 1次下載 | 免費(fèi)
- 3低壓降肖特基整流管SR340L數(shù)據(jù)手冊(cè)
- 0.78 MB | 1次下載 | 免費(fèi)
- 4ZX8002E 觸摸調(diào)光LED集成IC數(shù)據(jù)手冊(cè)
- 2.27 MB | 次下載 | 免費(fèi)
- 5SOD-323塑料封裝ESD保護(hù)二極管SD05T系列規(guī)格書
- 1.07 MB | 次下載 | 免費(fèi)
- 6SOT-23塑料封裝ESD保護(hù)二極管SMxx Series系列規(guī)格書
- 0.93 MB | 次下載 | 免費(fèi)
- 7高效率整流二極管HER151 THRU HER158數(shù)據(jù)手冊(cè)
- 0.54 MB | 次下載 | 免費(fèi)
- 8低壓降肖特基整流管SL22 THRU SL210數(shù)據(jù)手冊(cè)
- 1.03 MB | 次下載 | 免費(fèi)
本月
- 1三相逆變主電路的原理圖和PCB資料合集免費(fèi)下載
- 27.35 MB | 111次下載 | 1 積分
- 2運(yùn)算放大器基本電路中文資料
- 1.30 MB | 16次下載 | 免費(fèi)
- 3蘋果iphone 11電路原理圖
- 4.98 MB | 11次下載 | 5 積分
- 4TL494工業(yè)用開關(guān)電源原理圖資料
- 0.22 MB | 10次下載 | 1 積分
- 5常用電子元器件介紹
- 3.21 MB | 8次下載 | 免費(fèi)
- 6QW2893應(yīng)急燈專用檢測(cè)芯片
- 590.40 KB | 4次下載 | 免費(fèi)
- 7相關(guān)協(xié)議信號(hào)總結(jié)
- 0.94 MB | 4次下載 | 免費(fèi)
- 8EMC電路設(shè)計(jì)工程師必備的EMC基礎(chǔ)
- 0.42 MB | 4次下載 | 2 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935130次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191390次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183344次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81591次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73815次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65989次下載 | 10 積分
評(píng)論