Focal plane reading circuit for realizing background subtraction in pixel

By utilizing the combination of current-frequency converter and counter in the cell, the background deduction of the focal plane readout circuit is achieved, solving the problems of large resource consumption and poor real-time performance in traditional technology, and the background of simple resource and real-time processing is achieved Subtraction effect.

CN118945503APending Publication Date: 2024-11-12NO 24 RES INST OF CETC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411006826.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Background subtraction processing in traditional focal plane readout circuits requires additional storage units and computing modules, resulting in large resource consumption and poor real-time performance, increasing the difficulty and delay of image processing algorithms.

Method used

Implement background deduction in the cell, and use the photodetector, current-frequency converter, counter, shift register and data bus to convert the photoelectric response current into an oscillating signal, and perform frequency through the counter Counting, implementing background subtraction function, avoiding additional computing resources and delays.

Benefits of technology

The background deduction of simple resources and real-time processing is realized, which avoids increasing system power consumption and digital processing delays, and simplifies the image processing algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945503A_ABST
    Figure CN118945503A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of integrated circuit design, and particularly relates to a focal plane reading circuit for realizing background subtraction in a pixel, which comprises a photoelectric detector, a current-frequency converter, a calculator, a shift register, a frequency divider and a data bus, the photoelectric detector converts the current generated based on the photoelectric response into an oscillation signal related to the intensity of the current through a current-frequency converter; the output end of the current-frequency converter can select whether to increase the dynamic range of the oscillation signal through the frequency divider or not through the switch, and inputs the signal processed by or not processed by the frequency divider into the counter to count the frequency pulse signal of the oscillation signal. And a counting result in a fixed period is cached by the shift register and then is output through the data bus. According to the method, the background subtraction function is realized at the pixel level, and compared with the existing method for realizing background subtraction at the image level, the method has the characteristics that the implementation mode is simple, additional operation resources are not needed, the system power consumption is not increased, real-time processing can be realized, digital processing delay does not exist and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of integrated circuit design, and in particular relates to a focal plane readout circuit for realizing background subtraction in a pixel. Background Art

[0002] Background subtraction processing in traditional focal plane readout circuits is usually performed after all frames of data are read out, which requires additional storage units and computing modules, increasing the difficulty of implementing subsequent image processing algorithms and also increasing the resources consumed by the image processing algorithms. Summary of the invention

[0003] Aiming at the shortcomings of large resource consumption and poor real-time performance of background subtraction in traditional image acquisition and processing systems, in order to realize real-time background subtraction of images and reduce system algorithm resource consumption and image processing delay, the present invention proposes a focal plane readout circuit for realizing background subtraction in pixels, including a photodetector, a current-frequency converter, a calculator, a shift register, a frequency divider and a data bus. The photodetector converts the current generated based on the photoelectric response into an oscillation signal related to the current strength through the current-frequency converter; the output end of the current-frequency converter can select whether to pass through the frequency divider to increase the dynamic range of the oscillation signal through a switch, input the signal that has been processed or not processed by the frequency divider into a counter to count the frequency pulse signal of the oscillation signal, and output the counting result within a fixed period through the data bus after being cached by the shift register.

[0004] Further, the current-frequency converter includes a photocurrent injection switch, an integrating capacitor, a comparator, an inverter, a NAND gate and a feedback switch, wherein:

[0005] The N-type MOS tube is used as a photocurrent injection switch and the P-type MOS tube is used as a feedback switch; the drain of the N-type MOS tube is connected to the drain of the P-type MOS tube, one end of the integral capacitor, and the input end of the comparator, and the other end of the integral capacitor is grounded; the source of the N-type MOS tube is connected to the photodetector, and the gate is connected to the control signal V TX , when the control signal V TX When the control signal V TX When it is at a low level, the N-type MOS tube turns off the current and does not transmit.

[0006] The output end of the comparator is cascaded with two inverters, and the output of the last inverter and the control enable signal osc_en are used as the input of the NAND gate; when the control enable signal osc_en is at a high level, the NAND gate outputs the result of the cascade connection of the comparator and the two inverters in the form of inversion; when the control enable signal osc_en is at a low level, the NAND gate constantly outputs a high level;

[0007] Two inverters are cascaded at the output end of the NAND gate, and the output of the last inverter is connected to the gate of the P-type MOS tube, and the source of the P-type MOS tube is connected to the power supply end.

[0008] Furthermore, the process of current-to-frequency conversion includes: before the current signal enters the current-to-frequency converter, the input node of the comparator is pre-charged to the power supply voltage; after the current signal enters, the input node of the comparator is discharged; when the input node voltage of the comparator drops to the reference voltage, the comparator is reversed; the inversion signal controls the feedback switch through the inverter chain so that the input node of the comparator is charged to the power supply voltage again.

