SU1280610A1 - Device for comparing numbers - Google Patents

Device for comparing numbers Download PDF

Info

Publication number
SU1280610A1
SU1280610A1 SU853862531A SU3862531A SU1280610A1 SU 1280610 A1 SU1280610 A1 SU 1280610A1 SU 853862531 A SU853862531 A SU 853862531A SU 3862531 A SU3862531 A SU 3862531A SU 1280610 A1 SU1280610 A1 SU 1280610A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
trigger
input
inputs
outputs
Prior art date
Application number
SU853862531A
Other languages
Russian (ru)
Inventor
Александр Сергеевич Гуляев
Владислав Витольдович Богданов
Неля Викторовна Асташенко
Original Assignee
Войсковая Часть 27177-М
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Войсковая Часть 27177-М filed Critical Войсковая Часть 27177-М
Priority to SU853862531A priority Critical patent/SU1280610A1/en
Application granted granted Critical
Publication of SU1280610A1 publication Critical patent/SU1280610A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в узлах управлени  и контрол . Цель изобретени  - расширение функциональных возможностей за счет обеспечени  возможности формировани  значени  разности сравниваемых чисел в цифровой форме. Устройство содержит генератор импульсов 1, счетчики 2, 3, триггеры 4-7, элементы И 8-12, элемент неравнозначности 13, злемент ИЛИ 14, вход запуска 15,-группы информационных входов 16 и 17, выход модул  разности 18, выходы 19, 20. Сравниваемые числа записываютс  в счетчики 2, 3. В зависимости от того, какое число больше, соответствующий триггер 4, 5 импульсом переполнени  с выхода соответствующего счетчика 2, 3 устанавливаетс  в единичное состо ние. Следующим импульсом в единичное состо ние устанавливаетс  в единичное состо ние триггер 7, и на выходе 18 формируетс  потенциал логической едиО & ницы, который действует вплоть до переполнени  другого счетчика. При (Л работе устройства формируетс  сигнал на одном из выходов Больше 19 или Меньше 20, на выходе 18 - импульс с длительностью, пропорционально-й разности чисел Т С(А-В), а водном из счетчиков - величина (А-В)+1. to 1 ил. с о О5The invention relates to the field of automation and computer technology and can be used in control and monitoring units. The purpose of the invention is to expand the functionality by enabling the difference value of the compared numbers to be generated in digital form. The device contains a pulse generator 1, counters 2, 3, triggers 4-7, elements AND 8-12, inequality element 13, element OR 14, start input 15, -groups of information inputs 16 and 17, output of difference module 18, outputs 19, 20. Compared numbers are recorded in counters 2, 3. Depending on which number is greater, the corresponding trigger 4, 5 is overloaded with the output pulse of the corresponding counter 2, 3 is set to one state. The next impulse to the single state is set to the single state trigger 7, and at the output 18 the potential of the logical one & This is valid until the counter is full. When (L operation of the device, a signal is formed at one of the outputs greater than 19 or less than 20, at output 18 there is a pulse with duration proportional to the difference of the numbers T С (А-В), and for the water of the counters the value 1. to 1 il. With O5

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в узлах управлени  и контрол . Цель изобретени  - расширение области применени  за счет обеспечени  возможности формировани  значени  разности сравниваемых чисел в цифровой форме. На чертеже изображена схема устройства . Устройство содержит генератор 1 импульсов, счетчики 2 и 3, триггеры 4-7J элементы И 8-12, элемент 13 неравнозначности , элемент ИЛИ 14, вход 15 запуска устройства, группы информационных входов 16 и 17, выход- 18 модул  разности, выходы Боль ше 19 и Меньше 20, Устройство работает следующим образом. Перед началом работы триггеры 4-7 устанавливаютс  в нулевое состо ние (не показано). По входам 16 и 17 в счетчики 2 и 3 записываютс  сравниваемые числа А и В, а на вход 15 запуска подаетс  сигнал. Импульсы от генератора 1 заполн ют счетчики 2 и 3. Пусть А В. Тогда счетчик 2 фор мирует импульс переполнени  раньше, чем счетчик 3. Этот импульс устанав ливает триггер 4 Б единичное состо ние . Следуюшг1й импульс через открытый элемент И 8 поступает на вход элемента 13 неравнозначности и дале на счетный вход триггера 7. На его пр мом выходе и на выходе 18 устрой ства формируетс  потенциал логической единицы. Тот же импульс с выход элемента И 8 через открытый элемент И 12 устанавливает триггер 6 в единичное состо ние, что приводит к формированию сигнала на выходе 19 Больше устройства. Далее импульс переполнени  с выхода счетчика 3 ус танавливает триггер 5 в единичное состо ние и следующий импульс своим задним фронтом через элемент И элемент 13 неравнозначности устанав ливает триггер 7 в нулевое состо ни Тот же импульс через элементы И 11 ИЛИ 14 останавливает генератор 1.The invention relates to automation and computing and can be used in control and monitoring units. The purpose of the invention is to expand the field of application by making it possible to form the difference value of the compared numbers in digital form. The drawing shows a diagram of the device. The device contains a pulse generator 1, counters 2 and 3, triggers 4-7J elements AND 8-12, element 13 inequalities, element OR 14, device start input 15, groups of information inputs 16 and 17, output-18 difference modules, outputs 19 and Less than 20, the device operates as follows. Before starting the triggers 4-7 are set to the zero state (not shown). The inputs 16 and 17 in the counters 2 and 3 record the compared numbers A and B, and a signal is given to the input 15 of the trigger. The pulses from generator 1 fill counters 2 and 3. Let A be B. Then counter 2 forms an overflow pulse earlier than counter 3. This impulse sets the trigger 4B to one state. The next pulse through the open element And 8 is fed to the input of the element 13 of inequality and far to the counting input of the trigger 7. At its direct output and at the output 18 of the device, the potential of the logical unit is formed. The same impulse from the output of the element AND 8 through the open element AND 12 sets the trigger 6 to one state, which leads to the formation of a signal at the output 19 More devices. Further, the overflow pulse from the output of the counter 3 sets the trigger 5 to the one state and the next pulse by its falling edge through the element And the inequality element 13 sets the trigger 7 to the zero state. The same pulse through the elements AND 11 OR 14 stops the generator 1.

Если А В, то устройство действу-55можности формировани  значени  разет аналогично. При этом первым уста-ности сравнимаемых чисел в цифровойIf A B, then the device is capable of forming a value similarly. At the same time, the first mouth of the comparable numbers in the digital

Claims (1)

навливаетс  в единичное состо ниеформе, в него введены четвертый тригтриггер 5, а триггер 6 в единичноегер, п тый элемент И и элемент неравсосто ние не переключаетс , и потенци-нозначности, причем выход генератора ал логической единицы остаетс  на выходе 20 Меньше устройства. Если А В, то переключение триггеров 4 и 5 происходит одновременно, на выходе элемента 13 неравнозначности сигнала логической единицы не возникает и триггер .7 остаетс  в нулевом состо нии. На выходе 18 не формируетс  единичный сигнал. Импульс через элементы И 10 и РШИ 14 останавливает генератор 1 .. Таким образом, после окончани  работы устройства формируетс  сигнал на одном из выходов 19 или 20 (в зависимости от соотношени  чисел ) , на выходе 18, - импульс с длительностью , пропорициональной разности чисел Т - В|, :где tj.- период следовани  импульсов генератора, а в одном из счетчиков 2 или 3 (рпредел етс  состо нием выходов 19 и 20 устройства) - величина I А-ВI +1. Формула изобретени  Устройство дл  сравнени  чисел, содержащее генератор импульсов, первый и второй счетчики, первый, второй и третий триггеры, первый, второй , третий и четвертый элементы И и элемент ИЛИ, причем вход запуска устройства соединен с входом запуска генератора импульсов, выход которого соединен с первыми входами первого и второго элементов И, вторые входы которых подключены к выходам первого и второго триггеров соответственно , пр мой и инверсный выходы третьего триггера  вл ютс  соответственно выходами Больше и Меньше устройства, выходы третьего и четвертого элементов И соединены соответственно с первь.м и вторым входами элемента ИЛИ, группы информационных входов первого и второго счетчиков  вл ютс  соответственно входами первого и второго сравниваемых чисел устройства, отличающеес  тем, что, с целью расширени  области применени  за счет обеспечени  возj1280610is inserted into the unit state, the fourth trigger 5 is entered into it, and the trigger 6 is inserted into the unit one, the fifth AND element and the inequality element does not switch, and the potentials are set, and the output of the generator of the logical unit remains at the output of 20 Smaller devices. If A B, then the switching of the flip-flops 4 and 5 occurs simultaneously, at the output of the element 13 unequalities of the signal of the logical unit does not occur and the trigger .7 remains in the zero state. Output 18 does not generate a single signal. The impulse through the elements of AND 10 and RSHI 14 stops the generator 1 .. Thus, after the device has finished working, a signal is formed at one of the outputs 19 or 20 (depending on the ratio of numbers), at output 18, a pulse with a duration proportional to the difference of the numbers T - B |,: where tj.- period of the pulse generator, and in one of the counters 2 or 3 (determined by the state of the outputs 19 and 20 of the device) - the value of I A-BI +1. Apparatus of the Invention A device for comparing numbers, comprising a pulse generator, first and second counters, first, second and third triggers, first, second, third and fourth AND elements and an OR element, with the device start input connected to the pulse generator start input, the output of which is connected With the first inputs of the first and second elements And, the second inputs of which are connected to the outputs of the first and second triggers, respectively, the direct and inverse outputs of the third trigger are respectively the outputs More and Less, The triplets, the outputs of the third and fourth elements of AND are connected respectively to the first and second inputs of the OR element, the groups of information inputs of the first and second counters are respectively the inputs of the first and second compared device numbers, characterized in that, in order to expand the scope by provide opportunity 1280610 импульсов соединен с входами устаТГЕГв-ти, выход которого соединен с первым ки в нулевое состо ние первого и вто-входом четвертого элемента И и со рого триггеров и со счетными входамисчетным входом четвертого триггера, первого- и второго счетчиков, выходы пр мой выход которого  вл етс  выхопереполнени . которых соединены с вхо- 5дом модул  разности устройства и соедами установки в единичное состо ниединен с вторым входом четвертого элесоответственно первого и второго триг-мента И, инверсный выход четвертого геров, выход первого элемента И соеди-триггера соединен с вторым входом нен с первыми входами третьего и п -п того элемента И, выход которого соетого элементов И и элемент неравно- О:динен с входом установки в единичное Значности, выход второго элемента Исосто ние третьего триггера, выход соединен с вторыми входами третьегоэлемента ИЛИ соединен с входом остаэлемента И и элемента неравнозначное-новки генератора импульсов.pulses connected to the inputs of the device TGEGV-ti, the output of which is connected to the first key in the zero state of the first and second input of the fourth element I and the second trigger and with the counting inputs of the counting input of the fourth trigger, the first and second counters overflow. which are connected to the inlet module of the device difference and the unit are connected to the second input of the fourth element of the first and second triggered AND, the inverse output of the fourth gear, the output of the first element of the Iso flip-flop is connected to the second input of the third input and p-p of the element And, the output of which is the element of And and the element is unequal About: dinin with the installation input in single Values, the output of the second element Isostoy third trigger, the output is connected to the second inputs of the third element OR connected with an input member and ostaelementa and unequal-Novki pulser.
SU853862531A 1985-02-25 1985-02-25 Device for comparing numbers SU1280610A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853862531A SU1280610A1 (en) 1985-02-25 1985-02-25 Device for comparing numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853862531A SU1280610A1 (en) 1985-02-25 1985-02-25 Device for comparing numbers

Publications (1)

Publication Number Publication Date
SU1280610A1 true SU1280610A1 (en) 1986-12-30

Family

ID=21165319

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853862531A SU1280610A1 (en) 1985-02-25 1985-02-25 Device for comparing numbers

Country Status (1)

Country Link
SU (1) SU1280610A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Гаврилов Ю.В., Пучке A.F. Арифметические устройства быстродействующих ЭЦВМ. М.: Сов. радио, 1970, с. 237, рис. 8.2.1. Авторское свидетельство СССР № 960801, кл. G 06 F 7/04, 1980. *

Similar Documents

Publication Publication Date Title
SU1280610A1 (en) Device for comparing numbers
SU1420648A1 (en) Shaper of pulse trains
US4164712A (en) Continuous counting system
SU1193658A1 (en) Device for comparing binary numbers
SU1385283A1 (en) Pulse sequence selector
US4517473A (en) Solid-state automatic injection control device
SU463234A1 (en) Device for dividing cycle time into fractional number of intervals
SU1307587A1 (en) Frequency divider with variable countdown
SU1167730A1 (en) Pulse counter-multiplier
SU1169125A1 (en) Digital electric drive
SU1503065A1 (en) Single pulse shaper
SU455494A1 (en) Counter with 2 + 1 counting ratio
SU391744A1 (en) COUNTER
SU439925A1 (en) Frequency divider
SU830378A1 (en) Device for determining number position on nimerical axis
SU1529207A1 (en) Device for input of digital information
SU930751A1 (en) Pulse train discriminating device
SU1163334A1 (en) Device for calculating ratio of time intervals
SU758490A1 (en) Functional frequency generator
SU1166294A1 (en) Distributor
SU1124252A1 (en) Device for controlling engine acceleration and braking
SU627579A1 (en) Timer
SU1709530A1 (en) Code-to-frequency converter
RU1798901C (en) Single-pulse frequency multiplier
SU409196A1 (en)