Contact Image Sensor

The contact image sensor optimizes power usage and data validity by using a comparator and register to control illumination and data output based on encoder pulses, addressing inefficient power consumption and improving scanning efficiency.

JP2025525604AActive Publication Date: 2025-08-05WEIHAI HUALING OPTO ELECTRONICS CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025503003
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-01-30
Filing Date
2023-06-27
Publication Date
2025-08-05
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

Existing contact image sensors waste significant power due to continuous scanning and illumination during periods when the detection target is stationary or moving slowly, leading to inefficient power consumption and poor user experience.

Method used

A contact image sensor with a control unit that includes a comparator and register to compare encoder output pulses with predetermined scanning periods, generating illumination and scan trigger signals to optimize illumination time and power usage, and a data output unit to filter out invalid data, reducing unnecessary scanning and illumination.

Benefits of technology

Reduces power consumption and improves the validity of scanned data by optimizing illumination and data output based on the detection target's movement, addressing the inefficiencies of continuous scanning and illumination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025525604000001_ABST
    Figure 2025525604000001_ABST
Patent Text Reader

Abstract

The present disclosure provides a contact image sensor, the image sensor including a control unit (11), an illumination unit (12), a scanning unit (13), a data processing unit (14) and a data output unit (15), the control unit (11) configured to receive an output pulse from an encoder, the control unit (11) including a comparator (11_1), a register (11_2) and a sequence generating circuit (11_3), the comparator (11_1) comparing the output pulse with a predetermined scanning period stored in the register (11_2) and generating an illumination control signal. the sequence generating circuit (11_3) is configured to generate a scan trigger signal and determine an output trigger signal based on the output pulse; the illumination unit (12) is configured to illuminate the detection target based on the illumination control signal; the scanning unit (13) is configured to scan the detection target based on the scan trigger signal and obtain a scan signal; the data processing unit (14) is configured to process the scan signal and obtain an initial scan result; and the data output unit (15) is configured to obtain a target scan result based on the initial scan result and output the target scan result based on the output trigger signal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to the field of sensor technology, and more particularly to contact image sensors.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202310076387.8, filed on January 30, 2023, entitled "Contact Image Sensor," the entire disclosure of which is incorporated herein by reference in its entirety or in part. [Background technology]

[0003] In the related art, an image sensor is connected to a transmission mechanism of an object to be detected via an encoder and detects the object based on the output pulse of the encoder, but the image sensor in the prior art causes a huge power waste during its operation. Therefore, in the related art, there is a technical problem that power is wasted when the image sensor scans the detection target.

[0004] Currently, no effective solution has been proposed for the above problem. Summary of the Invention [Problem to be solved by the invention]

[0005] The embodiments of the present disclosure provide a contact image sensor to solve the technical problem that there is power waste at least when the image sensor scans an object. [Means for solving the problem]

[0006] According to one aspect of the embodiment of the present disclosure, there is provided a contact image sensor including a control unit 11, an illumination unit 12, a scanning unit 13, a data processing unit 14, and a data output unit 15, wherein the control unit 11 is configured to receive an output pulse from an encoder, where the output pulse is determined based on a moving speed of a detection target, the control unit 11 includes a comparator 11_1, a register 11_2, and a sequence generating circuit 11_3, the comparator 11_1 is configured to compare the output pulse with a predetermined scanning period stored in the register 11_2, and obtain an illumination control signal, and A contact image sensor is provided in which the sequence generating circuit 11_3 is configured to generate a scan trigger signal and determine an output trigger signal based on the output pulse, the illumination unit 12 is configured to illuminate the detection target based on the illumination control signal, the scanning unit 13 is configured to scan the detection target based on the scan trigger signal and obtain a scan signal, the data processing unit 14 is configured to process the scan signal and obtain an initial scan result, and the data output unit 15 is configured to obtain a target scan result based on the initial scan result and output the target scan result based on the output trigger signal.

[0007] Optionally, the comparator 11_1 is further configured to compare the output pulse with a predetermined scanning period stored in a register 11_2 in the control unit 11 to obtain a valid scanning period and an invalid scanning period, and determine a lighting control signal based on the valid scanning period and the invalid scanning period.

[0008] Optionally, the comparator 11_1 is further configured to determine a first illumination time within a period corresponding to the valid scanning period, the comparator 11_1 is further configured to determine a second illumination time within a period corresponding to the invalid scanning period, and the comparator 11_1 is further configured to determine an illumination control signal based on the valid scanning period, the invalid scanning period, the first illumination time, and the second illumination time, wherein the first illumination time is longer than the second illumination time.

