Signal processing method, signal processing system, chip, storage medium and device

By introducing a scanning timing control unit into the contact image sensor, and using the scanning line synchronization signal of the main controller to trigger the internal line synchronization signal and control signal, the problems of resource occupation and electromagnetic interference in the prior art are solved, and more efficient signal processing and transmission are achieved.

CN119031083APending Publication Date: 2024-11-26ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411143179.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, the control method of contact image sensors requires the control resources of the on-chip system, and electromagnetic interference may occur during remote transmission, resulting in inaccurate signal transmission.

Method used

By introducing a scanning timing control unit into the contact image sensor, the scanning line synchronization signal of the main controller is used to trigger the internal line synchronization signal and control signal, reducing the dependence on the on-chip system and processing the scanning operation of the image sensor internally.

Benefits of technology

It saves on-chip system I/O resources, reduces the risk of electromagnetic interference, and improves the accuracy and efficiency of signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031083A_ABST
    Figure CN119031083A_ABST
Patent Text Reader

Abstract

The invention discloses a signal processing method, a signal processing system, a chip, a storage medium and a device, the method can be configured in the chip and executed by the chip, and when the chip executes the method, when scanning line synchronization signals periodically transmitted by a main controller are received, internal line synchronization signals are periodically triggered and generated; and generating an internal line synchronizing signal, triggering to generate a control signal, and transmitting the control signal to the image sensor, so that the image sensor scans the line data. The scanning time sequence control unit generates the internal line synchronization signal when receiving the scanning line synchronization signal, and triggers and generates the control signal to control the image sensor to scan the line data after generating the internal line synchronization signal, so that IO resources and system resources of a system on chip are saved; the system on chip only needs to receive the transmitted image data; and the electromagnetic interference risk in long-distance transmission of the high-speed clock signal can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image forming technology, and in particular to a signal processing method, a signal processing system, a chip, a storage medium and a device. Background Art

[0002] The contact image sensor (CIS), analog front end chip (AFE) and stepper motor are the core components of the contact image scanner. The existing control method is to generate a line synchronization signal after the stepper motor moves to the specified scanning area, and use the line synchronization signal to trigger the control timing of the image sensor and the analog front end chip, and then the control timing of the image sensor and the analog front end chip is independent of the operating state of the stepper motor. However, in this method, the lighting timing of the image sensor and the output of the analog signal of the image sensor need to be controlled by the system on chip (SoC) of the image forming device, which needs to occupy the control resources of the system on chip. In addition, during the remote transmission process, electromagnetic interference (EMI) may exist, resulting in inaccurate signal transmission. Summary of the invention

[0003] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a signal processing method, a signal processing system, a chip, a storage medium and a device, which are used to solve the problem that on-chip system control resources need to be occupied to process the image sensor lighting timing and image analog signals, and / or the remote transmission may have electromagnetic interference, resulting in interference with the clock signal, and the inaccurate lighting timing leads to inaccurate output image.

[0004] According to a first aspect of the present invention, there is provided a signal processing method, comprising:

[0005] The scanning timing control unit periodically triggers the generation of an internal line synchronization signal when receiving the scanning line synchronization signal periodically transmitted by the main controller; and

[0006] After the internal row synchronization signal is generated, a control signal is generated, and the control signal is transmitted to the image sensor so that the image sensor scans the row data.

[0007] The signal processing method of the present invention generates an internal line synchronization signal when receiving a scanning line synchronization signal through a scanning timing control unit, and triggers the generation of a control signal after generating the internal line synchronization signal to control the image sensor to scan the line data, thereby helping to save IO resources and system resources of the on-chip system, and the on-chip system only needs to receive the image data transmitted back; and can reduce the risk of electromagnetic interference associated with the long-distance transmission of high-speed clock signals.

[0008] In some implementations, a periodic time of the scan line synchronization signal periodically transmitted by the main controller is a first time.

[0009] In some implementations, the scan timing control unit periodically delays a second time to trigger generation of the internal row synchronization signal.

[0010] In some embodiments, the control signal includes a main clock signal, a pulse start signal, and a lighting signal;

[0011] Wherein, the scanning timing control unit delays a third time to trigger the generation of the pulse start signal;

[0012] The scanning timing control unit delays a fourth time to trigger the generation of the lighting signal;

[0013] The scanning timing control unit delays the fifth time period and stops generating the lighting signal.

[0014] In some implementations, the lighting signal includes a first lighting signal, a second lighting signal, and a third lighting signal, and the method includes:

