SU1160405A1 - Digital logarithmic function generator - Google Patents

Digital logarithmic function generator Download PDF

Info

Publication number
SU1160405A1
SU1160405A1 SU833612847A SU3612847A SU1160405A1 SU 1160405 A1 SU1160405 A1 SU 1160405A1 SU 833612847 A SU833612847 A SU 833612847A SU 3612847 A SU3612847 A SU 3612847A SU 1160405 A1 SU1160405 A1 SU 1160405A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
code
converter
Prior art date
Application number
SU833612847A
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 SU833612847A priority Critical patent/SU1160405A1/en
Application granted granted Critical
Publication of SU1160405A1 publication Critical patent/SU1160405A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

ЦИФРОВОЙ ЛОГАРИФМИЧЕСКИЙ ФУНКЦИОНАЛЬНЫЙ ПРЕОБРАЗОВАТЕЛЬ, содержащий генератор импульсов, первьй и второй счетчики и блок сравнени  кодов, первый вход которого соединен с выходом второго счетчика, о т-л ич а to щ и и с   тем, что, с целью повышени  точности воспроизведени  логарифмической зависимости, в него i А дополнительно введены вычитатель кодов, счетчик с предварительной установкой, регистр результата и блок задержки, причем информационный вход преобразовател  соединен с первым входом вычитател  кодов и вторым входом блока сравнени  кодов, выход которого подключен к входу блока задержки и управл ющему входу регистра результата, информационный вход которого соединен с выходом первого счетчика, счетный вход которого подключен к выходу переноса счетчика с предварительной установкой, информационный вход которого соединен с выходом вычитател  кодов, второй S вход которого подключен к входу пред (Л экспонентдиального коэффициента преобразовател , выход генератора импульсов соединен со счетным входом второго счетчика, выход блока задерж- С ки подключен к синхровходам первого и второго счетчиков, вход подэкспоненциального коэффициента преобразовател  соединен с входом установки счетчика с ттредварительной установкой. Ci О СД A DIGITAL LOGARIFMIC FUNCTIONAL CONVERTER containing a pulse generator, first and second counters and a code comparison unit, the first input of which is connected to the output of the second counter, so that, in order to improve the accuracy of reproduction of logarithmic dependence, In addition, a code subtractor, a preset counter, a result register, and a delay unit are added to it i, and the information input of the converter is connected to the first input of the code subtractor and the second input of the cf. code, the output of which is connected to the input of the delay unit and the control input of the result register, the information input of which is connected to the output of the first counter, the counting input of which is connected to the transfer output of the counter with presetting, the information input of which is connected to the output of the code reader, the second S input which is connected to the input of the pre (L exponential coefficient of the converter, the output of the pulse generator is connected to the counting input of the second counter, the output of the delayed-C ki is connected to inhrovhodam first and second counters, podeksponentsialnogo coefficient input transducer connected to the counter input of the installation with ttredvaritelnoy installation. Ci O SD

Description

Изобретение откоситс  к вычислительной технике и автоматике, в час ности к устройствам обработки дискре ной информации. Известен цифровой логарифмический функциональный преобразователь, использующий способ кусочно-линейной аппроксимации логарифмической зависимости , основанный на замене кривой этой зависимости отрезками пр мых. Преобразователь содержит счетчикс управл емым коэффициентом пе1эесче та, коммутатор, два блока пам ти, регистр результата, три счетчика и два триггера 1 . j Недостатками преобразовател   вл  ютс  низка  точность-и невысокое быстродействие. , . Наиболее близким к изобретению  вл етс  логарифмичес-сий преобразователь , содержащий блок управлени , блок совпадени  кодов, счетчик импульсов мантиссы, дешифратор, счетчик импульсов характеристики, генератор импульсов, делитель частоты, триггер и элемент И 2 . Недостатком известного преобразовател   вл етс  низка  точность вычислени  логарифмической функции. Цель изобретени  - повьппение точности воспроизведени  логарифмической зависимости. Поставленна  цель достигаетс  тем, что в цифровой логарифмический функциональный преобразователь, содержащий генератор импульсов, первый и второй счетчики и блок сравнени  кодов, первый вход которого соединен с выходом второго счетчика, дополнительно введены вычитатель кодов, счетчик с предварительной установкой регистр результата и блок задержки,, причем информационный вход преобразо вател  соединен с первым входом вычитател  кодов и вторь1м входом блока сравнени  кодов, выход которого подключен к входу блока задержки и управл ющему входу регистра результа та, информационный вход которого сое динен с выходом первого счетчика, счетный вход которого подключен к вы ходу переноса счетчика с предварительной установкой, информационный вход которого соединен с выходом вычитател  кодов,, второй вход которого подключен к входу предэкспонен11;иального коэффициента преобразовате л , выход генератора импульсов соеди нен со счетным BXOZXOM второго счетчика , выход блока задержки подк;гючен к синхровходам первого и второго счетчиков, вход подгжспоненциального коэффициента преобразовател  соединен с входом установки счетчика с. предварительной установкой. На чертеже изображена структурна  схема предлагаемого устройства. Цифровой логарифмический функциональный преобразователь содержит вычитатель 1 кодов, у которого на второй вход подан пpeдэJ cпoнeнциальный коэффициент, на первый поступает входной сигнал, а выход соединен с первым входом счетчика 2 с предварительной установкой, на второй вход которого подан подэкспоненциальный коэффициент, а выход которого подключен к счетному входу первого счетчика 3, который своим выходом подключен к информационному входу регистра 4 результата. Генератор 5 импульсов через второй счетчик 6 подключен к первому входу блока 7 сравнени  кодов, на второй вход которого поступает входной сигнал, а выход которого подключен к управл ющему входу регистра 4 результата и через блок 8 задержки соединен с синхровходами первого 3 и второго 6 счетчиков. Математическое обоснование предэкспоненциального и подэкспоненциального коэффициентов заключаетс  в сущности физических процессов и поэтому должно рассматриватьс  в каждом конкретном случае отдельно, например, они необходимы дл  измерени  интенсивности jP-нзлучени  эманации и ее продуктов распада. Преобразователь работает следующим образом. Перед началом цикла преобразовател  все счетчики и регистр результата наход тс  в нулевом состо нии. На один из входов вычитател  1 кодов, который  вл етс  входом преобразовател , и одновременно на второй вход блока 7 сравнени  кодов подаетс  входной сигнал У ь ввде.кода. На другой вход вычитател  кодов подаетс  код, соответствующий значению предэкспоненциального коэффициента А. С выхода вычитател  кодов на вход счетчика 2 с предварительной установкой подаетс  код, соответствующий разности предэкспонен3 циального коэффициента А и входног сигнала У . Счетчик с предварительной устав кой, в зависимости от подаваемого на второй его вход подэкспоненциаль ного коэффициента в виде частоты, осуществл ет преобразование 1./а(АЧастота , соответствующа  этой вели чине, интегрируетс  (суммируетс ) в первом счетчике 3 У у X--J{1/g(A-y))dy--l-li/Q)en(A-y) 1 ЕпА/а-Еп(А-У)/а, ,0 и результат вьщаетс  в регистр 4 результата. Дл  задани  пределов интегрировани  в преобразователь введен блок 7 сравнени  кодов, на один вход которого задан код входно ( Величины, а на другой поступает линейно нарастающий код с второго счетчика 6, на вход которого поступает частота с генератора 5 импуль54 сов. в момент равенства кодов на обоих входах блока 7 сравнени  кодоп вырабатываетс  сигнал, по которому в регистр 4 результата переписываетс  содержимое счетчика 3. Этот же сигнал с задержкой по времени, ofecneчивающей четкую перезапись информации в регистр результата, через блок 8 задержки поступает на счетчики 3 и 6 и занул ет их. Далее цикл преобразовани  повтор етс . Положительный эффект от использовани  изобретени  состоит в повьпиении точности воспроизведени  логарифмической зависимости благодар  тому, что предлагаемое устройство позвол ет исключить методическую ошибку воспроизведени . Ошибка дискретности, одинакова  дл  всех цифровых приборов , составл ет 1/2, Где И - разр дность кода. Так, в случае применени  10-разр дного кода в предлагаемом устройстве ошибка составл ет менее 0,1%.The invention is related to computing and automation, in particular, to devices for processing discrete information. A digital logarithmic functional converter is known, which uses a piecewise linear approximation method of the logarithmic dependence, based on replacing the curve of this dependence with straight-line segments. The converter contains counters with a controlled network coefficient, a switch, two memory blocks, a result register, three counters, and two triggers 1. j The disadvantages of the converter are low accuracy and low speed. , Closest to the invention is a logarithmic converter comprising a control unit, a code matching unit, a mantissa pulse counter, a decoder, a characteristic pulse counter, a pulse generator, a frequency divider, a trigger, and an And 2 element. A disadvantage of the known converter is the low accuracy of the calculation of the logarithmic function. The purpose of the invention is to improve the accuracy of reproduction of logarithmic dependence. The goal is achieved by the fact that a digital logarithmic functional converter containing a pulse generator, first and second counters and a code comparison unit, the first input of which is connected to the output of the second counter, additionally includes a code subtractor, a counter with a presetting of the result register and delay block, moreover, the information input of the converter is connected to the first input of the code reader and the second input of the code comparison unit, the output of which is connected to the input of the delay unit and the control The result register input, whose information input is connected to the output of the first counter, the counting input of which is connected to the transfer output of the counter with presetting, the information input of which is connected to the output of the code reader, the second input of which is connected to the input of the pre-exponential; l, the output of the pulse generator is connected to the counting BXOZXOM of the second counter, the output of the delay block is connected to the synchronous inputs of the first and second counters, the input of the under-exponential coefficient is pre The former is connected to the installation input of the counter. pre-installation. The drawing shows a structural diagram of the proposed device. The digital logarithmic function converter contains a 1 code subtractor, which has a differential factor for the second input, a coefficient for the first input, and an output for the first input of counter 2 with a preset, for the second input of which a subexponential factor is applied, and the output of which is connected to the counting input of the first counter 3, which by its output is connected to the information input of the register 4 of the result. The pulse generator 5 is connected via the second counter 6 to the first input of the code comparison unit 7, the second input of which receives an input signal, and the output of which is connected to the control input of the result register 4 and is connected to the synchronous inputs of the first 3 and second 6 counters through the delay block 8. The mathematical substantiation of the pre-exponential and sub-exponential coefficients lies in the essence of physical processes and therefore must be considered separately in each particular case, for example, they are necessary to measure the intensity of jP-radiation of emanation and its decay products. The Converter operates as follows. Before the start of the converter cycle, all counters and the result register are in the zero state. One of the inputs of code reader 1, which is the input of the converter, and at the same time, the second input of the code comparison unit 7 is supplied with an input signal, Ui, in the video code. The code corresponding to the value of the pre-exponential coefficient A is fed to the other input of the code subtractor. From the output of the code subtractor, the code corresponding to the difference between the pre-exponential coefficient A and the input signal Y is applied to the input of counter 2 with presetting. A counter with a pre-setpoint, depending on the subexponential coefficient applied to the second input as a frequency, performs the 1. / a conversion. The frequency corresponding to this value is integrated (summed) in the first counter 3 Y Y X - J {1 / g (Ay)) dy - l-li / Q) en (Ay) 1 EnA / a-En (A-Y) / a,, 0 and the result is entered into result register 4. In order to set the integration limits, a block 7 code comparison is entered into the converter, one input of which is given an input code (Values, and the other receives a linearly increasing code from the second counter 6, the input of which receives the frequency from the generator 5 pulses at the time of equal codes Both inputs of block 7 of the codeop produce a signal that rewrites the contents of counter 3 into result register 4. The same signal with a time delay, which ensures a clear rewriting of information into the result register, through block 8 for The holders arrive at counters 3 and 6 and bring them down. Then the conversion cycle repeats. The positive effect of using the invention is to show the reproduction accuracy of the logarithmic dependence due to the fact that the proposed device eliminates the methodical reproduction error. The discreteness error is the same for all digital devices, is 1/2, where AND is the code width. So, in the case of using a 10-bit code in the proposed device, the error is less than 0.1%.

Claims (1)

ЦИФРОВОЙ ЛОГАРИФМИЧЕСКИЙ ФУНКЦИОНАЛЬНЫЙ ПРЕОБРАЗОВАТЕЛЬ, содержащий генератор импульсов, первый и второй счетчики и блок сравнения кодов, первый вход которого соединен с выходом второго счетчика, о т л и. ч a to щ и й с я тем, что, с целью повышения точности воспроизведения логарифмической зависимости, в негоA DIGITAL LOGARITHMIC FUNCTIONAL CONVERTER containing a pulse generator, first and second counters and a code comparison unit, the first input of which is connected to the output of the second counter, exc. Particularly, in order to increase the accuracy of reproducing the logarithmic dependence, I f дополнительно введены вычитатель кодов, счетчик с предварительной установкой, регистр результата и блок задержки, причем информационный вход преобразователя соединен с первым входом вычитателя кодов и вторым входом блока сравнения кодов, выход которого подключен к входу блока задержки и управляющему входу регистра результата, информационный вход которого соединен с выходом первого счетчика, счетный вход которого подключен к выходу переноса счетчика с предварительной установкой, информационный вход которого соединен с выходом вычитателя кодов, второй G вход которого подключен к входу пред- _ экспоненциального коэффициента преобразователя, выход генератора им- f пульсов соединен со счетным входом второго счетчика, выход блока задерж- ки подключен к синхровходам первого ', и второго счетчиков, вход подэкспоненциального коэффициента преобразо- _ вателя соединен с входом установки счетчика с предварительной установкой. л *I f additionally introduced a code subtractor, a preset counter, a result register and a delay unit, the information input of the converter being connected to the first input of the code subtractor and the second input of the code comparison unit, the output of which is connected to the input of the delay unit and the control input of the result register, information input which is connected to the output of the first counter, the counting input of which is connected to the transfer output of the counter with a preset, the information input of which is connected to the output of the calculator code generator, the second G input of which is connected to the input of the pre-exponential coefficient of the converter, the output of the pulse generator is connected to the counting input of the second counter, the output of the delay unit is connected to the clock inputs of the first 'and the second counters, the input of the sub-exponential conversion coefficient _ The device is connected to the input of the counter installation with a preset. l * »"
SU833612847A 1983-06-28 1983-06-28 Digital logarithmic function generator SU1160405A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833612847A SU1160405A1 (en) 1983-06-28 1983-06-28 Digital logarithmic function generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833612847A SU1160405A1 (en) 1983-06-28 1983-06-28 Digital logarithmic function generator

Publications (1)

Publication Number Publication Date
SU1160405A1 true SU1160405A1 (en) 1985-06-07

Family

ID=21071123

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833612847A SU1160405A1 (en) 1983-06-28 1983-06-28 Digital logarithmic function generator

Country Status (1)

Country Link
SU (1) SU1160405A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР 641450, кл. G 06 F 7/556, 1977. 2. Авторское свидетельство СССР № 532099, кл. G 06 F 7/556, 1975 (прототип). *

Similar Documents

Publication Publication Date Title
SU1160405A1 (en) Digital logarithmic function generator
SU1751749A1 (en) Device for counting ones in double-numbers
SU1124321A1 (en) Device for calculating values of gamma function
SU832556A1 (en) Follow-up frequency multiplier
SU813419A1 (en) Multiplier-divider
SU658566A1 (en) Piece-linear function generator
SU881620A1 (en) Slip meter
US4156916A (en) Pulse burst processing system and apparatus
SU868769A1 (en) Digital linear extrapolator
SU1034145A1 (en) Controlled pulse repetition frequency multiplier
SU1221651A1 (en) Device fwr calculating values of inverse tangent function
SU436351A1 (en) POSSIBLE DEVICE
SU955053A1 (en) Division device
SU857982A1 (en) Square rooting device
SU642715A2 (en) Dispersion determining device
SU1218367A1 (en) Digital device for controlling motor velocity
SU1070546A1 (en) Function generator
SU1092516A1 (en) Digital sine function generator
SU935969A1 (en) Digital polygonal approximator
SU1488842A1 (en) Random signal mean value computer
SU1008733A1 (en) Binary number division device
SU1543400A1 (en) Device for multiplication of variable by a fraction
SU390524A1 (en) DEVICE FOR CALCULATION OF ELEMENTARY FUNCTIONS
SU1339553A1 (en) Divider
SU1200283A1 (en) Device for calculating values of function y- arctg (x)