SU1566346A1 - Random number generator - Google Patents

Random number generator Download PDF

Info

Publication number
SU1566346A1
SU1566346A1 SU884393097A SU4393097A SU1566346A1 SU 1566346 A1 SU1566346 A1 SU 1566346A1 SU 884393097 A SU884393097 A SU 884393097A SU 4393097 A SU4393097 A SU 4393097A SU 1566346 A1 SU1566346 A1 SU 1566346A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
generator
trigger
elements
Prior art date
Application number
SU884393097A
Other languages
Russian (ru)
Inventor
Николай Васильевич Росип
Original Assignee
Предприятие П/Я В-2445
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 Предприятие П/Я В-2445 filed Critical Предприятие П/Я В-2445
Priority to SU884393097A priority Critical patent/SU1566346A1/en
Application granted granted Critical
Publication of SU1566346A1 publication Critical patent/SU1566346A1/en

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано дл  моделировани  случайных чисел с равномерным распределением. Целью изобретени   вл етс  расширение функциональных возможностей за счет выравнивани  веро тности по влени  случайных чисел. Дл  этого в генератор случайных чисел введены генератор 7 тактовых импульсов. Элементы 9-11 И, группа элементов 14 ИСКЛЮЧАЮЩЕЕ ИЛИ с соответствующими св з ми. Выравнивание веро тностей по влени  случайных чисел, завис щих от времени установки разр дов счетчика, т.е. от технологии изготовлени  интегральных схем, осуществл етс  за счет подачи в противофазе счетных импульсов на суммирующие и вычитающие входы счетчиков с генератора 7 импульсов и объединени  соответствующих разр дных выходов счетчиков по схеме ИСКЛЮЧАЮЩЕЕ ИЛИ. Управление подачей импульсов на счетные входы счетчиков производ тс  триггером, состо ние которого в момент включени  генератора произвольное, а затем измен етс  с каждым приходом запускающего импульса по входу "Опрос". 1 ил.The invention relates to computing and can be used to model random numbers with a uniform distribution. The aim of the invention is to enhance the functionality by equalizing the probability of occurrence of random numbers. To do this, a generator of 7 clock pulses is entered into the random number generator. Elements 9-11 AND, a group of elements 14 EXCLUSIVE OR with corresponding links. The alignment of the probabilities of the occurrence of random numbers depending on the time of setting the counter bits, i.e. from the technology of manufacturing integrated circuits, is carried out by supplying in counterphase counting pulses to the summing and subtracting inputs of the counters from the generator 7 pulses and combining the corresponding bit outputs of the meters according to the EXCLUSIVE OR scheme. The pulse supply control to the counting inputs of the counters is controlled by a trigger, the state of which at the moment the generator is turned on is arbitrary, and then changes with each arrival of the trigger pulse at the Poll input. 1 il.

Description

1one

(21)4393097/24-24(21) 4393097 / 24-24

(22)15.03.88 (46)n23.05.90. Бюл. № 19 (72) Н.В.Росип(22) 03/15/88 (46) n. 23.05.90. Bul № 19 (72) N.V. Rosip

(53)681.3(088.8)(53) 681.3 (088.8)

(56)Авторское свидетельство СССР № 947948, кл. Н 03 К 3/84, 1979.(56) USSR Author's Certificate No. 947948, cl. H 03 K 3/84, 1979.

Авторское свидетельство СССР № 1242939, кл.С 06 F 7/58, 1986.USSR Author's Certificate No. 1242939, C. 06 F 7/58, 1986.

(54)ГЕНЕРАТОР СЛУЧАЙНЫХ ЧИСЕЛ(54) GENERATOR OF RANDOM NUMBERS

