JP2001117757A - Probability generator and random number generator - Google Patents

Probability generator and random number generator

Info

Publication number
JP2001117757A
JP2001117757A JP29843299A JP29843299A JP2001117757A JP 2001117757 A JP2001117757 A JP 2001117757A JP 29843299 A JP29843299 A JP 29843299A JP 29843299 A JP29843299 A JP 29843299A JP 2001117757 A JP2001117757 A JP 2001117757A
Authority
JP
Japan
Prior art keywords
random
pulse
generator
pulses
clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP29843299A
Other languages
Japanese (ja)
Other versions
JP3501042B2 (en
Inventor
Hiroyasu Yamamoto
博康 山本
Takakuni Shimizu
隆邦 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cosmo EC Co Ltd
Iwaki Electronics Co Ltd
Original Assignee
Cosmo EC Co Ltd
Iwaki Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cosmo EC Co Ltd, Iwaki Electronics Co Ltd filed Critical Cosmo EC Co Ltd
Priority to JP29843299A priority Critical patent/JP3501042B2/en
Publication of JP2001117757A publication Critical patent/JP2001117757A/en
Application granted granted Critical
Publication of JP3501042B2 publication Critical patent/JP3501042B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To generate a correct probability value even when the average number of pulses per unit time is changed in a probability generator utilizing the random generation of radiant rays from a radioactive substance or white noise from a diode. SOLUTION: A memory 9 sequentially stores the average number of pulses per unit time measured by a measuring circuit 3. A clock correction circuit 6 changes the clock period of a clock pulse generator 11 so as to cancel the increment/decrement of the average number of pulses when the average number is changed. Consequently the same probability value is obtained even when the average number of pulses per unit time in a random pulse source 10 is changed. A pulse evaluation circuit 7 defines plural sections by dividing a time interval and judges whether the number of pulses included in each section is based on prescribed exponential distribution or not. Consequently whether pulses are generated from the random pulse source 10 always at random or not, i.e., whether an appropriate probability value is obtained or not, can be easily judged.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、放射性物質の放射
線やダイオードのホワイトノイズなどがランダムに発生
することに着眼し、これを利用して製造した確率発生器
および乱数発生器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a probability generator and a random number generator manufactured by utilizing the fact that radiation of radioactive materials and white noise of a diode are randomly generated.

【0002】[0002]

【従来の技術】従来この種の確率発生器としては、例え
ば特許第2806736号公報に開示されているよう
に、放射性物質やダイオードからランダムに放出される
放射線やホワイトノイズをパルス化してパルス数を計数
し、このパルス数に基づいて確率値を生成するものが知
られている。
2. Description of the Related Art Conventionally, as a probability generator of this type, as disclosed in Japanese Patent No. 2880636, for example, radiation or white noise randomly emitted from a radioactive substance or a diode is pulsed to reduce the number of pulses. One that counts and generates a probability value based on the number of pulses is known.

【0003】放射性物質を用いた確率発生器には、人為
的な不正操作を予防してセキュリティーを高めたものが
あり、その方法は、一定時間かけてパルス総数を計り、
このパルス総数が通常の平均的な値からどれだけずれて
いるのかをみて、不正操作があったか否かを判断するも
のである。
[0003] Some probability generators using radioactive materials have increased security by preventing human tampering. The method measures the total number of pulses over a certain period of time,
The deviation of the total number of pulses from a normal average value is determined to determine whether or not an illegal operation has been performed.

【0004】[0004]

【発明が解決しようとする課題】しかし、これでは次の
ような不都合があった。
However, this has the following disadvantages.

【0005】第1に、ランダムパルス源はその性質変化
(劣化)や構造の変化、或いは第三者による不正操作に
よってパルス頻度が変わる恐れがあり、この場合には確
率発生器が誤った確率値を生成し続けてしまう等の危険
性がある。
First, the pulse frequency of a random pulse source may change due to a change in its properties (deterioration), a change in its structure, or an unauthorized operation by a third party. May continue to be generated.

【0006】例えば、ダイオードをランダムパルス源と
して用いた場合、ダイオードからのホワイトノイズは温
度依存性があるため、寒暖の差があると単位時間当たり
の平均パルス数も変化する。そして、この単位時間当た
りの平均パルス数が、すでに設定されている値からずれ
てくると、確率発生器は誤った確率値を生成することに
なる。
For example, when a diode is used as a random pulse source, the white noise from the diode has a temperature dependency, so that if there is a difference in temperature, the average number of pulses per unit time also changes. Then, when the average number of pulses per unit time deviates from the already set value, the probability generator generates an erroneous probability value.

【0007】また、放射性物質を用いた確率発生器にお
いては、確率値を算出する際に使用される単位時間当た
りの平均パルス数は出荷前に測定し、その値をずっと使
い続けるが、放射性物質から放出される放射線は時間と
ともに指数関数的に減少し、それに伴って単位時間当た
りの平均パルス数も減少するので、確率値は出荷時の設
定値からずれてしまう。そして、この確率値のずれが無
視できなくなると、確率発生器を破棄しなければなら
ず、確率発生器の寿命が短くなる。
In a probability generator using a radioactive substance, the average number of pulses per unit time used in calculating a probability value is measured before shipment, and the value is continuously used. Radiation exponentially decreases with time, and the average number of pulses per unit time decreases accordingly, so that the probability value deviates from the factory setting. If the deviation of the probability values cannot be ignored, the probability generator must be discarded, and the life of the probability generator is shortened.

【0008】第2に、不正検出の方法は、一定時間のパ
ルス総数が通常の平均的な値からずれない限り、不正を
検出できないので、もし平均的なパルス総数を維持しつ
つランダムでない人為的なパルスを送れるよう細工され
ると、不正検出が不可能となる。
Second, the fraud detection method cannot detect fraud unless the total number of pulses for a certain period of time deviates from a normal average value. If it is designed so that it can send a proper pulse, fraud detection becomes impossible.

【0009】これらのことは、確率発生器に限らず乱数
発生器についても同様である。
[0009] The same applies to the random number generator as well as the probability generator.

【0010】本発明は、このような事情に鑑み、ランダ
ムパルス源のパルス頻度の変化に伴う種々の不都合を回
避することができ、人為的なパルスを当てられるような
不正の有無を検出することが可能な確率発生器および乱
数発生器を提供することを目的とする。
[0010] In view of such circumstances, the present invention can avoid various inconveniences due to a change in the pulse frequency of a random pulse source, and can detect the presence or absence of fraud to apply an artificial pulse. It is an object of the present invention to provide a probability generator and a random number generator capable of performing the following.

【0011】[0011]

【課題を解決するための手段】すなわち、本発明のうち
確率発生器に係る発明は、ランダムパルスを放出するラ
ンダムパルス源(10)と、所定のクロック周期(τ)
でクロックパルスを放出するクロックパルス発生器(1
1)とを有し、このクロックパルス発生器から送出され
るクロックパルスに基づいて前記ランダムパルス源から
放出されるランダムパルスのパルス総数を一定時間ごと
に計数して単位時間当たりの平均パルス数(n)を算出
する測定手段(2、3)を設け、この測定手段が算出し
た単位時間当たりの平均パルス数に基づいて確率値
(P)を生成する確率生成手段(5)を設けた確率発生
器(1)において、前記測定手段が算出した単位時間当
たりの平均パルス数を逐次記憶するメモリ(9)を設
け、このメモリに記憶された単位時間当たりの平均パル
ス数が増減したときに、その増減を打ち消すように前記
クロックパルス発生器のクロック周期を変更するクロッ
ク補正手段(6)を設けて構成される。こうした構成を
採用することにより、ランダムパルス源の単位時間当た
りの平均パルス数が変化しても正しい確率値が得られる
ようになる。
That is, the invention relating to the probability generator of the present invention comprises a random pulse source (10) for emitting a random pulse, and a predetermined clock period (τ).
Clock pulse generator (1)
And 1) counting the total number of random pulses emitted from the random pulse source based on the clock pulse sent from the clock pulse generator at regular intervals, and calculating the average number of pulses per unit time ( Probability generating means provided with measuring means (2, 3) for calculating n) and probability generating means (5) for generating a probability value (P) based on the average number of pulses per unit time calculated by the measuring means. In the device (1), a memory (9) for sequentially storing the average number of pulses per unit time calculated by the measuring means is provided, and when the average number of pulses per unit time stored in this memory increases or decreases, Clock correction means (6) for changing the clock cycle of the clock pulse generator so as to cancel the increase / decrease is provided. By employing such a configuration, a correct probability value can be obtained even if the average number of pulses per unit time of the random pulse source changes.

