US3685024A - Two stage sorting system using two-line sorting switches - Google Patents

Two stage sorting system using two-line sorting switches Download PDF

Info

Publication number
US3685024A
US3685024A US85888A US3685024DA US3685024A US 3685024 A US3685024 A US 3685024A US 85888 A US85888 A US 85888A US 3685024D A US3685024D A US 3685024DA US 3685024 A US3685024 A US 3685024A
Authority
US
United States
Prior art keywords
row
switch
input
order
numbers
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
US85888A
Inventor
Daniel G O'connor
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Link Flight Simulation Corp
Original Assignee
Singer Co
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 Singer Co filed Critical Singer Co
Application granted granted Critical
Publication of US3685024A publication Critical patent/US3685024A/en
Assigned to LINK FLIGHT SIMULATION CORPORATION, KIRKWOOD INDUSTRIAL PARK, BINGHAMTON, NY 13902-1237, A DE CORP. reassignment LINK FLIGHT SIMULATION CORPORATION, KIRKWOOD INDUSTRIAL PARK, BINGHAMTON, NY 13902-1237, A DE CORP. ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: SINGER COMPANY, THE, A NJ CORP.
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating
    • G01S7/4052Means for monitoring or calibrating by simulation of echoes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating
    • G01S7/4052Means for monitoring or calibrating by simulation of echoes
    • G01S7/4082Means for monitoring or calibrating by simulation of echoes using externally generated reference signals, e.g. via remote reflector or transponder
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/22Arrangements for sorting or merging computer data on continuous record carriers, e.g. tape, drum, disc
    • G06F7/24Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers sorting methods in general
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/22Indexing scheme relating to groups G06F7/22 - G06F7/36
    • G06F2207/228Sorting or merging network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99937Sorting

