CA1120884A - Method and system for sorting envelopes - Google Patents

Method and system for sorting envelopes

Info

Publication number
CA1120884A
CA1120884A CA000342146A CA342146A CA1120884A CA 1120884 A CA1120884 A CA 1120884A CA 000342146 A CA000342146 A CA 000342146A CA 342146 A CA342146 A CA 342146A CA 1120884 A CA1120884 A CA 1120884A
Authority
CA
Canada
Prior art keywords
bin
sort
zip code
envelopes
count
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
Application number
CA000342146A
Other languages
French (fr)
Inventor
William G. Dobbs
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.)
Stephens Industries Inc
Original Assignee
Stephens Industries Inc
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 Stephens Industries Inc filed Critical Stephens Industries Inc
Application granted granted Critical
Publication of CA1120884A publication Critical patent/CA1120884A/en
Expired legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C3/00Sorting according to destination
    • B07C3/02Apparatus characterised by the means used for distribution
    • 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
    • Y10S209/00Classifying, separating, and assorting solids
    • Y10S209/90Sorting flat-type mail

Abstract

METHOD AND SYSTEM FOR SORTING ENVELOPES

Abstract of the Disclosure The present invention deals with a micro-processor implemented method and system suitable for use in a mail sorting machine to sort the envelopes into common groups, assign each group a particular sort bin and generate a coded bin designation signal. The envelopes to be sorted are run through the machine in two passes. During the first pass, the system causes each of the envelopes to be deposited in a designated sort bin in accordance with a sort table which was programmed into the microprocessor prior to the first pass. The microprocessor also compiles a list of the zip codes of each envelope moving through the machine and maintains A count of the number of envelopes having each zip code. Once the first pass is completed, the microprocessor assembles the compiled zip codes into common groups and assigns each group a bin location.
The microprocessor then assembles the bin locations into a sort table and outputs a list of loading instructions.
During the second pass, the microprocessor directs each envelope into the sort bin designated by the sort table produced by the microprocessor after the first pass to thereby store each envelope of each group into its designated sort bin.

Description

METHOD AND SYST~M FOR SORTING ENVELOPRS

Backqround and Brief Description of the Invention This invention relates in general to the handling of mail within a mail sorting machine which is operable to receive a stack of envelopes, separate the envelopes from each other and successfully convey each of these envelopes to its designated sort bin through a single guideway formed by a plurality of deflecting gates. In particular, this invention deals with a micro-processor controlled method and system for automaticallysorting the envelopes into common groups, assigning each group a particular sort bin and for generating a coded bin designation signal representative of the selected sort bin.
; The volume of mail handled daily by large businesses, institutions and governmental entities has reached the point where new techniques and machines for automatically handling and sorting this mail more efficiently and ec~nomically must be developed. Although several machines for handling and sortinq mail are presently available, these prior machines have not proven to be satisfactory for several reasons. For example, the presently existing mail sorting machines are normally very complex in design and operation and require the services of an operator ta read a sort code imprinted on each envelope. These machines are typically comprised of an array of metal bands which form a plurality of guideways ~or transferring the received envelopes from ~k .

Ct884 a central sortiny location to one of the machine's sort bins. In these machines, incoming envelopes are initially separated and successively provided to a read station where an operator reads sorting information imprinted on each envelope. The operator must then determine where this envelope is to be deposited and make the appropriate entry on the machine's keyboard to introduce the envelope into the guideway corresponding to the designated sort bin. This type of sorting technique is extremely ineffici~nt because each envelope must be stopped at the read station 50 that the operator can read the sorting information imprinted on the envelope Additional time is wasted waiting for the operator to determine where the envelope should be deposited and then depressing the button corresponding to the designated sort bin. ~inally, envelopes sorted in this way are often directed to the wrong sort bin due to an error on the part of the operator.
-~ It is-therefore an object of the present invention to provide a microprocessor controlled system and technique for quickly and reliably readin~ the sort code imprinted on each envelope, sorting the envelopes into common groups, assigning each group a sort bin and generating a coded bin designation signal representative of the selected bin.
The microprocessor controlled system of the present invention receives sorting information from a reader which is positioned adjacent to the guideway through which the separated envelopes are being trans-ported. This reader is capable of reading sorting information imprinted on each envelope as the envelope moves past the reader. As a result, the envelope does not have to be stopped for viewing by the reader or an operator thereby significantly increasing the speed at which envelopes may be sorted. `
During the first pass, all of the envelopes to be sorted are run though the machine. The micro-processor causes each of these envelopes to be deposited in a designated sort bin in accordance with a sort table which was programmed into the microprocessor prior to the first pass. The microprocessor a}so compiles information concerning the zip code associated with each envelope moving through the machine during the first pass.
In particular, the microprocessor c~eates a list of each zip code and maintains a count of the number of envelopes having a particular zip code.
Once ~he first pass is completed, the microprocessor assembles the compiled zip codes into common groups. In particular, all envelopes with the same five digit zip code are placed in a common group if there are ten or more envelopes with this zip code.
Envelopes are also assembled into a common group if there are fifty or more enve}opes with the same first three digits exclusive of the envelopes which have already been placed in a common group because there are ten or more of them with the same five digit zip _3 A

?ir~884 code. The remaining envelopes are then put lnto aresidual group. The microprocessor then assigns each of these common groups a bin location and assembles these bin locations into a sort table which is used during the second pass to direct each of the envelopes into its appropriate sort bin. The computing system also provides a list of instructions for loading of the envelopes during the second pass and for identifying which group of envelopes are stored in which sort bin.
The envelopes are then gathered for a second pass and put into the mail sorting machine in accordance with the instructions. During the second pass, the reader once again reads the sort code imprinted on each enve~ope as the envelope moves past the reader.
The microprocessor then compares the envelope's sort code with the sort table created by the computing system after the first pass and generates a coded bin desi~nation signal which i5 representative of the sort bin in which the-`envelope is to be deposited. The coded bin designation signal moves through the mail sorting machine in synchronization with its associated envelopes to cause this envelope to be directed to its designated sort bin.
An additional object of the present invention is to provide~a microprocessor implemented system of the character described wherein the amount of memory needed to implement the system is significantly reduced to thereby provide a substantial cost savings.

