SU1596325A1 - Generator of correlated normal numbers - Google Patents
Generator of correlated normal numbers Download PDFInfo
- 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
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)
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) |
-
1988
- 1988-07-11 SU SU884457948A patent/SU1596325A1/en active
Non-Patent Citations (1)
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 |