Bar-code reader apparatus

Abstract: A bar-code reader includes a selection circuit (11) which selects one of two operating modes of reading a bar code label by using the whole section or partial section of an image sensor (5).

Description: BACKGROUND OF THE INVENTION This invention relates to a bar-code reader for use in the EPOS system and the like. Bar code symbolic systems are categorized as the JAN code, EAN code and UPC code systems each composed of a fixed number of stripes and intended for retail commodities, and the Code39, Code128, NW7 code and ITF code systems each composed of an unfixed number of stripes and intended for the FA, wholesale and OA industries. In addition, there are two-dimensional bar code systems including a multi-stage bar code system which is composed of the above-mentioned various code symbols arrayed in multiple stages, and the Code49 system which is composed of sets of a fixed number of stripes arrayed in a number of stages ranging from two to eight. As a means of reading bar code symbols of a fixed number of stripes, bar-code readers based on the image sensor have been used more prevalently as compared with pen-type bar-code readers. Bar code price labels are attached to a variety of retail commodities, such canned goods and cloth products, which do not necessarily have hard and flat surfaces. Therefore, cashiers often prefer the bar-code reader based on the image sensor which bases the operation on electronic scanning across a bar code through its reading window having a focal depth of 10 mm or more by being kept stationary on the label, rather than the pen-type bar-code reader which needs to trace a bar code at a constant speed by being in contact with the label. On the other hand, bar code symbols with unfixed numbers of stripes can extend as long as 15 to 20 cm, and are printed directly or labeled on hard and flat surfaces. Therefore, the pen-type bar-code reader is often used, rather than the image sensor based bar-code reader which suffers the bulkiness and poor operationability and accuracy in dealing with long bar code labels. As a result of recent development of bar code applications, bar code symbols based on the JAN, EAN and UPC code systems labeled on such soft surfaces as cloth products and bar code symbols of unfixed lengths based on the Code39, Code128, NW7 and ITF code systems appear mixed in the retail, FA, OA and wholesale industries. Consequently, bar code users have to prepare two kinds of bar-code readers, i.e., pen type and image sensor type, attain the connectivity of two kinds of readers to a host machine, and select one of the devices depending on the kind of bar code. These problems are considerable barriers against the progress of bar code applications. EP-A-0238067 describes a bar code reader having the features of the preamble of Claim 1. In this device, a one-dimensional image sensor is used wherein the photoelements are arranged in a line, although the possibility of using a two-dimensional image sensor is also described. In Patent Abstracts of Japan, Vol. 12, No. 264 (P-734) 23rd July 1988 and JP-A-63 047 893 (Toshiba Corp.) 29th February 1988, there is described a bar code reader which is selectively operable in one of two modes. In the first mode, the whole of the bar code is read automatically. In the second mode, when the length of the bar code exceeds the possible reading range of the read sensor, the bar code is read by performing a manual scanning operation. It would be desirable to provide a bar-code reader capable of reading bar-code symbols of various types having arbitrary code lengths. In accordance with the present invention, there is provided a bar-code reader as defined in Claim 1. The bar-code reader of the preferred embodiment is designed to operate in a mode of reading a bar code label with the whole of the image sensor and another mode of reading a bar code label with a portion of the sensor, with these operating modes being selected with a mode selection means, so that the reader is adaptive to various bar code symbols having arbitrary code lengths. The operating mode which determines the use of the whole or a portion of the image sensor is switched in response to an external signal from the host machine conducted depending on the kind of bar code, or in response to an internal signal produced by the reader itself based on the automatic discrimination of bar code. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a perspective diagram showing the internal structure of the bar-code reader based on an embodiment of this invention; Fig. 2 is a block diagram of the circuit section of the bar-code reader shown in Fig. 1; Figs. 3A and 3B are diagrams showing the manners of reading long bar code symbols with the bar-code reader shown in Fig. 1. DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of this invention will be described with reference to the drawings. Fig. 1 shows the structure of the bar-code reader based on this embodiment. In the figure, the bar-code reader 14 includes a light emitter 2 which projects a light beam onto a bar code symbol printed on a label 1. The reflected light from the label 1 is conducted by way of a mirror 3 and lens 4 to a linear image sensor 5, which is connected electrically to a circuit section 6. The light emitter 2 consists of an alignment of multiple LEDs having a 660 nm wavelength. The linear image sensor 5 is formed of a CCD (charge coupled device) linear image sensor of 3648 pixels, and it functions to convert a bar code image focused by the lens 4 into an electrical signal. The circuit section 6 includes a waveform processing circuit and a microprocessor with internal 64-killobyte ROM and 2-killobyte RAM which implements decoding of bar code. The image sensor may otherwise be a device based on the CID (charge injection device) or other opto-electric transducing device. Sensor elements may be of the linear arrangement adopted for a linear image sensor, or may be of the planar arrangement adopted for an area image sensor. Bar code symbols which can be read by this bar-code reader include one-dimensional bar code symbols, two-dimensional bar code symbols, multi-stage bar code symbols, and combinations of these symbols. Fig. 2 shows the arrangement of the circuit section 6. Indicated by 7 is a waveform processing circuit which amplifies the signal from the linear image sensor 5 and converts the analog signal into a two-level digital signal. The circuit 7 consists of an amplifying circuit 8, a filter circuit 9 and a bi-leveling circuit 10 all formed of operational amplifiers or the like. Indicated by 11 is a selection circuit based on the counter, and it determines the use of the whole or partial section of the image sensor for reading a bar code depending on the count value. The selection circuit 11 is operated in response to the selection command issued automatically by a microprocessor 12 which implements the processings of bar code analysis and communication with the host machine. Other electrical components such as LEDs of light emitter and a buzzer which notifies the completion of bar code reading and their associated control circuits are not shown in Fig. 2. Although in this embodiment the selection of operating mode is based on the counter in the selection circuit 11 as an example of design, it can otherwise be performed by the microprocessor 12 in response to signals derived from specific portions of the image sensor through the process by the waveform processing circuit 7. Figs. 3A and 3B show the manners of reading bar code symbols having a code length greater than the width of reading window of the bar-code reader 14. Shown in Fig. 3A is the case of the mode of using part of the image sensor set by the signal from the host machine, and the bar-code reader 14 is moved in the direction as shown to scan the bar code symbol on the label 1. Another bar code scanning operation is as shown in Fig. 3B, in which case the length of bar code relative to the width of reading window of the bar-code reader 14 is judged from the proportion of the bar code image in the field of image sensor, and the operating mode can be set automatically based on the result of judgement. According to this invention, as described above for its specific embodiment, this single bar-code reader is operative in two modes of using the whole or a portion of the image sensor selectively to match each bar code symbol which can be a bar code consisting of a large number of stripes that is too long for the usual bar-code reader based the on image sensor to deal with, or can be a bar code labeled on a cloth product or canned goods that is too unstable for the usual pen-type bar-code reader to deal with, whereby it contributes significantly to the industry in terms of the enhanced operationability and cost efficiency.