[0009] Furthermore, the comparator is composed of multiple groups of MOS tubes, each group of MOS tubes includes an N-type MOS tube and a P-type MOS tube, the sources of all P-type MOS tubes in the comparator are connected together and connected to the power supply end, and the sources of all N-type MOS tubes in the comparator are connected together and connected to the ground end; the gates of each group of MOS tubes in the first group are connected together as the input end of the comparator, the gates of other groups of MOS tubes are connected together with the drains of the previous group, and the drain of the last group is used as the output end of the comparator.

[0010] Furthermore, the threshold of the comparator inversion is adjusted by adjusting the size of the MOS tube.

[0011] Furthermore, the counter is composed of a falling edge D flip-flop connected in an 18-level frequency divider manner. The counter is configured to operate in a normal counting mode or a holding mode by means of a Dff_cnt signal. The positive output end or the reverse output end of the D flip-flop is selected to connect to the next-level D flip-flop by means of an add_dec_sel signal to realize the addition count or subtraction count of the counter. The frequency signal generated by the current-frequency converter is input as a CLKin signal from the clk end of the first-level counter. The data output from the dout end of each level of the frequency divider is stored in a shift register.

[0012] Further, if the control enable signal osc_en is configured to be high level, the Dff_cnt signal is configured to be high level, and the add_dec_sel signal is configured to be high level, the counter then adds and counts the frequency signal generated by the current-frequency converter;

[0013] The control enable signal osc_en is configured to be low level. After the control enable signal osc_en is configured to be low level, the add_dec_sel and Dff_cnt signals are also configured to be low level. During this process, the counter maintains the value recorded in the addition counting process.

[0014] The control enable signal osc_en and the Dff_cnt signal are reconfigured to a high level, and the add_dec_sel signal is kept at a low level. At this stage, the counter performs subtraction counting on the basis of saving the addition count.

[0015] The present invention proposes to implement the background subtraction function at the pixel level, which has the following beneficial effects compared with the existing background subtraction algorithm implemented at the image level:

[0016] ①The implementation is simple, does not require additional computing resources, and does not increase system power consumption;

[0017] ② Real-time processing, no digital processing delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the principle framework of a focal plane readout circuit for realizing background subtraction within a pixel according to the present invention;

[0019] Figure 2 is a circuit diagram of a current-frequency converter in the present invention;

[0020] Figure 3 is a schematic diagram of a comparator circuit in a current-frequency converter of the present invention;

[0021] Figure 4 The schematic diagram of the counter circuit in the present invention;

[0022] Figure 5 Schematic diagram of the working timing example of the counter of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The present invention proposes a focal plane readout circuit for realizing background subtraction in a pixel, comprising a photodetector, a current-frequency converter, a calculator, a shift register, a frequency divider and a data bus. The photodetector converts a current generated based on a photoelectric response into an oscillation signal related to the strength of the current through a current-frequency converter; the output end of the current-frequency converter can select whether to pass through a frequency divider through a switch to increase the dynamic range of the oscillation signal, input a signal that has been processed or not processed by the frequency divider into a counter to count the frequency pulse signal of the oscillation signal, and output the counting result within a fixed period through a data bus after being cached by a shift register.

[0025] Figure 1 This is a schematic diagram of the principle architecture of the pixel-level ADC used in the present invention. Figure 1 As shown, in the pixel-level ADC focal plane readout circuit adopted by the present invention, the current generated by the photoelectric response of the photodetector is converted into an oscillation signal with a frequency related to the current strength through a current-frequency converter; the output end of the current-frequency converter can be selected by a switch whether to pass through a frequency divider and then connected to a counter, and the addition of a frequency divider can further increase the dynamic range of the input signal; the frequency pulse signal of the oscillation is counted by the counter, and the number of counts within a fixed time is positively correlated with the current size, so it can reflect the size of the input current signal; further, the counting result of the counter is output through the data bus after passing through the shift register.

[0026] Figure 2 : is a circuit diagram of the current-frequency converter used in the present invention. Figure 2 As shown, the current-frequency converter is composed of an integrating capacitor, a comparator, an inverter, a NAND gate, and a feedback switch. Before the current signal enters the module, the input node of the comparator is precharged to the power supply voltage. When the current signal enters, the node is discharged. When the node voltage drops to the reference voltage, the comparator is reversed, and its reverse signal controls the feedback switch through the inverter chain so that the input node of the comparator is charged to the power supply voltage again. At this point, the current signal is converted into a frequency pulse signal, and the frequency of the signal is proportional to the size of the photocurrent. In addition, the frequency signal is connected to a dual-input NAND gate together with a control signal after passing through a group of inverters. The control signal can control whether the current-frequency converter outputs a frequency pulse signal.

