SU1179329A1 - Device for taking logarithm - Google Patents

Device for taking logarithm Download PDF

Info

Publication number
SU1179329A1
SU1179329A1 SU843734880A SU3734880A SU1179329A1 SU 1179329 A1 SU1179329 A1 SU 1179329A1 SU 843734880 A SU843734880 A SU 843734880A SU 3734880 A SU3734880 A SU 3734880A SU 1179329 A1 SU1179329 A1 SU 1179329A1
Authority
SU
USSR - Soviet Union
Prior art keywords
counter
input
output
mantissa
multiplexer
Prior art date
Application number
SU843734880A
Other languages
Russian (ru)
Inventor
Владимир Яковлевич Грошев
Маркс Вольфович Гершберг
Виталий Антонович Забродский
Original Assignee
Научно-Исследовательский Институт Электронной Интроскопии При Томском Ордена Октябрьской Революции И Ордена Трудового Красного Знамени Политехническом Институте Им.С.М.Кирова
Предприятие П/Я А-1944
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 Научно-Исследовательский Институт Электронной Интроскопии При Томском Ордена Октябрьской Революции И Ордена Трудового Красного Знамени Политехническом Институте Им.С.М.Кирова, Предприятие П/Я А-1944 filed Critical Научно-Исследовательский Институт Электронной Интроскопии При Томском Ордена Октябрьской Революции И Ордена Трудового Красного Знамени Политехническом Институте Им.С.М.Кирова
Priority to SU843734880A priority Critical patent/SU1179329A1/en
Application granted granted Critical
Publication of SU1179329A1 publication Critical patent/SU1179329A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ЛОГАРИФМИРОВАНИЯ , содержащее счетчик мантиссы, счетчик характеристики, счетчик, о тличающеес  тем, что, с целью повышени  точности логарифмировани , в него введены шифратор, программируемый счетчик и мультиплексор, причем вход устройства соединен с информационным входом программируемого счетчика, выход которого подклю ; . чен к первому и второму информационным входам мультиплексора и к счетному входу счетчика, первьй, второй, третий, четвертый и п тый выходы которого соединены соответственно с третьим, четвертым, п тым, шестым и седьмым информационными входами мультиплексора, выход которого подключен к входу счетчика мантиссы, выход переноса которого соединен со входом счетчика характеристики, выход которого соединен с управл ющим входом мультиплексора и  вл етс  выходом характеристики устройi ства, выходы старших разр дов счетчика мантиссы соединены с входами (Л шифратора, выход которого соединен с управл ющим входом программируемого счетчика, выходы счетчика мантиссы  вл ютс  выходами мантиссы устройства..A device for logarithmization, containing a mantissa counter, a characteristic counter, a counter, differing in that, in order to improve the accuracy of the logarithm, an encoder, a programmable counter and a multiplexer are entered into it, and the device input is connected to the information input of a programmable counter, the output of which is connected; . To the first and second information inputs of the multiplexer and to the counting input of the counter, the first, second, third, fourth and fifth outputs of which are connected respectively to the third, fourth, fifth, sixth and seventh information inputs of the multiplexer, the output of which is connected to the input of the counter of the mantissa whose transfer output is connected to the input of a characteristic counter, the output of which is connected to the control input of a multiplexer and is the output of a characteristic of the device, the outputs of the higher bits of the counter mantissa dineny the inputs (A coder, whose output is connected to a control input of the programmable counter, the counter outputs are mantissas of the mantissa output device ..

Description

NjNj

со со гоfrom

S. 1 1 Изобретение относитс  к счетнорешающим устройствам и предназначено , в частности, дл  использовани  в устройствах регистрации радиационной измерительной аппаратуры . Цель изобретени  - повышение точности логарифмировани . На фиг. 1 представлена функциональна  схема устройства дл  логарифмировани ; на фиг. 2 - принципиальна  схема шифратора; на фиг. аппроксимационна  характеристика устройства, реализуема  при исполь зовании этого шифратора. Устройство дл  логарифмировани  содержит счетчик 1 программируемый счетчик 2, мультиплексор 3, счетчик 4 мантиссы счетчик 5 харак теристики и шифратор 6. Шифратор 6 содержит дешифратор 4-входовый элемент 1ШИ 8, 3 входовый элемент ИЛИ 9 и элемент НЕ 10. Устройство работает следующим образом. Перед очередным измерением все счетчики устройства устанавливаютс  в нуль. Нулевое значение кода на выходе счетчика 5 характеристики соответствует замыканию первого канала мультиплексора, при э.том входные импульсы поступают через программируемый счетчик 2 и мультиплексор на вход счетчика 4 мантиссы . Среднее значение коэффициента пересчета программируемого счетчика 2 выбираетс  равным основанию логарифмировани , например 2. .При этом дл  изменени  состо ни  счетчика характеристики на единицу требуетс  К К входных импльсов, где Kf, - среднее значение коэффици ента пересчета программируемого счетчика; К .. - коэффициент пересче Л. . счетчика.мантиссы. Например, при использовании дву разр дного дес тичного счетчика в качестве счетчика 4 мантиссы, изме нение, состо ни  счетчика 5 характе ристики с О до 1 происходит пр поступлении на вход устройства дву сот импульсов. Изменение кода на выхоДе счетчи . ка 5 характеристики приводит к вкл ченик) второго канала мультиплексора 3. 292 Поскольку этот канал замкнут с первым каналом, переключение счетчика 5 характеристики с 1 до 2 произойдет при поступлении на вход устройства еще двухсот импульсов. В дальнейшем вход счетчика 4 мантиссы последовательно подключаетс  к выходам двоичного счетчика 1, что удваивает число входных импульсов на каждую последующую единицу характеристики и обеспечивает грубую ап проксимацию функции логарифма при значени х характеристики логарифма,. больших единицы. Более точна  аппроксимаци  осуществл етс  за счет регулировани  коэффициента пересчета программируемого счетчика 2. Это регулирование осуществл етс  в соответствии с аппроксимирующей ломаной линией, представленной на фиг. 3. Участкам аппроксимирующей ломаной линии -соответствуют коэффициенты пересчета программируемого счетчика 2 64 „ 64 т/ .:i7- т/ - 40 2 31 а Среднее значение коэффициента пересчета программируемого счетчика 2 при выбранных К- составл ет Кп log)Kn +()K + 64 „ .44 + (&log)Kn 0,4 + 0,3 1,998, где ( u,log) - прирост логарифма дл  i-го участка аппроксимации. Таким образом, погрешность аппрок симации по основанию логарифмировани  при выбранных коэффициентах аппроксимации не превьш1ает 0,1%. Дл  реализации указанных: коэффициентов пересчета используетс  код, поступающий на управл ющие входы программируемого счетчика 2 от шифратора 6. Допустим, что программируемый .счетчик 2 управл етс  -пгбстиразр дным Двоичным кодом. Тогда дл  реализации коэффицентов пересчета, соответствующих аппроксимации, представленной на фиг.-З шифратор 6 должен функционировать в соответствии с данными, представленными в таблице. После несложных преобразований 4 3 Р Р X, 1 при р 0-3; X,, X,. X, Дл  .определени  р используетс  дешифратор 7, преобразующий двоично-дес тичный код в позиционный, подключенный входами к выходам старшего разр да счетчика 4 мантисс Дп  дальнейшего преобразовани  испол зуютс  два логических элемента ИЛИ 8 и 9 и элемент НЕ 10. Представленна  таблица функционировани  шифратора 6  вл етс  лишь вариантом используемого в устройстве алгоритма обработки. Шифратор 6 может быть выполнен J3 виде посто нного запоминающего устройства, использующего значитель но большее число входных и выходных шин и позвол ющего значительно увеличить точность логарифмировани . Таким образом, предлагаемое устройство позвол ет не только увеличить точность логарифмировани  на пор док, но и осуществить пр мое логарифмирование числа поступивших на его вход импульсов без вс ких промежуточных операций; осуществл ть логарифмирование по основанию, отличному от двух, а также получить последовательность имульсов, частота следовани  которых измен етс  во вре мени по логарифмическому закону. Выходом устройства в этом случае  вл етс  выход.мультиплексора 3.S. 1 1 The invention relates to calculating devices and is intended, in particular, for use in radiation measuring apparatus recording devices. The purpose of the invention is to improve the logarithm accuracy. FIG. 1 is a functional block diagram of the device for logarithmization; in fig. 2 - schematic diagram of the encoder; in fig. approximation characteristic of the device, realizable with the use of this encoder. The device for logarithmization contains counter 1 programmable counter 2, multiplexer 3, counter 4 mantissa counter 5 characteristics and encoder 6. Encoder 6 contains the decoder 4 input element 1 SP 8, input 3 OR 9 and element 10. The device works as follows. Before the next measurement, all device counters are set to zero. The zero value of the code at the output of counter 5 of the characteristics corresponds to the closure of the first channel of the multiplexer; with this, the input pulses go through the programmable counter 2 and the multiplexer to the input of counter 4 of the mantissa. The average value of the recalculation coefficient of the programmable counter 2 is chosen equal to the base of the logarithmization, for example 2. In this case, to change the state of the characteristic counter by one, K K input impuls is required, where Kf is the average value of the recalculation coefficient of the programmable counter; K .. - coefficient overlap L.. counter.mantissy. For example, when using a two-digit decimal counter as counter 4 of the mantissa, a change in the state of counter 5 of the characteristic from 0 to 1 occurs when two hundred pulses enter the device input. Change the code on the output counts. 5 characteristics leads to the inclusion of the second channel of multiplexer 3. 292 Since this channel is closed with the first channel, counter 5 of the characteristic from 1 to 2 will switch when another two hundred pulses arrive at the device input. Subsequently, the input of counter 4 of the mantissa is sequentially connected to the outputs of binary counter 1, which doubles the number of input pulses for each subsequent unit of characteristic and provides a rough approximation of the logarithm function with values of the characteristic of the logarithm. large units. A more accurate approximation is carried out by adjusting the recalculation coefficient of the programmable counter 2. This adjustment is carried out in accordance with the approximation broken line shown in FIG. 3. The sections of the approximating broken line correspond to the conversion factors of the programmable counter 2 64 „64 t /.: I7-t / - 40 2 31 a The average value of the conversion factor of the programmable counter 2 with selected K is Kp log) Kn + () K + 64 „.44 + (& log) Kn 0.4 + 0.3 1.998, where (u, log) is the logarithm increment for the i-th approximation area. Thus, the approximation error on the basis of the logarithm at the selected approximation coefficients does not exceed 0.1%. To implement these: conversion factors, a code is used that arrives at the control inputs of programmable counter 2 from the encoder 6. Suppose that the programmable counter 2 is controlled by -speed binary code. Then, in order to realize the conversion factors corresponding to the approximation shown in Fig. 3 to 3, the encoder 6 must function in accordance with the data presented in the table. After simple transformations 4 3 P P X, 1 with p 0-3; X ,, X ,. X, To determine p, a decoder 7 is used that converts a binary-decimal code to a positional one connected by inputs to the high-order outputs of the counter 4 mantiss DP for further conversion using two logical elements OR 8 and 9 and an element NOT 10. Presented table of the function of the encoder 6 is only a variation of the processing algorithm used in the device. The encoder 6 can be made J3 in the form of a persistent storage device using a much larger number of input and output buses and allowing a significant increase in the logarithm accuracy. Thus, the proposed device allows not only to increase the logarithm accuracy by an order of magnitude, but also to directly log the number of pulses received at its input without any intermediate operations; logarithm over a base other than two, and also obtain a sequence of pulses, the frequency of which is varied in time according to a logarithmic law. The output of the device in this case is the output. Multiplexer 3.

