Scanning method and device based on contact type linear array image sensor

By using a photoelectric displacement sensor and an auxiliary sliding component in a contact linear image sensor scanning device, the problems of large size and dust and water resistance of the scanning device are solved, achieving miniaturization and improved reliability of the scanning device.

CN121486501APending Publication Date: 2026-02-06SICHUAN BISHENG INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511621811.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-07
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

Existing contact-type linear image sensor scanning devices are bulky, cannot be lightweight, and are difficult to make dustproof and waterproof.

Method used

By replacing the traditional grating encoder with a photoelectric displacement sensor, and combining it with an auxiliary sliding component and a main control circuit, the photoelectric displacement sensor detects the travel distance of the scanning device and generates a scanning trigger signal, thus avoiding the complex grating structure and achieving a lightweight, dustproof, and waterproof scanning device.

Benefits of technology

This technology enables miniaturization and dust and water resistance of the scanning device, improves its reliability and lifespan, simplifies its internal structure, and reduces its physical complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486501A_ABST
    Figure CN121486501A_ABST
Patent Text Reader

Abstract

The invention discloses a scanning method and device based on a contact type linear array image sensor. The device comprises: a housing; the contact type linear array image sensor CIS is arranged in the shell; the photoelectric displacement sensor is arranged in the shell and is configured to detect the advancing distance of the CIS when the scanning device is moved along a scanning surface and generate a scanning trigger signal when the advancing distance of the CIS reaches a preset CIS displacement threshold value; and the main control circuit is in communication connection with the contact type linear array image sensor and the photoelectric displacement sensor, and is configured to control the CIS to execute one-time line scanning acquisition operation after receiving the scanning trigger signal. The technical problem that an existing scanning device is large in size and cannot be lightened is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of scanning, and more specifically, to a scanning method and apparatus based on a contact linear image sensor. Background Technology

[0002] Existing contact linear image sensors (CIS) that achieve equally spaced triggering of line scanning mostly rely on stepper motors moving at a constant speed on a guide rail or on rollers driving high-precision gratings inside the encoder to generate line scanning signals. Guide rail-based scanning devices (scanners, fax machines) are bulky and inconvenient to move. Image scanning devices based on roller encoders, due to the complex physical structure of the gratings or magnetic gratings, cannot be lightweight or miniaturized while maintaining resolution, and cannot achieve dust and water resistance for the triggering scanning device.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This invention provides a scanning method and apparatus based on a contact linear image sensor, which at least solves the technical problem that existing scanning devices are bulky and cannot be lightweight.

[0005] According to one aspect of the present invention, a scanning device based on a contact linear image sensor is provided, comprising: a housing; a contact linear image sensor (CIS) disposed within the housing; a photoelectric displacement sensor disposed within the housing, configured to detect the travel distance of the CIS when the scanning device is moved along a scanning surface, and to generate a scanning trigger signal when the travel distance of the CIS reaches a preset CIS displacement threshold; and a main control circuit communicatively connected to the contact linear image sensor and the photoelectric displacement sensor, configured to control the CIS to perform a line scanning acquisition operation after receiving the scanning trigger signal.

[0006] In this embodiment, a photoelectric displacement sensor, such as a conductor-type photoelectric displacement sensor, is used to replace the traditional grating encoder as a high-precision, equally spaced line scanning trigger device, eliminating the need for the traditional complex and bulky grating structure, thereby reducing the size of the scanning device.

[0007] In some embodiments, the scanning device further includes an auxiliary sliding component, which comprises a first rolling component and a second rolling component, symmetrically disposed at both ends of the CIS, and configured to drive the scanning device to slide along the scanning surface; the photoelectric displacement sensor is disposed near the first rolling component and configured to detect the displacement of the first rolling component in real time, and generate the scanning trigger signal when the displacement of the first rolling component reaches a preset rotation threshold. In this embodiment, the photoelectric displacement sensor can determine the real-time travel distance of the scanning device by detecting the displacement of the rolling component, thereby making physical isolation between the photoelectric displacement sensor and the roller possible.