[0009] Selectably, the illumination unit 12 is further configured to illuminate the detection target with a first power during a first illumination time within the valid scanning period, and the illumination unit 12 is further configured to illuminate the detection target with a second power during a second illumination time within the invalid scanning period, where the first power is greater than the second power.

[0010] Optionally, the lighting unit 12 illuminates with light emitting diodes.

[0011] Optionally, the scanning unit 13 is further configured to receive an optical signal generated from the detection target under illumination by the illumination unit 12 based on a scanning trigger signal, and convert the optical signal into an electrical signal to obtain a scanning signal.

[0012] Optionally, the data output unit 15 further includes a data output control unit 15_1, wherein the data output control unit 15_1 is configured to determine, in an invalid scanning period, an invalid scanning period whose adjacent next period is a valid scanning period as a target period; the data output control unit 15_1 is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain a target scanning result; and the data output control unit 15_1 is further configured to output the target scanning result based on an output trigger signal.

[0013] Optionally, the data output unit 15 further includes a data output control unit 15_1, where the data output control unit 15_1 is configured to determine an invalid scanning period as a target period, the data output control unit 15_1 is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain a target scanning result, and the data output control unit 15_1 is further configured to output the target scanning result based on an output trigger signal.

[0014] Optionally, the data output unit 15 further includes a buffer 15_2, where the buffer 15_2 is configured to store the initial scanning result. [Effects of the Invention]

[0015] In the embodiment of the present disclosure, a comparator 11_1 and a register 11_2 are added to the control unit 11 of the image sensor, and a data output control unit 15_1 is added to the data output unit 15. The comparator 11_1 is used to compare the output pulse from the encoder with the scanning period stored in the register 11_2. When the object to be detected does not move or does not need to be detected, because the encoder does not have an output pulse, it is possible to determine, based on the comparison result, when it is not necessary to illuminate the object to be detected, that is, to obtain an illumination control signal. The illumination unit 12 in the image sensor is controlled based on the illumination control signal, thereby reducing power consumption. The newly added data output control unit 15_1 can select data obtained by scanning, for example, it may output only valid data, or it may be configured to control not to output some data of the valid data that does not meet the requirements. This achieves the technical effects of reducing power consumption when the image sensor scans the object to be detected and improving the validity of the scanned data, and also solves the technical problem of power consumption when the image sensor scans the object to be detected. [Brief explanation of the drawings]

[0016] The drawings described herein are intended to provide a further understanding of the present disclosure and constitute a part of this application, and the illustrative embodiments of the present disclosure and the description thereof are intended to interpret the present disclosure and are not to be construed as unduly limiting the present disclosure.

[0017] [Figure 1] 1 is a schematic diagram of a contact image sensor provided in accordance with an embodiment of the present disclosure. [Figure 2] 1 is a schematic diagram of a contact image sensor provided according to the prior art; [Figure 3] 1 is a schematic diagram of a sequence control of a contact image sensor provided according to the prior art; [Figure 4]1 is a schematic diagram of an optional contact image sensor provided in accordance with the present disclosure. [Figure 5] FIG. 1 is a sequence control provided by the selectable contact image sensor of the present disclosure. [Figure 6] FIG. 2 is a sequence control provided by the selectable contact image sensor of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0018] In order to allow those skilled in the art to better understand the solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it should be apparent that the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments of the present disclosure, all other embodiments that can be obtained by those skilled in the art without any creative efforts should fall within the scope of protection of the present disclosure.

[0019] It should be noted that terms such as "first," "second," and the like in the specification, claims, and drawings of this disclosure are intended to distinguish between similar objects, but are not necessarily intended to describe a particular order or chronology. It should be understood that such terms, as used herein, may be interchanged where appropriate, such that the embodiments of the present disclosure described herein may be performed in orders other than those illustrated or described herein. Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover non-exclusive inclusions; for example, a process, method, system, product, or apparatus comprising a series of steps or units need not be limited to those steps or units expressly recited, but may include other steps or units not expressly recited or inherent in such process, method, product, or apparatus.

[0020] In the related art, contact image sensors are widely used in the field of industrial detection. To match the moving speed of the object to be detected in industrial detection, contact image sensors are generally connected to the transmission mechanism of the object to be detected via an encoder. The contact image sensor matches the output pulse of the encoder and generally uses the scanning unit and lighting unit of the contact image sensor to perform line trigger scanning in a free-running mode. The data processing unit outputs the image information scanned by the scanning unit in response to the output pulse of the encoder, forming a 1:1 scanned image of the object to be detected. However, in individual cases, the moving speed of the object to be detected may be significantly slow due to reasons such as when the object to be detected is replaced or when there is no need to detect individual objects. Furthermore, the object to be detected may be completely stationary for a long period of time, with its moving speed remaining at zero, and the encoder will not output pulses for a long period of time. At this time, the data processing unit of the contact image sensor does not receive the encoder output pulses, and there is no need for the scanning unit to send out the scanned image information. However, the scanning unit and lighting unit still perform line trigger scanning in free-running mode, and the matching light source system also illuminates, resulting in power waste (high-brightness lighting is particularly required for high-speed detection of low-gradation objects, and the current of each lighting unit is over 10A, consuming huge amounts of power). Furthermore, the scanning unit and lighting unit operate continuously, which creates a bad experience for the user.

