SU556471A1 - Controlled Random Number Generator - Google Patents

Controlled Random Number Generator

Info

Publication number
SU556471A1
SU556471A1 SU2065201A SU2065201A SU556471A1 SU 556471 A1 SU556471 A1 SU 556471A1 SU 2065201 A SU2065201 A SU 2065201A SU 2065201 A SU2065201 A SU 2065201A SU 556471 A1 SU556471 A1 SU 556471A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
pulses
input
random
pulse
Prior art date
Application number
SU2065201A
Other languages
Russian (ru)
Inventor
Зиновий Лазаревич Шапиро
Вячеслав Николаевич Гаврилов
Эдуард Чарльзович Сейдак
Original Assignee
Предприятие П/Я М-5973
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 Предприятие П/Я М-5973 filed Critical Предприятие П/Я М-5973
Priority to SU2065201A priority Critical patent/SU556471A1/en
Application granted granted Critical
Publication of SU556471A1 publication Critical patent/SU556471A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

1one

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при исследовании устройств и систем автоматического управлени  на физических модел х и аналого1вых вычислительных машинах с учетом случайных возмущений.The invention relates to automation and computer technology and can be used in the study of devices and automatic control systems on physical models and analog computers in the light of random disturbances.

Известны генораторы -случайных чисел, основанные «а нересчете случайных импульсов за фнксированный интервал времени. Один из известных генераторов случайных чисел сод&ржит источник случайного потока имлульсов , ключ, счетчик, регистр пам ти, источник регул рных импульсов.Generators are known - random numbers based on non-counting random pulses over a fixed time interval. One of the known random number generators sod & s is the source of a random stream of pulses, a key, a counter, a memory register, a source of regular pulses.

Основным недостатком этото генератО|ра  вл етс  то, что он не позвол ет воспроизводить задаваемые закОПЫ распределени  случайных чисел.The main disadvantage of this generator is that it does not allow reproducing the specified codes of the distribution of random numbers.

Наиболее близким техническим рен1ением к изобретению  вл етс  ге-иератор случайных чисел, содержащий первичный источник случайных импульсов, выход которого через блок формировани  подключен к первому входу элемента И, распределитель импульсов, вход которого соединен с выходом блока управлени , матричный переключатель, выход которого  вл етс  выходом генератора.The closest technical to the invention is a random number generator that contains a primary source of random pulses, the output of which is connected to the first input of the element I through the generating unit, the pulse distributor whose input is connected to the output of the control unit, the matrix switch whose output is generator output.

Недостаточные стабильность и точность такого генератора объ сн ютс  наличием амплитудного селектора, выполн емого на пороговых устройствах, чувствительных к внешним возмущени м.The lack of stability and accuracy of such a generator is explained by the presence of an amplitude selector performed on threshold devices sensitive to external disturbances.

Цель изобретени  - повышение стабильности и точности генератора.The purpose of the invention is to increase the stability and accuracy of the generator.

Дл  этого предлагаемый генератор дополнительно содержит последовательно включенные между выходом элемента И и входом матричного переключател  счетчик, регистр пам ти и дешифратор, при этом второй входFor this, the proposed generator additionally comprises a counter, a memory register and a decoder, sequentially connected between the output of the element AND and the input of the matrix switch, with the second input

элемента И соединен с выходом элемента -пам ти , первый вход -которого соединен с четвертым выходом распределител  импульсов, первый, второй и третий выходы которого соответственно соединены с вторыми входамиelement And is connected to the output of the element-tam, the first input of which is connected to the fourth output of the pulse distributor, the first, second and third outputs of which are respectively connected to the second inputs

элемента иам ти, регистра пам ти и счетчика .element iam ti, memory register and counter.

На фиг. 1 изображена структурна  схема предлагаемого генератора случайных чисел; на фиг. 2 - временна  диаграм-ма работы генератора .FIG. 1 shows the structural scheme of the proposed random number generator; in fig. 2 - time diagram of the generator.

Claims (2)