[0015] In the first scanning mode, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal in sequence until the scanning operation performed by the image sensor is completed.

[0016] In some implementations, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal, and the third lighting signal in sequence until the scanning operation performed by the image sensor is completed, including:

[0017] The scanning timing control unit triggers the generation of the first lighting signal so that the image sensor performs a first color lamp lighting operation; and

[0018] When the generation of the first lighting signal stops, triggering the generation of the second lighting signal to enable the image sensor to perform a second color lamp lighting operation; and

[0019] When the second lighting signal stops being generated, triggering the generation of the third lighting signal to enable the image sensor to perform a third color lamp lighting operation;

[0020] The color lamp lighting step is cycled periodically until the scanning operation performed by the image sensor is completed.

[0021] In some implementations, the lighting signal includes a first lighting signal, a second lighting signal, and a third lighting signal, and the method includes:

[0022] In the second scanning mode, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal at the same time, or periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed.

[0023] In some implementations, the scanning timing control unit periodically and simultaneously triggers the generation of the first lighting signal, the second lighting signal, and the third lighting signal until the scanning operation performed by the image sensor is completed, including:

[0024] The scanning timing control unit triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal simultaneously, so that the image sensor performs the first color light lighting operation, the second color light lighting operation and the third color light lighting operation simultaneously, and cycles periodically until the scanning operation performed by the image sensor is completed; or

[0025] The scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed, including:

[0026] The scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal, so that the image sensor performs one of the first color light lighting operation, the second color light lighting operation and the third color light lighting operation, and cycles periodically until the scanning operation performed by the image sensor is completed.

[0027] According to a second aspect of the present invention, a signal processing system is provided, the signal processing system is used to perform the above-mentioned signal processing method, comprising:

[0028] A scanning timing control unit, the scanning timing control unit is used to periodically trigger the generation of an internal line synchronization signal when receiving a scanning line synchronization signal periodically transmitted by a main controller; and

[0029] After the internal row synchronization signal is generated, a control signal is generated, and the control signal is transmitted to the image sensor so that the image sensor scans the row data.

[0030] According to a third aspect of the present invention, a chip is provided, wherein the chip is configured to execute the above-mentioned signal processing method.

[0031] According to a fourth aspect of the present invention, there is provided an image forming apparatus, comprising:

[0032] at least one processor; and

[0033] a memory communicatively connected to the at least one processor; wherein,

[0034] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the above-mentioned signal processing method.

[0035] According to a fifth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the above-mentioned signal processing method when executed by a processor.

[0036] Compared with the prior art, the signal processing method, signal processing system, chip, storage medium and device of the present invention generate an internal line synchronization signal when receiving a scanning line synchronization signal through a scanning timing control unit, and trigger the generation of a control signal after generating the internal line synchronization signal to control the image sensor to scan the line data, thereby helping to save IO resources and system resources of the on-chip system. The on-chip system only needs to receive the transmitted image data; and can reduce the EMI risk associated with the long-distance transmission of high-speed clock signals; the timing control is simpler, more efficient and adaptable to a variety of application scenarios, can adapt to various signal processing situations, and can be dynamically configured according to needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of the structure of a signal processing system according to an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the structure of an analog front-end chip according to an embodiment of the present invention;

[0039] Figure 3 A flowchart of a signal processing method according to an embodiment of the present invention;

[0040] Figure 4 This is a timing diagram of image sensor control in a first scanning mode by a scanning timing control unit according to one embodiment of the present invention;

[0041] Figure 5 It is a flow chart of a scanning timing control unit in a first scanning mode according to an embodiment of the present invention;

[0042] Figure 6 A specific flow chart of a scanning timing control unit in a first scanning mode according to an embodiment of the present invention;

[0043] Figure 7 A flowchart of a lighting cycle control generated by a counter in a first scanning mode according to an embodiment of the present invention;

[0044] Figure 8 A data flow chart of color scanned image data output from an analog front-end chip to a main controller according to an embodiment of the present invention;

[0045] Fig. 9 It is a flow chart of a scanning timing control unit in a second scanning mode according to an embodiment of the present invention;

[0046] Fig.10 A first specific flow chart of a scanning timing control unit in a second scanning mode according to an embodiment of the present invention;

[0047] Fig.11 A timing diagram of image sensor control in a second scanning mode by a scanning timing control unit according to an embodiment of the present invention;

[0048] Fig.12 A second specific flow chart of a scanning timing control unit in a second scanning mode according to an embodiment of the present invention;

