SU1198508A2 - Device for tolerance comparing of numbers - Google Patents

Device for tolerance comparing of numbers Download PDF

Info

Publication number
SU1198508A2
SU1198508A2 SU843758615A SU3758615A SU1198508A2 SU 1198508 A2 SU1198508 A2 SU 1198508A2 SU 843758615 A SU843758615 A SU 843758615A SU 3758615 A SU3758615 A SU 3758615A SU 1198508 A2 SU1198508 A2 SU 1198508A2
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
numbers
outputs
output
elements
Prior art date
Application number
SU843758615A
Other languages
Russian (ru)
Inventor
Валерий Юрьевич Ларченко
Original Assignee
Харьковский Ордена Ленина Авиационный Институт Им.Н.Е.Жуковского
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 Харьковский Ордена Ленина Авиационный Институт Им.Н.Е.Жуковского filed Critical Харьковский Ордена Ленина Авиационный Институт Им.Н.Е.Жуковского
Priority to SU843758615A priority Critical patent/SU1198508A2/en
Application granted granted Critical
Publication of SU1198508A2 publication Critical patent/SU1198508A2/en

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

УСТРОЙСТВО ДЛЯ СРАВНЕНРИ :ЧИСЕЛ с ДОПУСКАМИ |по авт. ев . № 1133591, отличающеес  тем, что, с целью расширени  области применени  устройства за счет обеспечени  возможности сравнени  чисел со знаками, в чего введен сумматор, выходы которого соединены с первыми группами входов всех схем сравнени , а входы первой и второй групп подключены соответственно к входам сравниваемого числа и- входам задани  нижней границы интервала устройства.DEVICE FOR COMPARE: NUMBERS WITH ADMISSIONS | by author. ev No. 1133591, characterized in that, in order to expand the field of application of the device by providing the possibility of comparing numbers with signs, into which an adder is entered, the outputs of which are connected to the first groups of inputs of all comparison circuits, and the inputs of the first and second groups are connected respectively to the inputs of the compared the numbers and the inputs specify the lower limit of the device interval.

Description

0000

елate

Изобретение относитс  к автоматике и вычислительной технике, может быть использовано при построе НИИ технических средств дискретной автоматики и вычислительной техники и  вл етс  усовершенствованием устройства по авт.св. № 1133591.The invention relates to automation and computing, can be used to build a scientific research institute of technical means of discrete automation and computing and is an improvement of the device according to author. No. 1133591.

Цель изобретени  - расширение области применени  устройства за счет обеспечени  возможности сравнени  чисел со знаками. The purpose of the invention is to expand the field of application of the device by making it possible to compare numbers with signs.

На чертеже приведена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит входы 1 сравниваемого числа, шины 2 задани  пределов, схемы 3 сравнени , элементы НЕ 4, элементы И 5, выходы 6 устройства, сумматор 7, входы 8 задани  нижней границы интервала устройства.The device contains the inputs 1 of the compared number, the bus 2 sets the limits, the comparison circuit 3, the elements 4, elements 4 and 5, the outputs 6 of the device, the adder 7, the inputs 8 sets the lower limit of the interval of the device.

Схемы сравнени  3.1, 3.2, ..,, 3.N предназначены дл  сравнени  и-разр дных двоичных чисел и выполнены на двоичных комбинационных сумматорах, выходы переполнени  которых  вл ютс  выходами схем сравнени . Применение сумматоров позвол ет использовать данное устройство дл  сравнени  чисел, заданных в любом двоичном коде с естественными весами. В качестве схем 3 можно использовать любые комбинационные схемы сравнени  чисел А и В на выходе которых формируютс  сиг . налы А 8 и А 4 8 или А 8 Л Comparison schemes 3.1, 3.2, .. ,, 3.N are intended for comparing i-bit binary numbers and are performed on binary combinational adders whose overflow outputs are outputs of the comparison circuits. The use of adders allows the device to be used to compare numbers given in any binary code with natural weights. As the circuits 3, any combinational circuits for comparing the numbers A and B can be used at the output of which sig are formed. rolls A 8 and A 4 8 or A 8 L

Сумматор 7 предназначен дл  отоб ражени  произвольной области значений сравниваемых чисел в неотрицательную и  вл етс  стандартным функциональным элементом.The adder 7 is designed to display an arbitrary range of values of the compared numbers in a non-negative and is a standard functional element.

Элементы 4 и 5  вл ютс  стандартными логическими элементами. Таким образом, предложенное устройство может быть реализовано на стандартных интегральных схемах, например 155 серии.Elements 4 and 5 are standard logic elements. Thus, the proposed device can be implemented on standard integrated circuits, for example, 155 series.

Устройство работает следующим образом.The device works as follows.

Априорно известно, что сравниваемое число V лежит в интервале (-Af,,, AQ ), где М - некоторое натуральное число. Известны также пределы А f, jN N-1) j At заданные алгебраическими числами, которые наход тс  между собой в отношении Мн Af,-... А, АО Устройство определ ет положение числа X относительно заданных пределов и формируеIt is known a priori that the compared number V lies in the interval (-Af ,,, AQ), where M is some natural number. Also known are the limits A f, jN N-1) j At given by algebraic numbers that are interrelated with respect to Mn Af, -... A, AO The device determines the position of the number X relative to the specified limits and forms

вектор выходных сигналов, компоненты которого определ ютс  по правилуoutput vector, whose components are determined by the rule

р,еслиХе(А,А,:,10 .есл«К(А,,А,.,p, if Xe (A, A,:, 10.) “K (A, A,.,

,2,., 2 ,.

В исходном состо нии на входы устройства 8 подаетс  пр мой двоичньй код числа-А . На входы устройства 2.1, 2.2,...,2.N подаютс  в обратном двоичном коде соответственно пределыIn the initial state, the direct binary code of the number-A is supplied to the inputs of the device 8. The device inputs 2.1, 2.2, ..., 2.N are fed in the reverse binary code respectively

В,А,/-Ан.,,,/,.,,В.Ам- /-А|ч, /B, A, / - An. ,,, /,., V. Am - / - A | h, /

которые  вл ютс  неотрицательными .. числами.which are non-negative .. numbers.

Q При подаче на входы 1 устройства числа Х в дополнительном двоичном коде на -выходе сумматора 7 формируетс  двоичное число которое лежит в интервале (0,/-Am, /) еслиQ When applying the number X to the inputs of the device 1 in the additional binary code on the output of the adder 7, a binary number is formed which lies in the interval (0, / - Am, /) if

5 число X отрицательно, и лежит ,в полуоткрытом интервале /-А гн / AQ + + /-А f., /) , если число х неотрицательно . Таким образом, независимо от знака числа Х число Х всегда неотрицательно.5 the number X is negative, and lies in the half-open interval / -A n / AQ + + / -A f., /) If the number x is non-negative. Thus, regardless of the sign of the number X, the number X is always non-negative.

Пределы В, 2,t н поступают на первые входы соответственно схем сравнени  3.1, 3,2,...,3.N, на вторые входы которых поступает число Х, , При этом на выходах схемThe limits B, 2, t n are fed to the first inputs, respectively, of the comparison circuits 3.1, 3,2, ..., 3.N, the second inputs of which receive the number X,. At the same time, at the outputs of the circuits

сравнени  формируютс  сигналы Comparison signals are formed

Р; ( -iN) по следующему правилу:R; (-iN) according to the following rule:

Го, если 3 J , если 0; .Go, if 3 J, if 0; .

Сигналы Pj поступают на состо щую из элементов НЕ 4 и элемен 5 тов И 5 логическую схему, котора  на выходах 6 устройства формирует выходные сигналы.The signals Pj arrive at the logic circuit consisting of the elements HE 4 and elements 5 and 5, which at the outputs 6 of the device generate output signals.

Рассмотрим формирование выходных сигналов дл  всех логически возможных случаев.Consider generating output signals for all logically possible cases.

Если , или что эквивалентно , Aii х, то на выходах всех схем 3 сравнени  формируютс  низкие потенциалы , которые подаютс  на входы 55 соответствующих элементов НЕ и на первые входы соответствующих элементов И 5, что приводит к формированию высокого потенциала на выходе 6.1 и низких патенциалов на всех остальных выходах устройства, т.е. устройство формирует сигналы -Чн 0Пустьчисло X, лежит в произволь ном полуоткрытом интервале ( вд &g.,) или.что то же самоё, ( Ag Ag).,При этом на выходах схем сравнени  3.1, 3.2,,..3,Е-1 формируютс  высокие ;потенциалы, которые привод т к формированию на выходах соответствующих элементов НЕ низких потенциалов . Низкий потенциал на выходе элемента НЕ 4.1 обеспечивает низкий потенциал на выходе 6.1. С выходов элементов НЕ 4.2, 4.3,...4.В-1 низкие потенциалы поступают на вторые входы соответственно элементов И 5.1,. 5.2,.., ,5.й-2, что приводит к формированию низких потенциалов н выходах 6,2, 6.3,...,6.-1. На выхо дах схем сравнени  3.t, З.Е+1,..., 3. N формир(уютс  низкие потенциалы которые поступают на первые входы элементов И5.С , 5.В+1...,5N-1 соответственно, что приводит к формированию на выходах 6.2+1, 6.8 +2 „ , ..,6.1 низких потенциалов. Низкий потенциал на выходе схем сравнени  3.М обеспечивает низкий потенциал на выходе 6,N4-1, На выходе 5. фор мируетс  высокий потенциал, посколь ку на первый и второй входы элем.ента И 5.6-1 поступают высокие потен циалы соответственно с выхода схем сравнени  3.6-1 и с выхода элемента НЕ 4.С, на вход которого поступает низкий потенциал со схемы сравнени  З.В. Таким образом, устройство формирует сигналы ,4е У 1Уе42° °У и Если Х, BI или, что равносильно , х А, то на выходах всех схем 3 сравнени  формируютс  высокие потенциалы, поступают на входы соответствующих элементов НЕ и формируют на их выходах низкие потенциалы . Низкий потенциал на выходе элемента НЕ 4.1 обеспечивает низ- кий потенциал на выходе 6.1. Низкие потенциалы с выходов элементов НЕ 4.2, 4.3,...,4.N поступают на вторые входы соответственно И 5.1, . 5.2,...,5.N-1, что приводит к фор .мированию на выходах 6.2, 6.3,..., низких потенциалов. Высокий потенциал на выходе схемы 3.N сравнени  обеспечивает высокий потенциал на выходе 6.N+1. Следовательно , устройство формирует сигналы ::У, 0,ум.;И Таким ббразом, устройство формирует выходные сигналы в соо.тветстствии с правилом (1). Если число X представлено в обратном двоичном коде, то на вькоды 8 устройства подаетс  число - (А„,.;,-И) в пр мом коде. Функционирование устройства при этом не измен етс . Предложенное устройство позвол ет определить положение сравниваемого числа относительно заданных пределов с учетом их знаков, расшир   тем самым область практического применени  данного устройства. Кроме того, данное устройство имеет более простую логику работы по сравнению с устройствами, в которых анализ знаков происходит после сравнени  чисел в анализаторах, и. как следствие этого, более простую структуру.If, or equivalently, Aii x, then low potentials are formed at the outputs of all comparison circuits 3, which are fed to the inputs 55 of the corresponding elements NOT and to the first inputs of the corresponding elements And 5, which leads to the formation of a high potential at output 6.1 and low potentialities all other outputs of the device, i.e. the device generates signals-Ch 0 уст X, lies in an arbitrary half-open interval (g), or the same thing, (Ag Ag). At the same time, the outputs of the comparison circuits 3.1, 3.2, .. 3, E-1, high potentials are formed, which lead to the formation of corresponding NOT elements of low potentials at the outputs. The low potential at the output of the element HE 4.1 provides a low potential at the output 6.1. From the outputs of elements NOT 4.2, 4.3, ... 4.B-1, low potentials arrive at the second inputs of elements AND 5.1, respectively. 5.2, ..,, 5.й-2, which leads to the formation of low potentials and outputs 6.2, 6.3, ..., 6.-1. At the outputs of the comparison circuits 3.t, З.Е + 1, ..., 3. N formir (comfort with low potentials that arrive at the first inputs of the elements I5.С, 5.В + 1 ..., 5N-1, respectively , which leads to the formation of low potentials at the outputs 6.2 + 1, 6.8 +2 ", .., 6.1. The low potential at the output of the comparison circuits 3.M provides a low potential at the output 6, N4-1, At the output 5. A high potential, since the first and second inputs of element I of And 5.6-1 receive high potentials, respectively, from the output of the comparison circuits 3.6-1 and from the output of the element HE 4.C, to the input of which a low potential From the comparison circuit ZV. Thus, the device generates signals, 4e Y 1Ue42 ° Y and If X, BI, or, equivalently, x A, then high potentials are formed at the outputs of all the 3 comparison circuits, which are fed to the inputs of the corresponding elements NOT and form low potentials at their outputs. Low potential at the output of the element HE 4.1 provides a low potential at the output 6.1. Low potentials from the outputs of the elements HE 4.2, 4.3, ..., 4.N are fed to the second inputs AND 5.1, respectively . 5.2, ..., 5.N-1, which leads to the formation of low potentials at the outputs 6.2, 6.3, .... The high potential at the output of the 3.N comparison circuit ensures a high potential at the output of 6.N + 1. Consequently, the device generates signals :: Y, 0, d.; And so, the device generates output signals in accordance with rule (1). If the number X is represented in the reverse binary code, then the codes of the device 8 are supplied with the number - (A, ..., -, I) in the forward code. The operation of the device does not change. The proposed device allows to determine the position of the compared number relative to the specified limits, taking into account their signs, thereby expanding the field of practical application of this device. In addition, this device has simpler operation logic in comparison with devices in which the analysis of characters occurs after comparing the numbers in the analyzers, and. as a consequence, a simpler structure.

Claims (1)

УСТРОЙСТВО ДЛЯ СРАВНЕНИЯ !ЧИСЕЛ С ДОПУСКАМИ(по авт.св.DEVICE FOR COMPARISON! NUMBERS WITH TOLERANCES (by ed. № 1133591, отличающееся тем, что, с целью расширения области применения устройства за счет обеспечения возможности сравнения чисел со знаками, в него введен сумматор, выходы которого соединены с первыми группами входов всех схем сравнения, а входы первой и второй групп подключены соответственно к входам сравниваемого числа и· входам задания нижней границы интервала устройства.No. 1133591, characterized in that, in order to expand the scope of the device by providing the possibility of comparing numbers with signs, an adder is inserted into it, the outputs of which are connected to the first groups of inputs of all comparison circuits, and the inputs of the first and second groups are connected respectively to the inputs of the compared numbers and · inputs of the task of the lower boundary of the interval device.
SU843758615A 1984-06-25 1984-06-25 Device for tolerance comparing of numbers SU1198508A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843758615A SU1198508A2 (en) 1984-06-25 1984-06-25 Device for tolerance comparing of numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843758615A SU1198508A2 (en) 1984-06-25 1984-06-25 Device for tolerance comparing of numbers

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1133591 Addition

Publications (1)

Publication Number Publication Date
SU1198508A2 true SU1198508A2 (en) 1985-12-15

Family

ID=21125888

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843758615A SU1198508A2 (en) 1984-06-25 1984-06-25 Device for tolerance comparing of numbers

Country Status (1)

Country Link
SU (1) SU1198508A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1133591, кл. G 06 F 7/04, 1984. *

Similar Documents

Publication Publication Date Title
US4218751A (en) Absolute difference generator for use in display systems
US3629710A (en) Digitally controlled pulse generator
US3539824A (en) Current-mode data selector
SU1198508A2 (en) Device for tolerance comparing of numbers
EP0099738A2 (en) Function generators
GB1283623A (en) Logical circuit building block
US3729625A (en) Segmented straight line function generator
US3162815A (en) Sequential pulse generator employing first and second delay means controlling pulse duration and spacing, respectively
US2969533A (en) Coding methods and apparatus
US3986128A (en) Phase selective device
US3182204A (en) Tunnel diode logic circuit
US3207920A (en) Tunnel diode logic circuit
EP0087510B1 (en) Single shot multivibrator
Popova-Zeugmann Zeit-Petri-Netze.
US3209347A (en) Gray code generator
US3440413A (en) Majority logic binary adder
JP2659186B2 (en) Digital variable frequency divider
US4387341A (en) Multi-purpose retimer driver
US3887912A (en) Analogue-digital converter apparatus
US3564429A (en) Programmable rate oscillator
US3250921A (en) Bistable electric device
SU1001485A1 (en) Binary pulse number multiplier
SU1027812A1 (en) Code-to-pulse repetition frequency converter
US3085237A (en) Direct analog converter
KR880001742Y1 (en) Image display device