SU746546A1 - Digital averaging device - Google Patents

Digital averaging device Download PDF

Info

Publication number
SU746546A1
SU746546A1 SU772551984A SU2551984A SU746546A1 SU 746546 A1 SU746546 A1 SU 746546A1 SU 772551984 A SU772551984 A SU 772551984A SU 2551984 A SU2551984 A SU 2551984A SU 746546 A1 SU746546 A1 SU 746546A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
trigger
unit
Prior art date
Application number
SU772551984A
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 SU772551984A priority Critical patent/SU746546A1/en
Application granted granted Critical
Publication of SU746546A1 publication Critical patent/SU746546A1/en

Links

Description

(54) ЦИФРОВОЕ УСРЕДНЯЮЩЕЕ УСТРОЙСТВО Изобретение относитс  к вычиспите ь ной технике н может быть применено дл статических исследований случайных процессов в низкочастотной обпастн. Известно устройство l дл  усредне ни  случайного процесса, содержащее аналого-цифровой преобразователь (АЦП) вычитатель, Триггер, реверсивный счетчик, сумматор - вычктатель с триггером знака, блок управлени , блок перезаписи и регистр. Наиболее близким по технической сущ ности к изобретению  вл етс  цифровое усредн ющее устройство 2 , содержащее накапливающий сумматор, счетчик замеров, нуль - орган, тритт, блок управлени , блок пам ти и генератор им пульсов. Недостатками таких устройств  вл ют . с  спожность и низка  точность работы. Целью вэобретениа  вл етс  пс1вышенив точвостн работы и упрощение устрой ства. Поставленна  цель достигаетс  тем, что в цифровое усредн ющее устройство введены первый и второй реверсивные счетчики, блок сравнени  и И. Первый выход блока управлени  подключен к первым входам элемента И, накапливающего сумматора, ко входу установки в нуль триггера и к счетному входу счетчика замеров, выход которого соединен со вторым входом накапливающегч сумматора, третий вход которого объединен с информац1ЕЮНным входом первого реверсивного счетчика и подключен ко второму выходу 6jioKa управлени , вход которого соединен с выходом блока сравнени , первый вход которого подключен к выходу накапливающего сумматора. Второй вход блока сравнени  объединен со входом нуль-органа и подключен к выходу второго реверсивного счетчика, первый вход которого  вл етс  входом устройства. Выход Нуль-органа соединен со входом установки в единицу триггера, выход которого подключен к управл ю37 щим входам первого и второго реверсивных счетчиков. Второй вход второго; реверсивного счётчика подключен к выходу элемента И, Второй вход которого соединен о выходом первого реверсивного счетчика и  вл етс  выходом устройства . . Структурна  схема устройства представлена на чертеже. Устройство содержит накапливающий сумматор 1, счвтчик замеров 2, триг .гер 3, блок 4 управлени , первый, и вто рой реверсивные счетчики 5, 6, блок 7 сравнени , элемент И 8, нуль-орган 9, Устройстёо реализует рекуррентньтй алгоритм, не содержащий делени  . Устройство работает следующим образом . В исходном положении все устройства наход тс  в нулевом состо нии, кроме счетчика 5, в старщем разр де которого записываетс  единица, т.е. - число 2 равное половинноыузначейШб тапазона входных чисел. Так как в первом счетчике всегда находитс  текущее среднее значение потока входных чисел, то данное число можно рассматривать в качестве AQ . Оно никоим образом не вли  ет на последующий результат и утрачиваетс  после первого же усреднени , но его введение Целесообразно. Каждый цикл усреднени  начинаетс  с по влением начального импульса на выходе блока 4 управлени . Этот т пульс увеличивает содержимое счетч.ика замеров на единицу, сбрасывает в нул сумматор 1 и триггер 3 и замыкает элемент И 8 на врем  своей длительности . В результате содержимое счетчиKia 5 записываетс  в счетчик 6. Нулевое состо ние триггера 3 определ ет режим вычитани  дл  счетчиков 5 и 6. По окончанииначатлэного импуЛьса на вход устройства подаетс , пачка импульсовв количестве, пропорционально текущему значению входного сигнала X Эти импульсы вычитаютс  в счетчике 6 из кода среднего значени  предыдущих поступлений, т .е. из , в соответ ствии с правой частью первого выражени  алгоритме (1). TaKrovt образом,при первом усреднен они вычитаютс  из А Q . Бели А . Л . то в счетчике 6 фиксируетс  отрицатель на  разность, и состо ние триггера 3 не мен етс , вследствие чего на его выходе остаетс  тот же потенциал, определ ющий режим вычитани . Если Л р{. п то при вычитании содержимое счетчика 6 в какой - то момент уменьщитс  до нул . Этот момент регистрируетс  нуль-органом 9, переключакэщимтриггер 3 в единичное состо ние и мен оощим, таким образом, потенциал на выходе триггера 3, т.е. счетчики 6 и 5 переключаютс  в режим суммировани . Поэтому оставша с  часть импульсов от входного значени  X суммируетс  счетчиком 6 и фиксируетс  как положительна  разность. После этого блок 4 управлени  на.чинает вырабатывать тактовые импульсы, « которые поступают на тактовый вход сумматора 1. В результате в сумматоре происходит накопление кода номера замера , т.е. код. замерасуммируетс  сам с собой столько раз,, сколько будет выработано тактовых импульсов. Накопленна  сумма непрерывно сравниваетс  с разностью, зафиксированной в счетчике 6. Как только эти величины сравн ютс , или же сумма превысит разнбсть, блок 7 сравнени  вьфабатывает запрет на щину . 13 блока 4 управлени . В этот момент накопленна  сумма будет равна .-п в соответствии с левой частью первого равенства алгоритма (1 ), где п номер замера, а - чисел тактовых импульсов, вьфаботанных блоком 4 управлени . . Поскольку тактовые импульсы одновременно поступают и на счетный вход счетчика 5, то они либо вычитаютс  из кода наход щегос  в счетчике 5, либо прибавл ютс  к этому коду в зависимости от потёнциапа на выходе триггера 3|Как было указано выше (если в счетчике 6 была зафиксирована отрицательна  разность , то тактовые импульсы всчетчике 5 вычитаютс  из кода А И - наоборот ) . Таким образом, счетчик 5 реализует второе равенство алгоритма (1). На этом цикл усреднени  заканчиваетс .С. С наступлением нового цикла по вл етс  начальный импульс на выходе блока 4, который увеличивав код номера замера до (n+l), сбрасыбаёт в нуль сумматор I и триггер 3 и разрещает запись в счетчик 6 через элемент И 8 кода Лр с выхода счетчика 5. В дальнейшеам цикл работы устройства повто етс .(54) DIGITAL AVERAGING DEVICE The invention relates to a computing technique and can be used for static studies of random processes in a low-frequency environment. A device l is known for averaging a random process containing an analog-to-digital converter (A / D converter) subtractor, trigger, reversible counter, combinator adder with sign trigger, control unit, rewriter unit, and register. The closest in technical terms to the invention is a digital averaging device 2, which contains an accumulator, a meter, a zero, an organ, tritt, a control unit, a memory unit, and a pulse generator. The disadvantages of such devices are. With accuracy and low accuracy. The purpose of the invention is a p1 elevation of operation and simplification of the device. The goal is achieved by the fact that the first and second reversible counters, a comparison unit and an I are entered into the digital averaging device. The first output of the control unit is connected to the first inputs of the AND element, the accumulating adder, to the input of the zero setting of the trigger, the output of which is connected to the second input of the accumulating adder, the third input of which is combined with the information input of the first reversible counter and connected to the second control output 6jioKa, the input of which is connected to the output Lok comparator having a first input connected to the output of the accumulator. The second input of the comparison unit is combined with the input of the null organ and connected to the output of the second reversible counter, the first input of which is the input of the device. The output of the zero-organ is connected to the input of the installation in the trigger unit, the output of which is connected to the control inputs of the first and second reversible counters. The second entrance of the second; the reversible counter is connected to the output of the element I, whose second input is connected to the output of the first reversible counter and is the output of the device. . The block diagram of the device is shown in the drawing. The device contains accumulator adder 1, measurement counter 2, trigger 3, control block 4, first, and second reversible counters 5, 6, comparison block 7, AND 8 element, null organ 9, the Device implements a recurrent algorithm that does not contain division. The device works as follows. In the initial position, all devices are in the zero state, except for counter 5, in the first digit of which one is written, i.e. - the number 2 is equal to the half-digit number of the input numbers. Since in the first counter there is always the current average value of the stream of input numbers, this number can be considered as AQ. It does not in any way affect the subsequent result and is lost after the first averaging, but its introduction is advisable. Each averaging cycle begins with the appearance of an initial pulse at the output of control unit 4. This pulse increases the content of the meter counter by one, resets adder 1 and trigger 3, and closes the AND 8 element for the duration of its duration. As a result, the contents of the Kia 5 are written to counter 6. The zero state of trigger 3 determines the subtraction mode for counters 5 and 6. Upon completion of the start pulse, the device is fed a number of pulses in proportion to the current value of the input signal X These pulses are subtracted in counter 6 from the code of the average value of previous receipts, i .e. of, in accordance with the right side of the first expression to algorithm (1). TaKrovt way, with the first averaged they are subtracted from A Q. Beli A. L then in the counter 6 the negative is fixed to the difference, and the state of the trigger 3 does not change, as a result of which the same potential defining the subtraction mode remains at its output. If l p {. Then, when subtracting, the contents of counter 6 at some point decrease to zero. This moment is recorded by the zero-body 9, switching the trigger 3 to a single state and changing, thus, the potential at the output of the trigger 3, i.e. counters 6 and 5 are switched to the summation mode. Therefore, the remaining part of the pulses from the input value X is summed by counter 6 and is fixed as a positive difference. After that, the control unit 4 starts producing clock pulses “that arrive at the clock input of the adder 1. As a result, the accumulator numbers code accumulates in the adder, i.e. code. It counts itself with itself as many times as the clock pulses will be generated. The accumulated amount is continuously compared with the difference recorded in meter 6. As soon as these values are equal or the amount exceeds the difference, block 7 compares the ban on splint. 13 unit 4 controls. At this moment, the accumulated amount will be equal. -N in accordance with the left part of the first equality of the algorithm (1), where n is the number of the measurement, and is the number of clock pulses that the test unit 4 controls. . Since the clock pulses simultaneously arrive at the counting input of counter 5, they are either subtracted from the code in counter 5 or added to this code depending on the potential at the output of trigger 3 | As mentioned above (if in counter 6 was fixed if the difference is negative, the clock pulses in the counter 5 are subtracted from the code A, and vice versa). Thus, counter 5 implements the second equality of algorithm (1). At this averaging cycle ends. With the onset of a new cycle, an initial impulse appears at the output of block 4, which, by increasing the measurement number code to (n + l), resets the adder I and trigger 3 and allows writing to counter 6 through the And 8 element of the Lr code from the counter 5 In the following, the operation cycle of the device is repeated.

Claims (1)

Формула изобретения ' Цифровое усредняющее устройство, содержащее накапливающий сумматор, ’20 нуль-орган, триггер, блок памяти и генерат пинающееся счетчик замеров, 'блок управления, тор импульсов, о тем, что, с целью повышения точности работы и упрощения устройства, в него соединен со вторым входом введены первый и второй реверсивные счетчики, блок сравнения и элемент И, при этом первый выход блока управления подключен к первым Входам элемента И, накапливающего сумматора, ко входу установки в нуль триггера и к счетному входу счетчика замеров, выход которого накапливающего сумматора, третий вход которого объединен с информационным входом первого реверсивного счетчика и подключен ко второму выходу блока управления, вход которого соединен с выходом блока сравнения, первый вход которого подключен к выходу накапливающего сумматора, второй вход блока сравнения объединен со входом нульоргана и подключен к 'выходу второго реверсивного счетчика, первый вход которого является входом устройства, выход нуль-органа соединен со входом установки в единицу триггера, выход которого подключен к управляющим входам первого и второго реверсивных счетчиков, второй вход второго реверсивного счетчика подключен к выходу элемента И, второй вход которого соединен с выходом первого реверсивного счетчика и является выходом устройства.SUMMARY OF THE INVENTION 'Digital averaging device containing an accumulating adder, '20 zero-organ, trigger, memory unit and generator kicking meter,' control unit, pulse torch, so that, in order to improve the accuracy and simplify the device, it connected to the second input, the first and second reversible counters, a comparison unit and the And element are introduced, while the first output of the control unit is connected to the first Inputs of the And element, accumulating the adder, to the zero input of the trigger and to the counting input of the counter c, the output of which is the accumulating adder, the third input of which is combined with the information input of the first reversible counter and is connected to the second output of the control unit, the input of which is connected to the output of the comparison unit, the first input of which is connected to the output of the accumulating adder, the second input of the comparison unit is combined with the input of the zero organ and connected to the 'output of the second reversible counter, the first input of which is the input of the device, the output of the zero-organ is connected to the input of the unit in the trigger unit, the output of which is under it is connected to the control inputs of the first and second reversible counters, the second input of the second reversible counter is connected to the output of the element And, the second input of which is connected to the output of the first reversible counter and is the output of the device.
SU772551984A 1977-12-06 1977-12-06 Digital averaging device SU746546A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772551984A SU746546A1 (en) 1977-12-06 1977-12-06 Digital averaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772551984A SU746546A1 (en) 1977-12-06 1977-12-06 Digital averaging device

Publications (1)

Publication Number Publication Date
SU746546A1 true SU746546A1 (en) 1980-07-07

Family

ID=20736721

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772551984A SU746546A1 (en) 1977-12-06 1977-12-06 Digital averaging device

Country Status (1)

Country Link
SU (1) SU746546A1 (en)

Similar Documents

Publication Publication Date Title
SU746546A1 (en) Digital averaging device
SU532097A1 (en) Device for calculating a fractional function
SU508925A1 (en) Analog-to-digital converter
SU507888A1 (en) Corner code coder
SU834892A1 (en) Analogue-digital converter
SU758151A1 (en) Subtracting device
SU961140A1 (en) Pulse recurrence rate to code integrating converter
SU445161A1 (en) Pulse Divider
SU898429A1 (en) Pulse-frequency dividing device
SU932502A1 (en) Computer of value of random process mathematic expectation
SU790349A1 (en) Frequency divider with odd division coefficient
SU1084825A1 (en) Logarithmic analog-to digital converter
SU1078604A1 (en) Pulse repetition frequency doubler
SU1180941A1 (en) Device for counting piece articles
SU732854A1 (en) Monotonously varying code converter
SU1001455A1 (en) Pulse delay device
SU1645940A1 (en) Device for electric signal extremes detection
SU1233093A1 (en) Device for measuring period
SU1372245A1 (en) Digital frequency meter
SU658726A1 (en) Pulse signal storing arrangement
SU725238A1 (en) Pulse repetition frequency divider with fractional division coefficient
SU819949A1 (en) Frequency-to-voltage converter
SU659903A1 (en) Indicator of the state of monitored parameters
SU428401A1 (en) DEVICE FOR EXTRACTING SQUARE ROOT
SU788031A1 (en) Adaptive digital phase meter