Abstract:
A method and device for off-sorting documents of a specific type using a device capable of discriminating among different types of documents. A stack of documents are received in an input receptacle and transported, one at a time, past a document type discriminating unit to an output receptacle where the type of each document is discriminated. Next it is determined whether the type of a current document is a specified type. Depending on the type of the current document either (1) operation of the device is halted when the current document does have the specified type and the immediately preceding document does not have the specified type; (2) operation of the device is halted when the current document does not have the specified type and the immediately preceding document does have the specified type; or (3) operation of the device is continued.

Description:
FIELD OF THE INVENTION 
     The present invention relates, in general, to document discrimination and counting. More specifically, the present invention relates to an apparatus and method for discriminating and sorting documents such as currency bills. 
     BACKGROUND OF THE INVENTION 
     In processing stacks of documents such as currency bills, it is often desirable to sort out specific types of documents such as currency bills having a specific denomination. 
     SUMMARY OF THE INVENTION 
     Briefly, the operator of a document discriminator embodying a sorting mode according to the present invention selects a document type to be separated from the remaining document types. For example, the operator may designate $20 bills to be off-sorted from a stack of U.S. currency bills having a plurality of denominations. When a stack of currency bills is subsequently processed by the currency discriminator, the discriminator proceeds to process all bills in the stack until it encounters the first $20 bill. The discriminator then halts operation with the first $20 bill being the last bill deposited in the output receptacle of the discriminator. The operator may then remove all the bills in the output receptacle and separate the $20 bill from the other bills. The currency discriminator may restart automatically when all the bills in the output receptacle are removed or alternatively, the discriminator may be designed to require the selection of a continuation key. The discriminator then continues to process the remaining bills until it encounters the first non-$20 bill. Upon encountering the rest non-$20 bill, the discriminator halts operation with the non-$20 bill being the last bill deposited in the output receptacle. The operator may then remove all the bills in the output receptacle, separate the non-$20 bill from the preceding $20 bills, and place the bills in appropriate stacks. The discriminator then proceeds processing the remaining bills, now halting upon encountering the first $20 bill. The operation proceeds as above with the discriminator toggling between halting upon detecting the first bill not of the designated denomination and the first bill of the designated denomination. In this way, the operator may conveniently separate a designated denomination from bills having a plurality of denominations. Likewise the above operation may be repeated with the remaining bills to sort out a different denomination, for example, $10 bills. The above sorting operation is particularly suited for sorting bills in a stack wherein like denominated bills are grouped together. For example, it has been noticed that when customers make deposits at banks, the stacks of currency they give to the teller or otherwise deposit with the bank, e.g., night deposit box or automatic teller machine, tend to have bills grouped together by denomination. 
     The above sorting operation is particularly useful when employed with a currency discriminator having a single output receptacle. Nonetheless, the above sorting operation may be performed on multi-output receptacle discriminators as well, e.g., in a two output pocket discriminator wherein one pocket is dedicated to a specific purpose such as collecting suspect or unrecognized documents. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a perspective view of a currency scanning and counting machine embodying the present invention; 
     FIG. 2 is a functional block diagram of the currency scanning and counting machine of FIG. 1; and 
     FIG. 3 is a flow chaff illustrating the sequential procedure involved in a sorting operation according to an embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that it is not intended to limit the invention to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims. Referring now to FIGS. 1 and 2, there is shown an embodiment of a currency scanning and counting machine 10 that may employ a sorting mode according to the present invention. The machine 10 includes an input receptacle or bill accepting station 12 where stacks of currency bills that need to be identified and counted are positioned. Bills in the input receptacle are acted upon by a bill separating station 14 which functions to pick out or separate one bill at a time for being sequentially relayed by a bill transport mechanism 16 (FIG. 2), according to a precisely predetermined transport path, between a pair of scanheads 18a, 18b where the currency denomination of the bill is scanned and identified. In the embodiment depicted, each scanhead 18a, 18b is an optical scanhead that scans for characteristic information from a scanned bill 17 which is used to identify the denomination of the bill. The scanned bill 17 is then transported to an output receptacle or bill stacking station 20 where bills so processed are stacked for subsequent removal. As seen in FIG. 1, the output receptacle 20 comprises stacker wheels 212, 213. 
     The operation of the currency scanning and counting machine 10 of FIGS. 1 and 2 is described in more detail in co-pending U.S. patent application Ser. No. 08/340,031, filed on Nov. 14, 1994 and entitled &#34;Method and Apparatus for Discriminating and Counting Documents,&#34; which is incorporated herein by reference in its entirety. Other examples currency discrimination and processing devices which may be used in conjunction with the sorting method of the present invention are described in detail in U.S. Pat. No. 5,295,196 and co-pending U.S. patent application Ser. No. 08/433,920, filed on Mar. 7, 1995 and entitled &#34;Automatic Currency Processing System,&#34; both of which are incorporated herein by reference in their entirety. Such discrimination systems may process bills at speeds of the order of 800 to 1500 bills per minute, including speeds in excess of 800 and 1000 bills per minute according to various embodiments. 
     According to an embodiment of the present invention a number of selection elements associated with individual denominations are provided. In FIG. 1, these selection elements are in the form of keys or buttons of a keypad on a control panel 61. Other types of selection elements such as switches or displayed keys in a touch-screen environment may be employed. The control panel 61 comprises a keypad and a display section. The keypad comprises a plurality of keys including denomination selection elements associated with different currency denominations, e.g., $1, $2, $5, $10, $20, $50, and $100. The keypad 62 also comprises a continuation selection element and a mode selection element. Various information such as instructions, mode selection information, authentication and discrimination information, individual denomination counter values, and total batch counter value are communicated to the operator via a display such as a LCD. 
     FIG. 3 is a flow chart illustrating the sequential procedure involved in the performing a sorting operation according to an embodiment of the present invention. The operator of a currency discriminating device embodying a sorting method in accordance with the present invention selects a desired denomination to be off-sorted. A stack of currency to be processed is then placed in the input receptacle of the discriminator and the discriminator begins processing the bills. The discriminator determines the denomination of each bill in the stack. A bill whose denomination the discriminator is unable to determine to a requisite degree of certainty is termed a no call bill. The discriminator may also incorporate various authentication means. A bill failing one or more authentication tests is termed a suspect bill. 
     The procedure of FIG. 3 begins at subroutine step 100 and it is first determined whether the discriminator is expecting the current bill to be a bill having the desired or specified denomination (step 102). If the answer is no, processing proceeds to step 104 where it is determined whether the current bill is a bill of the desired denomination. If the answer is no, the value of the current bill is added to the total (step 106) and the subroutine is ended (step 108). If the answer is yes, the next bill is also expected to be a bill of the desired denomination and accordingly a flag bit is set indicating that the next bill is expected to be a bill of the desired denomination (step 110). Subsequently, a denomination change message is displayed (step 112) and a flag is set causing the discriminator to halt operation with the current bill being the last bill deposited in the output receptacle (step 114). A flag may be set to handle the processing of the first bill in the stack so that the discriminator will not halt if the first bill has the specified denomination. The denomination change message indicates why the discriminator has stopped operating and aids in distinguishing from other reasons why the discriminator may have stopped such as the detection of a no call or suspect bill. According to one embodiment, when the discriminator flags a bill, the bill immediately upstream of the flagged bill is scanned by the discriminator before the discriminator halts and the flagged bill is the last bill output to the output receptacle. The value of the current bill is added to the total (step 106) and the subroutine is ended (step 108). 
     Returning to step 102, if the current bill is expected to have the desired denomination, i.e., the preceding bill had the desired denomination, the subroutine branches to step 116 where it is determined whether the current bill indeed has the desired denomination. If the current does have the desired denomination, its value is added to the running total (step 106) and the subroutine ended (step 108). If at step 116 the current bill does not have the desired denomination, the expecting the desired denomination flag bit is reset (step 118), a denomination change message is displayed (step 112), and a flag is set causing the discriminator to halt operation with the current bill being the last bill deposited in the output receptacle (step 114). The value of the current bill is added to the total (step 106) and the subroutine is ended (step 108). 
     For example, assume the desired off-sort denomination is selected to be $20 bills and a stack of bills having the following denominations is inserted into the input receptacle of a discriminator possessing an embodiment of the sorting operating mode according to the present invention: $1, $1, $5, $5, $1, $20 , $20, $20, $20, $5, $5, $20, $20, $20. When the stack is placed in the input receptacle or hopper, the discriminating device may automatically start processing the bills or alternatively may require the selection of a start key. The currency discriminator processes the first six bills, discriminates their denomination, totals their values, and halts with the sixth bill, i.e., the first $20 bill, being the last bill in the output receptacle. Depending on the setup of the discriminator, the discriminator may halt after one or more bills upstream of the sixth bill are scanned but before they are output to the output receptacle. The operator then removes all six bills and separates the first five bills into one pile, e.g., pile A, and the sixth bill, namely, the $20 bill, into another pile, e.g., pile B. Depending on the setup of the currency discriminator, the discriminating device may continue to process the remaining bills automatically when the stack of six bills is removed or may continue processing the remaining bills when a continue element is selected. The discriminator then processes the next four bills, discriminates their denomination, adds their values to the running total, and halts with the tenth bill, i.e., the $5 bill, being the last bill output to the output receptacle. The operator may then remove all the bills from the output receptacle, placing the three $20 bills in pile B and the last $5 bill in pile A. The discriminator then processes the next two remaining bills, discriminates their denomination, adds their values to the running total, and halts with the twelfth bill, i.e., the $20 bill, being the last bill output to the output receptacle. The operation then continues to proceed in the manner described above. 
     In an alternative embodiment, instead of halting the device with the flagged bill being the last bill output to the output receptacle, the device may halt with the flagged bill being at an identifiable location, e.g., the second to last bill output to the output receptacle, and the display may indicate the location of the flagged bill, e.g., &#34;denomination changed with second to the last bill in the output bin.&#34;