SU1721799A2 - Evenly distributed pseudorandom number generator - Google Patents

Evenly distributed pseudorandom number generator Download PDF

Info

Publication number
SU1721799A2
SU1721799A2 SU904801948A SU4801948A SU1721799A2 SU 1721799 A2 SU1721799 A2 SU 1721799A2 SU 904801948 A SU904801948 A SU 904801948A SU 4801948 A SU4801948 A SU 4801948A SU 1721799 A2 SU1721799 A2 SU 1721799A2
Authority
SU
USSR - Soviet Union
Prior art keywords
generator
block
elements
pulses
group
Prior art date
Application number
SU904801948A
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 SU904801948A priority Critical patent/SU1721799A2/en
Application granted granted Critical
Publication of SU1721799A2 publication Critical patent/SU1721799A2/en

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

Изобретение относитс  к импульсной технике. Цель изобретений - повышение точности формировани  закона распределени . Дл  этого в генератор равномерно распределенных псевдослучайных величин введены элемент 16 задержки, датчики 17 и 20 случайных чисел, формирователь 18 поправок , сумматор 19 с соответствующими функциональными св з ми, обеспечивающие добавление к формируемым величинам координат случайных поправок, повышающих точность формировани  закона распределени  формируемых координат. Имеютс  также генераторы 1 и 3 запускающих импульсов , элементы 2,7 и 13 задержки, элемент ИЛИ 4, триггер 5, генератор 6тактовых импульсов, счетчик 8 импульсов, группа 9 элементов И,блок 10 регистров пам ти, блок 11 из N групп по N элементов И в группе, блок 12 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, блок 14 сравнени , регистр 15 пам ти. 1 ил.The invention relates to a pulse technique. The purpose of the inventions is to improve the accuracy of the formation of the distribution law. To do this, a delay element 16, random number sensors 17 and 20, an amendment generator 18, an adder 19 with corresponding functional connections are introduced into a generator of uniformly distributed pseudo-random variables, which add random corrections to the generated coordinate values that increase the accuracy of the formation of the distribution law of the generated coordinates. There are also generators 1 and 3 trigger pulses, delay elements 2.7 and 13, element OR 4, trigger 5, generator of 6-stroke pulses, counter 8 pulses, group 9 of elements AND, block 10 of memory registers, block 11 of N groups of N elements And in a group, a block of 12 elements EXCLUSIVE OR, a block 14 of comparison, register 15 of memory. 1 il.

Description

ЁYo

LJ-:n .LJ-: n.

LmJTLmjt

VIVI

ГОGO

V4 Ч) «ОV4 ch) “o

юYu

Изобретение относитс  к импульсной технике.The invention relates to a pulse technique.

Цель изобретени  - повышение точности формировани  закона распределени .The purpose of the invention is to improve the accuracy of the formation of the law of distribution.

На чертеже представлена электриче- ека  структурна  схема генератора равномерно распределенных псевдослучайных величин.The drawing shows an electric system structural diagram of a generator of uniformly distributed pseudorandom variables.

Генератор равномерно распределенных псевдослучайных величин содержит по- следовательно соединенные первый генератор 1 запускающих импульсов и первый элемент 2 задержки, последовательно соединенные второй генератор 3 запускающих импульсов, элемент ИЛИ 4, триггер 5 и генератор 6 тактовых импульсов, второй элемент 7 задержки, выход которого соединен с другим входом элемента ИЛИ 4, последовательно соединенные счетчик 8 импульсов и группу 9 элементов И, блок 10 регистров пам ти, выходы которого соединены с входами блока 11 из N групп по N элементов И в группе, выход которого соединен с входами блока 12 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, третий элемент 13 задержки, блок 14 сравнени , регистр 15, последовательно соединенные четвертый элемент 16 задержки, первый датчик 17 случайных чисел, формирователь 18 поправок и сумматор 19, второй датчик 20 случайных чисел, вход которого соединен с входом датчика 17 случайных чисел, а выход - с второй группой входов формировател  18 поправок , выполненного в виде ПЗУ.The generator of uniformly distributed pseudo-random variables contains successively connected first generator 1 trigger pulses and first delay element 2, serially connected second generator 3 trigger pulses, OR 4 element, trigger 5 and clock generator 6, the second delay element 7, the output of which is connected to another input of the element OR 4, a pulse counter 8 in series and a group of 9 elements AND, a memory register block 10, the outputs of which are connected to the inputs of a block 11 of N groups of N elements And in the group, the output of which is connected to the inputs of the block 12 EXCLUSIVE OR elements, the third delay element 13, the comparison block 14, the register 15, the fourth delay element 16 connected in series, the first random number sensor 17, the correction generator 18 and the adder 19, the second sensor 20 random numbers, the input of which is connected to the input of the sensor 17 random numbers, and the output - with the second group of inputs of the driver 18 corrections, made in the form of ROM.

