SU1229760A1 - Random number generator - Google Patents
Random number generator Download PDFInfo
- Publication number
- SU1229760A1 SU1229760A1 SU843797331A SU3797331A SU1229760A1 SU 1229760 A1 SU1229760 A1 SU 1229760A1 SU 843797331 A SU843797331 A SU 843797331A SU 3797331 A SU3797331 A SU 3797331A SU 1229760 A1 SU1229760 A1 SU 1229760A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- counter
- inputs
- sensor
- Prior art date
Links
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
Description
Изобретение относитс к вычислительной технике и использовать с дл формировани последовательное тей равноверо тных многоразр дных случайных чисел.The invention relates to computing and is used to form a series of equally multi-digit random numbers.
Цель изобретени расширение функциональных возможностей датчика случаймзЕх чисел за счет задани требуемого количества формируемых чисел из допустимого подмножества,The purpose of the invention is to extend the functionality of the sensor of random numbers by setting the required number of generated numbers from a valid subset,
Ка фиг,1 приведена блок-схема, на фиг.2 - схема анализатора кодов.KA of FIG. 1 is a block diagram; FIG. 2 is a diagram of a code analyzer.
Датчик содержит генератор 1 импульсов , элемент ЗАПРЕТ 2, рекуррент ньй регистр 3 сдвига, группу элементов И 4, анализатор 5 кодов, элемент И б, триггер 7, генератор 8 импульсов , 9 сравнени , счетчик 10, регистр 11 кода.The sensor contains a pulse generator 1, a prohibition element 2, a recurrent ny shift register 3, a group of elements 4, an analyzer 5 codes, an element b, trigger 7, a generator 8 pulses, 9 comparisons, a counter 10, a register 11 codes.
Анализатор 5 кода содержит генера тор 12 импульсов, элемент И 13, счет чик 14 адреса, блок 15 пам ти, схему 16 сравнени .The code analyzer 5 contains a generator of 12 pulses, an AND 13 element, an address counter 14, a memory block 15, a comparison circuit 16.
Датчик случайных чисел работает следующим образом.The random number sensor works as follows.
В исходном состо нии триггер 7 сброшен, запреща прохождение сигналов Опрос с выхода генератора 8 через элемент И 6, сигналы с выхода генератора 1 через ЗАПРЕТ 2 мен ют состо ние рекуррентного регистра 3 сдвига, образу на его выходах последовательность случайных чисел, группа элементов И А и элемент И 13 анализатора 5 кодов закрыты управл ющим сигналом с выхода элемента И 6, счетчик 10 обнулен, на регистре 11 установлен код заданного количества случайных чисел из допустимых подмножеств, счетчик 14 адреса анализатора 5 кодов обнулен, в блоке 15 пам ти анализатора 5 кодов записано разрешенное подмножество случайных чисел, С приходом на вход датчика сигнала Опрос триггер 7 перебрасьшаетс , при этом высокий потенциал на его выходе открывает элемент И 6, разреша прохождение сигналов Опрос с выхода генератора 8 на первые входы группы элементов И 4, на вход элемента И 13 анализатора 5 и на инверсный вход элемента ЗАПРЕТ 2, блокиру тактовые импульсы- генератора 1 на врем , равное длительности сигнала.Опрос, зафиксировав, таким образом, в рекуррентном регистре 3 сдвига последнюю установившуюс на его выходах кодовую комбинацию. Генератор 8 пред2297602In the initial state, the trigger 7 is reset, prohibiting the passage of signals Poll from the output of the generator 8 through the element 6, the signals from the output of the generator 1 through the prohibition 2 change the state of the recurrent shift register 3, forming a sequence of random numbers at its outputs and element 13 of the analyzer 5 codes are closed by a control signal from the output of the element 6, counter 10 is reset, register 11 is set to a code of a specified number of random numbers from valid subsets, counter 14 addresses of the analyzer 5 codes are reset to zero The analyzer’s 5 code analyzer recorded the allowed subset of random numbers. When the signal sensor arrives at the sensor input, Poll trigger 7 is reset, and the high potential at its output opens element 6, allowing signals to pass. Interrogation from generator 8 output to the first inputs of element group 4, the input element And 13 of the analyzer 5 and the inverse input of the element BANGE 2, blocking the clock pulses of the generator 1 for a time equal to the duration of the signal. The survey, thus fixing in the recurrent shift register 3, the last the code combination that appeared on its outputs. Generator 8 Prev 2297602
ставл ет собой генератор импульсов Опрос, длительность () которых определ етс выражениемis a polling pulse generator whose duration () is determined by the expression
NN
-1 . . ,- L. - 1„ . .(1) -one . . , - L. - 1 „. .(one)
X,X,
00
00
где - частота следовани импульсов генератора 1; врем срабатывани элемен ,та ЗАПРЕТ 2, элемента И 6,where is the pulse frequency of the generator 1; the response time of the element, the prohibition of 2, the element And 6,
счетчика 10j N - разр дность рекуррентногоcounter 10j N - the size of the recurrent
регистра 3 сдвига. Схема 16 сравнени анализатора 5register 3 shift. Scheme 16 Comparison Analyzer 5
,. кодов по каждому сигналу Опрос, codes for each signal Poll
производит сравнение последней установившейс на выходе рекуррентного регистра 3 сдвига кодовой комбинации с ка сдой из кодовых комбинаций разрешенного подмножества, записанного в блоке 15 пам ти. Выборку каждой комбинации из блока 15 пам ти осуществл ют генератор 12 импульсов, элемент И 13 и счетчик 14 адреса.compares the last established at the output of the recurrent register 3 shift code combination with each of the code combinations of the allowed subset recorded in memory block 15. Each combination of memory block 15 is sampled by a pulse generator 12, AND 13 and an address counter 14.
ij Разр дность последнего выбрана равной разр дности рекуррентного регистра 3 сдвига, что соответствует максимуму кодовьпс комбинаций, генерируемых датчиком. Частота следовани тактовьгх импульсов генератора 12 дл перебора всех адресов блока 15 пам ти по каждому сигналу опроса легко выбираетс на основании неравенства (1). Если кодова комбинаци входит в разрешенное подмножество случайныхij The length of the latter is chosen equal to the width of the recurrent shift register 3, which corresponds to the maximum coding combinations generated by the sensor. The frequency of the clock pulses of the generator 12 for searching all the addresses of the memory block 15 for each polling signal is easily selected based on inequality (1). If the code combination is included in the allowed subset of random
- чисел, схема 16 сравнени вырабатьша- ет сигн;ал на вторые входы группы элементов И 4 и кодова комбинаци счи- тьшаетс с выхода датчика случайных чисел Одновременно содержимое счетчика 10 увеличиваетс на единицу, фиксиру таким образом вьщачу каждой разрешенной кодовой комбинации, а в схеме 9 сравнени осуществл етс сравнение текущего состо ни счетчика 10 с заданным регистром 11 кодом количества случайных чисел,- numbers, the comparison circuit 16 generates a signal; the second inputs of the group of elements 4 and the code combination are calculated from the output of the random number sensor. At the same time, the contents of counter 10 are incremented by one, thus fixing each allowed code combination, and 9 comparisons compares the current state of the counter 10 with the number of random numbers specified by the register 11,
Б момент равенства этих значений блок 9 сравнени выдает сигнал сброса триггера 7, определ тем самым завершение вьщачи датчиком заданного количества сл5гчайных чисел из допус- THMbDC подмножеств, возвраща схему датчика в исходное состо ние до прихода следующего сигнала Опрос. Ес ли зафиксированна регистром кодова комбинаци не йходит в разрешенное подмножество, схема 16 сравнени анализатора 5 блокирует вьщачу за0The moment of equality of these values, the comparison block 9 generates a reset signal for trigger 7, thereby determining the completion of the sensor with a predetermined number of slips from the permissible THMbDC subsets, returning the sensor circuit to the initial state before the next Polling signal arrives. If the code combination recorded by the register does not fit into the allowed subset, the comparison circuit 16 of the analyzer 5 blocks the transfer
5five
00
33
прещенной кодовой комбинации до прихода следующего сигнала Опрос, совпадающего по времени с установившейс в регистре -3 сдвига разрешенной кодо вой комбинацией,the code sequence until the next signal is received The interrogation coinciding in time with the allowed code combination established in the -3 shift register,
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843797331A SU1229760A1 (en) | 1984-10-04 | 1984-10-04 | Random number generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843797331A SU1229760A1 (en) | 1984-10-04 | 1984-10-04 | Random number generator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1229760A1 true SU1229760A1 (en) | 1986-05-07 |
Family
ID=21140993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843797331A SU1229760A1 (en) | 1984-10-04 | 1984-10-04 | Random number generator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1229760A1 (en) |
-
1984
- 1984-10-04 SU SU843797331A patent/SU1229760A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1229760A1 (en) | Random number generator | |
SU1483622A2 (en) | Switch | |
RU2097820C1 (en) | Programmable timer | |
SU383042A1 (en) | FORMER OF CODE COMBINATIONS | |
SU799119A1 (en) | Discriminator of signal time position | |
SU1091227A1 (en) | Device for checking primary storage | |
SU1437974A1 (en) | Generator of pseudorandom sequences | |
SU552629A1 (en) | Random number sensor | |
SU1359884A2 (en) | Square-wave generator | |
SU1327100A2 (en) | Random-number generator | |
SU1531196A1 (en) | Time relay | |
SU1084813A1 (en) | Device for automatic checking of random number generator | |
SU440777A1 (en) | Random Pulse Generator | |
SU1487153A1 (en) | Pseudorandom number generator | |
SU445144A1 (en) | Binary to time converter | |
SU771891A2 (en) | Discrete matched filter | |
SU1270879A1 (en) | Multichannel programmable pulse generator | |
SU1101825A1 (en) | Device for checking logic units | |
SU1205164A1 (en) | Device for scanning channels of telemetric system and unit for determining its scanning rate | |
SU516036A1 (en) | Ring Type Binary Coder | |
SU714638A2 (en) | Pulse delay device | |
SU1522409A1 (en) | Decoder | |
SU1311008A1 (en) | Tuneable selector of pulse sequences | |
SU1492362A2 (en) | Adaptive telemetric system switch | |
SU1338020A1 (en) | M-sequence generator |