Integrated sensing and computing visual sensing chip
By introducing a convolution kernel module into the visual sensing chip to perform real-time convolution operations, the data redundancy and energy consumption problems of traditional visual systems when processing high-resolution images are solved, and more efficient visual information processing and system integration are achieved. Spend.
Patent Information
- Application Number
- PCT/CN2024/084698
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
Vision systems based on the traditional von Neumann computing architecture encounter bandwidth limitations when processing the growing visual data, resulting in the computing unit needing to frequently transport static images, resulting in energy consumption loss and processing speed bottlenecks, and the lack of image pre-processing process limits System speed, energy efficiency and integration.
A visual sensing chip integrating sensing and computing is designed, which includes an image sensor module, a convolution kernel module and a peripheral circuit module. The convolution kernel module performs real-time convolution operations on visual information, eliminates redundant data, and improves processing speed and Energy efficiency.
Through real-time convolution processing, redundant data transmission is significantly reduced, the processing speed and energy efficiency of the visual system are improved, and the overall integration level is improved.
Smart Images

Figure CN2024084698_03102024_PF_FP_ABST
Abstract
Description
A visual sensor chip that integrates sensing and computing Technical Field
[0001] The present invention relates to the field of optoelectronic technology, and in particular to a vision sensor chip integrating sensing and computing. Background Art
[0002] Visual information is the primary way humans acquire information about the outside world. The development of artificial vision systems is crucial for the application of artificial intelligence in areas such as autonomous driving, facial recognition, industrial product inspection, and robotics. Currently, artificial vision hardware typically consists of image sensors, memory, and computing modules. Image sensors perceive visual information, and machine learning algorithms such as artificial neural networks perform recognition.
[0003] Image sensors are driven by clock and control signals. An integrator integrates the fixed-time photocurrent signal, processes it through an analog-to-digital conversion circuit, and then stores the image in memory as frames. Each frame is generated from all pixels, resulting in a massive amount of data and the potential for loss of important information between frames. Furthermore, in terms of visual information computation, the computational architecture, which separates information perception, data computation, and storage, requires the computational unit to continuously transfer static images from the memory unit. This data transfer time significantly exceeds the computation time, resulting in 60% to 90% of energy loss in this process. To address these issues, researchers have developed various image preprocessing techniques to reduce image noise, contrast, and dynamic range, alleviating the generation of redundant data to a certain extent and improving the overall processing speed and recognition accuracy of the visual system. However, with the increasing popularity of ultra-high-resolution image sensors, the amount of data required to be processed by visual systems has increased exponentially. Limited by limited bandwidth, visual systems based on the traditional von Neumann computing architecture are struggling to cope with this growing volume of visual data. Therefore, it is imperative to build a new vision system that integrates sensing and computing, drawing on the neural network structure and visual information sampling and processing methods of biological visual systems.
[0004] Publication number CN111309670A discloses a CMOS integrated sensing, storage, and computing circuit structure. This circuit structure includes: a CMOS active pixel unit module, a threshold determination circuit module, and an integrated storage and computing circuit module. The CMOS active pixel unit module is used to convert optical signals into electrical signals; the threshold determination circuit module is used to compare and determine the electrical signal generated by the pixel unit with a threshold; the integrated storage and computing circuit module includes: an SRAM storage module for storing the output of the threshold comparison circuit; a module for reading data stored in the SRAM unit; and a module for performing calculations on the stored data.
[0005] The aforementioned patent discloses a sensing-computing (computing here refers to post-processing depth calculation) integrated circuit structure that integrates image sensing technology with post-processing depth calculation chips, using hardware to complete the entire process from image acquisition to image recognition. However, compared to biological vision systems, it lacks image preprocessing and contains a large amount of redundant data, which greatly limits the speed, energy efficiency, and integration of the entire vision system.
[0006] Summary of the Invention
[0007] The present invention provides a vision sensor chip with integrated sensing and computing capabilities. The vision sensor chip can perform convolution processing on recognized visual information, thereby eliminating a large amount of redundant data, improving the processing speed and energy efficiency of the vision system, and having good integration.
[0008] A vision sensor chip integrating sensing and computing, comprising: an image sensor module, a convolution kernel module, and a peripheral circuit module, wherein:
[0009] The image sensor module is used to recognize visual information and convert the visual information into analog electrical signals;
[0010] The peripheral circuit module is used to convert the analog electrical signal into a voltage analog value corresponding to each pixel of the visual information;
[0011] The convolution kernel module is used to perform a convolution operation on the voltage analog quantity corresponding to each pixel to obtain multiple current weight values, and convert the multiple current weight values into multiple voltage weight values, thereby completing the information screening for identifying visual information.
[0012] Furthermore, the convolution kernel module includes a plurality of non-volatile memory units:
[0013] Among them, the voltage analog quantity corresponding to each pixel is input into the corresponding non-volatile memory unit to obtain a first current corresponding to a positive weight and a second current corresponding to a negative weight, respectively, the multiple first currents output by multiple non-volatile memory units are added together, the multiple second currents output by multiple non-volatile memory units are added together, and the sum of the first currents is subtracted from the sum of the second currents to obtain the current weight value of the corresponding convolution operation.
[0014] Furthermore, the non-volatile memory unit is composed of a positive-weighted non-volatile memory sub-unit and a negative-weighted non-volatile memory sub-unit, and the voltage analog quantity corresponding to each pixel is input into the positive-weighted non-volatile memory sub-unit and the negative-weighted non-volatile memory sub-unit respectively to obtain the first current and the second current.
[0015] Furthermore, the positive-weighted non-volatile memory sub-unit includes a first non-volatile memory and a first switching tube corresponding to the positive weight. The conductance of the first non-volatile memory is set in advance or obtained through pre-training. The voltage analog quantity corresponding to each pixel is input into the first non-volatile memory to obtain a first current. The first switching tube is at a high level, so that the first current can be summed with the first current output by other first non-volatile memories.
[0016] Furthermore, the negative-weight non-volatile memory sub-unit includes a second non-volatile memory and a second switching tube corresponding to the negative weight, the conductance of the second non-volatile memory is set in advance or obtained through pre-training, and the voltage analog quantity corresponding to each pixel is input into the second non-volatile memory to obtain a second current. The second switching tube is at a high level, so that the second current can be summed with the second current output by other second non-volatile memories.
[0017] Furthermore, the convolution kernel module is a non-volatile memory array, which includes multiple non-volatile memories, and the non-volatile memories are one or more of memristor units, floating gate transistor units, magnetic memory units, phase change memory units, and ferroelectric memory units.
[0018] Furthermore, it also includes a setting resistor, which is connected to the non-volatile memory convolution kernel module, and converts multiple current weight values into multiple voltage weight values based on the setting resistor.
[0019] Furthermore, the peripheral circuit module includes ADC, FPGA and DAC:
[0020] The analog electrical signal is input into the ADC to obtain a serial voltage digital quantity, the serial voltage digital quantity is input into the FPGA to obtain a voltage digital quantity corresponding to each pixel, and the voltage digital quantity corresponding to each pixel is input into the DAC to obtain a voltage analog quantity corresponding to each pixel.
[0021] Furthermore, the image sensor module is a CMOS image sensor or a charge coupled device sensor.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention introduces a convolution kernel module, which can receive the voltage analog quantity corresponding to the visual information in real time through the peripheral circuit, and processes the input voltage analog quantity through multiple non-volatile memory units to realize the convolution operation of the visual information, thereby achieving the purpose of preprocessing the visual information, eliminating redundant information, accelerating the operation speed and improving efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] FIG1 is a structural diagram of a vision sensor chip integrating sensing and computing provided by a specific embodiment of the present invention;
[0025] FIG2 is a circuit diagram of a vision sensor chip with integrated sensing and computing provided by a specific embodiment of the present invention;
[0026] FIG3 is a circuit diagram of a CMOS image sensor provided in a specific embodiment of the present invention;
[0027] FIG4 is a schematic diagram of a single pixel structure and data readout of a CMOS image sensor provided by an embodiment of the present invention;
[0028] FIG5 is a data readout timing diagram of a CMOS image sensor provided by a specific embodiment of the present invention;
[0029] FIG6 is an exposure control timing diagram of a CMOS image sensor provided by an embodiment of the present invention;
[0030] FIG7 is a circuit diagram of a memristor convolution kernel module provided in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will provide a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0032] An embodiment of the present invention provides a vision sensor chip with integrated sensing and computing, as shown in Figures 1 and 2, comprising: an image sensor module, a peripheral circuit module, and a convolution kernel module. The convolution kernel module is a non-volatile memory array, wherein:
[0033] The image sensor module provided by an embodiment of the present invention is used to identify visual information and convert the visual information into an analog electrical signal. The peripheral circuit module is used to convert the analog electrical signal into a voltage analog quantity corresponding to each pixel of the identified visual information; the convolution kernel module is used to perform a convolution operation on the voltage analog quantity corresponding to each pixel to obtain multiple current weight values, and convert the multiple current weight values into multiple voltage weight values, thereby completing the information screening for identifying visual information.
[0034] In a specific embodiment, the image sensor module provided by the present invention is a CMOS image sensor. FIG3 shows a circuit diagram of the CMOS image sensor. As shown in FIG3 , the CMOS image sensor is composed of n×m pixel structure units, each pixel structure unit is composed of a photodiode p ij, where i is the column index, i=1, ..., n, j is the row index, j=1, ..., m, and consists of four transistors, including a transmission switch tube TX, an amplifying transistor TA, a row gate tube ROW, and a pixel reset tube RST. The positive electrode of the photodiode is connected to GND, and the negative electrode of the photodiode is connected to the drain of the transmission switch tube, which is used to convert the received visual information into charge. The source of the transmission switch tube is connected to the gate of the amplifying transistor. The chip operating voltage (VDD) is applied to the drains of the amplifying transistor and the pixel reset tube. The source of the pixel reset tube is connected to the connection point (FD point) between the source of the transmission switch tube and the gate of the amplifying transistor. The source of the amplifying transistor is connected to the drain of the row gate tube. The signal row_sel is applied to the gate of the row gate tube to filter the pixel information of each row. The sources of each column of row gate tubes are connected and serve as the output (OUT) of a column of pixels in the CMOS image sensor module. The reset signal rst is applied to the gate of the pixel reset tube. The CMOS pixel structure unit performs reset / exposure operations under the control of the external reset signal rst.
[0035] Figure 4 shows the structure of a single pixel in a CMOS image sensor. As shown in Figure 4, the CMOS active image sensor uses a column-parallel correlated double sampling circuit readout structure. At the bottom of each column of pixels, there is a bias current source and two branches to store the reset and photoelectric conversion signal levels. Each branch consists of a sample-and-hold capacitor (CR, CS), sampling switches (SHR, SHS), and a column driver. The N-type bias signal (NB) and P-type bias signal (PB) provide the circuit with N-type and P-type bias, respectively. The OUT point corresponds to the OUT point in Figure 4.
[0036] Returning to Figure 4, when the rst signal is high and row_sel is low, the circuit is in the exposure state, the transmission switch tube (TX) is disconnected, the photodiode is illuminated, the photodiode generates charge, and its equivalent junction capacitance is charged.
[0037] Returning to Figure 4, when rst is high and row_sel is high, the reset cycle begins, TX is disconnected, the current bias signal (rowsg) is high, and the reset voltage Vrst charges the first capacitor CR. At this time, when the column select transistor COL is closed, the voltage value collected by the pixel unit in the current row and column can be output. The differential output analog electrical signal is amplified by a digital programmable gain amplifier (PGA), which can amplify the small signal voltage to obtain an analog electrical signal. The analog electrical signal is then digitally processed by the peripheral circuit module.
[0038] In a specific embodiment, FIG5 is a data readout timing diagram. The FD point is first reset to a high level by the reset transistor RST. When rowsg is at a high level, the row selection tube is turned on to select a row of pixel information. At this time, the first sampling switch SHR is closed and the second sampling switch SHS is opened. The reset voltage Vrst is read into the first capacitor CR. The reset voltage Vrst includes the offset value of the pixel and the reset noise of the FD point. Then, when TX is closed, the accumulated photocharge of the photodiode will be completely transferred to the FD point. Since it is a complete charge transfer, no reset noise will be generated during the transfer operation. When the charge is transferred to the FD point, the potential of the FD point will decrease. At this time, the image The pixel output voltage decreases, and then the row select transistor turns on. At this time, the second sampling switch SHS is closed and the first sampling switch SHR is opened. The photoelectric conversion signal Vsig is read into the second capacitor CS. When the column select signal col_sel is valid, Vrst and Vsig are input to the differential amplifier. The differential output signal eliminates column fixed pattern noise (FPN) and reset noise. This FPN mainly originates from the deviation of the threshold voltage VT of the metal oxide semiconductor field effect transistor (MOSFET), such as the VT deviation between the pixel reset and buffer MOSFETs, and the VT deviation between the column circuit MOSFETs. FPN can also be caused by irregular repetition of the array clock. CMOS active image sensors mainly have pixel FPN and column FPN. With the improvement of CMOS process, the pixel FPN of CMOS active pixel sensors (APS) may become invisible. However, without vertical correction, the column FPN will be very significant.
[0039] As shown in FIG6 , the exposure and readout processes of the CMOS image sensor provided by a specific embodiment of the present invention are controlled by a row selection signal row_sel, a reset signal rst, and a column selection signal col_sel. When both row_sel and rst are high, a readout scan is performed, and the column signals are pulsed high one by one to read and reset the values stored in the sampling capacitors. When only the rst signal is high, the CMOS image sensor in that row performs an exposure scan, i.e., exposing the photodiodes to store charge in the junction capacitances of the photodiodes. The stored values are then read out during a reset period. In particular, row_sel1, row_sel2, row_sel3, and row_sel4 represent row selection signals for rows 1-4, respectively; col_sel1, col_sel2, col_sel3, and col_sel4 represent column selection signals for columns 1-4, respectively; and rst1, rst2, rst3, and rst4 represent reset signals for rows 1-4, respectively.
[0040] Returning to Figure 1, the peripheral circuit provided by the specific embodiment of the present invention includes an analog-to-digital converter (ADC), a field programmable gate array (FPGA) and a digital-to-analog converter (DAC), wherein the analog electrical signal is input into the ADC to obtain a serial voltage digital quantity, the serial voltage digital quantity is input into the FPGA through a communication protocol to obtain a voltage digital quantity corresponding to each pixel, and the voltage digital quantity corresponding to each pixel is input into the DAC through a communication protocol to obtain a voltage analog quantity corresponding to each pixel.
[0041] As shown in Figure 7, the convolution kernel module provided by the specific embodiment of the present invention is a memristor convolution module, and the memristor convolution kernel module is a memristor array. The memristor array includes multiple memristors, and the memristor convolution module includes 9 memristor units. The voltage analog quantity corresponding to each pixel is input to the corresponding memristor unit through BL1-BL9 to obtain the first current corresponding to the positive weight and the second current corresponding to the negative weight. The 9 first currents output by the 9 memristor units are summed through the source line SL(+) corresponding to the positive weight, and the 9 second currents output by the multiple memristor units are summed through the source line SL(-) corresponding to the negative weight. The first current sum result is subtracted from the second current sum result to obtain the current weight value of the corresponding convolution operation. When the memristor convolution kernel module scans the entire recognition visual information, multiple current weight values are obtained, and the multiple current weight values are converted into multiple voltage weight values through the set resistors, thereby completing the information screening of the recognition visual information and achieving the purpose of removing redundant information.
[0042] In a specific embodiment, the memristor unit provided by the specific embodiment of the present invention is composed of 9 pairs of positive-weighted memristor sub-units and negative-weighted memristor sub-units. The voltage analog quantity corresponding to each pixel is input into the positive-weighted memristor sub-unit and the negative-weighted memristor sub-unit respectively to obtain a first current and a second current. The positive-weighted memristor sub-unit and the corresponding negative-weighted memristor sub-unit are connected in parallel, and simultaneously receive the voltage analog quantity corresponding to each pixel, and output the current corresponding to the positive weight through the source line SL(+) corresponding to the positive weight and the current corresponding to the negative weight through the source line SL(-) corresponding to the negative weight.
[0043] In a specific embodiment, the positive-weighted non-volatile memory sub-unit provided by the specific embodiment of the present invention includes a first memristor (M1+, M2+…, or M9+) and a first switching tube, the conductance of the first memristor is set in advance or obtained through pre-training, and the voltage analog quantity corresponding to each pixel is input into the corresponding first memristor to obtain a first current, and the first switching tube is placed at a high level through the word line WL(+), so that the first current can be summed with the first current output by other first memristors through the source line SL(+) corresponding to the positive weight.
[0044] In a specific embodiment, the negative-weighted memristor subunit provided in the specific embodiment of the present invention includes a second memristor (M1-, M2-…, or M9-) and a second switch tube corresponding to the negative weight. The conductance of the second memristor is set in advance or obtained through pre-training. The voltage analog quantity corresponding to each pixel is input into the corresponding second memristor to obtain a second current. The second switch tube is placed at a high level through the word line WL(-), so that the second current can be summed with the second current output by other second memristors through the source line SL(-) corresponding to the negative weight.
[0045] The nonvolatile memory provided by the present invention is a combination of one or more of a memristor cell, a floating-gate transistor cell, a magnetic memory cell, a phase-change memory cell, and a ferroelectric memory cell. These device cells have adjustable conductance states and can maintain non-volatile states. Therefore, all of these device cells can serve as the device cells of the convolution kernel module of the present invention.
[0046] The specific embodiment of the present invention uses a convolution kernel to perform in-situ convolution processing on the real-time visual information captured by the image sensor, thereby minimizing the amount of data transmitted from the sensor to the post-processing unit and greatly reducing the consumption of hardware such as memory in the vision chip. Therefore, it is expected to significantly improve the speed, energy efficiency and integration of the vision system.
Claims
1. A visual sensor chip that integrates sensing and computing. It is characterized in that include: Image sensor module, convolution kernel module and peripheral circuit module, where: The image sensor module is used to recognize visual information and convert the visual information into analog electrical signals; The peripheral circuit module is used to convert the analog electrical signal into a voltage analog quantity corresponding to each pixel of the visual information; The convolution kernel module is used to perform a convolution operation on the voltage analog quantity corresponding to each pixel to obtain multiple current weight values, and convert the multiple current weight values into multiple voltage weight values, thereby completing the information screening for identifying visual information.
2. The vision sensor chip with integrated sensing and computing according to claim 1, It is characterized in that The convolution kernel module includes a plurality of non-volatile memory units: Among them, the voltage analog quantity corresponding to each pixel is input into the corresponding non-volatile memory unit to obtain a first current corresponding to a positive weight and a second current corresponding to a negative weight, respectively, a plurality of first currents outputted by a plurality of non-volatile memory units are added, a plurality of second currents outputted by a plurality of non-volatile memory units are added, and the sum of the first currents is subtracted from the sum of the second currents to obtain a current weight value of the corresponding convolution operation.
3. The vision sensor chip with integrated sensing and computing according to claim 2, It is characterized in that The nonvolatile memory unit is composed of a positive weight nonvolatile memory subunit and a negative weight nonvolatile memory subunit. The voltage analog quantity corresponding to each pixel is input into the positive weight nonvolatile memory subunit and the negative weight nonvolatile memory subunit respectively to obtain a first current and a second current.
4. The vision sensor chip with integrated sensing and computing according to claim 3, It is characterized in that The positive-weighted non-volatile memory subunit includes a first non-volatile memory and a first switching tube corresponding to the positive weight. The conductance of the first non-volatile memory is set in advance or obtained through pre-training. The voltage analog quantity corresponding to each pixel is input into the first non-volatile memory to obtain a first current. The first switching tube is at a high level, so that the first current can be summed with the first current output by other first non-volatile memories.
5. The vision sensor chip with integrated sensing and computing according to claim 3, It is characterized in that The negative-weighted non-volatile memory subunit includes a second non-volatile memory and a second switch tube corresponding to the negative weight, the conductance of the second non-volatile memory is set in advance or obtained through pre-training, the voltage analog quantity corresponding to each pixel is input into the second non-volatile memory to obtain a second current, and the second switch tube is at a high level, so that the second current can be summed with the second current output by other second non-volatile memories.
6. The vision sensor chip with integrated sensing and computing according to claim 1, It is characterized in that The convolution kernel module is a non-volatile memory array, which includes multiple non-volatile memories, and the non-volatile memory is one or more of a memristor unit, a floating gate transistor unit, a magnetic memory unit, a phase change memory unit, and a ferroelectric memory unit.
7. The vision sensor chip with integrated sensing and computing according to claim 1, It is characterized in that It also includes a setting resistor, which is connected to the non-volatile memory convolution kernel module, and converts multiple current weight values into multiple voltage weight values based on the setting resistor.
8. The vision sensor chip with integrated sensing and computing according to claim 1, It is characterized in that The peripheral circuit module includes ADC, FPGA and DAC: The analog electrical signal is input into the ADC to obtain a serial voltage digital quantity, the serial voltage digital quantity is input into the FPGA to obtain a voltage digital quantity corresponding to each pixel, and the voltage digital quantity corresponding to each pixel is input into the DAC to obtain a voltage analog quantity corresponding to each pixel.
9. The vision sensor chip with integrated sensing and computing according to claim 1, It is characterized in that The image sensor module is a CMOS image sensor or a charge coupled device sensor.
Citation Information
Patent Citations
Convolution operation architecture in CMOS image sensor
CN111669527A
Convolutional visual image sensor
CN113612942A
Gesture detection and recognition system and method
CN115471917A
Sensing and calculating integrated visual sensing chip
CN116383131A
CMOS imager with integrated non-volatile memory
US6879340B1
Cited By
Single-layer full-connection memory storage circuit and method based on nanometer memristor array
CN120148585A