【0012】さらに、時間間隔(t)を分割して複数個
の区間を定め、各区間内に含まれるパルス数(S)が所
定の指数分布に従っているか否かを判定するパルス評価
手段(7)を設けて構成される。かかる構成により、ラ
ンダムパルス源(10)からのパルスが常にランダムと
なっているか否かを容易に判別でき、したがって妥当な
確率値(P)となっているかを判別できるとともに、ラ
ンダムでない人為的なパルスを当てられるような不正が
あった場合には、これを検出することができるようにな
る。
Further, a pulse evaluation means (7) for determining a plurality of sections by dividing the time interval (t) and determining whether or not the number of pulses (S) included in each section follows a predetermined exponential distribution. Is provided. With such a configuration, it is possible to easily determine whether or not the pulse from the random pulse source (10) is always random. Therefore, it is possible to determine whether or not the pulse has a reasonable probability value (P), and it is also possible to determine whether the pulse has a random artificial value. If there is an irregularity that can cause a pulse, it can be detected.

【0013】一方、本発明のうち乱数発生器に係る発明
は、ランダムパルスを放出するランダムパルス源(1
0)と、所定のクロック周期(τ)でクロックパルスを
放出するクロックパルス発生器(11)とを有し、この
クロックパルス発生器から送出されるクロックパルスに
基づいて前記ランダムパルス源から放出されるランダム
パルスのパルス総数を一定時間ごとに計数して単位時間
当たりの平均パルス数(n)を算出する測定手段(2、
3)を設け、この測定手段が算出した単位時間当たりの
平均パルス数に基づいて乱数を生成する乱数生成手段を
設けた乱数発生器において、前記測定手段が算出した単
位時間当たりの平均パルス数を逐次記憶するメモリ
(9)を設け、このメモリに記憶された単位時間当たり
の平均パルス数が増減したときに、その増減を打ち消す
ように前記クロックパルス発生器のクロック周期を変更
するクロック補正手段(6)を設けて構成される。こう
した構成を採用することにより、ランダムパルス源の単
位時間当たりの平均パルス数が変化しても正しい乱数が
得られるようになる。
On the other hand, among the present invention, the invention relating to the random number generator is characterized in that a random pulse source (1) for emitting a random pulse is provided.
0), and a clock pulse generator (11) for emitting a clock pulse at a predetermined clock period (τ). The clock pulse generator (11) emits a clock pulse from the random pulse source based on the clock pulse sent from the clock pulse generator. Measuring means (2, 2) for calculating the average number of pulses (n) per unit time by counting the total number of random pulses at predetermined time intervals.
In a random number generator provided with 3) and provided with random number generating means for generating a random number based on the average number of pulses per unit time calculated by the measuring means, the average number of pulses per unit time calculated by the measuring means is A clock correcting means (9) for sequentially storing a clock (9) for changing the clock cycle of the clock pulse generator so as to cancel the increase or decrease when the average number of pulses per unit time stored in the memory increases or decreases. 6) is provided. By adopting such a configuration, a correct random number can be obtained even if the average number of pulses per unit time of the random pulse source changes.

