JP4107196B2 - Physical random number generator and physical random number generator - Google Patents

Physical random number generator and physical random number generator Download PDF

Info

Publication number
JP4107196B2
JP4107196B2 JP2003294101A JP2003294101A JP4107196B2 JP 4107196 B2 JP4107196 B2 JP 4107196B2 JP 2003294101 A JP2003294101 A JP 2003294101A JP 2003294101 A JP2003294101 A JP 2003294101A JP 4107196 B2 JP4107196 B2 JP 4107196B2
Authority
JP
Japan
Prior art keywords
random number
physical random
number generator
circuit
output
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.)
Expired - Fee Related
Application number
JP2003294101A
Other languages
Japanese (ja)
Other versions
JP2005063250A (en
Inventor
博康 山本
初美 中野
隆邦 清水
ビターナゲ アナンダ
美佐子 鯉渕
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.)
FDK Corp
Original Assignee
FDK Corp
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 FDK Corp filed Critical FDK Corp
Priority to JP2003294101A priority Critical patent/JP4107196B2/en
Priority to US10/528,910 priority patent/US7461111B2/en
Priority to PCT/JP2003/012213 priority patent/WO2004031941A1/en
Publication of JP2005063250A publication Critical patent/JP2005063250A/en
Application granted granted Critical
Publication of JP4107196B2 publication Critical patent/JP4107196B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、各種の用途に用いるに好適な物理乱数発生器および物理乱数発生装置に関するものであり、その具体的な用途としては、セキュリティー、暗号、認証、施錠、暗号化通信、スマートカード(例えば、電子マネー、クレジットカード、診察券)、ホームセキュリティー、カーセキュリティー、キーレスエントリー、確率、抽選、ゲーム、アミューズメント(例えば、パチンコ、パチスロ)、シミュレーション(例えば、気象・学術計算・株価におけるモンテカルロ)、グラフィックス(例えば、CG、自動作曲)、制御、計測、FA、ロボット制御(人工知能)などが挙げられる。   The present invention relates to a physical random number generator and a physical random number generator suitable for use in various applications. Specific examples of the application include security, encryption, authentication, locking, encrypted communication, smart card (for example, , Electronic money, credit card, examination ticket), home security, car security, keyless entry, probability, lottery, game, amusement (eg, pachinko, pachislot), simulation (eg, Monte Carlo in weather, academic calculation, stock price), graphics (For example, CG, automatic music), control, measurement, FA, robot control (artificial intelligence), and the like.

従来この種の物理乱数発生装置としては、例えば特許文献1に開示されているように、2個のディレーおよびセレクター等からなる位相調整部と、フリップ・フロップと、フィードバック回路とから構成される物理乱数発生器を備えたものが知られている。
特開2003−29964号公報
Conventionally, as a physical random number generator of this type, as disclosed in Patent Document 1, for example, a physical unit composed of a phase adjustment unit including two delays and a selector, a flip-flop, and a feedback circuit One with a random number generator is known.
JP 2003-29964 A

しかし、これでは、フリップ・フロップのクロック端子とデータ端子に入力される2系統の信号ラインに応じた2個のディレーおよびセレクターが必要となるので、位相調整部、ひいては物理乱数発生器の規模が大きくなり、その占有面積が拡大するばかりか、その消費電力が増大するという不都合があった。特に、物理乱数発生器がCPU(中央演算処理装置)、ROM(読取り専用記憶装置)、RAM(読取り書込み記憶装置)などの多くの機能とIC(集積回路)内に混載される場合には、この物理乱数発生器の占有面積をできる限り縮小することが強く望まれる。   However, this requires two delays and selectors corresponding to the two signal lines input to the clock terminal and the data terminal of the flip-flop, so that the scale of the phase adjustment unit, and hence the physical random number generator, is increased. In addition to an increase in the area occupied, the power consumption increases. In particular, when a physical random number generator is incorporated in many functions such as CPU (Central Processing Unit), ROM (Read Only Storage Device), RAM (Read / Write Storage Device) and IC (Integrated Circuit), It is strongly desired to reduce the area occupied by the physical random number generator as much as possible.

本発明は、このような事情に鑑み、占有面積が小さくて消費電力が少ない物理乱数発生器と、この物理乱数発生器が組み込まれた物理乱数発生装置を提供することを目的とする。   In view of such circumstances, an object of the present invention is to provide a physical random number generator with a small occupation area and low power consumption, and a physical random number generator incorporating the physical random number generator.

