SU1068931A2 - Device for comparing binary digits - Google Patents
Device for comparing binary digits Download PDFInfo
- Publication number
- SU1068931A2 SU1068931A2 SU813371114A SU3371114A SU1068931A2 SU 1068931 A2 SU1068931 A2 SU 1068931A2 SU 813371114 A SU813371114 A SU 813371114A SU 3371114 A SU3371114 A SU 3371114A SU 1068931 A2 SU1068931 A2 SU 1068931A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- trigger
- output
- signal
- delay element
- Prior art date
Links
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
УСТРОЙСТВО ДЛЯ СРАВНЕНИЯ ДВОИЧНЫХ ЧИСЕЛ по авт. ев, № 822178, отличающеес тем, что, с целью повышени достоверности результата сравнени , устройство содержит дополнительный элемент задержки и триггер, причем вход управлени устройства через дополнительный элемент задержки соединен с единичным входом дополнительного триггера, нулевой вход которого соединен с входом сброса устройства, а пр мой - с третьими входами второго и элементов И. (ЛDEVICE FOR COMPARISON OF BINARY NUMBERS on author. Ev. No. 822178, characterized in that, in order to increase the reliability of the comparison result, the device contains an additional delay element and a trigger, wherein the device control input is connected via an additional delay element to a single additional trigger input, the zero input of which is connected to the device reset input, and right my - with the third inputs of the second and elements I. (L
Description
1717
16sixteen
jli 0/11jli 0/11
Oi 00Oi 00
;о;about
m/J m / j
ОдOd
10ten
чh
-015-015
/2/ 2
Изобретение относитс к автоматике и аычислительной технике и может быть использовано при реализации технических средств дискретной автоматики. .The invention relates to automation and computing technology and can be used in the implementation of discrete automation hardware. .
По основному авт. св. № €22178 известно устройство дл двоичных чисел, содержащее п-разр дный счетчик, установочные входы которого соединены с шинами первого сравнительного числа устройства, тригref )bi, элементы И и ИЛИ, элемент задержки , причем выход переполнени п-разр дного счетчика через элемент задержки соединён с единичным входом первого триггера , пр мой выход которого соединен с первыми входами первого и второго элементов И, выход первого элемента И соединен с единичным входом второго триггера , нулевые входы первого и второго триггера соединены с входом сброса устройства, инверсный выход первого триггера соединен с первым входом третьего элемента И, второй вход которого соединен с инверсным выходом второго триггера и вторым входом второго элемента И, выходы второго и третьего элементов И вл ютс соответственно первым и вторым выхода1«и устройства , пр мой выход второго триггера вл етс третьим выходом устройства, первый вход элемента ИЛИ соединен с входом ввода второго числа устройства, второй вход- с входом управлени устройства,According to the main author. St. No. € 22178, a device for binary numbers is known, comprising a p-bit counter, the setup inputs of which are connected to the tires of the first comparative device number, trifi bi, AND and OR elements, delay element, and the p-counter counter overflow output connected to the single input of the first trigger, the direct output of which is connected to the first inputs of the first and second elements I, the output of the first element I connected to the single input of the second trigger, zero inputs of the first and second trigger connected to device reset, the inverse output of the first trigger is connected to the first input of the third element And, the second input of which is connected to the inverse output of the second trigger and the second input of the second element And, the outputs of the second and third elements And are respectively the first and second output 1 "and devices my output of the second trigger is the third output of the device, the first input of the OR element is connected to the input input of the second number of the device, the second input is connected to the control input of the device,
а выход элемента ИЛИ - со счетным входом счетчика и вторым входом первого элемента И {1J.and the output of the OR element is with the counting input of the counter and the second input of the first element AND {1J.
Недостатком данного устр,ойстБа вл етс невысока достоверность результата сравнени , поскааьку после прохождени сигнала сброса, еще до поступлени по 1иине управлени сигнала фиксации, на выходной щине устанавливаетс единичный сигнал, который может быть ошибочно прин т за результат сравнени . Кроме того, в случае, если , то с момента окончани поступлени на вход устройства числа Б и до момента поступлени на управл ющий вход устройства сигнала фиксации на выходной шине 14 {А Б) при .сутствует единичный сигнал, который также может быть прин т за результат сравнени .The disadvantage of this device is that the reliability of the comparison result is low, since after the reset signal passes, even before the latch signal is received by the control of the latching signal, a single signal is set on the output bus, which can be mistakenly taken as the result of the comparison. In addition, if, from the moment the number B arrives at the device input and until the fixation signal arrives at the control input of the device, the output bus 14 (A B) with a single signal, which can also be taken as comparison result.
Целью изобретени вл етс повышение достоверности результата сравнени двоичных чисел.The aim of the invention is to increase the reliability of the binary number comparison result.
Поставленна цель достигаетс тем, что устройство дл сравнени двоичных чисел содержит дополнительный элемент задержки и триггер, причем вход управлени устройства через дополнительный элемент задержки соединен с единичным входом дополнительного триггера, нулевой вход которого соединен с входом сброса устройства, а пр мой выход - с третьими входами второго и третьего элементов И. . На чертеже представлена функциональна схема устройства.The goal is achieved in that the device for comparing binary numbers contains an additional delay element and a trigger, wherein the device control input is connected via an additional delay element to the single input of an additional trigger, the zero input of which is connected to the device reset input and the direct output to the third inputs second and third elements I.. The drawing shows the functional diagram of the device.
Устройство сЪдержит п-разр дный счетчик I, шину 2 первого сравниваемого ЧИС ла, вход 3 ввода в.торого сравниваемого числа, вход 4 управлени устройства, вход 5 сброса, элемент ИЛИ 6, элемент 7 за держки, триггеры 8 и 9, элементы И 10-12, выходные шины 13-15, триггер 16 и элемент 17 задержки,The device will hold the p-bit counter I, bus 2 of the first compared NUMBER, input 3 of the input in the second comparable number, input 4 of the device control, input 5 reset, the element OR 6, the element 7 for the holders, triggers 8 and 9, the elements AND 10-12, output tires 13-15, trigger 16 and delay element 17,
Устройство работает следующим . The device works as follows.
Перед началом сравнени по входу 5 поступает сигнал сброса, который устанавливает триггеры 8, 9 и 16 в нулевое состо ние . Нулевой сигнал на пр мом выходе триггера 16 запрещает по вление на выходахBefore starting the comparison, input 5 receives a reset signal, which sets triggers 8, 9, and 16 to the zero state. A zero signal at the direct output of trigger 16 prohibits the appearance of outputs.
5 элементов И 11 и -12 единичных сигналов, и на всех выходах устройства 13-15 будут нулевые значени сигналов. Первое сравниваемое число подаетс по шине таким образом, что в п-разр дном счетчике устанавливаетс его инверсное значение. После этого по входу 3 через элемент ИЛИ 6 на информационный вход младшего разр да счетчика поступает второе число в виде число-импульсной последовательности . Когда второе число передано, по входу5 elements of both 11 and -12 single signals, and on all outputs of the device 13-15 there will be zero values of the signals. The first comparison number is fed over the bus in such a way that its inverse value is set in the n-bit counter. After that, the input 3 through the element OR 6 to the information input of the least significant bit of the counter receives the second number in the form of a number-pulse sequence. When the second number is transmitted, at the entrance
5 4 управлени поступает сигнал и спуст , некоторое врем на одной из выходных шин 13-15 сформировываетс результат сравнени в виде единичного сигнала. Это врем определ етс величиной задержки, элемента 17, задержкой переключени триггера 165 4 controls receive a signal and after some time a comparison result is formed in one of the output buses 13-15 as a single signal. This time is determined by the magnitude of the delay, the element 17, the switching delay of the trigger 16
O и элементов И 11 и 12 дл выходов 14 и 15 и задержкой переключени триггера 9 и элемента И 10 дл выхода 13, причем дл нормальной работы устройства величина задержки элемента 17 должна превышать величНну задержки 7 элемента. На выходахO and elements 11 and 12 for outputs 14 and 15 and the switching delay of trigger 9 and element 10 for output 13; At the exits
13-15 результат сравнени сохран етс до поступлени сигнала сброса по входу 5.13-15, the comparison result is maintained until the reset signal on input 5 arrives.
Пусть А Б 101, тогда в счетчике I число А устанавливаетс в виде инверсного кода 010. После приема на счетный входLet A B 101, then in the counter I the number A is set in the form of an inverse code 010. After being received at the counting input
. младшего разр да число-импульсной последовательности из 101 импульса в счётчике 1 происходит суммирование 010-Ь 101 111. После поступлени по входу 4 управлени сигнала в счетчик 1 добавл етс еще единица и на выходе старшего разр да сфор5 мировываетс сигнал переполнени , который после задержки на элементе 7 устанавливает в единичное состо ние триггер 8 сразу после прекращени сигнала на выходе элемента ИЛИ 6. Единичное состо ние триггера 8 и нулевое состо ние элемента. the lower bit of the pulse number of 101 pulses in the counter 1 is summed 010-L 101 111. After the signal arrives at input 4 of the control signal, one more is added to the counter 1, and an overflow signal is detected at the high-bit output, which after a delay of element 7 sets to one state the trigger 8 immediately after the termination of the signal at the output of the element OR 6. The single state of the trigger 8 and the zero state of the element
0 И П на выходе 14 (А Б) при нулевых сигналах на выходах 13 и 15. .0 And P at output 14 (A B) with zero signals at outputs 13 and 15..
Пусть , дл определенности и . После приема «иола в счетчике 1 устанавливаетс инверсное значение 010, а после приема на счетный вход ПО им5 пульсов устанавливаетс в единичное сойто ние триггер 8. После поступлени по 4 сигнала фиксации на выходе элемен та И 10 формируетс единичнь1Й сигнал и tprtrrep 9 устанавливаетс в единичное cog 1ф ниё, тем самым определ й единичный cHir выходе13 () и нрёйые на Вы дах 14 и 15. Пусть , дл определенности и Б 100. После приема числа в счетчике 1 устанавлнвайгс инверсное значение 010, а после приема на счетный вход 100 импульсов получаетс сумма OJO+100 110. „ После йбстунлений по входу 4 сигнала ( ЛоЛучеина суММ увеличиваетс на адйннцу: МО + 001 -П1. Так как сигнал переполнени g этом случае не по вл етс , то триггеры 8 и 9 остаютс в нулевом то нии. Триггер 16 устаНавлибаетс в единичное состо ние сигналом фиксации, пр«тупаюшим по входу 4 управлени , при этом На выходе 15 () с помощью элв1кнта И 12 формируетс единичный сигнал при,нулевых сигналах на выходах 13 и 14. Элемент 7 задержки в устройстве мо-ч жет oTcytCtfioBaTb вообще, если выдерж г ваютс необходимые беременные отношени . ,,; . . -. ::- Таким образом, введение в устройстве второго элемента задержки и третьего-три ггера с соответствующими св з ми позвол ет существенно повысить достовбрность результата сравнени двоичных-чисел, П)6г скольку единичиый сигнал сравнени пр бЯ ётс на одной из выхоДНТлх ШИТ усфб1йст ва только после поступлени на вход Jn равлени его сигнала фиксации,Let, for definiteness and. After receiving the "Iola" in the counter 1, the inverse value 010 is set, and after receiving the counting input, the IM 5 pulses the trigger 8 is set to one. After receiving 4 fixation signals at the output of the AND 10 element, a single signal is generated and the tprtrrep 9 is set to one cog 1f is taken, thus the definite unit cHir output13 () and are on highs 14 and 15. Suppose for definiteness that B 100. After receiving the number in counter 1, the inverse value of 010 is set, and after receiving the counting input 100 pulses are received the amount of OJO + 100 110. After imbalances on input 4 of the signal (the Lucchein sumM is increased by the admin: MO + 001 -P1. Since the overflow signal g does not appear in this case, the triggers 8 and 9 remain at zero. The trigger 16 is set to one state a latching signal, prupayuschim on input 4 of the control, while the output 15 () with the help of eleknty And 12 forms a single signal at zero signals at outputs 13 and 14. The delay element 7 in the device can oTcytCtfioBaTb in general, if There is a necessary pregnant relationship. ,,; . . -. :: - Thus, the introduction in the device of the second delay element and the third-three gager with appropriate connections allows to significantly increase the quality of the binary-binary comparison result, P) 6d, since the unit comparison signal is right on one of the output devices only after arriving at input Jn of its latch signal,
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813371114A SU1068931A2 (en) | 1981-12-29 | 1981-12-29 | Device for comparing binary digits |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813371114A SU1068931A2 (en) | 1981-12-29 | 1981-12-29 | Device for comparing binary digits |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU822178A Addition SU168070A1 (en) | PLAIN FOR DISPLACEMENT OF LONG-WATER AND WATER PIPELINES |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1068931A2 true SU1068931A2 (en) | 1984-01-23 |
Family
ID=20988496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU813371114A SU1068931A2 (en) | 1981-12-29 | 1981-12-29 | Device for comparing binary digits |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1068931A2 (en) |
-
1981
- 1981-12-29 SU SU813371114A patent/SU1068931A2/en active
Non-Patent Citations (1)
Title |
---|
1. Авторское свидетельство СССР №822178. кл. G Об F 7/04, 1979 (прототип). ,Число А * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4298978A (en) | Data communication apparatus | |
GB1353936A (en) | Trainable system of cascaded processors | |
SU1068931A2 (en) | Device for comparing binary digits | |
GB1363594A (en) | Data transmission | |
SU822178A1 (en) | Binary number comparator | |
US4044206A (en) | Digital decoder for multiple frequency telephone signalling | |
US3308286A (en) | Statistical decision circuit | |
US3710326A (en) | Preferential offering signal processing system | |
SU696624A1 (en) | Device for quality control of transmission of telegrams | |
US3333246A (en) | Delay line clock | |
SU864279A1 (en) | Number comparator | |
SU1043635A2 (en) | Data sorting device | |
US3316535A (en) | Comparator circuit | |
SU1193658A1 (en) | Device for comparing binary numbers | |
SU1444880A1 (en) | Method of controlling indicator elements | |
SU411453A1 (en) | ||
SU1578712A1 (en) | Multichannel priority device | |
SU1016785A1 (en) | Variable priority device | |
SU560222A1 (en) | Device for converting binary code to gray code and vice versa | |
SU869032A1 (en) | Switching device | |
SU1288927A1 (en) | Device for measuring telegraphy rate | |
SU959286A2 (en) | Apparatus for detecting errors of bipolar signal | |
SU1193672A1 (en) | Unit-counting square-law function generator | |
SU972490A1 (en) | Data input device | |
SU1005031A1 (en) | Device for comparing numbers |