SU934485A1 - Arithmetical average determining device - Google Patents

Arithmetical average determining device Download PDF

Info

Publication number
SU934485A1
SU934485A1 SU802992214A SU2992214A SU934485A1 SU 934485 A1 SU934485 A1 SU 934485A1 SU 802992214 A SU802992214 A SU 802992214A SU 2992214 A SU2992214 A SU 2992214A SU 934485 A1 SU934485 A1 SU 934485A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
values
pulses
Prior art date
Application number
SU802992214A
Other languages
Russian (ru)
Inventor
Николай Вячеславович Биенко
Сергей Иванович Емец
Владимир Александрович Земляной
Владимир Петрович Луданик
Виктор Иванович Стан
Original Assignee
Предприятие П/Я Г-4220
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 Предприятие П/Я Г-4220 filed Critical Предприятие П/Я Г-4220
Priority to SU802992214A priority Critical patent/SU934485A1/en
Application granted granted Critical
Publication of SU934485A1 publication Critical patent/SU934485A1/en

Links

Description

(5) УСТРОЙСТВО ДЛЯ ОПРЕДЕЛЕНИЯ СРЕДНЕГО АРИФМЕТИЧЕСКОГО(5) DEVICE TO DETERMINE THE AVERAGE ARITHMETIC

Изобретение относитс  к вычисли тельной и цифровой измерительной технике и предназначено дл  определени  среднего арифметического с пов шенной достоверностью. Известно устройство дл  определени  среднего арифметического электри ческих величин l, содержащее форми рователи импульсов, блоки синхронизации , генератор, тактовых импульсов, распределитель импульсов, сумматор, делитель частоты и блоки контрол  каналов, которое определ ет среднее арифметическое по формуле - . количество усредн емых величин; значение i-той усредн емой величинь. Недостатками устройства  вл ютс  ограниченна  область применени  (мн гоканальные параллельные измерени ) и низка  достоверность определени  среднего арифметического при наличии ошибочных значений усредн емых величин . Наиболее б иаким к предлагаемому по техническому решению  вл етс  устройство дл  определени  среднего арифметического 2j, содержащее первый , второй и третий реверсивные счетчики , одновибратор, входной элемент И, триггер, счетчик выбора, генератор импульсов, счетчик среднего и блок элементов И. Это устройство определ ет среднее арифметическое по формуле ,.,), где Д и AJ- соответственно первое и j-Toe из п усредн емых значений. Недос.таток известного устройства низка  достоверность определени The invention relates to computational and digital measurement technology and is intended to determine the arithmetic mean with increased reliability. A device is known for determining the arithmetic average of electrical quantities l, comprising pulse formers, synchronization units, a generator, clock pulses, a pulse distributor, an adder, a frequency divider and channel control units, which determines the arithmetic average by the formula. the number of averaged values; the value of the i-th averaged quantity. The drawbacks of the device are the limited scope (multiple channel parallel measurements) and the low accuracy of the arithmetic average in the presence of erroneous values of averaged values. The most technical solution proposed by the technical solution is a device for determining the arithmetic average 2j, containing the first, second and third reversible counters, one-shot, input element I, trigger, selection counter, pulse generator, average counter and block of elements I. This device is defined is the arithmetic mean by the formula,.,), where D and AJ are, respectively, the first and j-Toe of n averaged values. The shortage of the known device is low accuracy of determination

среднего арифметического при наличии ошибочных значений усредн емой величины , причем из выражени  (2) очевидно , что степень достоверности в оснооном зависит от того, насколько отличаетс  от истинного первое значение усредн емой величины.arithmetic mean in the presence of erroneous values of the averaged value, and from expression (2) it is obvious that the degree of reliability depends on how much the first value of the averaged value differs from the true one.

Цель изобретени  - повышение достоверности определени  среднего арифметического .The purpose of the invention is to increase the reliability of determining the arithmetic average.

