Изобретение относитс к технике измерений и может быть использовано дл и:змереии логарифмического декре мента затухани электрического сигнала в интегральных микросхемах, и автоматизированных.системах управлени : . . , ,-. ... Известно устройство дл измерени логарифмического декремента, затуха НИН ,. реализующее операции дискретиза-цки сигнала путем интегрировайи его за одинаковые интерна ад времеда, определени изменени .сигнала в интервале дискрети-Заци , измерени отношени изменени сигнала к значению сигнала l|. Недостатком нэвесхного устройства . вл етс неточность определени лога рифмического декремента затухани обус-ювленна использованием приЬ;Ь 11;Лдовближенного равенства летврр ющего условию i 1, что приводит к необходимости измерени еще меньших величин сигнала и от , t 1 ,I А ношений ,.. ....: . . Наиболее близким к аредлагаемому вл етс устройство, содержащее KJHOчи управлени запоминаквдими конденсаторами , два диода, отключающие запоминсцощие конденсаторы от входа устройства в момент перехода мгновенного значени входного сигнала через максимум; эмит.тер.вые повторители «4 уменьшени вии ни входной цепи компаратора на запоминаиюадие кон денсаторы, дополнительный ключ, к выходу которого подключен резистор/ триггер формировани игшульса длительности , пропорциональной логарифмиче .скому декременту; формирователь входного сигнала в пр моугольные импульсы и делитель частоты входного сигнала, компаратор, два пиковйх детектора 2 ., Недостатком этого устройства вл етс низкое быстродействие, с занное с необходимостью измерений за tieTbipe перисэда колебаний сигнала и низка точность измерений, обуслов ленна тем, что измерени проиэвод т с не в момент нулевой Фазы первого периода колебаний, а в случайный момент времени, т.е. в момент спада первого полупериода колебани и в мо мент прохозедени сигналом зоны it вблизи дашлитудал, когда ;Эаломинающий конденсатор в силу собственной инерtlHOHHocTH уже не в состо нии зар дитьс за отведенный промежуток времени до необходимого значени . Кроме Того, устройство имеет методическую погрешность, обусловленну измерением не, декремента затухани «i-i/p ; - о1 J где А tt-i1 - амплиту 1i Keog f(o) - амп.литу A(io + TV да сигнала в момент амплитуда сигнала в момент (.) V Т - период измер емого сигнала; К коэффициент пропорциональности, а разности амплитуд в двух полупериодах b-ft;tol-AUo- T). Цель изобретени - повышение точности и быстродействи измерений. ..Указанна цель достигаетс тем, что в устройство дл -измерени логарифмического декремента затухани электрического сигнала, содержащее компаратор и два пиковых детектора, введены два элемента И, элемент НЕ, два логарИфглических усилител , дифференциальный усилитель, -три триггера , элемент ШШ-НВ и формирователь т-1пульсов сброса, при этом вход компаратора и сигнальные входы пиковых детекторов соединены с входной клеммой устройства, а выходы пиковых детекторов через логарифмические усилители сое,цинены с соответствующими входами дифференциального усилител , выходом соединенного с выходной клеммой устройства, входна клемма синхронизации устройства через первый триггер соединена с первьоми входами элементов И, выход компаратора соеДйнен с вторым входом элемента И непосредственно и через элемент НЕ с вторым входом второго элемента И, выход первого элемента И через второй триггер соединен с входом установки нул первого пикового детектора ,, выполненного с инвертированием сигнала, и с первым входом элемента ШШ-НЕ, второй вход которого соединен с входом установки нул второго пикового детектора, выполненного без инвертировани сигнала, и с выходом третьего триггера, входом соединенного с выходом второго элемента И, выход элемента ИЯИ-НЕ соединен с входом формировател импульсов сброса, выход которого подключен к входам сброса пиковых детекторов и триггеров. На фиг.1 представлена структурна схема устройства; на фиг.2 - временные диаграммы его работы. Устройство содержит пиковый детектор 1 (с инвертированием сигнала), компаратор 2, первый триггер 3, пиковый детектор 4 (без инвертировани сигнала), элемент НЕ 5, первый логарифмический усилитель 6, элементы И 7 и 8, второй логарифмический усилитель 9, второй и третий триггеры 10 и 11, элементы ИЛЯ-НЕ 12, первым .входом соединенный с выходом триггера 10 и входом установки нул пикового детектора 1, а вторым входом с выходом триггера 11 и входом установки нул пикового детектора 4, выход элемента Ш1И-НЕ 12 через формирователь 13 и 4пyльcoв сброса подключен к входам сброса триггеров 3, 10 и 11 и пиковых детекторов 1 и 4, выходы которых через логарифмические усилители 6 и 9 соответственно подключены к соответствующим входам диф ференциального усилител 14, выходом соединенного с выходной кпеммоЛ 15 устройства, вход компаратора 2 и входы пиковых детекторов 1 и 4 соеди нены с входной клеммой 16 устройства а вход триггера 3 подключен к входной клемме 17 синхронизации устройст ва. Устройство работает следующим образом . До начала измерений пиковые детек торы 1 и 4 выключены, на выходе комларатора 2 и входе элемента И 7 присутствуют сигналы, пол рность и дли lejrbHOCTb которых соответствует пол рности и длительности полупериода измер емого сигнала на входе устройст ва 16j а навыходе элемента НЕ 5 сигналы той же длительности, но об .ратнрй пол рности. При этом пиковь1й детектор 1 {отрицательных сигналов)однойолупериодный с инвертированием входных , пиковый детектор 4 (положительных сигналов) - однополупёриодный без инвертировани входiHtix сигналов. До подачи на входную клемму 17 устройства сигнала запуска триггер 3 выключен, элементы И 7 и 8 закрыты, тригге{И:1 10 и 11 выключены и сигнсшы включени с их выходо не постуд от на пиковые детекторы 1 и 4, элемент ИЛИ-НЁ 12 открыт, форми рователь 13 импульсов сброса выклюЫен , на входах логарифмических усйли тел.ей 6 и 9 дифференциального усилител 14 и выходе устройства 15 сигнал отсутствует. Рассмотрим работу устройства дл двух возможных случаев: когда сигнгш запуска на клемму 17 поступает во врем положительного и отрицательного полупериодов измер емого сигнала. В первом случае (фиг.2а) сигнал запуска своим фронтом включает триг гер 3, элемент И 7 открываетс и остаетс открытыг4 до окончани положительного полупериода измер емого сигнала. Триггер 10 со счетним входом включаетс и на пиковый детектор 1 поступает сигнал его включени , а на формирователь 13 импульсов сброса через элемент ИЛИ-НЕ 12 поступает отрицательный период сигнала, не вли ющий на его состо ние. Элемент И 6 остаетс закрытым/ триггер 11 выключен и сигнал включени с его выхода не поступает на пиковый детектор 4. После поступлени сигнала включени на пиковый детектор 1 последний начинает измерение с момента перехода измер емого сигнала в область отрицательных значений. Максимальное значение отрицательного сигнала, соответствующее моменту -to , подаетс на логарифмический усилитель 6, сигнал на выходе которого пропорционсшен логарифму входного сигнала. При переходе измер емого сигнала в отрицательную область на выходе компаратора 2 по вл етс отрицательный сигнал, а на выходе элемента НЕ 5 - положительный, в результате чего элемент И 7 закрываетс , а элемент И 8 открываетс . Триггер 10 остаётс во включенном состо нии. Триггер 11 включаетс , на пиковый детектор 4 поступает сигнал включени , после чего осуществл етс измерение , начина с момента перехода измер е| ого сигнала в область положительных значений. Максимальное значение положительного сигнала, сортветствук цее моменту tp +Т/2, фиксируетс пиковым детектором 4 и подаетс на логар ифмический усилитель 9, сигнал на выходе которого пропорционален логарифму входного сигнала. Сигналы с логари шческих усилителей поступают на вход дифференциального усилител 14, на выходщой клеым& 15 которого по вл етс сигнал, пропорциональный логад И(Ш1ческсму декременту затухани измер емого сигнала . При переходе измер емого сигнала вположительную область по вл етс по ложителык1й сигнал на выходе компаратора 2 и отрицательный на выходе элемента НК 5. Эл&ле т И 7 открываетс , а элемент И 8 закрываетс . Триггер 10 выключаетс , а триггер 11 ос таетс включенным. Состо ние элемента ИЛИ-ИЕ 12 не измен етс , формирователь 13 выключен. При очередном переходе измер емого сигнала через нуль в область отрицательных значений иа выходе компаратора 2 по вл етс отрицательный сигнал, а на выходе элемента НЕ 5 т по южительный. Элемент И 7 закрываетс , а ИЗ открываетс . Триггер 10 остаетс выключенным , -а триггер 11 выключаетс . Формирователь 13 импульсов сброра включаетс положительньвх перепадЫм сигнала, поступающим с элемента ИЛИНЕ 12. Сигнал с-выхода фо1 4ировател 13 устанавливает в исходное состо ние триггеры 3, 10 и 11 пиковые детекторы 1 и 4. После этого устройство готово к последующим измерени м. Во втором случае (фиг.26), когда сигнал запуска на Кле11« у 17 устройства поступает во врем отрицательного полупериода измер емого сигнала, он своим фронтом включает триггер 3, элемент И 8 открываетс и остаетс открытЕМ до окончани .отрицательного полупериода измер емого сигнала. Триггер 11 со счетн м входом включаетс ,и на пиковый детектор 4 посту;пает сигнал включени , а на вход фор:Мйровател 13 импульсов сброса через элемент ИЛИ-НЕ 12 поступает отрицаThe invention relates to a measurement technique and can be used for and: the measurement of the logarithmic decay of the attenuation of an electrical signal in integrated circuits, and automated control systems:. . , -. ... A device for measuring the logarithmic decrement, NIN decay, is known. realizing the operation of sampling the signal by integrating it for the same time interval, determining the change in the signal in the sampling interval, measuring the ratio of the signal change to the signal value l |. The disadvantage of the installation device. is the inaccuracy of the determination of the log of the rhythmic damping decrement due to the use of the clause; b 11; close approximation of the equality equal to the condition i 1, which leads to the need to measure even smaller values of the signal from, t 1, I And ... :. . The closest to the target is a device containing KJHO control of memory capacitors, two diodes disconnecting the storage capacitors from the input of the device at the moment when the instantaneous value of the input signal passes through a maximum; emit.ter repeaters "4 decreasing the input circuit of the comparator for memory and capacitors, an additional key, the output of which is connected to a resistor / trigger that forms an igshulse duration proportional to the log decrement; shaper of input signal into rectangular pulses and frequency divider of input signal, comparator, two peak detectors 2. The disadvantage of this device is low speed, associated with the necessity of measuring the tieTbipe of the signal fluctuation pertsed and low measurement accuracy due to the fact that It is performed not at the time of the zero Phase of the first oscillation period, but at a random moment of time, i.e. at the time of the decline of the first half-period of oscillation and at the time of prozozedozdeni the signal of the it zone near the dashlitudal when; The eominating capacitor is no longer able to charge for the allotted time to the required value due to its own inertoHoHHTHTH. In addition, the device has a methodological error due to the measurement of not, the damping factor “i-i / p; - о1 J where А tt-i1 - amplitude 1i Keog f (o) - amplitude A (io + TV and the signal at the time the signal amplitude at the time (.) V T is the period of the measured signal; K is the proportionality coefficient, and the difference amplitudes in two half-periods b-ft; tol-AUo-T). The purpose of the invention is to improve the accuracy and speed of measurements. .. The goal is achieved in that a device for measuring the logarithmic decrement of the electrical signal, containing a comparator and two peak detectors, includes two AND elements, a NOT element, two logarithmic amplifiers, a differential amplifier, three triggers, an SHSh-HB element and Shaper t-1pulsov reset, while the comparator input and signal inputs of the peak detectors are connected to the input terminal of the device, and the outputs of the peak detectors through logarithmic amplifiers soy, tsineny with the corresponding inputs the differential amplifier, the output connected to the output terminal of the device, the input terminal of the device synchronization through the first trigger connected to the first input elements And, the output of the comparator is connected to the second input element And directly and through the element NOT to the second input of the second element And, the output of the first element And through the second the trigger is connected to the input of the zero setting of the first peak detector, performed with the signal inverting, and with the first input of the W-NOT element, the second input of which is connected to the set input Application zero second peak detection performed without inverting the signal, and a third flip-flop output, the input coupled to the output of the second AND gate, an output of the INR is coupled to the input of the reset pulse, the output of which is connected to the reset inputs of the peak detector and flip-flops. Figure 1 shows the structural diagram of the device; figure 2 - timing charts of his work. The device contains a peak detector 1 (with signal inversion), comparator 2, first trigger 3, peak detector 4 (without inverting the signal), element NOT 5, first logarithmic amplifier 6, elements And 7 and 8, second logarithmic amplifier 9, second and third triggers 10 and 11, elements ILA-NOT 12, the first input connected to the output of the trigger 10 and the installation input of the zero peak detector 1, and the second input to the output of the trigger 11 and the installation input of the zero peak detector 4, the output of the element Sh1I-HE 12 through the driver 13 and 4 pips reset connected the reset inputs of triggers 3, 10 and 11 and peak detectors 1 and 4, the outputs of which through logarithmic amplifiers 6 and 9, respectively, are connected to the corresponding inputs of the differential amplifier 14, the output connected to the output terminal 15 of the device, the input of the comparator 2 and the inputs of peak detectors 1 and 4 are connected to the input terminal 16 of the device, and the input of the trigger 3 is connected to the input terminal 17 of the device synchronization. The device works as follows. Prior to the measurements, peak detectors 1 and 4 are turned off, at the output of the compiler 2 and the input of the element 7 there are signals, the polarity and length of the jrbHOCTb corresponding to the polarity and duration of the half-period of the measured signal at the input of the device 16j and the output of the element 5 the same duration, but about the same polarity. At the same time, the peak detector 1 (negative signals) is single-wave with inverting the input, the peak detector 4 (positive signals) is half-wave without inverting the input signals. Prior to triggering device input terminal 17, trigger 3 is turned off, And 7 and 8 elements are closed, {AND: 1 10 and 11 are off, and the signals from their output are not connected to peak detectors 1 and 4, OR OR element 12 open, the shaper of 13 reset pulses is OFF, at the inputs of the logarithmic terminals 6 and 9 of the differential amplifier 14 and the output of the device 15 there is no signal. Consider the operation of the device for two possible cases: when the start-up signal to terminal 17 arrives during the positive and negative half-periods of the measured signal. In the first case (Fig. 2a), the trigger signal with its front triggers trigger 3, element And 7 opens and remains open 4 until the end of the positive half-period of the measured signal. A trigger 10 with a counting input is turned on and the peak detector 1 receives a signal to turn it on, and the shaper 13 of the reset pulses through the OR-NO 12 element receives a negative signal period that does not affect its state. Element AND 6 remains closed / trigger 11 is turned off and the turn on signal from its output does not reach the peak detector 4. After the turn on signal on the peak detector 1, the latter starts the measurement from the moment the measured signal goes into the negative range. The maximum value of the negative signal, corresponding to the instant -to, is applied to the logarithmic amplifier 6, the output of which is proportional to the logarithm of the input signal. When the measured signal goes to the negative area, a negative signal appears at the output of comparator 2, and a NOT 5 output is positive, resulting in AND 7 closes and AND 8 opens. The trigger 10 remains in the on state. The trigger 11 is turned on, a turn-on signal is sent to the peak detector 4, after which a measurement is made, starting from the moment of transition the measurement e | signal in the region of positive values. The maximum value of the positive signal, the sort of torque tp + T / 2, is recorded by the peak detector 4 and is fed to a log amplifier and a 9, the output of which is proportional to the log of the input signal. The signals from the logar amplifiers are fed to the input of the differential amplifier 14, at the output of the adhesive & 15 of which a signal appears that is proportional to logad I (the decay decrement of the measured signal. When the measured signal passes, the positive region appears at the output of the comparator 2 and a negative signal at the output of the NC element 5. El & 7 opens and element 8 is closed. trigger 10 is turned off, and trigger 11 remains switched on. the state of the element OR-IE 12 does not change, the driver 13 is turned off. With the next transition of the measured signal through zero to negative values Parameter 2. A negative signal appears, and at the output of the element is NOT 5 tons south. Element I 7 closes and FROM opens. Trigger 10 remains off, and trigger 11 turns off. Slap pulse shaper 13 turns on a positive differential signal coming from the element ILINE 12. The c-output signal of the Fo1 of the navigator 13 initializes the triggers 3, 10 and 11 of the peak detectors 1 and 4. After that, the device is ready for subsequent measurements. In the second case (Fig. 26), when the trigger signal is on Kle11 "At 17 devices enters rem negative half cycle of the measured signal, it includes its front trigger 3, AND gate 8 is opened and remains open until completion .otritsatelnogo half period of the measured signal. The trigger 11 with a counting input is turned on, and the peak detector 4 is placed on the post; the switch-on signal goes on, and the form input signal goes to: The MIROVATEL 13 reset pulses through the OR-NOT 12 element receives a denial