SU627477A1 - Arrangement for computing square root from the sum of squares of two numbers - Google Patents

Arrangement for computing square root from the sum of squares of two numbers

Info

Publication number
SU627477A1
SU627477A1 SU772450390A SU2450390A SU627477A1 SU 627477 A1 SU627477 A1 SU 627477A1 SU 772450390 A SU772450390 A SU 772450390A SU 2450390 A SU2450390 A SU 2450390A SU 627477 A1 SU627477 A1 SU 627477A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
adder
group
control signal
code
Prior art date
Application number
SU772450390A
Other languages
Russian (ru)
Inventor
Елена Владимировна Толстякова
Борис Исаакович Яновер
Original Assignee
Предприятие П/Я В-2962
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 Предприятие П/Я В-2962 filed Critical Предприятие П/Я В-2962
Priority to SU772450390A priority Critical patent/SU627477A1/en
Application granted granted Critical
Publication of SU627477A1 publication Critical patent/SU627477A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Claims (2)

9лементов И, группы 9 элементов ИЛИ, регистр 1О сдвига, распрепелитель 11 импульсов. Устройство функционирует в соотвегствии с предложенной авторами прибли- женной зависимостью. 1.5 ГА2Гв |Л| + |В|+ 0.5|1Л1-|В|| Распределитель импульсов вырабатывает последовательность импульсов 31 38. Накапливающий сумматор 3 работает в инверсиом коде, регистры 1 и 2 операндов содержат пр мые коды чисел, при чем знаковые разр ды этих регистров всегда установлены в О, так как в выполн емой операции знаки операндов не играют роли. Управл ющим сигналом Ji производитс  очистка сумма гсров 3 и однощэеменно в регисгры операндов 1 и 2 засылаютс  коды чисел А и & . В с едуккаем такте управ л ющим сигналом 3j, отпираетс  группа 4 элементов И и в сумматор 3 поступает код числа А ,, . После З правл ющимт сигналом Зз отпираетс  группа 5 элементов И, и в сумматор 3 поступает ииверсиый код числа В . Если в сумматоре 3 получаетс  отрицательное число, то управл ющий сигнал . осуществл ет инверсию наход щегос  в сумматоре кода; тем самым на сумматоре формируетс  абсолютна  величина разности абсолютных величин операн дов. Код с сумматора передаетс  на регистр 1О сдвига, когда управл квций сигнал jотпирает группу 6 элемент еж И; управл ющий сигнал ав осуществл ет сдвиг на один разр д вправо содержимого регистра 10, а управл ющий. сигнал34 одновре менно гасит содерткимое сумматора 3. Управл ющий сигнал отпкрает гру пу 7, и код с регистра 10 предаетс  в сумматор. Затем управл кмдий сигнал 5 отпирает группу 4 элемент И (в сумматор передаетс  пр мой код операнда А ) после чего управл ющий сигнал 3g отпирает группу 8 элементов И, и на сумматор поступает пр мой код операнда.,В, Получаемое на сумматоре число равн етс  значению искомой функции, помноженному на коэффициент 1,5. Коэффициент можно рассматривать как масштабный и учитывать в дальнейших вычислени х. Например, если описанньпи способом вычисл етс  значение огибающей сигнала, которое далее надо сравнивать с заданньп порогом, значение порога следует пересчитать в соответствии с масштабом . Как показано в приложении к за вке, максимальна  погрешность вьгчислений не превышает 5,72%. Формула изобретени  Устройство дл  вычислени  квадратного корн  из суммы квадратов двух чисел, содержащее регистры первого и второго операндов, сумматор, регистр сдвига, группы элементов И и ИЛИ, отличающеес  тем, что, с целью повышени  точности вычислени , оно содержит распределитель импульсов, выходы которого с по восьмой подключены соответственно ко входу обнулени  сумматора, к управл ющим входам элементов И первой и второй rpytm, сумматора, элементов И третьей группы, регистра сдвига, элементов И четвертой и п той групп, пр мые выходы регистров первого и второго операндов соединены со входами элементов V первой и п той групп соответственно, инверсный выход регистра второго операнда - с входами элементов И второй группы, входь элементов И четвертой группы подключены к выходам регистра сдвига, выходь1 элементов И первой, второй, п той и четвертой групп элементов соединены со входами элементов ИЛИ группы элементов, выходы которых подключены к суммирующим входам сумматора, а выходы последнего через элементы И третьей группы элементов - ко входам регистра сдвига. Источники информации, прин тые во внимание при экспертизе: 1.Авторское свидетельство СССР N9 404082, кл. Q 06 Р 7/38, 1971. 9 elements AND, a group of 9 elements OR, a shift register 1O, a release of 11 pulses. The device operates in accordance with the approximate dependence proposed by the authors. 1.5 GA2Gv | L | + | B | + 0.5 | 1L1- | B || The pulse distributor generates a sequence of pulses 31 38. The accumulating adder 3 operates in the inversion code, registers 1 and 2 of the operands contain direct codes of numbers, and the sign bits of these registers are always set to O, since in the operation performed the signs of the operands do not matter . The control signal Ji clears the sum of the gsr 3 and, at the same time, the codes of the numbers A and & are sent to the registers of operands 1 and 2. . In the clock cycle of the control signal 3j, the group of 4 elements AND is unlocked and the adder 3 receives the code of the number A ,,. After the control signal with the signal Z3, the group of 5 I elements is opened, and the adder 3 also receives a diversified code of the number B. If the adder 3 gets a negative number, then the control signal. inverts the code in the adder; thus, the absolute value of the difference of the absolute values of the operands is formed on the adder. The code from the adder is transmitted to the shift register 1O when the control signal, the signal j, decides group 6 of the element Hedge I; the control signal AB shifts one bit to the right of the contents of register 10, and the control. signal 34 simultaneously suppresses the content of adder 3. The control signal will open group 7, and the code from register 10 will be transferred to the adder. Then the control signal 5 unlocks the group 4 element I (the direct code of operand A is transmitted to the adder), after which the control signal 3g unlocks the group of 8 elements I, and the accumulator receives the direct code of the operand., B, The number received on the adder equals the value of the desired function multiplied by a factor of 1.5. The coefficient can be considered as scaled and taken into account in further calculations. For example, if the value of the signal envelope is calculated using the method described below, which should then be compared with a given threshold, the threshold value should be recalculated in accordance with the scale. As shown in the appendix, the maximum error of calculation does not exceed 5.72%. Apparatus of the Invention A device for calculating the square root of the sum of the squares of two numbers, containing the registers of the first and second operands, the adder, the shift register, the group of elements AND and OR, characterized in that, in order to increase the accuracy of the calculation, it contains a pulse distributor whose outputs are the eighth is connected respectively to the zeroing input of the adder, to the control inputs of the elements of the first and second rpytm, the adder, the elements of the third group, the shift register, the elements of the fourth and fifth groups, the direct outputs The registers of the first and second operands are connected to the inputs of elements V of the first and fifth groups, respectively, the inverse output of the register of the second operand — to the inputs of elements AND of the second group, input of elements AND of the fourth group are connected to the outputs of the shift register, output1 of elements AND of the first, second, n This and the fourth groups of elements are connected to the inputs of the elements OR of the group of elements whose outputs are connected to the summing inputs of the adder, and the outputs of the latter through the elements AND of the third group of elements to the inputs of the shift register. Sources of information taken into account during the examination: 1. USSR author's certificate N9404082, cl. Q 06 P 7/38, 1971. 2.Патент США № 3829671, кл. 235-158, 197О.2. US patent number 3829671, cl. 235-158, 197O. П.P. Фиг гFIG g а arctg(e/A)and arctg (e / A)
SU772450390A 1977-02-08 1977-02-08 Arrangement for computing square root from the sum of squares of two numbers SU627477A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772450390A SU627477A1 (en) 1977-02-08 1977-02-08 Arrangement for computing square root from the sum of squares of two numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772450390A SU627477A1 (en) 1977-02-08 1977-02-08 Arrangement for computing square root from the sum of squares of two numbers