[0021] FIG. 2 is a schematic diagram of a contact image sensor provided in the prior art. As shown in FIG. 2, the contact image sensor includes an illumination unit 201, a control unit 202, a scanning unit 203, a data processing unit 204 and a data output unit 205.

[0022] The sequence generating circuit in the control unit 202 generates each sequence logic signal and line trigger signal Sensor_TRIG2 required for the scanning unit 203, and controls the scanning unit 202 to perform free-running line trigger scanning of the contact image sensor using the free-running line trigger signal (i.e., free-running line period) Sensor_TRIG2. The sequence generating circuit in the control unit 202 also generates a trigger signal D_TRIG2 used to output the data output unit based on the TRIG1 signal from the external motor encoder 206. The sequence generating circuit in the control unit 202 also generates an illumination control signal LED2 required for the illumination unit 201. Light emitted from the illumination unit 201 irradiates the detection object, generating an optical signal on the detection object which enters the scanning unit 203. The scanning unit 203 converts the received optical signal into an electrical signal and transmits it to the data processing unit 204. The data processing unit 204 processes the data and transmits it to the data output unit 205. The data output unit 205 outputs data according to the D_TRIG2 signal generated by the control unit 202, and transmits the data to a host computer or an industrial computer. The above is the entire process of scanning and data processing of the contact image sensor.

[0023] 3 is a schematic diagram of a sequence control of a contact image sensor provided in the prior art. As shown in FIG. 3, a sequence generating circuit in a control unit 202 generates each sequence logic signal and a line trigger signal Sensor_TRIG2 required for a scanning unit 203, and controls the scanning unit 203 to perform free-running line trigger scanning of the contact image sensor using a free-running line trigger signal (i.e., a free-running line cycle) Sensor_TRIG2. The sequence generating circuit in the control unit 202 also generates a trigger signal D_TRIG2 used for outputting the data output unit based on the TRIG1 signal of an external motor encoder 206. The sequence generating circuit in the control unit 202 also generates an illumination control signal LED2 required for an illumination unit 201. As can be seen from FIG. 3, in each line cycle (Ta-1, Ta, Ta+1, Ta+2, Ta+3, Ta+4, Ta+5, Ta+6, Ta+7, Ta+8, Ta+9, Ta+10, ...) of the scanning unit, the illumination time of the illumination unit 201 is ton. The light emitted from the illumination unit 201 illuminates the object to be detected, generating an optical signal on the object to be detected, which enters the scanning unit 203. The scanning unit 203 converts the received optical signal into an electrical signal and transmits it to the data processing unit 204. The data processing unit 204 processes the data and then transmits it to the data output unit 205. The data output unit 205 outputs data Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, Vsa+10 based on the D_TRIG2 signal generated by the control unit 202 for the free-running line data SIG (Vsa-1, Vsa, Vsa+1, Vsa+2, Vsa+3, Vsa+4, Vsa+5, Vsa+6, Vsa+7, Vsa+8, Vsa+9, Vsa+10) (the valid data output trigger signals in D_TRIG2 are n-1, n, n+1, n+2, n+3, n+4 respectively, and the corresponding data signals are Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, Vsa+10 respectively), and transmits them to a host computer or an industrial computer.In the scanning operation of the contact image sensor, the illumination of lighting unit 1 is effective only during the scanning of data Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, and Vsa+10, but is ineffective during the scanning of Vsa+2, Vsa+3, Vsa+4, Vsa+5, and Vsa+6, resulting in huge power waste and a poor user experience. Therefore, there is a need to develop a contact image sensor that saves power and provides a good user experience.

[0024] To solve the above technical problem, an embodiment of the present disclosure provides a contact image sensor. FIG. 1 is a schematic diagram of a contact image sensor provided according to an embodiment of the present disclosure. As shown in FIG. 1, the contact image sensor includes a control unit 11, an illumination unit 12, a scanning unit 13, a data processing unit 14, and a data output unit 15. The image sensor will be described below.