200200

WO МWO M

9иг. 39g 3

Claims (1)

УСТРОЙСТВО ДЛЯ ЛОГАРИФМИРОВАНИЯ, содержащее счетчик мантиссы, счетчик характеристики, счетчик, о тличающееся тем, что, с целью повышения точности логарифмирования, в него введены шифратор, программируемый счетчик и мультиплексор, причем вход устройства соединен с информационным входом программируемого счетчика, выход которого подклюсо входом счетчика характеристики, выход которого соединен с управляющим входом мультиплексора и является выходом характеристики устрой· ства, выходы старших разрядов счетчика мантиссы соединены с входами шифратора, выход которого соединен с управляющим входом программируемого счетчика, выходы счетчика мантиссы являются выходами мантиссы’ устройства. .A LOGARITHMATION DEVICE containing a mantissa counter, a characteristic counter, a counter, characterized in that, in order to increase the accuracy of the logarithm, an encoder, a programmable counter and a multiplexer are introduced into it, and the device input is connected to the information input of the programmable counter, the output of which is connected to the counter input characteristics, the output of which is connected to the control input of the multiplexer and is the output of the characteristics of the device, the high-order outputs of the mantissa counter are connected to the input and an encoder, whose output is connected to a control input of the programmable counter, the counter outputs are the outputs of the mantissas of the mantissa 'device. . Фие. 1 м с© со ьо с© >Fie. 1 m s © co s ©>
SU843734880A 1984-03-15 1984-03-15 Device for taking logarithm SU1179329A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843734880A SU1179329A1 (en) 1984-03-15 1984-03-15 Device for taking logarithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843734880A SU1179329A1 (en) 1984-03-15 1984-03-15 Device for taking logarithm