[0049] Fig.13 FIG. 1 is a schematic structural diagram of an image forming apparatus according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0051] Usually, the R / G / B LED lighting timing of the contact image sensor (CIS) and the analog signal output control of the image sensor are independently completed by the system on chip (SoC), and the analog front end chip (AFE) is only responsible for biasing, amplifying and converting the analog signal of the image sensor into a digital signal and outputting it to the system on chip for image processing.

[0052] However, this method requires the use of control resources of the on-chip system, and since electromagnetic interference (EMI) may exist during the long-distance transmission process, the signal transmission may be inaccurate.

[0053] In order to solve the above problems, an embodiment of the present invention provides a signal processing system, such as Figure 1 and Figure 2 As shown, the signal processing system includes a main controller 10, a chip 20 and an image sensor 30 at the image forming device end, wherein a scan timing control unit 21 is integrated inside the chip 20. Exemplarily, the main controller 10 can be a system on chip, the chip 20 can be an analog front-end chip, and the scan timing control unit 21 can be a timing generator (Timing Generator, TG). The main controller 10 can configure the registers of the scan timing control unit 21 through an SPI (Serial Peripheral Interface) interface to generate several groups of specific signal pulses for scan timing control of the image sensor 30.

[0054] The main controller 10 transmits the scanning line synchronization signal XLSYNC and the main clock signal MCLK required for the chip 20 to work to the chip 20 through the SPI interface; the scanning timing control unit 21 of the chip 20 triggers the generation of the internal line synchronization signal LS (Line start) when receiving the scanning line synchronization signal XLSYNC. At the same time, after generating the internal line synchronization signal LS, the scanning timing control unit 21 delays the triggering and generates the control signal, wherein the control signal includes the main clock signal CIS_CLK, the pulse start signal SP and the lighting signal LEDx_on required for the image sensor 30 to work; since the image sensor 30 has three colors of LED lights, R / G / B LED, correspondingly, the lighting signal LEDx_on for lighting the three-color LED lights also has three lighting signals. For ease of understanding, the R LED light is the first color light, the G LED light is the second color light, and the B LED light is the second color light. Taking the LED lamp as a third color lamp as an example, the lighting signal LEDx_on includes the corresponding first lighting signal LED1_on, second lighting signal LED2_on and third lighting signal LED3_on in sequence. When it is necessary to stop lighting (i.e., turn off) the three-color LED lamp, the scanning timing control unit 21 of the chip 20 can stop generating the corresponding lighting signal LEDx_on to turn off the corresponding color lamp, or generate the corresponding off signal LEDx_off (including LED1_off, LED2_off and LED3_off) to turn off the corresponding color lamp.

[0055] The image sensor 30 transmits the analog signal of the image data obtained by scanning to the chip 20 for data processing (such as biasing, amplifying and AD converting the analog signal into a digital signal). The chip 20 converts the analog signal of the image data into a digital signal of the image data and transmits it to the main controller 10 through the data bus. The main controller 10 forms a scanned image according to the digital signal of the image data. Thus, the scanning timing control and the scanning data processing do not require the control resources of the system on chip (SOC). The system on chip only needs to receive the image data transmitted back, which can save the IO resources and system resources of the system on chip. In addition, since the high-speed clock signal is only transmitted within the chip 20, the EMI risk caused by long-distance transmission is avoided, which is conducive to improving the accuracy of scanning control.

[0056] In the signal processing system, the difference between the image sensor 30 (CIS) and the charge-coupled device (CCD) is that the former has a flat design, which makes the timing control simpler, lower cost and more space-saving, but the lighting control is different from that of an incandescent lamp. The three-color LED lights R→G→B are alternately lit in a cycle and scanned line by line at the same time. Then, according to the principle of the three primary colors, the image data obtained by lighting the R / G / B LED lights is resynthesized to restore the scanned electronic image of the drawing.

[0057] The present invention provides a signal processing method for controlling the above Figure 1 and Figure 2 The signal processing system shown in Figure 3 As shown, the signal processing method includes:

[0058] S100: When receiving a scanning line synchronization signal periodically transmitted by a main controller, the scanning timing control unit periodically triggers the generation of an internal line synchronization signal;

[0059] In this embodiment, if Figure 4 As shown, the main controller 10 will periodically transmit the scan line synchronization signal XLSYNC and the main clock signal MCLK required for the operation of the chip 20 to the chip 20 through the SPI interface. The scan timing control unit 21 in the chip 20 will periodically trigger the generation of the internal line synchronization signal LS when receiving the periodically transmitted scan line synchronization signal XLSYNC. The internal line synchronization signal LS is used to represent the head of each line of data. The scan timing control unit 21 can be triggered to generate the internal line synchronization signal LS during the high-level activity period of the scan line synchronization signal XLSYNC.

