Image controller device
The stacked image sensor device with reconfigurable processing cores addresses the lack of flexibility in existing sensors by enabling efficient and scalable data processing, supporting advanced algorithms like LSTM calculations.
Patent Information
- Application Number
- JP2025521238
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-10-13
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-10-13
AI Technical Summary
Existing image sensors lack configurable flexibility in image data processing and efficient processing capabilities, limiting their operational modes and scalability.
A stacked image sensor device with a pixel array layer and a processing layer, featuring reconfigurable and scalable computing capabilities through customizable processing cores, allowing for bidirectional communication and parallel processing of pixel outputs.
Enables a wide range of configurable operating modes and efficient data processing, supporting advanced algorithms like LSTM calculations with high parallelism and flexibility in image data handling.
Smart Images

Figure 0007954813000015 
Figure 0007954813000016 
Figure 0007954813000017
Abstract
Description
Technical Field
[0001] The present invention relates to image sensors, and in particular to an image sensor that uses photon detection by single-photon avalanche diodes and has improved configurable flexibility in image data processing.
Background Art
[0002] In general, an image sensor includes a two-dimensional array of photodetectors. The photodetectors may be configured to detect one or more incident photons and provide corresponding photon detection signals to generate image information of the received light distribution. One type of photodetector includes a single-photon avalanche diode (SPAD), which is configured to detect light upon photon incidence by generating electron-hole pairs and multiplying them through an electric field that produces a detectable electron avalanche.
[0003] Such so-called Geiger-mode photodetection cells are typically fabricated on or in a silicon substrate having a p-n junction electrically biased above its breakdown voltage, such that each electron-hole pair can trigger an avalanche multiplication process that forms a photon detection signal in the form of an electrical pulse.
[0004] After recognizing such an avalanche, the avalanche is quenched by reducing the electric field that accelerated the generated electrons, so that the avalanche process stops. Thereafter, the electric field is increased again to make the photodetection cell ready for the next photon detection.
[0005] U.S. Patent Documents 9,210,350 disclose an imaging system including a pixel array comprising a plurality of pixels, each of which comprises a single photon avalanche diode (SPAD) coupled to detect photons in response to incident light. A plurality of photon counters are included in a readout circuit, each of which is coupled to each of the plurality of pixels to count the number of photons detected by each of the plurality of pixels. Each of the plurality of photon counters is coupled to stop counting photons for each of the plurality of pixels that has reached a threshold photon count, and each of the plurality of photon counters is coupled to continue counting photons for each of the plurality of pixels that has not reached a threshold photon count. A control circuit is coupled to the pixel array to control the operation of the pixel array and includes an exposure time counter coupled to count the exposure time elapsed before each of the plurality of pixels detects a threshold photon count. Each exposure time count and photon count is coupled for each of the plurality of pixels in the pixel array.
[0006] The document ACUlku, C. Bruschini, IMAntolovic et al., “A 512×512 SPAD image sensor with integrated gating for widefield FLIM”, IEEE Journal of Selected Topics in Quantum Electronics, vol.25, no.1, pp.1-12, 2019, discloses an image sensor having 512×512 photon count pixels, each comprising a single-photon avalanche diode (SPAD), a 1-bit memory, and a gate mechanism that can turn the SPAD on and off. The sensor is designed to achieve a high frame rate.
[0007] The paper K. Morimoto, A. Ardelean, M.-L. Wu, et al., “Megapixel time-gated SPAD image sensor for 2D and 3D imaging applications”, Optica, vol.7, no.4, pp.346-354, 2020, discloses a 1Mpixel single-photon avalanche diode camera featuring a 3.8ns time gate and a 24kfps frame rate.
[0008] The paper C. Zhang, S. Lindner, IMAntolovic, M. Wolf, and E. Charbon, “A CMOS SPAD imager with collision detection and 128 dynamically reallocating TDCs for single-photon counting and 3D time-of-flight imaging”, Sensors, vol.18, no.11, 2018, discloses a single-photon avalanche diode (SPAD) sensor with a pixel-level time-to-digital converter (TDC) structure to achieve high photon throughput. A 32x32 pixel SPAD sensor is disclosed, fabricated using 180nm CMOS image sensor technology, and dynamically reallocated TDCs are implemented to achieve the same photon throughput as pixel-level TDCs. Each of the four TDCs is shared by 32 pixels via a collision detection bus.
[0009] The paper "A high-PDE, backside-illuminated SPAD in 65 / 40-nm 3D IC CMOS pixel with cascaded passive quenching and active recharge", IEEE Electron Device Letters, vol.38, no.11, pp.1547-1550, 2017, discloses a detector pixel based on a single-photon avalanche diode (SPAD) manufactured using backside-illuminated (BSI) three-dimensional IC technology. The chip stack includes an image detection layer manufactured using 65nm image sensor technology and a data processing layer manufactured using 40nm CMOS. Using simple CMOS-compatible technology, pixels can undergo passive quenching and active recharging at voltages far exceeding those imposed by a single transistor, while ensuring that reliability limits across gate-source (VGS), gate-drain (VGD), and drain-source (VDS) are not exceeded for any device. [Overview of the project] [Problems that the invention aims to solve]
[0010] An object of the present invention is to provide an improved structure for an image sensor device having a stack comprising an image detection layer and a data processing layer that provides a wide range of configurable operating modes for efficient processing.
[0011] This objective was achieved by the image sensor device described in claim 1. Further embodiments are shown in the dependent claims. [Means for solving the problem]
[0012] According to the first embodiment, a stacked image sensor device is —A pixel array layer comprising multiple pixel segments, each having multiple pixels for photon detection, each providing a digital pixel output, —A processing layer comprising a number of processing cores, each associated with one of a plurality of pixel segments, for receiving the pixel output of the pixels of each pixel segment, wherein each processing core comprises a processing layer that communicates bidirectionally with one or more adjacent processing cores, Each processing core is configured to receive the pixel output of the pixels in the associated pixel segment and to distribute the processing of the pixel output between the processing core and at least one of the adjacent processing cores.
[0013] The above image sensor device is a reconfigurable and scalable computing image sensor with fully autonomous processing capabilities provided by processing cores. The architectural flexibility stems from the ability to execute custom programs / algorithms in each processing core, as well as from the reconfigurable hardware in the pixel interface, which can be customized via software at runtime.
[0014] Furthermore, the pixels of the pixel array layer may include a detector diode, in particular a SPAD, and a preprocessing circuit coupled to the detector diode to provide the respective pixel output as a signal, in particular the signal may be provided, for example, through the pixel array layer to the processing layer. The pixel array layer is provided on a semiconductor (e.g., silicon) substrate that is processed by semiconductor processing techniques to generate the pixel structure and the preprocessing circuit.
[0015] The processing layer may also be provided on a semiconductor (e.g., silicon) substrate that is processed by semiconductor processing technology to generate the pixel structure and the preprocessing circuit.
[0016] According to one embodiment, each processing core may include a front-end block that can include freely configurable combinational logic and / or at least one lookup table to provide masking and / or logical operations of the pixel outputs in order to preprocess and / or combine the pixel outputs.
[0017] The timing block can be configured to receive the pre-processed pixel output and perform various timing functions known in the art, such as pulse width and / or phase shift measurement.
[0018] Furthermore, each processing block in the processing core may include a set of general-purpose registers, an arithmetic and logic unit (ALU), RAM, and a control block for providing flexible data processing capabilities, the control block being configured to control the data processing operation of the processing block.
[0019] In particular, the control block of at least one processing core associated with a single pixel segment can be configured to divide one or more processing tasks performed on the pixels of that single pixel segment into processing parts that can be processed simultaneously in parallel by at least two processing parts, and the at least two parallel processing parts are executed in the processing core and at least one adjacent processing core by directly controlling the processing of each processing part in the processing block of the processing core and instructing at least one adjacent processing core to each execute the processing of the other processing part.
[0020] According to one embodiment, the processing task may be an LSTM calculation performed on an image detected by an image sensor device, the LSTM calculation includes matrix operations, addition operations, sigmoid operations and tangent hyperbolic operations, and the control block of each processing core is, —The execution of matrix operations and addition operations is divided into multiple processing parts that should be performed on the pixels of a single related pixel segment. —executing at least one of the plurality of processing portions in each control block, —communicating at least one of the plurality of processing portions to at least one of the adjacent processing cores, and instructing at least one adjacent processing core to execute at least one respective one of the plurality of processing portions. It may be configured to do so.
[0021] Embodiments will be described in more detail in conjunction with the accompanying drawings. [Brief Description of the Drawings]
[0022] [Figure 1] A top view of the image sensor is shown. [Figure 2] A cross-sectional view of the image sensor is shown. [Figure 3] A circuit diagram of a pixel circuit in a pixel array layer is shown. [Figure 4] A pixel layout is schematically shown. [Figure 5] A detailed top view of an end portion of a processing layer substrate is shown. [Figure 6] A block diagram of a processing core is shown. [Figure 7] A schematic diagram of a reconfigurable front-end circuit block is shown. [Figure 8] A group arrangement of pixel outputs associated with an LUT is shown. [Figure 9] A schematic diagram of a timing block implemented in each processing core is shown. [Figure 10] A processing block implemented in each processing core is shown. [Figure 11] The structure of an image sensor including a plurality of processing cores arranged in a grid pattern is shown. [Figure 12] A scheduled graph of equations for implementing an LSTM inference operation is shown. [Figure 13] An exemplary arrangement of five processing cores having one master and four slave processing cores is shown. [Mode for Carrying Out the Invention]
[0023] Figure 1 shows a top view of the image sensor device 1, and Figure 2 shows a cross-sectional view of the image sensor device 1 having a stack of pixel array layer 2 and processing layer 3. Both layers 2 and 3 can be manufactured, for example, using CMOS technology and / or FinFET 3D technology on a silicon substrate.
[0024] The pixel array layer 2 may be an exemplary 12×24 array (or any other size) of SPAD pixels 21 (SPAD: Single Photon Avalanche Diodes) grouped into pixel segments 22 of 4×4 SPAD pixels. Each pixel output is electrically connected to the processing layer 3 using through-substrate vias (TSV:) 23.
[0025] The processing layer 3 has a 3x6 array of independent processing cores 31, each connected to a SPAD pixel 21 of its respective pixel segment 22. The processing cores 31 can share information and exchange data with their directly adjacent processing cores 31 and can synchronize with each other via the use of internal and external handshake signals. The processing layer 3 is designed for 3D integration with a large TSV landing site 32, which has a structure similar to a conventional flip-chip ball bonding pad.
[0026] The processing layer 3 includes digital processing electronics and processes the raw pixel array data from the pixel array layer 2 (including the pixel output of each SPAD pixel 21) as a front-end. Such a stacked architecture offers the possibility of using the processing layer 3 as a general-purpose readout IC coupled with custom detector technology, which is not limited to SPAD-based pixel arrays.
[0027] Figure 3 shows an exemplary pixel circuit diagram as an electronic circuit of the pixel array layer 2. A detector diode D1, such as a SPAD, is at a high voltage potential V HVA cascode transistor T1 and a reset transistor T2 are in series between the pin and ground potential GND. Cascode transistor T1 is used to extend the bias voltage range of the pixel, and reset transistor T2 performs clock-driven active recharging controlled by a given RST signal.
[0028] When an avalanche occurs, the voltage at node A between transistors T1 and T2 rises, and depending on the state of gate transistor T3 coupled to node A as a transmission gate, it can act on the gates of node B and transistor T5. If the level at node B is high, transistor T5 drives the gate of oversized (thick oxide) transistor T8, which discharges the large parasitic capacitance of TSV23. The RST signal also drives transistor T4 coupled to node B to reset node B, and drives transistor T6, which is coupled in series with transistor T4, and transistor T7, which is coupled in series with transistor T8, to recharge the capacitance of TSV23. Voltage level conversion is achieved, for example, by setting the supply voltage VDDBOT to 0.8V + the threshold voltage of transistor T8.
[0029] Figure 4 schematically shows the pixel layout. The detector diode 21a is located in the center of the pixel region. The octagonal shape in the lower left is the metal contact of the TSV 23. All pixel circuits are located in the bottom and left rectangular portions 21b. Due to the small area and spacing requirements, all transistors can be formed as thick oxide NMOS to avoid minimum spacing rules between different types of transistors. The pixel regions of adjacent pixels are indicated by dotted lines.
[0030] The processing layer 3 can accommodate a TSV landing site 32, which may be formed by 16 groups of rectangular aluminum contacts to the underlying processing core 31 via a set of ESD protection diodes (not shown). The TSV landing site 32 receives the pixel output.
[0031] Figure 5 shows a detailed top view of the edge of the processing layer substrate. Here, the TSV landing site 32 can be seen next to the standard-sized bonding pad 33 for the external connection of the image sensor 1.
[0032] Figure 6 shows a schematic block diagram of the processing core 31. Each processing core 31 is connected to 16 pixels on the pixel array layer 2, which is arranged in a 4x4 pixel pattern. Pixel output signals (pixel outputs) from the pixel circuits on the pixel array layer 2 are connected to a reconfigurable front-end block 41 that includes combinational logic and a look-up table (LUT).
[0033] The front-end circuit block 41 can pre-process the pixel output data before it is transferred to the timing block 42 and / or processing block 43. The timing block 42 is a special circuit that can perform various timing functions such as pulse width or phase shift measurement.
[0034] The processing block 43 consists of a set of general-purpose registers 431, an arithmetic logic unit (ALU) 432, and RAM 433. The overall operation of the processing core 31 is coordinated by the control block 44, which includes an instruction ROM 441 and an instruction decoder 442 that define the operation of the processing block 43.
[0035] The control block 44 can receive input from an adjacent processing core 31 and then provide a software-controlled output used for synchronization. Similarly, the timing block 42 can receive input from an adjacent processing core 31 and, for example, provide a fast-propagating signal via a dedicated channel outside the device through another processing core 31.
[0036] Synchronization works for the front-end block 41 and timing block 42 by implementing a dedicated signal path (1-bit wire) that can route the output of the front-end or timing module to the front-end and / or timing block. Thus, the timing block 42 of all adjacent processing cores 31 can be triggered by the detection of the same photon by the master. In this case, the output of the front-end circuit block 41 of the master processing core 31 is routed to all four adjacent processing cores 31 via a multiplexer and can be treated as if it came from its own front-end circuit block 41 (of the slave processing core 31).
[0037] If a range exceeding 16 bits is required for timing block 42, the most significant bit of timing block 42 is routed to the timing block 42 of the adjacent processing core 31, where it is used as a counter clock, and in effect, two separate 16-bit counters can be used as a single 32-bit counter.
[0038] The synchronization signal is generated by the control block 44 as a simple 1-bit signal coming from the neighbor processing core 31, which can be checked using conditional instructions within the code. For example, if the neighbor processing core 31 sends a signal, the code jumps to line XX. There is also a dedicated instruction for sending a signal to a specific neighbor processing core 31, such as a strobe signal to the neighbor processing core 31.
[0039] Figure 7 shows a schematic diagram of the reconfigurable front-end circuit block 41. The 16-pixel output PXL[0...15] is connected to a group of four LUTs 411 (LUT0 to LUT3) in four groups, as shown in Figure 8. The purpose is to create the possibility of binning 4x4 pixels into 2x2 groups. Each LUT can be programmed by the control block 44 using four instruction cycles to implement any logic function of the following types:
[0040] Q3Q2Q1Q0=a[0]P3P2P1P0+a[1]P3P2P1P0+...+a
[15] P3P2P1P0
[0041] Here, P and Q are 4-bit LUT input and output, respectively, and a[] is an array of 16 values consisting of 0s and 1s.
[0042] The first layer outputs of LUT0, LUT1, LUT2, and LUT3 are connected to the second layer of the circuit, which includes adders 412 and LUT4(413). The adder combines the 16 bits of output Q of LUT411 into a single 5-bit number, effectively counting the number per second. LUT4 is a larger version of the other four, with an 8-bit input and a 1-bit output. In contrast to the adder, only the top 2 bits from the output of the previous LUT411 are connected.
[0043] LUT4 can also be configured with a control block 44 in 16 instruction cycles to implement any of the following types of functions:
[0044] Q0=a[0]P7P6P5P4P3P2P1P0 +a[1]P7P6P5P4P3P2P1P0 +... +a
[0255] P7P6P5P4P3P2P1P0 Here, P is an 8-bit input assembled from the 2 bits of the LUT411's output, Q is a 1-bit output, and a is an array of 256 values, consisting of 0s and 1s.
[0045] The 16-pixel output is connected to two OR trees 414 and can be individually masked using a pair of AND gates 415. This secondary path is designed with an independent set of constraints to enable high-speed signal propagation and can function as an input to a timing block 42 or other adjacent processing core 31.
[0046] Without being limited to this, various signals from the front-end circuit block 41, such as LUT and adder outputs and raw pixel values, are connected to the output DMUX 416, which can be controlled by the control block 44, just like all other circuits. This provides software flexibility to select different pre-processed versions of the inputs without having to reconfigure the front-end circuit block 41.
[0047] Figure 9 shows a schematic diagram of the timing block 42 implemented in each processing core 31. A 16-bit counter 421 functions as the central element of the timing block 42, and its value is used as the timing block output. A pair of multiplexers 422 are used to select sources that function as the counter clock signal C and the enable signal EN, with a wide selection available for both cases. The input to the multiplexer 422 may be the high-speed output signal shown in Figure 7. The counter clock signal and the enable signal may be selected from the front-end block 41 in various ways.
[0048] The enable signal EN may be supplied directly from the output of the front-end circuit block, or via the SR latch 423, which can combine two separate input signals from the front-end output. Furthermore, pulses generated by the adjacent processing core 31 or control block 44 can be used as the counter clock signal C or the enable signal EN.
[0049] The local oscillator 424 can be formed by a ring of numerous (e.g., 7) NAND gates and can be used to generate a higher frequency clock reference for the counter.
[0050] The timing block 42 generates two flags, namely counter overflow CO and latch set LS, which can be used by the control block 44 for conditional instructions. Counter overflow CO is the 17th counter bit, which is set and essentially latched when an overflow is detected in counter 421. Latch set LS is the state of the input SR latch and can be used to detect the arrival of an input.
[0051] The control block 44 can reconfigure the functionality of the timing block 42 by setting all multiplexers 422 and resetting counter 421 and two flags CO and LS. A complete reconfiguration requires two instruction cycles, but in most cases, a single cycle is sufficient.
[0052] As shown in Figure 10, the processing block 43 includes a number of general-purpose registers 431, a byte selector block 432, an ALU 433, and RAM 434. The inputs of the processing block 43 are connected to the front-end block 41, the timing block 42, and adjacent processing cores via a set of multiplexers managed by the control block 44. The output is the RAM memory itself, which can be read from the processing core 31 by an external system circuit or a set of registers connected to the adjacent processing core 31.
[0053] The general-purpose register 431 can load data coming from the input, ALU 433, or RAM 434. The load signal for the general-purpose register 431 is driven independently by the control block 44 to allow the same data to be written to multiple locations simultaneously as needed.
[0054] The byte selector block 432 is a special circuit used to shift or extract specific bytes from the data word presented at its input. It can be used alone with special instructions or in combination with other operations. The following table summarizes the operations that the byte selector block 432 can perform.
[0055] Function # Output effect 1 I[31:0] No operation 2 I[7:0] Byte 0 3 I[15:8] Byte 1 4 I[23:16] Byte 2 5 I[31:24] Byte 3 6 I[15:0] Lower half 7 I[31:16] Upper half 8 I[0:31] Reverse bit order
[0056] The ALU433 is a combinational circuit block with three inputs and one output of the same bit size. The ALU control signal selects a CALU that uses one of 25 possible operations to calculate the output. The following operations can be performed: NOT O=NOT Ain, AND O=Ain AND Bin, OR O=Ain OR Bin, XOR O=Ain XOR Bin, NEG O=-Cin, ADD O=Ain+Cin, SUB O=Ain-Cin, MUL O=Ain×Bin, MAC O=Ain×Bin+Cin, CMP Ain <Bin、RL O=Ain[30:0]&Ain
[31] 、RR O=Ain[0]&Ain[31:1]、SL O=Ain<<1、SR O=Ain> >1, MAX O=max(Ain,Bin), MIN O=min(Ain,Bin).
[0057] In addition to integer output, the ALU433 also generates two flags, 0 and Carry, which are used for conditional jumps or instruction calls. Depending on the result of an arithmetic operation, these flags are set or cleared and remain in the same state until another operation acts on them. As an exception, no logical operation affects the Carry flag.
[0058] The inputs Ain, Bin, and Cin to the ALU can be supplied from multiple sources, including general-purpose register 432, explicit RAM addresses, pointers to RAM addresses, or hardcoded values within the instruction code. Similarly, the results of calculations can be written to registers or explicit or specified RAM locations.
[0059] The memory may be a dual-port RAM block. The read and write address ports are controlled independently to allow for the flexibility of the aforementioned data sources. Furthermore, the RAM can be accessed externally by overwriting all connections, a feature used for debugging and extracting processor output.
[0060] The control block 44 includes an instruction memory 441 formed as ROM, an instruction decoder circuit 442, and a finite state machine 443. A 1-bit synchronization signal from each adjacent processing core 31 can be used when executing conditional instructions. Similarly, a 1-bit output signal is connected to each adjacent processing core 31 and can be stroved or set via software. In addition, there are two 1-bit inputs and 1-bit outputs that can operate in the same way as the connections to adjacent processing cores 31 and are designed to synchronize with modules outside the device.
[0061] The instruction memory 441 may be a 256 x 24 bit dual-port RAM block. In contrast to the scratchpad RAM from the processing block 43, only the read port of the instruction memory 441 is accessible by the processing core 31, and as a result it behaves like ROM. The write port can be connected to the device bus and is used only in special cases, such as during setup or when program execution is interrupted and the instruction memory 441 is rewritten at runtime.
[0062] The processing core 31 can be configured to follow a fetch-decode-execution sequence that requires exactly three clock cycles for each instruction. During the fetch phase, the instruction specified by the program counter register (PC) is read from the ROM 441 and passed to the instruction decoder 442. The instruction decoder is a combinational circuit that drives all processing core control signals. During the decode phase, in addition to setting the control signals, the necessary data is fetched from RAM either by directly driving the RAM address bus or by using general-purpose registers as pointers. At the end of the final phase, the result of the operation is written to the requested destination, and the PC is incremented.
[0063] Each instruction may be 24 bits long, begin with a variable-length opcode, and be followed by a payload.
[0064] As shown in Figure 11, the structure of the image sensor in this embodiment includes a number of processing cores 31 arranged in a grid such as a 6x3 grid. Each processing core 31 is connected to four directly adjacent processing cores 31 via a bidirectional data bus 33 and bidirectional timing signal lines 34. If one or more adjacent cores are missing (in the case of edge cores), the corresponding signals may be connected to a register 35.
[0065] The device can be programmed and read via a conventional AXI bus, and the output of each processing core 31 is mapped to a memory location which may include instruction ROM, RAM, and associated registers as needed.
[0066] The two input signals can be distributed to all processing cores 31, reach each processing core 31 in parallel, and be used for synchronization.
[0067] Programming of each processing core 31 can be performed by uploading the program to the individual instruction memory (ROM) 441 via the AXI bus. To avoid unexpected behavior, the target processing core 31 should be kept in a reset state during this procedure. However, two exceptions may be provided if the processing core 31 can be reprogrammed at runtime: namely, if it is certain that execution of a portion of the program will not occur until the reprogramming is complete, or if the processing core 31 is kept in a frozen state waiting for an external stimulus using a special-purpose WAIT instruction.
[0068] Instructions can be classified into five categories: logic, arithmetic, operation, flow, and special. Most instructions have multiple variants depending on the source of the operands and the destination of the result.
[0069] Logic instructions can include one or two operands that source register or RAM locations. The result can be written to any register or RAM location, including the one that acted as the source. Explicit operands are not supported for this type of operation. After execution, the ALUcarry flag is cleared regardless of the result. These instructions replace the dedicated clear flag command. The ALU zero flag functions as usual. The four logical operations supported by the architecture are NOT, AND, OR, and XOR.
[0070] The ALU can execute arithmetic instructions such as sign inversion, addition, subtraction, multiplication, MAC, MAX, MIN, and value comparison. Like logical instructions, it can operate on data from general-purpose registers or RAM, but it can also use three operands (MAC instruction) or explicit values (ADD and SUB instructions).
[0071] Operation instructions act on a single operand and are used to apply rotations and shifts or select specific bytes. This category also includes RAM STORE and FETCH instructions, which transfer data from general-purpose registers 432 to RAM or vice versa, with the latter option supporting multiple destinations simultaneously. In addition, LOAD instructions are provided for writing explicit values to any of the general-purpose registers 432.
[0072] Flow instructions affect program execution by modifying PC registers. JUMP instructions can be used to jump to any address in instruction memory, either unconditionally or depending on the state of available flags. CALL and RET instructions can be used to execute subroutines. The former behaves exactly like JUMP and its variants, but pushes PC values onto the stack so that program execution can resume from the same point when RET is called.
[0073] The highly customized architecture requires a special instruction set not typically found in other CPUs. Communication with adjacent processing cores 31 and external circuits can be performed via the SAVEN, GETN, PUTN, and TELL instructions. The first two are used to sample the adjacent data bus and transfer values to general-purpose registers 432. Both instructions support multiple sources and destinations simultaneously. The PUTN instruction latches the value of a general-purpose register to one or more adjacent data buses. Finally, TELL is used to strobe or set synchronization signals for adjacent control units or external I / O pads.
[0074] Data from the timing module or front end can be read using dedicated GETC and GETP instructions that support simultaneous byte selection and multiple destinations. All combinational logic paths have their own configuration instructions, starting with front-end multiplexers (SETFM, SETTM) and LUT functions (SETLUT), and ending with a fast path OR tree (SETOR) and timing module (SETTIME).
[0075] Finally, to facilitate the simultaneous synchronization of cores with asynchronous external trigger conditions, a special WAIT instruction can be provided. When this instruction is executed, the control block 44 freezes in the execution phase until the specified condition is met, and then immediately resumes operation in the next clock cycle. The condition is verified by monitoring the adjacent processing core 31 and external synchronization signals, and is met only if pulses are detected from all requested sources, regardless of order.
[0076] One possible application described is an LSTM LiDAR sensor. Long short-term memory (LSTM) is a special type of artificial neural network that includes feedback connections, enabling the processing of data sequences such as audio or video signals. Recently, research has focused on extending the use of LSTMs to LiDAR applications, where a data stream generated by a time-of-flight (ToF) image sensor is processed by such a network to determine a depth map of the detected scene. The unique properties of the above architecture enable the implementation of LSTMs because the processing cores 31 can share information among themselves, thereby allowing for a high degree of parallelism, and the reconfigurable front-end block 41 can implement preprocessing techniques such as match detection without speed or processing penalties.
[0077] As an example, an image sensor is proposed that functions as a single-point ToF detector used in an XY scanning setup and implements a size 20 LSTM cell. The front-end block 41 is configured to trigger the timing block 42 with the first input pulse detected within the exposure window (triggered when any of the 4x4 pixel segments, or just one pixel segment, or at least some pixels from the 4x4 pixel segments are activated).
[0078] The following equation describes the LSTM at time step t. JPEG0007954813000001.jpg4379 Here, JPEG0007954813000002.jpg12150 and JPEG0007954813000003.jpg6150 is a 20x1 array of the values for the forget, input, and output gates. JPEG0007954813000004.jpg6150 and JPEG0007954813000005.jpg6150 is a 20x1 vector representing the hidden and cell states stored from one LSTM iteration to the next. JPEG0007954813000006.jpg6150 is an input value provided by the timing block, JPEG0007954813000007.jpg12150 is a 20x21 weight matrix, JPEG0007954813000008.jpg12150 has a 20x1 bias array. JPEG0007954813000009.jpg6150 and All values for JPEG0007954813000010.jpg6150 are constants and are determined before execution during LSTM training. σ and tanh are the sigmoid and hyperbolic tangent functions, respectively, and ||, ×, and . represent function concatenation, matrix multiplication, and Hadamard multiplication.
[0079] Figure 12 shows the graph of the equations described above. Step S0 is straightforward because the concatenation operation can be replaced with a memory write. Steps S1 and S2 are the most resource-intensive, requiring a total of 420 fixed-point MACs. Steps S4, S5, and S7 require only 40 fixed-point multiplications and 20 fixed-point additions / multiplications, respectively. The nonlinear tanh and sigma functions can be implemented as LUTs, i.e., simple memory read operations. To improve execution speed, steps S1 and S2 are distributed across four separate slave cores, while the remaining steps are assigned to a single master core.
[0080] The total amount of RAM available to each core was 512 bytes, and as a result, all weights and bias coefficients had to be stored as 8-bit signed fixed-point numbers with 4 coefficients and 3 fractional bits per RAM word. JPEG0007954813000011.jpg12150 and JPEG0007954813000012.jpg6150 JPEG0007954813000013.jpg6150 and The value of JPEG0007954813000014.jpg6150 has a 16-bit signed fixed-point representation with three fractional bits, stored in pairs at each RAM location. The LUT used for the nonlinear activation function has the same data format as the previous variable.
[0081] Figure 13 shows the arrangement of the five processing cores 31 used in the implementation of the LSTM. The master processing core 31 is surrounded by the slave processing cores 31 in four basic directions to enable the fastest possible data transfer. When the master processing core 31 finishes the exposure period, it transfers the x[t] variable to the four slaves and waits until all matrix multiplications and additions are complete. The master processing core 31 then reads the results and performs all remaining operations.
[0082] Figure 13 shows a possible arrangement of 5-core clusters to form a large-format image. In this case, clusters at the edges of the array have a different arrangement of processing cores 31 due to geometric constraints. Two cores are unavailable and are represented by black squares. Note that the current setup can be extended so that the master processing core 31 also performs timestamp calculations from the corresponding slave processing cores 31, thereby creating an essentially uniform LSTM imager.
[0083] The processing cores 31 can also interoperate in a master-master configuration. For example, if an image is compressed by applying a function that involves looking up values in a lookup table using the current pixel value or TDC timestamp. Each processing core 31 would need a copy of this table, but in most cases the table is too large to fit each processing core 31, so instead the table can be divided into parts and distributed to all processing cores 31. In this way each processing core 31 can process its own input, but if its input is out of range, it sends it to the adjacent processing core 31 that stores the corresponding part of the table.
[0084] Any processing core can only send data to adjacent processing cores, but data can be further transferred from one adjacent processing core to another. In this way, information can be shared between any two cores, but it is indirect and slow because there is no direct physical connection between the two cores.
Claims
1. An image sensor device in a stacked arrangement, A pixel array layer comprising multiple pixel segments, each having multiple pixels for photon detection and each providing a digital pixel output, A processing layer comprising a number of processing cores, each associated with one of a plurality of pixel segments, and receiving the pixel output of the pixels of each pixel segment, wherein each processing core comprises a processing layer that communicates bidirectionally with one or more adjacent processing cores, Each processing core includes a front-end block that can include freely configurable combinational logic and / or at least one lookup table to provide masking and / or logical operations on pixel outputs for preprocessing and / or combining pixel outputs, Each processing core further comprises a processing block including a set of general-purpose registers, an Arithmetic and Logic Unit (ALU), and RAM, and a control block configured to control the data processing operation of the processing block. Each processing core is configured to receive the pixel output of the pixels in its associated pixel segment and to distribute the processing of the pixel output between the processing core and at least one adjacent processing core. Image sensor device.
2. The pixels in the aforementioned pixel array layer are coupled to a detector diode, particularly a SPAD (Single-Photon Avalanche Diode), and the output of each pixel is used as a signal. The image sensor apparatus according to claim 1, comprising a pre-processing circuit, wherein the signal is provided to the processing layer via through vias in the pixel array layer.
3. The image sensor apparatus according to claim 1, wherein the timing block is configured to receive the pre-processed pixel output and perform timing functions for pulse width and / or phase shift measurement.
4. The image sensor device according to claim 1, wherein a control block of at least one processing core associated with each pixel segment is configured to divide one or more processing tasks performed on the pixels of that pixel segment into processing parts, at least two processing parts are processed simultaneously in parallel, and at least two processing parts directly control the processing of each processing part within the processing block of the processing core and instruct at least one adjacent processing core to execute the other processing part, thereby being executed at least partially in parallel in the processing core and at least one adjacent processing core.
5. The processing task includes matrix operations and / or addition operations performed on the image detected by the image sensor device, and in particular includes LSTM operations including matrix operations, addition operations, sigmoid operations and tangent hyperbolic operations, and each control block of the processing core is, - Dividing the execution of matrix operations and addition operations to be performed on the pixels of the associated pixel segment into multiple processing parts, wherein at least two of the processing parts can be processed simultaneously in parallel. - To execute at least one of the processing units within the control block, - The image sensor device according to claim 4, configured to communicate at least one of the plurality of processing units to at least one of the adjacent processing cores adjacent to each processing core, and to instruct at least one of the adjacent processing cores to execute at least one of the plurality of processing units.
6. The image sensor apparatus according to claim 1, wherein each processing core associated with a pixel segment at the edge of the pixel array communicates bidirectionally with one or more registers.
7. The image sensor device according to claim 1, wherein the processing cores communicate bidirectionally via a bidirectional data bus and a bidirectional timing signal line, respectively.
8. The image sensor device according to claim 1, wherein the processing layer and the pixel array layer are formed on separate substrates stacked to form the image sensor device.
9. The image sensor apparatus according to claim 4 or 5, wherein the processing task is separated into processing parts, and at least one of the processing cores is configured to distribute the processing parts between at least one processing core and at least one adjacent processing core adjacent to the at least one processing core.
Citation Information
Patent Citations
Integrated circuit chip and imaging apparatus
JP2021013117A
Image sensor, control method thereof, and imaging apparatus
JP2021072621A
Digital processing cell
US20080303917A1
Imaging device and electronic device
US20200091214A1
High bandwidth camera data transmission
US20200320677A1
