SU1596325A1 - Generator of correlated normal numbers - Google Patents

Generator of correlated normal numbers Download PDF

Info

Publication number
SU1596325A1
SU1596325A1 SU884457948A SU4457948A SU1596325A1 SU 1596325 A1 SU1596325 A1 SU 1596325A1 SU 884457948 A SU884457948 A SU 884457948A SU 4457948 A SU4457948 A SU 4457948A SU 1596325 A1 SU1596325 A1 SU 1596325A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
generator
register
adder
Prior art date
Application number
SU884457948A
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 SU884457948A priority Critical patent/SU1596325A1/en
Application granted granted Critical
Publication of SU1596325A1 publication Critical patent/SU1596325A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при моделировании нормальных коррелированных случайных процессов и цифровых кодов с заданными дисперсией и коэффициентом коррел ции. Целью изобретени   вл етс  повышение быстродействи  генерации коррелированных нормальных чисел с заданными дисперсией и коэффициентом коррел ции. Дл  достижени  этой цели в генератор введены регистры числа 11 и 12, блок элементов ИЛИ-НЕ 14, коммутатор 15, элемент ИЛИ-НЕ 17, генератор шума 1, лини  задержки 3, компараторы 4 и 5. Формирование выходной последовательности происходит в сумматоре 16. 1 ил.The invention relates to computing and can be used in simulating normal correlated random processes and digital codes with given variance and correlation coefficient. The aim of the invention is to increase the speed of generation of correlated normal numbers with given variance and correlation coefficient. To achieve this goal, the registers of the numbers 11 and 12, the block of elements OR-NOT 14, the switch 15, the element OR-NOT 17, the noise generator 1, the delay line 3, the comparators 4 and 5 are entered into the generator. The output sequence is formed in the adder 16. 1 il.

Description

ел Gate G

Изобретение относитс  к вычислительной технике и может быть использовано при моделировании нормальных коррелированных случайных процессов и цифровых кодов с заданными дисперсией и коэффициентом коррел ции.The invention relates to computing and can be used in simulating normal correlated random processes and digital codes with given variance and correlation coefficient.

Цель изобретени  - повышение быстродействи  генерации коррелированных нормальных чисел с заданными дисперсией и коэффициентом коррел ции.The purpose of the invention is to increase the speed of generation of correlated normal numbers with given variance and correlation coefficient.

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

Генератор коррелированных нормаль ных чисел содержит генератор 1 шума, генератор 2 тактовых импульсов, линию 3 задержки, компараторы 4 и 5, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 6, элемент И 7, триггеры 8 и 9, регистр 10, регистры 11 и 12 числа, умножитель 13, блок элементов ИЛИ-НЕ 14, коммутатор 15, сумматор 16 и элемент И ЛИНЕ 17.The generator of correlated normal numbers contains a noise generator 1, a generator of 2 clock pulses, a delay line 3, comparators 4 and 5, an element EXCLUSIVE OR 6, an element AND 7, triggers 8 and 9, a register 10, registers 11 and 12 numbers, a multiplier 13, block of elements OR NOT 14, switch 15, adder 16 and element AND LINE 17.

Устройство работает следующим образом ..The device works as follows.

В исходном состо нии в регистр 11 числа записано число, определ ющее коэффициент коррел ции, а в регистр 12 числа число , определ ющее дисперсию генерируемой последовательности коррелированных нормальных случайных чисел. Триггеры 8 и 9 наход тс  в произвольном состо нии, а в регистр 10 записано некоторое начальное число. Генератор 1 шума формирует на своем выходе аналоговый высокочастотный случайный сигнал, поступающий на входы компаратора 5 и линии 3 задержки, врем  задержки которой выбрано исход  из услови  отсутстви  коррел ции сигналов на ее входе и выходе. Таким образом, в каждый момент времени на входы компараторов 4 и 5 подают два слабо коррелированных аналоговых высокочастотных случайных сигнала .. На выходах компараторов 4 и 5 формируютс  случайные двухразр дные равномерно распределенные числа, дл  чего пороговые значени  компараторов 4 и 5 выбирают исход  из услови  равноверо тного по влени  логических нулей и единиц на их выходах.In the initial state, the number in register 11 is a number that determines the correlation coefficient, and in the number 12 register is a number that determines the variance of the generated sequence of correlated normal random numbers. Triggers 8 and 9 are in an arbitrary state, and in register 10 is written some initial number. The noise generator 1 forms at its output an analog high-frequency random signal arriving at the inputs of the comparator 5 and delay line 3, the delay time of which is chosen on the condition that the signals at its input and output do not correlate. Thus, at each time point, two weakly correlated analog high-frequency random signals are fed to the inputs of comparators 4 and 5. Random two-bit uniformly distributed numbers are formed at the outputs of comparators 4 and 5, for which the threshold values of comparators 4 and 5 are chosen based on the same of the logical logic zeros and ones at their outputs.

