SU771663A1 - Comparison device - Google Patents
Comparison device Download PDFInfo
- Publication number
- SU771663A1 SU771663A1 SU782679310A SU2679310A SU771663A1 SU 771663 A1 SU771663 A1 SU 771663A1 SU 782679310 A SU782679310 A SU 782679310A SU 2679310 A SU2679310 A SU 2679310A SU 771663 A1 SU771663 A1 SU 771663A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- counter
- bus
- bit
- Prior art date
Links
Landscapes
- Manipulation Of Pulses (AREA)
Description
Изобретение относится к области автоматики и вычислительной техники и предназначено для анализа информационного кода с кодом уставки и логической оценки соотношения этих кодов по принципу ’’равно”, ’’больше”, ’’меньше” с последующей выдачей результата сравнения 5 в исполнительное устройство.The invention relates to the field of automation and computer engineering and is intended for the analysis of an information code with a setpoint code and a logical assessment of the ratio of these codes according to the principle of "equal", "" more "," less ", followed by the output of the comparison result 5 to the actuator.
Известно устройство для сравнения, содержащее триггеры, счетчики, генератор тактовых импульсов, формирователи, элементы И, ИЛИ [1].)0 A device for comparison is known, containing triggers, counters, a clock, shapers, AND, OR elements [1]. ) 0
Недостатком этого устройства является сложность.The disadvantage of this device is complexity.
Наиболее близким к предложенному техническим решением является устройство для сравнения, содержащее счетчик, триггеры, элементы И, jS ИЛИ, НЕ, п переключателей, причем первая шина i-ro переключателя, где i = 1, 2, ..., η, η — число разрядов сравниваемых чисел, соединен с i-ым входом первого элемента И, со входом i-ro элемента НЕ и (i + 3)-ым входом (i + 1)>м (1 + 2),..., , η-го поразрядных элементов И, вторая шина i-ro переключателя подключена к инверсному выходу i-ro разряда счетчика и к первому входу i-ro поразрядного элемента И, вы- ход которого соединен с i-ым входом первого элемента ИЛИ, выход которого подключен ко входу установки в единичное состояние первого триггера, выход i-ro элемента НЕ соединен со вторым входом i-ro поразрядного элемента И, третьи входы поразрядных элементов И подключены к шине управления устройства, выход первого элемента И соединен со входом установки в единичное срстояние второго триггера, (п + 1)-й вход первого элемента И подключен к шине управления устройства, третья шина i-ro переключателя соединена с прямым выходом i-ro разрядного счетчика (2].Closest to the proposed technical solution is a device for comparison, containing a counter, triggers, elements AND, jS OR, NOT, n switches, and the first bus i-ro switch, where i = 1, 2, ..., η, η - the number of digits of the numbers being compared, connected to the i-th input of the first AND element, with the i-ro input of the NOT element and the (i + 3) -th input (i + 1) > m (1 + 2), ..., η -th bit elements AND, the second bus of the i-ro switch is connected to the inverse output of the i-ro discharge of the counter and to the first input of the i-ro bit element And, the output of which is connected to the i-th input of the first of the OR element, the output of which is connected to the unit state of the first trigger, the output of the i-ro element is NOT connected to the second input of the i-ro bit element AND, the third inputs of the bit elements AND are connected to the control bus of the device, the output of the first element AND is connected to the input of the unit to the unit distance of the second trigger, the (n + 1) -th input of the first element AND is connected to the control bus of the device, the third bus of the i-ro switch is connected to the direct output of the i-ro bit counter (2].
Недостатком этого устройства 'является его сложность.The disadvantage of this device is its complexity.
Целью изобретения является упрощение устройства.The aim of the invention is to simplify the device.
Поставленная цель достигается тем, что в устройстве, содержащем счетчик, триггеры, элементы И, ИЛИ, НЕ, η переключателей, причем первая шина i-ro переключателя, где i = 1, 2, ...Д п — число разрядов сравниваемых чисел, со-с единена с i-ым входом первого элемента И, со входом i-ro элемента НЕ и (i + 3)-м входомThis goal is achieved by the fact that in the device containing the counter, triggers, elements AND, OR, NOT, η switches, and the first bus i-ro switch, where i = 1, 2, ... D p - the number of digits of the compared numbers, connected to the i-th input of the first AND element, with the input of the i-ro element NOT and the (i + 3) -th input
771663 4 (i + 1), (i + 2), ..., η-го поразрядных элементов И, вторая шина i-ro переключателя подключена к инверсному выходу i-ro разряда счетчика. и к первому входу i-ro поразрядного элемента И, выход которого соединен с i-ым входом первого элемента ИЛИ, выход которого подключен ко входу установки в единичное состояние первого триггера, выход i-ro элемента НЕ соединен со вторым входом i-ro поразрядного элемента И, третьи входы поразрядных элементов И подключены к шине управления устройства, выход первого элемента И соединен со входом установки в единичное состояние второго триггера, (п + 1)-ый вход первого элемента И подключен к шине управления устройства, третья 15 шина i-ro переключателя соединена с прямым выходом i-ro разряда счетчика, прямой выход первого триггера соединен с первым входом второго элемента ИЛИ, второй вход которого подключен к прямому выходу второго тригге- 20 ра, выход второго элемента ИЛИ соединен со > входом установки в нулевое состояние третьего триггера, инверсные выходы первого и второго триггеров подключены к первому и второму входам второго элемента И соответствен- 25 до, третий вход второго элемента И соединен с шиной управления устройства, а выход второго элемента И подключен ко входу установки в единичное состояние третьего тирггера.771663 4 (i + 1), (i + 2), ..., η-th bit elements And, the second bus of the i-ro switch is connected to the inverse output of the i-ro discharge of the counter. and to the first i-ro input of the bit element AND, the output of which is connected to the i-th input of the first OR element, the output of which is connected to the unit input to the first state of the first trigger, the output of the i-ro element is NOT connected to the second input of the i-ro bit element And, the third inputs of the bit elements AND are connected to the control bus of the device, the output of the first element And is connected to the unit input to the second state of the trigger, (p + 1) -th input of the first element And is connected to the control bus of the device, third 15 i-ro bus switch connection inena with direct output of the i-ro discharge of the counter, the direct output of the first trigger is connected to the first input of the second OR element, the second input of which is connected to the direct output of the second trigger, 20, the output of the second OR element is connected to> the installation input to the zero state of the third trigger, the inverse outputs of the first and second triggers are connected to the first and second inputs of the second element And, respectively, 25 to, the third input of the second element And is connected to the control bus of the device, and the output of the second element And is connected to the installation input to unity the new state of the third tirgger.
Функциональная схема устройства представ- зо лена на чертеже.Functional diagram of the device is shown in the drawing.
Устройство содержит счетчик 1, элементы НЕ 21, 22, ...»2П , переключатели 3], 32, ..., 3^ , поразрядные элементы И 4t, 42, .... 4П , элементы ИЛИ 5, 6, элементы И 7, 8, триггеры 9, 35 The device contains a counter 1, elements NOT 21, 2 2 , ... ”2 П , switches 3], 3 2 , ..., 3 ^, bit elements AND 4 t , 4 2 , .... 4 П , elements OR 5, 6, AND elements 7, 8, triggers 9, 35
10, 11, входные шины 12, 13, 14 управления устройства.10, 11, input buses 12, 13, 14 of the control device.
Устройство работает следующим образом.The device operates as follows.
На переключателях 3lt 32, ..., 3^ в двоичном коде набирают ожидаемое число (напри- 4θ мер 23, как показано на чертеже). В исходном состоянии все разряды счетчика 1 и триггеры 9, 10, 11 находятся в состоянии ”0”. Сигналами по входной шине 14 заполняется счетчик 1. Затем на входную шину 12 поступает разрешающий 45 импульс конца измерений; если на счетчик. 1 пришла пачка из 23 импульсов, то на счетчике 1 будет код 10111, произойдет поразрядное сравнение кода, на выходе элемента И 8 формируется единичный сигнал, а триггер 10 фикси- 5θ рует ’’равно”. В случае, если на счетчике 1 код меньше кода уставки, например 10011, то элемент НЕ З3 в третьем разряде своим выходом даст разрешение на поразрядный элемент И 43, а с приходом сигнала по входной шине 12 эле- 55 мент ИЛИ 5 срабатывает, триггер 9 фиксирует ’’меньше”. Если на счетчик 1 пришла пачка 31 импульс (11111), то триггеры 9, 10 останутся в нулевом состоянии, а через элемент И 7 на триггере И зафиксируется состояние ’’больше”. Результат сравнения с выходов триггеров 9, 10j 11 воспринимается исполнительным устройством с некоторой задержкой относительно сигнала по входной шине 12. Затем формируется импульс установки в ”0” и срабатывают в ”0” счетчик 1 и триггеры 9, 10, 11. Элемент ИЛИ 6 повышает надежность схемы в целом, подтверждая нулевое состояние триггеров ’’больше” в случае срабатывания одного из триггеров 9 или 10.On the switches 3 lt 3 2 , ..., 3 ^ in the binary code, the expected number is dialed (for example, 4 θ measures 23, as shown in the drawing). In the initial state, all bits of the counter 1 and the triggers 9, 10, 11 are in the state "0". The signals are filled on the input bus 14 by the counter 1. Then, an enable pulse 45 of the end of the measurements arrives at the input bus 12; if on the counter. 1 a burst of 23 pulses arrived, then on the counter 1 there will be a code 10111, a bitwise comparison of the code will occur, a single signal is generated at the output of the And 8 element, and the trigger 10 fixes 5 θ “equals”. If on the counter 1 the code is less than the set-point code, for example 10011, then the element NOT 3 in the third digit will give permission to the bit element And 4 3 , and with the arrival of the signal via the input bus 12 element 55 OR 5, trigger 9 captures “less”. If burst 31 of pulse (11111) arrived at counter 1, then triggers 9, 10 will remain in the zero state, and through the And 7 element on the And trigger, the “more” state will be recorded. The result of the comparison with the outputs of the triggers 9, 10j 11 is perceived by the actuator with a certain delay relative to the signal on the input bus 12. Then a pulse is set to “0” and counter 1 and triggers 9, 10, 11 are triggered at “0”. The OR element 6 increases the reliability of the circuit as a whole, confirming the zero state of the triggers is “greater” if one of the triggers 9 or 10 is triggered.
Преимущество предложенного устройства по сравнению с прототипом заключается в его простоте.The advantage of the proposed device compared to the prototype lies in its simplicity.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782679310A SU771663A1 (en) | 1978-10-02 | 1978-10-02 | Comparison device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782679310A SU771663A1 (en) | 1978-10-02 | 1978-10-02 | Comparison device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU771663A1 true SU771663A1 (en) | 1980-10-15 |
Family
ID=20791441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782679310A SU771663A1 (en) | 1978-10-02 | 1978-10-02 | Comparison device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU771663A1 (en) |
-
1978
- 1978-10-02 SU SU782679310A patent/SU771663A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU771663A1 (en) | Comparison device | |
SU447714A1 (en) | Device for selecting an average binary number | |
US3308286A (en) | Statistical decision circuit | |
SU560222A1 (en) | Device for converting binary code to gray code and vice versa | |
SU1548782A1 (en) | Device for comparison of codes | |
SU902074A1 (en) | Ring shift register | |
SU1117648A1 (en) | Stochastic (1,n)-port | |
SU402154A1 (en) | USSR Academy of Sciences | |
SU658556A1 (en) | Gray code-to -binary code converter | |
SU1626346A1 (en) | Random train generator | |
SU679984A1 (en) | Shift register control unit | |
SU1403059A1 (en) | Number array sorting device | |
SU839060A1 (en) | Redundancy logic device | |
SU1203502A1 (en) | Information input device | |
SU1278850A1 (en) | Device for checking m-sequence generator | |
SU427458A1 (en) | BINARY SYMBOL REGENERATOR | |
SU388288A1 (en) | ALL-UNION | |
SU1037261A1 (en) | Digital unit checking device | |
SU983566A1 (en) | Frequency digital measuring device | |
SU871166A1 (en) | Device for checking parallel binary code for parity | |
SU717756A1 (en) | Extremum number determining device | |
SU596935A1 (en) | Multichannel clock pulse distributor | |
SU562917A1 (en) | Analog-code converter control with random balancing | |
SU818022A1 (en) | Scale-of-1,5 repetition rate scaler | |
SU653747A2 (en) | Binary counter |