[0008] In some embodiments, the first rolling component and the second rolling component each include: a roller, partially exposed outside the housing, configured to assist the scanning device in moving along the scanning surface; and a rotating shaft, passing through the center of the roller and fixedly connected to the roller, configured to rotate synchronously with the rotation of the roller. In this embodiment, the rotating shaft is rigidly connected to the roller, and the rotation of the roller drives the rotating shaft to rotate synchronously. Both ends of the rotating shaft are supported and fixed to the main body of the scanning device using bearings, ensuring smooth movement of the roller.

[0009] In some embodiments, the photoelectric displacement sensor is disposed above the shaft of the first rolling component and configured to detect the rotational displacement of the shaft of the first rolling component as the displacement of the first rolling component; or the photoelectric displacement sensor is disposed above the roller of the first rolling component and configured to detect the rotational displacement of the roller of the first rolling component as the displacement of the first rolling component. In this embodiment, the photoelectric displacement sensor can determine the real-time travel distance of the scanning device by detecting the rotational distance of the shaft, thereby making it possible to physically isolate the photoelectric displacement sensor and the roller.

[0010] In some embodiments, the photoelectric displacement sensor is further configured to directly detect the relative displacement of the scanning surface with respect to the scanning device, as the travel distance of the CIS.

[0011] In some embodiments, when detecting the rotational displacement of the shaft of the first rolling component, the preset rotational threshold is determined based on the ratio of the diameter of the roller of the first rolling component to the diameter of the shaft of the first rolling component and the preset CIS displacement threshold; when detecting the rotational displacement of the roller of the first rolling component, the preset rotational threshold is determined based on the preset CIS displacement threshold.

[0012] In some embodiments, the first rolling component further includes an isolation pad, which is passed through the pivot of the first rolling component and configured to physically isolate the roller of the first rolling component from the photoelectric displacement sensor, so that the photoelectric displacement sensor and the roller of the first rolling component are in independent spaces. This embodiment physically isolates the photoelectric displacement sensor from the moving roller using the isolation pad, thereby achieving waterproof and dustproof protection for the photoelectric displacement sensor.

[0013] In some embodiments, the first rolling component or the second rolling component further includes two bearings, which are respectively mounted at both ends of the corresponding rotating shaft and configured to support the corresponding rotating shaft and limit the rotational position of the corresponding rotating shaft.

[0014] In some embodiments, the housing is provided with a mounting frame corresponding to the inner periphery of the first rolling member and the second rolling member, configured to fix the rollers, shafts, and bearings of the first rolling member and the second rolling member, as well as the isolation gasket of the first rolling member.

[0015] In some embodiments, the housing further includes a battery, a display screen, a storage module, and a wireless communication module. The battery is configured to power the scanning device, the display screen is configured to display the scanning progress and scanning results, the storage module is configured to store the scanned image data, and the wireless communication module is configured to transmit the image data to an external terminal device.

[0016] According to another aspect of the present invention, a scanning method based on a contact linear image sensor is also provided, comprising: when the scanning device is moved along the scanning surface, detecting the travel distance of the contact linear image sensor (CIS) by a photoelectric displacement sensor, and generating a scanning trigger signal when the travel distance of the CIS reaches a preset CIS displacement threshold; the main control circuit of the scanning device controls the CIS to perform a line scanning acquisition operation after receiving the scanning trigger signal.

[0017] In this embodiment of the invention, the scanning device includes: a housing; a contact linear image sensor (CIS) disposed within the housing; a photoelectric displacement sensor disposed within the housing, configured to detect the travel distance of the CIS when the scanning device is moved along the scanning surface, and to generate a scanning trigger signal when the travel distance of the CIS reaches a preset CIS displacement threshold; and a main control circuit communicatively connected to the contact linear image sensor and the photoelectric displacement sensor, configured to control the CIS to perform a line scanning acquisition operation after receiving the scanning trigger signal. This structure solves the technical problem of existing scanning devices being too large and difficult to reduce in size. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and are configured to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0019] Figure 1 This is a structural diagram of an optional scanning device according to an embodiment of the present invention;

[0020] Figure 2 This is a structural diagram of an optional first rolling component according to an embodiment of the present invention;

[0021] Figure 3 This is a structural diagram of an optional first rolling component according to an embodiment of the present invention;