[0060] In an optional embodiment, if Figure 4 As shown, the cycle time of the scanning line synchronization signal XLSYNC periodically transmitted by the main controller 10 may be the first time t LINE, that is, the time interval between the rising edge of the previous scanning line synchronization signal XLSYNC and the rising edge of the next scanning line synchronization signal XLSYNC is the first time t LINE .

[0061] In an optional embodiment, if Figure 4 As shown, the scanning timing control unit 21 periodically delays the second time t d The internal line synchronization signal LS is triggered, that is, the scanning timing control unit 21 delays the falling edge of the scanning line synchronization signal XLSYNC for a second time t d The internal line synchronization signal LS is generated again by triggering. Correspondingly, the time interval between the rising edge of the previous internal line synchronization signal LS and the rising edge of the next internal line synchronization signal LS is the first time t LINE .

[0062] S200: After generating an internal row synchronization signal, the scanning timing control unit delays triggering to generate a control signal, and transmits the control signal to the image sensor, so that the image sensor scans the row data.

[0063] In this embodiment, if Figure 4 As shown, after generating the internal line synchronization signal LS, the scanning timing control unit 21 will use the falling edge of the internal line synchronization signal LS as a delay to trigger the generation of a control signal and transmit it to the image sensor 30. When receiving the control signal, the image sensor 30 will scan the line data to achieve scanning timing control, wherein the control signal includes the main clock signal CIS_CLK, the pulse start signal SP and the lighting signal LEDx_on required for the operation of the image sensor 30.

[0064] In an optional embodiment, if Figure 4 As shown, after generating the internal line synchronization signal LS, the scanning timing control unit 21 triggers the generation of a master clock signal CIS_CLK with a specific timing as the master clock required for the image sensor 30 to work, which can avoid electromagnetic interference (EMI) during the clock pulse transmission through the system on chip (SOC) causing clock pulse errors, affecting the output of the line synchronization signal, and causing abnormal scanning image data, wherein the master clock signal CIS_CLK and the master clock signal MCLK required for the chip 20 to work have the same frequency.

[0065] In addition, the scanning timing control unit 21 may also trigger the generation of a main clock signal CIS_CLK with a specific timing as a main clock required for the image sensor 30 to work when receiving the scanning line synchronization signal XLSYNC.

[0066] In an optional embodiment, if Figure 4As shown, the scanning timing control unit 21 delays the third time td1 to trigger the generation of the pulse start signal SP, that is, when the scanning timing control unit 21 detects the internal line synchronization signal LS, it will delay the third time td1 based on the falling edge of the internal line synchronization signal LS. d1 Trigger to generate pulse start signal SP (i.e. Figure 4 As shown in TG1 (SP)), the pulse start signal SP serves as the start pulse signal (StartPulse) of the image sensor 30, and is the start signal for serially outputting the analog signal of the image data of each row scanned by the image sensor 30.

[0067] In an optional embodiment, if Figure 4 As shown, the scanning timing control unit 21 delays the fourth time t LED-ON-DELAY The trigger generates the lighting signal LEDx_on, and the scanning timing control unit 21 delays the fifth time t LED-OFF-DELAY Stop generating the lighting signal LEDx_on, wherein the lighting signal LEDx_on includes a first lighting signal LED1_on, a second lighting signal LED2_on and a third lighting signal LED3_on, the first lighting signal LED1_on (ie Figure 4 TG2 (LED1_on) shown in FIG) is used as the lighting signal of the first color lamp, and the second lighting signal LED2_on (ie Figure 4 TG3 (LED21_on) shown in FIG) is used as the lighting signal of the second color lamp, and the third lighting signal LED3_on (ie Figure 4 TG4 (LED3_on)) shown in FIG. 1 is used as the lighting signal of the third color lamp. The first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on are all delayed by the fourth time t based on the falling edge of the internal line synchronization signal LS as the delay. LED-ON-DELAY The first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on can be triggered by the same internal line synchronization signal LS, or can be triggered by different internal line synchronization signals LS. Correspondingly, the scanning timing control unit 21 uses the falling edge of the internal line synchronization signal LS as the delay, and delays the fifth time t LED-OFF-DELAY The generation of the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on is stopped, so that the corresponding color lamps are turned off.

