SU1325461A1 - Device for sorting numbers - Google Patents
Device for sorting numbers Download PDFInfo
- 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
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)
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) |
-
1985
- 1985-12-30 SU SU854000742A patent/SU1325461A1/en active
Non-Patent Citations (1)
| 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 |