Поставленна  цель достигаетс  тем, что в устройство дл  определени  среднего арифметического, содержащее генератор импульсов, выход которого подключен к первым входам первого и второго элементов И, выход первого элемента И соединенс первым входом третьего элемента И и с входом вычитани  первого реверсивного счетчика, выход которого подключен к входу пер|Вого триггера, выход последнего соединен с вторым входом третьего элемента И, выход третьего элемента И подключен к входу сложени  второго реверсивного счетчика, вход вычитани  которого объединен с .первым входом четвертого элемента И и соединен с выходом второго элемента И, второй вход которого  вл етс  первым входом задани  логической единицы устройства , счетчик выборки и третийбреверсив ный счетчик, введены коммутатор,элемент ИЛИ, блок сравнени , второй триггер, управл емый делитель числа импульсов, при этом выход второго реверсивного счетчика подключен к входу второго триггера, выход которого соединен с вторым входом четвертого элемента И, выход которого подключен к первому входу управл емого дели тел  числа импульсов, второй вход пос леднего соединен с выходом счетчика выборки, вход которого объединен с входом установки в ноль первого реверсивного счетчика и вторым входом первого элемента И и подключен к выходу блока сравнени , первый вход которого соединен с первым выходом третьего реверсивного счетчика, первый и второй выходы коммутатора соединены соответственно с входами сложени  и вычитани  третьего реверсивного счетчика, второй выход которого соединен с первым входом элемента ИЛИ выход которого подключен к первому входу коммутатора, второй вход последнего объединен с входом сложени  первого реверсивного счетчика и  вл етс  информационным входом числоим-This goal is achieved by the fact that the device for determining the arithmetic average, containing a pulse generator, the output of which is connected to the first inputs of the first and second elements AND, the output of the first element AND is connected by the first input of the third element And and the input of the subtraction of the first reversible counter, the output of which is connected to the input of the first | Vogo trigger, the output of the latter is connected to the second input of the third element And, the output of the third element And is connected to the input of the addition of the second reversible counter, the input of which is subtracted It is combined with the first input of the fourth AND element and connected to the output of the second AND element, the second input of which is the first input of setting the logical unit of the device, the sampling counter and the third reversal counter, the switch, the OR element, the comparison unit, the second trigger controlled by the divisor of the number of pulses, while the output of the second reversible counter is connected to the input of the second trigger, the output of which is connected to the second input of the fourth element I, the output of which is connected to the first input of the controlled product of the numbers pulses, the second last input is connected to the output of the sample counter, the input of which is combined with the installation input of the first reversible counter at zero and the second input of the first element I and connected to the output of the comparator unit, the first input of which is connected to the first output of the third reversible counter, the first and second the switch outputs are connected to the addition and subtraction inputs of the third reversible counter, the second output of which is connected to the first input of the OR element, the output of which is connected to the first input of the switch the second input of the latter is combined with the addition input of the first reversible counter and is an information input number

пульсного кода устройства, второй вход элемента ИЛИ  вл етс  вгорым входом задани  логической единицы устройства , второй вход блока сравнени   вл етс  входом поступлени  величины допустимого разброса кода устройства.the pulse code of the device, the second input of the OR element is the upstream input of the setting of the logical unit of the device, the second input of the comparison unit is the input of the admissible value of the spread of the device code.

На чертеже представлена блок-схема устройства.The drawing shows the block diagram of the device.

Устройство содержит управл емыйThe device contains a controlled

делитель 1 числа импульсов, первый триггер 2, первый реверсивный счетчик 3 второй триггер t, коммутатор 5, элемент ИЛИ 6 второй реверсивный счетчик 7, блок 8 сравнени , счетчикpulse number divider 1, first trigger 2, first reversible counter 3 second trigger t, switch 5, element OR 6 second reversible counter 7, block 8 comparison, counter

9 выборки, первый 10, второй 11, третий 12, четвертый 13 элементы И, генератор }Ц импульсов и третий реверсивный счетчик 15.9 samples, the first 10, the second 11, the third 12, the fourth 13 elements And, the generator} C pulses and the third reversible counter 15.

Claims (2)