Генератор равномерно распределен- ных псевдослучайных величин работает следующим образом.The generator of uniformly distributed pseudorandom variables works as follows.

Перед началом работы запускаютс  генераторы 1 и 3 запускающих импульсов. Импульс генератора 3 запускающих импульсов через элемент ИЛИ 4 устанавливает триггер 5 в нулевое состо ние (подтверждает нулевое состо ние триггера, в котором он должен находитьс  до начала работы).Before starting, the generators 1 and 3 trigger pulses are started. The pulse of the generator 3 trigger pulses through the element OR 4 sets the trigger 5 to the zero state (confirms the zero state of the trigger, in which it must be before the start of operation).

После запуска генератора 6 тактовых импульсов последний вырабатывает импульсы , которые последовательно мен ют состо ние счетчика 8 импульсов, выход которого опрашиваетс  путем подачи импульса через элемент 13 задержки на вход группы 9 элементов И, сигналы с выходов элементов И которой поступают на первые входы блока 11 из N групп по N элементов И, на другие входы которого поступают сигналы с выходов блока 10 регистров пам ти. В этих регистрах, начина  с первого, устанавливаютс  числа 2 , 2 и т.д.After starting the generator 6 clock pulses, the latter generates pulses, which successively change the state of the pulse counter 8, the output of which is interrogated by applying a pulse through the input element 13 to the input of group 9 of elements And, the signals from the outputs of elements And which arrive at the first inputs of block 11 of N groups of N elements AND, the other inputs of which receive signals from the outputs of the block of 10 memory registers. In these registers, starting from the first, the numbers 2, 2, etc. are set.

В блоке 12 из N элементов ИСКЛЮЧАЮЩЕЕ ИЛИ происходит логическое сложение поступающих сигналов, в результатеIn block 12 of the N elements EXCLUSIVE OR the logical addition of the incoming signals occurs, as a result

чего формируютс  псевдослучайные величины , равномерно распределенные в заданном интервале, Кроме того, по каждому импульсу генератора 6 тактовых импульсов через задержку в элементе 16 задержки опрашиваютс  датчики 17 и 20 случайных чисел , которые формируют соответственно возможные значени  гп и Г2 случайных чисел с равномерным распределением в интервале (0,1),pseudo-random values, which are uniformly distributed in a given interval, are formed. In addition, for each pulse of the generator 6 clock pulses, sensors 17 and 20 random numbers are polled through a delay in delay element 16, random numbers sensors 17 and 20 are formed, respectively, random numbers with uniform distribution in the interval (0,1),

Функцию принадлежности возможного разброса Ах формируемых точек возле своего номинального значени  xi. формируемого на выходе блока 12 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, можно описать функцией принадлежности типа примерного равенства линейного видаThe membership function of the possible scatter Ach of forming points near its nominal value xi. formed at the output of the block 12 elements EXCLUSIVE OR, can be described by the membership function of the type of approximate equality of the linear form

(Дх) макс{0,, 0)(Dx) max {0 ,, 0)

где Gfcx - параметр разброса функции принадлежности .where Gfcx is the membership function scatter parameter.

Формирователь 18 поправок выполн ет функцию формировани  текущей поправки Л xi по значени м гц, Г21, где i - номер такта генератора 6 тактовых импульсов. Значени  гц, Г2 подаютс  на адресный вход формировател  18 поправок. Предварительное программирование формировател  18 поправок производ т следующим образом.The amendment generator 18 performs the function of forming the current amendment L xi according to the values of Hz, H21, where i is the clock number of the generator of 6 clock pulses. The values of Hz, G2 are fed to the address input of the driver 18 corrections. The preprogramming of the corrector 18 is made as follows.

Значени  щ принимаетс  за уровень значимости (уровень функции принадлежности ) в i-й реализацииValues u is taken as the level of significance (level of the membership function) in the i-th implementation

/гйх(Ах) М|.(2)/ geh (Ax) M |. (2)

Отсюда с учетом (1) можно определить левую А хлев и правую А хправ граничные точки. Далее на интервале (Ахлев, Лхправ) разыгрываетс  точка с равномерным распределением . При заданном Г2 эта точка определ етс  по формулеFrom this, taking into account (1), one can determine the left A stable and the right A right boundary points. Further, on the interval (Akhlev, Lhprav) a point with a uniform distribution is played. For a given T2, this point is determined by the formula

Л Xi Г2 (Л Хправ - А Хлев) + А Хлев (3).L Xi G2 (L Khvrav - A Shed) + A Shed (3).