【0014】さらに、時間間隔(t)を分割して複数個
の区間を定め、各区間内に含まれるパルス数(S)が所
定の指数分布に従っているか否かを判定するパルス評価
手段(7)を設けて構成される。かかる構成により、ラ
ンダムパルス源(10)からのパルスが常にランダムと
なっているか否かを容易に判別でき、したがって妥当な
乱数となっているかを判別できるとともに、ランダムで
ない人為的なパルスを当てられるような不正があった場
合には、これを検出することができるようになる。
Further, a pulse evaluation means (7) for determining a plurality of sections by dividing the time interval (t) and determining whether the number of pulses (S) included in each section follows a predetermined exponential distribution. Is provided. With such a configuration, it is possible to easily determine whether or not the pulse from the random pulse source (10) is always random. Therefore, it is possible to determine whether or not the pulse is an appropriate random number, and to apply a non-random artificial pulse. If such fraud is found, it can be detected.

【0015】なお、括弧内の符号は図面において対応す
る要素を表す便宜的なものであり、したがって、本発明
は図面上の記載に限定拘束されるものではない。このこ
とは「特許請求の範囲」の欄についても同様である。
It should be noted that reference numerals in parentheses are for convenience of representing corresponding elements in the drawings, and therefore, the present invention is not limited to the description on the drawings. The same applies to the column of “Claims”.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施形態を図面に
基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は本発明に係る確率発生器の一実施形
態を示す制御ブロック図、図2はランダムパルス源とし
て放射性物質を用いた場合の確率発生過程を示す模式
図、図3はランダムパルス源としてダイオードを用いた
場合の確率発生過程を示す模式図、図4は時間間隔の第
1の分割方法を示す模式図、図5は時間間隔の第2の分
割方法を示す模式図、図6は時間間隔の第3の分割方法
を示す模式図である。
FIG. 1 is a control block diagram showing an embodiment of a probability generator according to the present invention, FIG. 2 is a schematic diagram showing a probability generation process when a radioactive substance is used as a random pulse source, and FIG. FIG. 4 is a schematic diagram illustrating a probability generation process when a diode is used as a source, FIG. 4 is a schematic diagram illustrating a first method of dividing a time interval, FIG. 5 is a schematic diagram illustrating a second method of dividing a time interval, and FIG. FIG. 6 is a schematic diagram showing a third method of dividing a time interval.

【0018】この確率発生器1は、図1に示すように、
主制御回路2を有しており、主制御回路2には測定回路
3、確率生成回路5、クロック補正回路6、パルス評価
回路7およびメモリ9が接続されている。さらに、測定
回路3にはランダムパルス源10およびクロックパルス
発生器11が接続されている。ここで、ランダムパルス
源10はランダムパルスを放出するが、あるパルスが発
生してから次のパルスが発生するまでの時間間隔の分布
は指数分布となり、具体的には、放射線を放出する放射
性物質や、ホワイトノイズを放出するダイオードなどが
これに該当する。
As shown in FIG. 1, the probability generator 1
The main control circuit 2 includes a measurement circuit 3, a probability generation circuit 5, a clock correction circuit 6, a pulse evaluation circuit 7, and a memory 9. Further, a random pulse source 10 and a clock pulse generator 11 are connected to the measuring circuit 3. Here, the random pulse source 10 emits a random pulse, and the distribution of the time interval from the generation of a certain pulse to the generation of the next pulse is an exponential distribution, and specifically, a radioactive substance that emits radiation. And a diode that emits white noise.