Since the sort codes are stored within the microprocessor on a temporary basis, these codes are stored within random-access-memory units. The cost of random-access-memory is rather significant when compared with the other components of the microprocessor. As a result, a substantial cost savings can be obtained by limiting the required amount of random-access-memory.
It is a further object of the present invention to provide a microprocessor implemented system of the character described wherein the amount of memory to implement the system is significantly reduced to thereby substantially increase the speed of operation. By reducing the number of memory locations, the speed of the central processing unit is correspondingly increased.
The broad object of the invention is attained by a microprocessor implemented method for sorting and assigning sort bins to a plurality of randomly distributed envelopes being handled by a mail sorting machine having a plurality of sort bins for receiving and sorting envelopes, and having means for direct-ing an envelope to one of the sort bins in accordance with an associated bin designation signal, with each of the envelopes having an associated zip code which may be readily ascertained but which may be in any sequence prior to the sorting thereof.
The method comprises the steps of compiling a list of each zip code associated with one or more of the envelopes and a count which i5 representative of the number of envelopes having each zip code on the list, assigning a sort bin to each zip code on th~
list which has an associated count greater than a first preselecte number, arranging the zip codes on the list which have not been assigned a sort bin into groups such that all of the zip codes which have not been assigned a sort bin and have the same first three digits are assembled into a common group, summing the count associated with each zip code in a common group to provide a resulting sum for each common group, and assigntng the sort bin A

8~34 to each com~on group having a resulting sum which i9 greater than a second preselected number.
In a further embodiment, the invention contemplates a microprocessor implemented method for sorting and assigning sort bins to a plurality of envelopes being handled by a mail sorting machine having a plurality of sort bins for receiving and storing envelopes, and having means for directing an envelope to one of the sort bins in accordance with an associated bin designation signal, with each of the envelopes having an associated zip code which may be readily ascertained. The method comprises the steps of compiling a list of each zip code associated with one or more of the envelopes and a count which is representative of the number of envelopes having each zip code in the list, assigning a sort bin to each zip code which falls within a preselected range of numbers and has a count state which is greater than a first preselected number, summing the count state associated with each zip code which falls within said pre-selected range of numbers and does not have a count greater than the first preselected number to thereby produce a resulting sum, and assigning a sort bin to each zip code which falls within the preselected range of numbers if said resulting sum is greater than a second preselected number.
Other and further objects of this invention,together with the features of novelty appurtenant thereto, will appear in the course of the following description.

Detailed Description of the Invention In the accompanying drawings which form a part of the specification that are to be read in conjunction therewith and in which like reference numerals are employed to indicate like parts in the various views:
FIG. 1 is a diagramatic representation of the mail sorting system of the present invention;

FIG. 2 is a block diagram of the microprocessor used in the mail sorting system of the present invention;
FIG. 3 is a flow chart of the sort routine executed by the microprocessor of the present invention;
FIG. 4 is a flow chart of the assigning routine executed by the microprocessor of the present invention;
and FIG. 5 is a flow chart of the bln comparison routine executed by the microprocessor of the present lQ invention, appearing with Fig. 3.
- Referring now to FIG. l, a mail sorting machine incorporating the mail sorting system of the present invention is diagramically illustrated in this figure. The declsion-making-entity of the mail sorting system is a microprocessor 10 which is operated under a hard-wired program or firmware control.
he rnicroprocessor is provided ~ith an attendant ~eyboard 'device 12 for inputing information to and outputing information from''the processor. A display device 14 is also provided to produce a visual display of the outputted information.
~; Prior to the first pass, an operator programs ' ~ the bin assignments for the first pass into the micro-;~ ~ processor via the ~eyboard 12. The microprocessor uses these bin assignments to create a look up table 16 which is retained in memory for the duration of the first pass. Once the bin asslgnments have been programmed into the microproc-ssor, the stack of envelopes to be sorted is placed on the machine's input magazine which is not shown in FIG. 1. The machine then separates each of the incoming envelopes and successively conveys them down a guideway 18 toward the machine's sort bins.
It should be noted that each of the envelopes has sorting information inprinted on them. This sorting information is typically representative of the zip code corresponding to the envelope. The sorting information may, however, be representative of other features such as an office or departmenta'l designatioll for sorting in-coming mail. The sorting information is imprinted on each envelope in the form of a bar code or a magnetic code with the type of sort code being determined by the ' type of reader incorporated into the mail sorting ... . .
machine on which the envelopes are to be sorted.
' As the énvelope moves down the guideway, it ~dsses between the operable components of envelope sensor 20. Envelope sensor 20 is comprised of a light ~
' source 22 and a photosensor 24 which are positioned on opposite sides of the guideway such that an envelope moving down the guideway intercepts the beam of light which normally impinges on the photosensor. As an envelope intercepts this'beam of light, the photosensor generates an activation signal which is provided to a delay circuit 26 as represented by a conductor line 28. Delay circuit 26 is a'programmable digital counter having a maximum count ..

state established by program svitches which are generally ..

!

1JI.~88~