Устройство включает в себ  -последов-ательно -соединенные первичный источник 1 случайных импульсов, блок формировани  2, элемент И 3, счетчик 4, регистр пам ти 5, дешифратор 6 и матричный пере-ключатель 7. Второй вход элемента И соединен с выходом элемента пам ти 8, первый вход которого .присоединен к четвертому выходу распределител  импульсов 9, первый, второй и третий выходы которого соответственно присоединены к вторым входам элеме;нта пам ти 8, .регистра пам ти 5 и счетчика 4. Вход распределител  импульсов соединен с выходом блока уцравлени  10. Принцип действи  управл емого генератора случайных чисел основан «а получении случайных чисел с -нормированными веро тност ми по влени  путем пересчета случайных по моментам по влени  импульсов (в данном случае стационарного пуассоновского потока импульсов (на фиксированный интервал времени А/ ТСЧРабота генератора по сн етс  на временной диаграмме, где: f/i - случайна  последовательность импульсов на выходе блока формировани  2, f/2 - регул рна  последовательность импульсов на выходе элемента пам ти 8, f/3 - регул рна  последовательность импульсов на выходе блока управлени  10, t/4, f/s, 6, f/7 - регул рные последовательности импульсов соответственно на первом, втором, третьем и четвертом выходах распределител  импульсов 9. tc4 - длительность импульса счета Uz. Т - период импульсов UzГенератор работает следующим образом. Стационарный луаосоновскпй поток импульсов , случайных по амплитуде и времени по влени , генерируемый первичным источником 1 случайных импульсов, поступает на вход блока формировани  The device includes -sequentially -connected primary source 1 random pulses, a shaping unit 2, an AND 3 element, a counter 4, a memory register 5, a decoder 6, and a matrix switch 7. The second input of the AND element is connected to the output of the memory element 8, the first input of which is connected to the fourth output of the pulse distributor 9, the first, second and third outputs of which are respectively connected to the second inputs of the element; memory 8, the memory register 5 and the counter 4. The input of the pulse distributor is connected to the output of the unit managed and 10. The principle of operation of a controlled random number generator is based on obtaining random numbers with normalized probabilities of occurrence by recalculating the random in terms of the occurrence of pulses (in this case, the stationary Poisson flow of pulses (for a fixed time interval removed on the timing diagram, where: f / i is a random sequence of pulses at the output of the forming unit 2, f / 2 is a regular sequence of pulses at the output of the memory element 8, f / 3 is a regular sequence The pulses at the output of the control unit 10, t / 4, f / s, 6, f / 7 are regular sequences of pulses on the first, second, third and fourth impulse distributor 9, respectively. tc4 is the counting pulse Uz. T - period pulses UzGenerator works as follows. The stationary luosonovpik stream of pulses, random in amplitude and time of occurrence, generated by the primary source 1 of random pulses, is fed to the input of the forming unit 2. На выходе блока формировани  получаетс  случайна  последовательность f/i однопол рных пр моугольных импульсов фиксированной амплитуды, но случайных по моментам по влени  с пуассоновским законом распределени . В случае наличи  сигнала Uz на втором входе элемента И 3 (поступает с выхода элемента пам ти 8) импульсы Ui, проход  через элемент И, поступают на первый вход счетчика 4. Счетчик 4 пересчитывает случайное число импульсов, поступающее на его вход за период считывани  тсч. Длительность периода считывани   вл етс  величиной фпксированной и определ етс  периодом управл ющих импульсов f/з блока управлени  10, запускающих распределитель импульсов 9. С четвертого выхода распределител  импульсов 9 поступает разрешающий сигнал Uj на первый вход элемента пам ти 8. По заднему фронту U-; начинаетс  импульс f/2 на выходе элемента пам ти 8. Задний фронт f/2 определ етс  передним фронтом запрещающего импульса U. Полученное на счетчике 4 по окончании тсч случайное число списываетс  и фиксируетс  регистром пам ти 5. После списывани  числа импульс Ue, поступающий на вход (второй) счетчика 4 с третьего выхода распределител  импульсов 9, возвращает счетчик в исходное ( нулевое) положение и с приходом очередного импульса t/2 счет повтор етс . С определенным периодом Т в регистре пам ти 5 будут фиксироватьс  случайиые числа . Обнуление регистра пам ти 5 осуществл етс  импульсом и, поступающим «а второй вход регистра пам ти 5 с второго выхода распределител  импульсов 9. Если количество двоичпых разр дов регистра пам ти п, то максимальное число, фиксируемое им, . Веро т1ность по влени  того или иного числа М за врем  Точ находитс  строго по формуле . ,- /лл - e-(M 0,l,2,...,N), где а - математическое ожидание числа импульсов Ui на интервале Тсч, равное f4 ). с/) dt - Хтд,, так как X const, о где X - плотность потока импульсов (среднее число импульсов, приход щеес  на единицу -времени). Дещифратор 6 преобразует код двоичного числа, зафиксированного в регистре пам ти 5, в выходной сигнал, снимаемый с соответствующей выходной шины. Таким образом, получаем Л случайных чисел , веро тность по влени  каждого из которых известна. Задаваемые законы распределени  случайной величины набираютс  на матричном nf реключателе 7, выход которого  вл етс  в.ходом устройства. Формула изобретени  Управл емый генератор случайных чисел, содержащий первичный источник случайных импульсов, выход которого через блок формировани  подключен к первому входу элемента И, распределитель импульсов, вход которого соединен с выходом олока управлени , матричный переключатель, выход которого  вл етс  выходом генератора, отличающийс  тем, что, с целью повышени  точности , генератор дополнительно содержит последовательно включенные между выходом элемента И и входом матричного переключател  счетчик, регистр пам ти и дешифратор, при этом второй вход элемента И соединен с выходом элемента пам ти, первый вход котоого соединен с четвертым выходом распределител  импульсов, первый, второй и третий ыходы которого соответственно соединены с вторыми входами элемента пам ти, регистра ам ти и счетчика.2. At the output of the forming unit, a random sequence of f / i of unipolar rectangular pulses of a fixed amplitude is obtained, but random in the instants of occurrence with the Poisson distribution. In the case of the presence of a signal Uz at the second input of the element I 3 (arrives from the output of the memory element 8), the pulses Ui pass through the element I and arrive at the first input of the counter 4. Counter 4 recalculates the random number of pulses arriving at its input during the readout period tsch . The duration of the readout period is the fpx value and is determined by the control pulses period f / 3 of the control unit 10, which triggers the pulse distributor 9. The fourth output of the pulse distributor 9 receives the enable signal Uj to the first input of the memory element 8. The trailing edge U-; a pulse f / 2 starts at the output of memory element 8. The trailing edge of f / 2 is determined by the leading edge of the inhibit pulse U. The random number received at counter 4 at the end of the msh is written off and recorded by memory register 5. After the number is written off, the pulse Ue arriving at the input (second) of counter 4 from the third output of pulse distributor 9 returns the counter to the initial (zero) position and with the arrival of the next pulse t / 2, the count is repeated. With a certain period T, random numbers will be fixed in memory register 5. The resetting of the memory register 5 is effected by a pulse and arriving at the second input of the memory register 5 from the second output of the pulse distributor 9. If the number of binary bits of the memory register is n, then the maximum number fixed by it is. The probability of occurrence of one or another number M in the time of Toch is strictly according to the formula. , - / ll - e- (M 0, l, 2, ..., N), where a is the mathematical expectation of the number of pulses Ui on the interval Tf, equal to f4). с /) dt - Хтд ,, since X is the const, o where X is the pulse flux density (the average number of pulses per unit is the time). The decipheror 6 converts the code of the binary number fixed in memory register 5 into the output signal taken from the corresponding output bus. Thus, we obtain L random numbers, the probability of occurrence of each of which is known. The prescribed random distribution laws are dialed on the matrix nf switch 7, the output of which is the input of the device. Claims of the Invention A controlled random number generator containing a primary source of random pulses, the output of which is connected to the first input of the element I through the shaping unit, a pulse distributor whose input is connected to the control output of the control, a matrix switch whose output is the output of the generator, that, in order to increase accuracy, the generator additionally contains a counter, a memory register and a decryption between the output of the element And and the input of the matrix switch ator, the second input of AND gate connected to the output of memory element having a first input coupled to Koto fourth output pulse distributor, a first, second and third Exit which are respectively connected to second inputs of the memory element, and the register Am minute counter.
SU2065201A 1974-10-07 1974-10-07 Controlled Random Number Generator SU556471A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU2065201A SU556471A1 (en) 1974-10-07 1974-10-07 Controlled Random Number Generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU2065201A SU556471A1 (en) 1974-10-07 1974-10-07 Controlled Random Number Generator

