A contact image sensor

By using a timing generation circuit in the contact image sensor to generate stable line scanning control signals, we ensure that the output of the light source and the photoelectric conversion chip are consistent in each row period, solving the problem of sensitivity and dynamic range changes caused by changes in object speed, and improving the The stability and recognition capabilities of the image sensor.

CN112073592BActive Publication Date: 2024-11-22WEIHAI HUALING OPTO ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010966226.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-15
Publication Date
2024-11-22
Estimated Expiration
2040-09-15

AI Technical Summary

Technical Problem

The existing contact image sensors change in sensitivity and dynamic range due to changes in the speed of the detected object, which affects image recognition. Especially when the transmission speed is too slow, the dark voltage is too large, resulting in the photoelectric conversion chip being saturated and cannot receive optical signals.

Method used

Design a contact image sensor, using a timing generation circuit to send a trigger pulse based on the encoder transmitting the object to be detected, and generates two time-length row scanning control signals to ensure the stable output of the light source and the photoelectric conversion chip in each row cycle. The optical signal is processed by the data processing unit to ensure that the photosensitive signal and the dark current signal remain consistent throughout each row period.

Benefits of technology

The stability of the image sensor output and the dynamic range are maintained, the sensitivity changes caused by changes in object speed are avoided, and the optical signals can be received normally in extreme cases, which improves the reliability of image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112073592B_ABST
    Figure CN112073592B_ABST
Patent Text Reader

Abstract

The present invention discloses a contact image sensor, which has a preset scanning surface, and the scanning surface is used to correspond to the surface to be scanned of the original document. The contact image sensor comprises: a timing generation circuit: a trigger pulse TRIG is sent out according to an encoder that transmits an object to be detected, and the trigger pulse TRIG controls the action of a light source and a photoelectric conversion chip; a light source: used to irradiate the original document; a lens: used to collect reflected light emitted by the light source and reflected by the original document, and transmit the reflected light to the photoelectric conversion chip; the photoelectric conversion chip: used to convert the received light signal into an electrical signal; a data processing unit: used to receive and process the electrical signal output by the photoelectric conversion chip; the photosensitive signal size SIG_led and the dark current signal SIG_dark output by the photoelectric conversion chip of the present invention are the same, thereby ensuring the output stability, dynamic range and sensitivity of the image sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image sensors, and in particular relates to a contact image sensor. Background Art

[0002] In the prior art, the existing contact image sensor block diagram is as follows: Figure 1 As shown, it consists of a light source, a lens, a photoelectric conversion chip, a data processing unit, and a data output part. The image sensor scans to match the moving speed of the external object to be detected. The motor or encoder that transmits the object to be detected sends a trigger pulse TRIG. The light emitted by the light source shines on the original, and the image, text, etc. on the original generates reflected light or transmitted light. These reflected light or transmitted light then passes through the lens and shines on the photoelectric conversion chip. The photoelectric conversion chip converts the received light signal into an electrical signal. After being processed by the data processing unit, the data output part outputs the data.

[0003] The electrical signal size SIG output by the photoelectric conversion chip is mainly composed of two parts, the photosensitive output SIG_led of the photoelectric conversion chip and the dark current output SIG_led of the photoelectric conversion chip, SIG = SIG_led + SIG_dark; Figure 2 As shown, a time axis TIME is added to measure the length of time; for example, the length of the row period of the n-1th row is T n -1, the row period length of the nth row is T n , the row period length of the n+1th row is T n +1, the row period length of the n+2th row is T n +2, the output of the photoelectric conversion chip is interlaced output, that is, the scan of the previous line is output on the next line.

[0004] The photosensitive output of the photoelectric conversion chip SIG_led is output on the n-1th row, which is V sn -1; the photoelectric conversion chip in the nth row senses the light and outputs it in the n+1th row as V sn The photoelectric conversion chip in the n+1th row senses the light and outputs it as V in the n+2th row. sn +1; and V sn -1, V sn 、V sn The value of +1 is mainly related to the luminous time of the light source, and the illumination time of each line is respectively the line scanning period T n -1, T n and T n +1; row scanning period T n -1, T n 、T n +1 changes with the speed of the object to be detected, so Vsn -1, V sn 、V sn +1 Both are different.