まず、本発明のうち請求項1に係る発明は、抵抗およびキャパシタでクロック信号を積分して積分波形を出力する積分回路と、ノイズ源と、このノイズ源のノイズを増幅してノイズ信号を出力するアンプと、前記積分波形と前記ノイズ信号とをミキシングするミキサーと、このミキサーの出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路とを2個ずつ備え、前記各エッジ検出回路の出力信号の位相差に基づいて“0”または“1”を出力するフリップ・フロップを備え、前記各積分回路に入力される入力信号の位相を調整するディレー、第1セレクターおよびアップ/ダウンカウンターからなる位相調整部を備え、前記フリップ・フロップから出力される“0”または“1”がそれぞれ50%に収束するように当該フリップ・フロップの出力を前記位相調整部にフィードバックするフィードバック回路を備えた物理乱数発生器において、前記各積分回路の前段にそれぞれ第2セレクターおよび第3セレクターを設け、前記アップ/ダウンカウンターの最上位ビットによって前記第1セレクターと前記第2セレクターおよび前記第3セレクターとの入力の極性切換を行う極性切換回路を設けて構成される。   First, the invention according to claim 1 of the present invention is an integration circuit that integrates a clock signal with a resistor and a capacitor and outputs an integrated waveform, a noise source, and a noise signal that is amplified by the noise of the noise source and is output. Each of the edges, an amplifier for mixing the integrated waveform and the noise signal, and two edge detection circuits for detecting the first edge of jitter generated based on the output waveform of the mixer. A flip-flop that outputs “0” or “1” based on the phase difference of the output signal of the detection circuit, a delay that adjusts the phase of the input signal input to each integration circuit, a first selector, and an up / down A phase adjustment unit comprising a down counter is provided so that “0” or “1” output from the flip-flop converges to 50%. In the physical random number generator provided with a feedback circuit that feeds back the output of the flip-flop to the phase adjustment unit, a second selector and a third selector are provided in the preceding stage of each integrating circuit, respectively, and the maximum of the up / down counter is provided. A polarity switching circuit is provided for switching the polarity of the input to the first selector, the second selector, and the third selector by the upper bits.

また、本発明のうち請求項2に係る発明は、抵抗およびキャパシタでクロック信号を積分して積分波形を出力する積分回路を1つ備え、ノイズ源と、このノイズ源のノイズを増幅してノイズ信号を出力するアンプと、前記積分波形と前記ノイズ信号とをミキシングするミキサーと、このミキサーの出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路とを2個ずつ備え、前記各エッジ検出回路の出力信号の位相差に基づいて“0”または“1”を出力するフリップ・フロップを備えた物理乱数発生器において、前記フリップ・フロップに入力される入力信号の位相を調整するディレーとセレクターからなる可変ディレーを前記各エッジ検出回路の前段または後段に設け、前記フリップ・フロップから出力される“0”または“1”がそれぞれ50%に収束するように当該フリップ・フロップの出力を前記可変ディレーにフィードバックするフィードバック回路を設けて構成される。   The invention according to claim 2 of the present invention includes one integration circuit that integrates a clock signal with a resistor and a capacitor and outputs an integrated waveform, a noise source, and a noise generated by amplifying the noise of the noise source. Two amplifiers for outputting a signal, a mixer for mixing the integrated waveform and the noise signal, and two edge detection circuits for detecting the first edge of jitter generated based on the output waveform of the mixer, In a physical random number generator having a flip-flop that outputs “0” or “1” based on the phase difference between the output signals of the edge detection circuits, the phase of the input signal input to the flip-flop is adjusted. A variable delay composed of a delay and a selector is provided before or after each edge detection circuit, and is output from the flip-flop. "Or" 1 "is configured to output of the flip-flop so as to converge to the 50% respectively provided a feedback circuit for feeding back to the variable delay.

また、本発明のうち請求項3に係る発明は、前記積分回路の抵抗の後段にFETを当該積分回路のキャパシタと並列に付加して構成される。   According to a third aspect of the present invention, an FET is added in parallel with the capacitor of the integration circuit in the subsequent stage of the resistance of the integration circuit.

また、本発明のうち請求項4に係る発明は、前記積分回路の抵抗に代えて定電流回路を設けて構成される。   According to a fourth aspect of the present invention, a constant current circuit is provided in place of the resistor of the integrating circuit.

さらに、本発明のうち請求項5に係る発明は、上記物理乱数発生器を2個以上並列接続し、前記各物理乱数発生器に入力されたパラレル物理乱数をシリアル物理乱数に並べ替えて出力するようにして構成される。   Furthermore, in the invention according to claim 5 of the present invention, two or more physical random number generators are connected in parallel, and the parallel physical random numbers input to each of the physical random number generators are rearranged into serial physical random numbers and output. It is constructed in this way.