Таким образом, по соотношени м (1) - (3) можно провести расчет поправок A xj дл  всех возможных значений п, Г2 и заранее запрограммировать формирователь 18 поправок , выполненный в виде ПЗУ.Thus, using relations (1) - (3), it is possible to calculate the corrections A xj for all possible values of n, T2 and pre-program the correction generator 18, made in the form of a ROM.

В результате в сумматоре 19 на каждом такте работы будет сформирована координата псевдослучайной точки xi + Axi, в которой учитываетс  поправка Axi. Это повышает точность формировани  генератором равномерно распределенных псевдослучайных величин закона распределени  формируемых координат.As a result, in the accumulator 19, the coordinate of the pseudo-random point xi + Axi, which takes into account the amendment Axi, will be formed at each clock cycle. This improves the accuracy of generating by the generator uniformly distributed pseudo-random values of the distribution law of the generated coordinates.

При достижении в счетчике 8 импульсов числа, равного числу, записанному в регистре 15 пам ти, на выходе блока 14 сравнени  по вл етс  сигнал, который через элемент ИЛИ 4 переводит триггер 5 в нулевое состо ние , что приводит к остановке устройства.When the number of pulses in the counter 8 is equal to the number recorded in memory register 15, a signal appears at the output of comparator 14, which, through the OR 4 element, sets trigger 5 to the zero state, which causes the device to stop.

Claims (1)

Формула изобретени  Генератор равномерно распределенных псевдослучайных величин по авт.св.М 1202038, о тличающийс  тем, что, с целью повышени  точности формировани  закона распределени , в него дополнительно введены последовательно соединенные четвертый элемент задержки, первый датчик случайных чисел, формирователь попра0The invention The generator of uniformly distributed pseudo-random variables according to bus M 1202038, which is characterized by the fact that, in order to improve the accuracy of the distribution law, it additionally introduced a fourth delay element connected in series, the first random number sensor, the driver of the correct вок и сумматор, второй датчик случайных чисел, выходы и вход которого соединены соотетственно с второй группой входов формировател  поправок и с выходом четвертого элемента задержки, вход которого соединен с выходом генератора тактовых импульсов, втора  группа входов сумматора соединена с выходами блока элементов ИСКЛЮЧАЮЩЕЕ ИЛИ.wok and adder, the second random number sensor, the outputs and the input of which are connected respectively to the second group of inputs of the correction generator and to the output of the fourth delay element, whose input is connected to the output of the clock generator, the second group of inputs of the adder OR to the block of the EXCLUSIVE OR elements block.
SU904801948A 1990-03-14 1990-03-14 Evenly distributed pseudorandom number generator SU1721799A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904801948A SU1721799A2 (en) 1990-03-14 1990-03-14 Evenly distributed pseudorandom number generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904801948A SU1721799A2 (en) 1990-03-14 1990-03-14 Evenly distributed pseudorandom number generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1202038 Addition

Publications (1)

Publication Number Publication Date
SU1721799A2 true SU1721799A2 (en) 1992-03-23

Family

ID=21501699

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904801948A SU1721799A2 (en) 1990-03-14 1990-03-14 Evenly distributed pseudorandom number generator

Country Status (1)

Country Link
SU (1) SU1721799A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1203038, кл. Н 03 КЗ/84, 1984. *

Similar Documents

Publication Publication Date Title
US4250858A (en) Input-output unit for microprocessor controlled ignition or injection systems in internal combustion engines
GB1172617A (en) The Generation of Binomially-Distributed Pseudo-Random Electrical Signals
SU1721799A2 (en) Evenly distributed pseudorandom number generator
US5085191A (en) Tachometer signal generating device
US4366792A (en) Angle of advance correction signal generator
JPS6220379B2 (en)
GB1413685A (en) Ignition advance apparatus for an internal cumbustion engine
SU430365A1 (en) RANDOM NUMBER GENERATOR
JPS56141060A (en) Signal generator for noncontact ignition device of internal combustion engine
SU1688243A1 (en) Odd numbers generator
RU1774330C (en) Nondistinct number generator
SU1206779A1 (en) Generator of random numbers with uniform distribution
SU1660146A2 (en) Uniformly distributed pseudorandom magnitude generator
SU1688242A2 (en) Random numbers generator
SU1751743A1 (en) Membership function generator
SU1202038A1 (en) Generator of random variables with uniform distribution
SU1116524A1 (en) Random signal generator
SU860070A1 (en) Random number generator
SU1580358A1 (en) Random number generator
SU1363194A2 (en) Random process generator
SU1716510A1 (en) Generator of random numbers
SU1716507A1 (en) Generator of random numbers
SU1211758A1 (en) Device for determining parameter of power model of average value of random signal
SU1171807A1 (en) Interpolating device
RU1774333C (en) Random-number generator