An apparatus for reading an optical code

Abstract: The invention relates to an apparatus for reading an optical code. The apparatus comprises a casing with a reading window; the casing comprises an illumination means an illuminating means (3) adapted light toward an optical code to be read, a linear sensor (4) responsive to the light diffused from the illuminated optical code and having a sensitive line (4a) extended along a direction (X) and an optical apparatus (9) for focusing the diffused light on the linear sensor (4), said optical apparatus (9) having an optical axis (Z) which is substantially perpendicular to said sensitive line (4a) and defining with said sensitive line (4a) a plane (X-Z) . The illuminating means (3) comprises at least one first light source (6) disposed on one side of the optical axis (Z) of the optical apparatus (9) and at least one second light source (6) disposed on the other side of the optical axis (Z) of the optical apparatus (9); the axes of said at least one first and second light sources (6) lie on said plane (X-Z).

Description: This invention relates to an apparatus for reading an optical code. More particularly, the invention relates to an apparatus for reading an optical code within a pre-set distance range. As is known, optical codes can be read by means of either stationary or portable reading apparatus. In either cases, the apparatus include a casing with a reading window through which either a means of illuminating a code to be read and a means of reading the image of the code being read by detecting light scattered therefrom and converting it to electric signals are arranged to act. The detection means for converting the light signal to an electric signal may be of different types; in general, a so-called CCD (Charge-Coupled Device) is used which comprises an array of a very large number of light-sensitive elements. Reading apparatus of the above-described type have a drawback in that they can only provide a correct reading of the optical codes within a limited distance range; this restricts substantially their applicability. A problem to be solved in code reading as effected by a human operator and in automatic object sorting and handling systems, is that of identifying and classifying with a single apparatus objects wherein the distance between the reading apparatus and the optical code can considerably vary. In this situation, the use of an apparatus as above described is disadvantageous, since the apparatus is not always capable of correctly focusing on the object codes to be identified. WO 97/19416 discloses an illumination system for a camera for optical character recognition (OCR) of indicia on a substrate, such as semiconductor wafers. The illumination system comprises more light sources; in particular, the illumination system comprises light emitting diodes for illuminating soft marks and broad spectrum incandescent lamps for illuminating hard marks on the substrate. The illumination system further includes a light control unit for controlling the light intensity of the light sources and properly selecting the light sources to be activated, so as to correctly illuminate the substrate depending on the type of marks to be read. WO 96/13799 discloses a portable optical code reader provided with an array of illuminators having three different functions and with an array of sensor elements to provide image signals. In particular, the array of illuminators comprises: perimeter illuminators for the purpose of illuminating the target area of the field of view of the sensor with a broader or frame effect, focusing illuminators for the purpose of indicating a fixed focus distance and exposure illuminator for the purpose of reading the code. The perimeter and focusing illuminators are used for determining the correct distance between reader and bar code (by manually moving the reader with respect to the code); at this time the exposure illuminators are turned on. US 5,640,001 discloses an hand-held bar code reader system capable of reading bar codes supplied within a certain measurement range. A distance measuring system is used to automatically adjust a focus lens system depending on the measured distance between the code and the reader. The reader includes a pair of marker light emitting diodes for directing visible marker light beams into the field of view of the reflected light image sensor so as to delineate the desired locations for the code in the reader field of view, and two flashable illuminator for illuminating the code. WO 95/35506 discloses an optical reader for reading scribe marks on a semiconductor wafer. The reader comprises a plurality of light sources, an image collecting lens and a CCD camera. The light sources are arranged on both sides of a image collecting lens, which is placed in front of a CCD camera and is adapted to more completely fill the field of view of the CCD camera thereby facilitating interpretation of the image by optical character recognition (OCR) or an observer. The reader is to be positioned as close as possible to the scribe marks to reduce the required light intensity of light sources. US 5,291,009 (against which the claims of the present invention are delimited) discloses an optical scanning head of a scanning system for reading bar code symbols at variable distance. The scanning head is equipped with a series of LEDs mounted in different directions to either side of a dark room including an image collecting lens. A linear CCD is mounted behind of the dark room. A window is provided at the front region of the scanning head and in the front of the LEDs for filtering and positioning the light path of the incident beam. A bar code reader which uses a line CCD sensor and LEDs is also known from US patent 5,756,981. The underlying technical problem of this invention is that of enabling proper reading of optical codes placed at varying distances within a broad range of distances, using an apparatus of simple and low-cost construction. This problem is solved by an apparatus as defined in claim 1. Preferred embodiments of this apparatus are set out in the dependent claims. Thus, an apparatus for reading remotely placed optical codes is provided which is capable of reading a code from a fixed position as well as within a broad range of distances. For this purpose, the apparatus of the invention has a depth of field which is considerably greater than that of conventional reading apparatus. The apparatus of the invention is therefore particularly suitable for reading optical codes within a broad range of distances. The improved depth of field is achieved by the fact that the light beam emitted by the illuminated means and the light diffused by the illuminated code as well as the sensitive line of the linear sensor lie all on the same plane. In this way, the light diffused by each portion of the illuminated optical code is projected through the objective lens onto the sensitive line of the linear sensor, regardless of the distance between the optical code and the reading apparatus, thereby detecting the light diffused back from the code and converting it into electric signals. Preferably, said first and second light sources are symmetrically arranged with respect to the optical axis of the focusing optical apparatus. Advantageously, the apparatus of the invention comprises a means for widening the emission angle of the light emitted from said first and second light sources in the plane X-Z along the direction parallel to the sensitive line of the linear sensor, and for narrowing the emission angle of the light emitted from said first and second light sources along a direction Y which is perpendicular to the plane X-Z. Preferably, the means for widening and narrowing the emission angle of said light comprises at least one converging lens placed downstream said first and second light sources. More preferably, this means comprises a pair of converging lenses placed downstream said first and second light sources at symmetric locations with respect to the optical axis Z of the focusing optical apparatus. Thus, these lenses will widen and flatten the light beam from the light sources to give it a shape comparable to that of the sensitive line of the linear sensor, thereby improving the reading reliability. Advantageously, said illuminating means comprises a plurality of first and second light sources arranged in pairs including a pair of outward sources disposed in an offset position from the optical axis Z of the focusing optical apparatus by an angle α, and a pair of inward sources disposed in an offset position from the optical axis Z of the focusing optical apparatus by an angle β smaller than the angle α. Even more advantageously, the angle α is in the range of about 15° to about 18°, and the angle β is in the range of about 3° to about 6°. In this way, the whole optical code can be suitably illuminated along its extension, even when placed at a considerable distance away from the reading apparatus. In a specially advantageous embodiment, the apparatus of the invention further comprises a means for confining within a predetermined reading area the light emitted from said first and second light sources. Preferably, this means comprises a ring-shaped masking element having a substantially straight inward edge set at an angle substantially equal to α with respect to the optical axis Z of the focusing optical apparatus. As such, a confined light beam can be obtained which has a well defined shape and an extension substantially equal to that of the vision field of the linear sensor; this contributes to ensure optimum illumination of the whole optical code at any values of distance between code and reading apparatus, thereby increasing the reading reliability. The aforementioned advantages are also achieved by the provision, in the reading apparatus, of a holder element for said first and second light sources which is formed with respective seats for said light sources, said seats having respective side walls shaped to confine within said predetermined reading area the light emitted from each source of said plurality of light sources. Advantageously, said side walls also function to screen off the linear sensor, thereby preventing interference of any spurious rays issued from one of the light sources with the light diffused from the code, which would affect the reading. According to one embodiment of the invention, the linear sensor comprises a CCD sensor. Alternatively, linear sensor comprises a CMOS sensor. Preferably, the light sources comprises two pairs of discrete plastics LEDs. In a preferred embodiment, the apparatus of this invention advantageously includes a means for decoding the optical code. Preferably, the apparatus of the invention further comprises a casing with a reading window adapted to allow emission of the light emitted from said first and second light sources and collection into the casing of the light diffused from the illuminated optical code. In a first embodiment of the invention, said casing is portable. In a second embodiment thereof, said casing is stationary. Further features and advantages of this invention will be better understood from the following detailed description of a preferred embodiment thereof, given with reference to the accompanying drawings. In the drawings: Figure 1 is a perspective view of an internal card of an optical code reading apparatus according to the invention with the construction elements of the apparatus mounted thereon; Figure 2 is a front view of the card shown in Figure 1; Figure 3 is a side view of the card shown in Figure 1; Figure 4 is a top plan view of the card in Figure 1, with a ring-shaped masking element associated with one end thereof to confine a light beam within a predetermined reading area; Figure 5 is an enlarged exploded view of a portion of the card shown in Figure 4; Shown at 1 in the drawing figures is a holder card intended for installation inside a casing (not shown) of an optical code reading apparatus (not shown). The casing is formed of lower and upper shells which can be conventionally joined together into an enclosure capable of screening off any light rays other than those belonging to the reflected image of the optical code. Throughout this description and the appended claims, the term "optical code" is used to indicate a code (such as a bar code, a two-dimensional code, or the like) adapted to univocally identify the objects that bear it. In particular, reference will be made herein to bar codes for the sake of clarity. As shown in Figures 1 to 5, the holder card 1 comprises a front portion 1a intended to be faced toward the optical code to be read, and a back portion 1b. The front portion 1a is provided with an illumination means 3 adapted to illuminate the optical code through a reading window (not shown) which is formed through the reading apparatus casing at the free end of the front portion 1a of the holder card 1. The back portion 1b is provided with a detection means 4 adapted to detect light scattered from the illuminated optical code and passed inside the casing through the reading window for converting this light into electric signals representing the light image. Preferably, the detection means 4 comprises a linear type of CCD sensor 5, which in turn comprises an array formed of a very large plurality of individual light-sensitive elements 5a (Figure 4). Alternatively, the detection means 4 could comprise a CMOS linear sensor; in any case, a sensitive line 4a responsive to the light scattered from the optical code is defined on the detection means 4. The illumination means 3 comprises an array of light sources 6. The array of light sources 6 specifically comprises a number of discrete plastics LEDs (for example four), exhibiting high properties of light intensity and directivity, which have a diameter of about 5 mm and are housed in respective seats 6a formed in a holder element 8 made of a plastics material and mounted on the holder card 1 at the front portion 1a. The holder element 8 is formed centrally with a seat 9a for receiving an objective lens 9 arranged to pick up light scattered from the illuminated optical code and project this light onto the detection means 4. The objective lens 9 has an optical axis Z which is substantially coincident with a longitudinal centerline of the holder card 1. The LEDs 6 are positioned on the holder 8 symmetrically with respect to the optical axis Z of the objective lens 9; they are also aligned along a direction X which is perpendicular to said optical axis Z, thereby to define a first emission plane X-Z intersecting the optical axis Z and the responsive line 4a of the light-sensitive elements 5a. In particular, the LEDs 6 comprise a pair of outward LEDs 61 disposed in an offset position from the optical axis Z of the objective lens 9 by an angle α within the range of about 15° to about 18°, and a pair of inward LEDs 62 disposed in an offset position from the optical axis Z of the objective lens 9 by an angle β within the range of about 3° to about 6°. The seats 6a have opposite side walls 10 which are shaped to confine the light beam issuing from each LED 6 within a predetermined reading area. For the same purpose, the reading apparatus of the invention includes a ring-shaped masking element 11, generally made of a rubber, which is associated with the casing, at the front portion 1a of the holder card 1, and provided with a straight inner edge 12, set at an angle with respect to the optical axis Z of the objective lens 9, which is substantially the same as the angle α. The holder element 8 is also provided with a pair of converging lenses 13 received in respective seats 13a formed in the holder element 8, between the seats 6a for the LEDs 6 and the reading window, at symmetrical locations with respect to the optical axis Z; the lenses 13 are designed to reduce the emission angle of the light beam issuing from the LEDs 6 in a direction Y perpendicular to the first emission plane X-Z, and to increase it in the direction X. The apparatus 1 also comprises conventional means for decoding the optical code to be read. In operation, the optical code is illuminated to define a reading scan lying on the plane X-Z; light scattered from the code lies also on the plane X-Z and is picked up, through the objective lens 9, on the sensitive line 4a of the detection means 4 to generate an electric signal representing the light image scattered back from the code. This signal is then amplified and converted to a digital signal by a digitalizer; the digitalized signal is subsequently supplied to the microprocessor for further processing and/or decoding.

