Image scanning method and system based on photoelectric triggering

Through the photoelectric trigger-based image scanning method, non-contact displacement measurement and image calibration are used to use photoelectric displacement sensors and inertial measurement units to solve the problems of large weight and mechanical complexity of traditional scanners, and the lightweight and high-precision image acquisition effect is achieved .

CN119484714APending Publication Date: 2025-02-18SICHUAN BISHENG INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411610491.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Traditional image scanners are too heavy, inconvenient to carry, and have complex mechanical structures, easy to damage the rollers, making it difficult to realize lightweight and integrated portable scanning solutions.

Method used

Using a photoelectric trigger-based image scanning method, non-contact displacement measurement is performed on the surface of the object through a photoelectric displacement sensor, a pulse signal is used to trigger the scanning signal, and an inertial measurement unit is used to calibrate and fuse the image to generate the final image.

Benefits of technology

It realizes lightweight scanning and high-precision image acquisition, eliminates the physical triggering method of traditional mechanical scanners, has high accuracy in the scanning distance of mobile triggers, and can be flexibly adjusted through software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484714A_ABST
    Figure CN119484714A_ABST
Patent Text Reader

Abstract

The invention discloses an image scanning method and system based on photoelectric triggering, and the method comprises the steps: carrying out the power-on initialization of a main control chip; the photoelectric displacement sensor and the inertial measurement unit record current scanning information, and when the movement distance of the photoelectric displacement sensor reaches a preset value, a pulse signal is generated; after receiving the pulse signal, the main control chip reads displacement information, judges displacement data, and determines whether to trigger a scanning signal and start scanning according to a judgment result; the MCU generates an image acquisition time sequence according to a received line scanning signal sent by the main control chip, and the CIS image sensor scans according to the image acquisition time sequence and sends acquired image information to the ADC chip; and after receiving the digital image information, the main control chip performs image calibration and fusion according to the displacement data and the inertial measurement unit data to generate a final image. According to the invention, non-contact displacement measurement is carried out by using semiconductor laser, and light-weight scanning and high-precision image acquisition are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image scanning, and in particular to an image scanning method and system based on photoelectric triggering. Background Art

[0002] Traditional contact scanning solutions are often used on desktop scanners and require the use of slide rails. This solution is difficult to achieve lightweight and integration, while the scanning solution with rollers usually drives the encoder through the roller shaft. Although there are portable scanners, their mechanical structure is complex and the rollers are easily damaged, so they are not ideal portable scanning solutions. Summary of the invention

[0003] One of the purposes of the present invention is to provide an image scanning method based on photoelectric triggering to solve the problem that traditional scanning is too heavy and inconvenient.

[0004] The present invention is implemented by the following technical scheme, an image scanning method based on photoelectric triggering, comprising the following steps: S100, the main control chip is powered on and initialized, the photoelectric displacement sensor is started, and the working mode of the ADC chip is configured, and the MCU is started to prepare for clock generation; S200, the photoelectric displacement sensor and the inertial measurement unit record the current scanning information, when the photoelectric displacement sensor reaches a preset value in the moving distance, a pulse signal is generated, the main control chip obtains displacement data through the photoelectric displacement sensor, and obtains the angle information of the current scanning posture through the inertial measurement unit; S300, after receiving the pulse signal, the main control chip reads the displacement information and performs displacement data. According to the judgment, and based on the judgment result, it is decided whether to trigger the row scanning signal to start the scan; S400, the MCU generates an image acquisition timing according to the row scanning signal sent by the main control chip, the CIS image sensor scans according to the image acquisition timing, and sends the collected image information to the ADC chip, the ADC chip converts the analog signal image information sent by the CIS image sensor into digital signal image information, and then transmits it to the main control chip through a high-speed data transmission bus; S500, after the main control chip receives the digital image information, it performs image calibration and fusion according to the displacement data and the inertial measurement unit data to generate the final image.

[0005] Furthermore, starting the photoelectric displacement sensor includes loading initialization settings, starting the device to scan, the main control chip starting the photoelectric displacement sensor, and setting the x-axis and y-axis unit trigger scanning widths of the photoelectric sensor.

[0006] Furthermore, the photoelectric displacement sensor is displaced on the scanned plane. When the moving distance of the photoelectric displacement sensor on the scanned plane reaches a preset value, the main control chip records the data sent by the photoelectric displacement sensor and makes a judgment on the displacement data.

[0007] Furthermore, judging the displacement data includes that the main control chip reads the displacement data of the x-axis of the photoelectric displacement sensor and performs a displacement value judgment. When x is a negative number, the scan is not triggered; when x is a positive number and the accumulated value reaches the set unit trigger scan width, the net displacement value is updated and the scan is triggered, and the y-axis movement distance is read, and the y-axis movement distance is recorded as an auxiliary parameter.

