This application claims the priorities of Korean Patent Applications Nos. 2007-0036328 filed on Apr. 13, 2007 and 2007-0073060 filed on Jul. 20, 2007 in the Korean Intellectual Property Office, the disclosures of which are incorporated herein by references.
1. Field of the Invention
The present invention relates to a pulse oscillator, and more particularly, to a random number signal generator using a pulse oscillator.
This work was partly supported by the IT R&D program of MIC/IITA [2006-S-041-01, Development of a Common Security Core Module for supporting secure and trusted service in the next generation mobile terminals].
2. Description of the Related Art
In general, when noise is generated using a thermal noise device at an input terminal of an operation amplifier, the generated noise is amplified, the amplified noise is compared with an arbitrary reference voltage, and an output pulse is generated.
Also, there are apparatuses generating a pulse by amplifying the noise. However, since the noise has a very small signal voltage, a circuit becomes complicated to amplify the noise, thereby increasing power consumption and an area thereof.
An aspect of the present invention provides a random number signal generator using a pulse oscillator, the generator including a simple circuit, using two pulse oscillators with small power and a small area, and controlling speed of outputting data by controlling the size of a resistor.
According to an aspect of the present invention, there is provided a random number signal generator using pulse oscillators, the generator including: a first pulse oscillator oscillating a first pulse at high speed; a second pulse oscillator oscillating a second pulse; a sampler receiving an output pulse of the first oscillator as data, receiving an output pulse of the second pulse oscillator as a clock signal, and outputting a plurality of output signals; and a digital processor generating a random number signal with a desired size by using the output signals of the sampler.
The generator may further include a variable resistor to provide a shake to a waveform of the output pulse of the second pulse oscillator.
As described above, the present invention provides a random number signal generator generating a random pulse using two pulse oscillators and a sampler and generating a random number using a digital processor. The generator may be embodied as a simple circuit with small power and a small area. It is easy to embody the generator as a chip. The generator may be applied as oscillators of various types.
The above and other aspects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
Exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. Only, in describing operations of the exemplary embodiments in detail, when it is considered that a detailed description on related well-known functions or constitutions may make essential points of the present invention be unclear, the detailed description will be omitted.
A random number signal generator according to an exemplary embodiment of the present invention employs two pulse oscillators. One of the pulse oscillators is a high speed ring oscillator, the other is a current mode pulse oscillator (hereinafter, referred to as a current mode jitter oscillator) In this case, the pulse oscillators indicate oscillators generating a digital pulse by an analog or digital device.
Referring to
The ring oscillator 110 receives an enable signal En0 as an input and generates a pulse at high speed to the sampler 140.
The current mode jitter oscillator 120 is embodied as the dual integrating structure, receives an enable signal En1 as an input, and generates a clock signal to the sampler 140
The variable resistor 130 provides a shake to a waveform of an output signal, that is, a waveform of a pulse of the current mode jitter oscillator 120 and use a resistor affected by peripheral circumstances (heat, power, and humidity) or use a device with a periodically changed resistance value may be used.
The sampler 140 includes a plurality of D flip-flops, receives an output signal of the ring oscillator 110 as data, and receives the output signal of the current mode jitter oscillator 120 as a clock signal.
The digital processor 150 is a logical circuit generating a random number by processing a random pulse generated by the sampler 140 into a data signal desired by a system. The digital processor 150 may be applied to random number signal generators of various types such as 32 bits, 64 bits, and 128 bits.
Detailed configurations of the ring oscillator 110, the current mode jitter oscillator 120, and the variable resistor 130 will be described with reference to the attached drawings.
The ring oscillator 110 maybe embodied as various types. However, in the present embodiment, a ring oscillator capable of being most briefly embodied will be described.
Referring to
The ring oscillator 110 generates a first ring output signal Ring_0 and a second ring output signal Ring_1 by connecting output inverters 114 and 115 to the inverters 112 and 113, respectively. The generation of the two ring output signals Ring_0 and Ring_1 is for providing a delay of an output waveform of the ring oscillator 110.
Referring to
The dual integrator 121 may include current sources lef_1 and lef_2 supplying a current, a capacitor cl charging and discharging the supplied current, first and second switches sw1 and sw2 turned on/off, a logic gate 201 receiving an output signal of the switch controller 122 and turning the first and second switches sw1 and sw2 on/off, and an inverter connected between the second switch sw2 and the logic gate 201. In this case, the first and second switches sw1 and sw2 are formed of one of an n-type metal-oxide semiconductor (NMOS) and a complementary metal-oxide semiconductor (CMOS). According to circumstances, the first switch sw1 may be replaced by a p-type metal-oxide semiconductor (PMOS) and the inverter 202 may be removed. The logic gate 201 is an AND gate.
The dual integrator 121 will be described in detail with reference to
The first switch sw1 and the second switch sw2 of the dual integrator 121 are turned on/off according to an output signal of the logic gate 201 and operate opposite to each other since the inverter 202 is connected to the second switch sw2. Accordingly, when an enable signal en1 of the logic gate 201 is “1” while an output signal out is “1”, the first switch sw1 is turned on and connected to the capacitor c1. Accordingly, the second switch sw2 is turned off and a current flows into the capacitor c1, thereby increasing a voltage of the capacitor c1 and charging the current. On the other hand, when the output signal out of the logic gate 201 is “0”, the second switch sw2 is turned on and connected to the capacitor c1. Accordingly, the first switch sw1 is turned off and the current flows out from the capacitor c1, thereby reducing a charged voltage of the capacitor c1 and discharging the current.
Referring to
The switch controller 122 may be variously embodied as shown in
The comparator 123 receives an integrated voltage generated by the dual integrator 121 and the threshold voltage generated by the switch controller 122 as inputs, compares the integrated voltage with the threshold voltage, and generates an output pulse. In this case, the output pulse is used as an input signal to the logic gate 201 of the dual integrator 121.
Referring to
When an enable signal en2 is set as “1” and an output Out of the comparator 123 is connected to a clock terminal of the counter 131, an output of the counter turns the switches connected thereto, respectively, on/off. Accordingly, resistance values connected between the switches 132 and the point A are changed, thereby fluctuating an amplitude of a pulse wave. The fluctuation of the amplitude of the pulse wave may be applied to the random number signal generator.
Also, the variable resistor 130 may be embodied as one sensor resistor such as a thermal sensor.
Referring to
While the present invention has been shown and described in connection with the exemplary embodiments, it will be apparent to those skilled in the art that modifications and variations can be made without departing from the spirit and scope of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2007-0036328 | Apr 2007 | KR | national |
10-2007-0073060 | Jul 2007 | KR | national |