RANDOM NUMBER GENERATOR
20210365242 · 2021-11-25
Inventors
Cpc classification
H03K3/84
ELECTRICITY
International classification
Abstract
Random number generator (GL) comprising adjustable speed ring oscillators (GPRS, GPRS′), which have outputs (o-GPRS, o-GPRS′) connected to inputs (i1-UM, i2-UM) of a metastability circuit (UM) and inputs (i1-DF, i2-DF) of a phase detector (DF), which outputs (o-UM, o-DF) are connected to inputs (r-US′, i-US′) of a control circuit (US′), having output (o-US′) connected to control inputs (s-GPRS, s-GPRS′) of the adjustable speed ring oscillators (GPRS, GPRS′). The outputs (o-UM, o-DF) of the metastability circuit (UM) and the phase detector (DF) are being outputs (o-GL, o2-GL) of the random number generator (GL).
Claims
1. A random number generator (GL) comprising a bistable (UB), having an output (o-UB) connected to an output (o-GL) of the random number generator (GL), and comprising at least two ring oscillators (GP), being respectively connected to inputs (i1-UB, i2-UB) of the bistable (UB), characterized in that at least one of the ring oscillators is an adjustable speed ring oscillator (GPRS, GPRS′), and in that the output (o-UB) of at least one of the bistables (UB), having the inputs (i1-UB, i2-UB) connected to the ring oscillators (GP, GPRS, GPRS′), is connected to at least one of control inputs (s-GPRS, s-GPRS′) of the adjustable speed ring oscillator (GPRS, GPRS′).
2. The random number generator according to claim 1, characterized in that it has at least a second bistable, having a first input connected to one of the ring oscillators and a second input connected to another of the ring oscillators.
3. The random number generator according to claim 2, characterized in that it comprises at least a third ring oscillator, wherein at least the second bistable has at least one of the inputs connected to at least the third ring oscillator.
4. The random number generator according to claim 1, characterized in that at least one output (o-UB) of at least one of the bistables (UB) is connected to at least one control input (s-GPRS, s-GPRS′) of the adjustable speed ring oscillators (GPRS, GPRS′) through a control circuit (US).
5. The random number generator according to claim 1, characterized in that at least one output (o-UB) of at least one of the bistables (UB) is connected to at least one control input (s-GPRS, s-GPRS′) of the adjustable speed ring oscillators (GPRS, GPRS′) through a control circuit (US′), and in that an output of another bistable is connected to a second input (r-US′) of the control circuit (US′).
6. The random number generator according to claim 1, characterized in that at least one of the bistables (UB) is a phase detector (DF).
7. The random number generator according to claim 1, characterized in that at least one of the bistables (UB) is a metastability circuit (UM).
8. The random number generator according to claim 1, characterized in that at least one of the ring oscillators (GP) comprises at least one delay line (LO), having an input (i-LO) and an output (o-LO) connected together and connected to the output of the ring oscillator (o-GP), wherein the delay line (LO) comprises delays (EO) connected in series.
9. The random number generator according to claim 1, characterized in that at least one of the adjustable speed ring oscillator (GPRS, GPRS′) comprises at least one delay line (LO), having an input (i-LO) and an output (o-LO) connected together and connected to the output of the adjustable speed ring oscillator (o-GPRS, o-GPRS′), wherein the delay line (LO) comprises delays (EO) connected in series.
10. The random number generator according to claim 9, characterized in that at least one of the adjustable speed ring oscillators (GPRS, GPRS′) comprises at least one additional delay subcircuit (C), connected to the delay line (LO), to an output of a delay (EO), through a switch (KL, KL′), having a control input connected to the control input of the adjustable speed ring oscillator (s-GPRS, s-GPRS′).
11. The random number generator according to claim 9, characterized in that at least one adjustable speed ring oscillator (GPRS) comprises at least one controlled delay subcircuit (T) connected in series into the delay line (LO) between an output of one delay (EO) and an input of the next delay in chain, wherein a control input (s-T) of the controlled delay subcircuit (T) is connected to the control input (s-GPRS) of the adjustable speed ring oscillator (GPRS).
12. The random number generator according to claim 11, characterized in that the controlled delay subcircuit (T) comprises at least two field effect transistors of the opposite channel type (P, N), having drains and sources paired together, wherein one of the pairs is connected to an input (i-T) of the controlled delay subcircuit (T), other pair is connected to an output (o-T) of the controlled delay subcircuit (T), and a control input (s-T) of the controlled delay subcircuit (T) is connected to gates of both field effect transistors (P, N).
13. The random number generator according to claim 12, characterized in that in the field effect transistors (P, N) the ratio of the length and width of the channel of one transistor is higher than the ratio of the length and width of the channel of the other transistor.
14. The random number generator according to claim 12, characterized in that at least one delay (EO) is connected in series with at least one of the field effect transistors (P).
15. The random number generator according to claim 12, characterized in that at least one inverter (Inv) is connected between the gates of the field effect transistors (P, N) and the control input (s-T) of the controlled delay subcircuit (T).
16. The random number generator according to claim 1, characterized in that at least one adjustable speed ring oscillator (GPRS, GPRS′) is a switchable chain ring oscillator (GPSP, GPSP′).
17. The random number generator according to claim 16, characterized in that at least one switchable chain ring oscillator (GPSP, GPSP′) comprises at least two delay lines (LO1, LO2, LO1′, LO2′) connected with each other so that an output of the first delay line (o-LO1, o-LO1′) is connected to an input of the second delay line (i-LO2, i-LO2′), and an output of one of the delay lines (o-LO2, o-LO2′) is connected to the output of the switchable chain ring oscillator (o-GPSP, o-GPSP′), wherein delay lines (LO1, LO2, LO1′, LO2′) comprise delays (EO) connected in series.
18. The random number generator according to claim 17, characterized in that at least one switchable chain ring oscillator (GPSP, GPSP′) comprises a multiplexer (MUX, MUX′), having a control input (s-MUX, s-MUX′) connected to the control input of the switchable chain ring oscillator (s-GPSP, s GPSP′), and in that an output of the multiplexer (o-MUX, o-MUX′) is connected to the input of one of the delay lines (i-LO1, i-LO1′), and in that inputs of the multiplexer (i0-MUX, i1-MUX, i1-MUX′, i0-MUX′) are respectively connected to an input and an output of the other delay line (o-LO2, i-LO2, o-LO2′, i-LO2′).
19. The random number generator according to claim 1, characterized in that it comprises at least two metastability circuits (UM1, UM2, UM3, UM4, UM5) connected to the delay lines (LO, LO′, LO1, LO2, LO1′, LO2′) so, that the inputs of the metastability circuits (i1-UM1, i1-UM2, i1-UM3, i1-UM4, i1-UM5, i2-UM1, i2-UM2, i2-UM3, i2-UM4, i2-UM5) are separated in the delay lines (LO1, LO2, LO1′, LO2′) with at least one delay (EO).
20. The random number generator according to claim 1, characterized in that at least one of the metastability circuits (UM4, UM5) is connected with the first input (i1-UM4, i1-UM5) to a series of delays of the delay lines (LO, LO1, LO2) of one ring oscillator (GPRS, GPSP), after a delay (EO) having the first number in this series counting from a delay (EO) connected with its input to the output (o-GPRS, o-GPSP) of the ring oscillator (GPRS, GPSP), and the second input of the metastability circuit (i2-UM4, i2-UM5) is connected to a series of delays of the delay lines (LO′, LO1′, LO2′) of another ring oscillator (GPRS′, GPSP′), after a delay (EO) having the second number in this series counting from a delay (EO) connected with its input to the output (o-GPRS′, o-GPSP′) of the another ring oscillator (GPRS′, GPSP′), wherein the first number is different from the second number.
21. The random number generator according to claim 1, characterized in that at least two metastability circuits (UM6, UM7) are connected with at least one input each (i1-UM6, i1-UM7; i2-UM6, i2-UM7) in the same place of at least one delay line (LO, LO′, LO2, LO2′).
22. The random number generator according to claim 4, characterized in that at least one control circuit (US) comprises at least one delay (EO).
23. The random number generator according to claim 5, characterized in that at least one control circuit (US′) comprises randomness adder (XOR′), wherein the first input being an input of random data of the control circuit (r-US′), second input being an signal input of the control circuit (i-US′), and an output of the randomness adder (XOR′) being an output of the control circuit (o-US′).
24. The random number generator according to claim 23, characterized in that the first input of the randomness adder (XOR′) is connected to the input of random data of the control circuit (r-US′) through a strobing circuit (AND′), and in that a strobe control (LCZ′) is connected to the strobing circuit (AND′).
25. The random number generator according to claim 23, characterized in that the second input of the randomness adder (XOR′) and its output are connected in series with at least one delay (EO′), wherein an input of the first delay in the series is connected to the signal input of the control circuit (i-US′), and the output of the last delay in series is connected to the output of the control circuit (o-US′).
26. The random number generator according to claim 23, characterized in that the first input of the randomness adder (XOR′) is connected to the input of random data of the control circuit (r-US′) through a strobing circuit (AND′), and in that a strobe control (LCZ′) is connected to the strobing circuit (AND′), and in that the second input of the randomness adder (XOR′) and its output are connected in series with at least one delay (EO′), wherein an input of the first delay in the series is connected to the signal input of the control circuit (i-US′), and the output of the last delay in series is connected to the output of the control circuit (o-US′).
27. The random number generator according to claim 6, characterized in that at least one phase detector (DF) consists of a flip-flop (P) with two inputs (D, C) being the inputs of the phase detector (i1-DF, i2-DF) and an output (Q) being the output of the phase detector (o-DF).
28. The random number generator according to claim 6, characterized in that at least one phase detector (DF) comprises two flip-flops (P1), (P2) each having two inputs (D1, C1), (D2, C2) and two outputs (Q1, nQ1), (Q2, nQ2), wherein the inputs of the flip-flops are connected to inputs of the phase detector, and outputs of the flip-flops are connected to outputs of the phase detector and wherein, the first input of the phase detector (i1-DF) is connected to both the first input of the first flip-flop (D1) and the second input of the second flip-flop (C2), the second input of the phase detector (i2-DF) is connected to both the second input of the first flip-flop (C1) and the first input of the second flip-flop (D2), and the output of the phase detector (o-DF) is connected to chosen outputs of the flip-flops (nQ1, Q2) through a logic circuit (AND).
29. The random number generator according to claim 7, characterized in that at least one metastability circuit (UM) consists of a flip-flop (Pa) with two inputs (Da, Ca) being the inputs of the metastability circuit (i1-UM, i2-UM) and an output (Qa) being the output of the metastability circuit (o-UM).
30. The random number generator according to claim 7, characterized in that at least one metastability circuit (UM) comprises a metastable circuit with an oscillatory response (UMOO) with two inputs (R, S) being the inputs of the metastability circuit (i1-UM, i2-UM) and an output (wOO) being the output of the metastability circuit (o-UM).
31. The random number generator according to claim 30, characterized in that the output of the metastable circuit with an oscillatory response (wOO) is connected to the output of the metastability circuit (o-UM) through an adder (SUM).
32. The random number generator according to claim 31, characterized in that it comprises a counter (LCZ), having outputs connected to consecutive inputs of the adder (SUM), and having an input (i-LCZ) connected to the output of the metastable circuit with an oscillatory response (wOO).
33. The random number generator according to claim 7, characterized in that at least one metastability circuit (UM) comprises a metastable generator of time intervals (GMIC), having inputs connected to the inputs of the metastability circuit (i1-UM, i2-UM) and outputs connected to inputs of an arbiter circuit (ARB), having outputs connected to the outputs of the metastability circuit (o-UM) through a logic circuit (AND).
34. The random number generator according to claim 33, characterized in that the metastable generator of time intervals (GMIC) comprises two flip-flops (Pb), (Pc) having two inputs (Db, Cb), (Dc, Cc) and single outputs (Qb), (Qc), wherein the inputs of the flip-flops of the metastable generator of time intervals (GMIC) are connected to the inputs of the metastability circuit (UM) and wherein, the first input of the metastability circuit (i1-UM) is connected to both the first input of the first flip-flop (Db) and the first input of the second flip-flop (Dc), the second input of the metastability circuit (i2-UM) is connected to both the second input of the first flip-flop (Cb) and the second input of the second flip-flop (Cc), and in that the arbiter circuit (ARB) comprises two flip-flops (Pd), (Pe) having two inputs (Dd, Cd), (De, Ce) and two outputs (Qd, nQd), (Qe, nQe) each, wherein the outputs of the flip-flops of the metastable generator of time intervals (GMIC) are connected to the inputs of the flip-flops of the arbiter circuit (ARB) and wherein, the output of the first flip-flop of the metastable generator of time intervals (Qb) is connected to both the first input of the first flip-flop of the arbiter circuit (Dd) and the second input of the second flip-flop of the arbiter circuit (Ce), the output of the second flip-flop of the metastable generator of time intervals (Qc) is connected to both the second input of the first flip-flop of the arbiter circuit (Cd) and the first input of the second flip-flop of the arbiter circuit (De), and in that the logic circuit (AND) consists of a conjunction gate, through which selected outputs of the flip-flops of the arbiter circuit (nQd, Qe) are connected to the outputs of the metastability circuit (o-UM).
Description
[0047] The invention has been described below in detail, with reference to the attached figures.
[0048] Random number generator presented in
[0049] The bistable UB changes a frequency of the adjustable speed ring oscillator GPRS by iterative changes or synchronization of the phase of both oscillators GP and GPRS. Such a feedback allows the circuit comprising the ring oscillators GP and GPRS and the bistable UB to manifest a chaotic behavior. Moreover, if the bistable is slow enough, the detection process manifests much often a metastable behavior, which improves the quality of randomness of the entire system.
[0050] Random number generator presented in
[0051] The delay added by the control circuit US to the feedback, used for the phase control of the oscillators, causes that the circuit made of the adjustable speed ring oscillators GPRS and
[0052] GPRS′, the bistable UB and the control circuit US is a chaotic circuit. Moreover, the proximity of the oscillators phases means the time closeness of the edges of generated signals, which change their temporal position by the occurrence of the jitter phenomenon in digital circuits. For that reason, the pseudo-random chaotic circuit becomes a non-deterministic circuit—the more random, the slower the bistable is. The use of the second adjustable speed ring oscillator, operating in the opposite way to the first adjustable speed ring oscillator, improves the chaotic performance of the circuit.
[0053] Random number generator presented in
[0054] The phase detector DF changes a frequency of the adjustable speed ring oscillator GPRS by iterative changes or synchronization of the phase of both oscillators GP and GPRS. The proximity of the oscillators' phases means time closeness of the edges of generated signals, which are used to stimulate the metastability circuit UM, which produces a random phenomenon.
[0055] Both outputs of the generator allow to obtain two independent orthogonal binary random streams. Random variables on both outputs o-GL and o2-GL of the random number generator GL are independent, because they are obtained in two different circuit processes—one in the phase correction system, the other in the metastability circuit. The second output o2-GL also provides the ability to control the phase correction process, as well as the ability to control the conditions, quality and parameters of the metastability process initialization through the phase correction system.
[0056] Random number generator presented in
[0057] The delay caused by the control circuit US in the generator phase control feedback increases the range of phase shifts. The use of the second adjustable speed ring oscillator GPRS′, operating in the opposite way to the first adjustable speed ring oscillator GPRS, improves generator phase convergence.
[0058] The random number generator presented in
[0059] The use of the additional input of the control circuit r-US′ allows to add a random stream, produced by the metastability circuit UM, to the circuit based on the oscillators GP and GPRS, the phase detector DF and the control circuit US′.
[0060] Random number generator presented in
[0061] The use of the second adjustable speed ring oscillator GPRS′, operating in the opposite way to the first adjustable speed ring oscillator GPRS, improves generator phase convergence.
[0062] Ring oscillator presented in
[0063] The number of delay elements and a corresponding delay caused by each of these elements determines the basic operating frequency of the ring oscillator GP. The base frequency has a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.).
[0064] Adjustable speed ring oscillator presented in
[0065] The oscillator GPRS has two basic operating frequencies and the selection of one of them is made by the oscillator control signal at the control input s-GPRS. The basic operating frequencies depend on the number of delays EO that the delay line LO consists of, on the delay caused by each delay EO, and on the additional delay resulting from connecting the capacitor C causing the slower switching of adjacent delays. The basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.).
[0066] Adjustable speed ring oscillator presented in
[0067] Adjustable speed ring oscillator presented in
[0068] The oscillator GPRS has two basic operating frequencies and the selection of one of them is made by the oscillator control signal at the control input s-GPRS. The basic operating frequencies depend on the number of delays EO that the delay line LO consists of, on the delay caused by each delay EO, and one of two additional delays caused by the controlled delay subcircuit T. The additional delay is chosen by the logical control signal at the control input s-GPRS of the adjustable speed ring oscillator GPRS, and thus at the control input s-T of the controlled delay subcircuit T.
[0069] The number of delays EO in the delay lines LO of the pair of adjustable speed ring oscillators GPRS determines how frequently the phase correction is made by the phase detector connected to the outputs of these oscillators. Whereas the difference in delays caused by the controlled delay T determines the range of the phase shifts of the pair of oscillators. Moreover, the basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.).
[0070] Controlled delay subcircuit presented in
[0071] The symmetry of the topology of the field effect transistor allows to replace its pins—a drain with a source. The opposite channel type of the field effect transistors controlled by the same logical signal at the transistors' gates, causes that logic zero disables one N-type transistor and turns on the other P-type, whereas the logic ‘1’ does the opposite. The identical geometry of the transistors' channels results in that one of the P-type transistors causes slightly greater delay between an input i-T and an output o-T of the controlled delay subcircuit T. Changing the geometry of the transistor channels, in particular the significant elongation of one of the channels, introduces a highly asymmetric operation of the transistors in terms of their propagation delay. Reversing the length of channels in another pair of transistors, in another controlled delay subcircuit, connected in a series of delays of another adjustable speed ring oscillator, provides complementary control of the pair of such oscillators, in which the same control signal produces the opposite effect in each of them.
[0072] Controlled delay subcircuit presented in
[0073] The presence of the two additional delays EO causes an additional propagation delay between the input i-T and the output o-T of the controlled delay subcircuit T, for a one particular logic level at s-T input. The same delay elements connected in series with the other transistor of another transistor pair of a controlled delay subcircuit, which was connected in series with delays of another adjustable speed ring oscillator, provide complementary control of the pair of such oscillators, in which the same control signal produces the opposite effect in each of them.
[0074] Controlled delay subcircuit in
[0075] The use of the inverter Inv in only one of two controlled delay subcircuits, having identical internal structure, connected in series with delays of delay lines of two different adjustable speed ring oscillators, provides complementary control of the pair of such oscillators in which the same control signal gives the opposite effect in each of them.
[0076] Switchable chain ring oscillator presented in
[0077] The oscillator GPSP has two basic operating frequencies and the selection of one of them is made by the oscillator control signal at the control input s-GPSP. The basic operating frequencies depend on the number of delays EO that each of the delay lines LO1 and LO2 consists of, on the delay caused by each delay EO, and on the delay caused by the multiplexer MUX. The basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.).
[0078] Switchable chain ring oscillator presented in
[0079] Random number generator presented in
[0080] The first three of the metastability circuits UM1, UM2 and UM3 are connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner and at the same time the metastability circuits are stimulated by similar signals—that is, similar phase shifts of the signals of the adjustable speed ring oscillators GPRS and GPRS′. The third, the fourth and the fifth of the metastability circuits UM3, UM4 and UM5 are also connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner, however each of these metastability circuits is stimulated by completely different phase shift of signals of the adjustable speed ring oscillators GPRS and GPRS′. The sixth metastability circuit UM6 is stimulated by the same signals as the seventh metastability circuit UM7. The identical structure of these two metastability circuits UM6 and UM7 provides similar conditions for their stimulation, whereas their different structure—in particular symmetrical with respect to one another, but with asymmetrical operating characteristics—ensures the stimulation of these circuits at different phase shifts.
[0081] The adjustable speed ring oscillators GPRS and GPRS′ have two basic operating frequencies and the selection of one of them is made by the oscillator control signal at the control inputs s-GPRS and s-GPRS′. The basic operating frequencies depend on the number of delays EO that the delay lines LO and LO′ consists of, on the delay caused by each delay EO, and on the additional delays resulting from connecting the capacitor C causing the slower switching of adjacent delays. The basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.)—and because of that the signals phase also manifests random changes.
[0082] The phase detector DF changes the frequencies of the adjustable speed ring oscillators GPRS and GPRS′ by iterative changes or synchronization of the phase of both oscillators. The proximity of the oscillators' phases means time closeness of the edges of generated signals, which are used to stimulate the metastability circuits, which produce random phenomena. The exceptions are the metastability circuits connected to the delay lines with particular shifts, because the goal is to achieve a different phase stimulation shifted by one or multiple propagation times of a delay EO.
[0083] Random number generator presented in
[0084] The first three of the metastability circuits UM1, UM2 and UM3 are connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner and at the same time the metastability circuits are stimulated by similar signals—that is, similar phase shifts of the signals of the adjustable speed ring oscillators GPRS and GPRS′. The third, the fourth and the fifth of the metastability circuits UM3, UM4 and UM5 are also connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner, however each of these metastability circuits is stimulated by completely different phase shift of signals of the adjustable speed ring oscillators GPRS and GPRS′. The sixth metastability circuit UM6 is stimulated by the same signals as the seventh metastability circuit UM7. The identical structure of these two metastability circuits UM6 and UM7 provides similar conditions for their stimulation, whereas their different structure—in particular symmetrical with respect to one another, but with asymmetrical operating characteristics—ensures the stimulation of these circuits at different phase shifts.
[0085] The adjustable speed ring oscillators GPRS and GPRS′ have two basic operating frequencies and the selection of one of them is made by the oscillator control signals at the control inputs s-GPRS and s-GPRS′. The basic operating frequencies depend on the number of delays EO that the delay lines LO and LO′ consists of, on the delay caused by each delay EO, and one of two additional delays caused by the controlled delay subcircuits T and T′. The additional delays are chosen by the logical control signal at the control inputs s-GPRS and s-GPRS′ of the adjustable speed ring oscillators GPRS and GPRS′, and thus at the control inputs s-T and s-T′ of the controlled delay subcircuits T and T′. The basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.)—and because of that the signals phase also manifests random changes.
[0086] The phase detector DF changes the frequencies of the adjustable speed ring oscillators GPRS and GPRS′ by iterative changes or synchronization of the phase of both oscillators. The proximity of the oscillators' phases means time closeness of the edges of generated signals, which are used to stimulate the metastability circuits, which produce random phenomena. The exceptions are the metastability circuits connected to the delay lines with particular shifts, because the goal is to achieve a different phase stimulation shifted by one or multiple propagation times of a delay EO.
[0087] Random number generator presented in
[0088] The first three of the metastability circuits UM1, UM2 and UM3 are connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner and at the same time the metastability circuits are stimulated by similar signals—that is, similar phase shifts of the signals of the switchable chain ring oscillators GPSP and GPSP′. The third, the fourth and the fifth of the metastability circuits UM3, UM4 and UM5 are also connected to delay lines in the way that assures the delays EO are driven by metastability circuits in the minimal manner, however each of these metastability circuits is stimulated by completely different phase shift of signals of the switchable chain ring oscillators GPSP and GPSP′. The sixth metastability circuit UM6 is stimulated by the same signals as the seventh metastability circuit UM7. The identical structure of these two metastability circuits UM6 and UM7 provides similar conditions for their stimulation, whereas their different structure—in particular symmetrical with respect to one another, but with asymmetrical operating characteristics—ensures the stimulation of these circuits at different phase shifts.
[0089] The switchable chain ring oscillators GPSP and GPSP′ have two basic operating frequencies and the selection of one of them is made by the oscillator control signal at the control inputs s-GPSP and s-GPSP′. The basic operating frequencies depend on the number of delays EO that each of the delay lines LO1 and LO2 and LO1′ and LO2′ consists of, on the delay caused by each delay EO, and on the delays caused by the multiplexers MUX and MUX′. The basic frequencies have a random component, resulting from physical phenomena—typical for electronic circuits (noise, thermal phenomena, jitter, etc.)—and because of that the signals phase also manifests random changes.
[0090] The phase detector DF changes the frequencies of the switchable chain ring oscillators GPSP and GPSP′ by iterative changes or synchronization of the phase of both oscillators. The proximity of the oscillators' phases means time closeness of the edges of generated signals, which are used to stimulate the metastability circuits, which produce random phenomena. The exceptions are the metastability circuits connected to the delay lines with particular shifts, because the goal is to achieve a different phase stimulation shifted by one or multiple propagation times of a delay EO.
[0091] Control circuit presented in
[0092] The chain of EO delays causes a delay in the circuit's feedback, i.e., a delay in transmitting the phase correction signal, thus it improves the chaotic properties of the system.
[0093] Control circuit presented in
[0094] The randomness adder XOR′ causes a delay between the input i-US′ and the output o-US′ for the feedback signal and it adds to this signal a random value supplied to the input of random data of the control circuit r-US′.
[0095] Control circuit presented in
[0096] The strobing circuit AND′ along with the strobe control LCZ′ allow only selected random values delivered to the input of random data of the control circuit r-US′. For example, the strobe control LCZ′ can be made as a counter, which will only permit one in several random values.
[0097] Control circuit presented in
[0098] The series of delays EO along with the randomness adder XOR′ cause a delay between the input i-US′ and the output o-US′ of the control circuit. This delay affects the characteristics of the phase correction in the circuit. The connection of the randomness adder XOR′ in regard to the delays EO in the series of elements between the signal input i-US′ and the output of the control circuit o-US′, affects the moment of injecting the randomness into the phase correction circuit.
[0099] Control circuit presented in
[0100] Phase detector presented in
[0101] Depending on whether the rising edge on the D input of the flip-flop occurs before or after the rising edge on the C input of the flip-flop, the logic ‘1’ or logic ‘0’ will appear on the output Q. The type of the flip-flop—e.g., D flip-flop, RS flip-flop, JK flip-flop etc.—is of secondary importance, as long as the flip-flop detects which of the input signals slopes came first.
[0102] Phase detector presented in
[0103] The phase detector composed of two flip-flops provides symmetrical detection of negative and positive phase shifts.
[0104] Metastability circuit presented in
[0105] The flip-flop Pa is characterized by the fact that the proximity of the edges of signals on the inputs of the flip-flop Da and Ca causes a metastable range of operation resulting in a random logic state on the output Qa. The type of the flip-flop—e.g., D flip-flop, RS flip-flop, JK flip-flop etc.—is of secondary importance, as long as the flip-flop provides a random response at the output in case of appropriate proximity of the edges of the input signals.
[0106] Metastability circuit presented in
[0107] The flip-flop UMOO is characterized by the fact that the proximity of the edges of signals on the inputs of the flip-flop R and S causes a metastable range of operation resulting in oscillatory response of the flip-flop with a variable number of oscillations as well as in a random response at the output wOO.
[0108] Metastability circuit presented in
[0109] The adder SUM is used for adding up a variable number of oscillations at the output wOO.
[0110] Metastability circuit presented in
[0111] The counter LCZ is used for counting a variable number of oscillations at the output wOO, which then adds the adder SUM. Moreover, the logical state at the output wOO is also taken into account in this circuit.
[0112] Metastability circuit presented in
[0113] Providing to the flip-flops Pb and Pc of the metastable generator of time intervals GMIC digital signals with relatively close proximity of the edges of the signals at the inputs of the flip-flops, causes metastable states in them, which result in logical values at the outputs Qb and Qc in various moments. Both the logical values and the time intervals are sources of randomness with specific properties of these randomities. The arbiter circuit compares the response times of the flip-flops Pb and Pc, and the result of this comparison—which is a random value—is interpreted by the logic circuit AND as logical zero or logical one.
[0114] The invention can be applied and used in generating truly random numbers and series.
[0115] The unique added value resulting from the application of the invention is that it can be implemented in purely digital programmable circuit. Due to the fact that the variable in the feedback of the digital circuit is not only logical value but also time, the circuit exhibits properties specific to analog chaotic circuits. As an result, the deterministic digital circuit yields truly chaotic analog and continuous variables, which contradicts the general knowledge of experts.