SU1348830A1 - Device for computing angle sine and cosine by table method - Google Patents

Device for computing angle sine and cosine by table method Download PDF

Info

Publication number
SU1348830A1
SU1348830A1 SU864104957A SU4104957A SU1348830A1 SU 1348830 A1 SU1348830 A1 SU 1348830A1 SU 864104957 A SU864104957 A SU 864104957A SU 4104957 A SU4104957 A SU 4104957A SU 1348830 A1 SU1348830 A1 SU 1348830A1
Authority
SU
USSR - Soviet Union
Prior art keywords
argument
output
register
input
bits
Prior art date
Application number
SU864104957A
Other languages
Russian (ru)
Inventor
Наталия Александровна Баранова
Сергей Борисович Востоков
Original Assignee
Предприятие П/Я В-8624
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 Предприятие П/Я В-8624 filed Critical Предприятие П/Я В-8624
Priority to SU864104957A priority Critical patent/SU1348830A1/en
Application granted granted Critical
Publication of SU1348830A1 publication Critical patent/SU1348830A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано автономно в быстродействующих вычислител х или в качестве функциональных расширителей в составе больших ЭВМ. Целью изобретени   вл етс  повышение точности вычислений за счет устранени  методической ошибки путем использовани  дополнительного кода адреса и исключение выброса функции при нулевых значени х аргумента . Устройство содержит регистр 1 синуса,регистр 2 косинуса,блок 3 пам ти, сумматор 4, коммутатор 5, группу элементов НЕ 6, вход 7 задани  типа функции, регистр 8 аргумента , деп1ифратор 9 знаков, дешифратор 10 режима, вход 11 аргумента,элемент ИЛИ 12. элемент И 13. 1 ил. Т // (Л UJ ШThe invention relates to computing and can be used autonomously in high-speed computers or as functional expanders in large computers. The aim of the invention is to improve the accuracy of calculations by eliminating the method error by using an additional address code and eliminating the function overshoot at zero argument values. The device contains a sine register 1, a cosine register 2, a memory block 3, an adder 4, a switch 5, a group of elements NOT 6, an input 7 specifying a function type, an argument register 8, a depot 9 characters, a mode decoder 10, an argument 11 input, the OR element 12. element And 13. 1 ill. T // (L UJ W

Description

1one

Изобретение относитс  к вычислительной технике и может быть использовано антономно в быстродействующих вычислител х или в качестве функциональных расширителей в составе больших ЭВМ.The invention relates to computing and can be used antonomically in high-speed computers or as functional expanders in large computers.

Целью изобретени   вл етс  повышение точности вычислений за счет устранени  методической ошибки путем использовани  дополнительного кода адреса и исключение выброса функции при нулевых значени х аргумента.The aim of the invention is to improve the accuracy of calculations by eliminating the method error by using an additional address code and eliminating the function overshoot at zero argument values.

На чертеже представлена функциональна  схема устройства.The drawing shows the functional diagram of the device.

Устройство содержит регистр 1 синуса , регистр 2 косинуса, блок 3 пам ти , сумматор А, коммутатор 5,группу элементов НЕ 6, вход 7 задани  типа функции,регистр 8 аргумента,дешифратор 9 знаков, дешифратор 10 режима , вход 11 аргумента, элемент ИЛИ 12, элемент И 13.The device contains a sine register 1, a cosine register 2, a memory block 3, an adder A, a switch 5, a group of elements NOT 6, an input 7 specifying a function type, an argument register 8, a decoder 9 characters, a decoder 10 mode, an argument 11 11, the element OR 12, element and 13.

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