【0019】したがって、ランダムパルス源10として
放射性物質を採用した確率発生器1は、図2に示すよう
に、この放射性物質からランダムに放出される放射線を
利用して、次に述べるとおり、確率値を発生させる。
Therefore, the probability generator 1 employing a radioactive material as the random pulse source 10 utilizes the radiation randomly emitted from the radioactive material as shown in FIG. Generate.

【0020】まず、主制御回路2は測定回路3にパルス
計数を指令し、測定回路3はクロックパルス発生器11
から次々と送出されるクロックパルスに基づき、放射性
物質から放出されるランダムパルスのパルス総数を一定
時間ごとに計数する。そして、主制御回路2は単位時間
当たりの平均パルス数nを算出し、パルス総数および平
均パルス数nをメモリ9に逐次書き込んでいくととも
に、この平均パルス数nをクロック補正回路6に出力す
る。これを受けてクロック補正回路6は、クロックパル
ス発生器11のクロック補正の要否を判定し、必要な場
合はこれを実行した後、確率生成回路5は単位時間当た
りの平均パルス数nに基づいて確率値を生成する。
First, the main control circuit 2 instructs the measuring circuit 3 to count pulses, and the measuring circuit 3
, The total number of random pulses emitted from the radioactive material is counted at regular intervals based on the clock pulses successively transmitted from. Then, the main control circuit 2 calculates the average number of pulses n per unit time, sequentially writes the total number of pulses and the average number of pulses n into the memory 9, and outputs the average number of pulses n to the clock correction circuit 6. In response, the clock correction circuit 6 determines whether or not the clock correction of the clock pulse generator 11 is necessary. If necessary, the clock correction circuit 6 executes the correction. To generate a probability value.

【0021】すなわち、放射性物質から放出される単位
時間当たりの平均パルス数nと、あるパルスが放出され
てから次のパルスが放出されるまでの時間間隔tと、そ
の時間間隔tでパルスが放出されるパルス数Nとの間に
は、数1に示す関係式が成り立ち、パルスの時間間隔t
がt1以上でt2以下の値(t1≦t≦t2)をとる確
率値Pは、数2に示すように表されることから、これら
t1、t2を指定することにより、確率値Pの設定を行
うことができる。なお、数1および数2に示す式中、ex
p は自然対数の底eのべき乗を表す。
That is, the average number n of pulses emitted per unit time from a radioactive substance, the time interval t from the emission of a certain pulse to the emission of the next pulse, and the emission of pulses at the time interval t The relational expression shown in Equation 1 holds between the number of pulses N and the time interval t of the pulses.
Takes the value (t1 ≦ t ≦ t2) that is equal to or more than t1 and equal to or less than t2 (t1 ≦ t ≦ t2). Therefore, by specifying these t1 and t2, the probability value P can be set. It can be carried out. Note that in the equations shown in Equations 1 and 2, ex
p represents a power of the base e of the natural logarithm.

【数1】N=A exp(−nt) (ただし、Aはtに依存しない定数である。)N = A exp (−nt) (where A is a constant independent of t)

【数2】P= exp(−nt1)− exp(−nt2)P = exp (-nt1) -exp (-nt2)

【0022】このとき、数2から明らかなように、確率
値Pは単位時間当たりの平均パルス数nに依存するの
で、メモリ9から単位時間当たりの平均パルス数nを読
み出し、この単位時間当たりの平均パルス数nが変化し
たか否かを判定し、単位時間当たりの平均パルス数nが
変化した場合には、クロックパルス発生器11のクロッ
ク補正を実行すべく、時間間隔tがクロック周期τとク
ロック数εとの積で表現できること(t=τε)を踏ま
えて、クロック周期τを単位時間当たりの平均パルス数
nに反比例させて変換する。つまり、単位時間当たりの
平均パルス数nがn’に変化したら、クロック周期τを
τ’=(n/n’)τに変換する。すると、単位時間当
たりの平均パルス数n(したがって、パルス頻度)が変
化しても、クロック数εを変えることなく同じ確率値P
を得ることができる。無論、単位時間当たりの平均パル
ス数nが変化していない場合は、クロックパルス発生器
11のクロック補正を行う必要はない。
At this time, as is apparent from Equation 2, since the probability value P depends on the average number of pulses n per unit time, the average number of pulses n per unit time is read from the memory 9 and It is determined whether or not the average number of pulses n has changed. If the average number of pulses n per unit time has changed, the time interval t is changed to the clock period τ in order to execute the clock correction of the clock pulse generator 11. The clock period τ is converted in inverse proportion to the average number of pulses n per unit time, based on the fact that it can be expressed by the product of the number of clocks ε (t = τε). That is, when the average pulse number n per unit time changes to n ′, the clock cycle τ is converted to τ ′ = (n / n ′) τ. Then, even if the average number of pulses n per unit time (therefore, the pulse frequency) changes, the same probability value P is maintained without changing the number of clocks ε.
Can be obtained. Of course, when the average number of pulses n per unit time does not change, there is no need to perform clock correction of the clock pulse generator 11.