Claims: An apparatus for reading optical codes at variable distances from the apparatus, comprising: an illuminating means (3) adapted to emit light toward an optical code to be read; a linear sensor (4) responsive to the light diffused from the illuminated optical code and having a sensitive line (4a) extended along a first direction (X); an optical apparatus (9) for focusing the diffused light on the linear sensor (4), said optical apparatus (9) having an optical axis (Z) which is substantially perpendicular to said sensitive line (4a) and defining with said sensitive line (4a) a plane (X-Z); said illuminating means (3) comprising at least one first light source (6) disposed on one side of the optical axis (Z) of the optical apparatus (9) and at least one second light source (6) disposed on the other side of the optical axis (Z) of the optical apparatus (9), each of said at least one first and second light sources (6) having an axis corresponding substantially to a maximum of the light intensity distribution of the respective light source (6), said at least one first and second light sources emitting light while said optical code is being read, each of said light sources being a light remitting diode comprising a body and connecting leads; said apparatus comprising a holder element (8) for housing said optical apparatus (9) and said at least one first and second light sources (6), characterised in that said holder element (8) comprises respective seat elements (6a) provided thereon for supporting said body of said light sources (6) such that the axes of said light sources (6) substantially lie on said plane (X-Z) , said seat elements being distinct from said connecting leads. An apparatus according to claim 1, wherein said seat elements (6a) comprise respective portions for supporting said bodies of said light sources (6) in a fixed position in said plane (X-Z), along a direction (Y) which is perpendicular to the plane (X-Z). An apparatus according to claim 2, wherein said portions for supporting said bodies of said light sources (6) along a direction (Y) comprise lower seat portions. An apparatus according to any of claims from 1 to 3, wherein said seat elements (6a) comprise respective portions for supporting said bodies of said light sources (6) in corresponding fixed positions in said plane (X-2), along said first direction (X) parallel to the sensitive line (4a) of the linear sensor (4). An apparatus according to claim 4, wherein said portions for supporting said bodies of said light sources, (6) along said first direction (X) comprise lateral seat portions for housing at least in part the body of a respective light source (6) between them. An apparatus according to any of claims from 2 to 5, wherein said respective portions comprise portions of curved surface. An apparatus according to anyone of the previous claims, wherein said first and second light sources (6) are symmetrically arranged with respect to the optical axis (Z) of the optical apparatus (9). An apparatus according to anyone of the previous claims, further comprising a means for widening the emission angle of the light emitted from said first and second light sources (6) in the plane (X-Z) along the first direction (X) parallel to the sensitive line (4a) of the linear sensor (4), and for narrowing the emission angle of the light emitted from said first and second light sources (6) along a direction (Y) which is perpendicular to the plane (X-Z). An apparatus according to Claim 8 , wherein the means for widening and narrowing the emission angle of said light comprises at least one converging lens (13) placed downstream said first and second light sources (6). An apparatus according to Claim 9 , wherein the means for widening and narrowing the emission angle of said light comprises a pair of converging lenses (13) placed downstream said first and second light sources (6) at symmetric locations with respect to the optical axis (Z) of the optical apparatus (9). An apparatus according to anyone of Claims from 8 to 10 , wherein said holder element (8) further supports said means for widening and narrowing the emission angle of said light. An apparatus according to Claim 11 , wherein said holder element (8) is provided with seats (13A) for receiving said means for widening and narrowing the emission angle of said light. An apparatus according to anyone of the previous Claims, wherein said at least one first and second light sources (6) are arranged in at least one corresponding pair of light sources (6), each light source (6) included in said pair being disposed in an offset position from the optical axis (Z) of the optical apparatus (9) by a prefixed angle (α; β), and wherein each seat element (6a) of the respective light source (6) comprises a portion oriented at said prefixed angle (α; β). An apparatus according to Claim 13 , wherein said at least one pair include a pair of outward sources (61) disposed in an offset position from the optical axis (Z) of the optical apparatus (9) by an angle α, and a pair of inward sources (62) disposed in an offset position from the optical axis (Z) of the optical apparatus (9) by an angle β smaller than the angle α. An apparatus according to Claim 14 , wherein the angle α is in the range of about 15° to about 18°, and the angle β is in the range of about 3° to about 6°. An apparatus according to Claim 14 or 15, wherein said illuminating means (3) comprises two pairs of discrete plastics LEDs. An apparatus according to anyone of the previous Claims, wherein the linear sensor (4) comprises a CCD sensor (5). An apparatus according to anyone of Claims from 1 to 16 , wherein the linear sensor (4) comprises a CMOS sensor. An apparatus according to anyone of the previous Claims, further comprising a means (10, 11) for confining within a predetermined reading area the light emitted from said first and second light sources (6). An apparatus according to Claims 14 and 19, wherein the means (10, 11) for confining said light comprises a ring-shaped masking element (11) having a substantially straight inward edge (12) set at an angle substantially equal to α with respect to the optical axis (Z) of the optical apparatus (9). An apparatus according to Claim 19 or 20, wherein said seat elements (6a) have respective side walls (10) shaped to confine within said predetermined reading area the light emitted from each source of said plurality of light sources (6, 61, 62). An apparatus according to anyone of the previous Claims, further comprising a means for decoding the optical code. An apparatus according to anyone of the previous Claims, further comprising a casing with a reading window adapted to allow emission of the light emitted from said first and second light sources (6) and collection into the casing of the light diffused from the illuminated optical code. An apparatus according to claim 23, wherein said casing is portable. An apparatus according to claim 23, wherein said casing is stationary.

Inventors: BIANCHI MAURIZIO, PIVA MARCO, BIANCHI, MAURIZIO, PIVA, MARCO
Applicants: DATALOGIC SPA, DATALOGIC S.P.A.
Application year: 1998
Main classification: G06K7
IPC codes: G06K7