Двухразр дный код Р на выходах элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 6 и элемента И 7 (старший разр д этого кода соответствует выходу элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 6, а младший - выходу элемента И 7) распределен по биномиальному закону. В самом деле, в силу равноверо тного по влени  логических нулей и единиц на выходах компараторов 4 и 5 состо ние Р 10 по вл етс  в 50% случаев, а Р 01 или Р 00 в 25% случаев. Дл  синхронизации работыThe two-bit code P at the outputs of the EXCLUSIVE OR 6 element and the AND 7 element (the highest bit of this code corresponds to the output of the EXCLUSIVE OR 6 element, and the low-order one to the output of the AND 7 element) is binomially distributed. In fact, due to the uniform occurrence of logical zeroes and ones at the outputs of comparators 4 and 5, the state of P 10 appears in 50% of cases, and P 01 or P 00 in 25% of cases. To synchronize work

устройства в целом служит генератор 2 тактовых импульсов, формирующий периодическую импульсную последовательность. С приходом очередного синхронизирующегоThe device as a whole serves as a generator of 2 clock pulses, forming a periodic pulse sequence. With the arrival of the next sync

импульса код Р записываетс  в триггеры 8 и 9, а в регистре 10 фиксируетс  выходной код сумматора 16. В каждом такте в зависимости от кода Р, записанного в триггеры 8 и 9, коде выхода умножител  13 либо оставл ютPulse code P is recorded in triggers 8 and 9, and in register 10, the output code of adder 16 is fixed. At each clock cycle, depending on the code P recorded in triggers 8 and 9, the output code of multiplier 13 is left or

0 без изменени  (Р 10), либо к нему добавл ютчисло , записанное в регистре 12 числа (Р 01), либо вычитают число, записанное в регистре 12 числа (Р 00). Дл  этого служат блок элементов ИЛИ-НЕ 14, коммутатор 15,0 unchanged (P 10), either the number written in the 12th register (P 01) is added to it, or the number written in the 12th number register (P 00) is subtracted. For this are the block of elements OR NOT 14, switch 15,

5 сумматор 16 и элемент ИЛИ-НЕ 17. Блок элементов ИЛИ-НЕ 14 при.наличии логического нул  на выходе триггера 8.инвертирует код регистра 12 числа. Если на выходе триггера 8 присутствует логическа  единица, то на выходе блока элементов ИЛИ-НЕ 14 формируетс  нулевой код. Коммутатор 15 подает к второму входу сумматора 16 либо пр мой код регистра 12 числа (если на выходе триггера 9 - логическа  единица), либо5 adder 16 and element OR NOT 17. Block of elements OR NOT 14 when the logical zero exists at the output of the trigger 8. inverts the register code of the 12th number. If a logical unit is present at the output of trigger 8, then a zero code is generated at the output of the block of elements OR NOT 14. Switch 15 delivers to the second input of the adder 16 either a direct register code 12 of the number (if at the output of trigger 9 is a logical one), or

5 код с выхода блока элементов ИЛИ-НЕ 14 ( если на выходе триггера 9 - логический нуль). При вычитании (Р 00) дл  преобразовани  инверсного кода в дополнительный к младшему разр ду сумматора 16 добавл ют логическую единицу с выхода элемента ИЛИ-НЕ 17.5 code from the output of the block of elements OR NOT 14 (if the output of the trigger 9 is a logical zero). When subtracting (P 00), the logical unit from the output of the OR-NOT element 17 is added to convert the inverse code to the additional to the lower bit of the adder 16.

Таким образом, на выходе сумматора 16 формируетс  последовательность коррелированных нормальных чисел с заданнымиThus, at the output of the adder 16, a sequence of correlated normal numbers with given

5 дисперсией и коэффициентом коррел ции. Обозначив код очередного числа через Xk, код регистра 11 числа (коэффициент коррел ции ) через г, код регистра 12 числа через V, можно выразить дисперсию генерируе0 MOL последовательности чисел как Dx V/2(1-r2).5 variance and correlation coefficient. Denoting the code of the next number by Xk, the register code of the 11 number (correlation coefficient) through g, the register code of 12 numbers through V, we can express the variance of the generated MOL number sequence as Dx V / 2 (1-r2).

Таким образом, задав необходимый коэффициент коррел ции г и параметр дисперсии V 2Dx(1-r), получают последовательностьThus, specifying the necessary correlation coefficient r and the dispersion parameter V 2Dx (1-r), we obtain the sequence

Claims (1)