[0022] Figure 4 This is a structural diagram of an optional first rolling component according to an embodiment of the present invention;

[0023] Figure 5 This is a circuit control schematic diagram of an optional scanning device according to an embodiment of the present invention;

[0024] Figure 6 This is a flowchart of an optional control method for a scanning device according to an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of the structure of a computer device suitable for implementing embodiments of the present disclosure is shown;

[0026] Explanation of reference numerals in the attached figures:

[0027] 10. Housing; 20. Contact linear array image sensor; 30. Photoelectric displacement sensor; 40. Auxiliary sliding component; 50. Main control circuit; 402. First rolling component; 404. Second rolling component; 4022. Roller; 4024. Shaft; 4026. Bearing; 4028. Isolation gasket; 502. Timing chip; 504. Analog-to-digital converter chip; 506. Processor; 60. Storage module; 70. Gyroscope; 80. Display screen. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are configured to distinguish similar objects and are not necessarily configured to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] like Figure 1 As shown, this embodiment provides a scanning device based on a contact linear array image sensor 20. The device includes a housing 10, a contact linear array image sensor 20, a photoelectric displacement sensor 30, an auxiliary sliding component 40, and a main control circuit 50. The housing 10 provides overall mechanical support and sealing protection, forming a dustproof and waterproof enclosed structure; the auxiliary sliding component 40 provides mechanical support and guidance, ensuring the scanning device can slide stably along the scanning surface; the contact linear array image sensor 20 enables line-by-line scanning imaging; the photoelectric displacement sensor 30 detects the travel distance of the contact linear array image sensor 20 in real time and generates a scanning trigger signal based on the detected travel distance; the main control circuit 50, upon receiving the scanning trigger signal, controls the contact linear array image sensor 20 to perform a line scanning acquisition operation, enabling the contact linear array image sensor 20 to complete image acquisition in an equidistant trigger manner.

[0031] The components of the scanning device based on the contact linear image sensor 20 will now be described in detail.

[0032] 1) Shell

[0033] The housing 10 adopts an integrated structural design to accommodate the aforementioned functional modules and provide them with mechanical support and protection. The housing 10 consists of an upper housing and a lower housing, which can be detachably connected by screws or clips. In some embodiments, a transparent optical window may be provided at the bottom of the lower housing to allow the contact linear image sensor 20 to be in close contact with the scanning surface and acquire image information thereon. A mounting frame is provided on the inner periphery of the housing 10 for fixing the functional modules. Furthermore, a display screen 80 mounting window is provided on the upper housing for mounting the display screen 80.

[0034] 2) Contact Linear Image Sensor

[0035] like Figure 2As shown, the contact linear array image sensor 20 is mounted above the transparent optical window of the lower housing, allowing direct contact with the scanned surface for image acquisition. Alternatively, in other embodiments, the transparent optical window can be omitted, allowing the contact linear array image sensor 20 to be directly embedded within the lower housing.

[0036] The contact linear image sensor 20 mainly comprises a self-focusing rod lens array, an RGB light source array, and a photosensitive unit array. Its working process is as follows: When the CIS is working, the light emitted from the RGB light source array shines directly onto the surface of the object to be scanned (such as printed matter). The light reflected back from the surface is focused by the self-focusing rod lens array and imaged onto the photosensitive unit array. This image is converted into electrical charge and stored to form an electrical signal, which is then used to generate linear image data.

[0037] In this embodiment, the effective imaging width of the contact linear image sensor 20 is matched with the bottom width of the housing 10, so that the scanning range can cover the width of a standard A4 sheet of paper.

[0038] 3) Auxiliary sliding components

[0039] like Figures 1 to 4 As shown, the auxiliary sliding component 40 includes a first rolling component 402 and a second rolling component 404, which are symmetrically installed at both ends of the contact linear image sensor 20. They are mainly used to support the scanning device and guide it to slide smoothly along the scanning surface.

