SU822195A2 - Device for computing fractional-rational function - Google Patents
Device for computing fractional-rational function Download PDFInfo
- Publication number
- SU822195A2 SU822195A2 SU792792711A SU2792711A SU822195A2 SU 822195 A2 SU822195 A2 SU 822195A2 SU 792792711 A SU792792711 A SU 792792711A SU 2792711 A SU2792711 A SU 2792711A SU 822195 A2 SU822195 A2 SU 822195A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- counter
- input
- output
- additional
- elements
- Prior art date
Links
Description
1one
Изобретение относитс к вычислительным устройствам дл обработки информации, в частности к устройствам дл решени уравнений, и может быть использовано, например з устройствах дл обработки информации В измерительных приборах,в частности в двухканальных нейтронных влагомерах , измер ющих весовую влажность сыпучих материалов с переменной плотностью .The invention relates to computing devices for processing information, in particular, devices for solving equations, and can be used, for example, with devices for processing information. In measuring devices, in particular, in two-channel neutron moisture meters that measure the weight humidity of granular materials with variable density.
По основному авт. св. № 532097 известно.устройство дл вычислени дробно-рациональной функции, используемое преимущественно в двухканальных влагомерах и содержащее счетчик, группу элементов И, второй счетчик, вторую группу элементов И, третью группу элементог И, два триггера, три элемента И, элемент ИЛИ и формирователь . Первые входы триггеров и счетчиков соединены с первым входом устройства, нулевой выход первого триггера подключен к первым входам первого и второго элементов И, единичный выход второго триггера подключен ко-вторым входам первого и второго элементов И, выход первого элемента И подключен ко второму | входу первого счетчика, выход второго счетчика через формирователь подключен ко второму входу второго триггера и вл етс выходом устройства , третьи входы первого и второго элементов И вл ютс соответственно вторыми и третьими входами устройства, выходы элементов И первой группы подключены к группе входов первого счетчика, группа выходов According to the main author. St. No. 532097 is known. A device for calculating a fractional-rational function, used mainly in dual-channel moisture meters and containing a counter, a group of elements AND, a second counter, a second group of elements AND, a third group of elements AND, two triggers, three elements AND, an element OR, and a driver. The first inputs of the triggers and counters are connected to the first input of the device, the zero output of the first trigger is connected to the first inputs of the first and second elements, And the single output of the second trigger is connected to the second inputs of the first and second elements, And the output of the first element And is connected to the second | the input of the first counter, the output of the second counter through the driver is connected to the second input of the second trigger and is the device output, the third inputs of the first and second elements are the second and third inputs of the device, the outputs of the elements of the first group are connected to the input group of the first counter, the group exits
0 которого через вторую группу элементов И подключена к первой группе входов второго счетчика, к второй группе входов последнего подключены выходы третьей группы элементов И, 0 of which through the second group of elements I is connected to the first group of inputs of the second counter, the outputs of the third group of elements I are connected to the second group of inputs of the latter,
5 выход второго счетчика подключен к входу второй группы элементов И, входы первой и третьей группы элементов И и второй вход первого триггера подключены к четвертому входу5, the output of the second counter is connected to the input of the second group of elements AND, the inputs of the first and third group of elements AND and the second input of the first trigger are connected to the fourth input
0 устройства, нулевой выход второго триггера подключен к первому входу третьего, элемента И. Выходы первого и третьего элементов И подключены к входам элементна ИЛИ, выход кото5 рого подключен к входу второго счетчика . Второй вход третьего элемента вл етс п тым входом устройства,, группы входов первой и третьей группы элементов И вл ютс группами входов устройства. На входы устройства подгиотс две последовательности импульсов с частотой f и fj, и сигнал с частотой На выходе устройства получают частотный сигнал, определ емый, как 1чЬк.-2 Однако дл усреднени информации Измен ющейс дискретно и случайНЕШ образом во времени, устройство используетс совместно с УВМ, котора осуществл ет накопление входной информации за несколько циклов измер«ни и усредн ет информацию по зкспоненцйальному закону, что значительно усложн ет схему. Цель изобретени -- повышение надежности . Эта цель достигаетс тем, что в устройство дл вычислений дробно-ра циональной функции по авт. св. № 532097 введены реверсивный счетчик , таймер, дополнительный счетчик дополнительна группа элементов И, дополнительный элемент И и дополнительный формирователь импульсов, выходам старших разр дов реверсивного счетчика соединены со входами элементов И дополнител ьной группы, выходы которых соедииены с группой входов дополнительного счет чика импульсов, выход которого вл етс выходом устройства и соединен с управл ющими входами элементо И дополнительной группы и со входом дополнительного формировател импульсов , выход которого соединен с первым входом дополнительного элемента И, выход которого соединен с первым входом реверсивного счетчика импульсов, второй вход которого под ключен к выходу второго счетчика и входу таймера выход которого соединен со входом Установка О уст ройства, вход дополнительного счет чика импульсов подключен ко второму входу третьего элемента И, вто1е ой вход дополнительного элемента И подключен к нулевому выходу второго триггера. На чертеже показан.один иэ опти мгшьиых вариантов схемного решени предлагаемого устройства в комплекс с основным (поз. 1). Устройство содержит реверсивный счетчик 2 импульсов, счетчик 3 импульсов , группу 4 элементов И, эле мент И 5 формирователь 6 импульсо таймер 7, счетчик 8, триггеры 9 и 10 счетчик 11, алемеиты И 12 и 13 формирователь 14, элемеит И 15,груп пы 16, 17 и 18 элементов И,элемент ИЛИ 19. Устройство работает следующим . обраёом. В исходном состо нии нулевой сигнал с выхода счетчика 8 основного устройства поступает на счетный вход Сложение реверсивного счетчика 2 импульсов и на вход таймера 7, с выхода которого импульс поступает на вход Установка О основногб устройства, устанавлива все элементы основного устройства в исходное состо ние. Нулевой сигнал d нулевого выхода триггера 9 поступает на вход элеьлента И, эапреща прохождение частотных сигналов f, с выхода счетчика 3 импульсов на вход Вычитание реверсивного счетчика 2 импу 1ьсов , Частотный сигнал fg поступает на счетный вход счетчика 3 импульса, после заполнени счетчика импульсов 3 на его выходе по вл етс импульс, поступающий на управл ющий вход группы элементов И и дающий разрешение на перезапись в счетчик 3 импульсов кода имеющегос в старших разр дах ревёрсив нрго счетчика 2 импульсов. Таким обраГзом, в счетчике 3 импульсов посто нно идет преобразование имеющегос в старших разр дах счетчика 2 некоторого кода в частотный сигнал f gji, / определ емый по формуле f вых N, с приходом первого сигнгша Пуск начинаетс первый цикл работы . При поступлении сигнала Пуск триггер 10 устанги ливаетс ,в 1 , а в счетчиках 11 и 8 записываютс соответственно коэффициенты К и К2 (К записываетс в пр мом или в обратном коде, Kj - в обратном ) . Последовательности импульсов с частотой fI и f2 поступают соответственно , на входы элементов И 12 и 13. Так как на входах этих элемен- . тов все , то последовательность импульсов с частотой f поступает на вход счетчика 11, а последовательность импульсов с частотой « на вход счетчика 8. Необходимым условием работы основного устройства вл етс Э7 f где I - врем згшолиеии счетчика 11;. tj2 - врем заполнени счетчика 8. При этом С J. «I 1.л« -Х 2 где t« - врем заполнени счетчитка 11, когда К записываетс в обратном коде; врем заполнени счетчика 8, когда К з аписы- ваетс в пр мом коде. «г. Ха -«-К-, Т 4иПИ, 1 2 1 После пресэбразовани ii lLiil ii liHi ia Ч Таким образом, счетчик 8 запол етс за врем ),. За это же в в счетчике 11 образуетс код H.(l,,).2. где п - число разр дов счетчика 1 После заполненил счетчика 8 на его выходе по вл етс импульс, кот рый поступает на вход таймера7 и запускает его. Этот же импульс поступает на управл ющий вход группы 16 элементов И и дает разрешение на перезапись в счетчик 8 кода N, полученного в счетчике 11. Этот же импульс со счетчика 11 поступает через формирователь 14 на второй триггера 9 и устанавливает его в , в результате чего на вторы выходах элементов И 12 и 13 по вл етс сигнал запрета О , а на втором входе элёкюнта И 15 устана что разрешает про ливаетс хождение сигнёша с частотой .f(j на счетчик 8, в котором начинаетс преобразование полученного в счет чике II кода в частотный сигнал. Частота на выходе счетчика 8 и на входе основного устройства опре дел етс по формуле 4.Ь. N ( Г,- Частотный сигнал f с выхода сче чика. 8 поступает на счетный вход Сложение реверсивного счетчика импульсов 2. в то же врем с нулевого выхода триггера 9 i поступает на вход элемента И5, разреша прохождение частотного сигнала , с выхрда счетчика 3 импульсов на счетный вход Шчитание реверсивного счетчика 2 импульсов. В реверсивном счетчике 2 импуль сов происходит сложение импульсов с частотой f и вычитание импульсов Таким образом, в старших разр дах реверсивного счетчика. 2 импульсов в каждый момент времени t (при it-f т- te) Образуетс код N, paBHbfe N(t)N(t-l) + + tf-feb«x (t- -t, если f fewx или N«(t)N4(t-l){f B, .- , если f 0. В общем случае N(t)N(t-l)±(f-f8MUt-i1 )ъ где N(t) - значение кода, образующегос в старших разр дах реверсивного счетчи ка 2 импульсов в кгикдый момент времени t; .N(t-.l)- значение кода,образующегос в стариих разр дах счетчика 2 импульсов в предыдущий момент времени (t-1); частота на выходе основного устройства (на выходе счетчика 8)f вккИ частота на выходе счетчика 3 в каждый момедт времени (t - 1). Код Nf(t) в каждый момент времени At tо j переписываетс в счетчик -3 импульсов и преобразуетс в частотный сигигш М определ емый как , . - вых ,u-ot f°ieb.Mt..)t, Это выражение м6ж1|о представить в виде , вых11Г выхН-ч)-и вы1сСчм) где ffrt,u) текущее значение частотного сигнала иа выходе счетчика 3; К - коэффициент пропорциональности , равный t; f - значение частотного сигнала на выходе счетчика 8. Как видно из .формулы,эта зависи-. мость отраигает закон усреднени информации и имеет вид экспоненты. По истечении некоторого времени Т таймер 7 вырабатывает импульс, по&тупайщий на вход Установка О , При этом все элементы схема основного устройства устанавливаютс в исходное состо ние. Нулевой сигнал с нуевого выхода триггера 9 поступает на вход элемента И, запреща прохожение частотных сигналов с выхода четчика 3 на счетный вход Вычитаije . реверсивного счетчика 2. Таким образом, в первом цикле аботй устройства в реверсивном четчике 2 импульсов получаетс код 4, равный. ; чь4вых)-% де - код, имеющийс в старших разр дах реверсивного счетчика 2 до начала цикла работы устройства, оторый посто нно преобразуетс в астотный сигнал f равный 4 -ii вых N. м 4-1 4 т а lu V kj 4 Г г1вЫх1 де f, -частотный сигнал на выходе счетчика 3 импульсов по окончании первого цикла работы устройства; -частотный сигнал на выходе счетчика 3 импульсов до начала первого цикла работы устройства. , С приходом следующего импульса начинаетс .второй цикл работы устройства, причем должно выполн тьс условие t Т, где 1ц - интервал времени между сигналами Пуск , Т ,- врем работы таймера (устройства). Устройство работает аналогичным образом в каждом цикле работы, т.е. выходна информаци (f ) усредн етс по экспоненциальному закону. Скорость интегрировани зависит от времени Т работы таймера 7. В этом случае, если таймер 7 вырабатывает импульс длительностью Т, равной- единице, то в первом цикл работы устройства в счетчике 2 обра зуетс код Ы, равный коду N, полученном в счетчике 11, а именно N; N lf-fBb,,l N,+ , если или NJ ,,-iVT - NI-() N , где i;T N-iBb x-T Ni. Код N N переписываетс в счетчик 3 и преобразуетс в частотный сигнал f , равный сигналу f , ir, to о 8Ь1У N; . N Таким образом, усреднение выходной информации по экспоненциальному закону, происходит в первом цикле, В этом случае, если таймер 7 выр батывает импульс длительностью Т, равной 1/2 Т, то в первом цикле работы устройства в счетчике 3 образуетс код, равный0 device, zero output of the second trigger is connected to the first input of the third, element I. The outputs of the first and third elements AND are connected to the inputs of the element OR, the output of which is connected to the input of the second counter. The second input of the third element is the fifth input of the device, the group of inputs of the first and the third group of elements And are the groups of inputs of the device. Two sequences of pulses with a frequency f and fj and a signal with a frequency are received at the device inputs. A frequency signal is defined at the output of the device. It is defined as 1 ch.-2. However, for averaging information. The device changes in discrete and random intervals over time which accumulates the input information over several measurement cycles and averages the information on the exponential law, which significantly complicates the circuit. The purpose of the invention is to increase reliability. This goal is achieved by the fact that in a device for computing a fractional-rational function by author. St. No. 532097, a reversible counter, a timer, an additional counter, an additional group of elements, an additional element, and an additional pulse shaper, the outputs of the higher bits of the reversible counter are connected to the inputs of the elements And an additional group, whose outputs are connected to the group of inputs of an additional pulse counter, output which is the output of the device and is connected to the control inputs of the elements And an additional group and to the input of the additional pulse generator, the output of which is inn with the first input of an additional element And, the output of which is connected to the first input of the reversible pulse counter, the second input of which is connected to the output of the second counter and the timer input whose output is connected to the input. Setting the device O, the input of the additional pulse counter is connected to the second input of the third element I, the second th input of the additional element I is connected to the zero output of the second trigger. The drawing shows a single optic of the possible variants of the circuit solution of the proposed device in combination with the main one (pos. 1). The device contains a reversible counter 2 pulses, a counter 3 pulses, a group of 4 elements And, element And 5 shaper 6 pulse timer 7, counter 8, triggers 9 and 10 counter 11, alemeits And 12 and 13 shaper 14, elemeite I 15, groups 16, 17 and 18 elements AND, element OR 19. The device operates as follows. around In the initial state, the zero signal from the output of the counter 8 of the main device is fed to the counting input. The addition of a reversible counter of 2 pulses and to the input of timer 7, from the output of which the pulse arrives at the input of the installation O of the main device, sets all elements of the main device to the initial state. The zero signal d of the zero output of the trigger 9 is fed to the input of the element I, preventing the passage of the frequency signals f, from the output of the counter 3 pulses to the input. Subtracting the reversible counter 2 impulses 1s. The frequency signal fg goes to the counting input of the counter 3 pulses after filling the counter of pulses 3 into its output appears pulse arriving at the control input of a group of elements And giving permission to overwrite in the counter 3 pulses of the code existing in the high bits of the revs of the counter of 2 pulses. Thus, in the counter of 3 pulses, the conversion of the some code 2 in the high bits of counter 2 to the frequency signal f gji / defined by the formula f out N is constantly going on with the arrival of the first signal, the start of the first cycle of operation. When the Start signal arrives, trigger 10 is set, in 1, and in counters 11 and 8, the coefficients K and K2 are recorded, respectively (K is recorded in the forward or reverse code, Kj - in the reverse). The pulse sequences with the frequency fI and f2 are received, respectively, at the inputs of the elements 12 and 13. Since the inputs are these elements. This is all, the sequence of pulses with frequency f is fed to the input of counter 11, and the sequence of pulses with frequency is fed to the input of counter 8. A necessary condition for the operation of the main device is E7 f where I is the time of the counter 11 ;. tj2 is the filling time of the counter 8. Wherein C J. "I 1.l" -X 2 where t "is the filling time of the counter 11 when K is written in the reverse code; the filling time of the counter 8, when K 3 is recorded in the forward code. "Y. Xa - "- K-, T 4iPI, 1 2 1 After the pre-formation ii l Liil ii liHi ia × Thus, counter 8 is filled in with time). For this, in code 11, the code H. (l ,,) is formed. 2. where n is the number of bits of the counter 1 After the counter 8 is filled, an impulse appears at its output, which enters the input of the timer 7 and starts it. The same pulse arrives at the control input of a group of 16 elements And, and gives permission to overwrite N code received in counter 11 into counter 8. This same pulse from counter 11 enters through shaper 14 to the second trigger 9 and sets it to At the second outputs of the elements And 12 and 13, the prohibition signal O appears, and at the second input of the electronic terminal 15, a signal is allowed to go walking with a frequency .f (j to the counter 8, in which the conversion of the received code II into the counter begins. frequency signal. The sensor 8 and at the input of the main device is determined by the formula 4.B.N (G, - Frequency signal f from the output of the meter. 8 is fed to the counting input. Addition of a reversible pulse counter 2. At the same time from the zero output of the trigger 9 i It enters the input of the I5 element, allowing the passage of the frequency signal from the pulse output counter 3 to the counting input Reading counter pulse counter 2. In a reverse counter 2 pulses, the pulses are added at a frequency f and the pulses are subtracted. Thus, in the high bits of the reverse counter. 2 pulses at each moment of time t (with it-f t-te) The code N is formed, paBHbfe N (t) N (tl) + + tf-feb "x (t- -t if f fewx or N" (t ) N4 (tl) {f B, .-, if f 0. In the general case, N (t) N (tl) ± (f-f8MUt-i1) ъ where N (t) is the value of the code formed in the higher bits reversible counter for 2 pulses at kgikdy time t; .N (t-.l) is the code value that is formed in the old bits of the counter 2 pulses at the previous time (t-1); frequency at the output of the main device (at the output of the counter 8) f VKKI frequency at the output of the counter 3 at each time (t - 1). Code Nf (t) at each time point At tо j is counted into a counter of -3 pulses and is converted into a frequency sigigs M defined as, - out, u-ot f ° ieb.Mt ..) t, This expression can be expressed as: output output. ) where ffrt, u) is the current value of the frequency signal and the output of counter 3; K - coefficient of proportionality, equal to t; f is the value of the frequency signal at the output of the counter 8. As can be seen from the formula, this depends. The bridge reflects the averaging law of information and has the form of an exponent. After some time T, the timer 7 generates a pulse, & stupid to the input Installation O, In this case all the elements of the main device circuit are reset. The zero signal from the zero output of the trigger 9 is fed to the input of the element I, prohibiting the passage of frequency signals from the output of the even 3 to the counting input Subtraction ije. reversing counter 2. Thus, in the first cycle of operation of the device in the reversible meter 2 pulses, code 4 is obtained equal to. ; (4) -% de - code present in the higher bits of the reversing counter 2 before the start of the device operation cycle, which is permanently converted into an astho signal f equal to 4 –ii outputs N. m 4-1 4 tons and lu V kj 4 Г гвЫх1 de f, the frequency signal at the output of the pulse counter 3 at the end of the first cycle of operation of the device; -frequency signal at the output of the counter 3 pulses before the start of the first cycle of the device. , With the arrival of the next pulse, the second cycle of operation of the device begins, and the condition t T must be fulfilled, where 1 c is the time interval between the Start, T signals, is the timer (device) operation time. The device works in a similar way in each work cycle, i.e. output information (f) is averaged exponentially. The integration speed depends on the time T of the timer 7. In this case, if timer 7 generates a pulse with duration T equal to unity, then in the first cycle of operation of the device in counter 2, the code S is equal to code N received in counter 11, exactly N; N lf-fBb ,, l N, +, if or NJ ,, - iVT - NI- () N, where i; T N-iBb x-T Ni. The code N N is rewritten into counter 3 and is converted into a frequency signal f, equal to the signal f, ir, to about 8 1 1 N; . N Thus, the averaging of the output information according to the exponential law occurs in the first cycle. In this case, if timer 7 triggers a pulse with duration T equal to 1/2 T, then in the first cycle of operation of the device in counter 3 a code is generated equal to
-L-i-L-i
N-MN-M
н..n ..
который преобразуетс в частотный .сигналwhich is converted to a frequency signal.
, i in ВЫХ vi, i in OUT vi
ь.х н:; N-ы,lb :; Ns,
Во втором цикле работы устройства а именно с приходом следующего сигнала .Пуск, в старших разр дах счетчика 2 образуетс код N,равныйIn the second cycle of operation of the device, namely, with the arrival of the next signal. Start, in the higher bits of counter 2, the code N is formed, equal to
Nl.N.t,Nl.N.t,
1 one
который преобразуетс в частотный сигналwhich is converted to a frequency signal
1°.1 °.
ii
..
Nl N44llii Nl n44llii
ВЫХ 1OUT 1
22
В третьем цикле работы устройства в старших разр дах счетчика образуетс код N J, равныйIn the third cycle of operation of the device, in the higher bits of the counter, an code N J is formed, equal to
..
преобразуетс в частотный определ емый какconverted to frequency definable as
i i
BbUBbu
m В п-ом цикле работы устройства олучим ., 2 Таким образом, частотный сигнал f на выходе счетчика 3 и на выходе устройства в каждом цикле работы увеличиваетс или уменьшаетс на некоторую величину, определ емую разностью кодов N и N, получаемых соответственно в счетчике 11 и в старших разр дах счетчика 2, и длительностью импульса Т, вырабатываемого таймером 7, и по экспоненциальному закону приближаетс к значению частотного сигнала f. В общем случае при длительности импульса, равной Т - , частотный сигнал на выходе устройства fgyx определ етс какm In the n-th cycle of the device operation, the 2. Thus, the frequency signal f at the output of counter 3 and at the output of the device in each cycle of operation increases or decreases by a certain amount, determined by the difference between the codes N and N, obtained respectively in counter 11 both in the higher bits of counter 2, and the duration of the pulse T produced by timer 7, and exponentially approaches the value of the frequency signal f. In the general case, when the pulse duration is T -, the frequency signal at the output of the device fgyx is defined as
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU792792711A SU822195A2 (en) | 1979-07-09 | 1979-07-09 | Device for computing fractional-rational function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU792792711A SU822195A2 (en) | 1979-07-09 | 1979-07-09 | Device for computing fractional-rational function |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU532097 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU822195A2 true SU822195A2 (en) | 1981-04-15 |
Family
ID=20839115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU792792711A SU822195A2 (en) | 1979-07-09 | 1979-07-09 | Device for computing fractional-rational function |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU822195A2 (en) |
-
1979
- 1979-07-09 SU SU792792711A patent/SU822195A2/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU822195A2 (en) | Device for computing fractional-rational function | |
SU754324A1 (en) | Digital meter of carrier frequency of radio pulse signals | |
SU699450A1 (en) | Digital phase meter | |
SU1040490A1 (en) | Frequency-pulse computer device | |
SU386339A1 (en) | DIGITAL SPEED METER | |
SU375785A1 (en) | NUMBER-PULSE FUNCTIONAL! at | |
SU1636828A1 (en) | Recirculating measuring time to number converter | |
SU440608A1 (en) | Frequency meter | |
SU721796A1 (en) | Recirculation measuring time-to-code converter | |
SU512429A1 (en) | Digital meter | |
SU1203536A1 (en) | Walsh spectrum analyzer | |
SU1056190A1 (en) | Device for determining difference of two numbers | |
SU678304A2 (en) | Flowmeter | |
SU934485A1 (en) | Arithmetical average determining device | |
RU1083729C (en) | Radioisotope thickness gauge of coating | |
SU474760A1 (en) | Digital frequency meter with automatic measurement range selection | |
SU1280341A1 (en) | Digital thermometer | |
SU1679400A1 (en) | Statistical analyzer | |
SU1007081A1 (en) | Device for converting time intervals into code | |
SU382024A1 (en) | DEVICE FOR MEASURING CORRELATION | |
SU1709509A1 (en) | Device for detection of loss of pulse | |
SU708295A1 (en) | Time interval meter | |
SU1257555A1 (en) | Digital tracking phasemeter | |
SU473121A1 (en) | Digital Phase Phase Meter | |
RU1770916C (en) | Frequency measuring device |