[0008] On the other hand, the present invention also provides an image scanning system based on photoelectric triggering, which includes a control unit, an auxiliary sensor unit, an image acquisition unit, a data conversion unit and a timing control unit, wherein the control unit is configured to complete power-on initialization through a main control chip, and is connected to the data conversion unit, the auxiliary sensor unit, the data conversion unit and the timing control unit, processes the data sent by each unit and controls each unit, after the main control chip of the control unit completes power-on initialization, starts the image acquisition unit, configures the working mode of the data conversion unit, and simultaneously starts the MCU of the timing control unit to prepare for clock generation, after receiving the data sent by the image acquisition unit, processes the data in combination with the information of the auxiliary sensor unit, obtains image calibration and fusion, and generates a final image; the image acquisition unit is connected to the data conversion unit and the timing control unit, and is configured to generate a final image according to the timing control unit. The control unit completes image data acquisition according to the control signal sent by the control unit, and sends the acquired image data to the data conversion unit; the data conversion unit is connected to the control unit, the image acquisition unit and the timing control unit, and is configured to convert the image data acquired by the image acquisition unit from an analog signal to a digital signal according to the control signal sent by the timing control unit, and send it to the control unit; the timing control unit is connected to the image acquisition unit, the data conversion unit and the control unit, and is configured to generate a timing control signal according to the pulse signal sent by the main control chip to control the image acquisition unit and the data conversion unit to complete data acquisition, conversion and transmission of data signals; the auxiliary sensor unit is connected to the control unit, and is configured to record the current scanning information, generate a pulse signal when the sensor reaches a preset value in the moving distance, and send the pulse signal to the control unit, and send the displacement data and angle information to the control unit at the same time.

[0009] Furthermore, the control unit is composed of a main control chip and its basic circuit.

[0010] Furthermore, the image acquisition unit is composed of a CIS image sensor and its basic circuit.

[0011] Furthermore, the data conversion unit is composed of an ADC conversion chip and its basic circuit.

[0012] Furthermore, the auxiliary sensor unit includes a photoelectric displacement sensor subunit and an inertial measurement unit subunit, wherein the photoelectric displacement sensor subunit is configured to receive preset information sent by the control unit and set a preset value, and generate a pulse signal when the moving distance reaches the preset value in the preset information, and send the displacement data and pulse signal obtained by the photoelectric displacement sensor to the control unit; the inertial measurement unit subunit is configured to couple with the photoelectric displacement sensor subunit, and when the photoelectric displacement sensor subunit generates a pulse signal, send the angle information of the current scanning posture to the control unit.

[0013] Furthermore, the inertial measurement unit subunit is composed of a six-axis inertial measurement unit and its basic circuits.

[0014] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0015] 1. The present invention uses semiconductor lasers to perform non-contact displacement measurement and triggers scanning by the displacement of the scanning head on the surface of the object, thereby achieving lightweight scanning and high-precision image acquisition.

[0016] 2. The present invention eliminates the physical triggering method of the traditional mechanical scanner and uses a photoelectric displacement detection device to trigger the scanning signal. At the same time, the photoelectric displacement sensor can accurately detect the moving distance, the moving trigger scanning distance is highly accurate, and can be flexibly adjusted through software.

[0017] 3. Use MCU simulation to perform timing control, and the main control chip to generate trigger signals. Since the control hardware of the general main control chip cannot directly generate the timing required by the ADC conversion chip, a separate MCU is added for timing generation, and the MCU generates the high-speed timing required for ADC conversion. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0019] Figure 1 This is a flowchart provided for Example 1 of the present invention.

[0020] Figure 2 This is a system block diagram provided for Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0021] 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, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0022] Embodiment 1,

[0023] This embodiment discloses an image scanning method based on photoelectric triggering. Figure 1 The flowchart of this embodiment is shown, which specifically includes the following steps:

[0024] Step 1: Power on and initialize the main control chip, start the photoelectric displacement sensor, configure the working mode of the ADC chip, and start the MCU to prepare for clock generation.

[0025] Starting the photoelectric displacement sensor specifically includes loading the initialization settings, starting the device to scan, the main control chip starting the photoelectric displacement sensor, and setting the x-axis and y-axis trigger accuracy of the photoelectric sensor.

[0026] Step 2: The photoelectric displacement sensor performs initial movement on the scanned plane. When the moving distance of the photoelectric displacement sensor on the scanned plane reaches a preset value, the photoelectric displacement sensor generates a pulse signal to notify the main control chip, and the main control chip obtains displacement data based on the data transmitted by the photoelectric displacement sensor.

[0027] Step 3: After receiving the pulse signal, the main control chip starts to read the displacement of the x-axis and first determines the displacement value.

