METHOD OF AND DEVICE FOR DETECTING DISPLACEMENT OF PAPER SHEETS

Abstract: A displacement detection device which detects the dis­ placement of a paper sheet (13) in transit in a paper sheet sorter that picks up and transports the paper sheet (13) such as a bank-note. The displacement detection device includes photo sensors (17, 18) which detect the leading edge of the paper sheet (13) that is being transported, and a photo position detector (19) which detects the distance from the conveyor belt (10a, 10b) to the side edge of said paper sheet (13). Each of said photo sensors comprises a light emitter (17a, 18a) and a light receiver (17b, 18b) which are arranged on opposite sides of the paper sheet. The photo position detector (19) is placed on the downstream side in the con­ veyance direction of the photo sensors (17, 18), extending perpendicularly to the conveyance line, and comprises a light projector (21) and a light receiver (20) with linear form and equal length arranged symmetrically with respect to the paper sheet (13). Signals from the photo sensors (17, 18) and photo position detector (19) are processed by a microcom­ puter to determine the passing interval, the inclination, and the lateral shift of the paper sheet.

Description: The present invention relates to a method of and device for detecting displacement of paper sheets in transit by a device which transports the paper sheets and stacks them according to the classification of the sheets. In recent years, devices have been put into practical use which manage to sort out paper sheets such as bank-notes, checks, and stock certificates and stack them in prescribed numbers according to their classifications. Such a device, for example, a bank-notes sorter works as follows. When bank-notes are set in a supply unit of the machine, a picker thereof picks up bank-notes one by one from the supply unit and places it on a conveyor belt. During conveyance, the inspection unit of the machine examines prescribed items about the bank-notes as well as counts their number. At the terminus of the conveyor system, a classifying gate and a stacking device segregate the bank-notes according to the kinds and pile them up in prescribed numbers at the stacking unit, based on the results of the inspection and counting. In the bank-notes sorter described in the above, the final object is that the classification and stacking of the bank-notes is achieved - with high reliability by carrying out accurate inspection and counting at the inspection unit. Therefore, displacement (referred to as "card skew" hereinafter) or off-centering (referred to as "card shift" hereinafter) of the bank-note at the inspection unit is undesirable due to the fact that it tends to reduce the reliability of the device. Moreover, even if the displacement or shift of the bank-note was checked accurately at the inspection unit, the bank-note might still undergo a displacement subsequent to completion of inspection and counting before it reaches the classifying gate. In such a case, paper clogging at the classifying gate might appear, preventing the machine from achieving the precise piling-up of the bank-notes in spite of the accurate inspection and counting. In addition, in case the distance between the bank-notes in transit is not large enough, the speed of classification of the bank-notes at the classifying gate cannot follow the rate of accumulation of the notes there. This makes it impossible to have a precise piling-up of the bank-notes due to paper clogging and the like at the gate. Consequently, for precise inspection of the operation of the bank-notes sorter, a checking of the transporting distance, displacement, and shift of the notes is required with due consideration of their mutual relationship. A displacement detection device which is capable of performing such a check on operation of the bank-notes sorter is known which includes sensors which can detect the position of the edges of the paper sheets, as shown in Japanese Patent Publication No. 118605/1981 filed by the present applicant or DD-A-2 005 634. With this displacement detection device, an accurate displacement detection of the bank-notes on real time is performed while they are being transported. On the other hand, an attempt to apply the displacement detection device to the operation check of the bank-notes sorter faces the following difficulties. Namely, because the sensors for obtaining the information on the edges of the paper sheets are arranged along the same longitudinal direction as that of the conveyance of the paper sheets, the size of the displacement detector has to correspond to the length of the paper sheets, resulting in a large dimension of the structure. Because of this, for a conveyor system with complex mesh of belts, the displacement detector can be installed only at specially restricted spots so that the adjustment of the bank-notes sorter is usually time-consuming and its fine adjustement is often impossible. A sorting device in accordance with the preamble of claim 7 is known from EP-A-0 080 158 which operates on a different principle. A sorter is described which consists of a series of detectors placed laterally across the paper sheet feeding path. Each of the sensors is sampled sequentially and the width of the paper is determined from the outputs of the two outer sensors which overlap the edges of the paper sheet. Based on two measuring results carried out at two different times, the skew and misalignment of each sheet is determined. The two predetermined times are calculated from the time the leading edge of the paper sheet crosses a further sensor. At high speed, paper transfer errors can occur with this known apparatus due to the time lag in sampling the first and last detectors. An object of the present invention is to provide a displacement detection device for paper sheets moving at high speed, which allows to prove the reliability of processing and stacking functions of a conveyance and stacking device for paper sheets. Another object of the present invention is to provide a displacement detection device for paper sheets which allows a quick and precise check of the operation of a conveyance and stacking device for paper sheets. Another object of the present invention is to provide a smaller displacement detection device for paper sheets. Another object of the present invention is to provide a displacement detection device which allows to be set up easily at a desirable spot on a conveyance line of a conveyance and stacking device for paper sheets. Another object of the present invention is to provide a displacement detection for paper sheets which has an extremely high degree of manageability. Another object of the present invention is to provide a displacement detection device for paper sheets which allows to detect the positional irregularity of the paper sheets more precisely. Briefly described, these and other objects of the present invention are accomplished by the method according to claim 1 and by the provision of an improved displacement detection device characterized by said calculating means calculating the distance from the leading edge of said paper sheet for each corresponding distance between one side edge of said paper sheet and the reference line and calculating inclination and lateral shift of each paper sheet by linear regression of said distances. These and other objects, and advantages of the present invention will be more apparent from the following description of a preferred embodiment, taken in conjunction with the accompanying drawings, in which: Fig. 1 is a schematic side view of a bank notes sorter; Fig. 2 is a schematic perspective view of a displacement detection device embodying the present invention with the state of application to the bank notes sorter; Fig. 3 is a diagram illustrating the principle of detecting the paper sheets displacement in the displacement detection device shown in Fig. 2; Figs. 4A-4G are time charts showing the behaviour during detection of the paper sheets displacement; Fig. 5 is a diagram showing an example of a system which processes the detected signals from the displacement detection device shown in Fig. 2; Figs. 6A-6C are flow charts for microcomputer processing of the system illustrated in Fig. 5; Fig. 7 is a diagram showing an example of the output display of the current file for the card pitch; Fig. 8 is a diagram showing an example of the output display of the current file for the card skew; Fig. 9 is a diagram showing an example of the output display of the current file for the card shift; and Fig. 10A-10C are the other flow charts for microcomputer processing. Referring to Figure 1, there is shown the construction of a bank-notes sorter for employing a displacement detection device. The bank-notes sorter 1 includes a supply unit 3 in which bank-notes 2 are set, a picker 9 which picks up the bank-notes 2 one at a time from the supply unit 3 and places it on conveyor belts 4, an inspection unit 5 which performs prescribed inspections on the bank-notes 2 and count their number while they are in transit, and a classifying gate 6 and a stacking device 7 which classify the bank-notes 2 according to the kinds and stack them in prescribed numbers at stacking units 8 based on the results of the inspection and counting. Referring now to Fig. 2, a displacement detection device 14 embodying the present invention is provided mobile at a desirable location an a bank-notes conveyance line of the conveyor belts 4 of the bank-notes sorter 1. As shown in Fig. 2, the two pairs of conveyor belts 10a, 10b and 11a and 11b are constructed so as to run in caterpillar fashion in the direction indicated by the arrows A, guided by a roller 12, and a paper sheet 13 like a bank-note is transported in the direction of arrows A by being interposed in between the belts. The displacement detection device 14 is provided with a supporting shaft 15 and a base platform 16. The base platform 16 is unfixed so that the displacement detection device 14 is free to move. The displacement detection device 14 includes photo sensors 17 and 18 which detect the leading edge of the transported paper sheet 13, and a photo position detector 19 which detects the distance from the conveyor belts 10a and 10b to the side edge of the paper sheet 13. The photo sensors 17 and 18 are constructed with light emitters 17a and 18a and light receivers 17b and 18b, wherein the light emitters and light receivers are arranged on the opposite sides of the paper sheet 13. Namely, the detection of the leading edge of the paper sheet 13 is done by detecting the blockage of the light path from the light emitters 17a, 18a to the light receiver 17b, 18b. Therefore, by measuring the time interval between the signal changes at the beginning of light path blockage in the photo sensors 17 and 18, it is possible to determine the card pitch for the paper sheet 13 that will be described later. The photo position detector 19, is located on the downstream side of the conveyance line from the photo sensors 17 and 18, and is constructed with a line-shaped light projector 20 and a light receiver 21 of equal lengths arranged symmetrically relative to the sheet 13 and extending perpendicularly to the conveyance line. The light projector 20, for example, has a construction in which optical fibers with diameter of 0.25 mm are arranged parallel to form a rectangle of width 1 mm and length 30 mm, for projecting the light, transmitted from a light source which is not shown in the figure via a light transmission cable 23, to the light receiver 21 in the form of a line. The light receiver 21 comprises an image guide formed, for example, by arranging optical fibers of diameter 0.25 mm parallel in the shape of a rectangle with width 1 mm and length 30 mm, similar to the light projector 20, and the light received by each optical fiber is output via a light transmission cable 22. The ends an the same side of the light projector 20 and the light receiver 21 are arranged at sides of the conveyor belts 10a and 10b. In this way, the shadow, formed by the portion of the transported paper sheet 13 extending beyond the sides of the belts 10a and 10b by blocking the light from the light projector 20, is projected on the light receiver 21. Therefore, the bright and dark lights received by each optical fiber of the light receiver 21 are transmitted via each piece of the optical transmission cable 22. The transmitted light is input into a linear CCD image sensor via an imaging lens, which is not shown in the figure, and is then converted photo-electrically to be input into an operational processing unit which is described hereinafter. The principle of measuring the conveyance attitude of the paper sheet in transit (namely, the card skew and the card shift), by the use of the displacement detection device 14 of the above construction will now be described briefly. Referring to Figure 3, there is shown the state of the paper sheet 13 in transit in the direction of the arrow B with an inclination of α, being caught by the conveyor belts 10a, 10b and 11a, 11b. In the Fig. 3, a dotted line C is a central line of the conveyor belts 10, 11, a dotted line E is a central line of the photo position detector 19, and a dotted line F is the line joining the photosensors 17 and 18. The detection range of the light receiver 21 of the photo position detector 19 extends from the side edge H of the conveyor belt 10a to a point J, where the distance HJ corresponds to the length of the light receiving section of the light receiver 21. Further, in Fig. 3, the cross sections 17c and 18c of the light passages from the light emitters 17a and 18a to the light receivers 17b and 18b are illustrated, respectively. With the above arrangement, after a prescribed time t₁ following blockage detection of the light paths 17c and 18c of the photo sensors 17 and 18, signals detected by the light receiver 21 are taken out for six times, for example, at a prescribed interval t₂. For these six times of detection, the light receiver 21 outputs optical signals corresponding to the lengths (y₁ through y₆) of light from the light projector 20 which is not blocked by the portion of the paper sheet 13 in transit sticking out of the side edge of the conveyor belt 10a. Based on the signals corresponding to these lengths, the inclination α is determined by linear regression using, for example, the least squares method. With the inclination α, the maximum displacement h of the paper sheet 13 can be determined, and in turn the card skew and the card shift can be sensed from the value of h, as detailed hereinafter. The reason for employing the least squares method for calculating the inclination α is to obtain appropriate values by absorbing the effects due to possible warping in the conveyance direction of the paper sheet 13 which are being transported at a high speed. Here, the prescribed time interval t₁, between the time of blocking the light paths 17c and 18c of the optical detectors 17 and 18 by the paper sheet 13 and the time of starting sampling of signals from the light receiver 21, is given by the following expression. t₁= I+10 v Furthermore, the prescribed time interval t₂ with which continuous sampling of signals from the light receiver 21 is carried out subsequent to the start of sampling is given by the following expression. t₂= L-20 5v Here, I is the distance [mm] on the conveyance lineem between the photo sensors 17, 18 and the photo position detector 19, v is the speed [mm/s] of the conveyor belt 10, 11, and L is the length [mm] of the paper sheet 13. This means that the optical signals from the light receiver 21 are taken at five equally separated positions of the card except for the 10 mm from both ends of the paper sheet 13. Figures 4A-4G shown an example of time chart for the measurements explained above. Waveform shown in Fig. 4A represents the logical sum at the light receivers 17b and 18b of the photo sensors 17 and 18, waveform shown in Fig. 4B one-shot pulses which occur at the rise of the logical sum signal, waveform shown in Fig. 4C starting pulses which are generated with a delay of prescribed time t₁ after generation of one-shot pulses, and cause to start the supply of detected signals from the light receiver 21. Wave form shown in Fig. 4D timing pulses which start to be generated at the same time as the starting pulses and mark the timing of detection by the light receiver 21 generated at a prescribed time interval t₂ for as many times as the detection signal input for example six times, from the light receiver 21, and waveform shown in Fig. 4E data pulses which are generated at the same time as the generation of the timing pulses with pulse width larger than that of the timing pulses and mark the timing for inputting the detected signals at the light receiver 21 to the means that memorizes them or processes them for operation. Moreover, waveform shown in Fig. 4F represent a portion of the signal input timing pulses and waveform shown in Fig. 4G optical signals from the light receiver 21 which are converted photoelectrically by, for example, a line image sensor. Of the photoelectrically converted signals, the portion of the light receiving range W (corresponding to the distance HJ of Fig. 3) of the image sensor corresponds to the optical signals that are output by the optical fibers of the light receiver 21 that are not screened by the paper sheet 13. That is, counting of the number of pulses with attention to their image magnification makes it possible to detect the length (y₁ through y₆). These data become of use in determining the lateral shift (the card shift) of the transported paper sheet 13 relative to the conveyor belt 10, 11. Next, referring to Fig. 5, an example of system operation in determining the card pitch, the card skew, and the card shift of the paper sheet by means of the displacement detection device 14 of the above construction is not described hereinafter. In the present example, the measurement and processing of data are handled by microcomputers. First, the construction of the system will be explained briefly. Referring to Fig. 5, the displacement detection device 14 arranged on the conveyance line 29 of the paper sheet 13 is connected to a processing device 30. The processing device 30 includes a microcomputer 31 which calculates the conveyance interval (the card pitch), the inclination (the card skew), and the slip (the card shift) of the paper sheet 13, and a signal processing unit 32 which drives and controls the displacement detection device 14 and also outputs precisely the results of detection by the displacement detection device 14 into the microcomputer 31. The microcomputer 31 includes of a central processing unit (CPU) 33, a memory device 34, a keyboard 35, and an interface 36, and processes the detected results by the displacement detection device 14 according to the processing schedule that is explained later. In addition, as outside peripheral apparatus, an indicator 37, a printer 38, and a floppy disk 39 are connected to the microcomputer. The signal processing unit 32 includes a driver unit 40, a data memory unit 41, an interface 42, and a pitch driver unit 43. The driver unit 40 is connected to the light projector 20 and the light receiver 21 which constitute the optical position detector 19 of the displacement detection device 14, for controlling the photo position detector 19 and converting the optical signals from the light receiver 21 into electric signals. These signals feed to the data memory unit 41 for memorizing them therein. To achieve these functions, the driver unit 40 includes a CCD line image sensor which converts the optical signals from the light receiver 20 into electric signals and an imaging lens which forms images with optical signals from the light receiver 20 on the image sensor. The imaging lens is arranged so as to have images from the light receiver 20 on the image sensor, reduced to 1/2 of the actual size. By employing 1024 picture elements, where one picture element has the size of 15 µm square, as the image sensor, the measurement range of the image sensor becomes 30.72 mm (1024×15 µm×2) so that it can accept the whole of the images from the line region (a length of 30 mm) of the optical fiber arrangement of the light receiver 20. In more detail, the driver unit 40 is supplied beforehand with the information about the prescribed times t₁ and t₂ of Fig. 4 by the microcomputer 31. When signals as shown in Fig. 4B are input from the pitch driver unit 43, the driver unit 40 generates signals as shown in Figs. 4C through E and receives the signals from the light receiver 21 through the help of the signal timing to convert them photoelectrically by the image sensor. Therefore the photoelectrically converted signals shown in Fig. 4G are counted by the counter and the results are memorized by the data memory unit 41. The pitch driver unit 43 are connected with the light emitters 17a, 18b and the light receivers 17b, 18b, which constitute the photo sensors 17 and 18 of the displacement detecting device 14, so as to control the operation of the optical detectors and output the signals from the light receivers 17b and 18b with appropriate timing after reading them out. In more detail, upon receipt of signals as shown in Fig. 4A from the light receivers 17b and 18b the pitch driver unit 43 generates signals as shown in Fig. 4B and outputs them to the driver unit 40. The interface 42 reads out one by one the data stored in the data memory unit 41 and outputs them to the microcomputer 31. Now, the operation of the system is described hereinafter by referring to Figs. 6A-6C which illustrate the processing flow charts for CPU 33 of the microcomputer 31. At the start of measurements, CPU 33 processes the steps 400 through 490 as the initial setup. Namely, by being input a date of measurement, prescribed comments, and a length of a paper sheet to be measured through the keyboard 35 by the key operation of the operator, CPU 33 sets up the distance from the leading edge of the paper sheet to the photo position detector 19 in the conveyance direction (steps 400 through 430). Further, upon being input the picking rate of the paper sheet, the allowable value of the card pitch, the allowable value of the card skew, the allowable value of the card shift, the speed of the conveyor belts, and the conveyance distance between the photo sensors 17, 17 and the photo position detector 19, CPU 33 sets up the times (t₁ and t₂ in Fig. 4C and 4D) required for continuous samplings for six times of the output from the light receiver 21 (steps 440 through 490). The times (t₁ and t₂) set up in step 490 is then output to the driver unit 40 of the signal processing unit 32. Moreover, according to the present invention, the two kinds of sensors 17, 18 and 19 are formed into a single unit so that the input operation for the conveyance distance may be omitted if it is stored beforehand as a memory data. An example of the data to be input far steps 410 through 480 is as follows. When the initial set-up described in the above is completed, upon input of the prescribed signal for start of measurements from the keyboard 35 based on the key operation by the operator, CPU 33 proceeds to step 510 to begin the measurements and processings of the card pitch and the card skew. Furthermore, at the time of key operation for measurement start by the operator, it is assumed that the placing of the paper sheet on the card platform or the supply unit and the input of the data for the picking rate of the paper sheets have already been set up (steps 80 and 81). Also, following the key operation by the operator for start of measurements, a series of processings about the paper sheets 13, from picking up of the paper sheet, transporting and processing them on the conveyance line, to stacking them up at a prescribed stacking site or the stacking unit is started (steps 82 through 84). Proceeding to step 510, based on the signal corresponding to the presence or absence of the paper sheets 13 supplied by the photo sensors 17 and 18 of the displacement detection device 14 via the pitch driver unit 43, CPU 33 counts the number of the paper sheets 13 which passed through the sensors 17 and 18 to output the result to the indicator 37, and also memorizes the card pitch as the time required for transporting over the distance between the consecutive pieces of the paper sheets 13 (steps 510 through 540). On the other hand, based on the prescribed times (t₁, t₂) supplying to CPU 33 from the driver unit 40, CPU 33 reads via the interface 41 the results (y₁ through y₆) which have been detected by the six times of sampling of the light receiver 21 and have been stored in the data memory unit 41 (step 520). Based on the data read in (y₁ through y₆), CPU 33 performs linear degression by the least squares method to determine the card skew and the card shift of the paper sheets 13 (step 530). Moreover, using the memory, though not shown in the figure, for each of the card pitch, the card skew, and the card shift which has an address assigned in advance for each prescribed increment of the value, CPU 33 reads out the memorized value for each of the card pitch, the card skew, and the card shift, and increases the content of the address corresponding to the size of the value for each of the card pitch, the card skew, and the card shift as determined by the steps 510 through 540. Thus, by using the content for each memory address, it is possible to obtain a current file of bar graph type, as shown in Fig. 7 for the card pitch, Fig. 8 for the card skew, and Fig. 9 for the card shift. In more detail, the processing is done as follows. For the card pitch, a bar graph as shown in Fig. 7 is obtained for the frequency distribution of the conveyance pitch as classified for an increment of 0.5 m sec, based on the conveyance time for the distance. From the bar graph of the frequency distribution of the conveyance pitch, it can be seen that the card pitch of the conveyance system for the paper sheets is between 199.5 m sec and 200.0 m sec. By representing the displacement of the paper sheet at the i-th data as y i , and the corresponding distance of the leading edge of the paper sheet as x i , the inclination α of the paper sheet is given by the least squares method as follows. Here, n represents the number of measurements (=6). The maximum displacement h (see Fig. 3) corresponding to the inclination α is given by h=α·L where L is the length [mm] of the paper sheet. This means that the maximum displacement h of the paper sheet is calculated as a skew quantity relative to the reference line Z by taking the displacement of the side edge line of the paper stuff to be positive as in Fig. 3. A bar graph showing the occurrence frequency of the card skew classified for each interval of 0.2 mm within the measurement range of ±15 mm, as determined based on the maximum displacement h, is given by Fig. 8. An inspection of the graph shows that the card skew (the maximum displacement h) tends to occur with values between 0.8 mm and 1.6 mm with the side edge line of the paper sheet to be obtained by rotating the reference line Z in clockwise. The card shift is processed as follows. The distance Y₀ from the limiting measurement line JJ of the line image sensor to an edge of the paper sheet is determined from the inclination of the paper sheet detected by the data processings described as above, by the following. Next, the distance Y₂ from the limiting measurement line JJ to the central position of the paper sheet is given by the following: Y₂= 2·Y₀+h 2 By setting up the line away from at a distance Y₀ and parallel to the limiting measurement line JJ (namely, the line Z in Fig. 3) as reference and by defining the central position of the paper sheet to be negative when it is to the side of the line JJ relative to the reference line Z, the amount of shift is calculated from the above two equations as the variation of the central position of the paper sheet relative to the reference line 2. Based on this displacement, the bar graph for the distribution of occurrence frequency of the card shift for intervals of 0.2 mm is obtained as shown in Fig. 9. From the graph, it can be observed that the card shift tends to occur at a magnitude between 0.2 mm and 0.4 mm with shift on the opposite side of the limiting measurement line JJ with respect to the reference line Z. In step 550, determination is made about whether there exists a prescribed key operation which means, by the signal from the keyboard 35, the completion of the measurements. In case the result of the determination indicates no key operation, that is, there still remains some paper sheet to be measured, the processing goes back to step 510 and repeat the processings for steps 510 through 540. On the contrary, when there was the key operation, that is, when all of the paper sheet to be measured had been transported, the processing proceeds to step 570 and carry out prescribed statistical processings, based on the data memorized in steps 530 and 540. Proceeding to step 570, CPU 33 calculates, using the content of the current files for the card pitch and the like explained earlier, frequencies that correspond to the ranges of the allowed values at the time of initial set up about the card pitch, card skew, and card shift (step 570). In addition, CPU 33 adds the memory content for each of the current files to the memories of the total file for the card pitch, card skew, and card shift (step 580). The operational processings relating to the card pitch, the card skew, and the card shift are now complete as described in the above, and the steps beyond 590 are those processings related to output and display of the results of the operational processings. In step 590, CPU 33 distinguishes the signals from the keyboard, due to operation by the operator, of the numerical keys "0" through "3". And, except for the case where "0" was operated, it proceeds to step 630 to output signals for either one of the card pitch, the card skew, and the card shift. When "0" is operated, proceeds to step 600, CPU 33 distinguishes whether there exists a demand for initializing the total file by examining the signal from the keyboard 35. When no such demand is found, the current file alone is initialized (step 620), and the processing goes back to step 500 to continuously carry out the measurements and operational processings relating to the card pitch and the card skew of the paper sheet at the same location on the conveyance line 29, and awaits for the arrival of the command for start of the measurements. On the contrary, if there was a demand, after initializing the current file and the total file (step 610), the processing goes back to step 410 and starts to take measurements anew. Namely, it takes measurements by changing the condition set-up or takes measurements at a different location on the conveyance line 29 by moving the displacement detection device 14. Proceeding to step 630, CPU 33 distinguishes the operation of the numerical keys "0" through "6" by the operator. As a result, the processing goes back to step 590 if "0" is designated, but proceeds to either one of steps 640, 650, or 710 to output or display the result of operation if either one of "1" through "6" is operated. If the numerical keys "1" and "4" are operated, CPU 33 outputs the current file map and the total file map, respectively, to the indicator 37 (step 640). If the numerical keys "2" and "5" are operated, CPU 33 outputs the bar graphs for the current file and the total file, respectively, to the indicator 37 (step 650). When the map or the bar graph is output for display, CPU 33 finds itself in the state of waiting for arrival of a signal from the keyboard 35, and carries out processings for step 290 and beyond depending upon the operation of the key. Namely, if the key "S" is operated, CPU 33 lets the floppy disk 39 memorize the content of the displayed output (steps 660 and 670), and if the key "C" is operated, the content of the displayed output is sent to the printer 38 (steps 680 and 690). The state of waiting for an input is continued until the key "S", "C", or "ESC" is operated (step 700), and when one of these keys is operated, the processing goes back to step 590 to carry out display output and the like. Furthermore, when the numerical key '3' or '6' is operated in step 630, CPU 33 proceeds to step 710 to calculate the standard deviation for the card pitch based on the current file or the total file after receiving an input as the range of the card pitch. Accordingly, if the above system is applied to the operation check for the bank-notes sorter, it is possible to precise and quick check the operation of the bank-notes sorter, by moving the displacement detection device 14 to a desirable location on the conveyance line of the bank-notes sorter and by displaying the displacement situation of the bank-notes as bar graphs and the like at that location. Figures 10A-10C illustrate another flow chart for CPU 33 of the microcomputer 31. This flow chart corresponds to the case where the processings for the card pitch alone is done when the state of picking the paper sheet is desired. At the start of the measurements, the date of measurements, prescribed comments, picking rate of the paper sheet, and allowable value of the card pitch are input to CPU 33 as the initial set-up by the key operation by the operator via the keyboard 35 (steps 820 through 850). Upon receipt from the keyboard 35 of a prescribed signal based on the key operation by the operator which indicates the start of the measurements, CPU 33 proceeds to step 870 to start measurements and processings for the card pitch (step 860). Here, it is assumed that the paper sheet has already been set on the card platform (not shown) and the picking rate of the paper sheet has also been set up (steps 80 and 81). Furthermore, when the key operation by the operator for starting the measurements is completed, a series of processings for the paper sheet, namely the picking up of the paper stuff, through transporting them on the conveyance line and carrying out the required processings, to stacking them at a prescribed site (not shown) according to the classifications is started (steps 82 through 84). Proceeding to step 870, based on the output signal corresponding to the presence or absence of the paper sheet which is found in transit by the photo sensors 17 and 18 of the displacement detection device 14 and is supplied via the pitch driver unit 43, CPU 33 counts the number of the paper sheet 13 which is passed through the photo sensor 17 and 18 and outputs the result to the indicator 37 and also memorizes the card pitch as the time required for transporting the paper sheet over the distance between two pieces of the paper sheet (steps 870 and 880). In addition, using the memory, though not shown, to which an address is assigned according to each size of the prescribed constant range of the card pitch value, CPU 33 reads out one by one the previously memorized values of the card pitch and, increases in step the content for the address corresponding to the size of the card pitch. Therefore, by examining the contents for each address of the memory, it is possible to find out the occurrence frequency of the card pitch at the time when the paper sheet 13 is passed by the photo sensors 17 and 18. Accordingly, by utilizing the content of the memory, it is possible, for example, to draw a bar graph type current file, as shown in Fig. 7, which gives the change in the frequency of the card pitch. In step 890, CPU 33 distinguishes whether or not there is a prescribed key operation which indicates the completion of the measurements by the signal from the keyboard 35. If it is decided that no key operation was given, that is, there still remains some paper sheet to be measured, then the processing goes back to step 870 to carry out the processings for steps 870 and 880 explained earlier. If on the contrary, there is a key operation, that is, when all the paper sheets were transported completely, CPU 33 proceeds to step 900 to execute the statistical processing relating to the card pitch, based on the data memorized in step 880. Using the content of the memory for the current file of the card pitch described earlier, CPU 33 calculates the number of the paper sheets which have passed through the photo sensors 17 and 18 with values of card pitch within the allowable range that was supplied in step 850 of the initial set up (step 900). Further, CPU 33 adds the content of the memory for the current file to the memory for the total file relating to the card pitch of the paper stuff (step 910). With the foregoing, the operational processings relating to the card pitch of the paper sheet 13 are complete so that step 940 and beyond are processings relating to the output and display of the results of these operational processings. Upon distinguishing the signal from the keyboard 35 due to operation of the numerical keys "0" through "6" by the operator, CPU 33 proceeds to one of steps 950, 970, 980, and 1040 to output or display the results of the processings. When it proceeds to step 950 through operation of the numerical key "0", CPU 33 judges, after distinguishing the signal from the keyboard 35, whether or not there exists a demand for initialization of the total file. If there is a demand, following the initialization (step 960), the processing goes back to step 830 in order to carry out measurements and operational processings anew, that is, to take measurements by changing set-up conditions or by selecting another location on the conveyance line 29, namely by moving the displacement detection device 14. If there was no demand, the processing goes back to step 860 to execute measurements and operational processings at the same location on the conveyance line 29 to await the input of a command for start of the measurements. On the other hand, if the numerical key "1" (or "4") is operated, CPU 33 outputs the current file map (or the total file map) to the indicator 37 (step 970). Further, if the numerical key "2" (or "5") is operated, then CPU 33 outputs the bar graph for the current file (or the total file) to the indicator 37 (step 980). The explanation for the steps 990 through 1040 will be omitted since it is the same as for the steps 660 through 710 described earlier. In summary, the displacement detection device according to the present invention is so arranged as to start measurements for a card skew by measuring beforehand the time for paper sheets to arrive from a pitch sensor to a image sensor, and to detect the card skew on a conveyance line of a conveyance and stacking device by sampling the information on the edge of the paper sheet at one of the side edges of the conveyance line. Therefore, it is possible to make the size in the conveyance direction of the paper state detection device small, enabling the sensing of fine states over the entirety of the conveyance line. Moreover, the state information on the three of the card pitch, the card skew, and the card shift can be measured with two sensors, and also, it is possible to measure, on real time basis, the paper sheet which is moving continuously following the actual motion of the conveyance and stacking device to display the state of the device at that time. Furthermore, by employing the displacement detection device whose detector part is small in size, it is possible to provide a detection apparatus with an excellent operationability such that an inspection of any desired location on the conveyance line can be carried out. Accordingly, by employing a displacement detection device of this invention, it is possible to make a quick and precise check on the operation of a device for transporting, sorting, and stacking of the paper sheet, improving the reliability for handling and stacking functions of the device.

