期刊文献+

基于遗传算法的AVR片内振荡器校频处理 被引量:1

Frequency Calibration for on Chip Oscillator of AVR Using Genetic Algorithms
下载PDF
导出
摘要 介绍了一种使用遗传算法对AVR片内RC振荡器进行实时校频的方法。以AVR片内高精度时钟单元RTC为时基控制单元,以标准时间内MCU定时器的计数值为控制目标,采用遗传控制策略搜索对应MCU理想时钟频率的OSCCAL寄存器最佳设置值,快速、准确地对RC振荡频率进行校准,为CPU提供具有高抗干扰特性的精确时钟。OSCCAL寄存器参数码的初始种群通过C语言库中rand()函数随机产生,通过复制、交叉、变异等遗传操作获得各代的适应值。其中,种群复制按向最优解迫近的原则操作,交叉匹配按随机配对交换码符方法操作,变异概率取值0.01,以保证遗传算法的稳定性。给出了实时校频遗传算法基本操作程序以及10次迭代的搜索结果。表明,该算法优化效果十分明显。 This paper described a methord of using genetic algorithms to calibrate the on chip RC oscillator of AVR real time. Taking the high precision on chip RTC (real time clock) as the time base control unit and using genetic algorithms to search the best OSCCAL register value, it will make the on chip RC oscillator generate a high precision clock for the MCU. This methord can be used fast and real time, so the CPU will get a stable clock source. The initial population of OSCCAL register participation digital was randomly generated by the C language library rand( ) function. They get all generations of fitness through genetic manipulation such as reproduction, crossover, mutation and so on. Among them, the population reproduces according to the principle that close to the optimal solution, cross-matching pair exchanged code randomly at the method of operation, mutation probability values of 0.01 to ensure the stability of genetic algo- rithm. The basic operating procedures of real time genetic algorithm and 10 iterations of search results were given, which shows that the algorithm optimization effect is very obvious.
作者 周斌 崔葛瑾
出处 《实验室研究与探索》 CAS 北大核心 2009年第9期29-32,76,共5页 Research and Exploration In Laboratory
关键词 遗传算法 电阻电容振荡器 频率校准 genetic algorithms resistor-capacitor oscillator frequency calibration
  • 相关文献

参考文献10

二级参考文献47

  • 1高维成,刘伟,邹经湘.基于结构振动参数变化的损伤探测方法综述[J].振动与冲击,2004,23(4):1-7. 被引量:44
  • 2刘伟,高维成,沈世钊.空间网格结构损伤探测的研究进展[J].力学与实践,2005,27(1):7-13. 被引量:3
  • 3张应辉,曾庆华,王志伟.遗传算法的混合算子策略[J].计算机科学,2007,34(4):222-224. 被引量:15
  • 4张均 刘克诚 张贤铎.微带天线理论与工程[M].北京:国防工业出版社,1988..
  • 5沈祖炎,陈扬骥.网架与网壳[M].上海:同济大学出版社,1996.
  • 6王永寿.共形阵天线低旁瓣波束形成法研究.飞航导弹,1999,(4).
  • 7Jin Jian-ming,Jerry A.Berrie,Robert Kipp,et al.Calculation of Radiation Patterns of Microstrip Antennas on Cylindrical Bodies of Arbitrary Cross Section[J].IEEE Trans.on AP,1997,AP-45:126-132.
  • 8Liu Yun-lin,Wang Yong,Yang Yu-gui.A Cylindrical Spiral Patch Array[J].IEEE Trans.Antennas and Propagat,2001,49(2):196-199.
  • 9GOODMAN E D. Introduction to genetic algorithms[C]. Genetic & Evolutionary Computation Conference-2005 ( GECCO2005), sponsored by ACM SIGEVO, June, 2005.
  • 10HAND D, MANNILA H, SMYTH P. Principles of data mining[M]. MIT Press, 2001.

共引文献45

同被引文献9

引证文献1

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部