represented by the numeral 28. Upon receipt of anactivation signal from photocell 24, delay circuit 26 initiates its counting sequence. The count state of this digital counter is incremented in response to clock pulses which are provided to this circuit by clock 30.
Upon obtaining its maximum count state, delay circuit 22 resets itself to a zero count state and provides an enable signal to tLmer circuit 32 via conductor line 34.
The maximum count state of the delay circuit is selected to produce a time period equal to the amount of time it takes for the envelope to move from the envelope sensor 20 to a position wherein the sort code imprinted on the envelope is positioned directly in front of the machine's reader device 36.
Upon receipt of an enable signal, timer 32 begins counting a preselected number of clock pulses with the num~er of ~loc~ pulses being controlled by means of programming switches which are generally ~ designated by the'-nl~meral 38. The clock pulses are ;~ 20 derived from clock 30 and the number of clock pulses is selected to correspond to the period o f time during which the sort code imprinted on the envelope is passing in front of the reader device. The timer circuit is operable to provide an output signal during the period of time it is counting. This output signal is in turn provided to the microprocessor as represented by conductor line 40. Upon o~taining its maximum count state, timer circUit ~2 resets itself to a zero count .; , ' .
_g _ !

.

state and inhibits the output signal present on con-ductor line 40.
The microprocessor responds to the output signal from the timer 32 by generating a read signal which is provided to the reader device 36 by means of a conductor line 42. ~eader device ~6 is a electro-optical reading device which is well known to those of ordinary skill in the art. Such a electro-optical reader is given and described in the United States Patent to ~arms, Jr., etal. No. 3,886,328, issued May 27, 1975. This reader is ~asically comprised of a pair of light sources 44 and 46 for illuminating the bar code imprinted on an envelope passing in front of the reader device. The reader is also equipped with ; an objective lens 48 for focusing the light reflected from the bar code onto an array of photosensors which is generally designated by the numeral 50. The output of each of these photosensors is in turn coupled with an amplifier which is comprised of a plurality of operational amplifiers such as 52, 54 and S6. The amplified signal which is produced by each of these amplifiers iY then provided to the reader's control logic circuitry which is generally deslgnated by the numeral 58. The control logic circuitry controls the operation of the reading device and is operable to produce an output wave form which is representative of the ~ar coded data read by the device.
This wave form is then provided to the microprocessor by means of a conductor line 60.