【0023】一方、パルス評価回路7は、こうして生成
される確率値が妥当なものであるか否かを判断する。そ
れには、図4や図5に示すように、時間間隔tを適当に
分割して複数個の区間を定め、各区間内に含まれるパル
ス数Sが、確率密度関数を用いて算出される計算値に合
致しているか否かを判定する。その結果、両者が合致し
ている場合には確率値が妥当であると判断し、逆に両者
が合致していない場合には確率値は妥当でないと判断す
る。なお、時間間隔tの分割の仕方は種々考えられ、例
えば図4に示すように、各区間内に期待されるパルス数
Sが均一になるように時間間隔tを分割してもよく、図
5に示すように、時間間隔tを均等に分割しても構わな
い。この際、時間間隔tの小さい区間ではパルスの数え
落としが発生しやすく、測定時間を超えるような大きな
時間間隔tでやってくるパルスは測定できず、そのよう
な時間間隔tを含む領域では理論値より測定値の方が少
なくなるので、図6に示すように、これらの区間(図6
中の斜線部分)を削除して判定を行うのが好ましい。
On the other hand, the pulse evaluation circuit 7 determines whether or not the probability value thus generated is appropriate. To do this, as shown in FIGS. 4 and 5, a time interval t is appropriately divided to determine a plurality of sections, and the number of pulses S included in each section is calculated using a probability density function. Determine whether the value matches. As a result, if both match, the probability value is determined to be valid. Conversely, if both do not match, the probability value is determined to be invalid. The time interval t can be divided in various ways. For example, as shown in FIG. 4, the time interval t may be divided so that the expected number of pulses S in each section becomes uniform. , The time interval t may be equally divided. At this time, in the section where the time interval t is small, the counting of the pulses is apt to occur, and the pulse coming at the large time interval t exceeding the measurement time cannot be measured. Since the measured values are smaller, as shown in FIG.
It is preferable that the determination is made by deleting the hatched portion in FIG.

【0024】以上、ランダムパルス源10として放射性
物質を採用した確率発生器1について説明したが、図3
に示すように、ランダムパルス源10としてダイオード
を採用し、このダイオードのホワイトノイズを利用して
同様な確率発生器を構成することも可能である。
The probability generator 1 employing a radioactive material as the random pulse source 10 has been described above.
As shown in (1), it is also possible to employ a diode as the random pulse source 10 and configure a similar probability generator using the white noise of this diode.

【0025】なお、上述の実施形態においては確率発生
器1について説明したが、確率値Pを生成する確率生成
回路5の代わりに乱数を生成する乱数生成回路を採用す
ることにより、本発明を乱数発生器(図示せず)に適用
することもできる。
Although the probability generator 1 has been described in the above-described embodiment, the present invention is modified by adopting a random number generation circuit for generating a random number instead of the probability generation circuit 5 for generating the probability value P. It can also be applied to a generator (not shown).

【0026】[0026]

【発明の効果】以上説明したように、本発明のうち確率
発生器に係る発明によれば、ランダムパルスを放出する
ランダムパルス源10と、所定のクロック周期τでクロ
ックパルスを放出するクロックパルス発生器11とを有
し、このクロックパルス発生器11から送出されるクロ
ックパルスに基づいて前記ランダムパルス源10から放
出されるランダムパルスのパルス総数を一定時間ごとに
計数して単位時間当たりの平均パルス数nを算出する測
定手段(主制御回路2、測定回路3など)を設け、この
測定手段が算出した単位時間当たりの平均パルス数nに
基づいて確率値Pを生成する確率生成手段(確率生成回
路5など)を設けた確率発生器1において、前記測定手
段が算出した単位時間当たりの平均パルス数nを逐次記
憶するメモリ9を設け、このメモリ9に記憶された単位
時間当たりの平均パルス数nが増減したときに、その増
減を打ち消すように前記クロックパルス発生器11のク
ロック周期τを変更するクロック補正手段(クロック補
正回路6など)を設けて構成したので、たとえランダム
パルス源10の単位時間当たりの平均パルス数nが変化
しても同じ確率値Pが得られることから、ランダムパル
ス源10のパルス頻度の変化に伴う種々の不都合を回避
することが可能な確率発生器1を提供することができ
る。
As described above, according to the probability generator of the present invention, the random pulse source 10 for emitting a random pulse and the clock pulse for emitting a clock pulse at a predetermined clock period τ are provided. An average pulse per unit time by counting the total number of random pulses emitted from the random pulse source 10 based on a clock pulse transmitted from the clock pulse generator 11 at regular intervals. A measuring means (main control circuit 2, measuring circuit 3, etc.) for calculating the number n is provided, and a probability generating means (probability generating means) for generating a probability value P based on the average number of pulses per unit time n calculated by the measuring means. In the probability generator 1 provided with the circuit 5), the memory 9 for sequentially storing the average number n of pulses per unit time calculated by the measuring means is provided. When the average number of pulses n per unit time stored in the memory 9 increases or decreases, the clock correction means (clock correction circuit 6) changes the clock period τ of the clock pulse generator 11 so as to cancel the increase or decrease. ), The same probability value P can be obtained even if the average number of pulses per unit time n of the random pulse source 10 changes. Can be provided.