Publications (1)

Publication Number Publication Date
SU1179329A1 true SU1179329A1 (en) 1985-09-15

Family

ID=21116738

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843734880A SU1179329A1 (en) 1984-03-15 1984-03-15 Device for taking logarithm

Country Status (1)

Country Link
SU (1) SU1179329A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1003082, кл. G Об F 7/556, 1980. Авторское свидетельство СССР № 530331, кл. G 06 F 7/556, 1974. *

Similar Documents

Publication Publication Date Title
US3201781A (en) Analog to digital transducers
US4195282A (en) Charge redistribution circuits
US4366469A (en) Companding analog to digital converter
CA1144653A (en) Codec
SU1179329A1 (en) Device for taking logarithm
US3694639A (en) Pulse code modulation digital compandor
Fischer A digital processor for position sensitive detectors
US3646445A (en) Adaptive extremal coding of analog signals
EP0373736A2 (en) Analog to digital converter
RU2037190C1 (en) Multichannel system for recording physical quantities
US3383655A (en) Code converters
US3810020A (en) Encoder-decoder for pcm systems
GB1601749A (en) Digital computing device
US3651515A (en) Capacitive switched gain ratio operational amplifier pcm decoder
SU924851A1 (en) Voltage-to-code conversion method
SU1080153A1 (en) Device for automatic rescaling in analog computer
SU1188751A1 (en) Discrete fourier transformer
SU1003082A1 (en) Digital device for taking logarithm of number
SU650226A1 (en) Analogue-discrete functional device
SU1246355A1 (en) Tolerance checking device
SU1339597A2 (en) Statistical analyzer
SU935969A1 (en) Digital polygonal approximator
SU879770A1 (en) Analogue-digital converter
SU894875A2 (en) Device for changing pulse repetition frequency
SU600469A1 (en) Digital frequency meter