[0068] It should be noted that the scanning timing control unit 21 can also delay the fifth time t based on the falling edge of the internal line synchronization signal LS as the delay. LED-OFF-DELAYA corresponding extinguishing signal LEDx_off (including LED1_off, LED2_off and LED3_off) is generated to extinguish the corresponding color lights.

[0069] In an optional embodiment, if Figure 5 As shown, the signal processing method includes:

[0070] S300: In the first scanning mode, the scanning timing control unit periodically triggers the generation of a first lighting signal, a second lighting signal and a third lighting signal in sequence until the scanning operation performed by the image sensor is completed.

[0071] In this embodiment, the first scanning mode can be a color scanning mode. When the scanning timing control unit 21 enters the first scanning mode, it needs to light up the first color light, the second color light and the third color light of the image sensor 30. Therefore, the scanning timing control unit 21 needs to periodically trigger the generation of the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on in sequence until the scanning operation performed by the image sensor 30 is completed.

[0072] In an optional embodiment, if Figure 6 As shown, step S300, the scanning timing control unit periodically triggers the generation of a first lighting signal, a second lighting signal and a third lighting signal in sequence until the scanning operation performed by the image sensor is completed, including:

[0073] S310: The scanning timing control unit triggers to generate a first lighting signal so that the image sensor performs a first color lamp lighting operation;

[0074] In this embodiment, if Figure 4 and Figure 7 As shown, the chip 20 has a first counter COLOR_TG1, a second counter COLOR_TG2 and a third counter COLOR_TG3 inside. The first counter COLOR_TG1, the second counter COLOR_TG2 and the third counter COLOR_TG3 correspond to the first color light, the second color light and the third color light of the image sensor 30 respectively, and can be used for color distinction in the color scanning mode. The chip 20 can set the lighting sequence of the first color light, the second color light and the third color light by configuring LED_ON_SEL[1:0]. The scanning timing control unit 21 triggers the first counter COLOR_TG1 to start counting at the falling edge of the first internal line synchronization signal LS. The time counted by the first counter COLOR_TG1 is the fourth time t LED-ON-DELAYWhen the first lighting signal LED1_on is triggered, the image sensor 30 will perform the first color lamp lighting operation when receiving the first lighting signal LED1_on, so as to light up the first color lamp within the period of the first internal line synchronization signal LS.

[0075] S320: When the scanning timing control unit stops generating the first lighting signal, it triggers the generation of the second lighting signal, so that the image sensor performs the second color lamp lighting operation;

[0076] In this embodiment, the time counted by the first counter COLOR_TG1 is the fifth time t LED-OFF-DELAY , the scanning timing control unit 21 stops generating the first lighting signal LED1_on; at the falling edge of the second internal line synchronization signal LS, the scanning timing control unit 21 controls the first counter COLOR_TG1 to clear and wait for the next count, and triggers the second counter COLOR_TG2 to start counting. The time counted by the second counter COLOR_TG2 is the fourth time t LED-ON-DELAY When the second lighting signal LED2_on is triggered, the image sensor 30 will perform the second color lamp lighting operation when receiving the second lighting signal LED2_on, so as to light up the second color lamp within the period of the second internal line synchronization signal LS.

[0077] S330: when the scanning timing control unit stops generating the second lighting signal, triggering the generation of a third lighting signal, so that the image sensor performs a third color lighting operation;

[0078] In this embodiment, the time counted by the second counter COLOR_TG2 is the fifth time t LED-OFF-DELAY When the scanning timing control unit 21 stops generating the second lighting signal LED2_on, the scanning timing control unit 21 controls the second counter COLOR_TG2 to clear and wait for the next count at the falling edge of the third internal line synchronization signal LS, and triggers the third counter COLOR_TG3 to start counting. The counting time of the third counter COLOR_TG3 is the fourth time t LED-ON-DELAY When the third lighting signal LED3_on is triggered, the image sensor 30 will perform the third color lamp lighting operation when receiving the third lighting signal LED3_on, so as to light up the third color lamp within the period of the third internal line synchronization signal LS.

[0079] S340: The scanning timing control unit periodically cycles the above color lamp lighting steps until the scanning operation performed by the image sensor is completed.

[0080] In this embodiment, the scanning timing control unit 21 periodically cycles step S310 , step S320 , and step S330 to complete the R→G→B lighting control cycle until the scanning operation performed by the image sensor 30 is completed.

[0081] It should be noted that the scanning timing control unit 21 may also trigger the generation of the extinguishing signal LEDx_off at the time point of stopping the generation of the lighting signal LEDx_on, instead of stopping the generation of the lighting signal LEDx_on, so as to extinguish the corresponding color lamp.