【0027】さらに、時間間隔tを分割して複数個の区
間を定め、各区間内に含まれるパルス数Sが所定の指数
分布に従っているか否かを判定するパルス評価手段(パ
ルス評価回路7など)を設けて構成したので、ランダム
パルス源10からのパルスが常にランダムとなっている
か否かを容易に判別でき、したがって妥当な確率値Pと
なっているかを判別できるとともに、ランダムでない人
為的なパルスを当てられるような不正があった場合に
は、これを検出することができることから、人為的なパ
ルスを当てられるような不正の有無を検出することが可
能な信頼性の高い確率発生器1を提供することができ
る。
Further, a pulse evaluation means (such as a pulse evaluation circuit 7) for determining a plurality of sections by dividing the time interval t and determining whether or not the number S of pulses included in each section follows a predetermined exponential distribution. Is provided, it is possible to easily determine whether or not the pulse from the random pulse source 10 is always random, and thus it is possible to determine whether or not the pulse has an appropriate probability value P. In the case where there is a fraud that can be applied, a highly reliable probability generator 1 that can detect the presence or absence of a fraud that can be applied with an artificial pulse can be detected. Can be provided.

【0028】一方、本発明のうち乱数発生器に係る発明
によれば、ランダムパルスを放出するランダムパルス源
10と、所定のクロック周期τでクロックパルスを放出
するクロックパルス発生器11とを有し、このクロック
パルス発生器11から送出されるクロックパルスに基づ
いて前記ランダムパルス源10から放出されるランダム
パルスのパルス総数を一定時間ごとに計数して単位時間
当たりの平均パルス数nを算出する測定手段(主制御回
路2、測定回路3など)を設け、この測定手段が算出し
た単位時間当たりの平均パルス数nに基づいて乱数を生
成する乱数生成手段(乱数生成回路など)を設けた乱数
発生器において、前記測定手段が算出した単位時間当た
りの平均パルス数nを逐次記憶するメモリ9を設け、こ
のメモリ9に記憶された単位時間当たりの平均パルス数
nが増減したときに、その増減を打ち消すように前記ク
ロックパルス発生器11のクロック周期τを変更するク
ロック補正手段(クロック補正回路6など)を設けて構
成したので、たとえランダムパルス源10の単位時間当
たりの平均パルス数nが変化しても正しい乱数が得られ
ることから、ランダムパルス源10のパルス頻度の変化
に伴う種々の不都合を回避することが可能な乱数発生器
を提供することができる。
On the other hand, according to the invention relating to the random number generator of the present invention, there is provided a random pulse source 10 for emitting a random pulse and a clock pulse generator 11 for emitting a clock pulse at a predetermined clock period τ. A measurement of counting the total number of random pulses emitted from the random pulse source 10 based on the clock pulse transmitted from the clock pulse generator 11 at regular intervals, and calculating the average number n of pulses per unit time. Means (main control circuit 2, measuring circuit 3, etc.) and random number generating means (random number generating circuit, etc.) for generating random numbers based on the average number of pulses per unit time n calculated by the measuring means. A memory 9 for sequentially storing the average number n of pulses per unit time calculated by the measuring means. When the average number of pulses n per unit time increases or decreases, clock correction means (clock correction circuit 6 or the like) for changing the clock cycle τ of the clock pulse generator 11 is provided so as to cancel the increase or decrease. Therefore, even if the average number of pulses n per unit time of the random pulse source 10 changes, a correct random number can be obtained, so that various inconveniences caused by a change in the pulse frequency of the random pulse source 10 can be avoided. A random number generator can be provided.

【0029】さらに、時間間隔tを分割して複数個の区
間を定め、各区間内に含まれるパルス数Sが所定の指数
分布に従っているか否かを判定するパルス評価手段(パ
ルス評価回路7など)を設けて構成したので、ランダム
パルス源10からのパルスが常にランダムとなっている
か否かを容易に判別でき、したがって妥当な乱数となっ
ているかを判別できるとともに、ランダムでない人為的
なパルスを当てられるような不正があった場合には、こ
れを検出することができることから、人為的なパルスを
当てられるような不正の有無を検出することが可能な信
頼性の高い乱数発生器を提供することができる。
Further, a pulse evaluation means (such as a pulse evaluation circuit 7) for determining a plurality of sections by dividing the time interval t and determining whether the number S of pulses included in each section follows a predetermined exponential distribution. , It is possible to easily determine whether or not the pulse from the random pulse source 10 is always random. Therefore, it is possible to determine whether or not the pulse is an appropriate random number, and to apply a non-random artificial pulse. Provide a highly reliable random number generator that can detect the presence or absence of fraud that can be applied with artificial pulses because it can detect such fraud. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る確率発生器の一実施形態を示す制
御ブロック図である。
FIG. 1 is a control block diagram showing one embodiment of a probability generator according to the present invention.