本発明のうち請求項1に係る発明によれば、ディレーおよび第1セレクターを半分にしてゲート数を削減することができるので、物理乱数発生器の規模を小さくして占有面積を縮小するとともに、その消費電力を低減することが可能となる。   According to the invention according to claim 1 of the present invention, since the number of gates can be reduced by halving the delay and the first selector, the scale of the physical random number generator is reduced and the occupied area is reduced, The power consumption can be reduced.

また、本発明のうち請求項2に係る発明によれば、2系統の信号ラインについて積分回路が1つで済むことに加えて、積分回路を構成する抵抗、キャパシタの誤差による位相調整範囲を狭めることができるため、可変ディレーを縮小し、ゲート数を削減することができることから、物理乱数発生器の規模を小さくして占有面積を縮小するとともに、その消費電力を低減することが可能となる。   According to the second aspect of the present invention, only one integrating circuit is required for the two signal lines, and the phase adjustment range due to errors in the resistors and capacitors constituting the integrating circuit is narrowed. Therefore, since the variable delay can be reduced and the number of gates can be reduced, the physical random number generator can be reduced in size to reduce the occupied area and reduce the power consumption.

また、本発明のうち請求項3に係る発明によれば、積分回路のキャパシタに充電された電荷を放電して電位を積分波形の基点に戻すことにより、積分波形の基点、ひいてはジッターの分布を安定させ、良質な乱数を生成することができる。また、積分回路のキャパシタに充電された電荷が高速に放電され、電位も高速に積分波形の基点に戻るため、乱数生成までの待ち時間が短縮されることに加え、乱数生成後に波形の電位が上がりきるのを待たずして強制的に基点まで電位を下げることができるので、さらなる時間短縮が可能となることから、乱数生成スピードを大幅に高速化することができる。   According to the invention of claim 3 of the present invention, by discharging the charge charged in the capacitor of the integrating circuit and returning the potential to the base point of the integrated waveform, the base point of the integrated waveform, and hence the distribution of jitter can be obtained. It can stabilize and generate good random numbers. In addition, the electric charge charged in the capacitor of the integration circuit is discharged at high speed, and the electric potential also returns to the base point of the integrated waveform at high speed. Since the potential can be forcibly lowered to the base point without waiting for it to rise, the time can be further shortened, and the random number generation speed can be greatly increased.

また、本発明のうち請求項4に係る発明によれば、積分回路を構成するキャパシタの充電時の積分波形が直線となり、ノイズに対して変調したジッターの歪みがなくなるため、乱数の質を向上させることができる。   Further, according to the invention according to claim 4 of the present invention, the integral waveform at the time of charging of the capacitor constituting the integrating circuit becomes a straight line, and the distortion of jitter modulated with respect to noise is eliminated, so that the quality of random numbers is improved. Can be made.

さらに、本発明のうち請求項5に係る発明によれば、複数個の物理乱数発生器からなる物理乱数発生装置の乱数の質を向上させることができる。   Furthermore, according to the fifth aspect of the present invention, the quality of the random number of the physical random number generator comprising a plurality of physical random number generators can be improved.

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

<第1の実施形態>
図1は本発明に係る物理乱数発生器の第1の実施形態を示す回路図、
図2は図1に示す物理乱数発生器のエッジ検出回路の詳細を示す回路図、
図3は図1に示す物理乱数発生器の動作波形を示す図である。
<First Embodiment>
FIG. 1 is a circuit diagram showing a first embodiment of a physical random number generator according to the present invention,
2 is a circuit diagram showing details of an edge detection circuit of the physical random number generator shown in FIG.
FIG. 3 is a diagram showing operation waveforms of the physical random number generator shown in FIG.

この物理乱数発生器1においては、図1および図3に示すように、抵抗Rおよびキャパシタ(コンデンサ)Cでクロック信号を積分して積分波形を出力する積分回路5と、ノイズ源6と、このノイズ源6のノイズを増幅してノイズ信号を出力するアンプ7と、積分波形とノイズ信号とをミキシングするミキサー8と、このミキサー8の出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路9とが2個ずつ設けられている。各エッジ検出回路9は、図2に示すような回路構成となっており、これらのエッジ検出回路9の後段には、図1に示すように、各エッジ検出回路9の出力信号の位相差に基づいて“0”または“1”を出力するDタイプのフリップ・フロップ10が設けられている。さらに、フリップ・フロップ10の後段には、乱数をクロック信号に同期させるDタイプのフリップ・フロップ11が設けられている。   In this physical random number generator 1, as shown in FIGS. 1 and 3, an integration circuit 5 that integrates a clock signal with a resistor R and a capacitor (capacitor) C and outputs an integrated waveform, a noise source 6, An amplifier 7 that amplifies noise from the noise source 6 and outputs a noise signal, a mixer 8 that mixes the integrated waveform and the noise signal, and a first edge of jitter generated based on the output waveform of the mixer 8 is detected. Two edge detection circuits 9 are provided. Each of the edge detection circuits 9 has a circuit configuration as shown in FIG. 2, and a phase difference between the output signals of the edge detection circuits 9 is shown in the subsequent stage of the edge detection circuit 9 as shown in FIG. A D-type flip-flop 10 that outputs “0” or “1” based on this is provided. Further, a D-type flip-flop 11 that synchronizes a random number with a clock signal is provided at the subsequent stage of the flip-flop 10.

