SU1610598A1 - Counting device - Google Patents
Counting device Download PDFInfo
- Publication number
- SU1610598A1 SU1610598A1 SU894629644A SU4629644A SU1610598A1 SU 1610598 A1 SU1610598 A1 SU 1610598A1 SU 894629644 A SU894629644 A SU 894629644A SU 4629644 A SU4629644 A SU 4629644A SU 1610598 A1 SU1610598 A1 SU 1610598A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- counter
- elements
- output
- subtractor
- Prior art date
Links
- 101100234822 Caenorhabditis elegans ltd-1 gene Proteins 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 abstract 1
- 230000007704 transition Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 101100498160 Mus musculus Dach1 gene Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и технике передачи дискретных сообщений. Цель изобретени - расширение функциональных возможностей устройства путем определени текущего значени отношени количества импульсов в двух импульсных потоках. Дл этого в устройство, содержащее первый суммирующий счетчик, первый логический блок и вычитающий счетчик, введены второй суммирующий счетчик, второй логический блок, накапливающий сумматор-вычитатель и блок элементов И. Предлагаемое устройство может быть использовано дл оперативного эксплуатационного контрол частости ошибок в системах передачи дискретных сообщений. 4 ил., 1 табл.The invention relates to computing and technology for the transmission of discrete messages. The purpose of the invention is to expand the functionality of the device by determining the current value of the ratio of the number of pulses in two pulse streams. To do this, a second summing counter, a second logic block accumulating a totalizer-subtractor, and a block of I. units are introduced into the device containing the first summing counter, the first logic block and the subtracting counter. posts. 4 ill., 1 tab.
Description
Изобретение относитс к импульсной и вычислительной технике и может быть использовано, например, при построении статистических анализаторов , цифровых измерительных приборов и др.The invention relates to a pulse and computer technology and can be used, for example, in the construction of statistical analyzers, digital measuring devices, etc.
Целью изобретени вл етс расширение функциональных возможностей устройств за счет определени величины отношени количества импульсов в двух импульсных потоках.The aim of the invention is to enhance the functionality of the devices by determining the value of the ratio of the number of pulses in two pulse streams.
На фиг. 1 и 2 показана функциональна схема предлагаемого устройства; на фиг. 3 - диаграмма, по сн юща принцип работы устройства; на фиг, 4 - схема накапливающего сумма- тора-вычитател .FIG. 1 and 2 shows a functional diagram of the proposed device; in fig. 3 is a diagram explaining the principle of operation of the device; FIG. 4 is a diagram of an accumulator of a subtractor-subtractor.
. Устройство содержит первый суммирующий счетчик 1, первый логический. The device contains the first summing counter 1, the first logical
.блок 2, вычитающий счетчик 3, блок элементов И 4, накапливающий сумматор- вычитатель 5, второй логический блок 6 и второй суммирующий счетчик 7. Кроме того, устройство имеет первый вход 8 (вход знаменател ) и второй вход 9 (вход числител ).Первый суммирующий счетчик 1, первый логический блок 2 и вычитающий счетчик 3 соединены последовательно..block 2, subtracting counter 3, block of elements AND 4, accumulating adder – subtractor 5, second logical block 6 and second summing counter 7. In addition, the device has the first input 8 (input of the denominator) and the second input 9 (input of the numerator). The first summing counter 1, the first logic block 2 and the subtracting counter 3 are connected in series.
На фиг. 1 и 2 указаны веса разр дов накапливающих счетчиков 1 и 7, счетчика 3 и сумматора-вычитател 5, Как известно, младший (нулевой) разр д имеет вес 2, следующий - вес 2 и т.д. вплоть до разр да 2 у счетчика 1 и до разр да 2 у счетчика 7. Таким образом, счетчик 1 имеет (N+1) разр дов, а счетчик 7 - (М+1) разОFIG. 1 and 2 indicate the weights of the bits of the accumulating counters 1 and 7, the counter 3 and the adder-subtractor 5; As you know, the younger (zero) discharge has weight 2, the next one is weight 2, etc. up to bit 2 at counter 1 and up to bit 2 at counter 7. Thus, counter 1 has (N + 1) bits, and counter 7 has (M + 1) times
сдsd
соwith
ОСOS
р дов. Дл вычитающего счетчика 3, который, как будет видно из дальней- niero, предназначен дл фиксации чисел , не превосход щих единицы (двоичных дробей), старший разр д имеет вес 2 (единицы), следующий, более младший фазр Д имеет вес 2 и т.д. вплоть до веса . НакапливающийRow For subtractive counter 3, which, as will be seen from further, is intended for fixing numbers not exceeding one unit (binary fractions), the most significant bit has a weight of 2 (units), the next, younger phasor D has a weight of 2 and t .d down to weight. Accumulating
сумматор-вычитатель 5 имеет разр ды с весами как большими единицы (2 , 2 ,...), так и равными или меньшими единицы (2°, 2...).adder-subtractor 5 has bits with weights of both large units (2, 2, ...) and equal to or less than one (2 °, 2 ...).
Первый логический блок 2 выполнен на элементах И 10-1 - 10-N, П-1 - H-N и ключах (элементах И) 12-1 - 12-N. Элементы 10-N- - 10-1 соединены последовательно. Второй вход кахсдого из этих элементов И подключен к инверсному выходу того разр да суммирующего счетчика 1, номер которого сдвинут на 1 по отношению к индексу элемента И 10 так, что элемент И 10-п св зан с п-1-м разр дом счетчика (т.е. имеющим вес 2, п 0,1N-1). Выход элемента И 10-1 через ключ (элемент И)The first logical block 2 is made on the elements And 10-1 - 10-N, P-1 - H-N and the keys (elements And) 12-1 - 12-N. Elements 10-N- - 10-1 are connected in series. The second input of each of these elements AND is connected to the inverse output of that bit of summing counter 1, whose number is shifted by 1 relative to the index of the element And 10 so that the element AND 10-n is associated with the n-1-th digit of the counter ( i.e. having weight 2, p 0.1N-1). The output element And 10-1 through the key (element And)
12-1 подключен к счетному входу нуп о левого разр да, имеющего вес Z ,12-1 is connected to a nup input of a left-hand bit with a weight Z,
вычитающего счетчика 3. Выход каждого из остальных элементов И 10-п (п 1 ,... ,N-1) через элементы И 11 --п И ключи 12-п подключены к счетному входу того разр да вычитающего счетчика 3, который .имеет вес . Например, элемент И 10-2 через элемент И 11-1 н ключ 12-2 подключены к разр ду . Инверсный выход последнего (N-ro) разр да счетчика 1 (имеющего вес 2) подключен к входу элемента И 10-N и через элемент И 11-N и ключ 12-N - к входу самого младшего разр да счетчика 3, имеющего вес 2(2М-0.subtractive counter 3. The output of each of the remaining elements And 10-n (n 1, ..., N-1) through the elements And 11 - n And the keys 12-n are connected to the counting input of that bit of the subtracting counter 3, which. has weight. For example, element 10-2 through element 11-1 n and key 12-2 are connected to the discharge. The inverse output of the last (N-ro) discharge of counter 1 (having a weight of 2) is connected to the input of the element AND 10-N and through the element And 11-N and the key 12-N to the input of the least significant bit of the counter 3 having a weight 2 (2M-0.
Выход каждого из разр дов вычитающего счетчика 3 через элемент И блока 4 подключен к входу суммировани того разр да сумматора-вы- читател 5, который имеет тот же ве Второй вход каждого из элементов И (Злока 4 подключен к второму входу 9 устройства.The output of each of the bits of the subtracting counter 3 through the element AND of the block 4 is connected to the summation input of that bit of the adder-5, which has the same second input of each of the AND elements (Zloka 4 connected to the second input 9 of the device).
Второй логический блок 6 имеет элементы И Пт-П. Каждый из этих элментов подключен к выходу того из разр дов второго суммирующего счетчика 7, номер которого совпадает с первым индексом. Второй вход каждого из этих элементов св зан с вы-The second logical block 6 has the elements And Fri-P. Each of these elements is connected to the output of that of the bits of the second summing counter 7, whose number coincides with the first index. The second input of each of these elements is associated with
00
5five
00
598 598
ходом того из ключей l-2-n блока 2, чей индекс совпадает с вторым индексом в обозначении элемента И 13. Следовательно, элемент И 13, под- ключен к выходу т-го разр да счетчика 7 и к выходу элемента И 12п (т 0,1,...,М; п 1,...,М). Выход элемента И ,п (через элементы ИЛИ 14 или непосредственно) подключен к вычитающему входу сумматора- вычитател 5. При этом выход элемента И 1 3 (m 0,1,.. .,М) подключен к тому разр ду, который имеет номер, равньш m (т.е. вес 2), а выход каждого из остальных элементов И 1 3 у, (п 1,...,N; m 0,1,...,М) - к разр дам , имеющим вес . В случае , если к одному и тому же входу сумматора-вычитател 5 необходимо подключить несколько элементов И 13, это сделано через элементы ИЛИ 14.the course of that of the keys l-2-n of block 2, whose index coincides with the second index in the designation of the element And 13. Therefore, the element And 13, is connected to the output of the m-th digit of counter 7 and to the output of the element And 12n (t 0,1, ..., M; n 1, ..., M). The output of the element AND, p (via the elements OR 14 or directly) is connected to the subtractive input of the adder-subtractor 5. At the same time, the output of the element AND 1 3 (m 0,1, ..., M) is connected to the bit that has the number , is equal to m (i.e., weight 2), and the output of each of the remaining elements I 1 3 y, (n 1, ..., N; m 0,1, ..., M) - to bits that have weight . If you need to connect several AND 13 elements to the same input of the adder-subtractor 5, this is done through the elements of OR 14.
Сз мматор-вычитатель 5 (фиг. 4) имеет первую группу входов 15, вторую группу входов 16, собственно накапливающий сумматор-вычитатель 1 7 с группой входов 18 и управл ющими входами 19 и 20, элементы ИЛИ 21 - 23. Входы 15 подключены к элементу ИЛИ 22. Входы 16 таким же образом подключены к элементу ИЛИ 23. Выход элемента ИЛИ 22 соединен с управл ющим входом 19, а выход элемента ИЛИ 23 подключен к управл ющему входу 20. Входы одноименных разр дов обеих групп 15 и 16 через соответствующий элемент ИЛИ 21 подключены к входу того же разр да сумматора- вычитател 17.Sz mmator-subtractor 5 (Fig. 4) has the first group of inputs 15, the second group of inputs 16, the accumulator-subtractor 1 7 itself, with a group of inputs 18 and control inputs 19 and 20, elements OR 21 - 23. Inputs 15 are connected to OR 22. Inputs 16 are connected in the same way to OR 23. The output of OR 22 is connected to control input 19, and the output of OR 23 is connected to control input 20. Inputs of the same name of both groups 15 and 16 are through the corresponding element OR 21 are connected to the input of the same bit of the totalizer-subtractor 17.
Прежде чем описать функционирование предлагаемого устройства по фиг. 1 и 2, остановимс на принципе его работы, который иллюстрируетс фиг. 3.Before describing the operation of the device according to FIG. 1 and 2, we will focus on its principle of operation, which is illustrated in FIG. 3
В техническом рещении используетс линейна интерпол ци зависимости вида fg(k) 1/k, узлы (,1,...). На фиг. 3 приведены графики этой зависимости дл различных 1.In technical solutions, linear interpolation of the form fg (k) 1 / k, nodes (, 1, ...) is used. FIG. 3 shows the graphs of this dependence for various 1.
В устройстве импульсы поступаютThe device pulses come
5five
00
5five
00
5five
00
по двум входам, и оно формирует значени функции fJ(k) 1/k, где k - количество импульсов, поступивших ПО одному входу (Знаменатель) а 1 - количество импульсов, поступив- 5 ших по другому входу (Числитель).on two inputs, and it forms the values of the function fJ (k) 1 / k, where k is the number of pulses received by the software on one input (Denominator) and 1 is the number of pulses received on 5 other inputs (Numerator).
В качестве примера рассмотрим си- туацию, при которой на вход знаменател поступило импульса, а наAs an example, let us consider a situation in which a pulse arrived at the input of the denominator, and
5151
вход числител - импульса. Тогда устройство должно сформировать значение функции f (4) 3/4, и его состо ние отображаетс точкой, наход щейс на кривой, соответствующей при аргументе . Если теперь очередной импульс поступит на вход числител (значение 1.возрастает от 1 3 до 1 4), то изображающа точка должна перейти на более высокую кривую при том же значении аргумента , Это новое состо ние обозначено точкой Ь.input numerator - pulse. The device must then generate the value of the function f (4) 3/4, and its state is indicated by a dot on the curve corresponding to the argument. If now the next pulse arrives at the input of the numerator (the value of 1. increases from 1 3 to 1 4), then the image point must move to a higher curve with the same value of the argument. This new state is indicated by the point b.
Если же в случае, когда устройство находилось в состо нии (л(4) 3/4), поступил импульс на вход знаменател , т.е. аргумент k изменил свою величину от до изображающа точка дрлжа перейти по той же кривой на один шаг вправо (в точку с).If in the case when the device was in the state (l (4) 3/4), a pulse arrived at the input of the denominator, i.e. The argument k changed its value from to the image point of the drill to move along the same curve one step to the right (to point c).
Устройство работает следующим образом.The device works as follows.
Сначала остановимс на функционировании элементов 1,2,3.First we will stop on the functioning of elements 1,2,3.
Как отмечалось вьш1е, эти элементы в совокупности образуют устройство, функционирование которого заключаетс в следующем.As noted above, these elements collectively form a device, the operation of which is as follows.
Предположим, что в исходном состо нии все триггеры счетчиков. 1 и 3 установлены в нулевое состо ние. Это делаетс с помощью, например, подачи импульсов на R-входы триггеров.Suppose that in the initial state all the trigger triggers. 1 and 3 are set to zero. This is done by, for example, applying pulses to the R inputs of the flip-flops.
Поскольку все триггеры счетчика 1 наход тс в нулевом состо нии, на их инверсных выходах имеютс единичные сигналы. Эти сигналы поступают на входы элементов И 10-N-1 - 10-1, поэтому на выходе каждого из этих элементов также имеет место единичный сигнал. Эти единичные сигналы поступают на элементы И 11-N-1 11-1. Однако, поскольку все триггеры счетчика 1 наход тс в нулевом состо нии, на второй вход каждого иэ Элементов И 11п (п 1,...,N) подаетс нулевой сигнал с пр мого выхода того триггера, которьй имеет вес 21 . Поэтому все элементы И lln на выходе имеют нулевой сигнал и все ключи (элементы И) 12п (п ,,..,N) оказьшаютс запертыми Исключение составл ет ключ I2-1, который открыт единичным сигналом с вьпсода элемента И1 0-1 .Since all the triggers of the counter 1 are in the zero state, there are single signals at their inverse outputs. These signals arrive at the inputs of the AND 10-N-1 elements - 10-1, therefore, a single signal also takes place at the output of each of these elements. These single signals are sent to the elements And 11-N-1 11-1. However, since all the triggers of the counter 1 are in the zero state, a second signal from the direct output of that trigger, which has a weight of 21, is sent to the second input of each of the I 11n Elements (n 1, ..., N). Therefore, all elements AND lln at the output have a zero signal and all keys (elements I) 12n (n ,, .., N) turn out to be locked. The exception is the key I2-1, which is opened with a single signal from the output of element I1 0-1.
Первый импульс, поступивщий на ;вход 8 через открытьш ключ 12-1,The first pulse arriving at; input 8 through open the key 12-1,
598fпоступает на вход триггера нулевого разр да (2) счетчика 3 и переводит этот триггер в единичное состо ние, В счетчике 3 оказьшаетс записанным число ,00... (единица). Вслед за этим тот же импульс записывает в счетчик 1 единицу (число 1000.. о). При этом триггер нулевого разр да этого счетчика (веса 2 ) переходит в единичное состо ние, на его инверсном выходе по вл етс нулевой сигнал, закрьшающий ключ 12-1. Еди- иичньм сигнал, по вившийс на пр мом выходе того же триггера, поступит на второй вход элемента И 11-2, на его выходе также по витс единичный сигнал, которьш поступит на ключ 12-2 и откроет его.598f enters the zero-bit trigger input (2) of counter 3 and translates this trigger into one state. In counter 3, the number 00 ... (one) is written. Following this, the same impulse writes 1 unit into the counter (the number 1000 .. o). In this case, the zero-discharge trigger of this counter (of weight 2) goes into one state, at its inverse output a zero signal appears that hits the key 12-1. The single signal, which appeared at the direct output of the same trigger, will go to the second input of the element 11-2, and a single signal will also appear at its output, which will go to the key 12-2 and open it.
00
Следующий (второй) импульс от входа 8 через открытый кл}оч 1 2-2 попадает на вход триггера разр да -1 (вес 2) счетчика За Поскольку счетчик 3 вычитающий, подача импульса на вход этого триггера соответствует вычитанию величины 1/2 единицы, ранее записанной в счетчике. В результате в счетчике 3 окажетс записанным число 0,100.,(, 1/2. Тот же импульс от входа 8 через .задержку D записьшает в счетчик 1 двойку (число 0100...).Поскольку при этом триггер 2 счетчика 1 перешел в Нулевое состо ние, а триггер 2 - в единичное состо ние, то с элемента И 10-2 снимаетс единичный сигнал, а на элемент И 11-2 подаетс единичный сигнал и тем самым открываетс ключ 12-2, Нулевой сигнал с выхода элемента И 10-2 будет поддерживать нулевые сигналы на выходах элементов И 10-1, 11-2 и, следовательно, ключ 12-1 останетс закрытым и закроетс ключ 12-2.The next (second) pulse from input 8 through the open cell} Pts 1 2-2 goes to the trigger trigger input -1 (weight 2) of the counter. Since counter 3 is subtracting, the impulse to the input of this trigger corresponds to subtract 1/2 value, previously recorded in the counter. As a result, in the counter 3 the number 0,100., (, 1/2 appears. The same impulse from the input 8 through the delay D is recorded in the counter 1 deuce (the number 0100 ...). Since the trigger 2 of the counter 1 went to Zero state, and the trigger 2 is in the single state, then a single signal is removed from the AND 10-2 element, and a single signal is sent to the AND 11-2 element and thus opens the key 12-2, the zero signal from the output of the AND 10 element 2 will maintain zero signals at the outputs of the And 10-1, 11-2 elements and, therefore, the key 12-1 will remain closed and the key 12-2 will close.
))
Аналогичным рассмотрением получаем , что описание работы элементов схемы 1,2,3 можно представить в табл. 1 и 2 (дл элементов И 10, 11 приведены значени с игналов, единичные или нулевые, на выходах этих элементов после прихода очередного импульса на вход 8),By a similar consideration, we find that the description of the operation of the circuit elements 1,2,3 can be represented in Table. 1 and 2 (for elements 10 and 11, the values from the ignals, single or zero, are given at the outputs of these elements after the arrival of the next pulse at input 8),
Как видно из таблицы, в вычитающем счетчике 4 реализуетс последовательный переход по точкам ломаной линии, котора кусочно-линейно интерполирует кривую f/n (k) 1 /k.As can be seen from the table, subtractive counter 4 implements a sequential transition through the points of the broken line, which interpolates the curve f / n (k) 1 / k piecewise linearly.
Перейдем теперь к описанию функционировани предлагаемого устройства в целом.We now turn to the description of the functioning of the proposed device as a whole.
Предположим первоначально, что на вход 9 числител , не поступило ни одного импульса. Тогда импульсы, поступающие на вход 8 знаменател , будут , как описано выше, записьюать в счетчик 3 двоичную дробь, дающую приближенное (в силу кусочно-линейной интерпол ции) значение величины 1/k, По мере возрастани количества импульсов на входе 8, импульсы последовательно будут по вл тьс на выходе элемента И 12-1, затем И 12и т.д. Эти импульсы поступ т на элементы И второго логического блока 6, от элемента И 12-1 - на элементы И 13(55+ .Suppose initially that the input of the 9 numerator, not received a single pulse. Then the pulses arriving at input 8 of the denominator will, as described above, record a binary fraction in counter 3, giving an approximate (by piecewise linear interpolation) value of 1 / k. As the number of pulses at input 8 increases, the pulses will appear at the output of the element And 12-1, then And 12, etc. These pulses arrive at elements AND of the second logical block 6, and from element 12-1 to elements 13 and (55+.
от элементаfrom item
И Г2-2 - на элементы И 13о,+ 13ji и, в общем случае, от элемента И 2-п - на элементы И , + 13дд у (п 0,..,,N). Однако, поскольку к этому моменту импульсы по входу 9 не поступили, в счетчике 7 записано нулевое число (во всех разр дах записаны нули). Поэтому на выходах элементов И блока 6 будут иметь место нулевые сигналы, следовательно , в накапливающий сумматор-вычи- татель 5 со стороны блока 6 не буде записано никаких чисел. Следовательно , сумматор-вычитател1: 5 сохран ет свое исходное (нулевое) состо ние, что соответствует числу fg(k) o/k 0.And Г2-2 - for elements И 13о, + 13ji and, in general, from the element И 2-п - for elements И, + 13дд у (п 0, .. ,, N). However, since at this moment the pulses at input 9 did not arrive, the counter 7 recorded a zero number (zeros are written in all bits). Therefore, at the outputs of the elements And of block 6, zero signals will occur, therefore, no numbers will be written to the accumulating adder-calculator 5 from the side of block 6. Therefore, the adder-subtractor 1: 5 retains its original (zero) state, which corresponds to the number fg (k) o / k 0.
Противоположна ситуаци (k О, ) очевидно вл етс запретной в силу невозможнос ги делени на нул и поэтому не рассматриваетс .The opposite situation (k 0,) is obviously forbidden due to the impossibility of dividing by zero and therefore is not considered.
Пусть теперь на вход 8 знаменател поступил один импульс (), следовательно, работа устройства оказалась возможной. Если к этому моменту на вход 9 не поступило никаких импульсов, то, как было описано выше, в сумматоре-вычитателе 5 окажетс записанным нулевое число. При этом в вычитающем счетчике 3 оказалась записанной единица (число .1,00.,.). Пусть теперь на вход 9 числител начали поступать импульсы Общее их число будет подсчитано суммирующим счетчиком 7, Кроме того, каждый из этих импульсов, поступа от входа 9 на блок элемента И 4, будет каждый раз подавать на входы суммировани сумматора-вычислител Now suppose that one impulse () has arrived at the input of the 8 denominator; If by this time no impulses have arrived at the input 9, then, as described above, in the subtractor 5 there will be written down a zero number. In this case, in the subtractive counter 3, the unit was recorded (the number .1.00.,.) Now let the pulses begin to arrive at the input 9 of the numerator. Their total number will be counted by summing counter 7. In addition, each of these pulses, coming from input 9 to the block of the AND 4 element, will each time be fed to the inputs of the adder-calculator
единицу, записанную в-счетчике 3, Поэтому к содержимому сумматора- вычитател 5 будет столько раз добавл тьс единица, сколько раз на входе 9 по витс импульс. Следовательно , в сумматоре вычитателе 6 окаже т- с записанным число fg (1) 1/1 1, где 1 - число импульсов, поступив- щих на вход 9 числител .unit recorded in counter 3, Therefore, the number of times a unit is added to the contents of subtractor 5 as many times as the number of times a pulse is entered at input 9. Consequently, in the adder of the subtractor 6, the square meter m is with the recorded number fg (1) 1/1 1, where 1 is the number of pulses received at the input 9 of the numerator.
Предположим теперь, что на вход 9 числител поступило, например, импульса, а на вход 8 знаменател - импульса. Тогда, в соответствии с описанным выше, в суммирующем счетчике 1 будет записано двоичное представление числа, k 0...0100 (младщив разр ды справа), в счетчике 3 число 0,110,.., (младшие разр ды справа), обратное числу, записанному в счетчике 1, а в счетчике 7 - число 00..о011 (младщие разр ды справа), Если функционирование устройства до сих пор происходилоSuppose now that, for example, a pulse arrived at the input 9 of the numerator, and a pulse at the input 8 of the denominator. Then, as described above, in the summing counter 1 a binary representation of the number will be written, k 0 ... 0100 (the first digit to the right), in the counter 3, the number is 0.110, .., (the least significant bits to the right), the inverse number, recorded in the counter 1, and in the counter 7 - the number 00..011 (younger bits to the right), If the device still operated
правильно, то в сумматоре-вычита.те- ле 5 записано число fj() - 3/4 0,1100,.., т.е. в разр дах, имеющих вес 2,2 и более, записаны нули, вcorrectly, then in the adder-subtraction. Title 5 is written the number fj () - 3/4 0,1100, .., i.e. zeros are written in bits with a weight of 2.2 or more, in
4545
разр дах с весом 2, 2 единицы,discharge dach with a weight of 2, 2 units
а в более младщих разр дах 2, 2 и т.д. - также нули.and in the younger grades 2, 2, etc. - also zeros.
Предположим теперь, что на вход 9 поступил еще один, четвертый импульс. Этот импульс увеличит на. единицу содержимое счетчика 7, записав в нем число 00...100. Тот же импульс через блок элементов И4 прибавит к содержимому сумматора-вычитател 5 содержимое счетчика 3, т.е. к числуSuppose now that one more, fourth impulse entered input 9. This impulse will increase by. unit the contents of counter 7, writing in it the number 00 ... 100. The same pulse through the block of elements I4 will add to the contents of the adder-subtractor 5 the contents of counter 3, i.e. to number
0,1100.., будет добавлено число0,1100 .., the number will be added
0,010... Таким образом будет выполнена операци (4) +1/4 3/4 + + 1/4 110,,, Поскольку до этого в нем было зафиксировано число0,010 ... Thus, the operation (4) +1/4 3/4 + + 1/4 110 ,,, will be executed. Since before this number was fixed in it
з() 0,1100,,.,, то после выполнени операции.вычитани в нем зафиксируетс число f3 (5) 0,110000... - 0,0001100 0,101010, которое с точностью , обусловленной кусочно-линей50s () 0.1100 ,,. ,, then after performing the operation. subtracting in it will fix the number f3 (5) 0.110000 ... - 0.0001100 0.101010, which with an accuracy due to the piecewise linear 50
ной интерпол цией, аппроксимирует число 3/5. interpolates, approximates the number 3/5.
На фиг. 3 описанный процесс отоб- ражаетс переходом от точки dj к точ FIG. 3, the described process is indicated by the transition from the point dj to the point
Таким образом, нами рассмотреныThus, we considered
оба случа работы устройства на при- мерах перехода f(4)- f(4) иBoth cases of device operation on the f (4) –f (4) transition examples and
fjC)fjC)
3(5).3 (5).
916916
Дл доказательства достижени цели при любом исходном состо нии рас- смотрим те же две ситуации (поступ- ление импульсов на вход 9 и на вход 8) в общем случае.In order to prove the achievement of a goal in any initial state, let us consider the same two situations (receipt of pulses at input 9 and at input 8) in the general case.
Предположим, что в устройстве к данному моменту на вход 9 поступило 1 импульсов числител (1 ,.,.), а на вход 8 - к импульсам знаменател (k 1,2,...) в счетчиках 7 и 1 записано двоичное изображение чисел k и 1 соответственно, а счетчике 3 - двоичное изображение приближенного значени числа 1/k, а в сумматоре- вычитателе 5 - приближенное значение числа fg(k) 1/k.Suppose that at this time, the device received 1 pulses of the numerator (1,.,.) At input 9, and denominator pulses (k 1,2, ...) at counters 7 and 1 recorded a binary image of numbers k and 1, respectively, and counter 3, a binary image of the approximate value of 1 / k, and in subtractor 5, the approximate value of fg (k) 1 / k.
Предположим теперь, что на вход 9 поступил очередной импульс числител . Как следует из принципа работы iустройства, в нем происходит увеличение на единицу содержимого счетчика 7 и добавление к содержимому на- капливающего сумматора-вычитател 5 содержимого счетчика 3, т.е. fj(k) Suppose now that the next pulse of the numerator arrived at the input 9. As follows from the principle of operation of the device, it increases the content of the counter 7 by one unit and adds the content of the counter 3 to the content of the accumulator totalizer 5, i.e. fj (k)
fg(k) f 1/k i (l+l)/k. fg (k) f 1 / k i (l + l) / k.
Ha фиг. 3 это отображаетс переходом (по вертикали) от линии 1 на следующую более высокую линию 1+1.Ha FIG. 3, this is indicated by a transition (vertically) from line 1 to the next higher line 1 + 1.
Рассмотрим случай по влени импульсов на входе 8. Если первоначально в сумматоре-вычитателе 5 было записано некоторое число fg(k), то это означает, что в суммирующем счетчике 7 записано число 1. Поступление очередного импульса-знаменател -приведет к тому, что из числа ffl(k), записанного в сумматоре-вычитателе 5, будет вычтено число 1, записанное в счетчике 7 с весом, определ емым теми границами, в которых находитс число k, записанное в.счетчике 1. Если 2 k с , то, как видно из фиг. 1 и 2, это число будет вычитатьс с весом т.е. произойдет переход по линии, соответствующей числу 1, в соседнюю правуюConsider the case of pulses at input 8. If initially a certain number fg (k) was recorded in adder-subtractor 5, this means that the number 1 is recorded in summing counter 7. The arrival of the next denominator-impulse leads to the numbers ffl (k) recorded in subtractor 5 will subtract the number 1 recorded in counter 7 with a weight determined by the bounds in which the number k recorded in counter 1 is found. If 2 k with, then can be seen from FIG. 1 and 2, this number will be subtracted with weight i. transition on the line corresponding to the number 1 to the adjacent right
точку.the point.
Таким образом, с точностью, обусловленной прин той линейной интерпол цией , будет реализована операци вычислени текущего значени отношени 1/k.Thus, with the accuracy stipulated by the linear interpolation, the operation of calculating the current value of the ratio 1 / k will be implemented.
Сумматор-вьшитатель работает следующим образом.The adder operates as follows.
При поступлении числа на группу входов 15 сигналы из разр дов через элементы ИЛИ 21 поступают на накап0When a number arrives at a group of inputs 15, the signals from the bits through the elements OR 21 arrive at the naps
5981059810
ливающий сумматор-вычитатель 17. Од- новременно эти сигналы попадают на ;- элементы ИЛИ 22. Поскольку хот бы один из разр дных сигналов на входах 5 15 не равен нулю, на выходе элемента 22 имеет место единичный сигнал, которьй поступает на вход 19. Подача сигнала на вход 19 приводит к тому , что число, подаваемое на сумматор 17, прибавл етс к содержимому ; сумматора 17. Aнaлoг гчным образом число, по вл ющеес на входе 16, также попадает на сумматор-вычитатель 17 и одновременно через элемент ИЛИ 23 фиксирует единичный сигнал на управл ющем входе 20, что приводит к вычитанию числа от входов 16 из содержимого сумматора-вьиитате0 л 17.the adder-subtractor 17. At the same time, these signals fall on; - elements OR 22. Since at least one of the bit signals at the inputs 5 15 is not zero, the output of the element 22 is a single signal, which is fed to the input 19. Signaling input 19 causes the number applied to adder 17 to be added to the content; 17. Analogically, the number appearing at the input 16 also goes to the adder-subtractor 17 and simultaneously through the OR element 23 fixes a single signal at the control input 20, which leads to the subtraction of the number from the inputs 16 from the content of the adder-viate0 l 17.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894629644A SU1610598A1 (en) | 1989-01-02 | 1989-01-02 | Counting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894629644A SU1610598A1 (en) | 1989-01-02 | 1989-01-02 | Counting device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1610598A1 true SU1610598A1 (en) | 1990-11-30 |
Family
ID=21419337
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU894629644A SU1610598A1 (en) | 1989-01-02 | 1989-01-02 | Counting device |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1610598A1 (en) |
-
1989
- 1989-01-02 SU SU894629644A patent/SU1610598A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Применение интегральных микросхем в электронной вычислительной технике. Справочник, М.: Радио и св зь, 198.6. Мельников А.А, и др. Обработка частотных и временных импульсных сигналов. М„: Энерги , 1976. Авторское свидетельство СССР № 403070, кл. Н 03 К 23/00, 19-71. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| SU1610598A1 (en) | Counting device | |
| US3145292A (en) | Forward-backward counter | |
| US3182306A (en) | Converter | |
| RU2043648C1 (en) | Time intervals adaptive meter | |
| SU411453A1 (en) | ||
| SU1148116A1 (en) | Polyinput counting device | |
| RU2047272C1 (en) | Reversible binary counter | |
| SU1300459A1 (en) | Device for sorting numbers | |
| SU1509936A1 (en) | Device for computing exponential statistics of binary number sequence | |
| SU1476459A1 (en) | Arithmetic unit | |
| SU1061263A1 (en) | Counting device | |
| SU955031A1 (en) | Maximum number determination device | |
| SU780205A1 (en) | Reversible binary-decimal counter | |
| SU1264167A1 (en) | Device for calculating square root | |
| SU896781A1 (en) | Synchronization device | |
| SU951321A1 (en) | Retrieval code frequency ranging device | |
| SU1319028A1 (en) | Digital pulse repetition frequency multiplier | |
| SU1387016A1 (en) | Digital filter | |
| SU1075260A1 (en) | Device for making summation of m n-bit numbers arriving in sequential order | |
| SU964628A1 (en) | Binary number comparing device | |
| SU1335978A1 (en) | Device for determining position of number on number axis | |
| SU1377843A1 (en) | Code ring oscillator | |
| SU1130860A1 (en) | Dividing device | |
| SU1103256A2 (en) | Device for simulating digital radio-communication channel | |
| SU1193672A1 (en) | Unit-counting square-law function generator |