SU1300466A1 - Device for extracting square root - Google Patents
Device for extracting square root Download PDFInfo
- Publication number
- SU1300466A1 SU1300466A1 SU853981632A SU3981632A SU1300466A1 SU 1300466 A1 SU1300466 A1 SU 1300466A1 SU 853981632 A SU853981632 A SU 853981632A SU 3981632 A SU3981632 A SU 3981632A SU 1300466 A1 SU1300466 A1 SU 1300466A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- register
- adder
- Prior art date
Links
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 abstract description 2
- 238000012369 In process control Methods 0.000 abstract 1
- 238000000354 decomposition reaction Methods 0.000 abstract 1
- 238000010965 in-process control Methods 0.000 abstract 1
- 230000007704 transition Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть применено в системах управлени технологическими процессами, в специализированных вычислител х. Целью изобретени вл етс повьппение быстродействи за счет декомпозиции алгоритма вычислени на этапы с крупным и мелким шагами. Устройство содержит первый регистр 1, первый сумматор 2 элементы И 3 группы, первый коммутатор 4, второй коммутатор 5, второй сумматор 6, схему сравнени 7, первый счетчик 8, второй регистр 9, третий регистр 10, первый триггер 11, первый элемент Ш1И 12, второй триггер 13, генератор 14 тактовых импуль- сов, первый элемент И 15, второй элемент И 16 второй счетчик 17, четвертый регистр 18, второй элемент ИЛИ 19, третий элемент И 20, первый 21, второй 22, третий 23 элементы задержки, тактовый вход 24. 1 ил. (Л -J- ;CLE 22 У boThe invention relates to computing and can be applied in process control systems, in specialized computers. The aim of the invention is to increase the speed due to the decomposition of the calculation algorithm into stages with large and small steps. The device contains the first register 1, the first adder 2 elements And 3 groups, the first switch 4, the second switch 5, the second adder 6, the comparison circuit 7, the first counter 8, the second register 9, the third register 10, the first trigger 11, the first element ШИИ 12 , the second trigger 13, the generator 14 clock pulses, the first element And 15, the second element And 16 the second counter 17, the fourth register 18, the second element OR 19, the third element And 20, the first 21, the second 22, the third 23 delay elements clock input 24. 1 Il. (L -J-; CLE 22 U bo
Description
Изобретение относитс к вычислительной технике и может быть использовано в системах управлени гибкими автоматизированными производствами, технологическими процессами в специ- али:.ированных вычислител х.The invention relates to computing technology and can be used in control systems for flexible automated productions, technological processes in the following specialists:.
Целью изобретени вл етс повышение быстродействи за счет декомпо The aim of the invention is to increase speed by decomposing
зиции алгоритма вычислени на этапы с крупным и мелким шагами.positions of the calculation algorithm into stages with large and small steps.
(ti.a )(ti.a)
F(t, )F (t,)
+ 2+ 2
На чертеже представлена функциональна схема устройства.The drawing shows the functional diagram of the device.
Устройство дл извлечени ква,црат- ного корн содержит первый регистр 1, первый сумматор 2, элементы И 3 груп- 5 пы, первый коммутатор 4, второй коммутатор 5, второй сумматор 6, схему сравнени 7, первый счетчик 8, второй регистр 9, третий регистр 10, первый триггер 1, первый элемент 20 ИЛИ 12, второй триггер 13, генераторThe device for extracting kva, the main root contains the first register 1, the first adder 2, the elements of the AND 3 groups, the first switch 4, the second switch 5, the second adder 6, the comparison circuit 7, the first counter 8, the second register 9, third register 10, first trigger 1, first element 20 OR 12, second trigger 13, generator
тактовых импульсов 14, первый элемент И 15, второй элемент И 16, второйclock pulses 14, the first element And 15, the second element And 16, the second
счетчик 17, четвертый регистр 18, вто- образовани функции atcounter 17, fourth register 18, the second formation of the function at
рой элемент ИЛИ 19, третий элементswarm element OR 19, third element
И 20, первый 21, второй 22, третийAnd 20, first 21, second 22, third
23 элементы задержки, тактовый23 delay elements, clock
вход 24,input 24,
Устройство функционирует следующим образом.The device operates as follows.
Анализ на разр дном уровне непрерывных монотонных функций, в частности функции F(t) а 4Г, показал,что меандр i-ro разр да функции F(t) состоит из участков аргумента, названных интервалами посто нства (Ь-(j)) i-ro разр да, на которых i-ый разр д принимает посто нное значение - тольгде t- - узел неравномAn analysis on the bit level of continuous monotone functions, in particular, the function F (t) and 4G, showed that the meander of the i-bit position of the function F (t) consists of the segments of the argument called the intervals of (b - (j)) i -ro bit on which the i-th bit takes a constant value - only where t- is an unequal node
. .
; с о,1,2,.,, которой Ь- Вычисление (j+l)-ro и посто нства на основании ции о J-M интервале и и при этом значени функци; с о, 1,2,. ,, which is L -Calculation of (j + l) -ro and constants based on the J-M interval and, moreover, the value of the function
лl
квант 2 младшего разр д ет реализовать развертывquantum 2 junior bit to implement deployment
зование дл текущего зна аргумента t заканчиваетсthe current argument argument t ends
30thirty
где twhere t
з+гh + g
i ti t
еe
- узел равномерн- the node is uniform
GH (t « 4GH (t "4
--о L-t - --o lt -
0,l,2,..,i h 2 0,1,2,,., рой реализуетс вание. 0, l, 2, .., i h 2 0,1,2 ,,., The swarm is realized.
Дл повьппени скор ост вани целесообразно вест крупным и мелкимIt is advisable to close both large and small
шагstep
случае преобразование со из двух этапов. На первcase conversion from two stages. On the first
ко 1 или только о, , Между интервалами посто нства функции F(t) и конечными разност ми обратной функции ф(t)(F (t) 1/ф (ь)) существует взаимно однозначное соответствиеto 1 or only o, Between the intervals of the function F (t) and the finite differences of the inverse function φ (t) (F (t) 1 / φ (Ь)) there is a one-to-one correspondence
Li(j) Vj,(1)Li (j) Vj, (1)
где L;(j) - j-й интервал посто нства i-ro разр да функции F(t); Ч J конечна разностьwhere L; (j) is the j-th interval of the constancy of the i-th bit of the function F (t); H j is finite difference
первого пор дка обратной функции Ф(t), рассматриваема на сетке {А)Ц) {t n the first order of the inverse function Ф (t), considered on the grid (A) C) {t n
- - i« «i hq. 2-, - - i «« i hq. 2-,
Разность u°S; (j) L;(j + l) - - L;(j) интервалов посто нства назгде и Difference u ° S; (j) L; (j + l) - - L; (j) intervals of constant nazgde and
вана правым j-м локатьным трендом разр даVana right j-th trend trend of discharge
и and
u°S;(j)u ° S; (j)
й (;, nd (;,
(2)(2)
где и where and
Ч| - j- разность второго пор дка функции (t). За интервал посто нства i-ro разр да функци F(t) измен етс на квант 2 , т.е.H | - j is the difference of the second order of the function (t). Over the interval of the i-ro discharge constant, the function F (t) is changed by quantum 2, i.e.
(ti.a )(ti.a)
F(t, )F (t,)
+ 2+ 2
образовани функции ateducation function at
К-с.KS
где t- - узел неравномерной сеткwhere t- is a node of irregular grid
. .
z: z:
; с о,1,2,.,,, шаг которой Ь- L;(c)Vc. Вычисление (j+l)-ro интервала посто нства на основании информации о J-M интервале и изменение при этом значени функции F(t) на; с о, 1,2,. ,,, whose step is L - L; (c) Vc. Calculating the (j + l) -ro interval of a constant based on information about the J-M interval and changing the value of the function F (t) by
лl
квант 2 младшего разр да позвол ет реализовать развертывающие преПреобразование дл текущего значени tj аргумента t заканчиваетс , когдаthe low-order 2 quantum allows realizing decompression transform for the current value tj of the argument t, when
00
где twhere t
з+гh + g
i ti t
еe
(3)(3)
- узел равномерной сетки- node of uniform grid
GH (t « 4 GH (t "4
--о L-t - Ь оП--o L-t - b oP
0,l,2,..,i h,, 2-«j , 2 0,1,2,,.,, на которой реализуетс преобразование . 0, l, 2, .., i h ,, 2-, j, 2 0,1,2 ,,., On which the transformation is realized.
Дл повьппени скор ости преобразовани целесообразно вести развертку крупным и мелкимIn order to achieve a faster conversion rate, it is advisable to sweep large and small
шагами. В этомin steps. In that
случае преобразование состоит как бы из двух этапов. На первом этапе ве0In this case, the transformation consists of two stages. At the first stage
детс развертка крупным шагом в некотором среднемdets sweep big step in some average
q-M разр деq-M de bit
(), После того-, как выполнитс условие tg осуществл етс переход в младший Л -и разр д и реа- 5 лизуетс второй этап преобразовани ,(), After the condition tg is fulfilled, the transition to the lower L -th digit is performed and the second stage of conversion is realized,
В общем виде развертка функции F(t) а -Tt записываетс следующим образом:In general, the scan of the function F (t) and -Tt is written as follows:
5050
Этап 1Stage 1
5555
Этап 2Stage 2
2Z L,(m) - BO 2Z L, (m) - BO
ЛL
где CP+, - константа,where CP +, is a constant,
В качестве начальных значений задаютс значени интервала посто нства и локального тренда, соответствующие узлу t сетки cOj, ,As initial values, the values of the interval of constancy and the local trend are given, corresponding to the node t of the grid cOj,,
При переходе с первого этапа на второй t,, tj,, , FCt},, ) F(t5,, )In the transition from the first stage to the second t ,, tj ,,, FCt} ,,) F (t5 ,,)
Преобразование дл текущего значе ни аргумента заканчиваетс при выполнении услови (3). Второй этап реализует в границах интервала посто нства LO(P+I) функции F(t) а 4Г ее интерпол цию линейной функцией . с производной Vl р.,The conversion for the current value of the argument ends when condition (3) is met. The second stage realizes, within the interval of a constant LO (P + I) of the function F (t) and 4G, its interpolation by a linear function. with derivative Vl r.,
(p+l). (p + l).
В схеме устройства значени локалного- трендаЛ°5„(р) хранитс в первом регистре 1, интервал посто нства Lo(p+l) вычисл етс в первом сумматоре 2, значени аргумента , In the device diagram, the local trend value ° 5 (p) is stored in the first register 1, the interval of the constant Lo (p + l) is calculated in the first adder 2, the argument values
PII « IlLgCn) и t:. PII "IlLgCn) and t :.
п о т-0 п о т-0
втором су мматоре 6, сравнение tp, или. tj. с tj осуществл етс в схемеsecond summator 6, tp comparison, or. tj. with tj implemented in the scheme
сравнени 7, значение аргумента tg вычисл етс в первом счетчике 8, а значение функции F(t) а -jt формируетс во втором счетчике 17 и хранитс во втором регистре 9, счет-, j. ные (входные) импульсы с весом 2 ( 0, 1,2,,..) поступают на вход 24 устройства,Comparison 7, the value of the argument tg is calculated in the first counter 8, and the value of the function F (t) a -jt is formed in the second counter 17 and stored in the second register 9, count-, j. Input (input) pulses with a weight of 2 (0, 1.2, ..) are fed to the input of 24 devices,
В исходном состо нии регистр 9, триггеры 11 и 13 обнулены. Первый счетный импульс тактового входа 24 устройства поступает на вход синхронизации второго регистра 9, в который переписываетс значение функции F(t|) , и на вход первого счетчика 8 увеличива его содержимое на 2 . Пройд через первый элемент задержки 21, счетный импульс сбрасывает в О младшие (Л-q) разр дов счетчика 17, Кроме того, по заднему фронту счетного и шyльca осуществл етс переключение второго триггера 13, единица с пр мого выхода которого поступает на вторые входы элементов И 15 и 16, Элемент И 16 открыт по первому входу сигналом лог, 1 с инверсного выхода первого триггера 11. Тактовые импульсы с генератора 14 тактовых импульсов через открытый элемент И 16 поступают на входIn the initial state, register 9, triggers 11 and 13 are reset. The first counting pulse of the clock input 24 of the device is fed to the synchronization input of the second register 9, to which the value of the function F (t |) is written, and to the input of the first counter 8, increasing its content by 2. Passing through the first delay element 21, the counting pulse resets to O the minor (Lq) bits of the counter 17, In addition, a second trigger 13 is switched on the falling edge of the counting and pulse, the unit from the forward output of which goes to the second inputs of the elements And 15 and 16, Element And 16 is open at the first input by a signal log, 1 from the inverse output of the first trigger 11. Clock pulses from the generator 14 clock pulses through the open element And 16 arrive at the input
5five
O O
5 five
е j e j
разр да с весом 2 второго счетчика 17 и увеличивают его содержимоеbit with a weight of 2 second counter 17 and increase its content
-Ч,-H,
на квант 2 ,on quantum 2,
Кроме того, тактовые импульсы поступают на тактирующий вход первого сумматора 2, в котором осуществл етс сложение его содержимого с кодом , наход щимс в первом регистре 1 ,In addition, the clock pulses arrive at the clock input of the first adder 2, in which its contents are added with the code in the first register 1,
Таким образом, в сумматоре 2 осуществл етс вычисление текущего интервала посто нства Lo(p+l). Лог,1 с инверсного выхода триггера 1 1 отк- рьгоает группу элементов И 3,Thus, in the adder 2, the current constant value interval Lo (p + l) is calculated. Log, 1 from the inverse trigger output 1 1 opens a group of elements And 3,
Сигнал с пр мого входа этого триггера поступает на управл ющие входы коммутаторов 4 и 5, В результате на один из входов второго сумматора 6 поступает код с третьего регистра 10, ч на другой вход - двоичный код интервала La(p+l), На выходе сумматора 6 по вл етс код аргумента . который сравниваетс на схеме сравнени 7 с кодом из первого счетчика 8.The signal from the direct input of this trigger goes to the control inputs of switches 4 and 5. As a result, one of the inputs of the second adder 6 receives the code from the third register 10, the other input is the binary code of the interval La (p + l). adder 6 an argument code appears. which is compared in the comparison circuit 7 with the code from the first counter 8.
Д1 Если , t , то на выходе схе- мл сравнени 7 остаетс лог, О, В этом случае в четвертый регистр 18 записываетс код с выходов разр дов второго сумматора 6, При осуществлении развертки крупным щагом, т,е. интервалами посто нства q-ro разр да , в третий регистр 10 код с выхода второго сумматора 6 записываетс независимо от результата операции сравнени .D1 If, t, then the output of the circuit of Comparison 7 remains a log, O, In this case, the fourth register 18 records the code from the outputs of the bits of the second adder 6, When performing the sweep with a large pinch, t, e. at intervals of q-ro discharge, in the third register 10, the code from the output of the second adder 6 is recorded regardless of the result of the comparison operation.
При по влении на выходе схемы сравнени 7 единицы первый триггер II переключаетс в 1 и лог, О с его инверсного выхода закрывает элемент И 20 и в четвертом регистре J8 остаетс прежнее значение суммыWhen the output of the comparison circuit of 7 units appears, the first trigger II switches to 1 and the log, O from its inverse output closes the AND 20 element and in the fourth register J8 remains the same value of the sum
Е E
ZlL(,(n) интервалов посто нства q-roZlL (, (n) intervals of the constant q-ro
разр да.bit
При нуле на инверсном выходе первого триггера 11 осуществл етс переход к развертке мелким щагом. Тактовые импульсы с генератора 14 поступают на вход младщего разр да 2 второго счетчика 17 и увеличивают его содержимое на квант 2 , На одну группу входов второго сумматора 6 поступает код из четвертого регистра 18, а на другую группу входов.- код La (р+1) , На выходе второго сумматора 6 по вл етс код tj,.2 , которыйAt zero on the inverse output of the first trigger 11, the transition to the sweep is performed with a small pin. The clock pulses from the generator 14 are fed to the input of the younger digit 2 of the second counter 17 and increase its content to quantum 2. The code from the fourth register 18 is fed to one group of inputs of the second adder 6, and the code La (p + 1 ), At the output of the second adder 6, the code tj, .2 appears, which
сравниваетс в схеме сравнени 7 с кодом первого счетчика 8 и записываетс в четвертый регистр 18.is compared in comparison circuit 7 with the code of the first counter 8 and is written into the fourth register 18.
Развертка мелким шагом, т.е. интервалами посто нства Л-го разр да интерполирующей пр мой , осуществл етс до тех пор, пока на выходе схемы сравнени 7 не по витс единица, В этом случае первый триг- гер 11 переключаетс в О и переклю чает второй триггер 13 в О, который запирает элементы И 15 и 16.Sweep in small steps, i.e. intervals of the L – th bit of the interpolation direct are performed until the output of the comparison circuit 7 is equal to one, In this case, the first flip-flop 11 switches to O and switches the second flip-flop 13 to O, which locks elements And 15 and 16.
ЬB
На этом вычисление функции F(t. ) а Tit заканчиваетс . При поступлении следующего счетного импульса на тактовый вход 24 устройства повтор етс описанный вычислительный процесс .That is where the calculation of the function F (t.) And Tit ends. When the next counting pulse arrives at the device clock input 24, the described computational process repeats.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU853981632A SU1300466A1 (en) | 1985-11-26 | 1985-11-26 | Device for extracting square root |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU853981632A SU1300466A1 (en) | 1985-11-26 | 1985-11-26 | Device for extracting square root |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1300466A1 true SU1300466A1 (en) | 1987-03-30 |
Family
ID=21207037
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU853981632A SU1300466A1 (en) | 1985-11-26 | 1985-11-26 | Device for extracting square root |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1300466A1 (en) |
-
1985
- 1985-11-26 SU SU853981632A patent/SU1300466A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР № 949654, кл. G 06 F 7/552, 1982. Авторское свидетельство СССР 1132289, кл. G 06 F 7/552, 1984. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| SU1300466A1 (en) | Device for extracting square root | |
| US3145292A (en) | Forward-backward counter | |
| US2978179A (en) | Electronic digital multipliers | |
| SU411453A1 (en) | ||
| SU440795A1 (en) | Reversible binary counter | |
| SU1092501A1 (en) | Square-law function generator | |
| SU1070541A1 (en) | Gray/code parallel binary code translator | |
| SU1501021A1 (en) | Function generator | |
| SU822196A1 (en) | Device for solving partial differential equations | |
| SU951294A1 (en) | Device for comparing binary numbers | |
| SU1368992A1 (en) | Code converter | |
| SU1171784A1 (en) | Multiplier | |
| SU1193672A1 (en) | Unit-counting square-law function generator | |
| SU1168928A1 (en) | Device for multiplying numbers by constant coefficient | |
| SU951304A1 (en) | Multiplication device | |
| SU700862A1 (en) | Adaptive threshold module | |
| SU642706A1 (en) | Square root computing arrangement | |
| Kambayashi et al. | The upper bound of K in K-lossless sequential machines | |
| SU1481750A1 (en) | Functional converter | |
| SU1095171A1 (en) | Versions of device for comparing numbers | |
| SU1187162A1 (en) | Device for calculating tangent value | |
| SU1756879A1 (en) | Device for determination of linearity of boolean functions | |
| SU1136149A1 (en) | Device for determining difference of two numbers | |
| SU714644A1 (en) | Converter of parallel binary-decimal 8-4-2-1- code into frequency | |
| SU752347A1 (en) | Device for computing coefficients of generalized discrete functions |