また、物理乱数発生器1の最前段には、各積分回路5に入力される入力信号の位相を調整する位相調整部2が設けられており、この位相調整部2はディレー21、第1セレクター22およびアップ/ダウンカウンター23から構成されている。   In addition, a phase adjustment unit 2 that adjusts the phase of the input signal input to each integration circuit 5 is provided at the forefront of the physical random number generator 1. The phase adjustment unit 2 includes a delay 21 and a first selector. 22 and an up / down counter 23.

また、フリップ・フロップ11の出力とアップ/ダウンカウンター23との間にはフィードバック回路3が設けられており、フリップ・フロップ11から出力される“0”または“1”がそれぞれ50%に収束するようにフリップ・フロップ11の出力が位相調整部2にフィードバックされる。すなわち、フィードバック回路3は第1カウンター31、比較器32、第2カウンター33、レジスター34、比較器35、シフトレジスター/レジスター36、加算器37から構成されており、第1カウンター31および比較器32はフィードバックの周期を乱数(2×m)で生成する。また、第2カウンター33、レジスター34および比較器35はフィードバックの周期(2×m)中の“0”または“1”の数をカウント(n)し、比較データをアップ/ダウンカウンター23に出力して乱数の一様性を補正するフィードバック信号を出力する。さらに、シフトレジスター/レジスター36および加算器37は、フィードバックの周期を決める乱数(m)を出力(OUT)より取得する。これにより、フィードバック周期による乱数の質の低下(癖)を防ぐことができる。   Further, a feedback circuit 3 is provided between the output of the flip-flop 11 and the up / down counter 23, and “0” or “1” output from the flip-flop 11 converges to 50%. Thus, the output of the flip-flop 11 is fed back to the phase adjustment unit 2. That is, the feedback circuit 3 includes a first counter 31, a comparator 32, a second counter 33, a register 34, a comparator 35, a shift register / register 36, and an adder 37, and the first counter 31 and the comparator 32. Generates a feedback cycle with a random number (2 × m). The second counter 33, the register 34 and the comparator 35 count (n) the number of “0” or “1” in the feedback period (2 × m), and output the comparison data to the up / down counter 23. To output a feedback signal for correcting the uniformity of the random number. Further, the shift register / register 36 and the adder 37 obtain a random number (m) for determining a feedback cycle from the output (OUT). As a result, it is possible to prevent a decrease in the quality of random numbers (癖) due to the feedback period.

さらに、位相調整部2と各積分回路5との間にはそれぞれ第2セレクター15および第3セレクター16が設けられているとともに、第1セレクター22とアップ/ダウンカウンター23との間には極性切換回路13が設けられており、表1に示すように、アップ/ダウンカウンター23の最上位ビットMSBによって第1セレクター22と第2セレクター15および第3セレクター16との入力の極性切換が行われる。   Further, a second selector 15 and a third selector 16 are provided between the phase adjusting unit 2 and each integrating circuit 5, and polarity switching is performed between the first selector 22 and the up / down counter 23. A circuit 13 is provided, and as shown in Table 1, the polarity of the input to the first selector 22, the second selector 15, and the third selector 16 is switched by the most significant bit MSB of the up / down counter 23.

Figure 0004107196
Figure 0004107196

したがって、2系統の信号ラインに応じた2個のディレーおよびセレクターを必要とする従来の物理乱数発生器と比べて、ディレー21および第1セレクター22を半分にしてゲート数を削減することができるので、物理乱数発生器1の規模を小さくして占有面積を縮小し、その消費電力を低減することが可能となる。   Therefore, compared to a conventional physical random number generator that requires two delays and selectors corresponding to two signal lines, the number of gates can be reduced by halving the delay 21 and the first selector 22. Therefore, the physical random number generator 1 can be reduced in size to reduce the occupied area and reduce its power consumption.