[0005] The dark output of the n-1th row of the photoelectric conversion chip dark current output SIG_dark is output as V in the nth row. dn -1; the dark output of the photoelectric conversion chip in the nth row is output as V in the n+1th row dn The dark output of the photoelectric conversion chip in the n+1th row is output as V in the n+2th row. dn +1; the dark current is related to the length of the line cycle. The longer the line cycle, the greater the dark current, and thus the greater the dark voltage. The line scanning period of each line is T n -1, T n and T n +1; row scanning period T n -1, T n , T n +1 changes with the speed of the object to be detected, so V dn -1, V dn 、V dn +1 Not identical.

[0006] From the above, it can be seen that the difference between the photosensitivity output and dark voltage of each row makes it impossible to correct the image sensor, which will seriously affect the sensitivity, dynamic range and output variation of each row of the photoelectric conversion chip, affecting image recognition; in extreme cases, if the speed of transmitting the object to be detected is too slow and the row cycle is too long, the dark voltage will be too large and reach the limit value, making the photoelectric conversion chip saturated and completely unable to receive light signals; therefore, it is urgent to develop a new contact image sensor. Summary of the invention

[0007] The present invention overcomes the deficiencies of the prior art and aims to solve the technical problem of providing a contact image sensor which does not cause changes in sensitivity, dynamic range and line output due to changes in the speed of the detected object, thereby affecting image recognition.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is: a contact image sensor, the contact image sensor has a preset scanning surface, the scanning surface is used to correspond to the surface to be scanned of the original document, the contact image sensor includes: a timing generation circuit: according to the encoder that transmits the object to be detected, a trigger pulse TRIG is sent out, and the trigger pulse TRIG controls the action of a light source and a photoelectric conversion chip; a light source: used to irradiate the original document; a lens: used to collect the reflected light emitted by the light source reflected by the original document, and emit the reflected light to the photoelectric conversion chip; the photoelectric conversion chip: used to convert the received optical signal into an electrical signal; a data processing unit: used to receive and process the electrical signal output by the photoelectric conversion chip.

[0009] Preferably, the data processing unit includes: a memory: used to store the electrical signal output by the photoelectric conversion chip each time; an amplifier: used to amplify the electrical signal output by the photoelectric conversion chip; a processing center: used to receive and process the electrical signal amplified by the amplifier, and output image information to the outside; a display: used to receive and display the image information output by the processing center.

[0010] Preferably, the timing generation circuit generates a light source control signal according to a trigger pulse TRIG to control the lighting of the light source and a row scanning control signal of the photoelectric conversion chip.

[0011] Preferably, the timing generation circuit generates two line scanning control signals of time length in each original line cycle according to a trigger pulse sent by a motor or encoder that transmits the object to be detected.

[0012] Preferably, in the row scanning control signals of the two time lengths, the light source is turned on and the photoelectric conversion chip is scanned in the first time length row cycle, and the photosensitive signal and dark current signal collected by the photoelectric conversion chip in the first time length row cycle are output in the second time length row cycle.

[0013] Preferably, the time length of the first time length line cycle generated in each of the line cycles should meet the output size requirements of product scanning.

[0014] Preferably, the time length of the second time length line period generated in each of the line periods should meet the output time requirement of the scanning data of the first time length line period.

[0015] Preferably, the data processing unit does not collect the photosensitive signal and the dark current signal collected by the photoelectric conversion chip within the second time length line period.

