SU1383345A1 - Logarithmic converter - Google Patents

Logarithmic converter Download PDF

Info

Publication number
SU1383345A1
SU1383345A1 SU864098243A SU4098243A SU1383345A1 SU 1383345 A1 SU1383345 A1 SU 1383345A1 SU 864098243 A SU864098243 A SU 864098243A SU 4098243 A SU4098243 A SU 4098243A SU 1383345 A1 SU1383345 A1 SU 1383345A1
Authority
SU
USSR - Soviet Union
Prior art keywords
counter
input
output
control unit
register
Prior art date
Application number
SU864098243A
Other languages
Russian (ru)
Inventor
Ирина Аркадьевна Храмцова
Original Assignee
Всесоюзный Научно-Исследовательский И Проектно-Конструкторский Институт Геофизических Методов Исследований,Испытания И Контроля Нефтегазоразведочных Скважин
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 Всесоюзный Научно-Исследовательский И Проектно-Конструкторский Институт Геофизических Методов Исследований,Испытания И Контроля Нефтегазоразведочных Скважин filed Critical Всесоюзный Научно-Исследовательский И Проектно-Конструкторский Институт Геофизических Методов Исследований,Испытания И Контроля Нефтегазоразведочных Скважин
Priority to SU864098243A priority Critical patent/SU1383345A1/en
Application granted granted Critical
Publication of SU1383345A1 publication Critical patent/SU1383345A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/544Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices for evaluating functions by calculation
    • G06F7/556Logarithmic or exponential functions

Abstract

Изобретение относитс  к цифровой вычислительной технике и предназначено дл  вычислени  логарифма, представленного в двоичном коде. Цель изобретени  - повьппение точности вычислени  логарифма. В состав преобразовател  вход т регистр 1, генератор импульсов 2, счетчик 3 характеристики , первый элемент И 4, счетчик 5, второй и третий элементы И 6 и 7, счетчик 8 числа, делитель 9, счетчик 10 мантиссы, блок управлени  11, состо щий из элемента И 12, счетчика- распределител  13 и формировател  14. 1 ил. о 9The invention relates to digital computing and is intended to calculate the logarithm represented in binary code. The purpose of the invention is to increase the accuracy of the calculation of the logarithm. The converter includes the register 1, the pulse generator 2, the counter 3 characteristics, the first element AND 4, the counter 5, the second and third elements AND 6 and 7, the counter 8 numbers, the divider 9, the counter 10 mantissa, the control unit 11 consisting from the element And 12, the counter-distributor 13 and the former 14. 1 Il. about 9

Description

ffff

