[go: up one dir, main page]

SU1325461A1 - Device for sorting numbers - Google Patents

Device for sorting numbers Download PDF

Info

Publication number
SU1325461A1
SU1325461A1 SU854000742A SU4000742A SU1325461A1 SU 1325461 A1 SU1325461 A1 SU 1325461A1 SU 854000742 A SU854000742 A SU 854000742A SU 4000742 A SU4000742 A SU 4000742A SU 1325461 A1 SU1325461 A1 SU 1325461A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
output
inputs
bits
input
Prior art date
Application number
SU854000742A
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 SU854000742A priority Critical patent/SU1325461A1/en
Application granted granted Critical
Publication of SU1325461A1 publication Critical patent/SU1325461A1/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в устройствах дискретной автоматики дл  решени  задач квазиоптимального регулировани , в частности в системах обработки результатов испытаний технических объектов. Цель изобретени  - повышение быстродействи . Устройство содержит регистры 1, элементы И 2 опроса разр дов , элементы И 3 анализа разр дов, элементы И-НЕ 4, элементы ИЛИ 5 разр дов, многовходовые элементы ИЛИ-НЕ 6, выходные элементы И 7, элементы И 8 обнулени , регистр результата 11. Устройство определ ет минимальное отличное от нул  число из чисел, записанных в регистрах, и выводит его на регистр результата, исключает его из анализа путем обнулени  регистра, в котором оно записано, потом определ ет следуюш,ее по величине число и т.д. На выходе устройства формируетс  отсортированна  в пор дке возрастани  последовательность чисел . 1 ил. З (Л со ю ел 05 & 7aivr i The invention relates to automation and computing and can be used in discrete automation devices for solving problems of quasi-optimal control, in particular, in systems for processing test results of technical objects. The purpose of the invention is to increase speed. The device contains registers 1, elements AND 2 polling bits, elements AND 3 analysis bits, elements AND-NOT 4, elements OR 5 bits, multi-input elements OR NOT 6, output elements AND 7, elements AND 8 zeroing, result register 11. The device determines the minimum non-zero number from the numbers recorded in the registers and outputs it to the result register, excludes it from the analysis by zeroing the register in which it is written, then determines the next, its value number, etc. . At the output of the device, a sequence of numbers is sorted in increasing order. 1 il. W (L co w ate 05 & 7aivr i

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в устройствах дискретной автоматики дл  решени  задач квазиоптимального регулировани , в частности в системах обработки результатов испытани  технических объектов.The invention relates to automation and computing and can be used in discrete automation devices for solving problems of quasi-optimal control, in particular, in systems for processing results of testing technical objects.

Цель изобретени  - повышение быстродействи  устройства за счет исключени  из процесса сортировки нулевых чисел.The purpose of the invention is to increase the speed of the device by eliminating zero numbers from the sorting process.

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

Устройство содержит п регистров 1, элементы И 2 опроса разр дов, элементы И 3 анализа разр дов, элементы И-НЕ 4, элементы ИЛИ 5 разр дов, многовходовые элементы ИЛИ-Н Е 6, выходные элементы И 7, элементы И 8 обнулени , элемент 9 задержки , многовходовый элемент ИЛИ 10, регистр 11 результата.The device contains n registers 1, elements AND 2 polling bits, elements AND 3 analysis bits, elements AND-NOT 4, elements OR 5 bits, multi-input elements OR H E 6, output elements And 7, elements AND 8 zero, delay element 9, multi-input element OR 10, result register 11.

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

В исходном состо нии регистры обнулени  (цепи первоначальной установки устройства в исходное состо ние не показаны ), так как эта операци  может осуществл тьс  через пусковой вход, при этом на нулевых выходах m разр дов всех регистров установлены высокие, единичные потенциалы , а на выходах всех m разр дов регистра 11 - низкие. Значени  параметров в двоичном коде поразр дно записываютс  через единичные входы в регистры. При отсутствии записи в регистре на инверсных выходах его разр дов ij (где i ,...,«, j l,...,m) - высокие потенциалы, а на выходе элемента И-НЕ 4 - низкий потенциал, тогда на выходах элементов И 2,-/, элементов ИЛИ Ы; - также низкие потенциалы, а на выходах элементов ИЛИ-НЕ 6j - высокие . И хот  на вторых входах элементов И ЗУ - высокие потенциалы, но так как на их первых входах - низкие потенциалы, то и на выходах элементов И 3,/ - низкие потенциалы. Низкие потенциалы сохран ютс  и на выходах элементов И 8,-, на выходе элемента ИЛИ 10, на выходе элемента 9 задержки и на выходах элементов 7/.In the initial state, the zeroing registers (circuits of the initial installation of the device in the initial state are not shown), since this operation can be carried out through the starting input, while at the zero outputs m bits of all the registers high, single potentials are established, and at the outputs of all m bits of register 11 are low. Parameter values in binary code are written by bit through single inputs into registers. If there is no entry in the register on the inverse outputs of its bits ij (where i, ..., ", jl, ..., m) are high potentials, and at the output of the AND-NOT 4 element there is a low potential, then at the outputs of the elements And 2, - /, elements OR Y; - also low potentials, and at the outputs of the elements OR NOT HE 6j - high. And although at the second inputs of the elements AND of the memory are high potentials, but since their first inputs are low potentials, the outputs of the elements And 3, / are low potentials. Low potentials are also maintained at the outputs of the AND 8, - elements, at the output of the OR 10 element, at the output of the delay element 9 and at the outputs of the elements 7 /.

При наличии записи в регистре хот  бы в одном разр де, на выходе элемента И-НЕ 4, устанавливаетс  высокий потенциал, благодар  чему элементы И 2, всех гп разр дов по третьим входам оказываютс  под высокими потенциалами, так как при содержимом регистров 1, а;,з,1, а;з,2,...,а;,з,ш на выходе элемента И-НЕ 4, устанавливаетс  потенциал а;,4 а;,з,1 Л а,,з,2Л ---Ла,, О, а если хот  бы одно значение | а.з/ | |а,з/ J, то ai,, ai,i,i Л ... А ai; Д ... 1. Следовательно, на выходе элемента И 2,;,„| будет потенциал, равный а,,5,т а,,„ 0 при а,,т О и/или а;,4 о и а, л., гч,,,п Л а,,4 1 при а;,1,„, 1 и a,yt 1.If there is an entry in the register at least in one bit, at the output of the element AND-NO 4, a high potential is established, so that the elements And 2, all the gp bits at the third inputs are under high potentials, since with the contents of the registers 1, and ;, s, 1, a; s, 2, ..., a;, s, w at the output of the element AND-HE 4, a potential is established a;, 4 a;, s, 1 L a, s, 2L - --La ,, Oh, and if at least one value | a.z / | | a, s / j, then ai ,, ai, i, i L ... A ai; D ... 1. Therefore, at the output of the element And 2,;, "| there will be a potential equal to a ,, 5, t a ,, „0 at a ,, t O and / or a; 4 o and a, l., rf ,,, p L a ,, 4 1 with a ;, 1, „, 1 and a, yt 1.

Тогда потенциалы на выходе элементов определ ютс  из следующих соотношенийThen the potentials at the output of the elements are determined from the following relations

ЭлементElement

И-НЕ 4,а,,4 а |Лаг1,2Л----Ла,,|,;Л---ЛAND-NOT 4, and, 4 a | Lag1,2L ---- La ,, |,; L --- L

Л а,,|,,„L a ,, | ,, „

И 2ца.,2,/ а,, а/,.(|-1)Л at4And 2ts., 2, / a ,, a /,. (| -1) L at4

И 3,-/а/,з,у а,,5,(/-.|)Л а,,2,/Ла,-,4And 3, - / a /, f, u, a, 5, (/ -. |) L a ,, 2, / La, -, 4

ИЛИ 5,-,-а,-5 , а,,2,,Л а,,з,/OR 5, -, - a, -5, a ,, 2,, L and ,, h, /

И 8;а/,8 а/,5 Л ацAnd 8; a /, 8 a /, 5 l ats

ИЛИ-НЕ6/OR-HE6 /

a6,, ai,2,/Va/,2,,V-.-V Va,,2,,V-.Van,2,/ ИЛИ 10a6 ,, ai, 2, / Va /, 2,, V -.- V Va ,, 2,, V-.Van, 2, / OR 10

,8Va2,8V---Va,,8V-.-Aan,8Var. где а„ - потенциал на пусковом входе устройства ., 8Va2,8V --- Va ,, 8V -.- Aan, 8Var. where a „is the potential at the starting input of the device.

Задержки (9) С запаздыванием по времениDelays (9) Time Delay

на Тзадon Tzad

наon

и 7;and 7;

; a,j - aj,j; a, j - aj, j

a-.i Л а. a-.i l a

00

5five

00

5five

00

Из анализа приведенных соотношений и схемы устройства видно, что высокий потенциал в любой момент времени присутствует на выходе элемента ИЛИ 5 первого разр да регистра 1, содержащего минимальное, но отличное от нул  значение параметра, и, кроме того, на выходах элементов ИЛИ- НЕ 6 в любой момент времени фиксируетс  код минимального, из числа записанных в регистры 1, значени  параметра.From the analysis of the above ratios and the device circuit, it can be seen that a high potential is present at any time at the output of the element OR 5 of the first register register 1, which contains the minimum value of the parameter, but different from zero, and, moreover, at the outputs of the elements OR NOT 6 at any moment of time, the code of the minimum, from among those recorded in registers 1, of the parameter value is recorded.

Импульсом с пускового входа устройства через элемент ИЛИ 10 обнул етс  регистр II, с задержкой по времени выхода элемента 9 задержки содержимое выходов элементов ИЛИ-НЕ 6 через элементы И 7 фиксируетс  в регистре 11, через элемент И 8 регистр 1, содержащий минимальное , но отличающеес  от нул  значение параметра обнул етс , после чего процесс через элемент ИЛИ 10 и другие элементы повтор етс . Причем каждый раз в регистре 1 фиксируетс  следующее, в пор дке возрастани  абсолютных значений, значение параметра .Pulse from the start-up input of the device through the element OR 10 registers II, with a delay in the output of the delay element 9, the contents of the outputs of the elements OR-NOT 6 through the elements 7 and recorded in register 11, through the element 8 the register 1 containing the minimum, but different from zero, the value of the parameter is zeroed, after which the process through the element OR 10 and the other elements is repeated. Moreover, each time in register 1, the next is recorded, in order of increasing absolute values, the value of the parameter.

Процесс прекращаетс  после сортировки всех значений, а так как на каждом этапе регистры обнул ютс , то устройство вновь готово к работе.The process is terminated after all values are sorted, and since the registers are zeroed out at each stage, the device is ready for operation again.

Claims (1)

Формула изобретени Invention Formula 4545 Устройство дл  сортировки чисел, содержащее п регистров, где п - количество сортируемых чисел, п групп по (га-1) элементов И опроса разр дов, где т - разр дность чисел, п - групп по (т- 1) элементов И ана . лиза разр дов, п групп по т элементов ИЛИ разр дов. т многовходовых элементов ИЛИ-НЕ, т выходных элементов И, п элементов И обнулени , регистр результата, элемент задержки, причем выход элемента ИЛИ i-ro разр да j-й группы, где i 1,2...,п.A device for sorting numbers, containing n registers, where n is the number of sorted numbers, n groups of (ha-1) elements AND interrogation of bits, where m is the size of numbers, n - groups of (m-1) elements And ana. the number of bits, n groups of tons of elements OR bits. m of multi-input elements OR-NOT, m of output elements AND, n elements And zeroing, result register, delay element, moreover, the output of element OR i-th bit of the j-th group, where i 1,2 ..., p. j / l,2,...,(m-1), соединен с первыми входами элементов И опроса и анализа (г-)-1)-го разр да/-Й группы, выходы которых соединены с входами элемента ИЛИ (/+1)-го разр да /-К группы, вторые входы элементов И опроса и анализа разр дов у-й группы объединены , выход элемента ИЛИ т-го разр да /-Й группы соединен с первым входом /-го элемента И обнулени , выход которого соединен с входами установки в «О регистров j-й группы, первые входы элементов ИЛИ первых разр дов всех групп соединены с входами первого элемента ИЛИ-НЕ, выход которого соединен с вторыми входами элементов И первых разр дов, выходы элементов И спроса всех () -х разр дов соединены с входами (i-fl)-ro элемента ИЛИ-НЕ, выход которого соединен с третьими входами элементов И анализа ()-го разр да всех групп, выходы выходных элементов И соединены соответствующими информационными входами регистра результата, вторые входы всех элементов И обнулени  и первые входы выходных элементов И соединены с выходом элемента задержки, отличающеес  тем, что, с.целью повышени  быстродействи .j / l, 2, ..., (m-1), is connected to the first inputs of the elements And polling and analysis (g -) - 1) -th bit of the / -I group, the outputs of which are connected to the inputs of the element OR (/ +1) -th bit of the / -K group, the second inputs of the elements of the AND polling and analysis of the bits of the y-th group are combined, the output of the element OR of the t-th bit of the / -I group is connected to the first input of the / -th element and zeroing, the output of which is connected to the installation inputs in the “About j-th group registers”, the first inputs of the elements OR of the first bits of all groups are connected to the inputs of the first element OR — NOT, the output of which is connected to the second inputs and elements And the first bits, the outputs of the elements AND the demand of all () bits are connected to the inputs (i-fl) -ro of the element OR-NOT, the output of which is connected to the third inputs of the elements AND of the analysis () -th bit of all groups , the outputs of the output elements And are connected by the corresponding information inputs of the result register, the second inputs of all elements And zeroing and the first inputs of the output elements And are connected to the output of the delay element, characterized in that, with a goal of increasing speed. 00 оно содержит п элементов И опроса первых разр дов, п элементов И-НЕ и многовходо- вый элемент ИЛИ, причем инверсный выход первого разр да /-го регистра соединен с первым входом /-ГО элемента И первого разр да, выход которого соединен с /-м входом первого элемента ИЛИ-НЕ, инверсный выход (г+1)-го разр да /-го регистра соединен с третьим входом элемента И опроса (/+1)-го разр да /-ГО регистра, инверсные выходы всех разр дов /-го регистра соединены с входами /-ГО элемента И-НЕ, выход которого соединен с вторыми входами всех элементов И опроса и анализа разр дов j-й группы, выходы элементов И обнулени  соединены с п входами многовходового элемента ИЛИ, (п+1)-й вход которого подключен к входу запуска устройства, а выход соединен с входом элемента задержки и входом установки в «О регистра результата, выходы элементов ИЛИ-НЕ соединены с вторыми входами соответствующих выходных элементов И.it contains n elements AND polling of the first bits, n elements AND-NOT and a multi-input element OR, and the inverse output of the first bit of the / -th register is connected to the first input of the / -H element AND of the first bit whose output is connected to / the m input of the first element OR NOT, the inverse output of the (r + 1) -th bit of the / -th register is connected to the third input of the AND polling element of the (/ + 1) -th bit of the / -th register, the inverse outputs of all bits The / -th register is connected to the inputs of the / -th element of the NAND, the output of which is connected to the second inputs of all the elements of AND interrogation and analysis The jth group's arrays, the outputs of the zeroing elements are connected to the n inputs of the OR multi-input element, (n + 1) whose input is connected to the device start input, and the output is connected to the input of the delay element and the setting input in “About the result register, the outputs of the elements OR are NOT connected to the second inputs of the corresponding output elements I.
SU854000742A 1985-12-30 1985-12-30 Device for sorting numbers SU1325461A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU854000742A SU1325461A1 (en) 1985-12-30 1985-12-30 Device for sorting numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU854000742A SU1325461A1 (en) 1985-12-30 1985-12-30 Device for sorting numbers

Publications (1)

Publication Number Publication Date
SU1325461A1 true SU1325461A1 (en) 1987-07-23

Family

ID=21213891

Family Applications (1)

Application Number Title Priority Date Filing Date
SU854000742A SU1325461A1 (en) 1985-12-30 1985-12-30 Device for sorting numbers

Country Status (1)

Country Link
SU (1) SU1325461A1 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
SU1325461A1 (en) Device for sorting numbers
RU2790010C1 (en) Device for selecting the smaller of binary numbers
SU1730618A1 (en) Number sorting device
SU1030797A1 (en) Device for sorting mn-digit numbers
RU1835543C (en) Appliance for sorting of numbers
SU1659998A1 (en) Number sorting device
SU1129605A1 (en) Device for sorting numbers
SU1277088A1 (en) Device for sorting data
SU1215108A1 (en) Device for determining the least number of n numbers
SU1649533A1 (en) Numbers sorting device
SU1211718A1 (en) Device for sorting numbers
SU1112362A1 (en) Device for sorting numbers
SU1254467A1 (en) Device for sorting numbers
SU1654810A1 (en) Device for data sets identification
SU1223221A1 (en) Device for sorting numbers
RU1785013C (en) Signals classification device
SU1053100A1 (en) Device for determining average value of odd set of of number
SU646325A1 (en) Information exchange arrangement
SU1587493A1 (en) Device for sorting numbers
SU1361722A1 (en) Code converter
SU1599987A1 (en) Device for separating pulses
SU1089579A1 (en) Device for simulating equiprobable sampling without replacement
SU1043666A2 (en) Access code frequency ranging device
SU1683005A1 (en) Device to separate five-number sequence median
SU1444749A1 (en) Device for sorting numbers