[0040] The first rolling component 402 includes a roller 4022, a rotating shaft 4024, two bearings 4026, and an isolation pad 4028. The roller 4022 is partially exposed on the outer surface of the housing 10, allowing direct contact with the scanning surface and free rolling on the scanning surface under external force. The rotating shaft 4024 passes through the center of the roller 4022 and is fixedly connected to it, causing the rotating shaft 4024 to rotate synchronously when the roller 4022 rotates. The two bearings 4026 are respectively installed at both ends of the rotating shaft 4024 to support and position the rotating shaft 4024, preventing it from shifting. The isolation pad 4028 passes through the rotating shaft 4024, forming two independent closed isolation spaces between the roller 4022 and the photoelectric displacement sensor 30, thereby achieving spatial separation and protection between the photoelectric displacement sensor 30 and the roller 4022.

[0041] In other embodiments, the isolation pad 4028 may be omitted, and a glass or resin lens may be provided between the roller 4022 and the photoelectric displacement sensor 30. This lens can achieve physical isolation between the two while allowing light of a specific wavelength required by the photoelectric displacement sensor 30 to pass through, enabling the sensor to properly detect the movement state of the roller 4022.

[0042] The structure of the second rolling component 404 is basically the same as that of the first rolling component 402. It also includes a roller 4022, a rotating shaft 4024 and a bearing 4026, and is symmetrically installed with the first rolling component 402 to balance the force on the device and improve the smoothness of sliding.

[0043] The auxiliary sliding component 40 adopts a detachable installation structure for easy maintenance and replacement. The surface of the roller 4022 is covered with a rubber anti-slip layer to improve the coefficient of friction and ensure the stability of the scanning motion. In addition, the positions of the first rolling component 402 and the second rolling component 404 are interchangeable.

[0044] 4) Photoelectric displacement sensor 30

[0045] The photoelectric displacement sensor 30 can be installed in any of the following three ways, depending on the object being detected:

[0046] The first installation method involves placing the photoelectric displacement sensor 30 above the rotating shaft 4024 of the first rolling component 402. Its emitted light beam illuminates the surface of the rotating shaft 4024 vertically and receives the light signals reflected or scattered by the surface of the rotating shaft 4024. By detecting the change in optical displacement of the rotating shaft 4024 during rotation, the rotational displacement of the rotating shaft 4024 is obtained, thereby determining the displacement of the first rolling component 402. In this installation method, the optical axis of the photoelectric displacement sensor 30 can be aligned with the axial direction of the rotating shaft 4024 to achieve high-precision detection of the rotation of the rotating shaft 4024.

[0047] The second installation method involves placing a photoelectric displacement sensor 30 above the roller 4022 of the first rolling component 402. Its emitted light beam vertically illuminates a point near the circumferential center of the roller 4022 surface, detecting the displacement change of the reflected light as the roller 4022 rotates. The displacement of the first rolling component 402 is obtained by calculating the rotational displacement of the roller 4022 surface. In this installation method, the optical axis of the photoelectric displacement sensor 30 is aligned with the geometric center point of the roller 4022 to ensure that the measurement result corresponds consistently to the rotational movement of the roller 4022.

[0048] The third installation method: The photoelectric displacement sensor 30 is installed at the bottom of the scanning device to directly detect the relative displacement of the scanning surface with respect to the scanning device. The photoelectric displacement sensor 30 illuminates the scanning surface with an emitted light beam and calculates the moving distance of the scanning device based on the displacement change of the reflected light, thereby determining the travel distance of the contact linear array image sensor 20.

[0049] The photoelectric displacement sensor 30 is used to detect the travel distance of the contact linear image sensor 20 during the scanning process. When the travel distance of the contact linear image sensor 20 reaches a preset CIS displacement threshold, a pulse signal is generated as a scan trigger signal to trigger the contact linear image sensor 20 to perform a scan. The preset CIS displacement threshold is used to limit the minimum travel distance of the contact linear image sensor 20 for each scan trigger. For example, in a preferred embodiment, based on the physical characteristics of the contact linear image sensor 20, the preset CIS displacement threshold is set to 0.08 mm.

[0050] In order for the photoelectric displacement sensor 30 to accurately determine the travel distance of the contact linear array image sensor 20, it is necessary to determine the corresponding preset rotation threshold based on the geometric parameters of the auxiliary sliding component 40.