[0082] like Figure 8 As shown, in the color scanning mode, the image sensor 30 transmits the scanned color scan image data analog signal to the chip 20, and the chip 20 converts the image data analog signal into an image data digital signal and transmits it to the large database (Data Band) of the main controller 10 through the data bus (Data Bus). The known counter COLOR_TG1 / 2 / 3 is used as the internal counter of the chip 20, which is defined as the enable trigger counter of the first color lamp, the second color lamp and the third color lamp, respectively, to form an R→G→B lighting cycle. At the same time, after the previous line is lit (such as the first color lamp is lit), the data (R Data) is output in the next line, forming an RGB data Line-by-Line cycle output.

[0083] The internal line synchronization signal LS is used as the head of each line of data, and is represented by 0000h in the data bus output format (DataBit is all 0). The head of the line data starts from the falling edge of the internal line synchronization signal LS and is output after a third time td1. When the data receiving end of the main controller 10 detects the internal line synchronization signal LS, it indicates that a new line of data begins to be received, and is sent to the Data Band of the corresponding color according to the color light that is lit in the previous line. In order to distinguish image data from line headers, 0003h-FFFFh is defined to represent real image data.

[0084] In an optional embodiment, if Fig. 9 As shown, the signal processing method includes:

[0085] S400: In the second scanning mode, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal at the same time, or periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed.

[0086] In this embodiment, the second scanning mode can be a monochrome scanning mode. When the scanning timing control unit 21 enters the second scanning mode, it is not necessary to light up the first color light, the second color light and the third color light of the image sensor 30 to complete the R→G→B lighting control cycle. Therefore, the scanning timing control unit 21 can periodically trigger the generation of the first lighting signal, the second lighting signal and the third lighting signal at the same time, that is, light up the three color lights at the same time, or periodically trigger the generation of one of the first lighting signal, the second lighting signal and the third lighting signal, that is, light up one of the three color lights, until the scanning operation performed by the image sensor is completed.

[0087] In an optional embodiment, if Fig.10 As shown, step S400, the scanning timing control unit periodically and simultaneously triggers the generation of a first lighting signal, a second lighting signal and a third lighting signal until the scanning operation performed by the image sensor is completed, including:

[0088] S400A: The scanning timing control unit simultaneously triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal, so that the image sensor simultaneously performs the first color light lighting operation, the second color light lighting operation and the third color light lighting operation, and cycles periodically until the scanning operation performed by the image sensor is completed.

[0089] In this embodiment, if Fig.11 As shown, since the three color lamps are lit at the same time, it is not necessary for all three counters to work, and one of the counters can be made to work, such as using the first counter COLOR_TG1, while the second counter COLOR_TG2 and the third counter COLOR_TG3 are shielded; the scanning timing control unit 21 triggers the first counter COLOR_TG1 to start counting at the falling edge of the first internal line synchronization signal LS, and the time counted by the first counter COLOR_TG1 is the fourth time t LED-ON-DELAY When the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on are triggered, the image sensor 30 will simultaneously perform the first color lamp lighting operation, the second color lamp lighting operation and the third color lamp lighting operation when receiving the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on, so as to realize that the first color lamp, the second color lamp and the third color lamp are lit simultaneously within the cycle of the first internal line synchronization signal LS; the time counted by the first counter COLOR_TG1 is the fifth time t LED-OFF-DELAY, the scanning timing control unit 21 simultaneously stops generating the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on; the scanning timing control unit 21 controls the first counter COLOR_TG1 to be cleared and counted again at the falling edge of the second internal line synchronization signal LS, and the time counted by the first counter COLOR_TG1 is the fourth time t LED-ON-DELAY When the first lighting signal LED1_on, the second lighting signal LED2_on and the third lighting signal LED3_on are triggered to be generated simultaneously, and the cycle is repeated periodically until the scanning operation performed by the image sensor is completed.

[0090] It should be noted that the scanning timing control unit 21 may also trigger the generation of the extinguishing signal LEDx_off at the time point of stopping the generation of the lighting signal LEDx_on, instead of stopping the generation of the lighting signal LEDx_on, so as to extinguish the corresponding color lamp.

[0091] In an optional embodiment, if Fig.12 As shown, step S400, the scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed, including:

[0092] S400B: The scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal, so that the image sensor performs one of the first color light lighting operation, the second color light lighting operation and the third color light lighting operation, and cycles periodically until the scanning operation performed by the image sensor is completed.