<第2の実施形態>
図4は本発明に係る物理乱数発生器の第2の実施形態を示す回路図である。
<Second Embodiment>
FIG. 4 is a circuit diagram showing a second embodiment of the physical random number generator according to the present invention.

この物理乱数発生器1においては、図4に示すように、抵抗RおよびキャパシタCでクロック信号を積分して積分波形を出力する積分回路5が1つ設けられているとともに、ノイズ源6と、このノイズ源6のノイズを増幅してノイズ信号を出力するアンプ7と、積分波形とノイズ信号とをミキシングするミキサー8と、このミキサー8の出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路9とが2個ずつ設けられている。これらのエッジ検出回路9の後段には、各エッジ検出回路9の出力信号の位相差に基づいて“0”または“1”を出力するDタイプのフリップ・フロップ10が設けられており、フリップ・フロップ10の後段には、乱数をクロック信号に同期させるDタイプのフリップ・フロップ11が設けられている。   In this physical random number generator 1, as shown in FIG. 4, one integration circuit 5 that integrates a clock signal by a resistor R and a capacitor C and outputs an integrated waveform is provided, and a noise source 6, An amplifier 7 that amplifies the noise of the noise source 6 and outputs a noise signal, a mixer 8 that mixes the integrated waveform and the noise signal, and a first edge of jitter generated based on the output waveform of the mixer 8 Two edge detection circuits 9 for detection are provided. A D-type flip-flop 10 that outputs “0” or “1” based on the phase difference of the output signal of each edge detection circuit 9 is provided at the subsequent stage of these edge detection circuits 9. A D-type flip-flop 11 that synchronizes the random number with the clock signal is provided at the subsequent stage of the flop 10.

また、フリップ・フロップ10と各エッジ検出回路9との間(各エッジ検出回路9の後段)にはそれぞれ、ディレーとセレクターからなる可変ディレー19が設けられており、フリップ・フロップ10に入力される入力信号の位相を調整することができる。   A variable delay 19 including a delay and a selector is provided between the flip-flop 10 and each edge detection circuit 9 (after the edge detection circuit 9), and is input to the flip-flop 10. The phase of the input signal can be adjusted.

さらに、フリップ・フロップ11の出力とアップ/ダウンカウンター23との間にはフィードバック回路3が設けられており、フリップ・フロップ11から出力される“0”または“1”がそれぞれ50%に収束するようにフリップ・フロップ11の出力が可変ディレー19にフィードバックされる。   Further, a feedback circuit 3 is provided between the output of the flip-flop 11 and the up / down counter 23, and “0” or “1” output from the flip-flop 11 converges to 50%. Thus, the output of the flip-flop 11 is fed back to the variable delay 19.

したがって、2系統の信号ラインについて積分回路5が1つで済むことに加えて、積分回路5を構成する抵抗R、キャパシタCの誤差による位相調整範囲を狭めることができるため、ディレーとセレクターからなる可変ディレー19を縮小し、ゲート数を削減することができることから、物理乱数発生器1の規模を小さくして占有面積を縮小し、その消費電力を低減することが可能となる。   Therefore, in addition to the fact that only one integrating circuit 5 is required for the two signal lines, the phase adjustment range due to the error of the resistor R and capacitor C constituting the integrating circuit 5 can be narrowed. Since the variable delay 19 can be reduced and the number of gates can be reduced, it is possible to reduce the scale of the physical random number generator 1 to reduce the occupied area and reduce the power consumption.

<その他の実施形態>
なお、上述した第2の実施形態において、図5に示すように、積分回路5の抵抗Rの後段にFET(電界効果トランジスタ)17をキャパシタCと並列に付加してもよい。この場合は、図6に示すように、積分回路5のキャパシタCに充電された電荷を放電して電位を積分波形の基点に戻すことにより、積分波形の基点が常に安定し、その結果としてジッターの分布も安定する。さらに、ジッターの分布が安定することは良質な乱数を生成することにつながる。また、乱数生成は電位が基点に戻るまで待たなければならないが、積分回路5のキャパシタCに充電された電荷が高速に放電され、電位も高速に積分波形の基点に戻るため、乱数生成までの待ち時間を短縮することができる。それに加え、乱数生成後に波形の電位が上がりきるのを待たずして強制的に基点まで電位を下げることができるので、さらなる時間短縮が可能となる(乱数生成したら、すぐに電位を基点まで戻せる)。これにより、乱数生成スピードを大幅に高速化することができる。同様に、上述した第1の実施形態において、各積分回路5の抵抗Rの後段にFET17をキャパシタCと並列に付加することもできる。
<Other embodiments>
In the second embodiment described above, an FET (field effect transistor) 17 may be added in parallel with the capacitor C after the resistor R of the integrating circuit 5 as shown in FIG. In this case, as shown in FIG. 6, by discharging the charge charged in the capacitor C of the integrating circuit 5 and returning the potential to the base point of the integrated waveform, the base point of the integrated waveform is always stable, and as a result, jitter The distribution of is also stable. Furthermore, stabilization of the jitter distribution leads to generation of high-quality random numbers. The random number generation must wait until the potential returns to the base point, but the charge charged in the capacitor C of the integration circuit 5 is discharged at high speed, and the potential also returns to the base point of the integrated waveform at high speed. The waiting time can be shortened. In addition, since the potential can be forcibly lowered to the base point without waiting for the waveform potential to rise after random number generation, the time can be further shortened (the potential can be returned to the base point immediately after random number generation). ). Thereby, the random number generation speed can be greatly increased. Similarly, in the first embodiment described above, an FET 17 can be added in parallel with the capacitor C after the resistor R of each integrating circuit 5.