В блок 3 пам ти записана таблица кодовых значений синуса,соответствующих функции первого квадранта.Интервал представлени  периода Т функции соответствует максимальному значению . п-разр дного кода аргумента (т 2 ). Аргумент поступает ч преобразователь , с п разр дов регистра 8 аргумента,в который аргумент записываетс  гго входу 11. С по влением на входе 7 сигнала о выборке одной функции из пары (sin х или cos х) дл  аргумента, наход щегос  в регистре 8 аргумента, дешифратор 10 режима разрешает прохождение аргумента iepe- коммутатор 5 либо в пр мом, плбо р (:.бр;ггном коде.The memory block 3 contains a table of sine code values corresponding to the function of the first quadrant. The interval of representation of the period T of the function corresponds to the maximum value. n-bit code of the argument (m 2). The argument enters the converter, from the n bits of register 8 of the argument, in which the argument is written to input 11. With the output at 7, a signal about sampling one function from the pair (sin x or cos x) for the argument, which is in register 8 of the argument The mode decoder 10 permits the passage of the iepe-switch 5 argument either directly, plbo p (: .br; yy code.

Дл  значений аргумента в разр дах п и п-1 00 (Т квадрант) адрес функции sin X образуетс  через пр мой код (ПК), а адрес функции cos х - через обратный код (ОК). Дл  значени  аргумента в разр дах п и п-1 соответственно 01 (Л квадрант) адреса функции sin X образуетс  через ОК, адрес функции cos х - через ПК. Дл  значений аргумента в разр дах п и п-1 соотрр.тственно 10 (III квадрант) адрес функции sin х обра- jyeTCH через ПК, а адрес функции cos X - через СК. Дл  значений аргумента Б разр дах п и п-1 соответгм венно 11 (IV квадрант) здрес функFor argument values in bits n and n-1 00 (T quadrant), the address of the function sin X is formed through the forward code (PC), and the address of the function cos x through the reverse code (OK). For the argument value in bits n and n-1, respectively, 01 (L quadrant) of the address of the function sin X is formed through OK, the address of the function cos x is formed through the PC. For argument values in bits n and n-1, respectively, 10 (III quadrant) is the address of the function sin x is jyeTCH via the PC, and the address of the cos X function is via the CS. For the values of the argument B bit n and n-1, respectively, 11 (IV quadrant) health function

488302488302

ции sin X образуетс  через ОК, а адрес функции cos X - через ПК.sin X is formed through the OK, and the address of the cos X function via the PC.

В сумматоре А образуетс  адрес Р  чейки блока 3 посто нной пам ти.In the accumulator A, the address P of the constant memory block 3 is formed.

Если передача аргумента дешифратором 10 режима разрешаетс  в ПК, на вход второго слагаемого сумматора 4 поступает величина аргументаIf the transfer of the argument by the decoder 10 mode is resolved to the PC, the value of the argument arrives at the input of the second term of the adder 4

10 без изменений. Если передача аргумента дешифратором 10 режима разрешаетс  в ОК, на вход второго слагаемого сумматора 4 поступает ОК младших разр дов аргумента.10 unchanged. If the transfer of the argument by the decoder 10 mode is resolved to OK, the OK of the lower order bits of the argument is received at the input of the second term of the adder 4.

15 Когда в п-2 младших разр дах аргумент в ПК содержит только нули, с группы элементов НЕ 7 на вход вто рого слагаемого поступают только единицы ,сигнал на входе первого слагае20 мого равен нулю. Адрес в этом случае образуетс  из всех единиц и соответствует точке таблицы. В противном случае к величине ОК добавл етс  единица в младший разр д.15 When in the p-2 lower-order bits the argument in the PC contains only zeros, only a few are received from the group of elements NOT 7 at the input of the second term, the signal at the input of the first term 20 is zero. The address in this case is formed from all units and corresponds to the point of the table. Otherwise, a unit is added to the value of OC to the least significant bit.

5five

Claims (1)

Формула изобретени Invention Formula Устройство дл  вычислени  синуса и косинуса угла табличным методом содержащее регистр аргумента, регистр синуса, регистр косинуса, блок пам ти , сумматор, коммутатор, группу элементов НЕ, дешифратор знаков и дешифратор режима, причем выходы (п-2)-х младших разр дов регистра аргументаA device for calculating the sine and cosine of an angle by a tabular method containing the argument register, the sine register, the cosine register, the memory block, the adder, the switch, the group of elements NOT, the character decoder and the decoder mode, the outputs of the (n-2) -high-order bits of argument 35, (п-разр дность аргумента) соединены с первым информационным входом коммутатора , второй информационный вход которого соединен с выходами элементов НЕ группы, входы которых соедине ны с выходами (п-2)-х младших разр дов регистра аргумента,выходы п-го и (n-l)-ro разр дов которого соединены соответственно с первым и вторым входами дешифратора знаков, выход которого и выход п-го разр да регистра аргумента соединены с входами старших знаковых разр дов соответственно регистров косинуса и синуса, информационные входы младших разр дов35, (the p-argument width) is connected to the first information input of the switch, the second information input of which is connected to the outputs of the NOT elements of the group whose inputs are connected to the outputs of the (n-2) -highr bits of the argument register, the outputs of the nth and (nl) -ro bits of which are connected respectively to the first and second inputs of the character decoder, the output of which and the output of the n-th bit of the argument register are connected to the inputs of the higher sign bits of the cosine and sine registers, respectively, the information inputs of the lower bits которых соединены с выходом блока пам ти, адресные входы которого соединены с выходом сумматора, управл - юш.ий вход коммутатора соединен с пер- ным выходом дешифратора режима, пер-. which are connected to the output of the memory unit, the address inputs of which are connected to the output of the adder, the control input of the switch is connected to the first output of the mode decoder, the first. 5 Bbifi и второй входы которого соедине- i.bi соответственно с выходом (п-1)- го разр да регистра аргумента и иходом задан1   типа функций устрой305 Bbifi and the second inputs of which are connected by i.bi respectively with the output of the (n-1) - th bit of the register of the argument and the input specified 1 type of device functions 4545 1348830 1348830 ства, отличающеес  тем,соединен с первым входом элементаdifferent from that connected to the first input of the element что, с целью повышени  точности вы-И, второй вход которого соединен сthat, in order to improve the accuracy of you-I, the second input of which is connected to числени , устройство дополнительновторым выходом дешифратора режима,numbering, the device is an additional output of the mode decoder, содержит элемент И и элемент ИЛИ,при-выход элемента И соединен с вхочем выходы (п-2)-х младших разр довдом первого слагаемого сумматора,contains the element AND and the element OR, the output of the element AND is connected to what the outputs of the (n-2) -s minor bits of the first component of the adder, регистра аргумента соединены с вхо-вход второго слагаемого которогоthe argument register is connected to the input of the second term of which цами элемента ИЛИ, выход которогосоединен с выходом коммутатора.element OR, the output of which is connected to the output of the switch.
SU864104957A 1986-04-08 1986-04-08 Device for computing angle sine and cosine by table method SU1348830A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864104957A SU1348830A1 (en) 1986-04-08 1986-04-08 Device for computing angle sine and cosine by table method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864104957A SU1348830A1 (en) 1986-04-08 1986-04-08 Device for computing angle sine and cosine by table method

Publications (1)

Publication Number Publication Date
SU1348830A1 true SU1348830A1 (en) 1987-10-30

Family

ID=21251834

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864104957A SU1348830A1 (en) 1986-04-08 1986-04-08 Device for computing angle sine and cosine by table method

Country Status (1)

Country Link
SU (1) SU1348830A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1042013, кл. G 06 F 7/548, 1982. Авторское CBi-щетельство СССР № 1146661, кл. G 06 F 7/548, 1984. *

Similar Documents

Publication Publication Date Title
SU1348830A1 (en) Device for computing angle sine and cosine by table method
SU911510A1 (en) Device for determining maximum number
JPS5592054A (en) Unique word detection circuit
SU1273919A1 (en) Device for adding in binary and binary-coded decimal number system
SU1264170A1 (en) Differentiating device
SU1662007A1 (en) Device for code checking
SU1267624A1 (en) Binary code-to-modular code converter
SU424142A1 (en) DEVICE COMPARISON OF TWO NUMBERS IN DIGITAL CODE
SU588561A1 (en) Associative memory
SU1275778A1 (en) Device for determining number of ones in binary number
SU1383345A1 (en) Logarithmic converter
SU1427577A1 (en) Device for reducing fibonacci codes to minimal form
SU1594542A1 (en) Device for determining number of units in binary code
SU1451687A1 (en) Square rooting device
SU1444876A1 (en) Arrangement for rotating the coordinate system
SU1251103A1 (en) Fknction generator fknction generatorating structure
SU1383505A1 (en) Converter of binary code to binary-coded decimal code of angular units
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
SU1478205A1 (en) Data input unit
SU678484A1 (en) Device for selecting coordinate information
SU1425674A1 (en) Controlled arithmetic device
SU1357951A2 (en) Device for computing trigonometrical functions
SU1273918A1 (en) Adding-subtracting device
SU1275425A1 (en) Device for converting binary code to binary-coded decimal code
SU1429111A1 (en) Device for squaring numbers with arbitrary signs