[0093] In this embodiment, the difference from step S400A is that the scanning timing control unit 21 triggers only one lighting signal, that is, the scanning timing control unit 21 triggers the first counter COLOR_TG1 to start counting at the falling edge of the first internal line synchronization signal LS, and the counting time of the first counter COLOR_TG1 is the fourth time t LED-ON-DELAY When a lighting signal such as the first lighting signal LED1_on is triggered, the image sensor 30 performs a first color lamp lighting operation upon receiving the first lighting signal LED1_on, and lights up the first color lamp within the cycle of the first internal line synchronization signal LS; the time counted by the first counter COLOR_TG1 is the fifth time t LED-OFF-DELAY When the scanning timing control unit 21 stops generating the first lighting signal LED1_on, the scanning timing control unit 21 controls the first counter COLOR_TG1 to be cleared and restarted to count at the falling edge of the second internal line synchronization signal LS. The time counted by the first counter COLOR_TG1 is the fourth time tLED-ON-DELAY When , the first lighting signal LED1_on is triggered and generated, and the cycle is repeated periodically until the scanning operation performed by the image sensor is completed.

[0094] It should be noted that the scanning timing control unit 21 may also trigger the generation of the extinguishing signal LEDx_off at the time point of stopping the generation of the lighting signal LEDx_on, instead of stopping the generation of the lighting signal LEDx_on, so as to extinguish the corresponding color lamp.

[0095] The color scanning mode and the monochrome scanning mode can be configured through registers, and the counters COLOR_TG1-3 inside the chip 20 can be used or shielded according to the register configuration. For example, when the scanning mode is the monochrome scanning mode, the configuration value of the register is 0, and only the first counter COLOR_TG1 can work; when the scanning mode is the color scanning mode, the register configuration is 1, and COLOR_TG1 / 2 / 3 can be enabled.

[0096] The signal processing method of this embodiment generates an internal line synchronization signal when receiving a scanning line synchronization signal through the scanning timing control unit 21, and generates a control signal based on the internal line synchronization signal delay trigger to control the image sensor 30 to scan the line data, thereby saving the IO resources and system resources of the on-chip system. The on-chip system only needs to receive the image data transmitted back; reduce the risk of electromagnetic interference associated with the long-distance transmission of high-speed clock signals; the timing control is simpler, more efficient and adaptable to a variety of application scenarios, can adapt to various signal processing situations, and can be dynamically configured according to needs.

[0097] The embodiment of the present invention provides a signal processing system, such as Figure 1 and 2 As shown, the signal processing system is used to execute the above-mentioned signal processing method, including:

[0098] A scanning timing control unit 21, the scanning timing control unit 21 is used to periodically trigger the generation of an internal line synchronization signal when receiving a scanning line synchronization signal periodically transmitted by the main controller 10; and

[0099] After the internal row synchronization signal is generated, a delay trigger is generated to generate a control signal, and the control signal is transmitted to the image sensor 30, so that the image sensor 30 scans the row data.

[0100] It should be noted that the specific processing procedures of the main controller 10, the scanning timing control unit 21 and the image sensor 30 in the signal processing system have been described in detail in the signal processing method, so they will not be described again.

[0101] An embodiment of the present invention provides a chip, which is configured to execute the above-mentioned signal processing method.

[0102] In an optional embodiment, if Figure 2 As shown, the chip 20 can be an analog front-end chip, which has a scan timing control unit 21 integrated inside. The scan timing control unit 21 can be a timing generator (TG). When the scan is started, the scan timing control unit 21 can generate several groups of specific signal pulses and be used for timing control of high-speed CIS.

[0103] It should be noted that the specific processing process of the chip 20 and the scanning timing control unit 21 in the chip 20 has been described in detail in the signal processing method, so it will not be repeated here.

[0104] An embodiment of the present invention provides an image forming device, such as Fig.13 As shown, Fig.13 The image forming apparatus shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0105] like Fig.13 As shown, the image forming apparatus is in the form of a general-purpose computing device. The components of the image forming apparatus may include, but are not limited to: one or more processors 910, a memory 930, and a communication bus 940 connecting different system components (including the memory 930 and the processor 910).

[0106] The communication bus 940 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnection (PCI) bus.

[0107] The image forming apparatus typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the image forming apparatus, including volatile and non-volatile media, removable and non-removable media.