Claims: A bar-code reader comprising: light emission means (2) for projecting a light beam onto a bar code label; light reception means (4) for focusing the reflected light from the bar code label on an image sensor (5); signal processing means (7) for processing the output signal of said image sensor; and decoding means (12) for decoding the bar code symbol on the label based on the output of said signal processing means, characterised in that said bar-code reader further includes selection means (11) for automatically selecting an operating mode of using the whole of said image sensor or another operating mode of using a portion of said image sensor in reading the bar code label, the selection being made in dependence on the length of the bar code relative to the image sensor. A bar-code reader according to claim 1, characterized in that said image sensor (5) comprises a linear image sensor. A bar-code reader according to claim 1, characterized in that said image sensor (5) comprises an area image sensor. A bar-code reader according to any preceding claim, characterized in that said decoding means (12) functions to decode bar code symbols which are longer than the width of the reading window of said bar-code reader. A bar-code reader according to any preceding claim, characterized in that said image sensor (5) is sensitive in a variable portion thereof. A bar-code reader according to any preceding claim, characterized in that said decoding means (12) functions to decode one-dimensional bar code symbols. A bar-code reader according to any preceding claim, characterized in that said decoding means (12) functions to decode two-dimensional bar code symbols. A bar-code reader according to any preceding claim, characterized in that said decoding means (12) functions to decode multi-stage bar code symbols. A bar-code reader according to any preceding claim, characterized in that said selection means (11) comprises means for setting the operating mode in response to an external signal. A bar-code reader according to any one of claims 1 to 8, characterized in that said selection means (11) comprises means of setting the operating mode in response to an external signal sent from a host machine in connection with said bar-code reader.

Inventors: DOSHO NEE TASHIRO MARIE, INOUE KATSUSHI, KOBAYASHI KEIICHI, TAMAI SEIICHIRO, DOSHO (NEE TASHIRO), MARIE, INOUE, KATSUSHI, KOBAYASHI, KEIICHI, TAMAI, SEIICHIRO, Dosho (née Tashiro), Marie
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1993
Main classification: G06K7
IPC codes: G06K7