[0025] The control unit 11 is configured to receive an output pulse from the encoder, where the output pulse is determined based on a moving speed of the detection object, and the control unit 11 includes a comparator 11_1, a register 11_2, and a sequence generating circuit 11_3; The comparator 11_1 is configured to compare the output pulse with a predetermined scanning period stored in the register 11_2 to obtain a lighting control signal; The sequence generating circuit 11_3 is configured to generate a scan trigger signal and determine an output trigger signal based on the output pulse; The lighting unit 12 is configured to illuminate the detection target based on the lighting control signal; the scanning unit 13 is configured to scan the detection target based on the scanning trigger signal and obtain a scanning signal; the data processing unit 14 is configured to process the scanning signal and obtain an initial scanning result; The data output unit 15 is configured to obtain a target scan result based on the initial scan result, and output the target scan result based on the output trigger signal.

[0026] A comparator 11_1 and a register 11_2 are added to the control unit 11 of the image sensor, and a data output control unit 15_1 is added to the data output unit 15. The comparator 11_1 is used to compare the output pulse from the encoder with the scanning period stored in the register 11_2. When the object to be detected does not move or does not need to be detected, because the encoder does not have an output pulse, it is possible to determine, based on the comparison result, when it is not necessary to illuminate the object to be detected, i.e., to obtain an illumination control signal. The illumination unit 12 in the image sensor is controlled based on the illumination control signal, thereby reducing power consumption. This achieves the technical effects of reducing power consumption when the image sensor scans the object to be detected and improving the validity of the scanned data, and also solves the technical problem of power consumption when the image sensor scans the object to be detected.

[0027] As an alternative embodiment, the comparator 11_1 is further configured to compare the output pulse with a predetermined scanning period stored in a register 11_2 in the control unit 11 to obtain a valid scanning period and an invalid scanning period, and determine a lighting control signal based on the valid scanning period and the invalid scanning period.

[0028] Here, the predetermined scanning period in register 11_2 can be adjusted as appropriate according to the actual application scenario, for example, it may be set and adjusted according to the pulse period output from the encoder when the detection target moves at a normal speed.

[0029] When the comparator 11_1 compares the output pulse with a predetermined scan period, it determines an effective scan period and an ineffective scan period corresponding to the output pulse based on the comparison result. For example, when the moving speed of the detection target is higher than a speed threshold, it can determine an effective scan period based on the output pulse generated by the encoder, but when the moving speed of the detection target is equal to or lower than the speed threshold, the comparator 11_1 can determine an ineffective scan period based on the output pulse generated by the encoder. In this way, by comparing the output pulse with a predetermined scan period, the comparator 11_1 can determine when the detection target requires normal illumination and when it does not require continuous illumination, i.e., determine an illumination control signal.

[0030] As an optional embodiment, the comparator 11_1 is further configured to determine a first illumination time within a period corresponding to the valid scanning period, the comparator 11_1 is further configured to determine a second illumination time within a period corresponding to the invalid scanning period, and the comparator 11_1 is further configured to determine an illumination control signal based on the valid scanning period, the invalid scanning period, the first illumination time, and the second illumination time, wherein the first illumination time is longer than the second illumination time.

[0031] In determining the illumination control signal based on the valid scanning period and the invalid scanning period, the comparator 11_1 may adjust the details of the illumination control corresponding to the illumination control signal, for example, control the illumination time in the valid scanning period and the invalid scanning period. For the valid scanning period, if the moving speed of the detection target is higher than the speed threshold, it indicates that the detection target needs to be scanned, i.e., needs sufficient illumination. Therefore, the illumination control signal corresponding to the valid scanning period can control the illumination unit 12 to illuminate for a first illumination time, so as to ensure that the detection target is sufficiently illuminated when scanned and an accurate and valid scanning result is obtained. On the other hand, for the invalid scanning period, if the moving speed of the detection target is equal to or lower than the speed threshold, it indicates that the detection target is stationary or moving slowly, i.e., the detection target does not need to be scanned and does not need to be illuminated. Therefore, the illumination control signal corresponding to the invalid scanning period can control the illumination unit 12 to illuminate for a second illumination time, so as to shorten the illumination time when the detection target does not need to be scanned, thereby achieving the technical effect of reducing power consumption.

[0032] The first illumination time and the second illumination time may be times within one illumination cycle. For example, one illumination cycle may be set, and in the illumination cycle, illumination may be provided only during the first illumination time / second illumination time, but illumination may not be provided during the remaining time within the illumination cycle T.

[0033] As an alternative embodiment, the lighting unit 12 is further configured to illuminate the detection target with a first power during a first lighting time in the valid scanning period, and to illuminate the detection target with a second power during a second lighting time in the invalid scanning period, where the first power is greater than the second power. After receiving the lighting control signal from the comparator 11_1, the lighting unit 12 can adjust the power used during lighting based on the lighting control signal. For example, when normal lighting is required during the first lighting time, the lighting unit 12 can illuminate with a higher first power to ensure the lighting effect. However, when lighting is not required during the second lighting time or when the lighting intensity needs to be reduced, the lighting unit 12 can illuminate with a lower second power to save power resources.