【図2】ランダムパルス源として放射性物質を用いた場
合の確率発生過程を示す模式図である。
FIG. 2 is a schematic diagram showing a probability generation process when a radioactive substance is used as a random pulse source.

【図3】ランダムパルス源としてダイオードを用いた場
合の確率発生過程を示す模式図である。
FIG. 3 is a schematic diagram showing a probability generation process when a diode is used as a random pulse source.

【図4】時間間隔の第1の分割方法を示す模式図であ
る。
FIG. 4 is a schematic diagram showing a first method of dividing a time interval.

【図5】時間間隔の第2の分割方法を示す模式図であ
る。
FIG. 5 is a schematic diagram showing a second method of dividing a time interval.

【図6】時間間隔の第3の分割方法を示す模式図であ
る。
FIG. 6 is a schematic diagram showing a third method of dividing a time interval.

【符号の説明】[Explanation of symbols]

1……確率発生器 2……測定手段(主制御回路) 3……測定手段(測定回路) 5……確率生成手段(確率生成回路) 6……クロック補正手段(クロック補正回路) 7……パルス評価手段(パルス評価回路) 9……メモリ 10……ランダムパルス源 11……クロックパルス発生器 n……単位時間当たりの平均パルス数 P……確率値 S……各区間内のパルス数 t……時間間隔 ε……クロック数 τ……クロック周期 DESCRIPTION OF SYMBOLS 1 ... Probability generator 2 ... Measurement means (main control circuit) 3 ... Measurement means (measurement circuit) 5 ... Probability generation means (probability generation circuit) 6 ... Clock correction means (clock correction circuit) 7 ... Pulse evaluation means (pulse evaluation circuit) 9 Memory 10 Random pulse source 11 Clock pulse generator n Average pulse number per unit time P Probability value S Number of pulses in each section t …… Time interval ε… Number of clocks τ …… Clock period

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // G06F 101:14 H04L 9/00 655 (72)発明者 清水 隆邦 東京都港区新橋5丁目36番11号 いわき電 子株式会社内 Fターム(参考) 5B079 BA01 BC10 5J104 FA10 GA01 NA04 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) // G06F 101: 14 H04L 9/00 655 (72) Inventor Takakuni Shimizu 5-36 Shimbashi, Minato-ku, Tokyo No. 11 Iwaki Electronics Co., Ltd. F-term (reference) 5B079 BA01 BC10 5J104 FA10 GA01 NA04

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ランダムパルスを放出するランダムパル
ス源(10)と、所定のクロック周期(τ)でクロック
パルスを放出するクロックパルス発生器(11)とを有
し、 このクロックパルス発生器から送出されるクロックパル
スに基づいて前記ランダムパルス源から放出されるラン
ダムパルスのパルス総数を一定時間ごとに計数して単位
時間当たりの平均パルス数(n)を算出する測定手段
(2、3)を設け、 この測定手段が算出した単位時間当たりの平均パルス数
に基づいて確率値(P)を生成する確率生成手段(5)
を設けた確率発生器(1)において、 前記測定手段が算出した単位時間当たりの平均パルス数
を逐次記憶するメモリ(9)を設け、 このメモリに記憶された単位時間当たりの平均パルス数
が増減したときに、その増減を打ち消すように前記クロ
ックパルス発生器のクロック周期を変更するクロック補
正手段(6)を設けたことを特徴とする確率発生器。
1. A clock signal generator comprising: a random pulse source (10) for emitting a random pulse; and a clock pulse generator (11) for emitting a clock pulse at a predetermined clock cycle (τ). Measuring means (2, 3) for calculating the average number of pulses per unit time (n) by counting the total number of random pulses emitted from the random pulse source at regular intervals based on the clock pulse to be generated; A probability generating means (5) for generating a probability value (P) based on the average number of pulses per unit time calculated by the measuring means;
In the probability generator (1), a memory (9) for sequentially storing the average number of pulses per unit time calculated by the measuring means is provided, and the average number of pulses per unit time stored in the memory increases or decreases. A probability generator characterized by comprising clock correction means (6) for changing the clock cycle of the clock pulse generator so as to cancel the increase / decrease of the increase / decrease.
【請求項2】 時間間隔(t)を分割して複数個の区間
を定め、各区間内に含まれるパルス数(S)が所定の指
数分布に従っているか否かを判定するパルス評価手段
(7)を設けたことを特徴とする請求項1に記載の確率
発生器。
2. A pulse evaluation means for determining a plurality of sections by dividing a time interval (t) and determining whether the number of pulses (S) included in each section follows a predetermined exponential distribution. The probability generator according to claim 1, further comprising:
【請求項3】 ランダムパルスを放出するランダムパル
ス源(10)と、所定のクロック周期(τ)でクロック
パルスを放出するクロックパルス発生器(11)とを有
し、 このクロックパルス発生器から送出されるクロックパル
スに基づいて前記ランダムパルス源から放出されるラン
ダムパルスのパルス総数を一定時間ごとに計数して単位
時間当たりの平均パルス数(n)を算出する測定手段
(2、3)を設け、 この測定手段が算出した単位時間当たりの平均パルス数
に基づいて乱数を生成する乱数生成手段を設けた乱数発
生器において、 前記測定手段が算出した単位時間当たりの平均パルス数
を逐次記憶するメモリ(9)を設け、 このメモリに記憶された単位時間当たりの平均パルス数
が増減したときに、その増減を打ち消すように前記クロ
ックパルス発生器のクロック周期を変更するクロック補
正手段(6)を設けたことを特徴とする乱数発生器。
And a clock pulse generator (11) for emitting a clock pulse at a predetermined clock period (τ). The clock pulse generator sends out the clock pulse from the clock pulse generator. Measuring means (2, 3) for calculating the average number of pulses per unit time (n) by counting the total number of random pulses emitted from the random pulse source at regular intervals based on the clock pulse to be generated; A random number generator provided with random number generating means for generating a random number based on the average number of pulses per unit time calculated by the measuring means, a memory for sequentially storing the average number of pulses per unit time calculated by the measuring means; (9) is provided so that when the average number of pulses per unit time stored in the memory increases or decreases, the increase or decrease cancels the increase or decrease. A random number generator provided with clock correction means (6) for changing a clock cycle of a lock pulse generator.
【請求項4】 時間間隔(t)を分割して複数個の区間
を定め、各区間内に含まれるパルス数(S)が所定の指
数分布に従っているか否かを判定するパルス評価手段
(7)を設けたことを特徴とする請求項3に記載の乱数
発生器。
4. A pulse evaluation means (7) for dividing a time interval (t) to determine a plurality of sections and determining whether the number of pulses (S) included in each section follows a predetermined exponential distribution. The random number generator according to claim 3, further comprising:
JP29843299A 1999-10-20 1999-10-20 Probability and random number generators Expired - Lifetime JP3501042B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29843299A JP3501042B2 (en) 1999-10-20 1999-10-20 Probability and random number generators

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29843299A JP3501042B2 (en) 1999-10-20 1999-10-20 Probability and random number generators