[0028] If x is a negative number (recorded as n), it means that the scanning head moves to the left. So the current net displacement value d=n is recorded. Because d<0, the system does not trigger scanning.

[0029] In the next pulse signal, if the displacement value x read is a positive number (denoted as m), it means that the scanning head moves to the right; update the net displacement value d n =d+m, and then judge the net displacement value. If m+n>0, that is, d>0, it means that the net right shift value is greater than 0. At this time, the main control chip generates a line scan signal and sends it to the MCU, and resets d to 0. In other words, the scanning sequence will only be triggered when the net increase value of the scanning head moving to the right is greater than 0. The main control chip then reads the longitudinal movement distance y and the 6-axis gyroscope information for the final image calibration and fusion.

[0030] Step 4. The MCU generates an image acquisition timing according to the line scanning signal sent by the main control chip. The CIS image sensor scans according to the image acquisition timing and sends the collected image information to the ADC chip. The ADC chip converts the analog signal image information sent by the CIS image sensor into digital signal image information, and then transmits it to the main control chip through a high-speed data transmission bus.

[0031] Step 5: After receiving the digital image information, the main control chip performs image calibration and fusion according to the displacement data and the inertial measurement unit data to generate a final image.

[0032] Example 2

[0033] This embodiment provides an image scanning system based on photoelectric triggering. Figure 2 The system block diagram of the present embodiment is shown. It can be seen from the figure that the present system includes a control unit, an auxiliary sensor unit, an image acquisition unit, a data conversion unit and a timing control unit.

[0034] The control unit is configured to complete the power-on initialization of each unit through the main control chip of the control unit. The control unit is connected to the data conversion unit, the auxiliary sensor unit, the data conversion unit and the timing control unit. The control unit is configured to process the data sent by the above-mentioned units and control each unit, specifically including, when the main control chip of the control unit completes the power-on initialization, starting the image acquisition unit, configuring the working mode of the data conversion unit, and starting the MCU of the timing control unit to prepare for clock generation, and after receiving the data sent by the image acquisition unit, combining the information of the auxiliary sensor unit to process the data, obtain image calibration and fusion, and generate the final image.

[0035] In this embodiment, the control unit is composed of a main control chip and its basic circuits, wherein the main control chip can be an FPGA chip.

[0036] The image acquisition unit is connected to the data conversion unit and the timing control unit, and is configured to complete image data acquisition according to a control signal sent by the timing control unit, and send the acquired image data to the data conversion unit.

[0037] In this embodiment, the image acquisition unit may be composed of a CIS image sensor and its basic circuit.

[0038] The data conversion unit is connected to the control unit, the image acquisition unit and the timing control unit, and is configured to convert the image data acquired by the CIS image sensor in the image acquisition unit from analog signals to digital signals according to the control signal sent by the timing control unit, and send the digital signals to the control unit.

[0039] In this embodiment, the data conversion unit may be composed of an ADC conversion chip and its basic circuit.

[0040] The timing control unit is connected to the image acquisition unit, the data conversion unit and the control unit, and is configured to generate a timing control signal to control the image acquisition unit and the data conversion unit to complete data acquisition, conversion and transmission of data signals according to the pulse signal sent by the main control chip.

[0041] In this embodiment, the timing control unit may be composed of an MCU chip and its basic circuits.

[0042] The auxiliary sensor unit is connected to the control unit and is configured to record current scanning information, generate a pulse signal when the sensor moves a preset distance, and send the pulse signal to the control unit, while sending displacement data and angle information to the control unit.

[0043] Specifically, the auxiliary sensor unit may include a photoelectric displacement sensor subunit and an inertial measurement unit subunit.

[0044] Among them, the photoelectric displacement sensor subunit is configured to receive preset information sent by the control unit and set a preset value, and generate a pulse signal when the moving distance reaches the preset value in the preset information, and send the displacement data and pulse signal obtained by the photoelectric displacement sensor to the control unit.

[0045] The inertial measurement unit subunit is configured to couple with the photoelectric displacement sensor subunit and send the angle information of the current scanning posture to the control unit when the photoelectric displacement sensor subunit generates a pulse signal. In this embodiment, the inertial measurement unit subunit is composed of a six-axis inertial measurement unit and its basic circuit.