[0034] In addition, when generating the illumination control signal, the comparator 11_1 can directly use the illumination control signal to control the illumination unit 12 so that no illumination is provided to the detection target within the invalid scanning period, i.e., the second illumination time can be set to zero and / or the second power can be set to zero, etc.

[0035] As an alternative embodiment, the lighting unit 12 is illuminated by light emitting diodes.

[0036] In an optional embodiment, the scanning unit 13 is further configured to receive an optical signal generated from the detection target under the illumination of the lighting unit 12 according to the scanning trigger signal, convert the optical signal into an electrical signal, and obtain a scanning signal. The light emitted from the lighting unit 12 illuminates the detection target, and an optical signal is generated in the detection target and enters the scanning unit 13. The scanning unit 13 converts the received optical signal into an electrical signal, i.e., obtains a scanning signal, and transmits the scanning signal to the data processing unit 14, which then performs subsequent operations such as data processing.

[0037] In an alternative embodiment, the data output unit 15 further includes a data output control unit 15_1, wherein the data output control unit 15_1 is configured to determine, in an invalid scanning period, an invalid scanning period whose adjacent next period is a valid scanning period as a target period, the data output control unit 15_1 is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain a target scanning result, and the data output control unit 15_1 is further configured to output the target scanning result based on an output trigger signal. Since invalid data may exist in the scanning signal obtained by the scanning unit 13 after the illumination control signal is generated by the comparator 11_1 and the illumination unit 12 adjusts the illumination based on the illumination control signal, this embodiment can remove such invalid data by adding the data output control unit 15_1 to the data output unit 15 of the image sensor.

[0038] For example, at the boundary between an invalid scanning period and an effective scanning period, i.e., when the current period is an invalid scanning period and the next period is an effective scanning period, the illumination time and / or power to the detection target during the invalid scanning period may be low, resulting in one line of data being low and unusable among the effective data obtained by scanning. In this embodiment, the data corresponding to the period is deleted to improve the accuracy and usability of the data in the scanning result.

[0039] In an alternative embodiment, the data output unit 15 further includes a data output control unit 15_1, wherein the data output control unit 15_1 is configured to determine an invalid scanning period as a target period, the data output control unit 15_1 is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain the target scanning result, and the data output control unit 15_1 is further configured to output the target scanning result based on an output trigger signal. In the above, in addition to deleting only data corresponding to the period at the boundary between the valid scanning period and the invalid scanning period, this embodiment can also delete all data corresponding to the invalid scanning period and output only scanning results corresponding to the valid scanning period.

[0040] In an alternative embodiment, the data output unit 15 further includes a buffer 15_2 configured to store the initial scanning result, which is the scanning result that has not been subjected to the deletion process, i.e., the initial scanning result, so that the data can be easily retrieved, checked, analyzed, etc.

[0041] Based on the above embodiments and alternative embodiments, the present disclosure provides alternative contact image sensors, which are described below.

[0042] FIG. 4 is a schematic diagram of an optional contact image sensor provided according to the present disclosure. As shown in FIG. 4, the image sensor comprises an illumination unit 401, a control unit 402, a scanning unit 403, a data processing unit 404 and a data output unit 405.

[0043] The control unit 402 is made up of a comparator 4021, a register 4022, and a sequence generating circuit 4023, and the data output unit 405 is made up of a buffer 4051 and a data output control unit 4052. The register 4022 stores a fixed time T for the comparator 4021 to compare with the line period signal TRIG3 of the encoder. The sequence generating circuit in the control unit 402 generates each sequence logic signal and line trigger signal Sensor_TRIG4 required for the scanning unit 403, and controls the scanning unit 403 to perform free-running line trigger scanning of the contact image sensor based on the free-running line trigger signal (i.e., free-running line cycle) Sensor_TRIG4. The sequence generating circuit in the control unit 402 also generates a trigger signal D_TRIG4 used for outputting the data output unit based on the TRIG3 signal of the external motor encoder 406. A register 4022 in the sequence generating circuit in the control unit 402 stores a certain time T for comparison with the encoder line cycle signal TRIG3 in the comparator 4021, and generates an illumination control signal LED4 required for the illumination unit 401. The illumination control signal LED4 controls the bright and dark emission of the illumination unit 401, that is, the illumination unit 401 emits light normally during the effective scan line cycle, and emits weak light during the ineffective scan line cycle, reducing the time for the illumination unit to emit light. The light emitted from the illumination unit 401 illuminates the object to be detected, generating an optical signal on the object to be detected, which enters the scanning unit 403. The scanning unit 403 converts the received optical signal into an electrical signal and transmits it to the data processing unit 404. The data processing unit 404 processes the data and then transmits it to the data output unit 405. A buffer 4051 in the data output unit 405 temporarily stores the free-running line data, and a data output control unit 4052 further outputs the data according to the D_TRIG4 signal generated by the control unit 402, for transmission to a host computer or an industrial computer.