Publications (1)

Publication Number Publication Date
SU627477A1 true SU627477A1 (en) 1978-10-05

Family

ID=20694762

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772450390A SU627477A1 (en) 1977-02-08 1977-02-08 Arrangement for computing square root from the sum of squares of two numbers

Country Status (1)

Country Link
SU (1) SU627477A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229713A (en) * 1991-04-25 1993-07-20 General Electric Company Method for determining electrical energy consumption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229713A (en) * 1991-04-25 1993-07-20 General Electric Company Method for determining electrical energy consumption

Similar Documents

Publication Publication Date Title
SU627477A1 (en) Arrangement for computing square root from the sum of squares of two numbers
JPS5530212A (en) Logical-operation type digital compander
SU533926A1 (en) Adder
SU675421A1 (en) Digital squarer
SU997034A1 (en) Device for computing square root from the sum of squares of two numbers
SU1522233A2 (en) Device for solving algebraic equations
SU877536A1 (en) Multiplicating-dividing device
Baumslag Free products of locally indicable groups with a single relator
SU645152A1 (en) Binary number comparing arrangement
SU1129610A1 (en) Device for extracting square root from sum of two squared numbers
SU717780A1 (en) Fourier coefficient computing arrangement
SU588543A1 (en) Device for adding binary numbers
SU694860A1 (en) Device for computation of logarithms of numbers represented by unitary codes
SU1182429A1 (en) Digital frequency meter
SU491129A1 (en) Device for raising binary numbers to the third degree
SU922791A1 (en) Logarithmic converter
SU394781A1 (en) DEVICE FOR EXTRACTING SQUARE ROOT
SU842810A1 (en) Binary frequency divider
SU911523A1 (en) Device for computing logarithms of numbers presented in unit-counting code
SU561184A1 (en) Device for calculating the root of the fourth degree
SU558105A2 (en) Logging tool
SU553613A1 (en) Arithmetic unit
SU860062A1 (en) Device for multiplication
SU564633A1 (en) Square root extracting device
SU1137460A1 (en) Conveyer adder