[0027] As an optional embodiment, the current-frequency converter includes an integrating capacitor, a comparator, an inverter, a NAND gate and a feedback switch, wherein:

[0028] One end of the feedback switch is grounded, and the other end is connected to the source of the N-type MOS tube; the gate of the N-type MOS tube is connected to the output end of the photodetector, the drain of the N-type MOS tube is connected to the drain of the P-type MOS tube, one end of the integral capacitor, and the input end of the comparator, and the other end of the integral capacitor is grounded;

[0029] The output end of the comparator is cascaded with two inverters, and the output of the last inverter and the control enable signal ose_en are used as the input of the NAND gate;

[0030] Two inverters are cascaded at the output end of the NAND gate, and the output of the last inverter is connected to the gate of the P-type MOS tube, and the source of the P-type MOS tube is connected to the power supply end.

[0031] Figure 3 is the comparator in the current-frequency converter used in the present invention. Figure 3As shown, the comparator is composed of an inverter chain, and the threshold of the comparator inversion can be changed by adjusting the size of the MOS tube. The comparator has a simple structure, small footprint, low power consumption, and is conducive to the design of pixel-level ADC.

[0032] As an optional embodiment, the comparator is composed of multiple groups of MOS tubes, each group of MOS tubes includes an N-type MOS tube and a P-type MOS tube, the sources of all P-type MOS tubes in the comparator are connected together and connected to the power supply end, and the sources of all N-type MOS tubes in the comparator are connected together and connected to the ground end; the gates of each group of MOS tubes in the first group are connected together as the input end of the comparator, the gates of other groups of MOS tubes are connected together with the drains of the previous group, and the drain of the last group is used as the output end of the comparator.

[0033] Figure 4 This is a working principle diagram of the counter used in the present invention. Figure 4 As shown, the counter is composed of a falling edge D flip-flop connected in an 18-level frequency divider mode, and the counter can be configured to work in normal counting mode or holding mode through the Dff_cnt signal. By configuring the add_dec_sel signal, the positive output end or the reverse output end of the D flip-flop can be selected to connect to the next level D flip-flop to achieve the addition count or subtraction count of the counter; further, the frequency signal generated by the current-frequency converter is input from the clk end of the first level counter as the CLKin signal; further, each bit of data is output from the dout end to the shift register.

[0034] As an optional embodiment, the counter is composed of a falling edge D flip-flop in an 18-stage frequency divider connection mode. Except for the first-stage frequency divider circuit, each other stage of the frequency divider circuit includes a first multiplexer, a second multiplexer and a D flip-flop. The first-stage frequency divider circuit includes a multiplexer and a D flip-flop. The CLKin signal is input from the clk terminal of the first-stage D flip-flop. The positive output of the D flip-flop is connected to the "1" terminal (i.e., the high level terminal) of the multiplexer and the "0" terminal (i.e., the low level terminal) of the second-stage first multiplexer and serves as the output of the first-stage frequency divider circuit; the inverting output terminal of the D flip-flop is connected to the "0" terminal of the multiplexer and the "1" terminal of the second-stage first multiplexer, and the multiplexer in the first stage circuit is controlled by the selection signal Dff_cnt; the output of the multiplexer serves as the input terminal of the D flip-flop;

[0035] In the i-th level frequency divider circuit (i is a positive integer greater than 1 and less than or equal to 18), the "0" end of the first multiplexer is connected to the positive output of the i-1-th level frequency divider circuit, and the "1" end is connected to the negative output of the i-1-th level frequency divider circuit. The first multiplexer is controlled by the selection signal add_dec_sel, and the output of the first multiplexer is used as the clk input of the D flip-flop; the positive output of the D flip-flop is used as the output of the i-th level frequency divider circuit, and is connected to the "1" end of the second multiplexer and the "0" end of the first multiplexer in the i+1-th level frequency divider circuit; the negative output of the D flip-flop is connected to the "0" end of the second multiplexer in this level of circuit and the "1" end of the first multiplexer in the i+1-th level frequency divider circuit.

[0036] In the first-stage frequency divider circuit, the CLKin signal is input from the clk terminal of the first-stage D flip-flop, and the positive output of the D flip-flop is connected to the "1" terminal (i.e., the high level terminal) of the first multiplexer and the "0" terminal (i.e., the low level terminal) of the second multiplexer and serves as the output of the first-stage frequency divider circuit; the inverting output terminal of the D flip-flop is connected to the "0" terminal of the first multiplexer.