[0046] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An image scanning method based on photoelectric triggering, characterized in that: The image scanning method comprises: S100, the main control chip is powered on and initialized, the photoelectric displacement sensor is started, and the working mode of the ADC chip is configured, and the MCU is started to prepare for clock generation; S200, the photoelectric displacement sensor and the inertial measurement unit record the current scanning information. When the photoelectric displacement sensor reaches the preset value in the moving distance, a pulse signal will be generated. The main control chip obtains displacement data through the photoelectric displacement sensor and obtains the angle information of the current scanning posture through the inertial measurement unit; S300, after receiving the pulse signal, the main control chip reads the displacement information, makes a displacement data judgment, and decides whether to trigger a row scanning signal and start scanning according to the judgment result; S400, MCU generates an image acquisition timing according to the received line scanning signal sent by the main control chip, the CIS image sensor scans according to the image acquisition timing, and sends the collected image information to the ADC chip, the ADC chip converts the analog signal image information sent by the CIS image sensor into digital signal image information, and then transmits it to the main control chip through a high-speed data transmission bus; S500: After receiving the digital image information, the main control chip performs image calibration and fusion according to the displacement data and the inertial measurement unit data to generate a final image.

2. The image scanning method based on photoelectric triggering according to claim 1, characterized in that: The starting of the photoelectric displacement sensor includes loading initialization settings, starting scanning of the device, starting the photoelectric displacement sensor by the main control chip, and setting the x-axis and y-axis unit trigger scanning widths of the photoelectric sensor.

3. The image scanning method based on photoelectric triggering according to claim 1, characterized in that: The photoelectric displacement sensor moves on the scanned plane. When the moving distance of the photoelectric displacement sensor on the scanned plane reaches a preset value, the main control chip records the data sent by the photoelectric displacement sensor and makes a judgment on the displacement data.

4. The image scanning method based on photoelectric triggering according to claim 3 is characterized in that: The determination of the displacement data includes: the main control chip reads the displacement data of the x-axis of the photoelectric displacement sensor, and determines the displacement value. When x is a negative number, the scan is not triggered; When x is a positive number and the accumulated value reaches the set unit trigger scan width, the net displacement value is updated and the scan is triggered, and the y-axis movement distance is read and recorded as an auxiliary parameter.

5. An image scanning system based on photoelectric triggering, characterized in that: The image scanning system includes a control unit, an auxiliary sensor unit, an image acquisition unit, a data conversion unit and a timing control unit, wherein: The control unit is configured to complete power-on initialization through the main control chip, and to be connected with the data conversion unit, the auxiliary sensor unit, the data conversion unit and the timing control unit, to process the data sent by each unit and to control each unit. After the main control chip of the control unit completes power-on initialization, the image acquisition unit is started, the working mode of the data conversion unit is configured, and the MCU of the timing control unit is started to prepare for clock generation. After receiving the data sent by the image acquisition unit, the data is processed in combination with the information of the auxiliary sensor unit to obtain image calibration and fusion, and generate a final image. The image acquisition unit is connected to the data conversion unit and the timing control unit, and is configured to complete image data acquisition according to the control signal sent by the timing control unit, and send the acquired image data to the data conversion unit; The data conversion unit is connected to the control unit, the image acquisition unit and the timing control unit, and is configured to convert the image data acquired by the image acquisition unit from an analog signal to a digital signal according to a control signal sent by the timing control unit, and send the digital signal to the control unit; The timing control unit is connected to the image acquisition unit, the data conversion unit and the control unit, and is configured to generate a timing control signal to control the image acquisition unit and the data conversion unit to complete data acquisition, data signal conversion and transmission according to the pulse signal sent by the main control chip; The auxiliary sensor unit is connected to the control unit and is configured to record current scanning information, generate a pulse signal when the sensor moves a preset distance, and send the pulse signal to the control unit, while sending displacement data and angle information to the control unit.

6. The photoelectrically triggered image scanning system according to claim 5, characterized in that: The control unit is composed of a main control chip and its basic circuit.

7. The photoelectrically triggered image scanning system according to claim 5, characterized in that: The image acquisition unit is composed of a CIS image sensor and its basic circuit.

8. The photoelectrically triggered image scanning system according to claim 5, characterized in that: The data conversion unit is composed of an ADC conversion chip and its basic circuit.

9. The photoelectrically triggered image scanning system according to claim 5, characterized in that: The auxiliary sensor unit comprises, The photoelectric displacement sensor subunit and the inertial measurement unit subunit, wherein: The photoelectric displacement sensor subunit is configured to receive preset information sent by the control unit and set a preset value, and generate a pulse signal when the moving distance reaches the preset value in the preset information, and send the displacement data and pulse signal obtained by the photoelectric displacement sensor to the control unit; The inertial measurement unit subunit is configured to be coupled with the photoelectric displacement sensor subunit, and to send angle information of the current scanning posture to the control unit when the photoelectric displacement sensor subunit generates a pulse signal.

10. The photoelectrically triggered image scanning system according to claim 9, characterized in that: The inertial measurement unit subunit is composed of a six-axis inertial measurement unit or other inertial measurement units and their basic circuits.