[0044] The actual operating conditions of the contact image sensor will now be described.

[0045] (1) Application 1 The control unit 402 is composed of a comparator 4021, a register 4022, and a sequence generating circuit 4023. The sequence generating circuit 4023 in the control unit 402 generates each sequence logic signal and a free-running line trigger signal Sensor_TRIG4 required for the scanning unit 403, and controls the scanning unit 403 to perform free-running line trigger scanning of the contact image sensor based on the free-running line trigger signal (i.e., free-running line period) Sensor_TRIG4. The register 4022 stores a certain time T for comparison with the encoder line period signal TRIG3 in the comparator 4021, and generates a lighting control signal LED4 required for the lighting unit 401. The lighting control signal LED4 controls the bright and dark emission of the lighting unit 401, i.e., the lighting unit 401 emits light normally during the effective scanning line period, and emits weak light during the ineffective scanning line period, reducing the time for the lighting unit to emit light.

[0046] FIG. 5 illustrates a sequence control diagram 1 provided by the selectable contact image sensor of the present disclosure. As shown in FIG. 5, by comparison, the illumination control signal LED4 illuminates LED4 for illumination time ton during times Tn-1, Tn, Tn+2, Tn+3, and Tn+4 of the encoder line cycle signal TRIG3, and illuminates LED4 for illumination time ton1 during time Tn+1 of TRIG3. The illumination time ton1 is much shorter than the illumination time ton, thereby significantly saving illumination power. The sequence generating circuit in the control unit 402 generates a trigger signal D_TRIG4 for output by the data output unit based on the TRIG3 signal from the external motor encoder 406. During each line cycle of the scanning unit (Ta-1, Ta, Ta+1, Ta+2, Ta+3, Ta+4, Ta+5, Ta+6, Ta+7, Ta+8, Ta+9, Ta+10, etc.), the illumination control signal LED4 controls the illumination unit 401 to emit light and illuminate in a sequence. The light emitted from the illumination unit 401 illuminates the object to be detected, generating an optical signal on the object to be detected, which enters the scanning unit 403. The scanning unit 403 converts the received optical signal into an electrical signal and transmits it to the data processing unit 404. The data processing unit 404 processes the data and then transmits it to the data output unit 405. The buffer 4051 in the data output unit 405 temporarily stores the free-running line data SIG (Vsa-1, Vsa, Vsa+1, Vsa+2, Vsa+3, Vsa+4, Vsa+5, Vsa+6, Vsa+7, Vsa+8, Vsa+9, Vsa+10), and the data output control unit 4052 further outputs data Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, Vsa+10 based on the D_TRIG4 signal generated by the control unit 402 (the valid data output trigger signals in D_TRIG4 are n-1, n, n+1, n+2, n+3, n+4 respectively, and the corresponding data signals are Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, Vsa+10 respectively), for transmission to the host computer or industrial computer.During the scanning operation of the contact image sensor, the illumination of lighting unit 1 is active only during the scanning periods of data Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, and Vsa+10, but is inactive during the scanning periods of Vsa+2, Vsa+3, Vsa+4, Vsa+5, and Vsa+6. During this period, the illumination time of the lighting unit within each line cycle is ton1, which is much smaller than the normal illumination time, greatly saving illumination power and emitting weak light, providing a good experience for customers.

[0047] (2) Application 2 In application 1, after lighting is performed according to the lighting control signal LED4, the lighting time of one line of data Vsa+7 in the valid data signal may be ton1, which is shorter than the normal lighting time ton. Therefore, the data of one line of valid data may be low, which may affect usage. Therefore, in application 2, the data output control unit 4052 in the data output unit 405 may not output this data Vsa+7.

[0048] The control unit 402 is composed of a comparator 4021, a register 4022, and a sequence generating circuit 4023. The sequence generating circuit 4023 in the control unit 402 generates each sequence logic signal and a free-running line trigger signal Sensor_TRIG4 required for the scanning unit 403, and controls the scanning unit 403 to perform free-running line trigger scanning of the contact image sensor based on the free-running line trigger signal (i.e., free-running line period) Sensor_TRIG4. The register 4022 stores a certain time T for comparison with the encoder line period signal TRIG3 in the comparator 4021, and generates a lighting control signal LED4 required for the lighting unit 401. The lighting control signal LED4 controls the bright and dark emission of the lighting unit 401, i.e., the lighting unit 401 emits light normally during the effective scanning line period, and emits weak light during the ineffective scanning line period, reducing the time for the lighting unit to emit light.