Publications (1)

Publication Number Publication Date
SU556471A1 true SU556471A1 (en) 1977-04-30

Family

ID=20597669

Family Applications (1)

Application Number Title Priority Date Filing Date
SU2065201A SU556471A1 (en) 1974-10-07 1974-10-07 Controlled Random Number Generator

Country Status (1)

Country Link
SU (1) SU556471A1 (en)

Similar Documents

Publication Publication Date Title
SU556471A1 (en) Controlled Random Number Generator
SU448592A1 (en) Device for generating constant weight code
SU378854A1 (en) DIGITAL SENSOR NORMALLY DISTRIBUTED NUMBERS
SU417782A1 (en)
SU1543401A1 (en) Digital function generator
SU783975A1 (en) Device for decoding pulse trains
SU1591010A1 (en) Digital integrator
SU1101804A1 (en) Stochastic walsh function generator
SU552609A1 (en) Asynchronous parity device
SU434369A1 (en) INTERVAL TIME CONVERTER TO DIGITAL CODE
SU437079A1 (en) Device for multiplying probability functions
SU389625A1 (en) DEVICE FOR THE FORMATION OF A TEMPORARY INTERVAL
SU447711A1 (en) Device for decoding a pulse code
RU2025770C1 (en) Walsh function generator
SU1338019A1 (en) Random-flow pulse generator
RU1789985C (en) Analog signals identificator
SU445144A1 (en) Binary to time converter
SU1716508A1 (en) Generator of pulses with random duration
SU1068920A1 (en) Walsh function generator
SU1420648A1 (en) Shaper of pulse trains
SU1510099A1 (en) Series-to-parallel conde converter
SU866736A1 (en) Coded time interval desoder
SU922765A1 (en) Device for determining probability distribution laws
SU1001114A1 (en) Computing device
SU452827A1 (en) Device for comparing binary numbers