首页> 外国专利> METHOD FOR COMPENSATING TIMING ERRORS OF REAL-TIME CLOCKS

METHOD FOR COMPENSATING TIMING ERRORS OF REAL-TIME CLOCKS

机译:实时时钟的时序误差补偿方法

摘要

The present invention relates to a method for compensating timing errors of real-time clocks, which comprises a compensating step, wherein in step 1, assign CNT to be 0 and execute step two; in step 2, assign FLAG to be 1 when a rising edge of 1 Hz clock is arrived and execute step 3; in step 3, judge FLAG and M3, if FLAG=1 and M30, execute step 4 while waiting until CNT=S4; if FLAG=1, CNT=0 and M30, execute step 5; otherwise execute step 2; in step 4, execute an assignment operation, CNT=0, M3=M3+S4, FLAG=0 and restart step 2; in step 5, execute an assignment operation, CNT=S4, M3=M3−S4, FLAG=0, and restart step 2. A sampling frequency of relative errors ERR of the present invention is adjustable, and a compensatory accuracy is much higher.
机译:本发明涉及一种实时时钟的时序误差补偿方法,其包括补偿步骤,其中,在步骤1中,将CNT设为0,执行步骤二;在步骤2中,当到达1Hz时钟的上升沿时,将FLAG设置为1,并执行步骤3;在步骤3中,判断FLAG和M3,如果FLAG = 1且M3 <0,则等待直到CNT = S4,再执行步骤4。如果FLAG = 1,CNT = 0,M3> 0,则执行步骤5;否则执行步骤2;在步骤4中,执行分配操作,CNT = 0,M3 = M3 + S4,FLAG = 0,并重启步骤2;在步骤5中,执行分配操作,CNT = S4,M3 = M3-S4,FLAG = 0,并重新开始步骤2。本发明的相对误差ERR的采样频率是可调的,并且补偿精度更高。

著录项

  • 公开/公告号US2015124918A1

    专利类型

  • 公开/公告日2015-05-07

    原文格式PDF

  • 申请/专利权人 SI-EN TECHNOLOGY LIMITED;

    申请/专利号US201414291123

  • 发明设计人 DONGSHI ZHAO;

    申请日2014-05-30

  • 分类号H04L7/00;

  • 国家 US

  • 入库时间 2022-08-21 15:21:40

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号