[0108] The memory 930 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory. The image forming apparatus may further include other removable / non-removable, volatile / non-volatile computer system storage media. Fig.13 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 940 via one or more data medium interfaces. The memory 930 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0109] A program / utility having a set (at least one) of program modules may be stored in memory 930, such program modules including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.

[0110] The image forming apparatus may also communicate with one or more external devices, and may also communicate with one or more devices that enable a user to interact with the image forming apparatus, or with any device that enables the image forming apparatus to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via the communication interface 920. Furthermore, the image forming apparatus may also communicate with the network adapter ( Fig.13 The network adapter may communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via the communication bus 940. It should be understood that although Fig.13Not shown, other hardware and / or software modules may be used in conjunction with the image forming apparatus, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives, and data backup storage systems.

[0111] The processor 910 executes various functional applications and data processing by running the programs stored in the memory 930, such as implementing the signal processing method provided in the embodiment of the present invention.

[0112] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the signal processing method provided by the embodiment of the present invention.

[0113] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above, but is not limited to this. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0114] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0115] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0116] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the creative concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A signal processing method, It is characterized in that include: The scanning timing control unit periodically triggers the generation of an internal line synchronization signal when receiving the scanning line synchronization signal periodically transmitted by the main controller; as well as After the internal row synchronization signal is generated, a control signal is generated, and the control signal is transmitted to the image sensor so that the image sensor scans the row data.

2. The signal processing method according to claim 1, It is characterized in that The periodic time of the scanning line synchronization signal periodically transmitted by the main controller is the first time.

3. The signal processing method according to claim 1, It is characterized in that The scanning timing control unit periodically delays a second time to trigger the generation of the internal line synchronization signal.

4. The signal processing method according to any one of claims 1 to 3, It is characterized in that The control signal includes a main clock signal, a pulse start signal and a lighting signal; Wherein, the scanning timing control unit delays a third time to trigger the generation of the pulse start signal; The scanning timing control unit delays a fourth time to trigger the generation of the lighting signal; The scanning timing control unit delays the fifth time period and stops generating the lighting signal.

5. The signal processing method according to claim 4, It is characterized in that The lighting signal includes a first lighting signal, a second lighting signal and a third lighting signal, and the method includes: In the first scanning mode, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal in sequence until the scanning operation performed by the image sensor is completed.

6. The signal processing method according to claim 5, It is characterized in that The scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal in sequence until the scanning operation performed by the image sensor is completed, including: The scanning timing control unit triggers the generation of the first lighting signal so that the image sensor performs a first color lamp lighting operation; and When the generation of the first lighting signal stops, triggering the generation of the second lighting signal to enable the image sensor to perform a second color lamp lighting operation; and When the second lighting signal stops being generated, triggering the generation of the third lighting signal to enable the image sensor to perform a third color lamp lighting operation; The color lamp lighting step is cycled periodically until the scanning operation performed by the image sensor is completed.

7. The signal processing method according to claim 4, It is characterized in that The lighting signal includes a first lighting signal, a second lighting signal and a third lighting signal, and the method includes: In the second scanning mode, the scanning timing control unit periodically triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal at the same time, or periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed.

8. The signal processing method according to claim 7, It is characterized in that The scanning timing control unit periodically and simultaneously triggers the generation of the first lighting signal, the second lighting signal, and the third lighting signal until the scanning operation performed by the image sensor is completed, including: The scanning timing control unit triggers the generation of the first lighting signal, the second lighting signal and the third lighting signal simultaneously, so that the image sensor performs the first color light lighting operation, the second color light lighting operation and the third color light lighting operation simultaneously, and cycles periodically until the scanning operation performed by the image sensor is completed; or The scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal until the scanning operation performed by the image sensor is completed, including: The scanning timing control unit periodically triggers the generation of one of the first lighting signal, the second lighting signal and the third lighting signal, so that the image sensor performs one of the first color light lighting operation, the second color light lighting operation and the third color light lighting operation, and cycles periodically until the scanning operation performed by the image sensor is completed.

9. A signal processing system, It is characterized in that include: A scanning timing control unit, the scanning timing control unit is used to periodically trigger the generation of an internal line synchronization signal when receiving a scanning line synchronization signal periodically transmitted by a main controller; as well as After the internal row synchronization signal is generated, a control signal is generated, and the control signal is transmitted to the image sensor so that the image sensor scans the row data.

10. A chip, It is characterized in that The method is configured to execute the signal processing method according to any one of claims 1 to 8.

11. An image forming device, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the signal processing method according to any one of claims 1 to 8.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the signal processing method according to any one of claims 1 to 8 when executed.