The invention relates to a device for generating noise signals which can be used, in particular, in systems for the analogue and digital generation of noise and random signals. Furthermore, the invention relates to a method and a use for operating such a device, and to a method for evaluating a type of an avalanche diode or of an avalanche transistor.
In physics, noise is generally understood to be a disturbance variable having a wide non-specific frequency spectrum. It can therefore be interpreted as a superimposition of a plurality of oscillations or waves having different amplitudes and frequencies or wavelengths.
Noise was described for the first time in 1918 by Walter Schottky as a physical phenomenon, namely as measurable current fluctuations. If these fluctuations are amplified and made audible, then a sound is obtained: the noise. Nowadays the definition is a little more general: noise is a temporally variable power-limited signal whose properties can be described mathematically by a random process. Types of noise are often classified according to their power density. The latter corresponds to the change in power per bandwidth. When simplified, this means a dependence on frequency.
A distinction is made between two basic types of noise:
White noise (e.g. shot noise, thermal noise) in the engineering and natural sciences is a noise that encompasses all frequencies with a constant amplitude. In practice, this signal cannot be generated since any technical processing has only a limited frequency coverage. Therefore, only the following type of noise is of technical importance:
Pink noise (e.g. 1/f noise) has a power spectral density that decreases with frequency. In the case of pink noise, the low frequencies (low tones) have a higher amplitude than higher frequencies (high tones). The amplitude decreases inversely proportionally with increasing frequencies, but all frequencies are represented. 1/f noise is a noise that occurs in many physical, biological but also economic processes. An exemplary spectrum representing an approximate 1/f noise is reproduced in
Commercial applications for noise signal generation use primarily the following noise sources:
resistors,
Zener diodes,
transistors.
These noise sources have typical amplitude values of 10 μV to 10 mV. Since the disturbance signals in electronic systems are often within these dimensions, technically complex measures are necessary to guarantee a sufficiently high signal-to-noise ratio. Such disturbance signals may be, for example: a mains frequency; common-mode signals originating from a crystal generator, multivibrators, processor or system clocks; and artefacts from the technical environment of the application. Therefore, new noise sources having primarily
high noise signal amplitudes,
a wide frequency spectrum and
a high reproducibility
are being sought worldwide.
Analogue noise signals are required primarily where the detailed quantized curve profile permits conclusions to be drawn about information contained. In this case, it is absolutely necessary to achieve a signal-to-noise ratio that is as high as possible. This is because any amplification of a noise signal likewise amplifies the disturbance voltages modulated primarily on the supply voltage. Thus, the random signal generator from Protego (www.protego.se) has a noise source having a primary signal amplitude of approximately 10 μV and is amplified approximately 15,000-fold.
Many areas in information technology are increasingly relying on random numbers. Such random numbers can be generated from a noise signal in a manner known per se by said noise signal being digitally sampled, for example with the aid of a Schmitt trigger. As a result of the increasing worldwide networking of computers, security aspects have gained in importance in recent years. Digitized noise signals are therefore often used for statistical examinations and for generating cryptographic parameters. A high entropy is primarily required in these applications. Here, too, artefacts, disturbance signals and a low signal-to-noise ratio bring about a reduction of the entropy and are often a much sought approach in cryto-analysis.
The quality of the noise can be determined using mathematical-statistical methods known per se, such as, for example, the AIS31 method or the NIST test and the diehard test. The Shannon entropy (hereinafter “entropy”) of an 8-bit noise signal is determined with the aid of the AIS31 method. This entropy has a theoretical maximum value of 8 for such an 8-bit signal; it has a theoretical maximum value of n for a general n-bit signal. In general and in particular in cryptography, a noise signal is ascribed a good quality if the value of the entropy of an n-bit noise signal is greater than n/8×7.97—that is to say greater than 7.97 in the case of an 8-bit noise signal.
Requirements made of an ideal white noise source include, inter alia:
highest possible signal-to-noise ratio (i.e. a high noise signal amplitude and a small disturbance signal);
as few artefacts as possible or even no artefacts at all (such as, for example, those shown in
highest possible bandwidth (ideally the frequency response of white noise);
highest possible average frequency (for example, all the more random numbers can be generated per unit time given, the higher the frequency).
Therefore, it is an object of the invention to provide a device for generating noise signals which meets these requirements to the highest possible extent. In particular, the intention is to generate a primary noise signal which, when it is generated, already has such a high noise signal amplitude that only a relatively small or even no amplification whatsoever of the primary noise signal is necessary. Here and hereinafter, the “primary noise signal” is always understood to mean the unamplified noise signal. In addition, in particular the noise signal is intended to have the highest possible quality. In particular, an n-bit noise signal is intended to have an entropy of more than n/8×7.97 (that is to say more than 7.97 in the case of an 8-bit noise signal) in order that it meets the requirements of cryptography.
In accordance with a first aspect of the invention, this is achieved by means of a device comprising at least one avalanche diode which is arranged in such a way that it is reverse-biased during intended operation of the device.
The intended operation of the device is evident to the person skilled in the art from the construction of said device. In particular, the person skilled in the art can recognize from the construction of the device the polarity with which the device is connected or is to be connected to a voltage source. From this connection to the voltage source, the avalanche diode polarity that is essential according to the invention is also evident.
The voltage source can itself be part of the device. However, the device can also contain terminals which can be connected to a separate voltage source.
Preferably, the avalanche diode is formed by a part of an avalanche transistor. In principle, a transistor consists of two series-connected diodes, wherein one diode is formed by the emitter-base junction of the transistor and the other diode is formed by the base-collector junction of the transistor. Preferably, the avalanche diode is formed by the emitter-base junction of the avalanche transistor.
The transistor can be a pnp transistor or an npn transistor.
The transistor can be a small-signal transistor, for example. In the context of the present invention, a transistor is designated as a small-signal transistor if it has a power loss of less than 1 watt. Such small-signal transistors are distinguished by their small structural size and not least also by their low price.
The invention therefore uses semiconductor components that utilize, in particular, avalanche breakdown, also referred to as the avalanche effect. This is characterized by a steep rise in the current at a specific reverse voltage of a semiconductor p-n junction if the semiconductor component is reverse-biased. Avalanche breakdown is triggered by the avalanche effect (also called avalanche multiplication or carrier multiplication). In general, the Zener effect and avalanche effect act simultaneously in practice. Diodes and transistors can be protected against destruction by overvoltages by means of a controlled avalanche behaviour.
As has been found in experiments, the—according to the invention—high primary noise signal amplitude is dependent on the extent of the avalanche effect in the diode, in particular in the emitter-base junction of the avalanche transistor. Data sheets for semiconductor components at least in general do not contain information about the avalanche effect. As has surprisingly been ascertained, individual types of diodes and, in particular, of transistors yield particularly high primary noise signal amplitudes. Suitable types of diodes and transistors for noise generation can, in particular, also be determined empirically by a method as described below. Transistors are regarded as suitable also when primary noise voltages of at least 100 mV and/or average noise frequencies of at least 1 MHz can be generated thereby. The inventors have discovered that Zener effect and noise spectrum or noise signal amplitude correlate with one another. Moreover, it has been found that transistors within a specific type (for example the BC856C type) practically do not differ in their suitability. Therefore, if one transistor is suitable in the above sense, then this applies substantially to all other transistors of the same type. Different transistors of one and the same type can have different Zener voltages. However, all examined and suitable semiconductor components having a large primary noise signal amplitude had a Zener voltage in the range of 7.0 V to 12.0 V, in particular of 9.5 V to 11.0 V.
In the accompanying drawings,
a to 3g illustrate noise signals achieved with the aid of seven avalanche transistors;
a and 4b are circuit diagrams for two devices for generating noise signals;
c and 4d show signals generated by the circuits according to
a to 6d show noise signals generated by the circuit according to
a to 7c show noise signals recorded with a circuit in accordance with
a to 3g illustrate noise signals that were achieved with the aid of the following seven avalanche transistors:
All type designations are in each case in accordance with the European Semiconductor Industry Association (EECA).
These seven transistors were used in the circuit illustrated in
It becomes clear from the examples in accordance with
According to statistical surveys, approximately 25% of all small-signal transistors yield particularly high primary noise signal amplitudes, in particular if both the Zener effect and the avalanche effect are present.
Further suitable types of avalanche transistors and associated Zener voltages are reproduced in the following table:
Preferably, the device contains at least two diodes, more preferably at least five diodes. In particular, it can contain at least two transistors, more preferably at least five transistors. A plurality of diodes, in particular a plurality of transistors, were actually expected to mutually disturb one another thus entirely precluding a controlled avalanche breakdown. It was totally surprising to discover, however, that the effect of the individual diodes, in particular transistors, can thereby be cumulated, as a result of which the quality and, in particular, the noise signal amplitude of the noise can be increased.
It has furthermore been found that in general a maximum of 14 transistors suffice to generate a primary noise signal having the required noise signal amplitude.
It is particularly advantageous if the device comprises at least two series-connected diodes which are arranged in such a way that they are reverse-biased during intended operation of the device. In the case of such a series connection, it is conceivable in at least in some exemplary embodiments that, instead of an avalanche diode, other diodes are also used, such as Zener diodes, for example.
In these preferred exemplary embodiments, too, the diodes can in each case be formed by a part of the transistor, preferably by the emitter-base junction of a transistor. In the series connection, preferably the base of a first pnp transistor is connected to the emitter of a second pnp transistor.
a and 4b show circuit diagrams for two devices for generating noise signals. The circuit in accordance with
c and 4d illustrate the signals generated by the circuits, which signals were recorded by an oscilloscope. In this case,
As an alternative or in addition to the series connection, it is also possible for at least two transistors to be connected in parallel with one another. With the use of two or three transistors connected in parallel with one another, the noise frequency increases. Preferably, however, not more than three transistors should be connected in parallel with one another, since otherwise there is the risk of the noise sources mutually cancelling one another by superimposition.
By means of an operational amplifier OV1, the noise signal present at the first measurement point MP2 can be amplified and then tapped off at a second measurement point MP3 relative to ground. This amplified noise signal is present at the resistor R6.
The operating point of the transistors T1-T14 can be set by means of current limiting with a respective resistor R1, R4, R5, R10, R11, R16 and R18-R25 (75 kΩ in each case) to 20 to 60 μA. Here and hereinafter, the operating point is understood to mean the current flowing through the emitter-base junction of the transistor. The choice of the operating point determines the noise spectrum. This can be discerned in
By increasing the operating point, the average noise frequency increases. At an operating point of 90 μA or more, a continuous noise spectrum is no longer possible: undefined artefacts arise, as made clear by
a to 7c show the noise signals recorded with a circuit in accordance with
With the device according to the invention it is possible to generate a noise signal which meets very stringent demands made of the signal-to-noise ratio. In particular, it is possible to realize noise sources which need no amplification for many further applications, which has advantages on account of small distortions. Moreover, the noise signal can be processed without amplification in the case of high-impedance coupling (for example in the case of more than 5 MΩ). Moreover, the device is distinguished by a low power consumption. This is owing to the fact firstly that the diode or diodes, in particular the transistor(s), is/are reverse-biased, for which reason only a small current flows through it/them. Thus, it is possible, for example, that given an applied voltage of 10 V the total current is only approximately 35 μA, such that the device can be operated with a comparatively small battery as voltage source. Moreover, on account of the primary noise signal amplitude that is high anyway, an amplifier can be dispensed with in many cases, which leads to a further reduction of the power consumption.
The generated noise signal also satisfies many recognized criteria and standards with regard to randomness that is expected of a noise system, such as, for example, the AIS31 standards, the NIST test and the diehard test.
This is shown by the direct connection of different devices according to the invention for generating noise signals to a standard microcontroller in accordance with
The noise signal generated by the apparatus in accordance with
The digitized 8-bit noise signal generated by means of a single avalanche transistor had an entropy of 7.99957178, which is distinctly above the value of 7.97 (see the screenshot in
With two series-connected avalanche transistors this resulted in the noise signal shown in
Finally, an entropy value of 7.99993702 resulted for seven series-connected transistors.
A further aspect of the invention relates to a method for generating a noise signal with the aid of a device as described above. In this case, said device is operated such that the diode(s) is/are reverse-biased. In the cases in which the diode is formed by a part of a transistor, the device is preferably operated such that the transistor is reverse-biased in the reverse direction of the emitter-base junction of the transistor. A noise having the advantageous properties described above can be generated in this way.
Preferably, in this method the operating point of the diode, in particular of the transistor, is in the range of 20 μA to 100 μA, preferably of 20 μA to 60 μA.
This operating point can furthermore preferably be set by an ohmic resistor. This possibility of setting the operating point is structurally particularly simple and additionally cost-effective.
Yet another aspect of the invention relates to the use of a device as described above for generating a noise signal and/or a random signal. Such random numbers can be generated in a manner known per se from the noise signal generated by the device according to the invention, for example with the aid of a Schmitt-trigger.
Moreover, the invention relates to a method for evaluating a type of an avalanche diode or of an avalanche transistor, comprising the following steps:
conducting a current through the avalanche diode or through the emitter-base junction of the avalanche transistor in the reverse direction;
deriving the voltage signal present between the poles of the avalanche diode or between the emitter and the base of the avalanche transistor;
digitizing the voltage signal in order to generate a digitized n-bit noise signal;
carrying out an AIS31 test with the digitized noise signal and determining the Shannon entropy of the digitized noise signal;
if the Shannon entropy is at least n/8×7.97: positive evaluation of the avalanche diode or the avalanche transistor; or, if the Shannon entropy is less than n/8×7.97: negative evaluation of the avalanche diode or the avalanche transistor.
This method therefore makes it possible to select, from a set of types of avalanche diodes or avalanche transistors, individual types of avalanche diode or avalanche transistors which are particularly suitable for generating random numbers. Specifically, the types of diodes or transistors are evaluated as positive and thus as suitable when the Shannon entropy achieved therewith has at least the threshold value of n/8×7.97. Against expectations, the inventors have totally surprisingly found that such high Shannon entropies could actually be obtained with avalanche diodes or avalanche transistors.
Number | Date | Country | Kind |
---|---|---|---|
11193189.5 | Dec 2011 | EP | regional |