Claims: A displacement detection method for detecting displacement of paper sheets (13) in transit, comprising the steps of: (a) detecting a part of the leading edge of each paper sheet at a predetermined location along a conveyance line of conveyance belts for conveying the paper sheets (13), (b) detecting at several times, at a second predetermined location downstream of the first location and along the line of conveyance, the distances (Y i ) between only one side edge of the paper sheet (13) and a reference line (JJ) set up along the conveyance line after elapse of the time taken for the part of the leading edge of said paper sheet to reach the said second predetermined location following the detection of the part of the leading edge of each paper sheet, (c) detecting the transportation time interval between the detected part of the leading edge of each paper sheet (13) and the detected part of the leading edge of the next, (d) calculating the distances (X i ) from the leading edge of the paper sheet (13) for each corresponding distance (Y i ) between one side edge of the paper sheet (13) and the reference line (JJ); (e) calculating an inclination (α), and lateral shift (Y₀,Y₂) of each paper sheet in transit by linear regression of the distances (X i ) from the leading edge of the paper sheet (13) and the distances (Y i ) between one side edge of the paper (13) and the reference line (JJ). The displacement detection method as claimed in claim 1, wherein said leading edge detecting step includes utilizing a sensing means, said distance detecting step includes utilizing a displacement detection means and said distance detecting is carried out at a plurality of time intervals (t₂). The displacement detection method as claimed in claim 2, wherein said plurality of time intervals is five. The displacement detection method as claimed in claim 2, wherein the detecting steps are carried art starting at a predetermined time t₁ and at the following time intervals t₂ in accordance with the following equations; t₁ = ℓ + 10 V t₂ = L - 20 5V where ℓ = the distance in mm between the sensing means and the displacement detection means, L = the length of the paper sheet in mm, and V = the feeding speed of the conveyance belts in mm/sec The displacement detection method as claimed in claim 1, wherein the step of calculating the inclination (α) of the paper sheet in question is in accordance with the following equation: where y i = the distance between one side of the paper sheet and the reference line (JJ) at the i-th sampling, x i = the distance from the leading edge of the paper sheet in question, at the i-th sampling, n = the number of samplings or measurements. The displacement detection method as claimed in claim 5, wherein the step of calculating the lateral shift (Y₀,Y₂) of the paper sheet in question is carried out in accordance with the following equations: where Y₀ = the distance from the reference line defined by the measuring end of said displacement detecting means to the leading corner of one side edge of the paper sheet to be measured, Y₂ = the distance between the reference line defined by said measuring end of said displacement detecting means and the centerline between the leading and trailing edges of said paper sheet to be measured, h = the maximum displacement defined by α x L, and L = the length of the paper sheet. A displacement detection device (14) for detecting the displacement of paper sheets (13) in transit in a conveyance device by the method of claim 1 having: sensing means (17,18) for sensing a part of the leading edge of the paper sheet (13) in question, displacement detection means (19) provided downstream of said sensing means (17,18) for detecting at several times the distance (Y i ) between a side edge of the paper sheet (13) and a reference line (JJ) which is set up along the conveyance line of the paper sheet (13) the positions of said displacement detecting means (19) and said sensing means (17,18) being spaced by a predetermined length (1) along the conveyance line of the conveyance device and calculating means for calculating the lateral shift (Y₀,Y₂) and the inclination (α) of the paper sheets (13) in transit after elapse of the time which is required for the part of the leading edge of the paper sheets (13) to pass from said sensing means (17,18) to said displacement detection means (19) and is determined based on the predetermined length and the speed of conveyance, said displacement detection means (19) having a single detection portion ranging from one edge of said conveyor to a predetermined distance, the range of detection including only one side edge of said paper sheet (13) characterized by said calculating means calculating the distance (X i ) from the leading edge of said paper sheet (13) for each corresponding distance (Y i ) between one side edge of said paper sheet (13) and the reference line (JJ) and calculating inclination (α) and lateral shift (Y₀,Y₂) of each paper sheet (13) by linear regression of said distances (X i ,Y i ). The displacement detection device as claimed in claim 7, wherein the calculating means calculate the distance (Y₀) between the reference line defined by one measuring end of said displacement detection means (19) and one corner of one side edge of a paper sheet (13) and the distance (Y₂) between the reference line and the centerline of the paper sheet (13) between the leading and trailing edges of the paper sheet (13) according to the following equations: h = the maximum displacement defined by α x L, and L = the length of the paper sheet. A displacement detection device as claimed in claim 8, characterized in that said displacement detection means (19) comprises a photo sensor (20,21) arranged so as to extend perpendicularly to the conveyance line. A displacement detection device as claimed in claim 9, characterized in that said photo sensor includes a light projector (21) and a light receiver (20) of linear form arranged symmetrically relative to the paper sheet (13) being transported. A displacement detection device as claimed in any one of claims 7 to 10 characterized in that said paper sheet sensing means comprises a photo sensor (17,19) which detects the leading edge of the paper sheet (13) being transported. A displacement detection device as claimed in any one of claims 7 to 11 characterized by a supporting member (15) which supports the paper sheet sensing means (17,18) and displacement detection means (19) as a single body (14); and an unfixed base platform (16) which supports the supporting member (15). A displacement detection device as claimed in any one of claims 7 to 12, characterized by a signal processing unit (32) which is connected to said paper sheet sensing means (17,18) and displacement detection means (19) for driving said paper sheet sensing means (17,18) and displacement detection means (19) and outputting the detection resulting; and a microcomputer (31) which is connected to said signal processing unit (32) for calculating a paper transportation time interval, the inclination (α), and the lateral shift of the paper sheet in transit by receiving the detection results from the signal processing unit. A displacement detection device for a conveyance device as claimed in claim 13, characterized in that said signal processing unit (32) includes a driver unit (40), a data memory unit (41), an interface (42), and a pitch driver unit (43). A conveyance device for picking up and transporting paper sheets characterized by a displacement detection device according to any one of claims 7 to 14.

Inventors: WATANABE, TOSHIYUKI, YAMADA, NOBORU
Applicants: KABUSHIKI KAISHA TOSHIBA
Application year: 1984
Main classification: B65H9
IPC codes: G07D9, B65H7, B65H9