また、上述した第2の実施形態において、図7に示すように、積分回路5の抵抗Rに代えて定電流回路18を設けても構わない。この場合は、図8に示すように、キャパシタCの充電時の積分波形が直線となり、ノイズに対して変調したジッターの歪みがなくなるため、乱数の質が向上する。同様に、上述した第1の実施形態において、各積分回路5の抵抗Rに代えて定電流回路18を設けることも可能である。   In the second embodiment described above, a constant current circuit 18 may be provided instead of the resistor R of the integrating circuit 5 as shown in FIG. In this case, as shown in FIG. 8, the integrated waveform when the capacitor C is charged becomes a straight line, and the distortion of jitter modulated with respect to noise is eliminated, so that the quality of random numbers is improved. Similarly, in the first embodiment described above, a constant current circuit 18 can be provided instead of the resistor R of each integrating circuit 5.

また、図9に示すように、上述した物理乱数発生器1をk個(kは2以上)並列接続し、各物理乱数発生器1に入力されたパラレル物理乱数をk個のシリアル物理乱数に並べ替え、排他的論理和(XOR)素子を介して出力することにより、複数個の物理乱数発生器1からなる物理乱数発生装置の乱数の質を向上させることもできる。   Further, as shown in FIG. 9, k physical random number generators 1 described above (k is 2 or more) are connected in parallel, and the parallel physical random numbers input to each physical random number generator 1 are converted into k serial physical random numbers. By rearranging and outputting via an exclusive OR (XOR) element, the quality of the random number of the physical random number generator composed of a plurality of physical random number generators 1 can be improved.

また、上述した第1および第2の実施形態においては、乱数発生用のフリップ・フロップとしてDタイプのフリップ・フロップを用いた場合について説明したが、本発明ではこれに限定されるわけではなく、これと同等の機能を有するフリップ・フロップであれば代用することができる。   In the first and second embodiments described above, the case where a D-type flip-flop is used as a flip-flop for generating random numbers has been described. However, the present invention is not limited to this. A flip-flop having a function equivalent to this can be substituted.

また、上述した第2の実施形態においては、図4に示すように、ディレーとセレクターからなる可変ディレー19をエッジ検出回路9の後段に設けた場合について説明したが、可変ディレー19をエッジ検出回路9の前段に設けてもよい。   In the above-described second embodiment, as shown in FIG. 4, the case where the variable delay 19 including the delay and the selector is provided in the subsequent stage of the edge detection circuit 9 has been described. You may provide in the front | former stage of 9.

本発明に係る物理乱数発生器の第1の実施形態を示す回路図である。1 is a circuit diagram showing a first embodiment of a physical random number generator according to the present invention. FIG. 図1に示す物理乱数発生器のエッジ検出回路の詳細を示す回路図である。It is a circuit diagram which shows the detail of the edge detection circuit of the physical random number generator shown in FIG. 図1に示す物理乱数発生器の動作波形を示す図である。It is a figure which shows the operation | movement waveform of the physical random number generator shown in FIG. 本発明に係る物理乱数発生器の第2の実施形態を示す回路図である。It is a circuit diagram which shows 2nd Embodiment of the physical random number generator which concerns on this invention. 積分回路の別の例を示す回路図である。It is a circuit diagram which shows another example of an integration circuit. 図5に示す積分回路を用いた物理乱数発生器の動作波形を示す図である。It is a figure which shows the operation | movement waveform of the physical random number generator using the integration circuit shown in FIG. 積分回路のさらに別の例を示す回路図である。It is a circuit diagram which shows another example of an integration circuit. 図7に示す積分回路を用いた物理乱数発生器の動作波形を示す図である。It is a figure which shows the operation | movement waveform of the physical random number generator using the integration circuit shown in FIG. 本発明に係る物理乱数発生装置の一実施形態を示す回路図である。It is a circuit diagram showing one embodiment of a physical random number generator concerning the present invention.

