The present application claims priority from Japanese application JP2006-154863 filed on Jun. 2, 2006, the content of which is hereby incorporated by reference into this application.
The present invention relates to a paper sheet identifying and checking apparatus for identifying a paper sheet, for example, a paper money (banknote) or a bill conveyed thereto, and in particular, to a paper sheet identifying and checking apparatus for producing image data of a paper sheet by use of an optical line sensor and identifying a kind and truth or falsehood of the paper sheet on the basis of the image data.
Heretofore, the bill identifying and checking device of the prior art includes an optical sensor to detect a position of a passage of a paper sheet and gradient or inclination thereof relative to a direction to convey the paper sheet. The bill identifying and checking device detects the position of the passage of the paper sheet on the basis of timing of a change in an output from the optical sensor and detects the gradient of the paper sheet on the basis of a difference in time between changes in outputs from sensor elements that is generated due to the gradient of the paper sheet.
JP-A-8-212417 describes a device conducting the detection in which an optical line sensor almost entirely covering the width of the conveying path is installed in a direction vertical to the conveying direction in which a paper sheet is conveyed in the conveying path. The device includes a rotary encoder to generate a conveyance pulse at a fixed period each time the paper sheet is slightly conveyed, a frame memory to binarize the output from the optical line sensor at timing synchronized with the conveyance pulse and to store therein the binary value resultant from the binarization, and an image processing module to digitalize the data stored in the frame memory. In the device, the conveying path is scanned in a direction perpendicular to the conveyance direction at timing synchronized with the conveyance pulse to thereby store a two-dimensional binary image of the paper sheet in the frame memory. For example, if the optical line sensor includes optical elements at a pitch or interval of one millimeter (mm) and the rotary encoder generates one pulse each time the paper sheet is conveyed one millimeter, there is obtained a binary image having a contour of a 1 mm by 1 mm square. The device execute image processing for the binary image to resultantly calculate the position and the gradient of each edge of the paper sheet.
However, in the device of this type, if the gradient of the paper sheet being conveyed is almost zero, precision in the detection of the position and the gradient of the paper sheet is lowered due to influence of a quantization error. For example, in a situation wherein the conveyance pulse has a period of one millimeter, if the gradient of the paper sheet is less than one millimeter, the edges of the paper sheet are seen as if there is no gradient in the obtained image relative to the direction vertical to the conveying direction. In this case, there is obtained one and the same result regardless of the position of the paper sheet between the conveyance pulses, leading to a maximum error of 0.5 mm.
Particularly, in the bill identifying and checking device to identify a bill, it is quite important to detect the slight difference between a true or authorized bill and the false or counterfeit bill without fail. Therefore, it is desirable to possibly prevent the deterioration in the identifying performance due to the error described above.
To improve the identifying performance, there may be employed a method in which the scanning frequency is increased by shortening the period of conveyance pulses. In this method, the detection precision is improved in the conveying direction regardless of the magnitude of the gradient of the paper sheet; moreover, the detection precision is also improved when the gradient is almost zero. For example, when a rotary encoder having a conveyance pulse period of 0.5 mm is used, the detection precision in the conveying direction is twice that when a rotary encoder having a conveyance pulse period of 1 mm is used. However, as compared with the case using a rotary encoder having a conveyance pulse period of 1 mm, there are required a higher-speed optical line sensor, a larger-capacity frame memory, and a higher-performance image processing module. Therefore, the cost of the bill identifying and checking device soars.
It is therefore an object of the present invention to provide a paper sheet identifying and checking apparatus wherein even when the gradient of the paper sheet relative to the direction vertical to the conveyance direction is almost zero, the gradient of the paper sheet can be detected with precision less than the period of conveyance pulses while keeping the cost of the device unchanged.
According to an aspect of the present invention, there is provided a paper sheet identifying and checking apparatus including a conveying path for conveying a paper sheet, a line sensor including a plurality of sensor elements arranged on the conveying path in a string in a conveying width direction indicating a direction of width of the conveying path, and an identifying module for identifying the paper sheet on the basis of image data produced by the line sensor by reading the paper sheet. The direction of arranging the sensor elements is inclined with respect to the conveying width direction of the conveying path.
Other objects, features and advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.
Referring now to the drawings, description will be given of an embodiment of the present invention.
The embodiment relates to a bill identifying and checking apparatus for conveying a bill as a paper sheet and identifying the bill. “Identifying the bill” indicates to determine the kind of bill, for example, a new thousand-yen bill, an old thousand-yen bill, or a two-thousand-yen bill in Japan and to determine whether the bill is an authorized bill or a counterfeit bill. The term “bill” implies the authorized and counterfeit bills. The bill identifying and checking apparatus is incorporated in, for example, an Automatic Teller's Machine (ATM) of a financial section of a bank to identify bills.
First, an outline of the bill identifying and checking apparatus will be described by referring to the perspective view of the bill identifying and checking apparatus 1 shown in
The bill identifying and checking apparatus 1 includes an upper unit 2 and a lower unit 4 installed respectively on the upper and lower sides of a conveying path 3. On an upper surface of the lower unit 4, a light projector section 23a of an optical line sensor 23 is arranged to almost entirely cover the width of a conveying width L, the projector section 23a being inclined by an angle of θ from the conveying direction (the vertical direction in
The conveyance width direction indicates a direction vertical to the conveying direction. By inclining the line sensor 23 by an angle of θ relative to the conveyance width direction, it is possible that the bill passes the line sensor 23 in an inclined state in which the bill is inclined with respect to the line sensor 23.
On the upper surface of the lower unit 4, a plurality of conveying rollers 22 are disposed to convey the bill and various sensors 21 other than the line sensor 23. On a lower surface of the upper unit 2, there is disposed a light receiver section, not shown, of the optical line sensor 23 to oppose the projector section 23a in the vertical direction. Therefore, like the projector section 23a, the light receiver section is also disposed in an inclined state with an angle of θ as described above.
The conveying path is a path in which the bill 6 is conveyed in a direction indicated by an arrow A.
The lower unit 4 is connected to various devices arranged in the ATM.
A gear 5 links a motor in the ATM with the conveying rollers 22 of the bill identifying and checking apparatus 1 to rotate the rollers 22 by driving force of the motor.
Various sensors 21 input and output signals such as waveforms according to purposes thereof.
The rollers 22 are rollers which rotate the bill 6 sandwiched therebetween. The rollers 22 are linked via the gear 5 with the motor of the ATM to convey the bill 6 at a fixed conveying speed.
The optical line sensor 23 reads an image of an optical pattern.
The bill identifying and checking apparatus 1 includes conveying rollers 22, a rotary encoder 31, an optical line sensor 23, an optical line sensor driver 32, a frame memory 33, an image processing module 34 to process images, and an identifying module 35 to identify a bill.
The conveying rollers 22 are disposed to convey the bill 6 sandwiched therebetween in the conveying direction. Four axes are disposed in the direction vertical to the conveying direction indicated by an arrow and four rollers are attached to each axis. Each conveying roller 22 is linked via the gear 5 with the motor of the ATM to convey the bill 6 at a fixed conveying speed.
The rotary encoder 31 is attached to one of the rotary axes of the conveying rollers 22 or to one of the conveying rollers 22 to generate a conveyance pulse at a fixed period each time the bill 6 is slightly conveyed.
The optical line sensor 23 includes a plurality of light projector elements arranged on the light projector section 23a in a line with an equal interval therebetween and a light receiver element array including a plurality of light sensor elements on the light receiver section in a string or line with an equal interval therebetween. The light projector elements and the light receiver element array are disposed with the conveying path 3 therebetween in a symmetric way along the vertical direction. The light projector section 23a and the light receiver section are disposed with an inclination angle of θ relative to the direction vertical to the conveying direction, while they are substantially in parallel with each other in a plane including the light projector section 23a and the light receiver section. The line sensor 23 thus configured covers almost the entire width of the conveying path 3 and hence serves a function to capture a one-dimensional image of the conveying path through one image sensing operation. In general, the line sensor 23 is arranged in a direction vertical to the conveying direction. However, according to the present invention, the line sensor 23 is inclined by the inclination angle θ. The angle θ is larger than a skew allowance angle indicating allowance for the skew or inclination of the bill 6 conveyed through the conveying path 3.
The optical line sensor driver 32 has a function to binarize the output from the line sensor 23 at timing synchronized with the conveyance pulse of the rotary encoder 31 and to write the binary data in the frame memory 33. The driver 32 sequentially writes the one-dimensional binary data in the frame memory 33 to resultantly produces a two-dimensional binary image therein. The binary image is image data of an optical pattern of substantially the overall surface of the bill.
The frame memory 33 has a function to hold therein the two-dimensional binary image of the bill for a fixed period of time. The frame memory 33 keeps the binary image stored therein while the image processing module 342 executes its processing.
The image processing module 34 has a function to read the binary image of the bill from the frame memory 33 to calculate (estimate) a position and a gradient (angle of inclination) of each edge of the bill. To calculate the gradient of the bill, the processing module 34 serves as a gradient calculation unit. To calculate the position of the edge of the bill, the processing module 34 serves as an outer contour detecting unit. The positions and gradients of four edges of the bill calculated by the processing module 34 are fed to the identifying module 35 disposed in a subsequent to the processing module 34.
Based on the positions and gradients of four edges of the bill, the identifying module 35 determines the kind of the bill 6 and whether the bill 6 is an authorized bill or a counterfeit bill to thereby identify the bill 6.
To determine positions of the edges of the bill, the bill identifying and checking apparatus 1 thus constructed conducts operation as below.
First, when the motor of the ATM, not shown, rotates the conveying rollers 22, the rollers 22 convey the bill 6. The rotary encoder 31 attached to one of the axes of the conveying rollers 22 generates conveyance pulses. At timing of the conveyance pulses, the line sensor driver 32 binarizes the output from the line sensor 23 to produce binary data and then writes the binary data in the frame memory 33. The one-dimensional binary data is sequentially written in the frame memory 33. As a result, a two-dimensional binary image B (image data) of the bill 6 is generated in the frame memory 33 as shown in the explanatory diagram of image data of
The image processing module 34 reads the binary image B of the bill 6 from the frame memory 33 to calculate the positions of four edges of the bill. Assume in the calculation that the physical coordinate value in the conveyance direction is represented by Y′ and that in the conveying width direction vertical to the conveyance direction is represented by X′. For a straight line y′=ax′+b in the space of coordinates (X′,Y′), coefficients a and b are obtained for the four edges of the bill 6. Specifically, from the binary data items obtained for each edge, the system selects the outer-most string of points and then replaces the string of points by data items in the space of coordinates (X′,Y′). The values of the coefficients a and b are obtained by applying the method of least squares to the data items. As above, the analog data is converted into digital data, and then an appropriate calculation is conducted by use of the digital data to thereby obtain the positions of the edges of the bill.
On the other hand, since the line sensor 23 is inclined as described above, the binary image B in the frame memory 33 appears as a correct rectangle on an image inclined by an angle of θ as shown in
The unit can also be converted by multiplying the right side of expression (1) by “unit of physical coordinates/unit of frame memory coordinates”.
Next, description will be given of a relationship between the bill identifying and checking operation by the identifying module 35 and the positions of the edges of the bill. In the operation to identify the bill 6 by the sensors 21 including the optical line sensor 23, if there exists a particular section of the bill 6, a relative position of the particular section is beforehand determined relative to a particular position such as a center or an angle of the bill 6. The particular section of the bill 6 is then identified on the basis of the positions of the edges of the bill 6 actually passed through the conveying path 3 and the beforehand determined relative position. For the identified section, the line sensor 23 and the sensors 21 process features of the section to resultantly identify the bill 6. That is, precision of the positions of the edges of the bill directly affects precision of the position of the section of the bill 6 to be identified. In the operation to identify the bill 6 on the basis of the particular section, the precision of the position of the section of the bill 6 greatly exerts influence upon precision to identify the bill 6.
According to the embodiment, as can be seen from
Description will now be given of the quantization error appearing when the bill 6 is not inclined relative to the line sensor 23 shown in
Each pixel 40 is defined on the basis of the period of conveying pulses and the pitch of or the interval between optical elements of the line sensor 2. An outer contour of analog image 41 is an actual outer contour of the bill 6, and a digital image 42 is an area for the bill 6 recognizable in digital processing. An outer contour of digital image 43 is an outer contour of the bill 6 obtain by use of the digital image 42.
If the bill 6 is conveyed in a state of
Description will now be given of the improvement of the precision.
By disposing the line sensor 23 in the inclined state as above, the position and the gradient of the paper sheet can be detected in the conveying direction with high precision regardless of the magnitude of the inclination of the paper sheet. It is therefore possible to provide the bill identifying and checking apparatus 1 with higher identifying precision.
Since the line sensor 23 is inclined such that the angle of inclination thereof exceeds the skew allowance range of the bill identifying and checking apparatus 1, the binary image B can be produced such that the front edge and the rear edge of the paper sheet are represented in the shape of steps regardless of how the paper sheet, i.e., the bill 6 is skewed or inclined.
As a result, it is guaranteed that a step-wise image of the bill 6 is produced and the position and the gradient of the bill 6 are detected in the conveying direction with precision less than the conveying pulse. In comparison with the case in which the line sensor 23 is attached in a direction vertical to the conveying direction A (
There can be provided a low-cost high-precision bill identifying and checking apparatus 1 capable of detecting the outer contour of the bill 6 with precision less than the pixel 40 which can be sensed by the line sensor 23.
As compared to reducing the interval of conveyance pulses for the line sensor 23 to read the bill 6, disposing the line sensor in the inclined state makes it possible to lower the specifications necessary for the image data processing to a greater degree, there can be provided a low-cost bill identifying and checking apparatus 1 capable of executing processing at a higher speed.
Although the pixel 40 of the binary image B is configured as a rectangle having one and the same length in the conveying direction and the conveying width direction, the present invention is not restricted by the configuration. The length of the pixel in the conveying direction may differ from that in the conveying width direction. Also in this configuration, the contour of the bill 6 can be appropriately obtained.
Although the optical line sensor 23 is inclined by an angle of θ with respect to the conveying width direction, it is also possible to configure the apparatus in which the unit of the line sensor 23 is disposed in parallel with the conveying width direction and the light projecting elements and the light receiver element array are inclined by an angle of θ with respect to the conveying width direction.
The present invention is not restricted by the configuration described above, but there can be considered many embodiments of the present invention.
According to the present invention, there can be provided a paper sheet identifying and checking apparatus in which even if the inclination of the paper sheet with respect to the direction vertical to the conveying direction is almost zero, the paper sheet can be detected in the conveying direction with precision less than the period of conveyance pulses, without increasing the cost of the apparatus.
It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-154863 | Jun 2006 | JP | national |