[0049] FIG. 6 illustrates the sequence control diagram 2 provided by the selectable contact image sensor of the present disclosure. As shown in FIG. 6, by comparison, the illumination control signal LED4 illuminates LED4 for illumination time ton during times Tn-1, Tn, Tn+2, Tn+3, and Tn+4 of the encoder line cycle signal TRIG3, and illuminates LED4 for illumination time ton1 during time Tn+1 of TRIG3. The illumination time ton1 is much shorter than the illumination time ton, thereby significantly saving illumination power. The sequence generating circuit in the control unit 402 generates a trigger signal D_TRIG4 for output by the data output unit based on the TRIG3 signal from the external motor encoder 406. During each line cycle of the scanning unit (Ta-1, Ta, Ta+1, Ta+2, Ta+3, Ta+4, Ta+5, Ta+6, Ta+7, Ta+8, Ta+9, Ta+10, etc.), the illumination control signal LED4 controls the illumination unit 401 to emit light and illuminate in a sequence. Light emitted from the illumination unit 401 illuminates the object to be detected, generating an optical signal on the object to be detected, which enters the scanning unit 403. The scanning unit 403 converts the received optical signal into an electrical signal and transmits it to the data processing unit 404. The data processing unit 404 processes the data and transmits it to the data output unit 405. A buffer 4051 in the data output unit 405 temporarily stores the free-running line data SIG (Vsa-1, Vsa, Vsa+1, Vsa+2, Vsa+3, Vsa+4, Vsa+5, Vsa+6, Vsa+7, Vsa+8, Vsa+9, Vsa+10), and the data output control unit 4052 further outputs the data Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, Vsa+10 based on the D_TRIG4 signal generated by the control unit 402. The valid data output trigger signals in D_TRIG4 are n-1, n, n+1, n+2, n+3, and n+4, respectively, and the corresponding data signals are Vsa-1, Vsa, Vsa+7, Vsa+8, Vsa+9, and Vsa+10, respectively. However, the data output control unit 4052 controls the data output unit not to output Vsa+7, does not output data within the ton1 illumination time, and only outputs data for the normal illumination time ton.During the scanning operation of the contact image sensor, the illumination of lighting unit 1 is active only during the scanning periods of data Vsa-1, Vsa, Vsa+8, Vsa+9, and Vsa+10, but is inactive during the scanning periods of Vsa+2, Vsa+3, Vsa+4, Vsa+5, Vsa+6, and Vsa+7. During this period, the illumination time of the lighting unit within each line cycle is ton1, which is much smaller than the normal illumination time, saving a lot of illumination power and emitting weak light, providing a good experience for customers.

[0050] The numbers of the embodiments of the present disclosure above are for illustrative purposes only and do not represent the superiority or inferiority of the embodiments.

[0051] In the above embodiments of the present disclosure, the description of each embodiment is focused on its own, and for parts that are not described in detail in one embodiment, reference can be made to the relevant descriptions of other embodiments.

[0052] It should be understood that the disclosed technical contents in some embodiments provided in this application may be realized in other ways. The above-described device embodiments are merely schematic. For example, the division of the units may be a logical functional division. In actual implementation, other division methods may be used. For example, multiple units or components may be combined or integrated into other systems, or some features may be omitted or not implemented. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be indirect couplings or communication connections via some interfaces, units, or modules, and may be electrical or other types of couplings.

[0053] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple units. Some or all of the units can be selected according to actual needs to achieve the objectives of the solutions of the present embodiment.

[0054] Furthermore, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist physically independently, or two or more units may be integrated into one unit. The integrated units may be realized in the form of hardware or in the form of software functional units.

[0055] When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, essentially or a part that contributes to the prior art, or all or a part of the technical solution, may be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes a plurality of commands that cause a computer device (which may be a personal computer, a server, a network device, etc.) to execute all or a part of the steps of the method described in each embodiment of the present disclosure. The storage medium includes various media capable of storing program code, such as a USB flash memory, a read-only memory (ROM), a random access memory (RAM), a portable hard disk, a magnetic disk, or an optical disk.

[0056] It should be noted that the above are only preferred embodiments of the present disclosure, and those skilled in the art may make some improvements and modifications without departing from the principles of the present disclosure, and these improvements and modifications should also be considered as within the protection scope of the present disclosure. [Industrial Applicability]

