SU999144A1 - Random number generator - Google Patents

Random number generator Download PDF

Info

Publication number
SU999144A1
SU999144A1 SU792782134A SU2782134A SU999144A1 SU 999144 A1 SU999144 A1 SU 999144A1 SU 792782134 A SU792782134 A SU 792782134A SU 2782134 A SU2782134 A SU 2782134A SU 999144 A1 SU999144 A1 SU 999144A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
outputs
group
block
random number
Prior art date
Application number
SU792782134A
Other languages
Russian (ru)
Inventor
Валерий Андреевич Песошин
Олег Иосифович Дапин
Валерий Михайлович Кузнецов
Владимир Борисович Матвеев
Ильшат Хуззятович Нуриев
Original Assignee
Казанский Ордена Трудового Красного Знамени Авиационный Институт Им.А.Н.Туполева
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 Казанский Ордена Трудового Красного Знамени Авиационный Институт Им.А.Н.Туполева filed Critical Казанский Ордена Трудового Красного Знамени Авиационный Институт Им.А.Н.Туполева
Priority to SU792782134A priority Critical patent/SU999144A1/en
Application granted granted Critical
Publication of SU999144A1 publication Critical patent/SU999144A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

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

Изобретение относитс  к вычислительной технике и может быть использоаано в стохастических счетно-решаищих и вычислительных устройствах. Известен генератор случайных чисе содержащий датчик случайных чисел, з поминакщее устройство, элементы срав нени , регистры, элементы И, элёменты ИЛИ, счетчики, блок управлени м Однако генератор позвол ет получить коррел ционную- функцию, отличную от дельта-функции, но не позвол ет получить случайные числа с управл еъюй автокоррел ционной функцие Наиболее.близким по технической сущности к изобретению  вл етс  гене ратор случайных чисел содержащий датчики случайных чисел, запоминающее устройство, элементы, сравнг ни , регистры, элементы И, элементы ИЛИ, счетчики, блок управлени , позвол кщий получить случайные последовательности с определенной автокоррел ционной функцией без изменений закона распределени  веро тностей 2 Недостатком генератора  йл ете  т что обладает малой точностью формировани  и ограниченными функциональными возможност ми. . Целью изобретени   вл етс  по1аышение точности и расширение функциональных возможностей путём-генерировани  случайных чисел с управл емой автокоррел ционной функцией. Поставленна  цель достигаетс  тем, что генератор случайных чисел, содержащий датчик случайных чисел, два блока регистров, блок эли ентов сзравнени , запсминаищее устройство и блок управлени , выходы которого соответственно подключены к управл ющим входам датчика случайных чисел, двух блоков регистров и блока элементов сравнени , перва  группа входов которого соединена с разр дными выходами первого блока регистров, введены устройство ввода, многоканальный коррело;; метр и ари етическсте устройство, .выходы которого подключены к первой группе входов запоминающего устройства , втора  группа входов которого подключена к выходам датчика случайных , чисел, в выходы Запоминающего устройства подключены к раз1  дным входам второго блока регистров, выходы которого соединены непосредственно с первой группой входов арифметического устройству и через много канальный коррелометр - с второйThe invention relates to computing and can be used in stochastic computing and computing devices. A random number generator is known which contains a random number sensor, a reminder device, comparison elements, registers, AND elements, OR elements, counters, a control unit. However, the generator allows to obtain a correlation function different from the delta function, but does not allow get random numbers from the control of the autocorrelation function The closest in technical essence to the invention is a random number generator containing random number sensors, a memory device, elements, compare, registers, cients AND, OR elements, counters, control unit allows kschy receive the random sequence of a certain autocorrelation function unchanged probability distribution law disadvantage generator il 2 t ete that has low precision forming and reduced functionality. . The aim of the invention is to increase the accuracy and enhance the functionality by generating random numbers with a controlled autocorrelation function. The goal is achieved by the fact that a random number generator that contains a random number sensor, two blocks of registers, a comparison unit, a device and a control unit, whose outputs are respectively connected to the control inputs of a random number sensor, two blocks of registers and a comparison element block, the first group of inputs of which is connected to the bit outputs of the first block of registers, an input device, a multi-channel correlator, are introduced ;; the meter and the aforementioned device, whose outputs are connected to the first group of memory inputs, the second group of inputs of which are connected to the outputs of a random sensor, numbers, to the outputs of the Memory device are connected to separate inputs of the second block of registers, the outputs of which are connected directly to the first group of inputs an arithmetic unit and a multi-channel correlometer - from the second