[0051] When the object being detected is the rotating shaft 4024, that is, when the photoelectric displacement sensor 30 detects the rotational displacement of the rotating shaft 4024 of the first rolling component 402, the preset rotation threshold can be determined based on the ratio of the diameter of the roller 4022 of the first rolling component 402 to the diameter of the rotating shaft 4024 of the first rolling component 402 and the preset CIS displacement threshold. For example, it can be determined according to the following formula:

[0052]

[0053] in, To preset the CIS displacement threshold, The diameter of roller 4022, The diameter of the 4024 shaft. This is the preset rotation threshold.

[0054] When the object being detected is the roller 4022, that is, when the photoelectric displacement sensor 30 detects the rotational displacement of the first rolling component 402, the preset rotation threshold is used. Preset CIS displacement threshold ,Right now .

[0055] Through the above calculations, the preset rotation thresholds of the photoelectric displacement sensor 30 under different detection modes can be obtained. When the photoelectric displacement sensor 30 detects that the cumulative rotation angle of the rotating shaft 4024 or the roller 4022 reaches the corresponding preset rotation threshold, it generates a pulse signal and sends the pulse signal to the main control circuit 50. After receiving the pulse signal, the main control circuit 50 triggers the contact linear array image sensor 20 to perform a scan sampling, thereby realizing synchronous image acquisition when the scanning device moves along the scanning surface.

[0056] 5) Main control circuit

[0057] like Figure 5 As shown, the main control circuit 50 is the core control unit of the entire scanning device, used to coordinate and control the operation of each functional module. The main control circuit 50 mainly includes core components such as a processor 506, a timing chip 502, and an analog-to-digital converter chip 504. The main control circuit 50 is electrically connected to the contact linear array image sensor 20, the photoelectric displacement sensor 30, the battery module (not shown), the display screen 80, the storage module 60 (including memory and non-volatile memory), and the wireless communication module (not shown), respectively, to realize functions such as signal acquisition, processing, display, storage, and data transmission.

[0058] After receiving the scanning trigger signal sent by the photoelectric displacement sensor 30, the main control circuit 50 controls the timing chip 502 to generate three sampling timing pulse signals with equal time intervals, which correspond to the sampling timing of the red, green and blue color channels of the contact linear array image sensor 20, respectively, thereby realizing color sampling of the scanning surface.

[0059] The analog signals from each channel output by the contact linear image sensor 20 are converted into corresponding digital signals by the analog-to-digital converter chip 504 and then input to the processor 506. The processor 506 performs data combination, calibration, and line synchronization processing on the received RGB digital signals to generate a complete line of image data, which is then temporarily stored in memory. Subsequently, the processor 506 displays the image data on the display screen.

[0060] 5) Gyroscope

[0061] In some embodiments, the scanning device may further include a gyroscope 70. The gyroscope 70 adopts a three-axis MEMS architecture, has a small package size, is soldered onto a PCB board inside the scanning device, and establishes a communication connection with the processor 506 via an I2C interface.

[0062] During the scanning process, the gyroscope 70 captures the spatial attitude changes of the scanning device in real time, recording the device's deflection angle in three-dimensional space at a frequency of milliseconds. For example, when the user moves the scanning device along the scanning surface, if the hand shakes slightly and causes the device to tilt, the gyroscope 70 will immediately transmit the deflection angle data to the processor 506.

[0063] Upon entering the image synthesis stage, the processor 506 invokes a pre-embedded image correction algorithm to perform rotation correction on the image data acquired through multi-line scanning, based on the deflection angle data provided by the gyroscope 70. For example, if the scanning device has a 5° rotational offset during scanning, the processor 506 will rotate and adjust the image data of the corresponding line by a 5° reverse angle, ultimately stitching together a complete scanned image without tilt distortion and with a regular image, thereby effectively solving the image offset problem caused by unstable handheld operation.

[0064] 6) Other components

[0065] In some embodiments, the scanning device may include a display screen 80, a battery, a storage module 60, a wireless communication module, etc.

[0066] The battery is housed in a battery mounting cavity inside the casing 10, providing power to the various modules of the device. The battery can be a lithium-ion rechargeable battery, and it works in conjunction with a power management module to control charging and discharging.

