KR101745964B1 - A high speed true random number generator using comparator - Google Patents
A high speed true random number generator using comparator Download PDFInfo
- Publication number
- KR101745964B1 KR101745964B1 KR1020150163438A KR20150163438A KR101745964B1 KR 101745964 B1 KR101745964 B1 KR 101745964B1 KR 1020150163438 A KR1020150163438 A KR 1020150163438A KR 20150163438 A KR20150163438 A KR 20150163438A KR 101745964 B1 KR101745964 B1 KR 101745964B1
- Authority
- KR
- South Korea
- Prior art keywords
- comparator
- output
- outputting
- voltage
- correction
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/58—Random or pseudo-random number generators
- G06F7/588—Random number generators, i.e. based on natural stochastic processes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Manipulation Of Pulses (AREA)
Abstract
A random number generator using a comparator is provided. A random number generator using a comparator according to an embodiment of the present invention includes a power supply unit for outputting an input voltage of a direct current; A comparator for receiving an output of the power applying unit at two input terminals and outputting a comparator output comparing a random voltage difference between the two input terminals caused by an internal thermal noise; And a correction unit that receives the comparator output and outputs a correction output that is corrected to a predetermined voltage corresponding to low or high.
Description
The present invention relates to a true random number generator and a generating method, and more particularly, to a real random number generator and a generation method using a metastability and a thermal noise of a comparator.
With the development of the Internet of things, many devices are connected through the Internet, and as personal mobile devices increase, data encryption and information security become very important. Therefore, a random number generator required for data encryption and information security is attracting attention, and a real random number generator is recognized as an essential element for encryption.
Generally, there are two kinds of random number generators: a pseudo random number generator and a true random number generator. The pseudo-random number generator has periodicity because it has a fixed period and random number is repeated. On the other hand, a real random number generator has a high uncertainty (entropy) and has unpredictable characteristics, making it more suitable for data encryption and information security.
Thus, the present invention is implemented in a way that uses unpredictable thermal noise to generate random random numbers for use in data encryption and information security.
A related prior art is Registered Patent Publication No. 10-0089985 (the name of the invention: a random number generator, public date: November 30, 2002).
The present invention seeks to provide an apparatus and method for generating a random random number using a thermal noise inside a circuit that can not be predicted.
In order to achieve the above object, the present invention provides a real random number generator using a comparator, comprising: a power supply unit for outputting a DC input voltage; A comparator for receiving an output of the power applying unit at two input terminals and outputting a comparator output comparing a random voltage difference between the two input terminals caused by an internal thermal noise; And a correction unit that receives the comparator output and outputs a correction output that is corrected to a predetermined voltage corresponding to low or high.
Preferably, the reconfigurable unit further includes a decompression unit that receives the correction output and outputs a clock recovery output converted in response to the second clock signal. The comparator may perform the comparison operation based on the first clock signal have.
Preferably, the decompression unit may be a D-flip flop.
Advantageously, the comparator is capable of performing the comparison operation in metastability that occurs when the same input is applied to the two inputs.
The power applying unit may further include a voltage converting unit for converting the input voltage into the operating voltage of the comparator.
Preferably, the correction unit may be a slicer.
Preferably, an output buffer for storing the correction output may be further included.
According to another aspect of the present invention, there is provided a method of generating a random number using a comparator, the method including: outputting a DC input voltage; The comparator receiving the output of the power applying unit at two input terminals and outputting a comparator output comparing the random voltage differences of the two input terminals caused by internal thermal noise; And a correction unit receiving the comparator output and outputting a correction output corrected to a predetermined voltage corresponding to low or high.
Preferably, the restoring unit may receive the correction output and output the clock recovery output converted in response to the second clock signal. The comparator output comparing the random voltage differences of the two input stages may be output May perform the comparison operation based on the first clock signal.
Preferably, the step of outputting the converted clock recovery output corresponding to the second clock signal may be performed by a D-flip-flop.
Preferably, the step of outputting the comparator output comparing the voltage differences of the two input terminals may be performed in a metastable state in which the same input is applied to the two input terminals.
The step of outputting the DC input voltage may further include converting the input voltage into the operating voltage of the comparator.
Preferably, the step of outputting the correction output corrected with the predetermined voltage may be performed by the slicer.
Preferably, the output buffer stores the correction output.
The present invention is based on the metastability and thermal noise of a comparator and is composed of a simpler circuit than a conventional technique using a ring oscillator and can output a real random number with a higher bit rate while consuming a lower power There are advantages.
1 is a view for explaining a random number generator according to an embodiment of the present invention.
2 is a view for explaining a method of generating random numbers according to an embodiment of the present invention.
3 is a diagram for explaining the output waveform of the comparator.
4 is a diagram for explaining the output waveform of the restoration section.
5 is a view for explaining a random number generator according to another embodiment of the present invention.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.
The terms first, second, A, B, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.
Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.
Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
1 is a view for explaining a random number generator according to an embodiment of the present invention.
Referring to FIG. 1, the real random number generator 100 includes a
The
Here, the DC input voltage output by the
In another embodiment, the
For example, when the voltage applied to the
The
At this time, the
The reason why the output of the
Here, the thermal noise is a noise caused by irregular movement of free electrons and electrons and ions in the semiconductor due to heat, and the noise is increased as the temperature increases.
For example, instantaneous and random thermal noise may occur due to differences in characteristics of the internal transistors connected to the two input terminals of the
In another embodiment, the
Here, the metastable state refers to a state in which the
The
Here, the output of the
For example, if the output of the
More specifically, referring to FIG. 4, the
In another embodiment, referring to FIG. 5, the
Here, the
A restoring unit (not shown) receives the correction output and outputs a clock recovery output converted corresponding to the second clock signal. Here, as described above, the first clock signal is a clock signal input to the
For example, if the first clock signal and the second clock signal are all at 3 GHz, if the delay occurs while performing the correction operation in the
On the other hand, the recovery unit may have a characteristic of maintaining the value of the existing voltage output corresponding to the previous clock signal as it is until the new voltage is output in response to the next clock signal. For example, when the output of the recovery unit corresponding to the previous clock signal is high and the output corresponding to the next clock signal is also high, the output of the recovery unit can be kept high continuously while the previous and next clock signals are input.
Referring to FIG. 4, the output waveform of the restoration unit having the above-described characteristics can be confirmed.
5, the D-flip-
Finally, the
Referring to FIG. 5, the
As described above, the random random number generator according to the embodiment of the present invention has the effect of generating real random number of high bitrate even in a simple circuit configuration by using random and random thermal noise inside the circuit.
2 is a view for explaining a method of generating random numbers according to an embodiment of the present invention.
In step S210, the
In another embodiment, step S210 may further comprise converting the input voltage to an operating voltage of the
In step S220, the
In another embodiment, the
In step S230, the
In another embodiment, the correction of the
In another embodiment, the recovery unit (not shown) may receive the correction output and output the clock recovery output converted corresponding to the second clock signal.
In another embodiment, the reconstruction unit may be comprised of a D-
In another embodiment, the
The above-described embodiments of the present invention can be embodied in a general-purpose digital computer that can be embodied as a program that can be executed by a computer and operates the program using a computer-readable recording medium.
The computer readable recording medium includes a magnetic storage medium (e.g., ROM, floppy disk, hard disk, etc.), optical reading medium (e.g., CD ROM, DVD, etc.).
The present invention has been described with reference to the preferred embodiments. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.
Claims (14)
A comparator that receives the output of the power applying unit equally at two input terminals and outputs a comparator output comparing a random voltage difference between the two input terminals caused by an internal thermal noise; And
A comparator for receiving the comparator output and outputting a correction output corrected to a predetermined voltage corresponding to low or high;
And generating a random number generator using the comparator.
A restoring unit for receiving the correction output and outputting a clock recovery output converted corresponding to the second clock signal;
Further comprising:
Wherein the comparator performs the comparison operation based on the first clock signal.
The restoring unit
And a D-flip-flop.
The comparator
Wherein the comparison operation is performed in metastability generated when the same input is applied to the two input terminals.
The power applying unit
Further comprising a voltage converting unit for converting an input voltage into an operating voltage of the comparator.
The correction unit
Wherein the slicer is a slicer.
An output buffer for storing the correction output;
And generating a random number generator using the comparator.
Outputting a comparator output by comparing a random voltage difference between the two input terminals caused by an internal thermal noise by receiving a same input of the output of the power applying unit from the comparator; And
The correction unit receiving the comparator output and outputting a correction output corrected to a predetermined voltage corresponding to the low or high level;
And generating a random number by using the comparator.
The restoring unit receiving the correction output and outputting the clock recovery output converted corresponding to the second clock signal;
Further comprising:
Wherein the step of outputting a comparator output comparing a random voltage difference between the two input terminals performs the comparison operation based on a first clock signal.
The step of outputting the converted clock recovery output corresponding to the second clock signal
Wherein the conversion is performed by a D-flip-flop.
The step of outputting the comparator output comparing the voltage differences of the two input terminals
Wherein the comparison operation is performed in a metastable state generated by applying the same input to the two input terminals.
The step of outputting the DC input voltage by the power applying unit
And converting the input voltage to an operating voltage of the comparator.
The step of outputting the correction output corrected by the predetermined voltage
Wherein the correction is performed by a slicer.
The output buffer storing the correction output;
And generating a random number using the comparator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150163438A KR101745964B1 (en) | 2015-11-20 | 2015-11-20 | A high speed true random number generator using comparator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150163438A KR101745964B1 (en) | 2015-11-20 | 2015-11-20 | A high speed true random number generator using comparator |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170059271A KR20170059271A (en) | 2017-05-30 |
KR101745964B1 true KR101745964B1 (en) | 2017-06-13 |
Family
ID=59052970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150163438A KR101745964B1 (en) | 2015-11-20 | 2015-11-20 | A high speed true random number generator using comparator |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101745964B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11366639B2 (en) | 2018-05-11 | 2022-06-21 | Electronics And Telecommunications Research Institute | Apparatus and method for generating quantum random number |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102286432B1 (en) * | 2020-07-17 | 2021-08-04 | 인천대학교 산학협력단 | True random number generator capable of improving errors associated with offset voltage and operating method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004064196A (en) * | 2002-07-25 | 2004-02-26 | Renesas Technology Corp | Slice circuit |
KR100725978B1 (en) * | 2005-07-06 | 2007-06-08 | 삼성전자주식회사 | Low power random bit generator using thermal noise |
-
2015
- 2015-11-20 KR KR1020150163438A patent/KR101745964B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004064196A (en) * | 2002-07-25 | 2004-02-26 | Renesas Technology Corp | Slice circuit |
KR100725978B1 (en) * | 2005-07-06 | 2007-06-08 | 삼성전자주식회사 | Low power random bit generator using thermal noise |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11366639B2 (en) | 2018-05-11 | 2022-06-21 | Electronics And Telecommunications Research Institute | Apparatus and method for generating quantum random number |
Also Published As
Publication number | Publication date |
---|---|
KR20170059271A (en) | 2017-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5988069B2 (en) | Random number generation using continuous-time chaos | |
KR102026757B1 (en) | Soft decision error correction for memory based puf using a single enrollment | |
CN107766750B (en) | PUF circuit based on threshold voltage reference | |
TWI505641B (en) | Apparatus for generating inherent information of a semiconductor device and method therefor | |
KR101987141B1 (en) | Random number generator | |
EP2665225B1 (en) | Bit generation device and bit generation method | |
JP2009545769A5 (en) | ||
CN111433686B (en) | Time-to-digital converter | |
KR101579837B1 (en) | Apparatus and method for generating random number | |
US8988264B2 (en) | Analogue to digital converter | |
JP2012186809A (en) | Apparatus and method for generating random number | |
US20110169579A1 (en) | Method and apparatus for increasing distribution of jitter within a random number generator | |
US20210385094A1 (en) | Physical unclonable function based true random number generator, method for generating true random numbers, and associated electronic device | |
CN110286878B (en) | True random number generator and generating method for MCU random interval conversion bridge voltage | |
Miskelly et al. | Modelling attack analysis of configurable ring oscillator (CRO) PUF designs | |
KR101745964B1 (en) | A high speed true random number generator using comparator | |
Zhun et al. | A truly random number generator based on thermal noise | |
Cao et al. | An energy-efficient true random number generator based on current starved ring oscillators | |
US10613832B2 (en) | Random number generating system and random number generating method thereof | |
CN112306456B (en) | Entropy generator and method for generating enhanced entropy | |
Choi et al. | Fast compact true random number generator based on multiple sampling | |
US20150270847A1 (en) | Uniform distribution dithering in sigma-delta a/d converters | |
EP2933719B1 (en) | Digital methods and devices for generating true random numbers | |
Beirami et al. | Fundamental performance limits of chaotic-map random number generators | |
Ben-Romdhane et al. | Stochastic model of a metastability-based true random number generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |