SU1439575A1 - Device for comparing numbers with tolerances - Google Patents

Device for comparing numbers with tolerances Download PDF

Info

Publication number
SU1439575A1
SU1439575A1 SU874240558A SU4240558A SU1439575A1 SU 1439575 A1 SU1439575 A1 SU 1439575A1 SU 874240558 A SU874240558 A SU 874240558A SU 4240558 A SU4240558 A SU 4240558A SU 1439575 A1 SU1439575 A1 SU 1439575A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
twenty
elements
outputs
comparison
Prior art date
Application number
SU874240558A
Other languages
Russian (ru)
Inventor
Павел Филиппович Шепеленко
Федор Федорович Сафонов
Original Assignee
Предприятие П/Я В-2119
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 Предприятие П/Я В-2119 filed Critical Предприятие П/Я В-2119
Priority to SU874240558A priority Critical patent/SU1439575A1/en
Application granted granted Critical
Publication of SU1439575A1 publication Critical patent/SU1439575A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники. Цель изобретени  - расширение функциональных возможностей за счет уравновешивани  кодов. Устройство содер- жит генератор импульсов t, блоки сравнени  2-5, блок управлени  6, блок анализа 7, вычитатели 8, 9, регистры 10,11, счетчики 12,13, элементы И 14-17 тактовый вход 18, вход начальной установки 19, входы первого 20 и второго 21 сравниваемых чисел, входы задани  емкостей первого 22 и второго 23 счетчиков. Функцией устройства  вл етс  достижение равенства числа, хран щегос  в счетчике 12 The invention relates to the field of automation and computing. The purpose of the invention is to enhance the functionality by balancing the codes. The device contains a pulse generator t, a comparison block 2-5, a control unit 6, an analysis unit 7, subtractors 8, 9, registers 10.11, counters 12.13, And 14-17 elements clock input 18, initial setup input 19 , the inputs of the first 20 and second 21 compared numbers, the inputs of the setting of the capacities of the first 22 and second 23 counters. The function of the device is to achieve the equality of the number stored in the meter 12.

Description

11eleven

Изобретение относитс  к автоматике и вычислительной технике и предназначено дл  использовани  в радиоспектрометрии .The invention relates to automation and computer technology and is intended for use in radio spectrometry.

Цель изобретени  - расширение функциональных возможностей за счет уравновешивани  кодовThe purpose of the invention is to enhance the functionality by balancing the codes.

На фиг.1 представлена схема устройства; на фиг.2 - схема блока анаFigure 1 presents the scheme of the device; figure 2 - block diagram ana

лиза; на фиг.З - схема блока управлени  .Liza; FIG. 3 is a control block diagram.

Устройство содержит генератор 1 импульсов, блоки 2-5 сравнени , блок 6 управлени , блок 7 анализа вычи- татели 8 и 9, регистры 10 и 11, счетчики 12 и t3, элементы И 14 - 17, тактовый вход 18, вход 19 начальной установки, входы первого 20 и второго 21 сравниваемых чисел, входы задани  емкостей первого 22 и второго 23 счетчиков,The device contains a pulse generator 1, comparison blocks 2-5, control block 6, analysis block 7, counters 8 and 9, registers 10 and 11, counters 12 and t3, AND elements 14-17, clock input 18, initial setup input 19 , the inputs of the first 20 and second 21 compared numbers, the inputs of the setting of the capacities of the first 22 and second 23 counters,

Блок 7 анализа содержит элементы И 24, и элементе ИЛИ 25,- 25д.Block 7 analysis contains the elements And 24, and the element OR 25, - 25D.

Блок 6 управлени  содержит регистр 26, элементы И-НЕ 27, эле мен- ты И 28 - 31, элементы ИЛИ 32 - 37, элементы НЕ 38 и 39, формирователи 40 - 42 импульсов.The control unit 6 contains a register 26, elements AND-NOT 27, elements AND 28 - 31, elements OR 32 - 37, elements NOT 38 and 39, drivers 40 - 42 pulses.

Функцией устройстве  вл етс  достижение равенства (уравновенэтвани ) числа, хран щегос  в счетчике 12(13) с числом, предварительно записанным в регистр 10 (11), путем изменени  содержимого счетчика 12 (13) на ±.1 младшего разр да. Импульсы, управл ющие счетчиками 12 и 13, цогут быть использованы дп  управлени  каким-либо инерционным объектом.The function of the device is to achieve equality (equilibrium) of the number stored in the counter 12 (13) with the number previously recorded in register 10 (11) by changing the contents of the counter 12 (13) to ± .1 least significant bit. The pulses controlling the counters 12 and 13 can be used by controlling inertial objects.

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

В регистры 10 и 11 записьгоаютс  числа Х- и.УШ. которые сравниваютс  блоками 2 и 3 сравнени  соответственно с числами X и У, хран щимис  в счетчиках 12 и 13. .Registers 10 and 11 record the numbers X and U. which are compared by blocks 2 and 3 of the comparison, respectively, with the numbers X and Y, stored in the counters 12 and 13.

Вычитатели 8 и 9 вычисл ют величины -и |Уф-У| которые сравниваютс  блоками 4 и 5 сравнени  с величинами N,2,/2 и N ,j/2 (N,4, емкости счетчиков 12 и 13), которые поступают по входам 22 и 23.The subtractors 8 and 9 calculate the values of -and | UV-V | which are compared by blocks 4 and 5 compared with the values of N, 2, / 2 and N, j / 2 (N, 4, the capacity of the counters 12 and 13), which are fed to the inputs 22 and 23.

На основании результатов сравнени  блоком 7 анализа определ етс ,, в каком направлении следует измен ть содержимое счетчиков 12 и 13. При этом определ етс , следует ли с цель ускорени  процесса уравновешивани  переходить через экстремальное зна0Based on the results of the comparison, the analysis unit 7 determines, in which direction the contents of the counters 12 and 13 should be changed. In this case, it is determined whether, for the purpose of speeding up the balancing process, to go through the extreme 0

5five

00

5five

00

5five

00

5five

00

5five

чение счетчика 12 шш 13. На выходе блока 7 анализа формируетс  сигнал на одном из BoobKBt выходов, указывающий направление изменени  содержимого счетчиков 12 и 13. Блок 6 управлени  вырабатьгаает управл ющие сигналы, поступающие на входы элементов И 14 - 17, в результате импульсы от генератора 1 поступают на суммирующие или вычитакщие входы счетчиков 12 и 13 в соответствии с выбранным направлением уравновешивани  .The counter 12 is broadcasted 13. At the output of the analysis block 7, a signal is generated at one of the BoobKBt outputs, indicating the direction of change in the contents of the counters 12 and 13. The control block 6 generates control signals to the inputs of the AND elements 14-17, as a result, pulses from the generator 1 are fed to the summing or subtracting inputs of counters 12 and 13 in accordance with the chosen direction of balance.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сравнени  чисел с допусками, содержащее генератор и aIyльcoв, первый и второй блоки сравнени , первый и второй счетчики, первый регистр, шесть элементов И и первый элемент ШШ, причем выход генератора импульсов соединен с первыми входами первого, второго и третьего элементов И, выходы первого и второго элементов И соединены с суммирующими входами со.ответствеино первого и второго счетчиков, входы первого сравниваемого числа устройства соединены с информационными входами первого регистра, выходы разр дов которого соединены с первой группой входов первого блока сравнени , выходы Меньше, Больше и Равно которого соединены с первыми входами соответственно четвертого, п того и шестого элементов И, выходы разр дов второго счетчика соединены с первой группой входов второго блока сравнени , отличающеес  тем, что, с целью расширени .функциональных возможностей за счет уравновешивани  кодов, в него введены первый и второй вычитатели, второй регистр, третий и четвертый блоки сравнени , двадцать два элемента И, семь элементов ИЛИ и блок управлени , причем входы второго сравниваемого числа устройства соединены с информационными входами второго регистра, выходы разр дов которого соединены с второй группой входов второго блока сравнени , вход начальной установки устройства соединен- с входами установки в нулевое состо ние первого и второго -регистров, выходы разр дов которых соединены с первыми группами входов первого и второго вычита-A device for comparing numbers with tolerances, comprising a generator and aIlco, the first and second comparison blocks, the first and second counters, the first register, six AND elements and the first SHS element, the output of the pulse generator connected to the first inputs of the first, second and third elements AND, the outputs of the first and second elements I are connected to the summing inputs of the first and second counters according to the first and second counters, the inputs of the first compared number of the device are connected to the information inputs of the first register, the outputs of which bits are connected with the first group of inputs of the first comparison unit, outputs Less, More and Equal to which are connected to the first inputs of the fourth, fifth and sixth elements, respectively, the outputs of the bits of the second counter are connected to the first group of inputs of the second comparison unit, characterized in that extending functional capabilities by balancing the codes, the first and second subtractors, the second register, the third and fourth comparison blocks, twenty-two AND elements, seven OR elements and the control block, with the second inputs The compared number of the device is connected to the information inputs of the second register, the outputs of the bits of which are connected to the second group of inputs of the second comparison unit, the input of the initial installation of the device is connected to the inputs of the first and second registers to the zero state, the outputs of which bits are connected to the first groups of inputs of the first and second subtraction телей соответственно, выходы которых соединены с первыми группами входов третьего и четвертого блоков сравнени  соответственно, вторые группы входов которых  вл ютс  входами задани  емкостей соответственно первого и второго счетчиков, выходы разр дов которых соединены с вторыми группами входов соответственно первого и второго вычитателей, выходы разр дов первого счетчика соединены с второй группой входов первого блока сравнени , выход генератора импульсов соединен с первым входом седьмого элемента И, выходы третьего и седьмого элементов И соединены с вычитающими входами соответственно первого и второго счетчиков , выход Больше первого блока сравнени  соединен с первыми входа- ми элементов И с восьмого по шестнадцатый , выход Равно первого блока сравнени  соединен с первыми входами семнадцатого, восемнадцатого и дев тнадцатого элементов И, выход Меньше первого блока сравнени  соединен с первыми входами элементов И с двадцатого по двадцать восвмой, выход Больше второго блока сравнени  соединен с вторыми входами п того , шестого, одиннадцатого, двенадцатого , шестнадцатого, дев тнадцатого , двадцатого, двадцать второго и двадцать п того элементов И, выход Равно второго блока сравнени  соединен с вторыми входами дев того, четь1рнадцатого, двадцать первого и двадцать шестого элементов И, выход Меньше второго блока сравнени  соединен с вторыми входами четвертого , восьмого, дес того, тринадцатого , п тнадцатого, семнадцатого, восемнадцатого , двадцать третьего, двадцать четвертого, двадцать седьмого и двадцать восьмого элементов И, выход Не больше третьего блока сравнени  соединен с третьими входами шестого, носимого, дев того, дес того , одиннадцатого, двадцать четвертого , двадцать п того, двадцать шестого, двадцать седьмого и двадцать восьмого элементов И, вькод Больше третьего блока сравнени  соединен с третьими входами четверrespectively, the outputs of which are connected to the first groups of inputs of the third and fourth blocks of comparison, respectively, the second groups of inputs of which are inputs for specifying capacities of the first and second counters, the outputs of bits of which are connected to the second groups of inputs of the first and second subtractors, outputs of bits the first counter is connected to the second group of inputs of the first comparison unit; the output of the pulse generator is connected to the first input of the seventh element I, the outputs of the third and seventh elements I are connected to the subtracting inputs of the first and second counters, respectively; the output More than the first comparison unit is connected to the first inputs of the elements AND from the eighth to the sixteenth, the output Equals the first comparison unit connected to the first inputs of the seventeenth, eighteenth and nineteenth elements AND, the output is Less the first comparison block is connected to the first inputs of the elements And from the twentieth to the twenty eighth, the output More than the second comparison block is connected to the second inputs of the fifth, sixth, eleventh, twelfth, the sixteenth, nineteenth, twentieth, twenty-second and twenty-five elements And, the output Equals the second comparison unit connected to the second inputs of the ninth, fourth, twenty-first and twenty-sixth elements And, the output Less than the second comparison unit connected to the second inputs of the fourth, eighth , the tenth, the thirteenth, the fifteenth, the seventeenth, the eighteenth, the twenty-third, the twenty-fourth, the twenty-seventh and the twenty-eighth elements AND, the output of Not more than the third comparison block is connected to the third in odes sixth worn, ninth, tenth, eleventh, twenty-fourth, twenty-fifth, twenty-sixth, twenty-seventh and twenty-eighth AND gates, vkod more third comparator block is connected to the third inputs of the four 5five 00 того, двенадцатого, тринадцатого, четырнадцатого, п тнадцатого, шестнадцатого , двадцатого. Двадцать первого , двадцать второго и двадцать третьего элементов И, выход Не больше четвертого блока сравнени  соединен с третьими входами п того и восемнадцатого и четвертыми входами шестого, дес того, тринадцатого, шестнадцатого, двадцатого, двадпать третьего, двадцать четвертого и двадцать седьмого элементов И, выход Больше четвертого блока сравнени  соединен с третьими входами семнадцатого и дев тнадцатого и четвертыми входами.четвертого, восьмого, одиннадцатого , двенадцатого, п тнадцатого , двадцать второго, двадцать п того и двадцать восьмого элементов И, выходы п того, шестого, дев того, дес того, четырнадцатого, восемнадцатого , двадцать четвертого и двадцать седьмого элементов И соединены 5 с первыми входами элементов ИЛИ соответственно с первого по восьмой, выходы четвертого, двенадцатого, п тнадцатого , семнадцатого, дев тнадцатого , двадцать первого, двадцать второго и два,ццать шестого элементов И соединены с вторыми входами элементов ИЛИ соответственно с первого по восьмой, выходы одиннадцатого, шестнадцатого, двадцатого и двадцать п того элементов И соединены с третьими входами соответственно второго, четвертого, шестого и воснмого элементов ИЛИ, выходы восьмого, тринадцатого , двадцать третьего и двадцать восьмого элементов И соединены с четвертыми входами соответственно второго , четвертого, шестого и восьмого элементов ИЛИ, тактовый вход устройства соединен с синхровходами первого и второго регистров и блока управле0In addition, the twelfth, thirteenth, fourteenth, fifteenth, sixteenth, twentieth. Twenty-first, twenty-second and twenty-third elements And, No more than a fourth comparison block output is connected to the third inputs of the fifth and eighteenth and fourth inputs of the sixth, tenth, thirteenth, sixteenth, twentieth, twenty third, twenty-fourth and twenty-seventh elements And, Output More than the fourth comparison block is connected to the third inputs of the seventeenth and nineteenth and fourth and fourth inputs. The fourth, eighth, eleventh, twelfth, fifteenth, twenty-second, twenty fifth and the twenty-eighth elements AND, the outputs of the fifth, sixth, nineth, tenth, fourteenth, eighteenth, twenty-fourth and twenty-seventh elements of AND are connected 5 with the first inputs of the elements OR respectively from the first to the eighth, outputs of the fourth, twelfth, fifth, seventeenth , nineteenth, twenty-first, twenty-second and two, thirty-sixth elements And are connected to the second inputs of the elements OR, respectively, from the first to the eighth, outputs of the eleventh, sixteenth, twentieth and twenty fifth elements And connected to the third inputs of the second, fourth, sixth, and first elements, respectively, OR, outputs of the eighth, thirteenth, twenty-third, and twenty-eighth elements, AND connected to the fourth inputs of the second, fourth, sixth, and eighth elements, respectively, of the device’s clock input and second registers and control unit0 5five 00 5five 00 5555 ни , выходы Разно первого и второго блоков сравнени  и выходы элементов ИЛИ с первого по восьмой соедине- ны с информационными входами блока управлени  с первого по дес тый соответственно , первый, второй, третий и четвертьй выходы блока управлени  соединены с вторыми входами первого,, третьего, второго и седьмого элементов И соответственно.The outputs of the first and second comparison blocks and the outputs of the OR elements from the first to the eighth are connected to the information inputs of the control unit from the first to the tenth respectively, the first, second, third and fourth outputs of the control unit are connected to the second inputs of the first, third , the second and seventh elements And, respectively. Фаг.1Phage.1 Фм.ЗFm.z
SU874240558A 1987-05-06 1987-05-06 Device for comparing numbers with tolerances SU1439575A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874240558A SU1439575A1 (en) 1987-05-06 1987-05-06 Device for comparing numbers with tolerances

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874240558A SU1439575A1 (en) 1987-05-06 1987-05-06 Device for comparing numbers with tolerances

Publications (1)

Publication Number Publication Date
SU1439575A1 true SU1439575A1 (en) 1988-11-23

Family

ID=21302515

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874240558A SU1439575A1 (en) 1987-05-06 1987-05-06 Device for comparing numbers with tolerances

Country Status (1)

Country Link
SU (1) SU1439575A1 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
US3582882A (en) Randomness monitor
SU1439575A1 (en) Device for comparing numbers with tolerances
US3676650A (en) Numerical control system using position number generator
SU1043639A1 (en) One-bit binary subtractor
SU744635A2 (en) Vector argument determining device
SU1226332A1 (en) Phase metering device
SU1019447A1 (en) Binary-decimal code-frequency multiplier
SU622087A1 (en) Sine and cosine function digital computer
SU1140113A1 (en) Data shifting device
SU1495749A1 (en) Device for measuring angle in numerical program control system
SU1035787A1 (en) Code voltage convereter
SU858002A1 (en) Device for computing mean value current estimate
SU1051556A1 (en) Device for reducing information redundancy
SU1128263A1 (en) Device for calculating boolean derivatives
SU1295388A1 (en) Device for calculating values of logarithmic function
SU734681A1 (en) One-digit adder
SU1273918A1 (en) Adding-subtracting device
SU801254A1 (en) Frequency divider with variable division coefficient
SU1471189A2 (en) Square difference computer
SU602918A1 (en) Circular interpolator
SU611209A1 (en) Digital function generator
SU1043631A1 (en) Comparison device
SU1295389A1 (en) Device for calculating values of exponential function
SU1219922A1 (en) Range finder
SU498621A1 (en) Device for calculating xy power functions