Устройство определ ет среднее арифметическое по формуле . . , (3) где 2 t Q, . /jPr-(o Y / iV-f i-i/ величина допустимого разброса усредн емых значений. Повышение достоверности определени  среднего арифметического обеспечиваетс  путем исключени  из числа усредн емых тел последовательно измеренных значений величины, разность между которыми превышает заданную величину допустимого разброса . Устройство работает следующим образом . Усредн емые значени , представленные чисЛоимпульсным. кодом, последовательно поступают на числоимпульсный вход устройства и далее на вход коммутатора 5 и вход Сложени  первого реверсивного счетчика 3. Управление коммутатором 5 осуществл етс  подачей на его первый вход соответствующего уров-н  сигнала с выхода элемента ИЛИ.6. Значени м, поступающим на числоимпульсный вход по нечетным номерам , соответствует высокий уровень сигнала на втором логическом входе устройства и соответственно на выходе элемента ИЛИ 6, при этом к первому выходу коммутатора 5 оказываетс  подключенным вход сложени  реверсивного счетчика 15- Четным в пор дке поступлени  на числоимпульсный вход значени м соответствует низкий уровень сигнала на втором логическом входе и выходе элемента ИЛИ 6, при этом числоимпульсный код через комму татор 5 подаетс  на вход вычитани  третьего реверсивного счетчика 15Таким образом, в реверсивном счетчике 15 определ етс  разность между двум  последовательно поступающими на первый вход значени ми f 2-i-i i 8случае, если четное значение А2 превышает предыдущее нечетное ,, на втором выходе реверсивного счетчи ка 15 в момент достижени  нулевой разности формируетс  высокий уровень сигнала, который через элемент ИЛИ 6 переключает коммутатор 5 таким образом , что оставша с  часть импульсов вычитаемого значени  А .f. подаетс  на вход сложени  счетчика . В результате , на перврм выходе счетчика 15 будет код модул  разности двух последовательных значений / , ко торый сравниваетс  в блоке 8 сравнени  с кодом величины допустимого раз броса значений , поступающим на второй информационный вход. Одновременно с нахождением разности двух последовательных значений на первом реверсивном счетчике 3 производитс  их суммирование. Если модуль разности не превышает величин допустимого разброса значений / ., на выходе блока 8 сравнени  формируетс .высокий уровень сигнала, поступающий на счетный вход счетчика 9выборки, измен ющий его состо ние и разрешающий прохождение импульсов с выхода генератора Т через пер вый элемент И 10 на вход вычитани  реверсивного счетчика 3 и второй вхо третьего элемента И 12, на входе ко торого находитс  разрешающий сигнал с выхода первого триггера The device determines the arithmetic average by the formula. . , (3) where 2 t Q,. / jPr- (o Y / iV-f ii / value of the allowable spread of averaged values. Improving the reliability of determining the arithmetic average is achieved by eliminating sequentially measured values from the number of averaged bodies, the difference between which exceeds the specified value of the allowable spread. The device works as follows The averaged values, represented by the number of the pulse code, are successively fed to the device’s short pulse input and then to the input of the switch 5 and the input of the first reversal about the counter 3. The switch 5 is controlled by applying to its first input an appropriate level of signal from the output of the OR element.6. Values fed to the digital pulse input using odd numbers correspond to a high level of the signal at the second logical input of the device and accordingly at the output element 6, while the first output of the switch 5 is connected to the input of the reversible counter 15- Even in the order of arrival on the pulse input value corresponds to a low signal level on the secondary A logical input and output of the element OR 6, and the number-pulse code through the switch 5 is fed to the subtraction input of the third reversible counter 15. Thus, in the reversing counter 15, the difference between two values of the second input to the first input is determined, if the even value of A2 exceeds the previous odd, the second output of the reversible counter 15 at the time of reaching the zero difference forms a high signal level which switches element 5 through the element OR 6 so that the remaining part of the pulses of the subtracted value A. And. is fed to the addition input of the counter. As a result, at the first output of the counter 15 there will be a modulus code of the difference of two consecutive values /, which is compared in comparison block 8 with the code of the value of the permissible throw of the values arriving at the second information input. Simultaneously with finding the difference of two consecutive values on the first reversible counter 3, they are summed up. If the difference modulus does not exceed the values of the permissible spread of the values of /., A high level of the signal arriving at the counting input of the sampling counter 9, changing its state and allowing the passage of pulses from the generator T output through the first And 10 to input subtracting the reversible counter 3 and the second input of the third element And 12, at the input of which is the enable signal from the output of the first trigger 2. Таким образом, производитс  считывание сум мы двух последовательных значений A2Y..+ . реверсивного счетчика 3 в реверсивный счетчик 7- При дости жении нулевой разности в счетчике 3 на его выходе формируетс  сигнал,который через первый триггер 3 запрещает дальнейшее прохождение импульсов через третий элемент И 12. Если модуль разности двух последовательных значений превышает величину их. допустимого разброса , на выходе блока 8 сравнени -вырабатываетс  низкий уровень сигнала,который не измен ет состо ние счетчика 9.выборки, запрещает прохождение че5 рез элемент И 10 импульсов с выхода генератора 1 и устанавпивдет реверсивный счетчик 3 в нулевое состо ние. При этом сумма этих двух поспедовательных значений, по крайней мере одно из которых  вл етс  недостоверным, в реверсивный счетчик 7 не заноситс  . Аналогичной обработке подвергаютс  все остальные пары последовательных значений. Очевидно, что при усреднении п значений количество таких пар будет равно И/2 и в конце их обработки счетчик 9 выборки насчитывает ЧИСЛО достоверных пар, определ емое выражением m .с а-, а в реверсивном счетчике 7 суммируютс  значени , достоверных пар в соответствии с выражением „12 1 t CAaiH- Aj- a-T ill После этого на первый логический вход устройства подаетс  высокий уровень сигнала, разрешающий прохождение импульсов с выхода генератора на вход вычитани  реверсивного счетчика 7 и первый вход четвертого элемента И 13, на втором входе которого находитс  разрешающий сигнал с выхода второго триггера k При достижении нулевой разности в счетчике 7 на его выходе вырабатываетс  сигнал, который через второй триггер запрещает дальнейшее прохождение импульсов через четвертый элемент И 13. Таким образом, на первый вход управл емого делител  1 числа импульсов с выхода элемента И 13 поступает число импуль сов , определ емое выражением (U).Ha второй вход управл емого делител  1, задающий коэффициент делени , подаетс  двоичный код с выхода счетчика 9 выборки, сдвинутый на один разр д в сторону старшего, что соответствует умножению на два числа, записанного в счетчике Э- С выхода управл емого делител  1 снимаетс  число .импульсов, определ ющее среднее арифметическое только дл  достоверных значений в соответствии с выражением (З) Измен   величину допустимого разброса усредн емых значений , можно измен ть степень достоверности определени  среднего арифметического. Формула изобретени  Устройство дл  определени  среднего арифметического, содержащее ге2. Thus, the sum of two consecutive values of A2Y .. + is read. reversible counter 3 to reversible counter 7- When a zero difference is reached in counter 3, a signal is generated at its output, which through the first trigger 3 prevents further passage of pulses through the third element 12. If the difference modulus of two consecutive values exceeds their value. permissible variation, the output of block 8 comparison produces a low signal level that does not change the state of the sampling counter 9. It prohibits the AND 5 pulses from passing through the output of the generator 1 and sets the reversible counter 3 to zero. In this case, the sum of these two last values, at least one of which is unreliable, is not entered into the reversible counter 7. All other pairs of consecutive values are subjected to similar processing. Obviously, when averaging the n values, the number of such pairs will be equal to I / 2 and at the end of their processing, the sample counter 9 counts the NUMBER of valid pairs defined by the expression m. With a-, and in the reverse counter 7 the values of reliable pairs are added in accordance with After this, a high signal level is applied to the first logical input of the device, allowing the passage of pulses from the generator to the subtraction input of the reversible counter 7 and the first input of the fourth element I 13, the second input of which The permitting signal from the output of the second flip-flop k When a zero difference is reached in counter 7, a signal is generated at its output that, through the second trigger, prohibits further passage of pulses through the fourth element 13. Thus, to the first input of the controlled divider 1, the number of pulses from the output of the element And 13, the number of pulses arrives, determined by the expression (U) .Ha the second input of the controlled divider 1, which specifies the division factor, is supplied with the binary code from the output of sample counter 9, shifted by one bit in the direction of the old it, which corresponds to multiplying by two numbers, recorded in the counter E- From the output of the controlled divider 1, the number of pulses is removed, which determines the arithmetic average only for reliable values in accordance with the expression (3). By changing the value of the acceptable spread of averaged values, you can change The degree of confidence in the determination of the arithmetic mean. The invention The device for determining the arithmetic average containing
SU802992214A 1980-10-14 1980-10-14 Arithmetical average determining device SU934485A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802992214A SU934485A1 (en) 1980-10-14 1980-10-14 Arithmetical average determining device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802992214A SU934485A1 (en) 1980-10-14 1980-10-14 Arithmetical average determining device

Publications (1)

Publication Number Publication Date
SU934485A1 true SU934485A1 (en) 1982-06-07

Family

ID=20921625

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802992214A SU934485A1 (en) 1980-10-14 1980-10-14 Arithmetical average determining device

Country Status (1)

Country Link
SU (1) SU934485A1 (en)

Similar Documents

Publication Publication Date Title
US4285046A (en) Correlation method
SU934485A1 (en) Arithmetical average determining device
SU1243095A1 (en) Multichannel frequency-to-digital converter
SU1111174A1 (en) Device for detecting extremums
SU1024846A1 (en) Rotation speed digital meter
SU568904A1 (en) Digital frequency meter
SU771561A1 (en) Digital frequency meter
SU1427387A1 (en) Correlation meter
SU599222A1 (en) Frequency meter
SU1166100A1 (en) Dividing device
SU576547A1 (en) Digital phase meter
SU1345135A1 (en) Digital converter for phase-meter
SU472327A1 (en) Single Time Interval Digital Meter
SU834592A1 (en) Digital phase-meter
SU864182A1 (en) Digital phase shift meter
SU737899A1 (en) Device for automatic measuring of statistical characteristics of digital instrument random errors
SU983644A1 (en) Time interval ratio digital meter
SU789856A1 (en) Time interval difference meter
SU681428A1 (en) Device for selecting minimum number
SU813355A1 (en) Digital extremum meter
SU1037274A1 (en) Statistical analyzer
SU1170364A1 (en) Device for measuring amplitude of low-frequency sinusoidal voltage
SU1620952A1 (en) Device for measuring the rate of frequency variation
SU805332A1 (en) Device for computing relative air humidity
SU386339A1 (en) DIGITAL SPEED METER