(57)Изобретение относитс  к вычислительной технике и может быть использовано дл  моделировани  случайных чисел с равномерным распределением. Целью изобретени   вл етс  расширение функциональных возможностей за счет выравнивани  веро тности по влени  случайных чисел. Дл  этого в генератор случайных чисел введены генератор 7 тактовых импульсов, элементы И 8-11, группа элементов 14 ИСКЛЮЧАЮЩЕЕ ИЛИ с соответствующими св з ми. Выравнивание веро тностей по влени  случайных чисел, завис щих от времени установки разр дов счетчика, т.е. от1 технологии изготовлени  интегральных схем, осуществл етс  за счет подачи в противофазе счетных импульсов на суммирующие и вычитающие входы счетчиков с генератора 7 импульсов и объединени  соответствующих разр дных выходов счетчиков по схеме ИСКЛЮЧАЮЩЕЕ ИЛИ. Управление подачей импульсов на счетные входы счётчиков производитс  триггером, состо ние которого в момент включени  генератора произвольное, а затем измен етс  с каждым приходом запускающего импульса по входу Опрос. 1 ил.(57) The invention relates to computing and can be used to model random numbers with a uniform distribution. The aim of the invention is to enhance the functionality by equalizing the probability of occurrence of random numbers. To do this, a generator of 7 clock pulses, elements AND 8-11, a group of elements 14 EXCLUSIVE OR with the appropriate links are entered into the random number generator. The alignment of the probabilities of the occurrence of random numbers depending on the time of setting the counter bits, i.e. From the technology of manufacturing integrated circuits, the counter pulse phase is fed into the summing and subtracting inputs of counters from the generator 7, and combining the corresponding bit outputs of the counters according to the EXCLUSIVE OR scheme. The control of the supply of pulses to the counting inputs of the counters is made by a trigger, the state of which at the moment of switching on the generator is arbitrary, and then changes with each arrival of the trigger pulse at the Poll input. 1 il.

(L

елate

оabout

О)ABOUT)

здhere

4ь О)4 O)

1 one

Изобретение относитс  к вычислительной технике и может быть использовано дл  моделировани  случайных чисел с равномерным распределением.The invention relates to computing and can be used to model random numbers with a uniform distribution.

Цель изобретени  - расширение функциональных возможностей за счет выравнивани  веро тности по влени  случайных чисел.The purpose of the invention is to enhance the functionality by equalizing the probability of the occurrence of random numbers.

На чертеже изображена схема генератора случайных чисел.The drawing shows a diagram of a random number generator.

Генератор содержит источник 1 посто нного напр жени , вход 2 опрос, ключ 3, ждущий мультивибратор 4, элемент 5 задержки, триггер 6, генератор 7 тактовых импульсов, четыре элемента И 8-11, первый 12 и второй 1 3 счетчики , группу элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 14, информационный выход 15.The generator contains a source of 1 constant voltage, input 2 poll, key 3, standby multivibrator 4, delay element 5, trigger 6, clock generator 7, four elements AND 8-11, first 12 and second 1 3 counters, group of elements EXCLUSIVE OR 14, information output 15.

Генератор работает следующим образом .The generator works as follows.

В исходном состо нии напр жение на выходе ждущего мультивибратора 4 отсутствует, ключ 3 закрыт и посто нное напр жение источника 1 не посту-2 пает на шины питани  первого 12 и второго 13 счетчиков. Импульс, поступивший с входа 2 опрос, запускает ждущий мультивибратор 4 и через элементIn the initial state, the voltage at the output of the waiting multivibrator 4 is absent, the key 3 is closed and the constant voltage of the source 1 does not apply to the power buses of the first 12 and second 13 meters. The impulse received from the input 2 survey, starts the waiting multivibrator 4 and through the element

1one

22

5 задержки - триггер 6. С выхода муль- Q ключа, информационный вход которого5 delays - trigger 6. From the output of the multi-Q key, the information input of which

тивибратора 4 подаетс  напр жение, открывающее ключ 3, и посто нное напр жение с источника 1 подаетс  на шину питани  счетчиков 12 и 13. Триггеры счетчиков 12 и 13 самопроизвольно устанавливаютс  в состо ние логической 1 или логического О на период открытого ключа 3. Однако существующа  коррел ци  установки триггеров счетчиков 12 и 13, завис ща  от их быстродействи  и предопредел ема  неидеальностью технологического процесса , не позвол ет получить равномерного распределени  с высокой веро тностью .the tivibrator 4 is energized, which opens the key 3, and the constant voltage from the source 1 is fed to the meter supply bus 12 and 13. The triggers of the meters 12 and 13 are spontaneously set to the state of the logical 1 or logical O for the period of the public key 3. However, the existing the correlation of the installation of trigger meters 12 and 13, depending on their speed and predetermined by the non-ideal process, does not allow for an even distribution with high probability.