[0016] Preferably, the timing generation circuit may not control the lighting time of the light source in the first time length line cycle in each line cycle, that is, the light source is not turned on and off and remains always on.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] The present invention discloses a contact image sensor, comprising: a timing generation circuit, a light source, a lens, a photoelectric conversion chip and a data processing unit. The light emitted by the light source is irradiated onto an original manuscript, and images, texts and the like on the original manuscript generate reflected light or transmitted light. The reflected light or transmitted light then passes through the lens and irradiates onto the photoelectric conversion chip. The photoelectric conversion chip converts the received light signal into an electrical signal, and outputs the data after being processed by the data processing unit. The contact image sensor scans to match the moving speed of an external object to be detected, and a trigger pulse TRIG is sent by a motor or an encoder that transmits the object to be detected. The photosensitive signal size SIG_led and the dark current signal SIG_dark output by the photoelectric conversion chip of the present invention are the same, thereby ensuring the output stability, dynamic range and sensitivity of the image sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be further described in detail below in conjunction with the accompanying drawings;

[0020] Figure 1 It is a structural schematic diagram of a contact image sensor in the prior art;

[0021] Figure 2 It is an output timing diagram of a contact image sensor in the prior art;

[0022] Figure 3 A schematic structural diagram of a contact image sensor provided in Embodiment 1 of the present invention;

[0023] Figure 4 An output timing diagram of a contact image sensor provided in Embodiment 1 of the present invention;

[0024] Figure 5 A schematic diagram of the structure of a contact image sensor provided in Embodiment 2 of the present invention;

[0025] Figure 6 An output timing diagram of a contact image sensor provided in the second embodiment of the present invention;

[0026] Figure 7 A schematic diagram of the structure of a contact image sensor provided in Embodiment 3 of the present invention;

[0027] In the figure: 1 is a timing generation circuit, 2 is a light source, 3 is a lens, 4 is a photoelectric conversion chip, 5 is a data processing unit, 51 is a memory, 52 is an amplifier, 53 is a processing center, and 54 is a display. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0029] Figure 3 A schematic diagram of the structure of a contact image sensor provided in Embodiment 1 of the present invention is shown in FIG. Figure 3 As shown, a contact image sensor has a preset scanning surface, and the scanning surface is used to correspond to the surface to be scanned of the original document. The contact image sensor includes:

[0030] Timing generation circuit 1: sends out a trigger pulse TRIG according to the encoder that transmits the object to be detected, and controls the action of the light source and the photoelectric conversion chip;

[0031] Light source 2: used for irradiating the original document;

[0032] Lens 3: used to collect the reflected light emitted by the light source and reflected by the original, and transmit the reflected light to the photoelectric conversion chip;

[0033] Photoelectric conversion chip 4: used to convert the received optical signal into an electrical signal;

[0034] Data processing unit 5: used for receiving and processing the electrical signal output by the photoelectric conversion chip.

[0035] Furthermore, the timing generation circuit generates a light source control signal according to the trigger pulse TRIG to control the lighting of the light source and a row scanning control signal of the photoelectric conversion chip.

[0036] Furthermore, the timing generation circuit generates two line scanning control signals of time length in each original line cycle according to the trigger pulse sent by the motor or encoder that transmits the object to be detected.

[0037] Furthermore, in the line scanning control signals of the two time lengths, the light source is turned on and the photoelectric conversion chip is scanned in the first time length line cycle, and the photosensitive signal and dark current signal collected by the photoelectric conversion chip in the first time length line cycle are output in the second time length line cycle.

[0038] Furthermore, the time length of the first time length line cycle generated in each of the line cycles must meet the output size requirements of product scanning.

[0039] Furthermore, the time length of the second time length row cycle generated in each row cycle must meet the output time requirement of the scan data of the first time length row cycle.

[0040] Furthermore, the data processing unit does not collect the photosensitive signal and the dark current signal collected by the photoelectric conversion chip within the second time length line period.

