SCANNING SYSTEM AND METHOD FOR CONTROLLING AIMING LIGHT SOURCE
20230005234 ยท 2023-01-05
Inventors
- DONGSHENG WANG (Guangzhou, CN)
- JIANGTAO WEI (Shenzhen, CN)
- CHEN CHEN (Shenzhen, CN)
- ZIQIAN HAN (Suqian, CN)
Cpc classification
G06V10/60
PHYSICS
International classification
Abstract
A scanning system and method for controlling an aiming light source (7), comprising: an image sensor (4), which sequentially exposes a pixel array through a rolling shutter to acquire an image of the target, the pixel array includes effective pixels (5) and non-imaging pixels (6), the effective pixels (5) are pixels that are actually used for image decoding, and the non-imaging pixels (6) are pixels that are not actually used for image decoding; an aiming light source (7) for projecting an aiming pattern (8) to aim at a target; a control unit (12) for controlling the image sensor (4) and the aiming light source (7), so that the aiming light source (7) is in turned off state during the exposure time of the effective pixel (5), and the aiming light source (7) is turned on during at least part of the exposure time of the non-imaging pixels (6).
Claims
1. A scanning system for controlling an aiming light source (7), comprising: an image sensor (4), which sequentially exposes the pixel array through a rolling shutter to acquire an image of a target, the pixel array includes effective pixels (5) and non-imaging pixels (6), the effective pixels (5) are pixels that are actually used for image decoding, and the non-imaging pixels (6) are pixels that are not actually used for image decoding; an aiming light source (7) for projecting an aiming pattern (8) to aim at the target; a control unit (12) for controlling the image sensor (4) and the aiming light source (7), so that the aiming light source (7) is turned off during an exposure time of the effective pixel (5), and the aiming light source (7) is turned on during at least part of the exposure time of the non-imaging pixels (6).
2. The scanning system according to claim 1, wherein the image sensor (4) sequentially performs exposure with pixel rows as a unit, and the pixel row in which the effective pixel exists is defined as an effective pixel row (50), and the aiming light source (7) is turned off during the exposure time of the effective pixel row (50).
3. The scanning system according to claim 2, wherein the pixel row whose entire row is the non-imaging pixel (6) is defined as a non-imaging pixel row (60), and the aiming light source (7) is turned on during at least part of the exposure time of the non-imaging pixel row (60).
4. The scanning system according to claim 3, wherein the exposure time of the non-imaging pixel row (60) partially coincides with the exposure time of the effective pixel row (50), and the aiming light source (7) is turned on during the exposure time during which the non-imaging pixel rows (60) are individually exposed, and is turned off when the two exposure times coincide.
5. The scanning system according to claim 1, wherein the effective pixels (5) are pixels that actually participate in light-sensing, and the non-imaging pixels (6) are pixels that do not actually participate in light-sensing.
6. The scanning system according to claim 1, wherein image formed by the effective pixels (5) is used to extract characters for decoding, and image formed by the non-imaging pixels (6) is removed during image preprocessing.
7. The scanning system according to claim 1, wherein the aiming pattern (8) comprises an aiming frame (10) for framing the target, and the image (11) formed by the aiming frame (10) on the pixel array roughly frames all the effective pixels (5).
8. The scanning system according to claim 1, comprising an illumination source (13) for providing illumination light, the control unit (12) controls the illumination source (13) to be turned on during the exposure time of the effective pixels (5) of the image sensor (4) and to be turned off during the exposure time of the non-image pixels (6).
9. A scanning system for controlling an aiming light source (7), comprising: a camera (3), comprising a lens and an image sensor (4), the lens is configured to acquire an image of a target, and the image sensor (4) sequentially exposes the pixel array through a rolling shutter to convert the image of the target into an electrical signal; an aiming light source (7) for projecting an aiming pattern (8) to aim at the target, the aiming pattern (8) comprising a light spot (9) located in the camera's field of view, the light spot (9) maintains a relatively fixed position relative to the camera's field of view within the depth-of-field range of the camera, so that the image (11) formed by the aiming pattern (8) on the pixel array via the lens maintains a relatively fixed position; a control unit (12), for controlling the camera (3) and the aiming light source (7), so that the aiming light source (7) is turned on during the exposure time of the pixel corresponding to the image of the light spot (9) on the pixel array.
10. The scanning system according to claim 1, wherein the pixel array is sequentially exposed with a pixel row as a unit, and the aiming light source (7) is turned off during the exposure time of the pixel row corresponding to the image of the light spot (9).
11. The scanning system according to claim 1, wherein the pixel array is sequentially exposed in a pixel row as a unit, and the aiming light source (7) is turned on during the exposure time of the pixel row which is staggered from the image of the aiming pattern (8).
12. The scanning system according to claim 1, wherein the aiming light source (7) periodically projects the aiming pattern.
13. The scanning system according to claim 1, wherein the control unit (12) controls the automatic exposure of the camera (3) to adjust the exposure time of the next frame according to the quality of the previous frame, and adjust the turn-on time of the aiming light source (7) according to the exposure time of the next frame of image.
14. The scanning system according to claim 1, wherein the aiming pattern (8) comprises an aiming frame (10), which is configured to frame the target, and the aiming frame (10) marks the range of camera's field of view.
15. A scanning system for controlling an aiming light source (7), comprising: a camera (3), for acquiring an image of a target; an aiming light source (7), for projecting an aiming pattern (8) to aim at the target; a control unit (12), for controlling the camera (3) and the aiming light source (7), so that in a plurality of frames of images continuously acquired by the camera (3), the aiming light source (7) is only turned on in some frames.
16. The scanning system according to claim 1, wherein the control unit (12) only decodes the image acquired by the camera (3) when the aiming light source (7) is turned off.
17. The scanning system according to claim 1, wherein the camera (3) only transmits the image acquired when the aiming light source (7) is turned off to the control unit (12).
18. The scanning system according to claim 1, wherein the camera (3) comprises an image sensor (4) that sequentially exposes the pixel array through a rolling shutter to convert the image of the target into an electrical signal; controlling the aiming light source (7) to be turned on only in some frames by the control unit (12) is defined as a first mode; controlling the aiming light source to be turned off within the exposure time of the pixel row corresponding to the image of the aiming pattern (8) in the pixel array by the control unit (12) is defined as a second mode; the control unit (12) activates the first mode when the exposure time of the pixel row is greater than a threshold, and activates the second mode when the exposure time of the pixel row is lower than the threshold.
19. The scanning system according to claim 5, wherein the control unit (12) controls the automatic exposure of the camera (3) to adjust the exposure time of the next frame according to the quality of the previous frame, and to selectively activate the first mode or the second mode according to the exposure time of the next frame of image.
20. The scanning system according to claim 1, wherein comprising an illumination source (13) for providing illumination light, and the control unit (12) controls the illumination source (13) to be turned on during the exposure time of the effective pixels (5) of the image sensor (4), and to be turned off during the exposure time of the non-imaging pixel (6).
Description
BRIEF DESCRIPTION OF DRAWINGS
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
REFERENCE SIGNS
[0070] 1. Handheld terminal; 2. Scanning head; 3. Camera; 4. Image sensor; 5. Effective pixels; 50. Effective pixel row; 6. Non-imaging pixels; 60. Non-imaging pixel row; 7. Aiming light source; 8. Aiming pattern; 9. Light pot; 10. Aiming frame; 11. Image; 12. Control unit; 13. Illumination source; 14. Memory; 15 Imaging range.
DETAILED DESCRIPTION
[0071] In order to facilitate a better understanding of the purpose, structure, features and effects of the present application, the present application will now be further described with reference to the accompanying drawings and specific embodiments.
[0072] The scanning system for controlling the aiming light source 7 of the present application is mainly applied to the scanning system of the rolling shutter, so as to avoid or reduce the partial overexposure of the image caused by the aiming pattern 8 projected by the aiming light source 7. The scanning system can be used for various scanning engines, scanning guns, ring scanners, handheld terminals 1 (PDA), stationary scanners, image recognition robots, and the like. The following takes the handheld terminal 1 as an example to introduce the structure, function and control method of the scanning system of the present application in detail.
[0073] As shown in
[0074] The camera 3 includes a lens for capturing image(s) of the target and an image sensor 4 for photoelectric conversion of the image(s) of the target and the camera's field of view (FOV) has been known in advance. The image sensor 4 sequentially exposes the pixel array through the rolling shutter to capture the image(s) of the target in cooperation with the lens, and converts the image(s) of the target into electrical signals. Rolling shutter usually refers to sequential exposure in pixel row as a unit, but there are also sequential exposures in multi-pixel rows as units or exposure in pixel sub-areas, etc. The rolling shutter of the present application preferably uses a row-by-row exposure way. With supplementary reference to the image sensor 4 shown in
[0075] The aiming light source 7 is used to project the aiming pattern 8 to guide the user to aim at the target. The aiming light source 7 can usually use a laser with a diffractive optical element (DOE) or an LED with a lens to generate the aiming pattern 8, so that the aiming pattern 8 has a clear shape or outline, and the brightness of the aiming pattern 8 is also significantly higher than the ambient brightness. The aiming pattern 8 includes a light spot 9 in the center (usually a cross shape, but also a straight line or a circle, etc.) and an aiming frame 10 at the edge. Some of the aiming patterns 8 do not have the aiming frame 10 and only have the light spot 9. Within the depth of field of the camera, the light spot 9 is set to be located in the center of the camera's field of view, so that the relative position to the camera's field of view is fixed. This is because, although the camera's field of view changes proportionally with the change of the distance, the size of the light spot 9 also changes with the change of the distance in approximately the same proportion. Therefore, the position occupied by the light spot 9 in the camera's field of view remains substantially unchanged. Therefore, the image 11 formed by the light spot 9 on the pixel array of the image sensor 4 via the lens keeps the relative position fixed. Usually, the image 11 of the light spot 9 falls on several pixel rows in the center of the pixel array, which can also be known in advance.
[0076] Turning back to the image sensor 4 in the embodiment shown in
[0077] In the image sensor 4 in another embodiment shown in
[0078] In some embodiments (not shown, the same below), the imaging range of the lens is not necessarily circular, and the imaging range 15 of some special-shaped lenses may also be oval or even square.
[0079] The control unit 12 is used to control the image sensor 4 and the aiming light source 7. Specifically, according to a preset program stored in the memory, the exposure process of the pixel array of the image sensor 4 is controlled, and the turned on and off states of the aiming light source 7 are controlled during the exposure process.
[0080] The control unit 12 controls the frame rate of the camera 3 according to the preset program stored in the memory, and controls the exposure time of the pixel row of the image sensor 4 through automatic exposure, so as to adjust the exposure time of the pixel row when the next frame of image is captured according to the quality of the previous frame of image.
[0081] The control unit 12 can control the timing of the aiming light source 7 and the image sensor 4 through various solutions. The purpose of various solutions is to eliminate or reduce the partial overexposure of the target pattern caused by the aiming pattern 8 (mainly the light spot 9).
[0082] Solution 1: Referring to
[0083] Of course, the control unit 12 may not control the image sensor 4 through automatic exposure, but set a fixed exposure time, so that the exposure time of the pixel row remains a fixed length. The pixel array periodically sequentially exposes the non-imaging pixel row 60 and the effective pixel row 50. The aiming light source 7 is also set to periodically project the aiming pattern 8, the aiming light source 7 is turned on during the individual exposure time of the non-imaging pixel row 60, and the aiming light source 7 is turned off during the exposure time of the effective pixel row 50.
[0084] Solution 2: Referring to
[0085] Solution 3: Referring to the timing diagram shown in
[0086] Solution 4: Referring to the timing diagram shown in
[0087] Usually, an illumination source 13 is also included to provide illumination light to illuminate the target. The control unit 12 controls the illumination source 13 to be turned on during the exposure time of the effective pixels 5 of the image sensor 4 and turned off during the individual exposure time of the non-imaging pixels 6, so as to reduce the power consumption of the illumination source 13.
[0088] In this embodiment, the camera 3, the aiming light source 7 and the illumination source 13 are integrated together to form a scanning head 2. The control unit 12 on the main board of the handheld terminal 1 controls the scanning head 2 to collect the image of the targets. In some embodiments (not shown, the same below), the camera 3, the aiming light source 7, the illumination source 13, the control unit 12 and other elements are integrated together to form the scan engine. The image of the target can be collected by the scanning engine through the integrated control switch, and the aforementioned ring scanner adopts a similar structure. In some embodiments, the decoding chip can be additionally set exclusively for decoding the image of the target, instead of being decoded by the control unit 12.
[0089] The scanning system and method for controlling the aiming light source of the present application have the following beneficial effects:
[0090] The image sensor 4 sequentially exposes the pixel array through the rolling shutter to capture the image of the target. The pixel array includes effective pixels 5 and non-imaging pixels 6, the effective pixels 5 are pixels that are actually used for image decoding, and the non-imaging pixels 6 are pixels that are not actually used for image decoding. The control unit 12 controls the image sensor 4 and the aiming light source 7 so that the aiming light source 7 is turned off during the exposure time of the effective pixel 5, while the aiming light source 7 is turned on during at least part of the exposure time of the non-imaging pixel 6. The turn-on time of the aiming light source 7 is staggered from the exposure time of the effective pixels 5, so as to avoid partial overexposure of the images captured by the exposure of the effective pixels.
[0091] The image sensor 4 sequentially exposes a pixel array through a rolling shutter to convert the image of the target into an electrical signal. The control unit 12 controls the camera 3 and the aiming light source 7 so that the aiming light source 7 is turned off during the exposure time of the pixel corresponding to the image 11 of the light spot 9 on the pixel array. Therefore, the light spot 9 will not be captured by the image sensor 4, so as to avoid partial overexposure of the image due to the light spot 9.
[0092] The control unit 12 controls the camera 3 and the aiming light source 7, so that in a plurality of frames of images continuously captured by the camera 3, the aiming light source 7 is only turned on in some frames. Therefore, the aiming pattern 8 is projected by the aiming light source 7 to play an aiming role, and at the same time the aiming light source 7 is not turned on in other frames, the captured image will not be overexposed due to the aiming pattern 8.
[0093] The above are only the preferred embodiments of the present application, and are not intended to limit the present application. Therefore, any modification, equivalent replacement, improvement, etc. made to the above embodiments according to the technical practice of the present application still fall within the scope of the technical solution of the present application..
[0094] Is