SU754409A1 - Number comparing device - Google Patents
Number comparing device Download PDFInfo
- Publication number
- SU754409A1 SU754409A1 SU782602532A SU2602532A SU754409A1 SU 754409 A1 SU754409 A1 SU 754409A1 SU 782602532 A SU782602532 A SU 782602532A SU 2602532 A SU2602532 A SU 2602532A SU 754409 A1 SU754409 A1 SU 754409A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- comparison
- inputs
- elements
- input
- cells
- Prior art date
Links
Landscapes
- Logic Circuits (AREA)
Description
Изобретение относится к автоматике и вычислительной технике и может быть использовано в цифровых системах автоматического контроля, в частности, в цифровых измерительных, приборах.The invention relates to automation and computing and can be used in digital systems of automatic control, in particular, in digital measuring devices.
Известно устройство для сравнения десятичных чисел с верхним и нижним пределами допуска по принципу "меньше", "норма", "больше", которое выполнено на механических элементах, содержит четыре триггера управления диодными матрицами, осуществляющие перевод десятичных чисел в двоичные, которые сравниваются на диодной схеме сравнения [ΐ].A device for comparing decimal numbers with upper and lower tolerance limits on the principle of "less", "norm", "more", which is performed on mechanical elements, contains four diode array control triggers that convert decimal numbers into binary ones, which are compared on a diode one. comparison scheme [ΐ].
Недостатком устройства является его сложность.The disadvantage of this device is its complexity.
Наиболее близким по технической сущности к предлагаемому является устройство, содержащее счетчик, задающее значение контролируемого параметра в десятичном коде (блок выдачи контролируемого параметра), декадный делитель напряжения, блоки выдачи нижнего и верх10The closest in technical essence to the present invention is a device containing a counter, specifying the value of the monitored parameter in the decimal code (unit for issuing the monitored parameter), decade voltage divider, units for issuing the lower and upper 10
1515
2020
22
него допусков, блок сравнения, состоящий из узлов сравнения младшего и старшего разрядов. выполненный на трехпозиционных поляризованных реле, блок индикации [2].it tolerances, the unit of comparison, consisting of nodes comparing the junior and senior bits. performed on three-position polarized relays, display unit [2].
Недостаток этого устройства - низкое быстродействие.The disadvantage of this device is low speed.
Цель изобретения - повышение быстродействия.The purpose of the invention is to increase speed.
Поставленная цель достигается тем, что в устройстве, содержащем блоки выдачи чисел, узел сравнения единиц, N узлов сравнения десятков, блок индикации, причем выходы первого, второго и третьего блоков выдачи соединены с первыми, вторыми й тетьими информационными : входами соответственно узла сравнения единиц и узлов сравнения, десятков, первый и второй выходы узла сравнения единиц соединены с первым и вторым управляющими входами соответственно первого узла сравнения десятков, первый и второй выходы каждого ΐ -го узла сравнения десятков, где < -1,2,... ( π -1) подключены к первому и второму управляю3 754409This goal is achieved by the fact that in the device containing blocks issuing numbers, unit comparison units, N dozens of comparison nodes, display unit, the outputs of the first, second and third issuing units are connected to the first, second and third informational ones: the inputs of the unit of comparison and comparison nodes, tens, the first and second outputs of the unit of comparison of units are connected to the first and second control inputs, respectively, of the first comparison node of tens, the first and second outputs of each ΐ -th comparison node of tens, dd <-1,2, ... (π -1) are connected to first and second upravlyayu3 754409
щим входам () +1)-γο узла сравнения десятков, выходы η -го узла сравнения соединены со входами блока индикации, причем узел сравнения единиц содержит два элемента ИЛИ, ячейку сравнения страшего разряда состоящую из двух элементов И и девять ячеек сравнения, каждая из которых состоит из двух элементов И и элемента ИЛИ, причем первые информационные входы соответствующих разрядов узла сравнения единиц соединены с первыми входами элементов И ячейки сравнения старшего разряда и ячеек сравнения, вторые информационные входы соответствующих разрядов узла подключены к первым входам вторых элементов И ячейки сравнения старших разрядов и ячеек сравнения, третьи информационные входы соответствующих разрядов узла соединены со вторыми входами элементов И ячейки сравнения старшего разряда > и с первыми входами элементов ИЛИ ячеек сравнения, третий информационный вход старшего разряда подключен ко второ-! му входу элемента ИЛИ первой ячейки сравнения, выход элемента ИЛИ каждой ] .-ой, где ] =1,2, ... 9 ячейкиto the inputs () +1) –γο of the tens comparison node, the outputs of the ηth comparison node are connected to the inputs of the display unit, the comparison unit of units contains two OR elements, the comparison cell of the most severe discharge consisting of two AND elements and nine comparison cells, each of which consists of two elements And and element OR, with the first information inputs of the corresponding bits of the unit of comparison of units connected to the first inputs of the elements And cells of the comparison of the senior discharge and cells of the comparison, the second information inputs of the corresponding discharge The nodes of the node are connected to the first inputs of the second elements And the high-order comparison cells and comparison cells, the third information inputs of the corresponding bits of the node are connected to the second inputs of the High-level comparison cells> and the first inputs of the OR cells, the third high-level information input is connected to second ! to the input of the element OR of the first cell of the comparison, the output of the element OR of each]. oh, where] = 1,2, ... 9 cells
сравнения соединен со вторым входом элемента ИЛИ ( ] +1)-й ячейки сравнения и со вторыми входами элементов Иcomparison is connected to the second input of the element OR (] +1) -th cell of the comparison and with the second inputs of the elements AND
] -й ячейки сравнения, выходы первых элементов И ячейки сравнения старшего разряда и ячеек сравнения подключены к входам первого элемента. ИЛИ, выход которого соединен с первым выходом узла, выходы элементов И ячейки сравнения старшего разряда и ячеек сравнения подключены к входам второго элемента. ИЛИ, выход которого соединен] th comparison cells, the outputs of the first elements AND the high-order comparison cells and the comparison cells are connected to the inputs of the first element. OR, the output of which is connected to the first output of the node, the outputs of the elements AND the comparison cell of the most significant bit and the comparison cells are connected to the inputs of the second element. OR whose output is connected
. со вторым выходом узла, узлы сравнения десятков содержат ячейку сравнения старших разрядов, состоящую из двух элементов И, девять ячеек сравнения, каждая из которых состоит из четырех элементов И и элемента ИЛИ, причем входы первого и. второго элементов И соединены с первым входом ячейки сравнения, первые входы третьего и четвертого элементов И подключены ко второму входу ячейки, первый вход узла соединен с первым входом элемента ИЛИ, выход которого .подключен ко вторым входам второго и четвертого элементов И и к выходу ячейки сравнения, выходы первого, второго, третьего и четвертого элементов И соединены с первым, вторым, третьим и четвертым выходами ячейки сравнения, второй вход элемен. with the second output of the node, the tens comparison nodes contain a high-order comparison cell consisting of two AND elements, nine comparison cells, each of which consists of four AND elements and an OR element, with the inputs of the first and. The second And elements are connected to the first input of the comparison cell, the first inputs of the third and fourth And elements are connected to the second input of the cell, the first input of the node is connected to the first input of the OR element, the output of which is connected to the second inputs of the second and fourth And elements and to the output of the comparison cell , the outputs of the first, second, third, and fourth elements of And are connected to the first, second, third, and fourth outputs of the reference cell, the second input of the elements
та ИЛИ соединен с четвертым входомThis OR is connected to the fourth entrance.
ячейки, элементы ИЛИ, И, первые информационные входы соответствующих разрядов подключены к первым входамcells, elements OR, AND, the first information inputs of the corresponding bits are connected to the first inputs
ячеек сравнения и первого элемента Иcomparison cells and the first element AND
5 ячейки сравнения старшего разряда, вторые информационные входы соответствующих разрядов соединены со вторыми входами ячеек сравнения и с первым входом 5 high-order comparison cells, the second information inputs of the corresponding bits are connected to the second inputs of the comparison cells and to the first input
10 второго элемента И ячейки сравнения старшего разряда, третьи информационные входы соответствующих разрядов подключены ко вторым входам элементов И ячейки сравнения старшего разряда и к 10 of the second element And the high-order comparison cell, the third information inputs of the corresponding bits are connected to the second inputs of the And high-level comparison cell elements and to
5 третьим входам ячеек сравнения, выход каждой ] —ой ячейки сравнения, где 4 -.1,2,.,. 9 соединен с четвертым входом (] + 1)-ой ячейки сравнения, выходы первого элемента И ячейки сравне20 . ния старшего разряда и первые выходы ячеек сравнения подключены ко входам первого элемента ИЛИ, выход которого ~ соединен с первым входом первого элемента И, второй вход которого подклю25 чен к первому управляющему входу'узла, а выход - ко входу второго элемента ИЛИ, другие входы которого соединены со вторыми выходами ячеек сравнения, выход второго элемента И ячейки5 to the third inputs of the comparison cells, the output of each] -th comparison cell, where 4 is 1.1.2,.,. 9 is connected to the fourth input (] + 1) of the reference cell, the outputs of the first element And the cell are equal to 20 . Nia MSB and outputs first comparison cells are connected to the inputs of a first OR gate whose output is connected to the first ~ input of the first AND gate, a second input 25 which Con chen vhodu'uzla to the first control, and the output - to the input of a second OR gate, the other inputs which is connected to the second outputs of the comparison cells, the output of the second element And the cell
30 сравнения старшего разряда и третьи выходы ячеек сравнения подключены ко входам третьего элемента ИЛИ, выход которого соединен с первым входом второго элемента И, второй вход кото35 рого подключен ко второму управляющему входу, а выход - ко входу четвертого элемента ИЛИ, другие входы которого соединены с четвертыми выходами ячеек сравнения, выходы второго и четвертого 30 comparing MSB and third outputs of comparison cells are connected to the inputs of a third OR gate, whose output is connected to a first input of the second AND gate, the second input koto 35 cerned connected to the second control input, and an output - to the input of a fourth OR gate, the other inputs of which are connected with the fourth outputs of the comparison cells, the outputs of the second and fourth
4θ элементов ИЛИ подключены к первому и второму выходам узла. 4θ elements OR are connected to the first and second outputs of the node.
Блок-схема устройства представлена на чертеже,The block diagram of the device shown in the drawing,
Устройство содержит блоки 1,2,3 выдачиThe device contains blocks 1,2,3 issuance
45 узел 4 сравнения единиц, состоящий из ячейки 5 сравнения старшего разряда, содержащий элементы 6,7 И, девять одинаковых ячеек 8| , 82 ... 89 сравнения (из которых только две представлены на чертеже), содержащих элемент 9 ИЛИ, элементы 10, 11 И и элементов 12, 13 ИЛИ, П узлов сравнения десятков 14 142,·.· 14 р 7 .· состоящий 45 node 4 unit comparison, consisting of cell 5 comparison of the senior level, containing the elements of 6.7 And, nine identical cells 8 | , 8 2 ... 8 9 comparisons (of which only two are represented in the drawing) containing element 9 OR, elements 10, 11 AND and elements 12, 13 OR, P comparison nodes of dozens 14 142, ·. · 14 р 7 . · Consisting
из элемента 15 И, ячейки 16 сравненияfrom element 15 And, cell 16 comparison
55 старшего разряда, содержащей элементы 17, 18 И, элементов 19, 20 ИЛИ и девять одинаковых ячеек 211( 21^.., 55 senior order containing elements 17, 18 AND, elements 19, 20 OR and nine identical cells 21 1 ( 21 ^ ..,
21д сравнения (из которых только три представлены на чертеже),21d comparisons (of which only three are shown in the drawing),
5 7544095 754409
66
содержащих элементы 22, 23, 24, 25 И и элемент 26 ИЛИ, элементов 27·, 28, ИЛИ/ элемента 29 И, блок 30 индикации, выходные шины 31, 32, 33.containing elements 22, 23, 24, 25 AND and element 26 OR, elements 27 ·, 28, OR / element 29 AND, block 30 of the display, output tires 31, 32, 33.
Устройство работает следующим об- 5 разом.The device works as follows 5 times.
В исходном состоянии в блок 1 выдачи заносится код числа значения нижнего допуска, а в блок 3 выдачи - код числа значения верхнего допуска в соот- ю ветствии с выбранными допусками. При этом на соответствующие входы узлов 4 и 14 , 14 2 ....14 п сравненияIn the initial state, in the output unit 1, the code of the number of the lower tolerance value is entered, and in output unit 3, the code of the number of the upper tolerance value in accordance with the selected tolerances. In this case, the corresponding inputs of nodes 4 and 14, 14 2 .... 14 n comparison
поступят из этих блоков сигналы уровнем логической "1". В процессе измерения в 15 каждой декаде блока 1, 2 выдачи кода 2 числа сравниваемого (контролируемого) параметра число увеличивается (устройство может работать и при занесении сравниваемого числа в блок 2 выдачи 20 сразу, аналогично числам значений допусков в блоки 1, 3 выдачи). Если значение старшего разряда измеряемой величины меньше установленного нижнего допуска, то ни в одном из элементов 25Signals from these blocks will be received by the logic level "1". In the process of measuring in 15 each decade of block 1, 2 of issuance of code 2 of the number of compared (controlled) parameter, the number increases (the device can work when entering the compared number into block 2 of issuance 20 immediately, similar to the numbers of tolerances in blocks 1, 3 of issuance). If the value of the most significant digit of the measured value is less than the established lower tolerance, then none of the elements 25
17, 22, 24 И узла 14 сравнения десятков не произойдет совпадения, поэтому на выходах элементов 27 и 28 ИЛИ будут логические "О" независимо от результата сравнения в предшествующем 30 младшем, разряде (единиц). Аналогично и на выходах элементов 19, 20 ИЛИ будут тоже сигналы логического "О". В этом случае на оба входа блока 30 индикации поступают сигналы "О", при ко- 35 торых на выходной шине 33 выдается сигнал "меньше".17, 22, 24 AND tens comparison node 14 will not coincide, therefore, the outputs of elements 27 and 28 OR will have logical "O" regardless of the comparison result in the previous 30 lower, bits (units). Similarly, the outputs of the elements 19, 20 OR signals will also be a logical "O". In this case, signals “O” are sent to both inputs of the display unit 30, with a “less” signal being output on the output bus 33.
При равенстве чисел значений старшего разряда измеряемой величины и числа нижнего допуска произойдет совпа- 40 дение сигналов логических "1" только в одном элементе 17, 22 И, например в элементе 22 И ячейки 2Ц сравнения. Сигнал с этого элемента 22 И, пройдя через элемент 27 ИЛИ, поступит на один 45 из входов (первый вход) элемента 15 И. Теперь дальше все будет зависеть от значений чисел предшествующего младшего разряда (единиц) измеряемой величины и допуска. Если измеряемая вели- 5С чина (число) в младшем разряде меньше допуска, то ни в одном элементе 6,If the numbers of values of the most significant digit of the measured value and the number of the lower tolerance are equal, 40 logical signals of “1” will coincide only in one element 17, 22 And, for example, in element 22 And comparison cell 2C. The signal from this element 22 And, passing through the element 27 OR, will go to one 45 of the inputs (first input) of the element 15 I. Now everything will depend on the values of the numbers of the previous low-order digit (units) of the measured value and the tolerance. If the measured value ( 5C ) (number) in the low order is less than the tolerance, then in no element 6,
10 И узла 4 сравнения младшего разряда не произойдет совпадения. При этом на выходе узла сравнения младшего 5< разряда с элемента 13 ИЛИ будет сигнал уровнем "0", который перецается на второй вхоп элемента 15 И последующего старшего узла сравнения (десятков). В этом10 And node 4 of the low-order comparison will not match. In this case, at the output of the comparison node, the younger 5 < discharge from element 13 OR will be a signal of the level "0", which is transferred to the second hopper element 15 And the subsequent senior comparison node (tens). In that
элементе 15 И совпадение* не произойдет, поэтому на выходе элемента 28 ИЛИ будет логический "О", в результате чего блок 30 нвдикащш выдает сигнал "1" на выходе 33 "меньше".element 15 And the match * does not occur, so the output of element 28 OR will be a logical "O", with the result that block 30 nvdikashshsh gives a signal "1" at the output 33 "less."
В случае равенства чисел значений измеряемой величины и допуска произойдет совпадение логических "Ι" в одном из элементов 6, 10 И, например в элементе 10 И ячейки 8 сравнения. При этом на одном из 10 -ти входов элемента 13 ИЛИ будет сигнал "1", который через него передается на второй вход элемента 15 И последующего узла сравнения (десятков). В элементе 15 И произойдет совпадение и сигнал уровнем "1", пройдя через элемент 28 ИЛИ, поступит на первый вход блока 30 индикации, который выдает сигнал "1" по выходу 32 "норма"''при условии, что сравниваемое число меньше значения верхнего допуска, т.е. на второй вход блока 30 индикации поступает логический "О".In case of equality of the numbers of the values of the measured value and the tolerance, the logical "Ι" will coincide in one of the elements 6, 10 And, for example in the element 10 And the comparison cell 8. At the same time on one of the 10 inputs of the element 13 OR there will be a signal "1", which through it is transmitted to the second input of the element 15 And the subsequent comparison node (tens). In element 15, a coincidence will occur and the signal level "1", passing through element 28 OR, will go to the first input of display unit 30, which outputs a signal "1" on output 32 "norm" '', provided that the compared number is less than the upper tolerance, i.e. the second input of the display unit 30 receives a logical "O".
В случае превышения измеряемой величины над допуском в старшем разряде (десятков) произойдет совпадение "1" в одном, из элементов 24, 25 И, например в элементе 24 И ячейки сравнения 212 ι так как в этом разряде код большего числа измеряемой величины поступит на вход предшествующей ячейки сравнения, например на вход элемента 26 ИЛИ. Сигнал "1" сравниваемого числа, пройдя все элементы 26 ИЛИ последующих ячеек сравнения поступит на первый вход всех последующих элементов 24,If the measured value exceeds the tolerance in the high digit (dozens), a “1” coincides in one of the elements 24, 25 And, for example, in element 24 And the comparison cell 212 ι as in this discharge the code of the larger number of the measured value will go to the input previous cell comparison, for example, the input element 26 OR. The signal "1" of the compared number, having passed all the elements of 26 OR of the subsequent comparison cells, will go to the first input of all the subsequent elements 24,
25 И, в результате чего произойдет совпадение логических единиц в элементе 24 И ячейки 21^ сравнения. Выходной сигнал из этого элемента, пройдя через элемент 28 ИЛИ, поступит на выход узла сравнения старшего разряда и, независимо от результата сравнения в предшествующем младшем узле сравнения (единиц), устройство выдает сигнал на выходе 52 "норма", ест: измеряемый параметр меньше значения верхнего допуска, или по выходу 31 "больше", если измеряемый параметр больше значения верхнего допуска.25 And, as a result, there will be a coincidence of logical units in the element 24 AND cell 21 ^ comparison. The output signal from this element, passing through the element 28 OR, will go to the output of the high-order comparison node and, regardless of the comparison result in the previous lower comparison node (units), the device generates a signal at output 52 "normal", eats: the measured parameter is less than upper tolerance, or output 31 "more", if the measured parameter is greater than the value of the upper tolerance.
Сигнал "1" на выходе 32 блока 30 индикации остается без изменений во всем интервале допуска. Если измеряемая величина достигнет верхней границы допуска или превышает ее, то аналогичным образом на выходе узла сравнения старшего разряда из элемента 20 ИЛИ •выдается сигнал уровнем "1". При этомThe signal "1" at the output 32 of the display unit 30 remains unchanged throughout the entire tolerance interval. If the measured value reaches the upper tolerance limit or exceeds it, then in the same way, at the output of the high-order comparison node from element 20 OR • a signal is output by the level "1". Wherein
77
754409754409
8eight
на оба входа блока индикации подаются сигналы уровнем "1" в результате чего последний на выходе 31 выдает сигнал '1' - "больше".Both inputs of the display unit are signaled with a level of "1", as a result of which the last at output 31 outputs a signal "1" - "more".
В предлагаемом устройстве по сравне- 5 . нию с известным значительно увеличило быстродействие устройства, так как коды сравниваемых чисел А, В и С выставляются (задаются) не на коммутирующих элементах, а подаются из блоков выдачи 10 нижнего и верхнего допусков, например из блоков памяти цифровых вычислительных машин, а контролируемый параметр В непосредственно из цифрового измерительного прибора, выполненных на быстро-15 действующих логических элементах.In the proposed device in comparison 5. the well-known device significantly increased the speed of the device, since the codes of the compared numbers A, B and C are not set (set) on the switching elements, but supplied from the issuing blocks 10 lower and upper tolerances, for example, from memory blocks of digital computers, but directly from a digital measuring device, made on the fast-15 operating logic elements.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782602532A SU754409A1 (en) | 1978-04-10 | 1978-04-10 | Number comparing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782602532A SU754409A1 (en) | 1978-04-10 | 1978-04-10 | Number comparing device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU754409A1 true SU754409A1 (en) | 1980-08-07 |
Family
ID=20758839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782602532A SU754409A1 (en) | 1978-04-10 | 1978-04-10 | Number comparing device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU754409A1 (en) |
-
1978
- 1978-04-10 SU SU782602532A patent/SU754409A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1075817A (en) | Sequential encoding and decoding of variable word length fixed rate data codes | |
SU662934A1 (en) | Fibonacci p-code comparing device | |
SU754409A1 (en) | Number comparing device | |
US3355732A (en) | Self-programmed serial to parallel converter | |
SU1608800A1 (en) | Positional code encoder | |
SU983566A1 (en) | Frequency digital measuring device | |
SU1001482A1 (en) | Counter | |
SU1236470A1 (en) | Random sequence generator | |
SU1198562A1 (en) | Indication device | |
SU1049900A1 (en) | Device for sorting binary numbers | |
RU1784963C (en) | Code translator from gray to parallel binary one | |
SU1670684A1 (en) | Device for comparison of two binary numbers | |
SU1499464A1 (en) | Selector of pulse sequences | |
SU1019464A1 (en) | Function generator | |
SU966690A1 (en) | Device for discriminating extremum from nm-digital binary codes | |
SU1149237A1 (en) | Information input device | |
SU763899A1 (en) | Microprogram control device | |
SU1176331A1 (en) | Device for correcting failure in n-bit ring shift register | |
SU760089A1 (en) | Binary number comparing device | |
SU517004A1 (en) | Numerical control system | |
SU841123A1 (en) | Impulse sequence frequency separator with programmed control | |
SU1497744A1 (en) | Pulse counter | |
SU1444744A1 (en) | Programmable device for computing logical functions | |
SU900438A2 (en) | Follow-up analogue-digital converter | |
SU1173402A1 (en) | Number generator |