[0067] The display screen 80 is mounted on the upper housing and is used to display the scanning progress, current scanning mode, power information, and a preview of the scanning results in real time. The display screen 80 can be a color LCD screen or an e-ink screen and is communicatively connected to the main control circuit 50. Its display content is controlled by the main control circuit 50.

[0068] The storage module 60 includes memory and storage, and can use a high-speed flash memory chip to store image data acquired by the image sensor.

[0069] The wireless communication module supports Bluetooth and Wi-Fi transmission, enabling it to send stored image data to external terminal devices such as mobile phones, tablets, or computers. The wireless communication module connects to the main control circuit 50 via a data bus, with the main control circuit 50 handling data packetization and transmission protocol control.

[0070] The following will refer to Figures 1 to 5 The operation process of the scanning device is described.

[0071] In use, the user holds the scanning device, aligning the transparent optical window or contact linear image sensor 20 at the bottom of the housing 10 with the scanning surface, and manually pushes the device to slide smoothly along the scanning surface. The first rolling component 402 and the second rolling component 404 roll forward on the scanning surface, driving the rotating shaft 4024 to rotate synchronously.

[0072] The photoelectric displacement sensor 30 detects the rotational displacement of the rotating shaft 4024 or the roller 4022 in real time and determines whether the rotational displacement reaches a preset rotational threshold. When the detected rotational displacement reaches the preset rotational threshold, the photoelectric displacement sensor 30 generates a scan trigger signal and sends it to the main control circuit 50. Of course, in other embodiments, the photoelectric displacement sensor 30 can also generate a scan trigger signal by detecting the relative displacement of the scanning surface.

[0073] Upon receiving the scan trigger signal, the main control circuit 50 immediately initiates a line scan acquisition operation by the contact linear image sensor 20. Specifically, the main control circuit 50 generates three sets of equally timed sampling pulse signals through the timing chip 502, which control the sensor to sample the red, green, and blue channels respectively. The RGB analog signals acquired by the image sensor are converted into digital signals by the analog-to-digital converter module and then input to the main control circuit 50. The main control circuit 50 performs preliminary processing on the image data and stores it in the storage module 60.

[0074] During continuous sliding, the photoelectric displacement sensor 30 continuously generates trigger signals based on displacement changes, and the contact linear array image sensor 20 sequentially performs equally spaced line scanning, thereby forming complete two-dimensional image data line by line.

[0075] After scanning is completed, the main control circuit 50 can transmit the image data to an external terminal device via the wireless communication module and display a preview image of the scanning result on the display screen 80. To improve scanning accuracy and stability, a gyroscope 70 can also be configured inside the scanning device to detect the deflection angle of the scanning direction in real time, so as to perform rotation correction on the scanning result during the image post-processing stage.

[0076] The semiconductor photoelectric displacement sensor 30 used in this embodiment has a simpler structure and smaller size compared to the traditional grating encoder, and is dustproof and waterproof through the isolation gasket 4028, thereby significantly improving the reliability and service life of the device.

[0077] This invention employs a semiconductor photoelectric displacement sensor 30, avoiding the problems of large size and complex structure associated with traditional grating encoders. The semiconductor photoelectric displacement sensor 30 has the advantage of adjustable line scan trigger distance, whereas the trigger distance of traditional grating encoders is fixed and cannot be adjusted.

[0078] Furthermore, by checking the circumference of the shaft, this invention avoids measuring the travel distance and generating a line scanning signal by directly detecting the scanning surface or the detection roller through a photoelectric displacement chip. This method can achieve dust and water resistance by using a gasket for isolation in a more convenient way.

[0079] According to an embodiment of the present invention, a method embodiment for scanning a contact linear image sensor is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0080] Figure 6 This is a scanning method based on a contact linear image sensor according to an embodiment of the present invention, such as... Figure 6As shown, the method includes the following steps:

[0081] In step S602, when the scanning device is moved along the scanning surface, the traveling distance of the contact linear image sensor (CIS) is detected by the photoelectric displacement sensor, and a scanning trigger signal is generated when the traveling distance of the CIS reaches a preset CIS displacement threshold.

[0082] In step S604, after receiving the scan trigger signal, the main control circuit of the scanning device controls the CIS to perform a line scan acquisition operation.