группой входов блока элементов сравнени  , перва  группа входов и выходы которого подключены соответственно к второй и третьей группам, входов арифметического устройства, причем дополнительные выходы блока управлени  соединены с управл ющими входами запоминающего устройства, арифметического устройства, многоканального коррелометра и устройства ввода, выходы которого подключены к входам первого блока регистров.a group of inputs of a unit of comparison, the first group of inputs and outputs of which are connected to the second and third groups, respectively, of the inputs of the arithmetic device, and the additional outputs of the control unit are connected to the control inputs of the storage device, the arithmetic device, the multi-channel correlometer and the input device whose outputs are connected to inputs of the first block of registers.

На чертеже представлена функциональна  схема генератора случайных чисел.The drawing shows a functional diagram of a random number generator.

Генератор содерхшт датчик 1 случайных чисел, блок 2 управлени , запоминающее устройство 3, которое построено на принципе ассоциативной пам ти, блоки 4 и 5 регистров, многоканальный коррелометр б, блок 7 элементов сравнени , устройство 8 ввода, арифметическое устройство 9. На чертеже также показаны шины.10, на которые поступают значечи  автокоррел ционной функции, и выходные шины 11.The generator contains a random number sensor 1, a control unit 2, a memory 3, which is built on the principle of associative memory, registers 4 and 5, a multi-channel correlometer b, a comparison elements block 7, an input device 8, an arithmetic unit 9. The drawing also shows tires 10, which receive the values of the autocorrelation function, and output tires 11.

Блок 2 управлени  предназначен дл  управлени  процессом генерировани  случайных чисел в датчике 1 случайных чи ::;ел, выборкой и записью чисел в запоминающее устройство 3 , записью и сдвигом чисел в блоке 4 регистров , записью заданных коэффициентов автокоррел ции в блок 5 регистров , а также дл  управлени  обработкой сигналов, поступающих в арифметическое устройство 9.Control unit 2 is designed to control the process of generating random numbers in sensor 1 random numbers:; ate, sampling and writing numbers to memory 3, writing and shifting numbers in block 4 registers, writing specified autocorrelation coefficients to block 5 registers, and to control the processing of signals entering the arithmetic unit 9.

Запоминающее у&тройство 3 предназначено дл  Записи, хранени  1,уп-разр дных чисел, а также выборки по К-разр дным признакам опроса одного из них. Поискова  К-разр дна  часть каждого числа, записанного в запоминающее устройство 3,  вл етс  одновременно К-старшими раз р дами .умразр дных чисел.The storage memory & 3 is intended for Recording, storing 1, Pack-digit numbers, as well as K-bit sampling samples of one of them. The search K-bit part of each number stored in memory 3 is also K-most significant number of digit numbers.

Запоминающее устройство 3- работает в режиме поиска ближайшего числа.The storage device 3-works in the search mode for the nearest number.

Блок 4 регистров предназначен дл  хранени  (.41) последовательно выбираемых из запоминающего устройства 3 W- разр дных чисел и представл ет собой УМ сдвиговых регистров каждый длиной .4 1) разр д. Шлходы (.4 1) разр да каждого сдвигового регистра  вл ютс  выходом генератора .Register block 4 is designed to store (.41) 3 W-bit numbers sequentially selected from a memory device and is a MIND shift registers each of .4 length 1) bit. Sloxes (.4 1) bit each shift register are generator output.

Блок 5 регистров предназначен дл  хранени  С чисел, каждое из которых. соответствует Задаваемым коэффициентам автокоррел ции.The register block 5 is intended to store C numbers, each of which. corresponds to the specified autocorrelation coefficients.

Многоканальный коррелометр б предназначен дл  измерени  коэффициентов автокоррел ции последовательности чисел, выбираемых из запоминающего устройства 3.The multi-channel correlometer b is designed to measure the autocorrelation coefficients of a sequence of numbers selected from memory 3.

Блок 7 элементов сравнени  срав- . нивает измеренные коэффициенты автокоррел ции с заданными.Block 7 Comparison Elements Comp. The measured autocorrelation coefficients are given with specified values.

Устройство 8 ввода предназначено дл  записи в блок 5 регистров заданных коэффициентов автокоррел ции.The input device 8 is intended for writing registers of specified autocorrelation coefficients into block 5.