A-`8~4 Upon receipt of an output signal fror.l timer 32, the microprocessor provides a read siqnal to the reader's control logic circuitry 58. The reader's control logic circuitry responds to this signal by initiating its reading operation. In particular the reading device reads the bar code imprinted on the envelope and generates a ~ave form which is representative of this data. This wave form is then provided to the microprocessor where it is examined to determine if it meets the criteria of a valid bar code. If the wave orm does not meet this criteria, the microprocessor momen~arily inhibits the read signal produced by it thereby causing the reader to begin searching for another bar code. If a valid bar code is not received within the time period established by the timer 3?, the microprocessor classifies this envelope as a reject and searches throu~h tie sort table for the sort bin - assigned to the reject envelopes. The microprocessor then produces a coded bin designation signal which is representative of this sort bin.
The microprocessor responds to the receipt of a valid bar code within the time period esta~lished by timer 32, on the other hand, by converting this wave form into a zip code. The microprocessor then searches through the sort table for the hin location pertaining to this zip code and generates a coded bin designation signal which is representative of this bin location. The microprocessor also searches its working ,11 - .

38~

storage to determine if this zip code has already been allocated a memory location. If this zip code has not been allocated a memory location, the microprocessor allocates to this zip code a memory location in which the zip code and an attendant count are stored. If, on the other hand, this zip code has already been allocated a memory location, the microprocessor simply increments the count a'ssociated with this zip code. In this way, the micrcprocessor is operable to compile a list containing the zip code of each envelope passing through the machine during the first pass and to generate a count which is equal to the number of envelopes having each of the stored zip codes.
The coded ~in designation signal is then provided to the electronic tracking system 61 where it is used to direct its associated envelope to its designated sort bin. The electronic tracking system is 'comprised of a plurality of 'individual tracking circuits such as 62, 64 and 66. These circuits are interconnected in series and cooperate with each other to transfer a coded bin designation signal between them in synchronization with the movement of an envelope through the mail sorting machine. Each of these tracking circuits is arran~ed to control the position of a pair of associated deflecting gates 68 and 70 in response to the coded bin designation code presently stored within the circuit.
These gates are positioned adjacent to each other on opposite :
sides of the guideway to form a channel through which an -12- ' envelope may be conveyed. Deflecting gates 6~ and 70 are physically coupled with solenoids 72 and 74 which are in turn electrically coupled with their corresponding tracking circuit by means of conductor lines 7~ and 78, respectively. Each tracking circuit is also provided with an associated envelope sensor which is anteriorly positioned with respect to its associated tracking circuit to alert this circuit of an approaching envelope. In particular, envelope sensor 80 which is comprised of a light source 82 and a photocell 84 is associated with tracking circuit 62 while envelope sensor 86 is associated with tracking circuit 64 and is comprised of a light source 88 and a photo-- cell 90. The enuelope sensor associated with tracking circuit:
66, on the other hand, is generally designated by the numeral 92 and is comprised of a light source 94 and a photocell 96. ~inally, envelope sensor 98 which is comprised of a light source 100 and a photocell 102 is associated with a tracking circuit which is not shown in this igure. The iight source and photocell of each envelope sensor are positioned on opposite sides of the guideway and are orientated such that an envelope passing through the guideway intercepts the beam of light transmitted onto the photocell by the light source.
As the envelope moves between the components of envelope sensor 80, photocell 84 generates an alert signal which is provided to the irst tracking circuit !

62 as represented by conductor line 104. Upon receipt of this alert signal, the first tracking circuit accepts from the microprocessor the coded bin designation signal which is associated with the approaching envelope. The tracking circuit then pro-cesses this signal and examines the processed signal to determine if it is representative of one of this circuit's associated deflecting gates. If the coded bin designation signal is representative of one of the deflecting gates associated with the first tracking circuit, this circuit eneryizes this gate's attendant solenoid by providing a power signal to this solenoid by means of conductor lines 76 or 78 depending upon which gate is to be activated. Activation of the solenoid causes its attendant deflecting gate to be moved from , the normal position shown in FIG. 1 to a deflect pOsitioll wherein the gate is located within the guide-way to engage and direct an advancing envelope into the sort bin associated with this deflecting gate. If, on the other hand, the coded bin designation signal is not representative of either of the de~lecting gates associ~ted with this tracking circuit, the coded bin designation signal is simpIy stored within this trackinq circuit until a clear signal is provided to this circuit from the second tracking circuit 64 by means of conductor line 106. In addition, neither of the gates associated with tracking circuit 6~ are activated to thereby allow an envelope to pass between them unimpeded.

.

! -14-Passage of an envelope betwcen the compon~nts of envelope sensor 86 causes an alert signal to be provided from photocell 90 to the second tracking circuit 64 as represented by conductor line 108. The second tracking circuit responds to this alert signal by accepting the coded bin designation signal presently stored within the first tracking circuit and generating a clear signal which is in turn provided to the first tracking circuits by means of conductor line 106. This tracking circuit then pro-cesses the received designation signal and examines theprocessed signal to determine if it is representative of either of the deflecting gates associated with this tracking circuit. If the signal is not representative of either of these gates, the signal is simply stored within this circuit until a clear signal is received.from tracking circuit 66 by means of conductor line 110. If, on the other hand, the processed signal is representative of one of tne deflecting gates associated with the.second tracking circuit, this circuit causes the solenoid associated with this gate to be activated thereby moving the designated : deflecting gate into the guideway to direct an advancing envelope into the sort bin associated with this deflecting gate.
The coded bin designation signal is thus moved through the electronic tracking system in synchronization with the movement of its associated envelope through the mail sorting machine. Each tracking circuit processes and examines the signal to determine if it is representative of either of the deflecting gates associated with this circuit.
The tracking circuit associated with the deflecting gate designated by the coded bin designation signal responds to the receipt of this signal. Activation of this solenoid causes its attendant deflecting gate to be moved into the guideway to interrupt the normal movement of an advancing envelope and thereby direct this envelope into the sort bin associated with this deflecting gate. Each of ~he incoming envelopes is sorted in this manner during the first pass.

.

88~

Upon completion of th~ first pass, the microprocessor processes the stored data to separate the envelopes into common groups and to assign a sort bin to each of the assembled groups. In particular, the processor arranges the stored zip codes in numerical order and then examines the count corresponding witll each of the stored zip codes. The microprocessor begins by examinin~ in succession the count of each zip code falling within a comparison range of 00000 to 00099. If the count corresponding with any of the zip codes in this range is ten or greater, each of these zip codes is classified as a separate group and is assigned its own sort bin. Thereafter, the remaining zip codes with a number between 00000 and 00099 are combined together and their individual counts are summed. The resulting sum is then examined to determine i it i9 r greater than fifty. If the resulting sum is greater than fifty, these zip codes are then grouped together and assigned a sort bin. If the resulting sum is less than fifty, however, these zip codes are not grouped together and each 20' of these zip code's is assigned to the residual sort bin.
The microprocessor then increments the comparison range by "100" and performs the above-described grouping and assigning operation on each of the zip codes within the range of 00100 to 00199. The microprocessor continues to operate in this manner until all of the zip codes have been assigned to a particular sort bin.
Each time a sort bin is assigned to a zip code or group of zip code's the microprocessor compares the number of assigned bins with the total number of bins in the mail sorting machine. If the number of assigned bins ~7 .
,:

is less than the total num~er of bins in the machine, the microprocessor just continues on ~ith the above-described grouping and assigning operation. Quite often, however, the number of zip codes or groups of zip codes to be assigned sort bins exceeds the number of sort bins in the machine. In that case, the second pass will have to include a number of separate runs with a portion of the envelopes being inputted to the machine during each run of the second pass in accordance with loading instructions generated by the microprocessor. The first sort bin is always reserved for the residual envelopes and serves as the bin in which the envelopes with an invalid bar code and the ones which do not fall within one of the common groups are deposited. The microprocessor then assigns the remaining bin in numerical order. The microprocessor then creates a sort table which contains the bin assignments for each run of the second pass and prepares loading instructions which are subsequently outputted to the operator. These loading instructions provide the operator with information concerning which of the envelopes are to be fed into the machine during each run of the second pass and information concerning the location of the sorted envelopes after each run.
While the microprocessor is performing the above-described grouping and assigning operation, the envelopes sorted during the first pass are being removed from the mail sorting machine by the operator. Thereafter, the envelopes are fed into the mail sorting machine in 29 accordance with the loading instructions generated by the ?884 micro?rocessor. The incoming envelopes are initially separated from each other and conveyed through the mail sorting machine in succession. As each envelope moves throu5~h the machine the bar code imprinted on the envelope is read and converted into a wave form by the reading device. Thereafter, the microprocessor examines this wave form to determine if it is representative of a valid bar code and generates a coded bin designation signal which is representative of the sort bin in which the envelope is to be deposited. The microprocessor generates the coded bin designation signal by searching through the sort table which was created-by the microprocessor following the first pass. The coded bin designation signal is then transferred to the electronic tracking system where it is used to direct its associated envelope into the appropriate sort bin.
Referring now to FIG. 5, a more detailed diagram of the micro~rocessor's hardware is given in this figure. The microprocessor is operated under a hardwired program or firmwarë control to perform the desired functions.
The microprocessor may comprise any one of a plurality of microprocessor configurations which are operable to simulate a dedicated, stored program digital computer. The utilized system, however, should include a central processing unit which is capable of performing arithmetic, logical, manipu-lative and control functions upon digital information including digital instructions and data, read-only-memory or proqrammable read-only-memory which is capable of storing firmware instructions used in the performance of 30 control and/or monitoring functions; random-access-memory which is capable of storing intermediate results and/or other changeable digital information received by or generated within the computing system; timing circuitry which is capable of coordinating the various processing operatings performed by the system; and input/output circuitry which is capable of transferring data instructions from an outside recording medium directly into memory and for transferring data instructions from memory to an outside recording medium. Since many different systems exhibiting these characteristics are well known to those of ordinary skill in the art, an exhaustive description of each block will not be undertaken at this time.
The microprocessor shown in FIG. 5 represents a microprocessor which is well suited for use in the present invention and a general description of this system ~7ill be undertaken herein. The computing system shown in FIG. 5 comprises an Apple II computing system which is manufactured by Apple Computer, Inc. Schematic, functional and programming information for this computing system is provided by Apple Computer, Inc. in a publication entitled Apple II Reference Manual, January 1978, which is incorporated by reference herein.
A central processing unit 120 forms the heart of the computing system. The central processing unit is comprised of an MCS 6502 central processing unit which is manufactured by Mos Technology, Inc. This central processing unit includes an arithmetic and logic unit, instruction register, a control unit, plus interface logic, clock logic circuitry and a number of programmable registers including an accumulator, a pair of index registers, a ' 8~4 program counter, a stack pointer, and a status register.
A more detailed description of this circuit and its operation is qiven in the Syne-tex Mos Data Catalog, which was published January of 1978. The microprocessor includes a read-only-memory 122 for holding program data including instructions and program commands. Since the contents of the read-only-memory cannot be altered by the central processing unit, the read only memory contains a hardwired program or firmware for controlling the operation of the microprocessor.
In addition to the read-only-memory, this miaroprocessor includes working storage in the form of a random-access-memory 124. This random-access-memory is constructed of dynamic ~AM chips which are designed to provide 16,384 x 1 bits of memory. These chips are arranged in sets of eight to interace with the central processing unit. The present microprocessor is constructed to have 48K locations of RAM memory available. The microprocessor also includes a RAM select circuitry 126 and a RAM address multiplexer 128 for inputting data to and outputting data from the RAM memory.
System timing is controlled by the reference oscillator and system timing circuit 130 which operates in combination with the sync counter 132. These two circuits cooperate to generate the clock signals needed to drive the central processing unit and the other operable equipment of the system and to coordinate the operation of this equipment.
The computing system is also provided with a A

peripheral input/output device 134, an on-board input/output device 136 and a video generator 138 for receiving an output.ting data from external sources. In particular, the peripheral I/0 circuitry is operable to connect the microprocessor with additional equipment while the on-board I/O, is used to couple the microprocessor with an associated keyboard to receive and output data. The vidco generator, on the other hand, is operable to provide a video display of the data to be outputted.
Reference is now made to FIG. 3 for a more detailed description of the sorting operation performed by the microprocessor of the present invention. Upon receiving a bar code from the reading device, the microprocessor performs a quality check on the received code to determine if it meets the criteria for a valid bar code. If the received information does not meet this criteria, the microprocessor directs the envelope associated with this bar code to the reject bin by assigning to this envelope the coded bin desi~nation signal which is representative of the reject bin.
If, onthe other hand, the received code meets the criteria for a valid ~ar code, the microprocessor converts the received bar code into a zip code and then determines whether this is the first or second pass.
During the first pass, the microprocessor examines its working storage to determine if this zip code has already been allocated a memory location. If a memory location has not been allocated to this zip code, the microprocessor allocates a memory location to this zip code and initiates a count which is reprQsentative of the number of envelopes having this zip code. If, on the other hand, a memory locat:ion has been allocated to this zip code, the microprocessor reviews the count associated with this zip code to determine if it is ten or greater. The microprocessor xesponds to a count of less than ten by incrementing the count associated with this zip code and then ascertaining the bin in which the envelope is to be deposited. A count of ten or qreater, however, causes the microprocessor to ascertain the bin in which the envelope is to be deposited without incrementing the ¢ount associated with this zip code.
- During the first pass, the microprocessor ascertains which sort bin an envelope is to be deposited in by searching through the sort table which was programmed into the microprocessor prior to initiating this pass. The sort table used during the first pass is programmed to perform a general separation of the envelopes according to numerical order. In particular, this sort table is arranged so that each sort bin has a range of 20 zip codes assigned to it. ~or example, the sort table may be set up so that all of the envelopes with a zip code between oooon and 00100 are deposited within the second sort bin while all of the envelopes with a zip code between 00101 and 00199 are deposited within the third sort bin and so on. The number of zip codes assigned to each sort bin is variable and may be adjusted to accommodate the zip code distribution of the envelopes to be sorted.
The microprocessor then generates a coded 30 bin designation signal which lS representative of the sort bin in which the envelope is to be deposited.

!

8~4 The coded bin designation signal is then provided to th~
electronic tracking system where it is used to direct this envelope to its designated sort bin.
Once the first pass has been completed, the microprocessor initiates the grouping and assigning routine shown in FIG. 4. UPOJI initiating this routine, the microprocessor generates a comparison zip code which is "00000". The microprocessor then searches through the compiled list of zip codes to determine if the count corresponding to this zip code is ten or greater. If the count corresponding to this zip code is ten or greater, the next sort bin is assigned to this zip code.
It should be noted that the first bin is reserved for the envelopes that do not have a valid bar code imprinted on them and for the residual envelopes which do not fit within any of the common groups. As a result, the second sort bin is the first bin available for recei~ing t e envelopes wh~cl fall within one of the common groups.

.' Once this zip code has been assigned a sort bin, the microprocessor initiates subroutine C. A flow chart of subroutine C is given in FIG. 5.
In this subroutine, the microprocessor checks to see how many of the machine's sort bins have been assigned.
In particular, the number of assigned bins i5 compared with the number of bins contained in the mail sorting machine. If the number of assigned bins is less than the total number of bins in the machine, the micro-processor returns to the grouping and assigning routineshown in FIG. 4. If, on the other hand, the num~er of assigned bins is not less than the total number of bins in the machine, the microprocessor classifies the assigned bins as a run and assembles and stores the bin information associated with this run. As pointed out~above, a number of different runs may have to be established to accomodate all of the envelopes. The micro-processor then generates a loading instruction for this run. In particular, these instructions provide infor-mation concerning which of the envelopes are to beloaded during the run and information concerning which group of envelopes are to be deposited in each sort bin during this run. The microprocessor then conditions itself to begin assigning sort bins for another run and returns to the grouping and assigning routine shown in FIG. 4, : .

J~38~34 If the count corresponding to the present comparison zip code is not ten or greater, the micro-processor simply examines the comparison zip code to determine if its last two digits are "g9" without assign-ing a separate sort bin to this zip code. This comparison is also made if the count corresponding to this zip code was ten or greater. In that case, however, the comparison is only made after a sort bin has been assigned to this zip code and a subroutine C has been completed.

If the last two digirs of the comparison zip code are not "99", the microprocessor incremènts the last digit of the comparison zip code and searches through its-working storage for the count corresponding to this zip code as described above. If the count corresponding to this comparison zip code is ten or greater, a sort bin is assigned to this zip code as described above and subroutine C is initiated. Thereafter, the last two digits of the comparison zip code are then compared to determine if they are "99". If the ~ount state corresponding~to thi~ comparison zip code is less than ten, the last two digits of this zip code are compared to determine if they are "99" without assigning this zip code a sort bin. The microprocessor continues to circulate in this loop until the last two digits of the comparison zip code become "99".
Thereafter, the count of all of the zip codes having the same first three digits as the comparison zip code exclusive ~f the zip codes which have already been assigned a sort bin are summed. The re6ulting sum is then compared to determine if it is fifty or ~reater.
If the resulting sum is less than fifty, all of the zip codes which fall within this range exclusive of the ones which have already been assigned a sort bin are assigned to the residual bin. Thereafter, the last two digits of the present comparison zip code are reset to "00" and the comparison zip code is incremented by "100". If the resulting sum is fifty or greater, this group of zip codes are assigned a bin as described above.
Thereafter, subroutine C is initiated to determine if the assigned number of bins is less than the number of bins in the mail sorting machine. Upon completion of sub-routine C, the last two digits of the present compariosn zip code are reset to "00" and the comparison zip code is incremented by "100".
Once the comparison zip code has been incremented by "100", the first three digits of the comparison zip code are compared to dete~mine if they are "999". If the first three digits of the comparison zip code are not "999", the microprocessor returns to the start of this routine to be~in its comparing operation anew. If the first three digits are "999", the microprocessor assembles the bin information into a sort table for use during the various runs of the second pass. The loading instructions prepared by the microprocessor are then printed. In this way, the 29 microprocessor is capable of examining every zip code ~.2~884 to determine if its corresponding count is ten or greater and of assigning a sort bin to each code having a corresponding count which is ten or greater.
The microprocessor is also capable of assembling the unassigned zip codes with the same first three digit into a common group and of summing the count 15 corresponding to each of these zip codes to determine if it is fifty or greater. The microprocessor then assigns this group of 2ip codes to a specific sort bin if the resulting count is fifty or greater.
Any zip codes which do not fall within either of these two categories are assigned to a residual bin.
Reference is now made to FIG. 3 for a description of the microprocessor during the second pass. During each run of the second pass, the ,envelopes designated by the loading instructions for that run are-loaded into the mail sorting machine.
As the bar code on an envelope is`read, the micro-processor examines this code to determine if it meetsthe criteria for a valid zip code. If this bar code does not meet the required criteria, the envelop~
is assigned to the reject bin. Recognition of a valid ~ar code causes the microprocessor to determine which pass this is. Since this is now the second pass, the microprocessor immediately proceeds to ascertain which sort bin this envelope is to be deposited in by searching through the sort table created by the microprocessor following the first pass. Once the appropriate sort bin has been ,6!884 ascertained, the microprocessor generates a coded bin designation signal which is representative of this sort bin. The coded bin designation signal is then provided to the electronic tracking Sy5 tem where it is used to direct its associated envelope to its designated sort bin.