(L

соwith

0000

со со иwith so and

СПSP

1one

Изобретение относитс  к цифровой вычислительной технике : и предназначено дл  вычислени  логарифма, представленного в двоичном коде.The invention relates to digital computing: and is intended to calculate the logarithm represented in binary code.

Цель и зобретени  - повышение точности вычислени  логарифма.The purpose and the invention is to increase the accuracy of the logarithm calculation.

На чертеже представлена блок-схема логарифмического преобразовател The drawing shows a block diagram of a logarithmic converter

Преобразователь содержит регистр 1, генератор 2 импульсов, счетчик 3 характеристики, первый элемент И 4, счетчик 5., второй и третий элементы И 6 и 7, счетчик 8 числа, делитель 9The Converter contains a register 1, a generator of 2 pulses, a counter 3 characteristics, the first element And 4, the counter 5., the second and third elements And 6 and 7, the counter 8 numbers, divider 9

счетчик 10 мантиссы, блок 11 управле- 15 зультат умножить на 100.counter 10 mantissa, block 11 control- 15 result multiplied by 100.

ни , состо щий из элемента И 12, счетчика-распределител  13 и формировател  14. nor, consisting of an element And 12, the counter-distributor 13 and the former 14.

Вычисление логарифма ведетс  вThe calculation of the logarithm is conducted in

два этапа. На первом этапе вычисл ет- 20 ние содержимого счетчика 8 на 200two stages. At the first stage, the calculation of the contents of the counter 8 by 200

с  характеристика логарифма числа. Блок управлени  по внешнему сигналу Ур , переключающему через элемент И 12 счетчик-распределитель 13 в первое положение, выдает сигнал, кото- рый поступает на элемент И 4 и разрешает прохождение импульсов от генератора 2 на счетный вход счетчика 3 и вход сдвига регистра 1. Эти импульсы , подсчитываемые.счетчиком 3 харак- теристики, сдвигают двоичный код числа в регистре 1 в сторону старших разр дов до тех пор, пока старша  единица кода не займет старший разр д регистра, этот сигнал через формирователь 14 поступает на установочный вход счетчика 8 числа и через элемент И 6 на счетчик 5, разреша  , запись в них сдвинутого числа. Одновременно этот сигнал через элемент И 32 переключает счетчик-распределитель 13 во второе положение,и блок управлени  выдает сигнал, который дает разрешение через элемент И 7 на прохождение импульсов от генератора 2 на счетные входы счетчико в 5 и 8. По этому сигналу на втором этапе вы- числ етс  мантисса двоичного логарифма . Вычисление логарифма ведетс  по формулеwith the characteristic of the logarithm of a number. The control unit, using an external signal Ur, switching through the element 12 of the distributor 13 to the first position, generates a signal that arrives at the element 4 and allows the passage of pulses from the generator 2 to the counting input of the counter 3 and the shift input of register 1. These the pulses counted by the counter 3 characteristics shift the binary code of the number in register 1 towards the higher bits until the highest unit of the code does not occupy the high register bit, this signal is fed through the driver 14 to the installation input of the counter 8 numbers and through the element And 6 on the counter 5, permitting, writing in them the shifted number. At the same time, this signal through element 32 switches the distribution counter 13 to the second position, and the control unit outputs a signal that gives permission through element AND 7 for the passage of pulses from generator 2 to the counting inputs of the counter at 5 and 8. This signal at the second stage The binary logarithm mantissa is calculated. The calculation of the logarithm is based on the formula

log,N п +log, N p +

2(N- (Л2 ),2 (N- (L2),

где п - характеристика двоичного логарифма.where n is the binary logarithm characteristic.

Из анализа формулы очевидно, что дл  вычислени  мантиссы необходимо: записать в счетчик 5 число N/2, т.е. число N, сдвинутое на один разр д вFrom the analysis of the formula it is obvious that in order to calculate the mantissa it is necessary: to write down the number N / 2 in the counter 5, i.e. number N shifted by one bit

сторону младших разр дов, при этом старший разр д числа окажетс  2 V , прибавить к нему 2 , т.е. в разр д 2 записать 1; записать в счетчик 8 числа число N, причем в старший раз-р д 2, записать нуль, т.е. содержимое равно N-1, содержимое счетчика 8 числа умножить на два и разделить на содержимое счетчика 5, результат подсчитать с помощью счетчика 10 мантиссы . Так как мантисса всегда меньше единицы, то дл  записи двух значащих цифр мантиссы необходимо реТаким образом, если в конце первого этапа происходит запись в счетчиц ки 5 и 8 всех необходимых данных, то во втором этапе происходит умноже25 ЗО 45 the side of the lower bits, while the highest bit of the number will be 2 V, add 2 to it, i.e. in bit 2, write 1; write the number N into the counter of the 8th number, moreover, write the zero to the highest time, i.e. write zero; the content is N-1, the contents of the counter 8 are multiplied by two and divided by the contents of counter 5, the result is calculated using the counter 10 mantissa. Since the mantissa is always less than one, in order to record two significant digits of the mantissa, it is necessary to retouch, if at the end of the first stage there is a recording in the counters 5 and 8 of all the necessary data, then in the second stage, there is a lot more than 25 DL 45

3535

4040

00

5five

и деление его на содержимое счетчика 5. Сигнал от Шока 11 управлени  разрешает прохождение импульсов от генератора 2 на вычитающий вход счетчика 5 и на вычитающий вход счетчика 8. Прохождение импульсов разрешаетс  до обнулени  счетчика 8. Импульсы с выхода переноса счетчика 5 подсчитываютс  счетчиком 10 мантиссы.and dividing it by the contents of counter 5. The signal from Shock 11 of the control permits the passage of pulses from generator 2 to the subtracting input of counter 5 and to the subtracting input of counter 8. The passage of pulses is allowed before zeroing of counter 8. Pulses from the transfer output of counter 5 are counted by mantissa counter 10.

Claims (1)

Формула изобретени Invention Formula Логарифмический преобразователь, содержащий регистр, генератор импульсов , счетчики характеристики, числа и мантиссы, счетчик, делитель, первый, второй и третий элементы И и блок управлени , состо щий из счетчика-распределител , причем выход генератора импульсов соединен с первым входом первого элемента И, выход которого соединен со счетным.входом счетчика характеристики, выход второго элемента И соединен с установочным входом счетчика, выход третьего элемента И соединен с входом делител , отличающийс  тем, что, с целью повьш1ени  точности вычислени  логарифма, в блок упра-вле- ни  введены элемент И и формирователь, причем выход первого элемента И соединен с входом сдвига регистра, выходы которого соединены с разр дными входами счетчика числа и счетчика, кроме входов старших разр дов, выход генератора импульсов соединен с первым- входом третьего элемента И, выход которого соединен с входом вычитани  счетчика, выход переноса ко 1-орого соесоединен со счетным входом счетчика мантиссы, выход делител  соединен с входом вычитани  счетчика числа, выход переноса которого соединен с пер- вым входом второго элемента И, входы старших разр дов счетчика числа и счетчика соединены соответственно с входами логических нул  и единицы преобразовател , вход управлени  ре- гистра соединен с первым выходом счетчика-распределител  блока управлени , второй и третий выходы которого соединены соответственно с вторыми входами первого и третьего элементов A logarithmic converter containing a register, a pulse generator, characteristics counters, numbers and mantissas, a counter, a divider, the first, second and third AND elements and a control unit consisting of a distributor counter, the output of the pulse generator connected to the first input of the first And element, the output of which is connected to the counting input of the characteristic counter, the output of the second element I is connected to the installation input of the counter, the output of the third element I is connected to the input of the divider, characterized in that, in order to increase the accuracy In order to calculate the logarithm, an element And a driver are entered into the control-left unit, with the output of the first element And connected to the shift register input, the outputs of which are connected to the discharge inputs of the number counter and the counter, except for the higher-order bits, the output of the pulse generator is connected the first input of the third element I, the output of which is connected to the counter subtraction input, the transfer output to the 1-ore is connected to the counter input of the mantissa counter, the output of the divider is connected to the subtraction input of the number counter, the transfer output of which one with the first input of the second element I, the inputs of the higher bits of the counter of the number and the counter are connected respectively to the inputs of logic zero and converter units, the control input of the register is connected to the first output of the control counter of the control unit, the second and third outputs of which are connected respectively with the second inputs of the first and third elements И, управл ющий вход преобразовател  соединен с первьш входом элемента И блока управлени , второй вход которого соединен с выходом переноса счетчика числа, выход старшего разр да регистра соединен с входом формировател  блока управлени , выход которого соединен с установочным входом счетчика числа и вторым входом второго элемента И, причем в блоке управлени  выход формировател  соединен с третьим входом элемента И, выход которого соединен со счетным входом счетчика-распределител .And, the control input of the converter is connected to the first input of the element AND of the control unit, the second input of which is connected to the transfer output of the number counter, the output of the high order register is connected to the input of the driver of the control unit whose output is connected to the installation input of the number counter and the second input of the second element And, moreover, in the control unit, the output of the imager is connected to the third input of the element I, the output of which is connected to the counting input of the distributor counter.
SU864098243A 1986-06-04 1986-06-04 Logarithmic converter SU1383345A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864098243A SU1383345A1 (en) 1986-06-04 1986-06-04 Logarithmic converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864098243A SU1383345A1 (en) 1986-06-04 1986-06-04 Logarithmic converter

Publications (1)

Publication Number Publication Date
SU1383345A1 true SU1383345A1 (en) 1988-03-23

Family

ID=21249256

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864098243A SU1383345A1 (en) 1986-06-04 1986-06-04 Logarithmic converter

Country Status (1)

Country Link
SU (1) SU1383345A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2642370C1 (en) * 2017-03-21 2018-01-24 Федеральное государственное бюджетное образовательное учреждение высшего образования "Кубанский государственный технологический университет" (ФГБОУ ВО "КубГТУ") Device for calculating logarithmic functions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 691862, кл. G 06 F 7/556, 1976. Авторское свидетельство СССР № 767755, кл. G 06 F 7/556, 1978. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2642370C1 (en) * 2017-03-21 2018-01-24 Федеральное государственное бюджетное образовательное учреждение высшего образования "Кубанский государственный технологический университет" (ФГБОУ ВО "КубГТУ") Device for calculating logarithmic functions

Similar Documents

Publication Publication Date Title
SU1383345A1 (en) Logarithmic converter
SU1280624A1 (en) Device for multiplying the floating point numbers
SU1401456A1 (en) Digital device for computing the logarithm of a number
SU1151955A1 (en) Dividing device
SU1120318A1 (en) Device for calculating values of exponential dependences
SU1290535A1 (en) Data format converter
SU902282A1 (en) Device for receiving information through two parallel communication channels
SU388361A1 (en) FUNCTIONAL CONVERTER ANALOG — DIGIT
SU913367A1 (en) Device for comparing binary numbers
SU788109A1 (en) Device for computing difference of two numbers
SU879585A1 (en) Device for calculating difference of two numbers
SU769520A1 (en) Information input-output arrangement
SU926655A1 (en) Device for taking logs of numbers
SU1195360A1 (en) Device for determining extreme points
SU370605A1 (en) DEVICE FOR READING
SU855658A1 (en) Digital device for computing functions
SU525249A1 (en) Multi-decade decade counter
SU1425665A1 (en) Digital logarithmic converter
SU1167608A1 (en) Device for multiplying frequency by code
SU911521A1 (en) Digital function generator
SU1113799A1 (en) Device for extracting square root
SU970354A1 (en) Converter of binarycode to angular valve binary coded decimals
SU1056188A1 (en) Generator of random numbers with uniform distributing
SU888111A1 (en) Sine-cosine function generator
SU407312A1 (en) PRIORITY DEVICE FOR PERFORMED