符号の説明Explanation of symbols

1……物理乱数発生器
5……積分回路
6……ノイズ源
7……アンプ
8……ミキサー
9……エッジ検出回路
10、11……フリップ・フロップ
2……位相調整部
15……第2セレクター
16……第3セレクター
21……ディレー
22……第1セレクター
23……アップ/ダウンカウンター
3……フィードバック回路
17……FET
R……抵抗
C……キャパシタ
18……定電流回路
DESCRIPTION OF SYMBOLS 1 ... Physical random number generator 5 ... Integration circuit 6 ... Noise source 7 ... Amplifier 8 ... Mixer 9 ... Edge detection circuit 10, 11 ... Flip-flop 2 ... Phase adjustment part 15 ... 2nd Selector 16 …… Third selector 21 …… Delay 22 …… First selector 23 …… Up / down counter 3 …… Feedback circuit 17 …… FET
R …… Resistance C …… Capacitor 18 …… Constant current circuit

Claims (5)

抵抗およびキャパシタでクロック信号を積分して積分波形を出力する積分回路と、ノイズ源と、このノイズ源のノイズを増幅してノイズ信号を出力するアンプと、前記積分波形と前記ノイズ信号とをミキシングするミキサーと、このミキサーの出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路とを2個ずつ備え、
前記各エッジ検出回路の出力信号の位相差に基づいて“0”または“1”を出力するフリップ・フロップを備え、
前記各積分回路に入力される入力信号の位相を調整するディレー、第1セレクターおよびアップ/ダウンカウンターからなる位相調整部を備え、
前記フリップ・フロップから出力される“0”または“1”がそれぞれ50%に収束するように当該フリップ・フロップの出力を前記位相調整部にフィードバックするフィードバック回路を備えた物理乱数発生器において、
前記各積分回路の前段にそれぞれ第2セレクターおよび第3セレクターを設け、
前記アップ/ダウンカウンターの最上位ビットによって前記第1セレクターと前記第2セレクターおよび前記第3セレクターとの入力の極性切換を行う極性切換回路を設けたことを特徴とする物理乱数発生器。
An integration circuit that integrates a clock signal with a resistor and a capacitor to output an integrated waveform, a noise source, an amplifier that amplifies the noise of the noise source and outputs a noise signal, and the integrated waveform and the noise signal are mixed And two edge detection circuits for detecting the first edge of jitter generated based on the output waveform of the mixer,
A flip-flop that outputs "0" or "1" based on the phase difference between the output signals of the edge detection circuits;
A phase adjustment unit comprising a delay for adjusting the phase of an input signal input to each integration circuit, a first selector, and an up / down counter;
In a physical random number generator comprising a feedback circuit that feeds back the output of the flip-flop to the phase adjustment unit so that “0” or “1” output from the flip-flop converges to 50%,
A second selector and a third selector are provided in front of each integrating circuit,
A physical random number generator comprising a polarity switching circuit for switching the polarity of the input to the first selector, the second selector, and the third selector according to the most significant bit of the up / down counter.
抵抗およびキャパシタでクロック信号を積分して積分波形を出力する積分回路を1つ備え、
ノイズ源と、このノイズ源のノイズを増幅してノイズ信号を出力するアンプと、前記積分波形と前記ノイズ信号とをミキシングするミキサーと、このミキサーの出力波形に基づいて生成されるジッターの最初のエッジを検出するエッジ検出回路とを2個ずつ備え、
前記各エッジ検出回路の出力信号の位相差に基づいて“0”または“1”を出力するフリップ・フロップを備えた物理乱数発生器において、
前記フリップ・フロップに入力される入力信号の位相を調整するディレーとセレクターからなる可変ディレーを前記各エッジ検出回路の前段または後段に設け、
前記フリップ・フロップから出力される“0”または“1”がそれぞれ50%に収束するように当該フリップ・フロップの出力を前記可変ディレーにフィードバックするフィードバック回路を設けたことを特徴とする物理乱数発生器。
One integration circuit that integrates the clock signal with a resistor and capacitor and outputs an integrated waveform,
A noise source, an amplifier that amplifies the noise of the noise source and outputs a noise signal, a mixer that mixes the integrated waveform and the noise signal, and a first jitter generated based on the output waveform of the mixer Two edge detection circuits for detecting edges,
In a physical random number generator comprising a flip-flop that outputs “0” or “1” based on the phase difference between the output signals of the edge detection circuits,
A variable delay comprising a delay and a selector for adjusting the phase of the input signal input to the flip-flop is provided in the front stage or the rear stage of each edge detection circuit,
Physical random number generation characterized by providing a feedback circuit that feeds back the output of the flip-flop to the variable delay so that “0” or “1” output from the flip-flop converges to 50%, respectively. vessel.
前記積分回路の抵抗の後段にFETを当該積分回路のキャパシタと並列に付加したことを特徴とする請求項1または請求項2に記載の物理乱数発生器。 3. The physical random number generator according to claim 1, wherein an FET is added in parallel with a capacitor of the integration circuit in a subsequent stage of the resistance of the integration circuit. 前記積分回路の抵抗に代えて定電流回路を設けたことを特徴とする請求項1から請求項3までのいずれかに記載の物理乱数発生器。 The physical random number generator according to any one of claims 1 to 3, wherein a constant current circuit is provided in place of the resistance of the integration circuit. 請求項1から請求項4までのいずれかに記載の物理乱数発生器を2個以上並列接続し、前記各物理乱数発生器に入力されたパラレル物理乱数をシリアル物理乱数に並べ替えて出力するようにしたことを特徴とする物理乱数発生装置。 Two or more physical random number generators according to any one of claims 1 to 4 are connected in parallel, and the parallel physical random numbers input to each of the physical random number generators are rearranged into serial physical random numbers and output. A physical random number generator characterized by the above.
JP2003294101A 2002-09-30 2003-08-18 Physical random number generator and physical random number generator Expired - Fee Related JP4107196B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2003294101A JP4107196B2 (en) 2003-08-18 2003-08-18 Physical random number generator and physical random number generator
US10/528,910 US7461111B2 (en) 2002-09-30 2003-09-25 Method of uniforming physical random number and physical number generation device
PCT/JP2003/012213 WO2004031941A1 (en) 2002-09-30 2003-09-25 Method of uniforming physical random number and physical number generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003294101A JP4107196B2 (en) 2003-08-18 2003-08-18 Physical random number generator and physical random number generator

