发明名称 RANDOM NUMBER GENERATING DEVICE
摘要 PROBLEM TO BE SOLVED: To provide a random number generating device capable of generating random numbers in an arithmetic process of a microcomputer without using an external circuit an output of which changes according to a power supply voltage.SOLUTION: A microcomputer of a charger for charging a battery pack includes a main oscillation circuit and a sub oscillation circuit. The sub oscillation circuit exhibits higher temperature dependence than that of the main oscillation circuit and is used for counting a time by a timer. The microcomputer is operated by a clock from the main oscillation circuit exerting low temperature dependence and generates a random number for authenticating the battery pack. When generating the random number, the microcomputer starts to count a sub clock by the timer (S110), and later measures a time from when the count value of the timer reaches a predetermined value till a timer interruption occurs, by counting a variable i (S120 and S130). The time from starting the timer till occurring the timer interruption changes according to a temperature of the sub oscillation circuit. This configuration can thus generate the random number by measuring the time using the main clock.
申请公布号 JP2013149079(A) 申请公布日期 2013.08.01
申请号 JP20120009015 申请日期 2012.01.19
申请人 MAKITA CORP 发明人 OKABAYASHI TOSHIKAZU
分类号 G06F7/58;H03K3/84 主分类号 G06F7/58
代理机构 代理人
主权项
地址
您可能感兴趣的专利