[0083] It should be noted that the scanning method based on the contact linear image sensor provided in the above embodiments and the scanning device embodiments based on the contact linear image sensor belong to the same concept. For details of their specific implementation process, please refer to the device embodiments, which will not be repeated here.

[0084] Figure 7 A schematic diagram of a computer device suitable for implementing embodiments of the present disclosure is shown. It should be noted that... Figure 7 The computer device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0085] like Figure 7 As shown, the computer device includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage section 1008 into a random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for system operation. The CPU 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0086] The following components are connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 1010 as needed so that computer programs read from it can be installed into storage section 1008 as needed.

[0087] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A scanning apparatus based on a contact line array image sensor, characterized by, The scanning device comprises: a housing; a contact line array image sensor (CIS) arranged in the housing; an optical displacement sensor arranged in the housing and configured to detect a travel distance of the CIS when the scanning device is moved along a scanning surface, and generate a scanning trigger signal when the travel distance of the CIS reaches a preset CIS displacement threshold; a main control circuit communicatively connected with the CIS and the optical displacement sensor, and configured to control the CIS to perform a one-time line scanning acquisition operation after receiving the scanning trigger signal.

2. The scanning device of claim 1, wherein: the scanning device further comprises an auxiliary sliding component, the auxiliary sliding component comprising a first rolling component and a second rolling component symmetrically arranged at two ends of the CIS and configured to drive the scanning device to slide along the scanning surface; the optical displacement sensor is arranged near the first rolling component and configured to detect a displacement amount of the first rolling component in real time, and generate the scanning trigger signal when the displacement amount of the first rolling component reaches a preset rotation threshold.

3. The scanning device of claim 2, wherein, The first rolling component and the second rolling component respectively comprise: a roller partially exposed outside the housing and configured to assist the scanning device to move along the scanning surface; a rotating shaft penetrating through the center of the roller and fixedly connected with the roller and configured to rotate synchronously with the roller.

4. The scanning device of claim 3, wherein: the optical displacement sensor is arranged above the rotating shaft of the first rolling component and configured to detect a rotation displacement amount of the rotating shaft of the first rolling component as the displacement amount of the first rolling component; or the optical displacement sensor is arranged above the roller of the first rolling component and configured to detect a rotation displacement amount of the roller of the first rolling component as the displacement amount of the first rolling component.

5. The scanning device of claim 1, wherein, The optical displacement sensor is further configured to directly detect a relative displacement amount of the scanning surface relative to the scanning device as the travel distance of the CIS.

6. The scanning device of claim 4, wherein: in the case of detecting the rotation displacement amount of the rotating shaft of the first rolling component, the preset rotation threshold is determined according to a ratio of a diameter of the roller of the first rolling component to a diameter of the rotating shaft of the first rolling component and the preset CIS displacement threshold; in the case of detecting the rotation displacement amount of the roller of the first rolling component, the preset rotation threshold is determined based on the preset CIS displacement threshold.

7. The scanning device of claim 3, wherein, The first rolling component further comprises an isolation gasket penetrated by the rotating shaft of the first rolling component and configured to form a physical isolation between the roller of the first rolling component and the optical displacement sensor, so that the optical displacement sensor and the roller of the first rolling component are in mutually independent spaces.

8. The scanning device of claim 7, wherein, The first rolling component or the second rolling component further respectively comprises two bearings respectively mounted at two ends of the corresponding rotating shaft and configured to support the corresponding rotating shaft and limit a rotation position of the corresponding rotating shaft.

9. The scanning device of claim 7, wherein, The housing is provided with a mounting frame corresponding to the inner periphery of the first and second rolling components, configured to fix the rollers, rotating shafts and bearings of the first and second rolling components, and the isolation gasket of the first rolling component.

10. A scanning method based on a contact line array image sensor, characterized by, Comprise: When the scanning device is moved along the scanning surface, the travel distance of the contact line array image sensor (CIS) is detected by the photoelectric displacement sensor, and when the travel distance of the CIS reaches a preset CIS displacement threshold, a scanning trigger signal is generated; The main control circuit of the scanning device controls the CIS to perform a one-time line scanning collection operation after receiving the scanning trigger signal. The scanning device is any one of the scanning devices according to claims 1-9.