В этот период времени импульсы с генератора 7 импульсов поступают на первые входы элементов И 8-11 ив зависимости от состо ни  триггера 6 на суммирующий и вычитающий входы счетчиков 12 и 13. Причем подключение суммирующих и вычитающих входов счетчиков 12 и 13 происходит впротивофазе, т.е. один из них включаетс  на суммирование, а другой на вычитание. Выходы счетчиков 12 и 13 подключаютс  на информационный выход 15 генератора через группу элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 14. С приходом нового импульса по входу 2 Опрос ра35During this time period, the pulses from the generator 7 pulses arrive at the first inputs of the elements AND 8-11, depending on the state of trigger 6, on the summing and subtracting inputs of counters 12 and 13. Moreover, the connection of summing and subtracting inputs of counters 12 and 13 occurs in opposite phase, t. e. one of them is included in the summation, and the other in the subtraction. The outputs of counters 12 and 13 are connected to the information output 15 of the generator through a group of elements EXCLUSIVE OR 14. With the arrival of a new pulse on input 2 Poll time

4040

4545

5050

5555

соединен с выходом источника посто н ного напр жени , отличающий с   тем, что, с целью расширени  функциональных возможностей за счет выравнивани  веро тности по влени  случайных чисел, в него введены гене ратор тактовых импульсов, четыре эле мента И и группа элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, причем выход генератора так товых импульсов соединен с первыми входами элементов И, выход ключа сое динен с выводами питани  первого и второго счетчиков, группа разр дных выходов первого счетчика соединена с первыми входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ группы, выходы которых  вл ютс  информационными выходами генера тора, пр мой выход триггера соединен с вторым входом первого элемента И и с вторым входом второго элемента И, выход которого соединен с вычитающим входом второго счетчика, суммиру ющий вход которого соединен с выходом третьего элемента И, второй вход которого соединен с инверсным выходом триггера и с вторым входом четвертого элемента И, выход которого соединен с вычитающим входом первого счетчика, суммирующий вход которогоconnected to the output of a constant voltage source, distinguished by the fact that, in order to expand functionality by equalizing the probability of occurrence of random numbers, a clock pulse generator, four elements AND, and a group of elements EXCLUSIVE OR, the output of the generator of so-called pulses is connected to the first inputs of the AND elements, the output of the key is connected to the power terminals of the first and second counters, the group of bit outputs of the first counter is connected to the first inputs of the elements EXCLUSIVE OR group The sensor outputs, whose outputs are the information outputs of the generator, direct trigger output is connected to the second input of the first element And and to the second input of the second element And, the output of which is connected to the subtractive input of the second counter, the summing input of which is connected to the output of the third element And, the second input of which is connected to the inverse output of the trigger and to the second input of the fourth element I, the output of which is connected to the subtractive input of the first counter, the summing input of which

00

бота генератора повтор етс  аналогично . Отличие заключаетс  в смене счетчиков 12 и 13. Тот из них, который работал на суммирование, переходит в режим вычитани  и наоборот.The generator bot repeats itself. The difference lies in changing the counters 12 and 13. The one that worked on the summation goes into subtraction mode and vice versa.

Предлагаемый генератор обладает по сравнению с известным положительным эффектом, заключающимс  в получении равномерного распределени  генерируемых чисел с более высокой веро тностью. Применение такого генератора позвол ет проводить более точное моделирование случайных процессов с равно- 5 мерным распределением, а значит, создавать более эффективные измерительные системы.The proposed generator has in comparison with the known positive effect of obtaining a uniform distribution of the generated numbers with a higher probability. The use of such a generator allows for more accurate modeling of random processes with a uniform 5-dimensional distribution, and therefore, to create more efficient measuring systems.

Claims (1)

