Portable code reading device, and code reading method
The portable code reading device uses a diffusing member with a tapered shape and fixed position to prevent light source reflection, ensuring clear code images on specular surfaces.
Patent Information
- Application Number
- JP2023019189
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-10
- Publication Date
- 2024-08-23
AI Technical Summary
Existing code reading devices reflect the light source on specular surfaces, leading to distorted code images.
A portable code reading device that uses a diffusing member to diffuse light emitted from a light source, with a tapered shape and fixed position and angle relative to the camera, to prevent light source reflection and generate a clear code image.
Suppresses light source reflection, ensuring a clear and accurate code image is generated, particularly on specular surfaces.
Smart Images

Figure 2024113915000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a code reading technology that generates a code image by irradiating light onto a work surface on which a code is provided and receiving the light reflected by the work surface with a camera. [Background technology]
[0002] Patent Document 1 describes a barcode reader that reads barcodes. This barcode reader irradiates the barcode with light that is emitted from a light source such as an LED and diffused by a diffusing member to make the light uniform. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US7537164 Summary of the Invention [Problem to be solved by the invention]
[0004] However, if the light source is close to the diffusing member, the light source will be reflected on the specular surface of the workpiece, and a code image may be generated in which the light source is reflected in the place where the code should be.
[0005] This invention has been developed in consideration of the above-mentioned problems, and aims to make it possible to suppress reflection of the light source in a code image when generating a code image using light emitted from a light source and diffused by a diffusion member. [Means for solving the problem]
[0006] The portable code reader of the present invention is a portable code reader that irradiates a planar light onto a specular work surface having a code, receives the light specularly reflected by the work surface, and diffusely reflects the light irradiated onto a portion corresponding to the code, thereby generating a code image. The portable code reader includes a first light source, a condensing lens that condenses the light reflected by the work surface, a first camera that receives the light condensed by the condensing lens and generates a code image, and a first camera that has an inclined shape that gradually widens as it moves away from the first camera and condenses the light emitted from the first light source. and a diffusing member that diffuses the light and emits diffused light toward the work surface, wherein the position and angle of the diffusing member relative to the first camera are fixed so that the specularly reflected light from the work surface is received by the first camera when the first camera is focused on the work surface, and the first light source irradiates light toward the diffusing member from behind or in front of the rear end of the diffusing member, or irradiates light onto the diffusing member via a reflective member provided on the optical path between the first light source and the diffusing member, so that the light source is not reflected in the first camera when the first camera receives the specularly reflected light.
[0007] A code reading method according to the present invention is a code reading method for generating a code image by irradiating planar light onto a specular work surface having a code, receiving the light specularly reflected from the work surface, and diffusively reflecting the light irradiated onto a portion corresponding to the code, the code reading method comprising the steps of: making light emitted from a first light source incident on a diffusing member; diffusing the light in the diffusing member; irradiating the work surface with the light diffused by the diffusing member; concentrating the light reflected by the work surface with a condensing lens; and receiving the light concentrated by the condensing lens to generate a code image, the diffusing member being a first The diffusing member has an inclined shape that gradually widens as it moves away from the camera, and diffuses the light emitted from the first light source and emits diffused light toward the work surface. When the first camera is focused on the work surface, the position and angle of the diffusing member are fixed relative to the first camera so that the specularly reflected light from the work surface is received by the first camera. The first light source irradiates light toward the diffusing member from behind or in front of the rear end of the diffusing member, or irradiates light onto the diffusing member via a reflective member provided on the optical path between the first light source and the diffusing member, so that the light source is not reflected in the first camera when the first camera receives the specularly reflected light. Effect of the Invention
[0008] In the present invention configured in this manner, it is possible to suppress the light source from being reflected in the light emitted from the light source and diffused by the diffusing member. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a side view showing a schematic configuration of the code reading device. [Diagram 2] FIG. 2 is a block diagram showing an outline of an electrical configuration of the code reading device shown in FIG. [Diagram 3] FIG. 2 is a perspective view showing a specific external configuration of a head unit. [Figure 4] FIG. 4 is an exploded perspective view showing a specific configuration of an illumination unit provided in the head unit. [Figure 5A] FIG. 4 is a front view showing a schematic configuration of the illumination board. [Figure 5B]FIG. 4 is a front view illustrating a schematic configuration of a reflecting member. [Figure 5C] FIG. 4 is a front view showing a schematic configuration of a reflective member and an illumination board attached to each other. [Figure 5D] FIG. 4 is a front view showing a schematic configuration of a diffusion member and a placement panel. [Figure 5E] FIG. 4 is a front view showing a schematic overlapping of a diffusing member and an illumination board hidden by the diffusing member. [Figure 5F] FIG. 5F is a front view showing a schematic diagram of a reflective member further superimposed on the diffusing member and the illumination board of FIG. 5E. [Figure 6A] FIG. 4 is a diagram showing the operation of the aimer irradiation unit. [Figure 6B] FIG. 2 is a diagram showing a schematic configuration of an LD irradiation section of the aimer irradiation section. [Figure 6C] FIG. 2 is a diagram showing a schematic configuration of the LED irradiation section of the aimer irradiation unit. [Figure 7] FIG. 4 is a side view showing a schematic positional relationship between the reflecting member and the illumination board in the front-rear direction. [Figure 8] 1 is a schematic diagram showing a code attached to a surface of a specular workpiece and a code image obtained by imaging the code using a code reading device; [Figure 9] FIG. 11 is a side view showing a schematic diagram of a first modified example of a code reading device. [Figure 10] FIG. 11 is a side view illustrating a second modified example of the code reading device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Fig. 1 is a side view showing a schematic configuration of a code reading device, and Fig. 2 is a block diagram showing an outline of the electrical configuration of the code reading device in Fig. 1. Here, a front-rear direction Dfs is appropriately shown in which the side of the workpiece W relative to the code reading device 1 is designated as the front side Sf and the opposite side of the workpiece W relative to the code reading device 1 is designated as the rear side Sb in a state in which the code reading device 1 faces the surface Wf of the workpiece W to read the code attached to the surface Wf of the workpiece W with the code reading device 1.
[0011] As shown in FIG. 1, the code reading device 1 includes a head portion 11, a grip portion 12, and a grip end portion 13. The grip portion 12 extends in an axial direction Da intersecting the front-rear direction Dfs between the head portion 11 and the grip end portion 13. In other words, the head portion 11 is provided at one end of the grip portion 12, and the grip end portion 13 is provided at the other end (the end opposite to the one end) of the grip portion 12. The head portion 11 has a head body 111, the grip portion 12 has a grip body 121, and the grip end portion 13 has a grip end body 131, and the head body 111, the grip body 121, and the grip end body 131 form a housing 14 that houses each part built into the code reading device 1. A user can carry the code reading device 1 by holding the grip body 121 of the code reading device 1.
[0012] The head body 111 of the head unit 11 has an opening 112 that opens on the front side Sf, and a placement panel 113 is provided at the end of the rear side Sb (in other words, the back side) of the opening 112. When reading a code, the opening 112 faces the surface Wf of the workpiece W, and the placement panel 113 faces the surface Wf of the workpiece W via the opening 112. The head unit 11 also has an illumination unit 2, an imaging unit 3, a distance measurement unit 4, an aimer irradiation unit 5, and a display SP shown in FIG. 2. The illumination unit 2, the imaging unit 3, the distance measurement unit 4, the aimer irradiation unit 5, and the display SP are stored in the head unit 11. In particular, a part of the illumination unit 2, the imaging unit 3, the distance measurement unit 4, and the aimer irradiation unit 5 are provided on the placement panel 113.
[0013] The illumination unit 2 irradiates the surface Wf of the workpiece W with illumination light Li, and the imaging unit 3 captures the reflected light Lr from the surface Wf of the workpiece W with the camera 31A or 31B to generate a code image Ic. The illumination light Li is irradiated from the illumination unit 2 to the surface Wf of the workpiece W through an opening 112, and the reflected light Lr is generated by reflecting the illumination light Li on the surface Wf of the workpiece W, and the reflected light Lr is incident on the camera 31A or 31B of the imaging unit 3 from the surface Wf of the workpiece W through the opening 112.
[0014] The illumination unit 2 has a diffuse illumination unit 27, a direct illumination unit 28, and a polarized illumination unit 29. The diffuse illumination unit 27 has a light source E, and diffuses the light emitted from the light source E before irradiating it onto the surface Wf of the workpiece W. The direct illumination unit 28 has a light source 281, and directly irradiates the light emitted from the light source 281 onto the surface Wf of the workpiece W without diffusing it. The polarized illumination unit 29 has a light source 291, and polarizes the light emitted from the light source 291 before irradiating it onto the surface Wf of the workpiece W. Details of the illumination unit 2 will be described later.
[0015] The imaging unit 3 has two cameras 31A and 31B. Each of the cameras 31A and 31B focuses the reflected light Lr onto a solid-state imaging element by a focusing lens, which is an objective lens facing the surface Wf of the workpiece W. The solid-state imaging element receives the reflected light Lr focused by the focusing lens to generate a code image Ic.
[0016] The distance measurement unit 4 measures the distance to the surface Wf of the workpiece W by measuring the time it takes for light irradiated from the distance measurement unit 4 through the opening 112 to be reflected by the surface Wf of the workpiece W and return to the distance measurement unit 4 through the opening 112. The aimer irradiation unit 5 irradiates visible light (aimer) indicating the reading position of the code reading device 1 onto the surface Wf of the workpiece W through the opening 112. The display SP displays information to the user.
[0017] The grip portion 12 has a trigger switch 122 provided on the front side Sf of the grip body 121. A user can operate the trigger switch 122 with a finger while holding the grip body 121 in his / her hand.
[0018] The code reading device 1 also includes a controller 6 that controls each part of the code reading device 1, and a storage unit 7 that stores data used in the code reading device 1 and data generated by the code reading device 1. The controller 6 and storage unit 7 are housed in a housing 14. The controller 6 is a processor, i.e., a CPU (Central Processing Unit). The storage unit 7 is a ROM (Read Only Memory). These include memory devices such as Internal Memory Only Memory (ROM) and Random Access Memory (RAM).
[0019] The controller 6 causes the lighting unit 2 to perform an illumination operation of irradiating the surface Wf of the workpiece W with illumination light Li, and causes the imaging unit 3 to perform an imaging operation of receiving the reflected light Lr with a solid-state imaging element to generate a code image Ic. Furthermore, the controller 6 acquires the code image Ic generated by the imaging unit 3 and decodes the code image Ic. In this way, code reading is performed by a series of operations including the illumination operation by the lighting unit 2, the imaging operation by the imaging unit 3, and the decoding by the controller 6. For example, when the controller 6 detects an operation of the trigger switch 122 by the user, it performs code reading. The result of the code reading, i.e., the decoded result Rd, which is the result of the controller 6 decoding the code image Ic, is stored in the memory unit 7.
[0020] Next, the configuration of the head unit 11, particularly the configuration of the illumination unit 2 provided in the head unit 11, will be described in detail. FIG. 3 is a perspective view showing a specific external configuration of the head unit, and FIG. 4 is an exploded perspective view showing a specific configuration related to the illumination unit provided in the head unit. In FIG. 3 and FIG. 4, the length direction Dl and the width direction Dw are shown. Here, the length direction Dl and the width direction Dw are perpendicular to each other and intersect with the front-rear direction Dfs. Also, one side Dl1 of the length direction Dl (the side from the grip end portion 13 toward the head unit 11) and the other side Dl2 of the length direction Dl (the opposite side of the one side Dl1) are shown, and one side Dw1 of the width direction Dw and the other side Dw2 of the width direction Dw (the opposite side of the one side Dw1) are shown.
[0021] The illumination unit 2 has a diffusion member 21, a reflection member 23 attached to the diffusion member 21 from the rear side Sb, and an illumination board 25 attached to the reflection member 23 from the rear side Sb. The diffusion member 21 and the reflection member 23 form part of the head unit 11 described above.
[0022] The diffusion member 21 has an aperture defining portion which is a wall surface surrounding the above-mentioned aperture 112 opened on the front side Sf. The aperture defining portion has a top diffusion plate 212 provided on one side Dl1 of the aperture 112 in the length direction Dl, and a bottom diffusion plate 213 provided on the other side Dl2 of the aperture 112. Furthermore, the aperture defining portion has a right diffusion plate 214 provided on one side Dl1 of the aperture 112, and a left diffusion plate 215 provided on the other side Dl2 of the aperture 112 in the width direction Dw. Ends on both sides of the top diffusion plate 212 in the width direction Dw are bent toward the other side Dl2 toward the right diffusion plate 214 and the left diffusion plate 215. In the longitudinal direction Dl, the end of the other side Dl2 of the right diffusion plate 214 is bent toward the other side Dw2 toward the bottom diffusion plate 213, and the end of the other side Dl2 of the left diffusion plate 215 is bent toward the one side Dw1 toward the bottom diffusion plate 213.
[0023] The top diffusion plate 212, the right diffusion plate 214, and the left diffusion plate 215 diffuse the light passing through them from the rear side Sb to the front side Sf, and emit the light to the front side Sf. Specifically, the back surface (light incident surface) of the rear side Sb of each of the top diffusion plate 212, the right diffusion plate 214, and the left diffusion plate 215 is textured, and the light is diffused by the textured back surface. However, the configuration for imparting the light diffusion function to the top diffusion plate 212, the bottom diffusion plate 213, the right diffusion plate 214, and the left diffusion plate 215 is not limited to the textured surface, and the light diffusion function may be imparted to these plates by using, for example, a milky white material with high diffusion properties.
[0024] Each of the plates 212, 213, 214, and 215 defining the opening 112 has an inclined shape (tapered shape in this embodiment) inclined with respect to the front-rear direction Dfs so that the area of the opening 112 in a cross section intersecting the optical axis Ac of the condenser lens 311A (FIGS. 5D, 5E, and 5F) of the camera 31A becomes wider toward the front side Sf in the front-rear direction Dfs. In other words, each of the plates 212, 213, 214, and 215 has a tapered shape inclined with respect to the optical axis so as to move away from the optical axis Ac toward the front side Sf (the workpiece W side) in the optical axis direction. Note that the shape of each of the plates 212, 213, 214, and 215 inclined with respect to the optical axis is not limited to a linear tapered shape and may be a curved shape.
[0025] Furthermore, the diffusion member 21 has flanges 219 that protrude outward from the ends of the front side Sf of the plates 212, 213, 214, and 215. That is, the flanges 219 are provided on the periphery of the opening 112 when viewed from the front side Sf.
[0026] The illumination board 25 is disposed on the rear side Sb of the plates 212, 213, 214, and 215 having such a tapered shape. The illumination board 25 has a board 251 and a plurality of light sources E arranged on the surface of the front side Sf of the board 251. The light sources E are, for example, LEDs (Light Emitting Diodes), and emit light to the front side Sf toward the top diffusion plate 212, the right diffusion plate 214, or the left diffusion plate 215. The light emitted from the light sources E and incident on the top diffusion plate 212, the right diffusion plate 214, or the left diffusion plate 215 from the rear side Sb is diffused as it passes through the diffusion plate 212, 214, or 215, and is emitted from the diffusion plate 212, 214, or 215 to the front side Sf.
[0027] The reflecting member 23 is disposed between the diffusing member 21 and the illumination board 25 in the front-rear direction Dfs. The reflecting member 23 has a top cover 232 that covers the path of light emitted from the light source E of the illumination board 25 and directed toward the diffusing member 21 from one side Dl1 in the length direction Dl, a right cover 234 that covers the path of the light from one side Dw1 in the width direction Dw, and a left cover 235 that covers the path of the light from the other side Dw2 in the width direction Dw. Each of the top cover 232, the right cover 234, and the left cover 235 is extended from the illumination board 25 to the front side Sf in the front-rear direction Dfs. In particular, the top cover 232 is extended from the illumination board 25 to an end of one side Dl1 of the flange 219 of the diffusing member 21. The top cover 232, the right cover 234, and the left cover 235 reflect light.
[0028] Furthermore, the reflection member 23 has a partition plate 236 provided on the other side Dl2 of the top cover 232 in the length direction Dl. This partition plate 236 extends from the illumination board 25 to the front side Sf in the front-rear direction Dfs. The partition plate 236 extends between the right cover 234 and the left cover 235 in the width direction Dw, and a slit 237 (gap) is provided between the top cover 232 and the partition plate 236 in the length direction Dl.
[0029] Fig. 5A is a front view showing a schematic configuration of the illumination board. As shown in Fig. 5A, the board 251 has a main board portion 252 extending in the width direction Dw, a right board portion 254 extending from an end of one side Dw1 of the main board portion 252 to the other side Dl2 in the length direction Dl, and a left board portion 255 extending from an end of the other side Dw2 of the main board portion 252 to the other side Dl2 in the length direction Dl.
[0030] The main substrate section 252 is provided with a top light source region Bt provided with a predetermined width in the width direction Dw, and a center light source region Bc provided with a predetermined width in the width direction Dw on the other side Dl2 of the top light source region Bt in the length direction Dl. In the top light source region Bt, a plurality of light sources E are arranged in the width direction Dw at a predetermined pitch (top pitch), and in the center light source region Bc, a plurality of light sources E are arranged in the width direction Dw at a center pitch longer than the top pitch. Due to such a difference in pitch, the number of light sources E arranged in the top light source region Bt is greater than the number of light sources E arranged in the center light source region Bc. This configuration improves the uniformity of the amount of light incident on the top diffusion plate 212 from the top light source region Bt and the amount of light incident on the top diffusion plate 212 from the center light source region Bt located closer to the top diffusion plate 212 than the top light source region Bt (see FIG. 7 described later). In this example, the center pitch is twice the top pitch, but the specific ratio of these pitches is not limited to this.
[0031] An end portion of the other side Dl2 of the right substrate portion 254 is bent toward the other side Dw2 in the width direction Dw. A right light source region Br is provided on the right substrate portion 254 in accordance with the shape of the right substrate portion 254, and a plurality of light sources E are arranged in the right light source region Br. The number of light sources E arranged in the right light source region Br is smaller than the number of light sources E arranged in the top light source region Bt and smaller than the number of light sources E arranged in the center light source region Bc.
[0032] An end portion of the other side Dl2 of the left substrate portion 255 is bent toward one side Dw1 in the width direction Dw. A left light source region Bl is provided on the left substrate portion 255 along the shape of the left substrate portion 255, and a plurality of light sources E are arranged in the left light source region Bl. The number of light sources E arranged in the left light source region Bl is equal to the number of light sources E arranged in the right light source region Br.
[0033] 5B is a front view showing a schematic configuration of the reflecting member. As described above, the reflecting member 23 has a top cover 232, a right cover 234, and a left cover 235. The top cover 232 extends in the width direction Dw, the right cover 234 extends from an end of one side Dw1 of the top cover 232 in the width direction Dw to the other side Dl2 in the length direction Dl, and the left cover 235 extends from an end of the other side Dw2 of the top cover 232 in the width direction Dw to the other side Dl2 in the length direction Dl. Furthermore, the reflecting member 23 has a partition plate 236 extending in the width direction Dw between the right cover 234 and the left cover 235, and a rectangular slit 237 is provided between the top cover 232 and the partition plate 236 in the length direction Dl.
[0034] The illumination board 25 faces the reflection member 23 from the rear side Sb in the front-rear direction Dfs (FIG. 5C). FIG. 5C is a front view showing a schematic configuration of the reflection member and the illumination board attached to each other. As shown in FIG. 5C, each light source E arranged in the top light source region Bt is located on one side Dl1 in the length direction Dl from the partition plate 236 and faces the slit 237, while the light source E arranged in the center light source region Bc is located on the other side Dl2 in the length direction Dl from the partition plate 236. Therefore, the partition plate 236 prevents the light emitted from the light source E in the center light source region Bc from entering the path of the light emitted from the light source E in the top light source region Bt. In addition, the partition plate 236 prevents the light emitted from the light source E in the top light source region Bt from entering the path of the light emitted from the light source E in the center light source region Bc.
[0035] Fig. 5D is a front view showing a schematic configuration of a diffusion member and an arrangement panel, Fig. 5E is a front view showing a schematic overlapping of a diffusion member and an illumination board hidden by the diffusion member, and Fig. 5F is a front view showing a schematic overlapping of a reflection member on the diffusion member and illumination board of Fig. 5E. In Figs. 5E and 5F, illumination board 25 is indicated by dashed lines.
[0036] As described above, the positioning panel 113 is provided at the end of the rear side Sb of the opening 112. The top diffusion plate 212 of the diffusion member 21 is located on one side Dl1 of the positioning panel 113 in the length direction Dl, the bottom diffusion plate 213 is located on the other side Dl2 of the positioning panel 113 in the length direction Dl, the right diffusion plate 214 is located on one side Dw1 of the positioning panel 113 in the width direction Dw, and the left diffusion plate 215 is located on the other side Dw2 of the positioning panel 113 in the width direction Dw.
[0037] As can be seen from Fig. 5E, light emitted from the light source E in the top light source region Bt or the center light source region Bc mainly enters the top diffusion plate 212. Furthermore, as can be seen from Fig. 5F, light emitted from the light source E in the top light source region Bt passes through one side Dl1 of the partition plate 236 and enters the top diffusion plate 212, and light emitted from the light source E in the center light source region Bc passes through the other side Dl2 of the partition plate 236 and enters the top diffusion plate 212. Furthermore, light emitted from the light source E in the right light source region Br mainly enters the right diffusion plate 214, and light emitted from the left light source region Bl mainly enters the left diffusion plate 215. The top diffusion plate 212, the right diffusion plate 214, and the left diffusion plate 215 have light diffusing properties, and the top diffusion plate 212, the right diffusion plate 214, and the left diffusion plate 215 respectively diffuse the light incident from the light source E, so that uniform diffused light is irradiated onto the surface Wf of the workpiece W. Note that, of the top diffusion plate 212, the bottom diffusion plate 213, the right diffusion plate 214, and the left diffusion plate 215, the light absorbing region 520 adjacent to the arrangement panel 113 (the hatched area in FIG. 5D and FIG. 5E) is painted black or is made of a black material, and details will be described later.
[0038] That is, the light emitted from the light source E in the top light source region Bt is diffused by the top diffusion plate 212 and then emitted from the top diffusion plate 212 toward the surface Wf of the workpiece W as illumination light Li. The light emitted from the light source E in the center light source region Bc is diffused by the top diffusion plate 212 and then emitted from the top diffusion plate 212 toward the surface Wf of the workpiece W as illumination light Li. The light emitted from the light source E in the right light source region Br is diffused by the right diffusion plate 214 and then emitted from the right diffusion plate 214 toward the surface Wf of the workpiece W as illumination light Li. The light emitted from the light source E in the left light source region Bl is diffused by the left diffusion plate 215 and then emitted from the left diffusion plate 215 toward the surface Wf of the workpiece W as illumination light Li. In this way, the light from the light source E is diffused by the diffusion member 21 as it passes through the diffusion member 21. In addition, the diffused light generated by diffusing the light with the diffusion member 21 is irradiated onto the surface Wf of the workpiece W as uniform illumination light Li.
[0039] In this way, the top light source region Bt, center light source region Bc, right light source region Br, and left light source region Bl of the diffusion member 21 generate illumination light Li that is irradiated from the diffusion member 21 toward the surface Wf of the workpiece W at angles different from one another. In response to this, the controller 6 that controls the illumination unit 2 can change the lighting region from which light is emitted from the light source E, among the top light source region Bt, center light source region Bc, right light source region Br, and left light source region Bl. In this way, by changing the lighting region, the angle at which the diffused light is incident on the surface Wf of the workpiece W as illumination light Li can be changed.
[0040] In this way, the above-mentioned diffuse illumination unit 27 (FIG. 2) is configured by the diffusion member 21, the reflection member 23, and the illumination board 25. Furthermore, as described above, the illumination unit 2 has a direct illumination unit 28 that irradiates light from the light source directly toward the surface Wf of the workpiece W without diffusing the light, and a polarized illumination unit 29 that irradiates polarized light toward the surface Wf of the workpiece W. As shown in FIGS. 5E and 5F, the direct illumination unit 28 and the polarized illumination unit 29 are arranged on the arrangement panel 113.
[0041] Therefore, the controller 6 can selectively illuminate the workpiece W with "diffuse lighting" by turning on the light source E of the diffuse lighting unit 27 to irradiate the workpiece W with diffused light, "direct lighting" by turning on the light source 281 of the direct lighting unit 28 to irradiate the workpiece W with light from the light source without diffusing it, and "polarized lighting" by turning on the light source 291 of the polarized lighting unit 29 to irradiate the workpiece W with polarized light.
[0042] As described above, the imaging unit 3 has two cameras 31A and 31B, which are provided on the arrangement panel 113. Specifically, as shown in FIG. 5E and FIG. 5F, the head unit 11 is provided with condenser lenses 311A and 311B (objective lenses) of the cameras 31A and 31B, respectively, corresponding to the openings of the arrangement panel 113. In the length direction Dl, the condenser lens 311B of the camera 31B is located between the condenser lens 311A of the camera 31A and the top diffusion plate 212. The camera 31A condenses the reflected light Lr from the surface Wf of the workpiece W on the solid-state imaging element by the condenser lens 311A, and causes the solid-state imaging element to generate a code image Ic. Similarly, the camera 31B condenses the reflected light Lr from the surface Wf of the workpiece W on the solid-state imaging element by the condenser lens 311B, and causes the solid-state imaging element to generate a code image Ic. In this case, the camera 31A is a narrow-view camera, whereas the camera 31B is a wide-view camera, and the view of the camera 31A is narrower than that of the camera 31B. Therefore, if the number of pixels of the image sensors provided in each camera is equal, the resolution of the code image Ic captured by the camera 31A is higher than the resolution of the code image Ic captured by the camera 31B. In general, the size of a DPM (Direct Part Marking) code is smaller than the size of a code attached to a normal label. Therefore, it is preferable to capture the DPM code with the narrow-view camera 31A so that the proportion of the DPM code occupying the camera's view is as high as possible and a high-resolution code image can be obtained.
[0043] The arrangement panel 113 is also provided with a distance measurement unit 4. The distance measurement unit 4 has a TOF (Time of Fight) type distance sensor 41, which has a light-emitting unit 43 that emits light toward the fields of view of the cameras 31A and 31B and a light-receiving unit 42 that detects light returning from the fields of view of the cameras 31A and 31B, and measures the distance to an object (including a workpiece W) present in the fields of view of the cameras 31A and 31B based on the time from when the light-emitting unit 42 emits light to when the light-receiving unit 42 receives the light.
[0044] Further, the arrangement panel 113 is provided with the LD irradiation section 51 and the LED irradiation section 52 of the aimer irradiation section 5. Specifically, as shown in Fig. 5E and Fig. 5F, the lens 511 of the LD irradiation section 51 and the lens 521 of the LED irradiation section 52 are fitted into the arrangement panel 113. In the width direction Dw, the LD irradiation section 51 (lens 511) is arranged on one side Dw1 of the cameras 31A and 31B, and the LED irradiation section 52 (lens 521) is arranged on the other side Dw2 of the cameras 31A and 31B.
[0045] FIG. 6A is a diagram showing the operation of the aimer irradiation unit 5. The LD irradiation unit 51 irradiates an object (including a workpiece W) present in the field of view of the camera 31A with the aimer light L51, which is composed of two linear visible lights intersecting at a center point. The aimer light L51 indicates a predetermined range within the field of view of the camera 31A. The LED irradiation unit 52 irradiates the object with the aimer light L52, which is composed of a substantially rectangular visible light. The aimer irradiation unit 5 indicates the distance to the object by the aimer light L51 and the aimer light L52. For example, the aimer light L51 has a red color, and the aimer light L52 has a green color. When the object is close to the code reading device 1, the aimer light L52 is shifted to one side with respect to the center point of the aimer light L51, as shown in the "close" column of FIG. 6A. When the distance of the object to the code reading device 1 is appropriate, the center point of the aimer light L51 and the aimer light L52 overlap, as shown in the "appropriate" column of FIG. 6A. When the object is far from the code reading device 1, the aimer light L52 shifts to the other side with respect to the center point of the aimer light L51, as shown in the "far" column of Fig. 6A. In particular, the aimer irradiation unit 5 is configured such that as the work surface approaches a state where the focus of the camera 31A is matched, the center of the aimer light L51 and the center of the aimer light L52 approach each other, and the center of the aimer light L51 and the center of the aimer light L52 overlap when the work surface is in focus with the camera 31A. In other words, the aimer light L51 and the aimer light L52 indicate that the focus of the camera 31A is matched with the work surface and that the camera 31A can generate the code image Ic by overlapping the center of the aimer light L51 and the center of the aimer light L52, so that the user can easily grasp the timing when a good code image Ic can be obtained.
[0046] In front view, the LD irradiator 51 is disposed on one side Dw1 of the condenser lens 311A, and the LED irradiator 52 is disposed on the other side Dw2 of the condenser lens 311A. In this arrangement, in order to irradiate the aimer light L51 and L52 within the field of view of the condenser lens 311A, the LD irradiator 51 and the LED irradiator 52 each emit the aimer light L51 and the aimer light L52 at an inclination in the Dw direction with respect to the optical axis Ac of the condenser lens 311A. In other words, the LD irradiator 51 emits the aimer light L51 in a direction intersecting the optical axis Ac of the condenser lens 311A so that the light of the aimer light L51 moves to the other side Dw2 as it travels to the front side Sf (i.e., so as to approach the optical axis Ac). The LED irradiation unit 52 emits the aimer light L52 in a direction intersecting the optical axis Ac of the condenser lens 311A so that the light of the aimer light L52 moves to one side Dw1 as it travels to the front side Sf (i.e., approaches the optical axis Ac). The configuration for bending the aimer light L51, L52 in this way will be described next.
[0047] FIG. 6B is a diagram showing a schematic configuration of the LD irradiation section of the aimer irradiation section. This LD irradiation section 51 emits the aimer light L51 by forming the light from the light source, which is an LD (Laser Diode), into the cross shape of L51 by the lens 511. This lens 511 has both the lens function shown in the "Cross-shaped lens" column of FIG. 6B and the prism function shown in the "Prism" column. Here, the function of the cross-shaped lens means the function of forming the light incident parallel to the optical axis of the cross-shaped lens into a cross shape, and the traveling direction of the main ray of the light beam condensed by the cross-shaped lens coincides with the traveling direction of the light. In addition, the function of the prism means the function of emitting the light incident at a predetermined incident angle at an exit angle different from the incident angle. Therefore, the lens 511, which has both the function of the cross-shaped lens and the function of the prism, forms the incident light into a cross shape while refracting the incident light in a direction intersecting the optical axis of the incident light. By irradiating the aimer light L51 in the Dw2 direction in this way, the aimer light L51 can be irradiated to the field of view of the camera 31A corresponding to the central part of the condenser lens 311A of the camera 31A where the optical characteristics (e.g., aberration, etc.) of the condenser lens 311A are good. Note that the aimer light L51 is not limited to a cross shape.
[0048] FIG. 6C is a diagram showing a schematic configuration of the LED irradiation section of the aimer irradiation section. The LED irradiation section 52 has a lens 521, a light source 522 which is an LED (Light Emitting Diode), and an aperture 523 provided between the lens 521 and the light source 522. The lens 521 is a cross-shaped lens, and the lens 521, the aperture 523, and the light source 522 are arranged in a direction intersecting with the optical axis of the lens 521. Therefore, the lens 521 collects light that has entered through the aperture 523 from a direction intersecting with the optical axis of the lens 521. By irradiating the aimer light L52 in this way while tilting it in the Dw1 direction, the aimer light L52 can be irradiated to the field of view of the camera 31A corresponding to the central part of the condenser lens 311 of the camera 31A where the optical characteristics of the condenser lens 311 are good.
[0049] FIG. 7 is a side view showing a schematic positional relationship between the reflecting member and the illumination board in the front-rear direction. The optical axis Ac shown in FIG. 7 is the optical axis Ac of the condenser lens 311A of the camera 31A. As shown in FIG. 7, the top diffusion plate 212 has a rear end Tpb, which is the end of the rear side Sb, and a front end Tpf, which is the end of the front side Sf, in the front-rear direction Dfs. The top diffusion plate 212 has a shape TP in which the distance Δ from the optical axis Ac increases from the rear end Tpb toward the front end Tpf. The distance between the top diffusion plate 212 and the optical axis Ac can be defined as the interval between the optical axis Ac and the top diffusion plate 212 in a direction perpendicular to the optical axis Ac. The illumination board 25 is disposed on the rear side Sb of the rear end Tpb of the shape TP (i.e., the top diffusion plate 212) in the front-rear direction Dfs, and the light source E of the illumination board 25 irradiates light from the rear side Sb of the rear end Tpb toward the top diffusion plate 212.
[0050] In particular, the light emitted from the light source E in the top light source region Bt passes through one side Dl1 of the partition plate 236 and reaches the top diffusion plate 212. At this time, light Le1 directly incident from the light source E to the top diffusion plate 212, light Le2 emitted from the light source E and then reflected by the inner wall of the top cover 232 and then incident on the top diffusion plate 212, and light Le3 reflected by the inner wall of the partition plate 236 and then incident on the top diffusion plate 212 pass through the top diffusion plate 212 and are diffused by the top diffusion plate 212. Although not shown, the light emitted from the light source E in the center light source region Bc is absorbed by the light absorbing region 520 while the light directly incident on the top diffusion plate 212 and the light reflected by the inner wall of the partition plate 236 are diffused by the top diffusion plate 212. In this way, the light absorbing region 520 suppresses the light passing through the offset portion of the diffusion member 21 from becoming stray light to the cameras 31A and 31B.
[0051] 7, in the front-rear direction Dfs, the placement panel 113 is disposed at an offset amount F on the rear side Sb from the rear end Tpb of the tapered shape TP. Therefore, the cameras 31A and 31B, the direct illumination unit 28, the polarized illumination unit 29, the distance sensor 41, the LD irradiation unit 51, and the LED irradiation unit 52 disposed on the placement panel 113 are also disposed at an offset amount F on the rear side Sb from the rear end Tpb of the tapered shape TP. The placement panel 113 is inclined with respect to the end face of the opening 112, and is disposed non-parallel to each other. As a result, when the end face of the head unit 11 (opening 112) and the work surface Wf are substantially parallel to each other, the optical axis Ac of the camera 31A reflected by the work surface Wf is configured to face the top diffusion plate 212 of the diffusion member 21.
[0052] As described above, the controller 6 can selectively illuminate the workpiece W with "diffuse lighting" by turning on the light source E of the illumination board 25 to illuminate the workpiece W with diffuse light, "direct lighting" by turning on the light source of the direct illumination unit 28 to illuminate the workpiece W, and "polarized lighting" by turning on the light source of the polarized illumination unit 29 to illuminate the workpiece W. The diffuse lighting, direct lighting, and polarized lighting are selectively used, for example, as follows.
[0053] Direct illumination is used to illuminate a code such as a barcode printed on a label. The controller 6 irradiates the surface Wf of the label (workpiece W) to which a code is attached with light emitted by the direct illumination unit 28 as illumination light Li, and acquires a code image Ic generated by the wide-field camera 31B. Polarized illumination is also used to illuminate a code such as a barcode printed on a label, similar to direct illumination. The controller 6 irradiates the surface Wf of the label (workpiece W) to which a code is attached with light emitted by the polarized illumination unit 29 as illumination light Li, while acquiring a code image Ic generated by the wide-field camera 31B. The controller 6 then generates a decoded result Rd by decoding the code image Ic generated based on the direct illumination or polarized illumination.
[0054] The diffuse lighting is applied to illuminate the code (DPM code) applied by DPM (Direct Part Marking) to the surface Wf of the specular workpiece W. The controller 6 uses the diffuse light emitted from the lighting board 25 and diffused by the diffusing member 21 as the illumination light Li to apply the diffuse light to the surface Wf of the workpiece W to which the DPM code is applied, and acquires the code image Ic generated by the narrow-field camera 31A. At this time, with the focus of the camera 31A on the surface Wf of the workpiece W, the camera 31A collects the reflected light Lr reflected specularly by the surface Wf of the workpiece W with the condenser lens 311A and receives the light with the solid-state imaging element, thereby generating the code image Ic. In other words, the position and angle of the diffusing member 21 relative to the camera 31A are fixed so that such an operation can be performed. 8, the illumination light Li is diffused by depressions on the specular surface Wf, i.e., by dots 801 of the DPM code, and is specularly reflected (specularly reflected) by the surface Wf other than the dots 801, so that diffused light Ld is reflected from the dots 801, and specularly reflected light Lr is reflected from the surface Wf other than the dots 801. Therefore, this code image Ic is a code image in which the luminance value of a portion 811 corresponding to the DPM code (e.g., dots 801) is lower than the luminance value of a portion 812 corresponding to the surface Wf of the workpiece W. The controller 6 then generates a decoded result Rd by decoding the code image Ic generated based on diffuse illumination.
[0055] In the embodiment configured as described above, the illumination light Li generated by diffusing the light emitted from the light source E (first light source) by the diffusion member 21 is irradiated onto the surface Wf (work surface) of the work W, and the reflected light Lr reflected by the surface Wf of the work W is collected by the condenser lens 311A. Then, the camera 31A (first camera) receives the light collected by the condenser lens 311A with a solid-state image sensor and generates a code image Ic. In addition, the diffusion member 21 has a tapered shape TP that is inclined in the front-rear direction Dfs (optical axis direction) so as to move away from the optical axis Ac toward the front side Sf of the optical axis Ac of the condenser lens 311A, and the length of the diffusion member 21 is secured in the direction perpendicular to the axis of the optical axis reflected by the work surface. For such a tapered shape TP of the diffusion member 21, the light source E is provided with the following configuration.
[0056] That is, the light source E irradiates light toward the diffusing member 21 from a position behind the rear end Tpb of the tapered shape TP of the diffusing member 21 in a front view from the front side Sf in the front-rear direction Dfs. In this configuration, the light source E irradiates light toward the diffusing member 21 from a position further behind the rear end Tpb of the reflecting member 23, which has a length in a direction perpendicular to the axis of the optical axis reflected by the workpiece surface. Therefore, a long distance can be ensured for the light to travel from the light source E to be diffused by the diffusing member 21. The light source E irradiates light toward the diffusing member 21 from behind the rear end of the diffusing member 21 (for example, the rear end of the tapered shape TP or the rear end of the offset portion) so that the light source E is not reflected in the camera 31A when the camera 31A receives the regular reflected light. As a result, since the light from the light source E is sufficiently spread at the stage of entering the diffusing member 21, it is possible to suppress the light source E (for example, the outer shape of the light source E) from being reflected on the specular workpiece surface.
[0057] Also provided is an illumination board 25 on which a plurality of light sources E are arranged, and the illumination board 25 is arranged at a position and angle such that the light emitted from each of the plurality of light sources E reaches the diffusion member 21.
[0058] In particular, the illumination board 25 is disposed behind the rear end Tpb of the tapered shape TP of the diffusion member 21 in a front view.
[0059] Moreover, the illumination board 25 has an inverted U-shaped board 251 having a main board section 252 (upper region) provided above the camera 31A, a right board section 254 (right region) extending downward from the main board section 252 on the right side of the camera 31A, and a left board section 255 (left region) extending downward from the main board section 252 on the left side of the camera 31A, when viewed from the front. A plurality of light sources E are arranged across the main board section 252, the right board section 254, and the left board section 255 in the board 251. In this configuration, it is not necessary to provide a space below the camera 31A for arranging the light sources E. Therefore, it is possible to ensure a space for the diffusion member 21 above the camera 31A, and to increase the area of the diffusion member 21 (particularly the top diffusion plate 212), while miniaturizing the code reading device 1.
[0060] Also provided is a reflecting member 23 (reflecting frame) that reflects light by covering the gap between the illumination board 25 and the diffusing member 21, and the diffusing member 21 emits, toward the surface Wf of the workpiece W, diffused light obtained by diffusing light Le1 that is emitted from the multiple light sources E and directly enters the diffusing member 21 without being reflected by the reflecting member 23, diffused light obtained by diffusing light Le2 that is emitted from the multiple light sources E and reflected by the reflecting member 232, and light Le3 that is reflected by the partition plate 236. With this configuration, it is possible to further improve the uniformity of the light diffused by the diffusing member 21.
[0061] Also provided are an LD irradiation unit 51 (first aimer) that irradiates the surface Wf of the workpiece W with an aimer light L51 (first aiming light) that indicates a predetermined range within the field of view of the camera 31A, and an LED irradiation unit 52 (second aimer) that irradiates the surface Wf of the workpiece W with an aimer light L52 (second aiming light) that indicates the distance to the surface Wf of the workpiece W based on the positional relationship with the aimer light L51. The smaller the difference between the distance between the condenser lens 311A and the surface Wf of the workpiece W and the focal length of the condenser lens 311A, the closer the aimer light L52 is to the center of the aimer light L51, and the aimer light L52 is irradiated to the center of the aimer light L51 when the focus of the condenser lens 311A is aligned with the surface Wf of the workpiece W. In this configuration, the user can accurately focus the condenser lens 311A on the surface Wf of the workpiece W by operating the code reading device 1 while visually checking the positional relationship between the aimer light L51 and the aimer light L52.
[0062] In addition, the wavelength (red wavelength) of the aimer light L51 is different from the wavelength (green wavelength) of the aimer light L52. In this configuration, the aimer light L51 and the aimer light L52 can be easily distinguished from each other, and the operability of the user can be improved.
[0063] In addition, in a front view, the LD irradiation unit 51 and the LED irradiation unit 52 are disposed on the sides of the condenser lens 311A. In this arrangement, in order to irradiate the aimer light L51 and L52 at the center of the field of view of the camera 31A, the LD irradiation unit 51 emits the aimer light L51 in a direction intersecting the optical axis Ac of the condenser lens 311A, and the LED irradiation unit 52 emits the aimer light L52 in a direction intersecting the optical axis Ac of the condenser lens 311A. In this configuration, the user can operate the code reading device 1 while visually checking the positional relationship between the aimer light L51 and the aimer light L52, thereby aligning a portion of the condenser lens 311A having good optical characteristics (the center portion) with the code.
[0064] The LD irradiation unit 51 has a lens 511 that has both a cross-shaped lens function and a prism function. The prism function of the lens 511 refracts the direction in which the aimer light L51 is emitted in a direction intersecting the optical axis Ac of the condenser lens 311A. In this configuration, the lens 511 that has the cross-shaped lens function also functions as a prism to refract the light in a direction intersecting the optical axis Ac of the condenser lens 311A, so that the code reader 1 can be made compact.
[0065] In addition, the diffusing member 21 has a textured back surface (processed surface), and the light is diffused by the back surface as it passes through the back surface. With this configuration, it is possible to further improve the uniformity of the light diffused by the diffusing member 21.
[0066] Also, a direct illumination unit 28 having a light source 281 (second light source) is provided, which irradiates the light emitted by the light source 281 onto the surface Wf of the workpiece W without diffusing it, and a camera 31B which generates a code image Ic by receiving the light irradiated by the direct illumination unit 28 and reflected by the surface Wf of the workpiece W. In addition, in a front view, the camera 31A is disposed on the other side Dl2 (lower side) of the camera 31B. In addition, a top diffusion plate 212 of the diffusion member 21, which diffuses the light emitted from the light source E (first light source) of the top light source region Bt or the center light source region Bc, is disposed on one side Dl1 (upper side) of the camera 31B. In this configuration, in a front view, the camera 31B is provided between the top diffusion plate 212 (diffusion region) of the diffusion member 21, which diffuses the light emitted from the light source E (first light source) of the top light source region Bt or the center light source region Bc, and the camera 31A. In other words, a wide distance is ensured between the top diffusion plate 212 and the camera 31A. Therefore, when the top diffusion plate 212 is viewed from the camera 31A through the surface Wf of the workpiece W functioning as a mirror surface, the area ratio of the top diffusion plate 212 to the field of view of the camera 31A can be increased. This allows the size of the diffusion member 21 to be relatively small, making it possible to miniaturize the device itself.
[0067] In addition, in the front-rear direction Dfs or the optical axis direction, the rear end Tpb (FIG. 7) of the diffusion member 21 is offset forward from the condenser lens 311A. This allows the diffusion member 21 to be closer to the workpiece side, thereby increasing the surface ratio of the top diffusion plate 212 to the field of view of the camera 31A, and making it easier to read the DPM code in a bright field manner. In this configuration, the offset portion of the diffusion member 21 is provided with the above-mentioned light absorbing region 520 to prevent light passing through the offset portion from becoming stray light for the cameras 31A and 31B. In addition, the condenser lens may be coated with an anti-reflection coating to prevent stray light.
[0068] As described above, in this embodiment, the code reading device 1 corresponds to an example of a "code reading device" of the present invention, the surface Wf corresponds to an example of a "work surface" of the present invention, the work W corresponds to an example of a "work" of the present invention, the light sources E of the top light source region Bt and the center light source region Bc correspond to an example of a "first light source" of the present invention, the condensing lens 311A corresponds to an example of a "condensing lens" of the present invention, the camera 31A corresponds to an example of a "first camera" of the present invention, the optical axis Ac of the condensing lens 311A corresponds to an example of an "optical axis" of the present invention, the front-rear direction Dfs corresponds to an example of an "optical axis direction" of the present invention, the tapered shape TP corresponds to an example of an "inclined shape" of the present invention, the diffusing member 21 corresponds to an example of a "diffusing member" of the present invention, and the head unit 11 corresponds to an example of a "head unit" of the present invention. The illumination board 25 corresponds to an example of an "illumination board" of the present invention, the main board section 252 corresponds to an example of an "upper region" of the present invention, the right board section 254 corresponds to an example of a "right region" of the present invention, the left board section 255 corresponds to an example of a "left region" of the present invention, the board 251 corresponds to an example of a "light source arrangement section" of the present invention, the reflective member 23 corresponds to an example of a "reflective frame" of the present invention, the aimer light L51 corresponds to an example of a "first aiming light" of the present invention, the LD irradiation section 51 corresponds to an example of a "first aimer" of the present invention, the aimer light L52 corresponds to an example of a "second aiming light" of the present invention, the LED irradiation section 52 corresponds to an example of a "second aimer" of the present invention, the direct illumination section 28 corresponds to an example of a "direct illumination section" of the present invention, and the camera 31B corresponds to an example of a "second camera" of the present invention.
[0069] The present invention is not limited to the above-mentioned embodiment, and various modifications can be made to the above-mentioned embodiment without departing from the spirit of the present invention. For example, in order to reduce the amount of light that is diffused by the left diffusion plate 215 and becomes unpolarized and is irradiated when the polarized illumination unit 29 irradiates the polarized illumination, a part of the left diffusion plate 215 (for example, an end of the front side Sf, etc.) may be finished in black to absorb the polarized illumination.
[0070] Furthermore, the positional relationship between the diffusion member 21 and the light source E can be appropriately changed as shown in FIG. 9 or FIG.
[0071] 9 is a side view showing a first modified example of the code reading device. In the first modified example, a pair of illumination boards 261 are disposed adjacent to the top diffusion plate 212 so as to sandwich the top diffusion plate 212 (diffusion member) in the width direction Dw, and each illumination board 261 is provided with a light source E. A reflection mirror 262 is provided so as to face the top diffusion plate 212 from the rear side Sb. The light source E of the illumination board 261 emits light toward the reflection mirror 262. The light emitted from the light source E is reflected by the reflection mirror 262 toward the top diffusion plate 212 and passes through the top diffusion plate 212 (light Lm1 in FIG. 9). This light Lm1 is diffused as it passes through the top diffusion plate 212, and is irradiated onto the surface Wf of the workpiece W as diffused light. In other words, in this modified example, light is irradiated onto the diffusing member via a reflecting member provided on the optical path between the light source and the diffusing member so that the light source is not reflected by camera 31A when camera 31A receives specularly reflected light.
[0072] That is, in the first modified example, the light source E (first light source) irradiates light toward the reflection mirror 262 (reflection member) arranged so as to face the top diffusion plate 212 (diffusion member) from the rear side Sb in a front view, and the light reflected by the reflection mirror 262 is made to enter the top diffusion plate 212. In this manner, the light emitted from the light source E passes through the reflection mirror 262 and then enters the top diffusion plate 212. Therefore, it is possible to ensure a long distance over which the light travels from when it is emitted from the light source E until it is diffused by the top diffusion plate 212. As a result, it is possible to suppress the light source E from being reflected in the light emitted from the light source E and diffused by the top diffusion plate 212.
[0073] FIG. 9 is a side view showing a second modified example of the code reading device. In the second modified example, instead of providing the light source E on the rear side Sb of the top diffusion plate 212 in the front-rear direction Dfs, the light source E is provided on the front side Sf of the top diffusion plate 212. Specifically, an illumination board 263 is disposed on the front side Sf of the top diffusion plate 212, and the light source E is provided on this illumination board 263. The light source E of the illumination board 263 emits light toward the surface of the front side Sf of the top diffusion plate 212. The light emitted from the light source E is diffused by the top diffusion plate 212, and a part of the light proceeds to the front side Sf (light Lm2 in FIG. 9). This light Lm2 is diffused with reflection by the top diffusion plate 212, and is irradiated as diffused light onto the surface Wf of the workpiece W. That is, in this modified example, the light is irradiated from in front of the diffusion member toward the diffusion member so that the light source is not reflected in the camera 31A when the camera 31A receives the regular reflection light. The illumination board 263 may be disposed on the bottom diffusion plate 213 .
[0074] That is, in the second modified example, the light source E (first light source) irradiates light from the front side Sf of the top diffusion plate 212 (diffusion member) toward the top diffusion plate 212 in a front view. In this configuration, the light reflected and diffused by the surface (front surface) of the front side Sf of the top diffusion plate 212 is emitted from the top diffusion plate 212. As a result, it is possible to suppress the light source E from being reflected in the light emitted from the light source E and diffused by the top diffusion plate 212. [Industrial Applicability]
[0075] The present invention is applicable to any technology that generates a code image by irradiating light onto a work surface on which a code is provided and receiving the light reflected by the work surface with a camera. [Explanation of symbols]
[0076] 1...Code reader Wf: Surface Wf W…Work Bt: Top light source area Bc: Center light source area E…Light source (1st light source) 311A…Condenser lens 31A…Camera (first camera) Ac…optical axis Dfs…Anteroposterior direction (optical axis direction) TP: Tapered shape 21... Diffusion member 11...Head section 25…Lighting board 252...Main board section (upper area) 254...Right board section (right area) 255...Left board section (left side area) 251...Substrate (light source placement part) 23...Reflective member (reflective frame) L51…Aimer light (first aiming light) 51...LD irradiation unit (first aimer) L52…Aimer light (second aiming light) 52…LED irradiation unit (second aimer) 28…Direct lighting section 31B…Camera (second camera)
Claims
1. A portable code reader that generates a code image by irradiating a planar light onto a specular work surface having a code, receiving the light specularly reflected by the work surface, and diffusively reflecting the light irradiated onto a portion corresponding to the code, A first light source; A condenser lens that condenses light reflected by the work surface; a first camera that receives the light focused by the focusing lens and generates the code image; A diffusing member having an inclined shape that gradually widens as it moves away from the first camera, diffusing the light emitted from the first light source and emitting the diffused light toward the work surface; Equipped with The position and angle of the diffusion member are fixed with respect to the first camera so that the specularly reflected light from the workpiece surface is received by the first camera in a state where the focus of the first camera is aligned with the workpiece surface; The first light source irradiates light toward the diffusing member from a position behind or in front of a rear end of the diffusing member so that the light source is not reflected in the first camera when the first camera receives the specularly reflected light, or irradiates light onto the diffusing member via a reflecting member provided on an optical path between the first light source and the diffusing member. A portable code reading device.
2. The light source further includes an illumination board on which a plurality of light sources including the first light source are arranged, the illumination board is disposed at a position and angle such that the light emitted from each of the plurality of light sources reaches the diffusion member; 2. The portable code reader according to claim 1.
3. the illumination board is disposed rearward of a rear end of the inclined shape of the diffusion member in the front view, 3. A portable code reader according to claim 2.
4. the illumination board has a light source arrangement section having an inverted U shape in the front view, the light source arrangement section having an upper region provided above the first camera, a right region extending downward from the upper region on the right side of the first camera, and a left region extending downward from the upper region on the left side of the first camera, The plurality of light sources are arranged in the light source arrangement section, and include a light source arranged in the right region, a light source arranged in the upper region, and a light source arranged in the left region.
4. A portable code reader according to claim 3.
5. a reflection frame that covers a gap between the illumination board and the diffusion member to reflect light; The diffusing member emits, toward the work surface, diffused light obtained by diffusing light emitted from the plurality of light sources and directly entering the diffusing member without entering the reflection frame, and diffused light obtained by diffusing light emitted from the plurality of light sources and reflected by the reflection frame.
5. A portable code reader according to any one of claims 2 to 4.
6. A first aimer that irradiates a first aiming light indicating a predetermined range within the field of view of the first camera onto the work surface; A second aimer that irradiates a second aiming light onto the work surface, the second aiming light indicating a distance to the work surface based on a positional relationship with the first aiming light; Further equipped with As the focus of the first camera approaches the workpiece surface, the distance between the center of the first aiming light and the center of the second aiming light decreases, The first aimer and the second aimer indicate that the focus of the first camera is aligned with the workpiece surface and that the first camera is receiving the specularly reflected light from the workpiece surface when the center of the first aiming light and the center of the second aiming light overlap.
2. The portable code reader according to claim 1.
7. The wavelength of the first aiming light is different from the wavelength of the second aiming light, 7. A portable code reader according to claim 6.
8. In the front view, the first aimer and the second aimer are disposed on the sides of the condenser lens, The first aimer emits the first aiming light in a direction intersecting the optical axis of the condenser lens, The second aimer emits the second aiming light in a direction intersecting the optical axis of the condenser lens.
7. A portable code reader according to claim 6.
9. The first aimer has a lens having a prism action, and refracts the direction in which the first aiming light is emitted in a direction intersecting the optical axis of the condenser lens by the prism action of the lens.
9. A portable code reader according to claim 8.
10. The diffusing member has a textured surface, and light is diffused by the textured surface as it passes through the textured surface.
2. The portable code reader according to claim 1.
11. A direct illumination unit having a second light source and irradiating the light emitted by the second light source onto the work surface without diffusing the light; A second camera that generates a code image by receiving light irradiated by the direct illumination unit and reflected by the work surface; Further equipped with When viewed from the front, the first camera is disposed below the second camera, A region of the diffusion member that diffuses the light emitted from the first light source is disposed above the second camera.
2. The portable code reader according to claim 1.
12. In the optical axis direction, a rear end of the diffusion member is offset forward with respect to the condenser lens.
2. The portable code reader according to claim 1.
13. A code reading method for generating a code image by irradiating a planar light onto a specular work surface having a code, receiving the light specularly reflected by the work surface, and diffusively reflecting the light irradiated onto a portion corresponding to the code, comprising: A step of causing light emitted from a first light source to be incident on a diffusing member; diffusing the light with the diffusing member; A step of irradiating the work surface with the light diffused by the diffusing member; A step of collecting the light reflected by the workpiece surface with a collecting lens; receiving the light focused by the focusing lens to generate the code image; Equipped with The diffusing member has an inclined shape that gradually widens as it moves away from the first camera, and diffuses the light emitted from the first light source and emits diffused light toward the work surface, The position and angle of the diffusion member are fixed with respect to the first camera so that the specularly reflected light from the workpiece surface is received by the first camera in a state where the focus of the first camera is aligned with the workpiece surface; The first light source irradiates light toward the diffusing member from a position behind or in front of a rear end of the diffusing member so that the light source is not reflected in the first camera when the first camera receives the specularly reflected light, or irradiates light onto the diffusing member via a reflecting member provided on an optical path between the first light source and the diffusing member. A code reading method comprising the steps of:
Citation Information
Patent Citations
Two-dimensional code reader
JP2000235614A
Optical information reading apparatus
JP2011059973A
Optical reader imaging module
JP2011060307A
Optical information reader
JP2017084089A
Portable optical reading device
JP2017091335A