[0041] Specifically, the light emitted by the light source 2 shines on the original, and the image, text, etc. on the original generates reflected light or transmitted light. The reflected light or transmitted light then passes through the lens 3 and shines on the photoelectric conversion chip 4. The photoelectric conversion chip 4 converts the received light signal into an electrical signal, and outputs the data after being processed by the data processing unit 5. The image sensor scans to match the moving speed of the external object to be detected, and a trigger pulse TRIG is sent by a motor or encoder that transmits the object to be detected.

[0042] In this embodiment, the timing generation circuit 1 generates a light source control signal LEDT according to the trigger pulse TRIG to control the light source 2 to light up and a line scanning control signal TRIG1 of the photoelectric conversion chip 4 to control the photoelectric conversion chip 4 to perform line scanning; and the photoelectric conversion chip 4 generates two time length line scanning control signals in each line cycle of the line scanning control signal TRIG1, Figure 4 is the output timing diagram of this embodiment, such as Figure 4 As shown, the row period of the n-1th row produces T and ΔT n -1 two time lengths of line scanning control signals; the nth line period generates T and ΔT n Two time lengths of line scanning control signals; the n+1th line period generates T and ΔT n +1 two time lengths of line scanning control signal; the n+2th line period generates T and ΔT n +2 two time lengths of line scanning control signal; so that the signal collected in the line period T of the n-1th line is in the line period ΔT n -1, the signal collected in the line period T of the nth line is output in the line period ΔT n The signal collected in the line period T of the n+1th line is output in the line period ΔT n -1, the signal collected in the line period T of the n+2th line is output in the line period ΔT n +2 internal output.

[0043] The data processing unit 5 is provided with a time-sharing acquisition function, and only performs data acquisition on the signals collected within the line period T of the n-1th line, the signals collected within the line period T of the nth line, the signals collected within the line period T of the n+1th line, and the signals collected within the line period T of the n+2th line; and performs data acquisition on the line period ΔT of the n-1th line. n -1 The signal collected within, the line period ΔT of the nth line n The signal collected in the n+1th row, the row period ΔT n +1, the line period ΔT of the n+2th line n The signals collected within +2 are not subject to data collection.

[0044] The electrical signal size SIG output by the photoelectric conversion chip 4 is mainly composed of two parts: the light-sensitive output SIG_led of the photoelectric conversion chip 4 and the dark current output SIG_dark of the photoelectric conversion chip 4 , that is, SIG=SIG_led+SIG_dark.

[0045] Specifically, the photosensitive output SIG_led of the photoelectric conversion chip 4 is: the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n-1th row is V sn -1, the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the nth row is V sn The photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n+1th row is V sn +1, the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n+2th row is V sn +2; and V sn -1, V sn 、V sn +1, V sn The value of +2 is mainly related to the luminous time of the light source 2; in this embodiment, the light source lighting control signal LEDT generated by the timing generation circuit 1 sets the luminous time of the light source in the first line period T in each line period to the same fixed value T on , so V sn -1, V sn 、V sn +1, V sn The value of +2 is V s T on .

[0046] Specifically, the dark current output SIG_dark of the photoelectric conversion chip 204 is: the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n-1th row is V dn -1, the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the nth row is V dnThe dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n+1th row is V dn +1, the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n+2th row is V dn +2; and V dn -1, V dn 、V dn +1, V dn The value of +2 is mainly related to the first time length of the row scanning control signal in each row cycle; in this embodiment, the time length of the first time length of the row scanning control signal is T, so V dn -1, V dn 、V dn +1, V dn The value of +2 is V d T.

[0047] In summary, although the row cycle time length of the n-1th row, the nth row, the n+1th row, and the n+2th row is T n -1, T n , T n +1, T n +2 are different, but through this embodiment, it is ensured that the light-sensing signal size SIG_led and the dark current signal SIG_dark output by the photoelectric conversion chip 4 in the n-1th row, the nth row, the n+1th row, and the n+2th row are the same, and the time length of the row scanning control signal of the first time length in each row cycle can be controlled. In extreme cases, T n -1, T n , T n +1, T n Even if +2 is infinite, it will not affect the electrical signal size SIG output by the photoelectric conversion chips 4 in the n-1th row, the nth row, the n+1th row, and the n+2th row, thereby ensuring the output stability, dynamic range, and sensitivity of the image sensor.