5 случайных коррелированных нормальных чисел с заданными характеристиками. Формула изобретени  Генератор коррелированных нормальных чисел, содержащий генератор тактовых5 random correlated normal numbers with given characteristics. The claims of the generator of correlated normal numbers, containing a clock generator 0 импульсов, два триггера, первый регистр, умножитель и сумматор, причем выход генератора тактовых импульсов соединен с тактовым входом первого триггера, выход умножител  соединен с входом первого слагаемого сумматора, выход которого соединен с информационным входом первого регистра, отличающийс  тем, что, с целью повышени  быстродействи , в него введены генератор шума, лини , задержки, два компаратора, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ. элемент И, элемент ИЛИ-НЕ, два регистра, блок элементов ИЛИ-НЕ и коммутатор , причем выход генератора шума соединен с входом первого компаратора ичерез линию задержки с входом второго компаратора, выход первого компаратора соединен с первыми входами элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента И, вторые входы которых соединены с выходом второго компаратора, выход элемента И соединен с информационным входом первого триггера, выход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ соединен с информационным входом второго триггера, тактовый вход которого соединен с выходом генератора тактовых импульсов и с входом разрешени  записи первого регистра, выход которого соединен с входом первого сомножител 0 pulses, two triggers, the first register, a multiplier and an adder, the output of the clock generator is connected to the clock input of the first trigger, the output of the multiplier is connected to the input of the first term of the adder, the output of which is connected to the information input of the first register, characterized in that speed increase, a noise generator, a line, a delay, two comparators, an EXCLUSIVE OR element are introduced into it. the element AND, the element OR NOT, two registers, the block of the elements OR-NOT and the switch, the output of the noise generator is connected to the input of the first comparator and through the delay line with the input of the second comparator, the output of the first comparator is connected to the first inputs of the element EXCLUSIVE OR and the element AND, the second inputs of which are connected to the output of the second comparator, the output of the element AND is connected to the information input of the first trigger, the output of the element EXCLUSIVE OR is connected to the information input of the second trigger, the clock input of which is connected to the output house clock generator and a write enable input of the first register, whose output is connected to the input of the first multiplier умножител , вход второго сомножител  которого соединен с выходом второго регистра , пр мой выход первого триггера соединен с управл ющим входом коммутатораthe multiplier, the input of the second factor of which is connected to the output of the second register, the direct output of the first trigger is connected to the control input of the switch и с первым входом элемента ИЛИ-НЕ, второй вход которого соединен с пр мым выходом второго триггера и с первым входом блока элементов ИЛИ-НЕ, второй вход которого соединен с выходом третьего регибтраand with the first input of the element OR-NOT, the second input of which is connected to the direct output of the second trigger and the first input of the block of elements OR-NOT, the second input of which is connected to the output of the third regitra и с первым информационным входом коммутатора, второй информационный вход которого соединен с выходом блока элементов ИЛИ-НЕ, выход коммутатора соединен с вторым входом сумматора,and with the first information input of the switch, the second information input of which is connected to the output of the block of elements OR NOT, the output of the switch is connected to the second input of the adder, третий вход которого соединен с выходом элемента ИЛИ-НЕ, выход сумматора  вл етс  информационным выходом генератора .the third input of which is connected to the output of the element OR NOT, the output of the adder is the information output of the generator.
SU884457948A 1988-07-11 1988-07-11 Generator of correlated normal numbers SU1596325A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884457948A SU1596325A1 (en) 1988-07-11 1988-07-11 Generator of correlated normal numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884457948A SU1596325A1 (en) 1988-07-11 1988-07-11 Generator of correlated normal numbers

Publications (1)

Publication Number Publication Date
SU1596325A1 true SU1596325A1 (en) 1990-09-30

Family

ID=21388650

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884457948A SU1596325A1 (en) 1988-07-11 1988-07-11 Generator of correlated normal numbers

Country Status (1)

Country Link
SU (1) SU1596325A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Nfe 1226450. кл. G 06 F 7/58. 1986.Авторское свидетельство СССР Мг 1228102. кл. G 06 F 7/58. 1986. *

Similar Documents

Publication Publication Date Title
US4160154A (en) High speed multiple event timer
SU1596325A1 (en) Generator of correlated normal numbers
JP2707778B2 (en) Noise removal circuit
SU1608657A1 (en) Code to probability converter
SU734671A1 (en) Binary-to-numeric-pulse code converter
SU1262724A1 (en) Pulse repetition frequency divider with controlled pulse duration
SU1631512A1 (en) Comparator
SU1218470A1 (en) Device for translating codes
SU984001A1 (en) Generator of pseudorandom pulse trains
SU544121A1 (en) Device control pulse sequences
SU911508A1 (en) Device for comparing two numbers
SU1347162A1 (en) Pulse sequence generator
SU1210209A2 (en) Pseudorandom pulse sequence generator
SU1451688A1 (en) Random process generator
SU525033A1 (en) Digital periodometer
SU1508350A2 (en) Delta-modulator
RU1795548C (en) Digitizer
RU2022448C1 (en) Noise-like signal simulator
SU1674364A1 (en) Analog-to-digital converter
SU610295A2 (en) Analogue-digital converter
SU370717A1 (en) CONTROLLABLE PROBABILITY CONVERTER
RU2047939C1 (en) Driven pulse shaper
SU1524093A1 (en) Buffer storage
SU508925A1 (en) Analog-to-digital converter
RU1789985C (en) Analog signals identificator