Арифметическое устройство 9 реализует алгоритм экстраполировани  стационарных случайных процессов согласно заданной автокоррел ционной функции с сохранением одномерного закона распределени  исходного случайного процесса. , Генератор работает следующим образом . .The arithmetic unit 9 implements an algorithm for extrapolating stationary random processes according to a given autocorrelation function while maintaining the one-dimensional distribution law of the original random process. The generator works as follows. .

С датчика 1 исходна  случайна  последовательность поступает в запоминающее устройство 3, заполн ет его и блок.4 регистров. Сдвинутые по времени значени  последовательности X с блока 4 поступа1эт на входы многоканального коррелометра б, который выходит на режим измерени  текущих значений к; / KjJC ,,.., Kg. В блоке 7 происходит сравнение значений К , К ,.,.,К и K... , К , поступающих соответственно с блоков 5 и 6 и формирование разностных сигналов Дд , А, ,,, Леи Zp, ,2 г .- .Арифметическое устройство 9, использу  значени  предистории х , х., ..) xg, (хбХ) от блока 4, зад:1нные значени  автокоррел ционной функции от блока 5 с учетом разностных сигналов от блока 7 формирует последовательность сигналов опроса X соторые поступают в свою Очередь па в;1од признаков опроса запоминакицего устройства З.На выходе которого по вл ютс  числа выходной последовательности ,каждое из которых есть число исходной последовательности от датчика 1 и минимально отличаетс  от соответствующего числа последовательности X.From the sensor 1, the initial random sequence enters the memory 3, fills it and the block 4 of registers. Time-shifted values of the sequence X from block 4 arrive at the inputs of the multichannel correlometer b, which goes to the measurement mode of the current values of k; / KjJC ,, .., Kg. In block 7, the values of K, K,.,., K and K ..., K are received, arriving respectively from blocks 5 and 6, and the formation of difference signals Dd, A, ,, ,, Lei Zp,, 2 g .-. Arithmetic unit 9, using the values of prehistory x, x., ..) xg, (hbH) from block 4, ass: 1nn values of the autocorrelation function from block 5 taking into account the difference signals from block 7 forms a sequence of polling signals X which enter into their The queue of steps in; 1 of the polling signs of the memory device Z. At the output of which the numbers of the output sequence appear, each The one of which is the number of the original sequence from sensor 1 and is minimally different from the corresponding number of the sequence X.

Благодар  такой организации работы блоков устройства значени  автокоррел ционной функции выходной последовательности X Кр, К, ц , , Kg практически не отличаетс  от значений Кр, К, .,, , Kg.Due to this organization of operation of the device blocks, the values of the autocorrelation function of the output sequence X Kp, K, n,, Kg are almost the same as the values of Kp, K,.

Контур обратной св зи запоминающего устройства 3 и блока 4, образованный коррелометром 6, блоком 7 и арифметическим устройством 9, позвол ет осуществить принцип автоматического регулировани . Дл  этого необходимо так использовать разностные сигналы АО, Д, .уЛ , чтобы э-та обратна  св зь была отрицательной.The feedback loop of the memory device 3 and the block 4, formed by the correlometer 6, the block 7 and the arithmetic unit 9, makes it possible to realize the principle of automatic control. For this, it is necessary to use differential signals AO, D, .UL so that feedback is negative.

Claims (2)