,

Claims (8)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. A microprocessor implemented method for sorting and assigning sort bins to a plurality of randomly distributed envelopes being handled by a mail sorting machine having a plurality of sort bins for receiving and sorting envelopes and means for directing an envelope to one of said sort bins in accordance with an associated bin designation signal, each of said envelopes having an associated zip code which may be readily ascertained but which may be in any sequence prior to the sorting thereof, said method comprising the steps of:
compiling a list of each zip code associated with one or more of said envelopes and a count which is representative of the number of envelopes having each zip code on said list, assigning a sort bin to each zip code on said list which has an associated count greater than a first preselected number, arranging the zip codes on said list which have not been assigned a sort bin into groups such that all of the zip codes which have not been assigned a sort bin and have the same first three digits are assembled into a common group, summing the count associated with each zip code in a common group to provide a resulting sum for each common group, assigning the sort bin to each common group having a resulting sum which is greater than a second preselected number.
2. The method as in Claim 1 including the step of assigning a sort bin to each zip code in each common group which does not have a resulting sum which is greater than said second preselected number.
3. The method as in Claim 1 wherein said compiling step comprises the steps of:
ascertaining the zip code on each of said envelopes in succession, establishing a count corresponding to a particular zip code if a count corresponding to said particular zip code has not already been established, and incrementing the count corresponding to a particular zip code if a count corresponding to said particular zip code has already been established.
4. The method as in Claim 1 wherein the step of assigning a sort bin comprises the steps of incrementing a bin count each time a sort bin is assigned, comparing said bin count with a third preselected number, producing bin information concerning the assigned sort bins if said bin number exceeds said third preselected number, and establishing another bin run wherein the sort bins of the mail sorting machine which were assigned during the previous run are reassigned.
5. A microprocessor implemented method for sorting and assigning sort bins to a plurality of envelopes being handled by a mail sorting machine having a plurality of sort bins for receiving and storing envelopes, means for directing an envelope to one of said sort bins in accordance with an associated bin designation signal, each of said envelopes having an associated zip code which may be readily ascertained, said method comprising the steps of:

compiling a list of each zip code associated with one or more of said envelopes and a count which is representative of the number of envelopes having each zip code in said list, assigning a sort bin to each zip code which falls within a preselected range of numbers and has a count state which is greater than a first preselected number, summing the count state associated with each zip code which falls within said preselected range of numbers and does not have a count greater than said first preselected number to thereby produce a resulting sum, and assigning a sort bin to each zip code which falls within said preselected range of numbers if said resulting sum is greater than a second preselected number.
6. The method as in Claim 5 including the step of assigning a sort bin to each zip code in each common group which does not have a resulting sum which is greater than said second preselected number.
7. The method as in Claim 5 wherein said compiling step comprises the steps of:
ascertaining the zip code on each of said envelopes in succession, establishing a count corresponding to a particular zip code if a count corresponding to said particular zip code has not already been established, and incrementing the count corresponding to a particular zip code if a count corresponding to said particular zip code has already been established.
8. The method as in Claim 5 wherein the step of assigning a sort bin comprises the steps of incrementing a bin count each time a sort bin is assigned, comparing said bin count with a third preselected number, producing bin information concerning the assigned sort bins if said bin number exceeds said third preselected number, and establishing another bin run wherein the sort bins of the mail sorting machine which were assigned during the previous run are reassigned.
CA000342146A 1978-12-28 1979-12-18 Method and system for sorting envelopes Expired CA1120884A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US05/973,912 US4247008A (en) 1978-12-28 1978-12-28 Method and system for sorting envelopes
US973,912 1978-12-28