Формула изобретени  Генератор случайных чисел, содержащий первый и второй счетчики, мультивибратор , триггер, элемент задержки, ключ и источник посто нного напр жени , причем вход опроса генератора  вл етс  входом мультивибратора и соединен с входом элемента задержки, выход которого соединен с тактовым входом триггера, выход мультивибратора соединен с управл ющим входомClaims A random number generator comprising first and second counters, a multivibrator, a trigger, a delay element, a key, and a constant voltage source, the generator polling input being the multivibrator input and connected to the input of the delay element, the output of which is connected to the trigger input of the trigger, the output of the multivibrator is connected to the control input 5five 00 5five 00 5five соединен с выходом источника посто нного напр жени , отличающий- с   тем, что, с целью расширени  функциональных возможностей за счет выравнивани  веро тности по влени  случайных чисел, в него введены генератор тактовых импульсов, четыре элемента И и группа элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, причем выход генератора тактовых импульсов соединен с первыми входами элементов И, выход ключа соединен с выводами питани  первого и второго счетчиков, группа разр дных выходов первого счетчика соединена с первыми входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ группы, выходы которых  вл ютс  информационными выходами генератора , пр мой выход триггера соединен с вторым входом первого элемента И и с вторым входом второго элемента И, выход которого соединен с вычитающим входом второго счетчика, суммирующий вход которого соединен с выходом третьего элемента И, второй вход которого соединен с инверсным выходом триггера и с вторым входом четвертого элемента И, выход которого соединен с вычитающим входом первого счетчика, суммирующий вход которогоconnected to the output of a DC voltage source, characterized in that, in order to expand its functionality by equalizing the probability of occurrence of random numbers, a clock pulse generator, four AND elements, and a group of EXCLUSIVE OR elements, are introduced into it; clock pulses are connected to the first inputs of the AND elements, the key output is connected to the power terminals of the first and second counters, the group of the bit outputs of the first counter is connected to the first inputs of the EXCLUSIVE OR elements The outputs, whose outputs are the information outputs of the generator, the direct output of the trigger is connected to the second input of the first element And and to the second input of the second element And whose output is connected to the subtractive input of the second counter, the summing input of which is connected to the output of the third element And, the second input which is connected to the inverse output of the trigger and to the second input of the fourth element And, the output of which is connected to the subtractive input of the first counter, the summing input of which 5156634651566346 соединен с выходом первого элемента счетчика соединена с вторыми входами И, группа разр дных выходов второго элементов ИСКЛЮЧАЮЩЕЕ ИЛИ группы.connected to the output of the first element of the counter connected to the second inputs AND, the group of bit outputs of the second element EXCLUSIVE OR group.
SU884393097A 1988-03-15 1988-03-15 Random number generator SU1566346A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884393097A SU1566346A1 (en) 1988-03-15 1988-03-15 Random number generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884393097A SU1566346A1 (en) 1988-03-15 1988-03-15 Random number generator

Publications (1)

Publication Number Publication Date
SU1566346A1 true SU1566346A1 (en) 1990-05-23

Family

ID=21361559

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884393097A SU1566346A1 (en) 1988-03-15 1988-03-15 Random number generator

Country Status (1)

Country Link
SU (1) SU1566346A1 (en)

Similar Documents

Publication Publication Date Title
SU1566346A1 (en) Random number generator
US3678252A (en) Pulse analyzer
SU1136158A1 (en) Random process generator
SU886247A1 (en) Functional counter
SU1485223A1 (en) Multichannel data input unit
SU771619A1 (en) Device for tolerance testing
SU919090A1 (en) Device for monitoring operation of counter with potential output
SU1354194A1 (en) Signature analyser
RU1818685C (en) Controlled random-pulse generator
SU463234A1 (en) Device for dividing cycle time into fractional number of intervals
SU692095A1 (en) Binary n-digit pulse counter
SU726536A1 (en) Device for determining the mean period of randomly-distributed pulses
SU1525873A1 (en) Device for shaping pulse train
SU1275762A1 (en) Pulse repetition frequency divider
SU924688A1 (en) Device for forming adjustable time pulse train
SU980258A1 (en) Device for shaping pulse trains
SU1003315A1 (en) Device for control of pulse repetition period
SU1474628A1 (en) Synchrosignal generator
SU942009A1 (en) Device for simulating set of random events
SU1531214A1 (en) Functional counter
SU1084829A1 (en) Model of neutron
SU1688189A1 (en) Digital phasometer
SU1116430A1 (en) Stochastic binary cell
SU1309049A1 (en) Device for differentiating pulse-frequency signals
SU877523A1 (en) Device for finding maximum number out of a group of numbers