[0057] The contact image sensor provided in the embodiment of the present disclosure can be applied to the field of sensor technology, and in the field of the present disclosure, the control unit (11) is configured to receive an output pulse from an encoder, where the output pulse is determined based on the moving speed of a detection target, the control unit (11) includes a comparator (11_1), a register (11_2) and a sequence generating circuit (11_3), the comparator (11_1) is configured to compare the output pulse with a predetermined scanning period stored in the register (11_2) to obtain an illumination control signal, and the sequence generating circuit (11_3) ) is configured to generate a scan trigger signal and determine an output trigger signal based on the output pulse, the illumination unit (12) is configured to illuminate the target based on the illumination control signal, the scanning unit (13) is configured to scan the target based on the scan trigger signal and obtain a scan signal, the data processing unit (14) is configured to process the scan signal and obtain an initial scan result, and the data output unit (15) is configured to obtain a target scan result based on the initial scan result and output the target scan result based on the output trigger signal, thereby achieving the technical effects of reducing power consumption when scanning the target with an image sensor and improving the availability of scan data.

Claims

1. A contact image sensor including a control unit (11), an illumination unit (12), a scanning unit (13), a data processing unit (14) and a data output unit (15), The control unit (11) is configured to receive an output pulse from an encoder, where the output pulse is determined based on a moving speed of a detection object, and the control unit (11) includes a comparator (11_1), a register (11_2), and a sequence generating circuit (11_3); the comparator (11_1) is configured to compare the output pulse with a predetermined scanning period stored in the register (11_2) to obtain a lighting control signal; the sequence generating circuit (11_3) is configured to generate a scan trigger signal and determine an output trigger signal based on the output pulse; The lighting unit (12) is configured to illuminate the detection target based on the lighting control signal; the scanning unit (13) is configured to scan the detection target based on the scan trigger signal and obtain a scan signal; the data processing unit (14) is configured to process the scanning signal to obtain an initial scanning result; the data output unit (15) is configured to obtain a target scan result based on the initial scan result, and output the target scan result based on the output trigger signal; Contact image sensor.

2. the comparator (11_1) is further configured to compare the output pulse with a predetermined scan period stored in a register (11_2) in the control unit (11) to obtain an effective scan period and an ineffective scan period, and determine the illumination control signal based on the effective scan period and the ineffective scan period. The image sensor of claim 1 .

3. The comparator (11_1) is further configured to determine a first illumination time within a period corresponding to the effective scanning period; The comparator (11_1) is further configured to determine a second illumination time within a period corresponding to the invalid scanning period; the comparator (11_1) is further configured to determine the illumination control signal based on the effective scanning period, the ineffective scanning period, the first illumination time, and the second illumination time, wherein the first illumination time is longer than the second illumination time; 3. The image sensor according to claim 2.

4. The illumination unit (12) is further configured to illuminate the detection target with a first power during the first illumination time within the effective scanning period; The illumination unit (12) is further configured to illuminate the detection target with a second power during the second illumination time within the invalid scanning period; wherein the first power is greater than the second power.

4. The image sensor according to claim 3.

5. The lighting unit (12) is illuminated by a light-emitting diode. The image sensor of claim 1 .

6. The scanning unit (13) is further configured to receive an optical signal generated from the detection target under illumination by the illumination unit (12) based on the scanning trigger signal, convert the optical signal into an electrical signal, and obtain the scanning signal. The image sensor of claim 1 .

7. The data output unit (15) further includes a data output control unit (15_1), wherein: the data output control unit (15_1) is configured to determine, as a target period, an invalid scanning period whose adjacent next period is a valid scanning period in the invalid scanning period; the data output control unit (15_1) is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain the target scanning result; the data output control unit (15_1) is further configured to output the target scanning result based on the output trigger signal; 3. The image sensor according to claim 2.

8. The data output unit (15) further includes a data output control unit (15_1), wherein: the data output control unit (15_1) is configured to determine the invalid scanning period as a target period; the data output control unit (15_1) is further configured to delete scanning data corresponding to the target period in the initial scanning result to obtain the target scanning result; the data output control unit (15_1) is further configured to output the target scanning result based on the output trigger signal; 3. The image sensor according to claim 2.

9. The data output unit (15) further includes a buffer (15_2), wherein: The buffer (15_2) is configured to store the initial scanning results. The image sensor of claim 1 .

Citation Information

Patent Citations

  • Contact type image sensor

    CN112073592A

  • Contact image sensor

    EP4099674A1

  • Manual scanning-type color image input device

    JP1999055471A

  • Image reader and image forming device

    JP2010283438A

  • Image forming apparatus and medium conveying device

    JP2013179532A