SU1300465A1 - Device for extracting square root - Google Patents
Device for extracting square root Download PDFInfo
- Publication number
- SU1300465A1 SU1300465A1 SU853932324A SU3932324A SU1300465A1 SU 1300465 A1 SU1300465 A1 SU 1300465A1 SU 853932324 A SU853932324 A SU 853932324A SU 3932324 A SU3932324 A SU 3932324A SU 1300465 A1 SU1300465 A1 SU 1300465A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- trigger
- inputs
- control unit
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть применено в качестве функционального расширител в составе больших ЭВМ или автономно в качестве специализирюван- ного вычислител при вычислении характеристик случайных процессов. Целью изобретени вл етс повышение точности вычислений за счет получени дробной части результата. Устройство содержит генератор тактовых импульсов 1, первьй элемент И 2, триггер 3, делитель 4 частоты на два. Запум , (ЛThe invention relates to computing and can be used as a functional expander in large computers or autonomously as a specialized calculator in calculating the characteristics of random processes. The aim of the invention is to improve the accuracy of calculations by obtaining the fractional part of the result. The device contains a clock pulse generator 1, the first element And 2, the trigger 3, the divider 4 frequencies into two. Zapum, (L
Description
первый интегратор 5, второй интегратор 6 третий интегратор 7, первую схему сравнени 8, вторую схему сравнени 9, блок 10 суммировани и вы- читгши , элемент задержки 11, первый эл:;мент ИЛИ 12, второй элемент ИЛИ 13, второй элемент И 14, делитель 15 частоты на п ть, третий элеthe first integrator 5, the second integrator 6 the third integrator 7, the first comparison circuit 8, the second comparison circuit 9, block 10 summation and subtraction, delay element 11, first el:; ment OR 12, second element OR 13, second element AND 14 , frequency divider 15 by five, third ele
Изобретение относитс к вычислительной технике и может быть использовано в специализированных вычислител х при измерении характеристик случайных процессов,The invention relates to computing and can be used in specialized computers in measuring the characteristics of random processes.
Цель изобретени - повьшение точности вычислений путем обеспечени возможности получени дробной части результата.The purpose of the invention is to improve the accuracy of calculations by allowing the fractional part of the result to be obtained.
На фиг.1 представлена функциональна схема предлагаемого устройства; на фиг.2 - делитель частоты .с переменным коэффициентом делени , пример исполнени ; на фиг.З - блок суммировани и вычитани , пример исполнени .Figure 1 shows the functional diagram of the device; Fig. 2 illustrates a frequency divider. with a variable division factor, an example of execution; FIG. 3 shows a summation and subtraction unit, an example of execution.
Устройство дл извлечени квадратного корн содержит генератор 1 тактовых импульсов, первьй элемент И 2, триггер 3, делитель 4 частоты на два первый 5, второй 6 и третий 7 интеграторы , первую 8 и вторую 9 схемы сравнени , блок 10 суммировани и вычитани , элемент 11 задержки, первый 12 и второй 1J элементы ИЛИ, второй элемент И 14, делитель 15 частоты на п ть, третий элемент ИЛИ 16, третий элемент И 17, делитель 18 частоты с переменным коэффициентом делени и блок 19 управлени .The device for extracting the square root contains a generator of 1 clock pulses, the first element AND 2, the trigger 3, the divider 4 frequencies into two first 5, second 6 and third 7 integrators, first 8 and second 9 comparison circuits, unit 10 summation and subtraction, element 11 delays, the first 12 and the second 1J elements OR, the second element AND 14, the frequency divider 15 by five, the third element OR 16, the third element AND 17, the frequency divider 18 with a variable division factor, and the control block 19.
Блок 19 управлени включает первый элемент ИЛИ 20, первый триггер 21, второй элемент ИЛИ 22, первый элемент И 23, второй триггер 24,третий триггер 25, второй элемент-И 26, четвертый триггер 27, первый 28 и второй 29 формирователи импульсов, третий элемент ИЛИ 30, п тый триг- гер 31 и третий элемент И 32.The control unit 19 includes the first element OR 20, the first trigger 21, the second element OR 22, the first element AND 23, the second trigger 24, the third trigger 25, the second element AND 26, the fourth trigger 27, the first 28 and the second 29 pulse shapers, the third the element OR 30, the fifth trigger 31, and the third element AND 32.
Устройство функционирует следующим образом.The device operates as follows.
мент ИЛИ 16, третий элемент И 17, делитель 18 частоты с переменным коэффициентом делени , блок 19 управлени . Вычисление квадратного корн осуществл етс последовательно: вычесление целой части и вычисление дробной части. 3 ил.ment OR 16, third element AND 17, frequency divider 18 with variable division factor, control block 19. The calculation of the square root is carried out sequentially: the calculation of the whole part and the calculation of the fractional part. 3 il.
Результат извлечени квадратного корн определ етс выражением:The result of the square root extraction is determined by the expression:
N + - 10N + - 10
INiiN«.ll5INiiN ".ll5
NK - обрабатываемое число, NK - processed number
N - ближайшее к N чиcJIo, корень из которого вл етс целым числом.N is the closest to N chicJIo, the root of which is an integer.
Дробна часть выражени имеет знак + при значени5гх обрабатываемого числаThe fractional part of the expression has a + sign when the value of the 5gh processed number
1515
NXU NX N,NXU NX N,
«и,"and,
и знак - при значени х обрабатываемого числаand sign - at the values of the processed number
NXU - ( О N,N, ,NXU - (O N, N,,
Сначала производитс .вычисление целой части результата -JN,, . Все интегратор устройства устанавливаютс в нулевое состо ние импульсом, .длительность которого превьжает врем переходных процессов в схеме. Импульс Запуск -устанавливает триггеры 21 и 25 в нулевое состо ние. Сигнал низкого уровн с выхода триггера 25 поступает на элемент И 32, запреща прохожденне выходных импульсов схемы 8 сравнени во врем вычислени целой части результата. С инверсного выхода триггера 21 сигнал поступает на элемент И 2. С приходом импульса Запуск в интегратор 5 записываетс единица, триггер 3 устанавливаетс в нулевое состо ние , подава разрешающий, сигнал на элемент И 2, Элемент И 2 открываетс , и на интеграторы 6 и 7 проход т импульсы частотой -т- и f соответственно . При равенстве импульсов в интеграторах 5 и 6 срабатывает схема 8 сравнени , выходной импульс которой устанавливает триггер 3 в единичное состо ние и сбрасывает интегратор 6 в нулевое состо ние. Прохождение импульсов через элемент И 2 прекращаетс . Выходной импульс схемы 8 сравнени , пройд через элемент 11 задержки, по истечении времени с возвращает триггер 3 в нулевое состо ние и записывает в интегратор 5 следующую единицу. С этого момента описанный цикл работы устройства повтор етс . При достижении раответственно , Далее при работе у ройства возможны два случа .First, the integer part of the result -JN ,, is calculated. All device integrators are set to the zero state by a pulse, the duration of which exceeds the transient time in the circuit. Impulse Start - sets the triggers 21 and 25 to the zero state. The low level signal from the output of the flip-flop 25 is applied to the element AND 32, prohibiting the passage of the output pulses of the comparison circuit 8 during the calculation of the integer part of the result. From the inverse output of the flip-flop 21, the signal arrives at the element AND 2. With the arrival of the impulse the trigger is entered into the integrator 5, the trigger 3 is set to the zero state, giving an enable signal, the signal to the element 2, the element 2 and opens, and to integrators 6 and 7 pulses of frequency t and f pass, respectively. With equal pulses in the integrators 5 and 6, the comparison circuit 8 operates, the output pulse of which sets the trigger 3 to one state and resets the integrator 6 to the zero state. The passage of pulses through the element 2 is stopped. The output impulse of the comparison circuit 8, having passed through the delay element 11, after a time c expires, returns trigger 3 to the zero state and writes the next unit to integrator 5. From this point on, the described device operation cycle repeats. When it is achieved, then, when working with the device, two cases are possible.
Если в процессе вычитани инт ратор 7 не переходит через О, имеет место при значени х обраба ваемого числаIf in the process of subtraction, the inter- rutor 7 does not go through O, it takes place at the values of the processed number
NXU N, NNXU N, N
хцhc
KU,KU,
10ten
то при равенстве импульсов в инт раторах 5 и 6 срабатывает схема сравнени , вькодной импульс кото переводит передним фронтом тригг 21 в-единичное состо ние, а заднthen with the equality of the pulses in the interiors 5 and 6, the comparison circuit is triggered, the decoded pulse of which translates the leading edge of the trigger 21 into a single state, and the rear
венства количества импульсов в интег 5 фронтом - триггер 24 в единичное раторе 7 обрабатываемому числу N срабатьгоает схема 9 сравнени , по выходному импульсу которой в блоке 10 сложени и вычитани фиксируетс цела часть результата , ,в делите- 20 ле 18 с переменным коэффициентом делени устанавливаетс коэффициент делени равный ,, , а интегратор 7the number of pulses in the integra 5 front — trigger 24 per unit 7 to the processed number N is triggered by comparison circuit 9, according to the output pulse of which the block part of the result is fixed in block 10 of addition and subtraction, in division 18 with a variable division factor the coefficient division equal to ,,, and integrator 7
2525
30thirty
|| СШПШП ,|| USHP,
сбрасываетс в нулевое состо ние.Выходной импульс схемы 9 сравнени устанавливает передним фронтом счетный триггер 25 в единичное состо ние, проходит через элемент И 26 и элемент ИЛИ 22, устанавлива триггер 21 в единичное состо ние. Сигнал высокого уровн с выхода триггера 25 поступает на элемент И 32, разреша прохождение выходного импульса схемы 8 сравнени во врем вычислени дробной части результата, С нулевого выхода триггера 21 подаетс сигнал, запрещающий прохождение счетных импульсов через элемент И 2. Прошедший через элемент И 26 импульс задним фронтом запускает одновибра- 40 тор 28, выходной сигнал которого разрешает запись в интегратор 7 содержимого интегратора 5 через элемент И 17, Задний фронт выходного сигнала одновибратора 28 запускает одновибратор 29, выходной сигнал которого через элемент ИЛИ 30 устанавливает триггер 31 в единичное состо ние , а через элемент ИЛИ 20 - триггер 21 в нулевое состо ние. С нуле- 50 вого выхода триггера 31 сигнал осуществл ет перевод интегратора 7 в режим вычитани , а с нулевого выхода триггера 21 сигнал разрешает прохождение счетных импульсов через элемент И 2, На интеграторы 6 и 7 прососто ние . С нулевого выхода три ра 21 поступает сигнал, запрещакщ прохождение импульсов через элем И 2. В интеграторе 7 фиксируетс татск Nj-N. С единичного выхода триггера 24 поступает сигнал, ра шающий прохождение счетных импуль через элемент И 14, а на вход уст ройства подаетс число, равное ну В интегратор 7 и делитель 18 част ты с переменным коэффициентом дел ни поступают импульсы частотойis reset to the zero state. The output pulse of the comparison circuit 9 sets the front edge of the counting trigger 25 to one state, passes through the AND 26 element and the OR 22 element, sets the trigger 21 to the single state. The high level signal from the output of the trigger 25 goes to the element AND 32, allowing passage of the output pulse of the comparison circuit 8 during the calculation of the fractional part of the result. From the zero output of the trigger 21, a signal is given that prohibits the passage of the counting pulses through the element 2. A pulse passed through the 26 And the trailing edge triggers the one-shot 40, the output of which permits recording to integrator 7 of the contents of integrator 5 via the element 17, the falling edge of the output signal of the one-shot 28 triggers the one-shot 29, o the single signal of which through the element OR 30 sets the trigger 31 to the one state, and through the element OR 20 to the trigger 21 to the zero state. From the zero output of the trigger 31, the signal transfers the integrator 7 to the subtraction mode, and from the zero output of the trigger 21, the signal permits the passage of counting pulses through the element 2, and the integrator 6 and 7. From the zero output, three times a signal is received, prohibiting the passage of pulses through ale II. In the integrator 7, the Nj-N tatsk is detected. From the single output of the trigger 24, a signal arrives that interrupts the passage of the counting pulses through the element 14, and a number equal to the integrator 7 and the divider 18 are given to the input of the device;
f соответственно. В момент 7 состо ни f, respectively. At the moment 7
Т T
тижени интегратором / состо ни срабатывает схема 9 сравнени . Пр этом триггер 24 переходит в нулев состо ние, запрещающее прохождени импульсов через элемент И 14. В д 35 теле 18 частоты с переменным коэф фициентом делени фиксируетс дро на часть результатаThe integrator / state is triggered by the comparison circuit 9. Next, the trigger 24 goes into zero state, prohibiting the passage of pulses through the element And 14. In d 35 the body 18 of the frequency with a variable division factor fixed core on the part of the result
..
ю Yu
lNjLl Nit5.)5lNjLl Nit5.) 5
JiJi
хцhc
4545
5555
котора суммируетс в блоке 10 су мировани и вычитани с цело частькг. Результат извлечени квад ного корн .поступает на выход уст ройства.which is summed up in block 10 of averaging and subtraction with integer parts of kg. The result of the quadratic root extraction is output to the device.
Если в процессе вычитани прои ходит переход интегратора 7 через О, что имеет место при значени обрабатываемого числаIf during the subtraction the integrator 7 goes through O, which is the case when the value of the processed number is
«хц - (- .N, ,"Hc - (- .N,,
то выходной импульс интегратора 7 переводит триггеры 27 и 31 блока управлени в нулевое состо ние. С выхода триггера 31 сигнал высоког уровн переводит интегратор 7 в р жим суммировани , а с выхода триг ра 27 сигнал низкого уровн перевthen the output pulse of the integrator 7 sets the triggers 27 and 31 of the control unit to the zero state. From the trigger output 31, the high-level signal converts the integrator 7 into the summation mode, and from the trigger 27 output, the low-level signal translates
ход т импульсы частотой -г- и fstroke t pulses of frequency g and f
ответственно, Далее при работе устройства возможны два случа .Responsibly, Next, when the device is operated, two cases are possible.
Если в процессе вычитани интегратор 7 не переходит через О, что имеет место при значени х обрабатываемого числаIf in the process of subtraction, integrator 7 does not go through O, which is the case for the values of the processed number
NXU N, NNXU N, N
хцhc
KU,KU,
то при равенстве импульсов в интеграторах 5 и 6 срабатывает схема 8 сравнени , вькодной импульс которой переводит передним фронтом триггер 21 в-единичное состо ние, а заднимthen, with equal pulses in the integrators 5 and 6, the comparison circuit 8 is triggered, the spin code of which converts the trigger edge 21 into a single state, and the rear edge
фронтом - триггер 24 в единичное front - trigger 24 in a single
фронтом - триггер 24 в единичное front - trigger 24 in a single
состо ние. С нулевого выхода триггера 21 поступает сигнал, запрещакщий прохождение импульсов через элемент И 2. В интеграторе 7 фиксируетс ос- татск Nj-N. С единичного выхода триггера 24 поступает сигнал, разрешающий прохождение счетных импульсов через элемент И 14, а на вход устройства подаетс число, равное нулю. В интегратор 7 и делитель 18 частоты с переменным коэффициентом делени поступают импульсы частотойcondition. From the zero output of flip-flop 21, a signal is received that prohibits the passage of pulses through element 2. In the integrator 7, the rest Nj-N is recorded. From the single output of the trigger 24, a signal is received permitting the passage of the counting pulses through the element 14, and a number equal to zero is applied to the input of the device. The integrator 7 and the frequency divider 18 with a variable division factor receive pulses of frequency
f соответственно. В момент дос- 7 состо ни Оf, respectively. At the time of completion, 7
Т T
тижени интегратором / состо ни срабатывает схема 9 сравнени . При этом триггер 24 переходит в нулевое состо ние, запрещающее прохождение импульсов через элемент И 14. В дели теле 18 частоты с переменным коэффициентом делени фиксируетс дробна часть результатаThe integrator / state is triggered by the comparison circuit 9. In this case, the trigger 24 goes into the zero state, prohibiting the passage of pulses through the element 14. In the frequency division 18, the fractional part of the result is fixed with a variable division factor 18
lNjLl Nit5.)5lNjLl Nit5.) 5
JiJi
хцhc
ысый 21 осро8 ыий а- 40 ово - 50 реж45tall 21 sharp a- 40 ovo - 50 dir45
5555
окотора суммируетс в блоке 10 суммировани и вычитани с целой частькг. Результат извлечени квадратного корн .поступает на выход устройства .The code is summed up in block 10, the summation and subtraction, with an integer portion of kg. The result of extracting the square root. Comes to the output of the device.
Если в процессе вычитани происходит переход интегратора 7 через О, что имеет место при значени х обрабатываемого числаIf in the process of subtraction, the transition of the integrator 7 through O occurs, which is the case for the values of the processed number
«хц - (- .N, ,"Hc - (- .N,,
то выходной импульс интегратора 7 переводит триггеры 27 и 31 блока 19 управлени в нулевое состо ние. С выхода триггера 31 сигнал высокого уровн переводит интегратор 7 в режим суммировани , а с выхода триггера 27 сигнал низкого уровн перевоfOthen the output pulse of the integrator 7 sets the triggers 27 and 31 of the control unit 19 to the zero state. From the output of the trigger 31, the high level signal switches the integrator 7 to the summation mode, and from the output of the trigger 27, the low signal translates the fO
дит блок 10 суммировани и вычитани в режим вычитани . При равенстве импульсов в интеграторах 5 и 6 срабатывает схема 8 сравнени , выходной импульс которой переводит передним фронтом триггер 21 в единичное состо ние, триггер 31 - в нулевое состо ние, а задним фронтом - триггер 24 в единичное состо ние, С нулевого выхода триггера 21 поступает сигнал, запрещающий прохождение импульсов через элемент И 2, В интеграторе 7 фиксируетс остаток . С выхода триггера 31 поступает сигнал низкого уровн , перевод щий интегратор 7 в режим вычитани . С единичного выхода триггера 24 поступает сигнал, разрещак ций прохождение счетных импульсов через элемент И 14, а на вход устройства подаетс число, 0 равное нулю, В интегратор 7 и в делитель 18 поступают импульсы частотой fThe unit 10 is the summation and subtraction in subtraction mode. If the pulses in integrators 5 and 6 are equal, the comparison circuit 8 is triggered, the output pulse of which converts the leading edge trigger 21 to the unit state, the trigger 31 to the zero state, and the falling front to trigger one 24, From the zero output of the trigger 21 a signal is received that prohibits the passage of pulses through an AND 2 element. In the integrator 7, a residual is fixed. A low level signal arrives from the output of trigger 31, translating integrator 7 into subtraction mode. A single output of the trigger 24 receives a signal, permits the passage of the counting pulses through the element 14, and the input of the device is given a number 0 equal to zero, the integrator 7 and the divider 18 receives pulses of frequency f
1515
-5-и-5-and
f соответственно, В моментf respectively, At the moment
2525
достижени интегратором 7 состо ни О срабатывает схема 9 сравнени . При этом триггер 24 переходит в нулевое состо ние, запрещающее прохождение импульсов через элемент И 14, В делителе 18 частоты с переменным коэффициентом делени фиксируетс дробна часть результатаwhen the integrator reaches the 7th state, the comparison circuit 9 operates. In this case, the trigger 24 goes into the zero state, prohibiting the passage of pulses through the element 14, In the frequency divider 18 with a variable division factor, the fractional part of the result is fixed
котора вычитаетс в блоке 10 суммировани и вычитани из целой части. Результат извлечени квадратного кор н поступает на выход устройства.which is subtracted in summation and subtraction unit 10 from the integer part. The result of extracting the square root is fed to the output of the device.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853932324A SU1300465A1 (en) | 1985-07-19 | 1985-07-19 | Device for extracting square root |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853932324A SU1300465A1 (en) | 1985-07-19 | 1985-07-19 | Device for extracting square root |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1300465A1 true SU1300465A1 (en) | 1987-03-30 |
Family
ID=21190183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853932324A SU1300465A1 (en) | 1985-07-19 | 1985-07-19 | Device for extracting square root |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1300465A1 (en) |
-
1985
- 1985-07-19 SU SU853932324A patent/SU1300465A1/en active
Non-Patent Citations (1)
Title |
---|
Лейнов М.Л. Цифровые делители частоты на логических элементах.М.: Энерги , 1975. Темников Ф.Е,, Славинский В.Л. Математические развертываницие системы. М.: Энерги , 1970, с.111, рис,6.7. Авторское свидетельство СССР 763893, кл. G 06 F 7/38, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3908116A (en) | Digital data filter | |
SU1300465A1 (en) | Device for extracting square root | |
US4823293A (en) | Correlation time-difference detector | |
SU1231595A1 (en) | Digital multiplier of frequency of periodic signals | |
SU1190456A1 (en) | Digital frequency multiplier | |
SU922768A1 (en) | Adaptive statistic analyzer | |
SU1569827A1 (en) | Device for exbtraction of square root | |
SU640315A1 (en) | Pulse-frequency differentiator | |
SU1300463A1 (en) | Device for representing polynominals | |
SU1425834A1 (en) | Device for measuring ratio of time intervals | |
SU1056372A1 (en) | Pulse repetition frequency multiplier | |
SU1336033A1 (en) | Device for computing current mean value | |
SU748271A1 (en) | Digital frequency meter | |
SU1584096A1 (en) | Shaper of pulse enveloping pule series | |
SU1615739A1 (en) | Device for solving systems of linear algebraic equations | |
SU903896A1 (en) | Device for determining function extremums | |
SU1656511A1 (en) | Digital function separator | |
SU1256180A1 (en) | Pulse repetition frequency multiplier | |
SU961140A1 (en) | Pulse recurrence rate to code integrating converter | |
SU1016791A1 (en) | Device for determination of mutual correlation functions | |
SU1012283A1 (en) | Radio receiver simulation device | |
SU1711325A1 (en) | Shaper of pulses | |
SU1081783A1 (en) | Pulse repetition frequency multiplier | |
SU1361576A1 (en) | Fourier digital transform device | |
SU528695A1 (en) | Pulse frequency multiplier |