检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王海璇[1] 张新宝[1] 陈小彦[1] 李宝华[1]
机构地区:[1]吉林大学电子科学与工程学院,长春130012
出 处:《吉林大学学报(信息科学版)》2016年第5期622-625,共4页Journal of Jilin University(Information Science Edition)
基 金:国家自然科学基金青年科学基金资助项目(61204055)
摘 要:为产生应用于实践中的真正随机数,提出了一种利用微控制器的定时器产生随机数的新方法。使用微控制器的定时器检测按键按下的时间,利用按下按键的时间间隔的随机性获得随机数。微控制器的定时器工作在定时状态,由微控制器监测按键,按下按键时,微控制器立即读取其定时器的值,此数值即为随机数。通过统计学方法对实验数据的概率密度和自相关性进行了分析和验证。实验结果显示,其概率密度分布均匀且其自相关性接近零。采用该方法可产生随机数序列,且相比于纯数学的产生随机序列的方法更为简单、方便。In order to generate the real random numbers, which can be applied to the practice, this paper proposes a new method of using microcontroller timer to generate random numbers. It uses microcontroller timer to test button press time, using the time interval of the button when it is on to calculate the randomness of the random number. When the button pressed, microcontroller reads the value of the timer immediately, this value is the random Numbers. The experimental results showed that the probability density distribution is uniform and its the correlation is close to zero, and this method is more simple than pure mathematics physics method.
分 类 号:TP202.4[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.36.157