[0048] Figure 5 A schematic diagram of the structure of a contact image sensor provided in the second embodiment of the present invention is shown in FIG. Figure 5 As shown, based on the first embodiment, the timing generation circuit 1 may not control the lighting time of the light source in the first time length line cycle in each line cycle, that is, the light source is not turned on and off and remains always on.

[0049] Specifically, the timing generation circuit 202 generates a row scanning control signal TRIG1 for the photoelectric conversion chip 4 according to the trigger pulse TRIG to control the photoelectric conversion chip 4 to perform row scanning. The photoelectric conversion chip 4 generates a row scanning control signal of two time lengths in each row cycle of the row scanning control signal TRIG1. Figure 6is the output timing diagram of this embodiment, such as Figure 6 As shown, the row period of the n-1th row produces T and ΔT n -1 two time lengths of line scanning control signals; the nth line period generates T and ΔT n Two time lengths of line scanning control signals; the n+1th line period generates T and ΔT n +1 two time lengths of line scanning control signal; the n+2th line period generates T and ΔT n +2 two time lengths of line scanning control signal; so that the signal collected in the line period T of the n-1th line is in the line period ΔT n -1, the signal collected in the line period T of the nth line is output in the line period ΔT n The signal collected in the line period T of the n+1th line is output in the line period ΔT n -1, the signal collected in the line period T of the n+2th line is output in the line period ΔT n +2 internal output.

[0050] The data processing unit 5 is provided with a time-sharing acquisition function, and only performs data acquisition on the signals collected within the line period T of the n-1th line, the signals collected within the line period T of the nth line, the signals collected within the line period T of the n+1th line, and the signals collected within the line period T of the n+2th line; and performs data acquisition on the line period ΔT of the n-1th line. n -1 The signal collected within, the line period ΔT of the nth line n The signal collected in the n+1th row, the row period ΔT n +1, the line period ΔT of the n+2th line n The signals collected within +2 are not subject to data collection.

[0051] The electrical signal size SIG output by the photoelectric conversion chip 4 is mainly composed of two parts: the light-sensitive output SIG_led of the photoelectric conversion chip 4 and the dark current output SIG_dark of the photoelectric conversion chip 4 , that is, SIG=SIG_led+SIG_dark.

[0052] Specifically, the photosensitive output SIG_led of the photoelectric conversion chip 4 is: the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n-1th row is V sn -1, the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the nth row is V sn The photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n+1th row is V sn +1, the photosensitive output value of the photoelectric conversion chip 4 collected in the row period T of the n+2th row is V sn +2; and V sn -1, V sn 、Vsn +1, V sn The value of +2 is mainly related to the light-sensing time of the photoelectric photosensitive chip; in this embodiment, the time length of the first time length of the row scanning control signal is T, and the light-sensing time is also T, so V sn -1, V sn 、V sn +1, V sn The value of +2 is V s T.

[0053] Specifically, the dark current output SIG_dark of the photoelectric conversion chip 4 is: the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n-1th row is V dn -1, the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the nth row is V dn The dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n+1th row is V dn +1, the dark current output value of the photoelectric conversion chip 4 collected in the row period T of the n+2th row is V dn +2; and V dn -1, V dn 、V dn +1, V dn The value of +2 is mainly related to the first time length of the row scanning control signal in each row cycle; in this embodiment, the time length of the first time length of the row scanning control signal is T, so V dn -1, V dn 、V dn +1, V dn The value of +2 is V d T.