[0037] Figure 5 This is the working timing diagram of the counter in the present invention. Figure 5 The implementation scheme of the background subtraction function in the present invention is as follows: first, the control enable signal osc_en signal is configured to a high level, the Dff_cnt signal is configured to a high level, and the add_dec_sel signal is configured to a high level. At this time, the counter performs addition counting on the frequency signal generated by the current-frequency converter; then, the control enable signal osc_en signal is configured to a low level. After the control enable signal osc_en signal is configured to a low level, the add_dec_sel and Dff_cnt signals are also configured to a low level. During this process, the counter maintains the value recorded during the addition counting process; in the third stage, the control enable signal osc_en signal and the Dff_cnt signal are reconfigured to a high level, and the add_dec_sel signal is maintained at a low level. During this stage, the counter performs subtraction counting on the basis of saving the addition count, thereby realizing the function of background subtraction.

[0038] The above embodiments further illustrate the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above embodiments are only preferred implementation modes of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made to the present invention within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A focal plane readout circuit that implements background subtraction within a pixel, It is characterized in that It includes a photodetector, a current-frequency converter, a calculator, a shift register, a frequency divider and a data bus. The photodetector converts the current generated based on the photoelectric response into an oscillation signal related to the current strength through the current-frequency converter; the output end of the current-frequency converter can select whether to pass through the frequency divider to increase the dynamic range of the oscillation signal through a switch, and input the signal that has been processed or not through the frequency divider into a counter to count the frequency pulse signal of the oscillation signal, and the counting result within a fixed period is cached in the shift register and output through the data bus.

2. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 1, It is characterized in that The current-to-frequency converter includes a photocurrent injection switch, an integrating capacitor, a comparator, an inverter, a NAND gate, and a feedback switch, wherein: The N-type MOS tube is used as a photocurrent injection switch and the P-type MOS tube is used as a feedback switch; the drain of the N-type MOS tube is connected to the drain of the P-type MOS tube, one end of the integral capacitor, and the input end of the comparator, and the other end of the integral capacitor is grounded; the source of the N-type MOS tube is connected to the photodetector, and the gate is connected to the control signal V TX , when the control signal V TX When the control signal V TX When it is at a low level, the N-type MOS tube turns off the current and does not transmit. The output end of the comparator is cascaded with two inverters, and the output of the last inverter and the control enable signal osc_en are used as the input of the NAND gate; when the control enable signal osc_en is at a high level, the NAND gate outputs the result of the cascade connection of the comparator and the two inverters in the form of inversion; when the control enable signal osc_en is at a low level, the NAND gate constantly outputs a high level; Two inverters are cascaded at the output end of the NAND gate, and the output of the last inverter is connected to the gate of the P-type MOS tube, and the source of the P-type MOS tube is connected to the power supply end.

3. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 2, It is characterized in that The process of current-frequency conversion includes: before the current signal enters the current-frequency converter, the input node of the comparator is pre-charged to the power supply voltage; when the current signal enters, the input node of the comparator is discharged; when the input node voltage of the comparator drops to the reference voltage, the comparator is reversed; the inversion signal controls the feedback switch through the inverter chain so that the input node of the comparator is charged to the power supply voltage again.

4. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 2, It is characterized in that The comparator is composed of multiple groups of MOS tubes, each group of MOS tubes includes an N-type MOS tube and a P-type MOS tube, the sources of all P-type MOS tubes in the comparator are connected together and connected to the power supply end, and the sources of all N-type MOS tubes in the comparator are connected together and connected to the ground end; the gates of each group of MOS tubes in the first group are connected together as the input end of the comparator, the gates of other groups of MOS tubes are connected together with the drains of the previous group, and the drain of the last group is used as the output end of the comparator.

5. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 4, It is characterized in that The comparator inversion threshold is adjusted by adjusting the size of the MOS tube.

6. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 2, It is characterized in that The counter is composed of a falling edge D flip-flop connected in an 18-level frequency divider mode. The counter is configured to work in normal counting mode or holding mode through the Dff_cnt signal. The positive output or reverse output of the D flip-flop is selected to connect to the next level D flip-flop through the add_dec_sel signal to achieve addition or subtraction of the counter. The frequency signal generated by the current-frequency converter is input from the clk terminal of the first level counter as the CLKin signal. The data output from the dout terminal of each level of the frequency divider is stored in the shift register.

7. A focal plane readout circuit for implementing background subtraction within a pixel according to claim 2, It is characterized in that If the control enable signal osc_en is configured to be high, the Dff_cnt signal is configured to be high, and the add_dec_sel signal is configured to be high, then the counter adds and counts the frequency signal generated by the current-frequency converter; The control enable signal osc_en is configured to be low level. After the control enable signal osc_en is configured to be low level, the add_dec_sel and Dff_cnt signals are also configured to be low level. During this process, the counter maintains the value recorded in the addition counting process. The control enable signal osc_en and the Dff_cnt signal are reconfigured to a high level, and the add_dec_sel signal is kept at a low level. At this stage, the counter performs subtraction counting on the basis of saving the addition count.