Таким образом, предлагаемый генератор позвол ет сформировать любые наперед заданные функции автокоррел ции (которые могут существовать дл  данного закона распределени ) и мо5кет формировать не только стационарные .случайные последовательности с определенно заданной автокоррел цирнной функцией, но и нестационарные по автокоррел ции случайные последовательности . Формула изобретени  Генератор случайных чисел, содержащий датчик сл гчайных чисел, два б о1са регистров, блок элементов сравнени , запоминающее устройство и блок управлени , виходы которого соответственно подключены к управл ющим входам датчика случайных чисел, двух блоков регистров и блока элементов сравнени , перва  группа входов которого соединена с разр дными выходами первого блока регистров, отличающийс  тем, что, с целью повышени  точности и расширени  Функциона льных возможностей, в него введены устройство ввода, многоканальный кор релометр и арифметическое устройство, выходы которого подключены к первой группе входов запоминающего устройства , втора  группа входов которого подключена к выходам датчика случайных чисел, а выходы запоминающегоThus, the proposed generator makes it possible to form any preassigned autocorrelation functions (which may exist for a given distribution law) and it is possible to form not only stationary random sequences with a definite autocorrelate cirrhotic function, but also random sequences that are unsteady by autocorrelation. Claims A random number generator comprising a slot number sensor, two register bins, a comparison unit, a memory and a control unit, the inputs of which are respectively connected to the control inputs of the random number sensor, two register units and a comparison unit, the first group of inputs which is connected to the bit outputs of the first block of registers, characterized in that, in order to increase the accuracy and expand the functional capabilities, an input device, a multichannel, is introduced into it relometr first armature and an arithmetic unit which outputs are connected to the first group of memory inputs, a second set of inputs of which is connected to the outputs of the random number, and the outputs of the memory : fi: fi устройства: подключены к разр дным входгм второго блока регистров,выхо-. ды которого соединены непосредственно с первой группой входов арифметического устройства,и через многоканальный коррелометр - с второй группой входов блока элементов сравнени , перва  группа входов и выходы которого подключены соответственно к второй и третьей группамвходов арифметического устройства,причем дополнительные выходы блока управлени  соединены с управл ющими входами эапоминакхчего устройства,арифметического устройства ,многоканального коррелометра и . . устройства ввода,выходы которого . ключены к входам первого блока регистров . Источники информации, прин тые во виимание при экспертизе 1.Авторскоесвидетельство СССР 370601, кл. G 06 F 1/02. devices: connected to the bit inputs of the second block of registers, output-. The ports of which are connected directly to the first group of inputs of the arithmetic unit, and through a multi-channel correlometer to the second group of inputs of the unit of comparison elements, the first group of inputs and outputs of which are connected respectively to the second and third groups of inputs of the arithmetic unit, and the additional outputs of the control unit are connected to the control inputs an e-memo device, an arithmetic unit, a multi-channel correlometer, and. . input devices whose outputs. The keys are to the inputs of the first register block. Sources of information taken for review during the examination 1. Authorship certificate of the USSR 370601, cl. G 06 F 1/02. 2.Авторское свидетельство СССР 516042, кл. G 06 F 15/96.2. Authors certificate of the USSR 516042, cl. G 06 F 15/96.
SU792782134A 1979-06-20 1979-06-20 Random number generator SU999144A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792782134A SU999144A1 (en) 1979-06-20 1979-06-20 Random number generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792782134A SU999144A1 (en) 1979-06-20 1979-06-20 Random number generator

Publications (1)

Publication Number Publication Date
SU999144A1 true SU999144A1 (en) 1983-02-23

Family

ID=20834630

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792782134A SU999144A1 (en) 1979-06-20 1979-06-20 Random number generator

Country Status (1)

Country Link
SU (1) SU999144A1 (en)

Similar Documents

Publication Publication Date Title
KR100220672B1 (en) Time interval measurer having parallel architecture
SU999144A1 (en) Random number generator
US4610257A (en) Pulse measurement system
SU773449A1 (en) Apparatus for measuring temperature
SU962978A1 (en) Device for determining random process characteristics
SU984028A1 (en) Extremum searching device
SU659985A1 (en) Phase difference measuring arrangement
SU1515034A1 (en) Apparatus for monitoring length of moving continuous material
SU954885A1 (en) Device for measuring frequency
SU705457A1 (en) Probability correlometer
SU1641987A2 (en) Device for determining phase transition of heat carrier in injection wells
SU1688135A1 (en) A method of estimating indication of heat inertia in thermal converter frequency and device therefor
SU860043A1 (en) Information retrival device
SU1444810A1 (en) Device for ranging signals
SU1642479A1 (en) Device of determination of random-process characteristics
SU851117A1 (en) Device for measuring temperature
SU900189A2 (en) Corelation meter of speed
SU586477A1 (en) Arrangement for recording information
SU809612A1 (en) Device for detecting dephasing at transmitting test m-sequence sustems with feedback
SU920740A2 (en) Multichannel device for selecting average quantity minimum value
SU832564A1 (en) Sign correlometer
SU822037A1 (en) Correlation speed meter
SU926604A1 (en) Digital phase meter
SU917003A1 (en) Device for measuring temperature difference
SU1012049A1 (en) Device for measuring thermal converter transfer function coefficients