[0054] In summary, although the row cycle time length of the n-1th row, the nth row, the n+1th row, and the n+2th row is T n -1, T n 、T n +1, T n +2 are different, but through this embodiment, it is ensured that the light-sensing signal size SIG_led and the dark current signal SIG_dark output by the photoelectric conversion chip 4 in the n-1th row, the nth row, the n+1th row, and the n+2th row are the same, and the time length of the row scanning control signal of the first time length in each row cycle can be controlled. In extreme cases, T n -1, T n 、T n +1, T nEven if +2 is infinite, it will not affect the electrical signal size SIG output by the photoelectric conversion chip 4 in the n-1th row, the nth row, the n+1th row, and the n+2th row, thus ensuring the output stability, dynamic range, and sensitivity of the image sensor.

[0055] Figure 7 A schematic diagram of the structure of a contact image sensor provided in Embodiment 3 of the present invention is shown in FIG. Figure 7 As shown, based on the first embodiment, the data processing unit 5 includes:

[0056] Memory 51: used to store the electrical signal output by the photoelectric conversion chip each time;

[0057] Amplifier 52: used to amplify the electrical signal output by the photoelectric conversion chip;

[0058] Processing center 53: used for receiving and processing the electrical signal amplified by the amplifier, and outputting image information externally;

[0059] Display 54: used to receive and display the image information output by the processing center.

[0060] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0061] It is understandable that the related features in the above methods, devices and systems can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.

[0062] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0063] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the teachings based thereon. According to the above description, it is apparent that the structure required for constructing such devices is. In addition, the present invention is not directed to any particular programming language either. It should be understood that various programming languages ​​may be utilized to implement the content of the present invention described herein, and the description of the above specific languages ​​is intended to disclose the best mode of the present invention.

[0064] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some communication interface, device or unit, which can be electrical, mechanical or other forms.

[0065] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A contact image sensor, the contact image sensor having a preset scanning surface, the scanning surface being used to correspond to a surface to be scanned of an original document, characterized in that: The contact image sensor comprises: Timing generation circuit: sends out a trigger pulse TRIG according to the encoder that transmits the object to be detected, and the trigger pulse TRIG controls the action of the light source and the photoelectric conversion chip; Light source: used for illuminating the original manuscript; Lens: used to collect the reflected light emitted by the light source and reflected by the original, and transmit the reflected light to the photoelectric conversion chip; Photoelectric conversion chip: used to convert the received optical signal into an electrical signal; Data processing unit: used to receive and process the electrical signal output by the photoelectric conversion chip; The timing generation circuit generates two time lengths of line scanning control signals in each original line cycle according to the trigger pulses sent by the motor or encoder that transmits the object to be detected; In the line scanning control signals of the two time lengths, the light source is turned on and the photoelectric conversion chip is scanned in the first time length line cycle, and the light-sensitive signal and dark current signal collected by the photoelectric conversion chip in the first time length line cycle are output in the second time length line cycle; The data processing unit does not collect the photosensitive signal and the dark current signal collected by the photoelectric conversion chip within the second time length line period.

2. A contact image sensor according to claim 1, characterized in that: The data processing unit comprises: Memory: used to store the electrical signal output by the photoelectric conversion chip each time; Amplifier: used to amplify the electrical signal output by the photoelectric conversion chip; Processing center: used for receiving and processing the electrical signal amplified by the amplifier, and outputting image information externally; Display: used to receive and display image information output by the processing center.

3. A contact image sensor according to claim 1, characterized in that: The timing generation circuit generates a light source control signal according to a trigger pulse TRIG to control the lighting of the light source and a row scanning control signal of the photoelectric conversion chip.

4. A contact image sensor according to claim 1, characterized in that: The time length of the first time length line cycle generated in each of the line cycles must meet the output size requirements of product scanning.

5. The contact image sensor according to claim 1, characterized in that: The time length of the second time length line cycle generated in each of the line cycles must meet the output time requirement of the scan data of the first time length line cycle.

6. A contact image sensor according to claim 1, characterized in that: The timing generation circuit may not control the lighting time of the light source in the first time length line cycle in each line cycle, that is, the light source is not turned on and off and remains always on.