Publications (2)

Publication Number Publication Date
JP2005063250A JP2005063250A (en) 2005-03-10
JP4107196B2 true JP4107196B2 (en) 2008-06-25

Family

ID=34370751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003294101A Expired - Fee Related JP4107196B2 (en) 2002-09-30 2003-08-18 Physical random number generator and physical random number generator

Country Status (1)

Country Link
JP (1) JP4107196B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4559985B2 (en) * 2005-03-15 2010-10-13 株式会社東芝 Random number generator

Also Published As

Publication number Publication date
JP2005063250A (en) 2005-03-10

Similar Documents

Publication Publication Date Title
US10498544B2 (en) Security device having physical unclonable function
JP4837960B2 (en) Low power random bit generator and random number generator
US8886692B2 (en) Apparatus for generating random number
US8443022B2 (en) Apparatus and method for generating random number
US20170048061A1 (en) Apparatus for generating random number
US7702701B2 (en) Low-power random bit generator using thermal noise and method thereof
EP1665532B1 (en) Configuring and selecting a duty cycle for an output driver
US9891888B2 (en) Digital true random number generator based on S-boxes
US7461111B2 (en) Method of uniforming physical random number and physical number generation device
TW200842387A (en) Driver circuit
US7372331B2 (en) Receiver circuit
JP4107196B2 (en) Physical random number generator and physical random number generator
KR20090001356A (en) The method and apparatus for improving the voltage margin of pam
JP4897365B2 (en) regulator
JP6550502B1 (en) Unique data generator, semiconductor device and authentication system
US20190107999A1 (en) Random number generating system and random number generating method thereof
KR100684063B1 (en) Tunable reference voltage generator
KR20220114056A (en) Duty cycle correction circuit and its application
EP1699134A1 (en) Delay circuit and testing apparatus
US9018993B1 (en) Self-feedback random generator and method thereof
EP1975780B1 (en) Random number generator
JP5119417B2 (en) Pseudo random number generator
KR102449194B1 (en) Memory Device Including Common Mode Extractor And Memory System
US11303461B2 (en) Security device having physical unclonable function
JP3600592B2 (en) Random number generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050706

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080311

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080324

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

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4107196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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: 20120411

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130411

Year of fee payment: 5

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: 20130411

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140411

Year of fee payment: 6

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

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

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

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

LAPS Cancellation because of no payment of annual fees