Publications (1)

Publication Number Publication Date
CA1120884A true CA1120884A (en) 1982-03-30

Family

ID=25521368

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000342146A Expired CA1120884A (en) 1978-12-28 1979-12-18 Method and system for sorting envelopes

Country Status (2)

Country Link
US (1) US4247008A (en)
CA (1) CA1120884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5602382A (en) * 1994-10-31 1997-02-11 Canada Post Corporation Mail piece bar code having a data content identifier

Families Citing this family (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5670886A (en) * 1979-11-14 1981-06-13 Nippon Electric Co Sorter
US4307293A (en) * 1980-08-04 1981-12-22 Burroughs Corporation Optical reader kit for letter sorting machines
FR2525127A1 (en) * 1982-04-15 1983-10-21 Fustier Guy DEVICE FOR CLASSIFYING HANDLING OBJECTS
US4488610A (en) * 1982-05-17 1984-12-18 Data-Pac Mailing Systems Corp. Sorting apparatus
FR2552686B1 (en) * 1983-10-04 1985-10-25 Challand Marc MODULAR DEVICE AND METHODS FOR CLASSIFYING INDEXED OBJECTS
FR2555474B1 (en) * 1983-11-25 1986-03-28 Hotchkiss Brandt Sogeme METHOD FOR SORTING FLAT AND INDEXED OBJECTS AND DEVICE USING THE SAME
US4921109A (en) * 1985-05-07 1990-05-01 Shibuya Computer Service Kabushiki Kaisha Card sorting method and apparatus
US5229932A (en) * 1988-08-23 1993-07-20 Pitney Bowes Inc. Method and apparatus for categorizing and certifying mail batches
US5009321A (en) * 1989-11-13 1991-04-23 Pitney Bowes Inc. Sorting system for organizing randomly ordered route grouped mail in delivery order sequence
US5042667A (en) * 1989-11-13 1991-08-27 Pitney Bowes Inc. Sorting system for organizing in one pass randomly order route grouped mail in delivery order
US5109987A (en) * 1989-12-04 1992-05-05 National Presort, Inc. Multi-level sort machine
US5097960A (en) * 1990-03-23 1992-03-24 Westinghouse Electric Corp. Multiple pass document sorting machine utilizing automatic sweeping
US5097959A (en) * 1990-03-27 1992-03-24 Westinghouse Electric Corp. Multiple pass document sorting machine utilizing automatic sweeping and multiple recirculation trays
US5287976A (en) * 1990-10-31 1994-02-22 R. R. Donnelley & Sons Company System and method for co-mailing a plurality of diverse publications
US5912979A (en) * 1990-11-02 1999-06-15 Bell & Howell Mail Processing Systems Co. Method and apparatus for object surveillance along a transport path
US5293983A (en) * 1991-08-09 1994-03-15 Westinghouse Electric Corp. Transport/stacker module for mail processing system
WO1993002810A1 (en) * 1991-08-09 1993-02-18 Westinghouse Electric Corporation Modular mail processing method and control system
US5518122A (en) * 1991-08-09 1996-05-21 Westinghouse Electric Corp. Modular mail processing method and control system
FR2681263B1 (en) * 1991-09-18 1993-11-12 Cga Hbs Cie Gle Automatisme METHOD FOR SORTING OBJECTS.
US5367581A (en) * 1993-03-31 1994-11-22 Direct Data Systems Magnetic reader with read head biased against document by resilient deflection of circuit board
US5479532A (en) * 1993-03-31 1995-12-26 Direct Data Systems Apparatus for reading magnetic information from a document having a read head mounted on a circuit board portion permitting resilient deflection
JP3389717B2 (en) * 1994-12-22 2003-03-24 株式会社日立製作所 Paper sheet sorting method and apparatus
US6327599B1 (en) * 1995-06-07 2001-12-04 R. R. Donnelley & Sons Company Apparatus for controlling an electronic press to print fixed and variable information
US6952801B2 (en) * 1995-06-07 2005-10-04 R.R. Donnelley Book assembly process and apparatus for variable imaging system
IT1295970B1 (en) * 1997-11-14 1999-05-28 Finmeccanica Spa METHOD OF SEQUENCING POSTAL OBJECTS.
GB2335639B (en) * 1998-03-27 2002-06-12 Post Office Sorting system
US6316741B1 (en) * 1999-06-04 2001-11-13 Lockheed Martin Corporation Object sortation for delivery sequencing
US6976621B1 (en) 1999-08-31 2005-12-20 The United States Postal Service Apparatus and methods for identifying a mailpiece using an identification code
US6894243B1 (en) * 1999-08-31 2005-05-17 United States Postal Service Identification coder reader and method for reading an identification code from a mailpiece
US7060925B1 (en) * 1999-08-31 2006-06-13 United States Of America Postal Service Apparatus and methods for processing mailpiece information by an identification code server
US6977353B1 (en) 1999-08-31 2005-12-20 United States Postal Service Apparatus and methods for identifying and processing mail using an identification code
US7081595B1 (en) * 1999-08-31 2006-07-25 United States Postal Service Apparatus and methods for processing mailpiece information in a mail processing device using sorter application software
US7278094B1 (en) 2000-05-03 2007-10-02 R. R. Donnelley & Sons Co. Variable text processing for an electronic press
US6250632B1 (en) 1999-11-23 2001-06-26 James Albrecht Automatic card sorter
US6741908B2 (en) 2000-08-23 2004-05-25 Lockheed Martin Corporation Mail bin sort sequence binary file generator
US7081971B2 (en) * 2001-05-23 2006-07-25 Pitney Bowes Inc. System and method for printing on mailpieces using a fixed print head
US6822182B2 (en) * 2002-07-12 2004-11-23 Siemens Dematic Postal Autoamtion, L.P. Method of sorting mail for carriers using separators
US20040251179A1 (en) * 2002-10-08 2004-12-16 Hanson Bruce H. Method and system for sequentially ordering objects using a single pass delivery point process
US7250582B2 (en) * 2002-10-08 2007-07-31 Lockheed Martin Corporation Method and system for sequentially ordering objects using a single pass delivery point process
US6924451B2 (en) * 2002-10-08 2005-08-02 Lockheed Martin Corporation Method for sequentially ordering objects using a single pass delivery point process
US7528339B2 (en) 2003-07-31 2009-05-05 Lockheed Martin Corporation Sequencing system and method of use
US7723633B2 (en) 2003-07-31 2010-05-25 Lockheed Martin Corporation Sequencing system and method of use
US20080060980A1 (en) * 2006-06-08 2008-03-13 Inman Lance W Mail sorting machine expansion with direction-reversing elevating conveyor
US7979155B2 (en) * 2008-02-14 2011-07-12 Accenture Global Services Limited Sort plan optimization
FR2945462B1 (en) * 2009-05-15 2011-04-22 Solystic METHOD FOR SORTING POSTAL SHIPMENTS IN A LOW CAPACITY MACHINE
CA2751988A1 (en) * 2010-09-13 2012-03-13 Kevin Wilen Systems and methods for commingled mail

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55110B2 (en) * 1972-06-19 1980-01-05
US4167476A (en) * 1977-05-06 1979-09-11 Harris Corporation Bulk article sorting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5602382A (en) * 1994-10-31 1997-02-11 Canada Post Corporation Mail piece bar code having a data content identifier

Also Published As

Publication number Publication date
US4247008A (en) 1981-01-27

Similar Documents

Publication Publication Date Title
CA1120884A (en) Method and system for sorting envelopes
EP0021614B1 (en) Document sorting method
EP0325233B1 (en) Character string recognition system
US3353160A (en) Tree priority circuit
US4047000A (en) Control system for computer controlled identification of bottles
US3444523A (en) Apparatus for sorting of recorded digital data
EP0032913B1 (en) Multi-font character recognition technique
US4016549A (en) Scanning and selection methods and apparatus therefor
RU95112491A (en) System and method for processing optically scanned mails (variants)
GB752593A (en) Improvements in or relating to statistical record controlled sorting apparatus
EP0132314A2 (en) Window-addressable memory circuit
US2993596A (en) Sorting arrangement
JPH0130184B2 (en)
US3097745A (en) General purpose document sorting system
AU568321B2 (en) Electronic postage meter
US4124121A (en) Document sorter system having interchangeable pocket modules
US3815102A (en) Method and apparatus for item tracking
US3879706A (en) Method and device for the automatic selection of chromosome images during metaphase
FR2634918B1 (en) ERROR DETECTION AND STORAGE OF ERROR INFORMATION DEVICE AND HIGHLIGHTING METHOD
US3749916A (en) Program selection device, for use in programing automatic scintillation spectrometry
EP0390731A3 (en) Method for recharging the funding register of a postage meter and postage meter for carrying out the method
US3052350A (en) Item handling apparatus
US3391272A (en) Apparatus for document sorting including alternative logic means
US2933255A (en) Digital correlation device
Côté et al. Building a perception based model for reading cursive script

Legal Events

Date Code Title Description
MKEX Expiry