Definitions

  • This invention relates to electronic data processing and more particularly to apparatus which may be used to sort randomly arranged information.
  • Another object is to provide a sorting system where a complete sort of data items, none of which is more than two places out of order, may be accomplished.
  • a further object is to provide a sorting system useful to sort range data to be displayed on a radar display.
  • the invention accordingly comprises the several steps and the relation of one or more of such steps with respect to the others, and the apparatus embodying features of construction, combination of elements and arrangement of parts which are adapted to effect such steps, all as exemplified in the following detailed disclosure, and the scope of the invention will be indicated in the claims.
  • FIG. 1 is a block diagram of a radar display system with simulated targets in which the invention may be used;
  • FIG. 2a is a tabulation of the order of data items at the inputs and outputs of the switches of FIG. 2b for three successive passes through the switches;
  • FIG. 2b is a block diagram of the preferred arrangement of two line sorting switches to sort four data items.
  • FIG. 3 is a block diagram of the preferred arrange ment of two line sorting switches to sort six data items.
  • FIG. 1 shows a system in which the present invention may be used. This is a system for simulating targets on a radar scope.
  • Target information is supplied to a computer 10 where it is stored and a range to the targets computed.
  • values representing the target ranges are output in random order to the sorter 12, the sorting system of the invention, where they are arranged in order or decreasing range, in a manner explained hereinafter.
  • From sorter 12 the sorted target ranges are sequentially input to comparator 14 by sequencer 16. In comparator 14 they are compared with the output of counter 18 which provides a value representing the instantaneous range of the sweep on the radar scope 20.
  • FIG. 2b is a block diagram of sorter 12 containing three two-line sorting switches 22 of the type described in US. Pat. No. 3,311,892. Although only three switches (arranged to accept four initial inputs) are shown, the system may be expanded to accept as many inputs as necessary. As is explained in the above patent, each switch will always have on a specified output line the higher of its two inputs regardless of the input line on which the higher value appears.
  • Table 3 of FIG. 2a shows what happens if two adjacent targets change relative position, the type of change normally expected.
  • A has become larger than B. i.e. A is moving away and/or B is coming closer.
  • the feedback from sorter l2 instructs a computer output in the D, C, B
  • a sequence the value of A and/or B will be appropriately changed by nonnal computer operation.
  • the order at the output from the first stage will now be D, C, A, B.
  • the output from the second stage remains the same since the values are in the proper order. If the value of A changes by a large enough factor to be greater than both B and C, the fully sorted order of D, A, C, B would be output from the second stage.
  • FIG. 3 shows a six-line partial sorting system with the individual switches arranged in first and second stages according to the present invention. Similar analysis of the switching in this system shows that if the highest number is in the lowest position it will take two incorrect passes before the number migrates to its proper position. This could probably only occur on start up. In any other case it is very unlikely that an item could get that far out of place. It should also be noted that it is a normal practice to output the ranges from the computer five times a second. Thus, in the above case, incorrect data would be present at the radar scope for only two-fifths of a second.
  • the embodiments of sorters disclosed in FIGS. 2b and 3 both are arranged to receive an even number of initial inputs, whereby a number of first stage switches equal to half the number of inputs, and a number of second stage switches equal to one less than the number of first stage switches, are provided. If the number of inputs to be sorted is an odd number, the last input would be supplied directly to a second stage switch, the latter then being equal in number to the first stage switches. In FIG. 2b, for example, if only three inputs were to be sorted input 1 would be supplied directly to switch 22" in place of m and switch 22' would be omitted. Thus, only one first and one second stage switch are required to sort three inputs.
  • N2 of said first-row outputs to a second row of M-l two-line sorting switches, the high output of the first switch and the low output of the last switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch as the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in said second row having the same order as that of said higher order switch in said first row; and when N is odd, said method comprising; comprising; comprising; comprising;
  • N N-l ;/2 providing N2 of said first row outputs to a second row of M two-line sorting switches, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input to the last switch in said second row, and all the remaining first row outputs being connected in the same manner as the remaining first row outputs for N even; and e. providing the remaining one of the N inputs not provided as an input to said first row as the second input to said last switch in said second row,
  • said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
  • a second row of M-l two-line sorting switches having N2 of the first row outputs as inputs, the high output of the first switch and the low output of the last switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in the second row having the same order as that of said higher order switch in said first row; and said apparatus comprising, when N is odd:
  • a second row of M two-line sorting switches having N2 of the first row outputs as inputs, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input and the remaining one of the N numbers which is not an input to said first row as the other input to the last switch in said second row, and all the remaining first-row outputs being connected in the same manner as the remaining first row outputs for N even,
  • said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches, providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
  • Apparatus according to claim 9 wherein said means comprises a digital computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Hardware Design (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

A partial sorting system utilizing two-line sorting switches for applications where the order of numbers changes slowly with respect to sorting frequency. By using only two stages of sorting and making sorting passes at a relatively high frequency, large reductions in required hardware are obtained while still having a completely sorted output during the major portion of normal system operation.

Description

United States Patent OConnor [4 Aug. 15, 1972 [54] TWO STAGE SORTING SYSTEM USING 3,587,057 6/1971 Armstrong ..340/] 72.5 TWO-LINE SORTING SWITCHES 3,273,127 9/1966 Armstrong ..340/ 172.5 [72] Inventor: Dank] Connor, Endwe, 3,243,778 3/1966 Shflhngton ..340/ 172.5
1 Assigneer The Singer p y New York, Primary Examiner-Paul J. Henon Assistant Examiner-Jan E. Rhoads 22 il Nov. 2 1970 Attorney-Francis L. Masselle, William Grobman and Charles S. McGuire [21] Appl. No.: 85,888
ABSTRACT Elf-8|. 34015112; A partial sorting system utilizing twoJine i F n u i l I Gm f th Order f numbers [58] ield of Search ..340/l72.5, 235/6l.6 changfi slowly with respect to sorting frequency By using only two stages of sorting and making sorting [56] References CM passes at a relatively high frequency, large reductions UNITED STATES PATENTS in required hardware are obtained while still having a completely sorted output during the major portion of 3,428,946 2/1969 Batcher .340/146.2 normal system Operation 3,311,892 3/1967 O'Connor et al. ......340/] 72.5 3,029,413 4/1962 O'Connor et al. ......340/] 72.5 11 Claims, 4 Drawing Figures 18 f CLOCK COUNTER 2O TARGET COMPUTER 7 NPUTS SOFlTEFi SEQUENCER COMPARATOR RADAR PATENTEmus 15 1912 SHEEI 2 BF 2 FIG.2Q
MW B D A C W I 3 W o 0 0 mm B A D C RP FU l 2 3 4 O m m m m m A B c D D.
Table i3 A m able 2 ie C m i4 A m ATTORNEY TWO STAGE SORTING SYSTEM USING TWO- LINE SORTING SWITCHES This invention relates to electronic data processing and more particularly to apparatus which may be used to sort randomly arranged information.
In many applications it s desirable to sort randomly arranged data into a predetermined order. Systems which may be used for this type of sorting are disclosed in US. Pat. Nos. 3,029,413 and 3,3ll,892, granted to the same inventor and assigned to the predecessor of the same assignee as the present invention. The invention disclosed therein are concerned primarily with a complete sort of data. However, in some applications a partial sort may be all that is necessary. For example, if the data to be sorted is a table of target ranges to be displayed on a radar scope, then, since the relative target positions will generally change slowly, relative to the frequency of sorting, a partial sort will be satisfactory. Furthermore, by repeating the operation supplying the data back to the first stage in the order in which it is sorted by the second stage, a complete sort is accomplished in what will be an acceptably short time for many applications. The present application discloses how a plurality of sorting switches such as those described in U.S. Pat. No. 3,311,892 may be arranged to perform a partial sort, thereby reducing the amount of hardware required and reducing delays in the sorting process.
It is the object of this invention to provide a partial sorting system useful in sorting the type of data where the relative magnitudes of the data items is not likely to change rapidly relative to the frequency at which it is practical to sort.
Another object is to provide a sorting system where a complete sort of data items, none of which is more than two places out of order, may be accomplished.
It is also an object of this invention to provide a sorting system where a complete sort of data items may be accomplished by successive passes through the system.
A further object is to provide a sorting system useful to sort range data to be displayed on a radar display.
Other objects will in part be obvious and will in part appear hereinafter.
The invention accordingly comprises the several steps and the relation of one or more of such steps with respect to the others, and the apparatus embodying features of construction, combination of elements and arrangement of parts which are adapted to effect such steps, all as exemplified in the following detailed disclosure, and the scope of the invention will be indicated in the claims.
For a fuller understanding of the nature and objects of the invention reference should be had to the following detailed description taken in connection with the accompanying drawings in which:
FIG. 1 is a block diagram of a radar display system with simulated targets in which the invention may be used;
FIG. 2a is a tabulation of the order of data items at the inputs and outputs of the switches of FIG. 2b for three successive passes through the switches;
FIG. 2b is a block diagram of the preferred arrangement of two line sorting switches to sort four data items; and
FIG. 3 is a block diagram of the preferred arrange ment of two line sorting switches to sort six data items.
FIG. 1 shows a system in which the present invention may be used. This is a system for simulating targets on a radar scope. Target information is supplied to a computer 10 where it is stored and a range to the targets computed. At startup, values representing the target ranges are output in random order to the sorter 12, the sorting system of the invention, where they are arranged in order or decreasing range, in a manner explained hereinafter. From sorter 12 the sorted target ranges are sequentially input to comparator 14 by sequencer 16. In comparator 14 they are compared with the output of counter 18 which provides a value representing the instantaneous range of the sweep on the radar scope 20. (It is assumed scope 20 is of the spiral scan type.) When a comparison occurs, an output to the video channel of radar scope 20 occurs and a blip will appear on the scope. The output from sorter 12 is also fed back to the computer indicating the order for the inputs to sorter 12 on the next pass, as will be explained below.
FIG. 2b is a block diagram of sorter 12 containing three two-line sorting switches 22 of the type described in US. Pat. No. 3,311,892. Although only three switches (arranged to accept four initial inputs) are shown, the system may be expanded to accept as many inputs as necessary. As is explained in the above patent, each switch will always have on a specified output line the higher of its two inputs regardless of the input line on which the higher value appears.
Examination of the tables of FIG. 20 along with FIG. 2b will help explain the sorting operation. Assume that four stored ranges, A,B,C, and D are supplied from computer 10 in increasing order (i.e., A is low, B is 3rd high, C 2nd high and D high) as the inputs i1 through E4 to sorter 12. The desired output would be D,C,B,A in descending order. Table 1 of FIG. 2a shows how these values will migrate through the sorter. A (on input 1]) is lower than B (on i,, whereby, through operation of switch 22, A will appear on m, and B on m,. In a like manner, D will appear on m, and C on m,, by operation of switch 22'. In switch 22"A and D will be reversed with a final output of B on 0 D on 0 A on 0 and C on 0 This is not the desired result of a complete sort into descending order. However, this order of BDAC is fed back to the computer and on the next pass the values will be input to sorter 12 in this new order. An examination of Table 2 reveals that this time the proper order will result. Thus, in two passes, a complete sort will result. The first output then will have been in error as will any output where, for example, A, the lowest and D the highest must change places. However, this is very unlikely in applications such as target range sorting because of the nature of relative motion and when it does occur, it causes a wrong output for only one iteration and will appear to be interference rather than a false reading on the scope.
Table 3 of FIG. 2a shows what happens if two adjacent targets change relative position, the type of change normally expected. Suppose A has become larger than B. i.e. A is moving away and/or B is coming closer. Although the feedback from sorter l2 instructs a computer output in the D, C, B, A sequence the value of A and/or B will be appropriately changed by nonnal computer operation. As shown, the order at the output from the first stage will now be D, C, A, B. The output from the second stage remains the same since the values are in the proper order. If the value of A changes by a large enough factor to be greater than both B and C, the fully sorted order of D, A, C, B would be output from the second stage.
FIG. 3 shows a six-line partial sorting system with the individual switches arranged in first and second stages according to the present invention. Similar analysis of the switching in this system shows that if the highest number is in the lowest position it will take two incorrect passes before the number migrates to its proper position. This could probably only occur on start up. In any other case it is very unlikely that an item could get that far out of place. It should also be noted that it is a normal practice to output the ranges from the computer five times a second. Thus, in the above case, incorrect data would be present at the radar scope for only two-fifths of a second.
For applications of this nature, where large changes are not expected in the relative magnitude of the data items being sorted in relation to the sorting frequency, a large saving in hardware and time results with the present invention. For example, a complete sort using the system described in US. Pat. No. 3,029,413 (HO. 3 and FIG. 4) for four input lines requires five or six sorting switches as compared to three in the present invention. A six-line sorting system using the prior system requires twelve switches whereas the present invention requires only five switches.
The embodiments of sorters disclosed in FIGS. 2b and 3 both are arranged to receive an even number of initial inputs, whereby a number of first stage switches equal to half the number of inputs, and a number of second stage switches equal to one less than the number of first stage switches, are provided. If the number of inputs to be sorted is an odd number, the last input would be supplied directly to a second stage switch, the latter then being equal in number to the first stage switches. In FIG. 2b, for example, if only three inputs were to be sorted input 1 would be supplied directly to switch 22" in place of m and switch 22' would be omitted. Thus, only one first and one second stage switch are required to sort three inputs.
What is claimed is:
l. A method of partially sorting N binary coded numbers, where N is greater than four, into a descending order of precedence said method comprising, when N is even:
a. providing the N numbers in pairs as respective simultaneous inputs to a first row made up of M two-line sorting switches where M equals N/2, each switch having a high and a low output; and
b. providing N2 of said first-row outputs to a second row of M-l two-line sorting switches, the high output of the first switch and the low output of the last switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch as the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in said second row having the same order as that of said higher order switch in said first row; and when N is odd, said method comprising; comprising;
providing N-l of said N numbers in pairs as respective simultaneous inputs to a first row made up of M of said two-line sorting switches where M =N-l ;/2 providing N2 of said first row outputs to a second row of M two-line sorting switches, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input to the last switch in said second row, and all the remaining first row outputs being connected in the same manner as the remaining first row outputs for N even; and e. providing the remaining one of the N inputs not provided as an input to said first row as the second input to said last switch in said second row,
whereby said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
2. The invention according to claim 1 wherein said coded numbers are provided to said sorting switches in a partially sorted descending order with none of said numbers more than two places out of the position it would have in a true descending order with the number in the highest order position being provided to a first input of the first switch in said first row, the next highest the second input to said first switch, the next highest a first input to the second switch in said first row and so on, the input in the lowest order position being provided to the second input of the last switch in said first row for N even and to the second input of the last switch in said second row for N odd, whereby in a single pass through said first and second rows a complete sort of said numbers into descending order will occur.
3. The invention according to claim 1 and further including the step of successively passing said N numbers through said sorting switches the input order of said numbers being the output order on the last pass with the number designated as being the highest order of precedence as a first input to the first switch in said first row, the next highest the second input to said first switch, the next highest a first input to the second switch in said first row and so on, the lowest order being provided to the second input of last switch in said first row for N even and to the second input of the last switch in said second row for N odd, whereby in not more than N/2 passes for N even and (N 2)/2 passes for N odd, a complete sort will be accomplished irrespective of the initial arrangement of said numbers.
4. The method according to claim 3 wherein said binary coded numbers are outputs from a digital computer and the sorted outputs obtained on one pass are fed back to said computer to establish the output order on the next pass.
5. The method according to claim 4, wherein said binary coded numbers represent radar ranges to targets computed in a digital computer and the sorted outputs are provided as inputs to a radar display system.
6. The method according to claim 5 wherein the rate of successive passes is 5 times per second or greater, whereby any incorrect output order will exist for only a short period of time and such error will appear as interference on said radar display system.
7. Apparatus for partially sorting N binary coded numbers, where N is greater than four, into a descending order of precedence, said apparatus comprising when N is even:
a. a first row made up of M two-line sorting switches where M equals N/2, each switch having a high and a low output and having said N numbers as inputs; and
b. a second row of M-l two-line sorting switches having N2 of the first row outputs as inputs, the high output of the first switch and the low output of the last switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in the second row having the same order as that of said higher order switch in said first row; and said apparatus comprising, when N is odd:
c. a first row made up of M of said two-line sorting switches where M (N1)/2 and having Nl of said N numbers as inputs;
. a second row of M two-line sorting switches having N2 of the first row outputs as inputs, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input and the remaining one of the N numbers which is not an input to said first row as the other input to the last switch in said second row, and all the remaining first-row outputs being connected in the same manner as the remaining first row outputs for N even,
whereby said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches, providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
8. The invention according to claim 7 and further including means to provide said coded numbers to said sorting switches in a partially sorted descending order with none of said numbers more than two places out of the position it would have in a true descending order with the number in the highest order position being provided to a one input of the first switch in said first row, the next highest to the other input of said first satsta'ai'aaa asasrftraats s'ztssass order position being provided as an input to the last switch in said first row for N even and as an input to the last switch in said second row for N odd, whereby in a single pass through said first and second rows a complete sort of said numbers into descending order will occur.
9. The invention according to claim 7 and further including means for successively passing said N numbers through said sorting switches the input order of said numbers being the output order on the last pass with the number designated as being the highest order of precedence as a one input to the first switch in said first row, the next highest the other input to said first switch, the next highest one input to the second switch in said first row and so on, the lowest order being provided as an input to the last switch in said first row for N even and as an input to the last switch in said second row for N odd, whereby in not more than N/2 passes for N even and (N+2)/2 passes for N odd, a complete sort will be accomplished irrespective of the initial arrangement of said numbers.
10. Apparatus according to claim 9 wherein said means comprises a digital computer.
11. Apparatus according to claim 10 wherein said binary coded numbers represent radar ranges to a target computed and stored in said computer and further including radar display means connected to said sorted outputs.

Claims (11)

1. A method of partially sorting N binary coded numbers, where N is greater than four, into a descending order of precedence said method comprising, when N is even: a. providing the N numbers in pairs as respective simultaneous inputs to a first row made up of M two-line sorting switches where M equals N/2, each switch having a high and a low output; and b. providing N- 2 of said first-row outputs to a second row of M-1 two-line sorting switches, the high output of the first switch and the low output of the last switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch as the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in said second row having the same order as that of said higher order switch in said first row; and when N is odd, said method comprising; comprising; c. providing N- 1 of said N numbers in pairs as respective simultaneous inputs to a first row made up of M of said twoline sorting switches where M N-1;/2 d. providing N-2 of said first row outputs to a second row of M two-line sorting switches, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input to the last switch in said second row, and all the remaining first row outputs being connected in the same manner as the remaining first row outputs for N even; and e. providing the remaining one of the N inputs not provided as an input to said first row as the second input to said last switch in said second row, whereby said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
2. The invention according to claim 1 wherein said coded numbers are provided to said sorting switches in a partially sorted descending order with none of said numbers more than two places out of the position it would have in a true descending order with the number in the highest order position being provided to a first input of the first switch in said first row, the next highest the second input to said first switch, the next highest a first input to the second switch in said first row and so on, the input in the lowest order position being provided to the second input of the last switch in said first row for N even and to the second input of the last switch in said second row for N odd, whereby in a single pass through said first and second rows a complete sort of said numbers into descending order will occur.
3. The invention according to claim 1 and further including the step of successively passing said N numbers through said sorting switches the input order of said numbers being the output order on the last pass with the number designated as being the highest order of precedence as a first input to the first switch in said first row, the next highest the second input to said first switch, the next highest a first input to the second switch in said first row and so on, the lowest order being provided to the second input of last switch in said first row for N even and to the second input of the last switch in said second row for N odd, whereby in not more than N/2 passes for N even and (N + 2)/2 passes for N odd, a complete sort will be accomplished irrespective of the initial arrangement of said numbers.
4. The method according to claim 3 wherein said binary coded numbers are outputs from a digital computer and the sorted outputs obtained on one pass are fed back to said computer to establish the output order on the next pass.
5. The method according to claim 4, wherein said binary coded numbers represent radar ranges to targets computed in a digital computer and the sorted outputs are provided as inputs to a radar display system.
6. The method according to claim 5 wherein the rate of successive passes is 5 times per second or greater, whereby any incorrect output order will exist for only a short period of time and such error will appear as interference on said radar display system.
7. Apparatus for partially sorting N binary coded numbers, where N is greater than four, into a descending order of precedence, said apparatus comprising when N is even: a. a first row made up of M two-line sorting switches where M equals N/2, each switch having a high and a low output and having said N numbers as inputs; and b. a second row of M-1 two-line sorting switches having N-2 of the first row outputs as inputs, the high output of the first switch and the low output of the lasT switch in said first row not being connected to a second row switch, and all of the remaining first row high and low outputs being connected so that, with said first switch in each row considered as the highest order switch and the last switch the lowest order switch, a low output from any higher order switch and a high output from the next lower order switch in said first row are connected to the switch in the second row having the same order as that of said higher order switch in said first row; and said apparatus comprising, when N is odd: c. a first row made up of M of said two-line sorting switches where M (N-1)/2 and having N-1 of said N numbers as inputs; d. a second row of M two-line sorting switches having N-2 of the first row outputs as inputs, the high output of the first switch in said first row not being connected to a second row switch, the low output of the last switch in said first row being connected as one input and the remaining one of the N numbers which is not an input to said first row as the other input to the last switch in said second row, and all the remaining first-row outputs being connected in the same manner as the remaining first row outputs for N even, whereby said high output of said first switch in said first row may be designated as having the highest order of precedence, the high output of the first switch in the second row the next highest, the low output of said first switch in the second row the next highest, the high and low outputs of any remaining switches, providing in like manner successively lower orders of precedence, the lowest being the low output of the last switch in said first row for N even and the low output of the last switch in said second row for N odd.
8. The invention according to claim 7 and further including means to provide said coded numbers to said sorting switches in a partially sorted descending order with none of said numbers more than two places out of the position it would have in a true descending order with the number in the highest order position being provided to a one input of the first switch in said first row, the next highest to the other input of said first switch, the next highest to one input of the second switch in said first row and so on, the input in the lowest order position being provided as an input to the last switch in said first row for N even and as an input to the last switch in said second row for N odd, whereby in a single pass through said first and second rows a complete sort of said numbers into descending order will occur.
9. The invention according to claim 7 and further including means for successively passing said N numbers through said sorting switches the input order of said numbers being the output order on the last pass with the number designated as being the highest order of precedence as a one input to the first switch in said first row, the next highest the other input to said first switch, the next highest one input to the second switch in said first row and so on, the lowest order being provided as an input to the last switch in said first row for N even and as an input to the last switch in said second row for N odd, whereby in not more than N/2 passes for N even and (N+2)/2 passes for N odd, a complete sort will be accomplished irrespective of the initial arrangement of said numbers.
10. Apparatus according to claim 9 wherein said means comprises a digital computer.
11. Apparatus according to claim 10 wherein said binary coded numbers represent radar ranges to a target computed and stored in said computer and further including radar display means connected to said sorted outputs.
US85888A 1970-11-02 1970-11-02 Two stage sorting system using two-line sorting switches Expired - Lifetime US3685024A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US8588870A 1970-11-02 1970-11-02

Publications (1)

Publication Number Publication Date
US3685024A true US3685024A (en) 1972-08-15

Family

ID=22194622

Family Applications (1)

Application Number Title Priority Date Filing Date
US85888A Expired - Lifetime US3685024A (en) 1970-11-02 1970-11-02 Two stage sorting system using two-line sorting switches

Country Status (1)

Country Link
US (1) US3685024A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4303989A (en) * 1979-07-17 1981-12-01 The Singer Company Digital data sorter external to a computer
US4414643A (en) * 1981-05-15 1983-11-08 The Singer Company Ordering system for pairing feature intersections on a simulated radar sweepline
US4628483A (en) * 1982-06-03 1986-12-09 Nelson Raymond J One level sorting network
US5111465A (en) * 1989-06-30 1992-05-05 Digital Equipment Corporation Data integrity features for a sort accelerator
US5274777A (en) * 1990-04-03 1993-12-28 Fuji Xerox Co., Ltd. Digital data processor executing a conditional instruction within a single machine cycle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3029413A (en) * 1957-02-21 1962-04-10 Gen Precision Inc Sorting system with nu-line sorting switch
US3243778A (en) * 1961-08-22 1966-03-29 Western Electric Co Data processing circuit
US3273127A (en) * 1962-09-04 1966-09-13 Philip N Armstrong Digital sorting system
US3311892A (en) * 1963-09-30 1967-03-28 Gen Precision Inc Sorting system with two-line sorting switch
US3428946A (en) * 1965-08-26 1969-02-18 Goodyear Aerospace Corp Means for merging data
US3587057A (en) * 1969-06-04 1971-06-22 Philip N Armstrong Data sorting system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3029413A (en) * 1957-02-21 1962-04-10 Gen Precision Inc Sorting system with nu-line sorting switch
US3243778A (en) * 1961-08-22 1966-03-29 Western Electric Co Data processing circuit
US3273127A (en) * 1962-09-04 1966-09-13 Philip N Armstrong Digital sorting system
US3311892A (en) * 1963-09-30 1967-03-28 Gen Precision Inc Sorting system with two-line sorting switch
US3428946A (en) * 1965-08-26 1969-02-18 Goodyear Aerospace Corp Means for merging data
US3587057A (en) * 1969-06-04 1971-06-22 Philip N Armstrong Data sorting system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4303989A (en) * 1979-07-17 1981-12-01 The Singer Company Digital data sorter external to a computer
US4414643A (en) * 1981-05-15 1983-11-08 The Singer Company Ordering system for pairing feature intersections on a simulated radar sweepline
US4628483A (en) * 1982-06-03 1986-12-09 Nelson Raymond J One level sorting network
US5111465A (en) * 1989-06-30 1992-05-05 Digital Equipment Corporation Data integrity features for a sort accelerator
US5319651A (en) * 1989-06-30 1994-06-07 Digital Equipment Corporation Data integrity features for a sort accelerator
US5274777A (en) * 1990-04-03 1993-12-28 Fuji Xerox Co., Ltd. Digital data processor executing a conditional instruction within a single machine cycle

Similar Documents

Publication Publication Date Title
US4030077A (en) Multistage sorter having pushdown stacks for arranging an input list into numerical order
CA1069217A (en) Multistage sorter with concurrent access to interstage buffer memories
US3781850A (en) Television type display system for displaying information in the form of curves or graphs
US4597009A (en) Method and circuit arrangement for video-rapid determination of the median of an evaluation window
US4628483A (en) One level sorting network
US2907003A (en) Information handling system
US4677499A (en) Digital time base corrector
US4101968A (en) Sorter with overlap operation
US5390192A (en) High-speed pattern generator
EP0118978A3 (en) Address sequencer for pattern processing system
US3685024A (en) Two stage sorting system using two-line sorting switches
US2674732A (en) Electronic variable delay circuits
US3459926A (en) Graphic vector generator
US5727200A (en) Parallel merge sorting apparatus with an accelerated section
US5488325A (en) Timing generator intended for semiconductor testing apparatus
GB1284421A (en) Data processing apparatus
GB1280486A (en) Multilevel compressed index generation
US3034102A (en) Data handling system
US3034103A (en) Data comparing and sorting apparatus
US3013249A (en) Sort-completion detection apparatus
US3162815A (en) Sequential pulse generator employing first and second delay means controlling pulse duration and spacing, respectively
US2969533A (en) Coding methods and apparatus
US4303989A (en) Digital data sorter external to a computer
US3862407A (en) Decimal to binary converter
US3911405A (en) General purpose edit unit

Legal Events

Date Code Title Description
AS Assignment

Owner name: LINK FLIGHT SIMULATION CORPORATION, KIRKWOOD INDUS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:SINGER COMPANY, THE, A NJ CORP.;REEL/FRAME:004998/0190

Effective date: 19880425