Publications (2)

Publication Number Publication Date
JP2001117757A true JP2001117757A (en) 2001-04-27
JP3501042B2 JP3501042B2 (en) 2004-02-23

Family

ID=17859641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29843299A Expired - Lifetime JP3501042B2 (en) 1999-10-20 1999-10-20 Probability and random number generators

Country Status (1)

Country Link
JP (1) JP3501042B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018147110A1 (en) * 2017-02-10 2018-08-16 アルプス電気株式会社 Vehicle overturn detection device
KR20200119459A (en) * 2019-04-09 2020-10-20 한국전자통신연구원 Random number generating device and operating method of the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018147110A1 (en) * 2017-02-10 2018-08-16 アルプス電気株式会社 Vehicle overturn detection device
KR20200119459A (en) * 2019-04-09 2020-10-20 한국전자통신연구원 Random number generating device and operating method of the same
KR102372740B1 (en) 2019-04-09 2022-03-14 한국전자통신연구원 Random number generating device and operating method of the same

Also Published As

Publication number Publication date
JP3501042B2 (en) 2004-02-23

Similar Documents

Publication Publication Date Title
EP1771946B1 (en) SEMICONDUCTOR DEVICE USING RANDOM PULSE GENERATION SOURCE FOR GENERATING RANDOM NUMBERs AND/OR PROBABILITY
JP4467216B2 (en) Random number generation method and apparatus
EP2302555B1 (en) Error correction for physical uncloneable function
JP4215950B2 (en) Random number generation method and apparatus
US8176106B2 (en) On-chip estimation of key-extraction parameters for physical tokens
US7266575B2 (en) Random number generator which can generate a random number based on an uniform distribution
US6415309B1 (en) Method of and apparatus for generating random numbers
JP2005526299A (en) Method and apparatus for generating a random bit string using an environmental sensor
US7516169B2 (en) Generating random data
JP2001117757A (en) Probability generator and random number generator
JPH10142340A (en) Random number generator and encryption unit
US6317499B1 (en) Storage device random bit generator
EP1094603A1 (en) A random pulse generator, a random number generator and a probability random event generator
JPH11161473A (en) Random number generator and probability generator
JPH11296348A (en) Natural random number and hybrid random number generating device
JP2543815B2 (en) A method for determining the occurrence of a hit under a certain probability and a pachinko machine using this method
JPH0950369A (en) Method and device for random number generation using radioactive material
JP4804815B2 (en) Random pulse generation source, method for generating random number and / or probability using the same, program, and semiconductor device
JP2003319911A (en) Saw device thermometer with id and body temperature management system by means of the same
JP3997951B2 (en) Method and apparatus for generating periodic pseudo-noise
JP4886363B2 (en) Random number generation verification method and random number generation verification apparatus using the same
JPH11285581A (en) Probability generator of pachinko game machine
JP2002008132A (en) Probabilistic determination device and random number generation device
TH76191A (en) Random pulse generation source And semiconductor devices, methods and programs for generating random numbers and / or probabilities using that source.

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3501042

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081212

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131212

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term