Integration method and system of processing unit in sensor and computing unit in memory
Through bus integration and in-sensor processing and in-memory computing units with different clocks, the problem of low data transfer efficiency in traditional image recognition systems is solved, efficient convolutional neural network operations are realized, and energy consumption and time consumption are reduced.
Patent Information
- Application Number
- CN202010093130.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-02-14
AI Technical Summary
In traditional image recognition systems, the data transfer efficiency between in-sensor processing and in-memory operations is low, resulting in high system energy and time consumption. There is a lack of integrated systems to optimize convolutional neural network operations.
Integrate and transmit data between in-sensor processing and in-memory computing through the bus, using in-sensor processing units and in-memory computing units with different clocks to provide, convert, acquire, segment and control steps to achieve data efficiency transmission and operation.
It reduces the energy consumption and time of convolutional neural network operations, improves data transmission efficiency, and achieves efficient integration of the processing unit in the sensor and the computing unit in the memory.
Smart Images

Figure CN113269211B
Abstract
Description
Technical Field
[0001] The present invention relates to a method and a system for integrating a processing unit in a sensor and a computing unit in a memory, and more particularly to a method and a system for integrating a processing unit in a sensor and a computing unit in a memory for image recognition. Background Art
[0002] There are two key points in the image recognition technology used in general deep neural networks: Processing-In-Sensor (PIS) and In-Memory Computing (CIM). PIS is an image acquisition device (e.g., a digital camera) that performs preliminary pre-processing on the recorded raw image data, which can achieve edge acquisition, quantization, or low-level neural network calculations. CIM is the calculation of the "convolutional layer" or even the "fully connected layer" in the deep neural network architecture, which has the functions of both memory and accelerator. An image recognition system must have both features to achieve a complete and efficient image recognition application.
[0003] Traditionally, based on the Von Neumann model, if the pixel array or data in the memory needs to be processed, the data needs to be transferred to the computing unit (e.g., processor) for calculation. However, each unit processes data independently and calculates and transfers data between units through various carriers. The large amount of data transfer process easily leads to system inefficiency and energy consumption. Currently, there is no system that integrates the two. Summary of the invention
[0004] Therefore, the object of the present invention is to provide a method and system for integrating a processing unit in a sensor and a computing unit in a memory, which integrates and transmits a large amount of data between the processing in the sensor and the computing in the memory through a bus, thereby reducing the energy consumption and time of convolutional neural network operations.
[0005] According to an embodiment of the present invention, a method for integrating a processing unit in a sensor and a computing unit in a memory is provided. The processing unit in the sensor operates at a first clock, and the computing unit in the memory operates at a second clock. The method for integrating the processing unit in the sensor and the computing unit in the memory includes a providing step, a converting step, an acquiring step, a segmenting step, and a controlling step. The providing step drives the processing unit in the sensor to provide a first instruction signal and a plurality of initial data and transmits them to a bus unit, wherein the first instruction signal and each initial data operate at the first clock, and the bus unit includes a memory, a synchronization module, and a picture difference module. The converting step drives the synchronization module to receive the first instruction signal and the initial data, and the first instruction signal and the initial data are converted into a second instruction signal and a plurality of input data through the synchronization module, so that the second instruction signal and each input data operate at the second clock, and the first clock is different from the second clock, thereby transmitting the second instruction signal to the computing unit in the memory. The acquiring step drives the picture difference module to receive the input data, and acquires a plurality of difference data according to the input data, and each difference data has a difference address, wherein the acquiring step includes a data storage sub-step and a data acquisition sub-step. The data storage sub-step drives the memory to store an input data. The data acquisition sub-step drives the image difference module to read an input data and compare it with another input data to obtain each difference data. The segmentation step drives a bit segmentation module to receive the difference data and segment each difference data into a plurality of bit slices. The control step drives an encoding module to receive the difference address and encode the difference address into a control signal, and the operation unit in the memory accesses each bit slice according to the control signal.
[0006] Therefore, the integration method of the processing unit in the sensor and the computing unit in the memory of the present invention can transmit the data output by the processing unit in the sensor to the computing unit in the memory for computing through providing steps, converting steps, acquiring steps, segmenting steps and controlling steps.
[0007] According to the method for integrating the processing unit in the sensor and the computing unit in the memory, in the providing step, when the first instruction signal is 1, each input data is transmitted to the bus unit in sequence. When the first instruction signal is 0, each input data is not transmitted to the bus unit.
[0008] The method for integrating the processing unit in the sensor and the computing unit in the memory according to the embodiment described in the previous paragraph further includes an output step. The output step drives a transmission module to receive the bit slices and convert the bit slices into output data, thereby transmitting the output data to the computing unit in the memory. Each bit slice has a first bandwidth, and the output data has a second bandwidth, and the first bandwidth is different from the second bandwidth.
[0009] According to the method for integrating the processing unit in the sensor and the computing unit in the memory of the embodiment described in the previous paragraph, the computing unit in the memory includes a static random access memory, and in the control step, when the control signal is 1, each bit chip is sequentially written into the static random access memory. When the control signal is 0, each bit chip is not written into the static random access memory.
[0010] According to one embodiment of the present invention, an integrated system of a processing unit in a sensor and a computing unit in a memory is provided, comprising a processing unit in a sensor, a bus unit and a computing unit in a memory. The processing unit in the sensor comprises a microprocessor and a sensor, wherein the microprocessor is electrically connected to the sensor and is used to generate a first command signal and a plurality of initial data. The bus unit is electrically connected to the processing unit in the sensor and comprises a synchronization module, a picture difference module, a memory, a bit segmentation module and an encoding module. The synchronization module is electrically connected to the microprocessor and receives the first command signal and the initial data to generate a second command signal and a plurality of input data. The picture difference module is electrically connected to the synchronization module, and the picture difference module receives the input data and generates a plurality of difference data, and each difference data has a difference address. The memory is electrically connected to the picture difference module and stores an input data, and the picture difference module reads an input data of the memory and compares it with another input data to obtain each difference data. The bit segmentation module is electrically connected to the picture difference module, and the bit segmentation module receives the difference data and generates a plurality of bit slices. The encoding module is electrically connected to the image difference module, and the encoding module receives the difference address and generates a control signal. The computing unit in the memory is electrically connected to the bus unit, and the computing unit in the memory accesses each bit slice according to the control signal. The processing unit in the sensor operates at a first clock, and the computing unit in the memory operates at a second clock. The first clock is converted into the second clock through the synchronization module, and the first clock is different from the second clock.
[0011] Therefore, the integrated system of the processing unit in the sensor and the computing unit in the memory of the present invention can transmit the data output by the processing unit in the sensor to the computing unit in the memory for computing via the bus unit.
[0012] According to the integrated system of the processing unit in the sensor and the computing unit in the memory of the embodiment described in the previous paragraph, the computing unit in the memory includes a processing unit and a static random access memory. The processing unit is electrically connected to the synchronization module and the encoding module and receives the second instruction signal and the control signal. The static random access memory is electrically connected to the processing unit, and the static random access memory accesses each bit chip according to the control signal.
[0013] According to the integrated system of the processing unit in the sensor and the computing unit in the memory of the embodiment described in the previous paragraph, the bus unit further includes a transmission module. The transmission module is electrically connected to the bit segmentation module and the static random access memory, and the transmission module receives the bit slices and converts the bit slices into output data, thereby transmitting the output data to the static random access memory. Each bit slice has a first bandwidth, and the output data has a second bandwidth, and the first bandwidth is different from the second bandwidth. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A block diagram showing an integrated system of a processing unit in a sensor and a computing unit in a memory according to an embodiment of a structural aspect of the present invention;
[0015] Figure 2 A block diagram showing an integrated system of a processing unit in a sensor and a computing unit in a memory according to an embodiment of another structural aspect of the present invention;
[0016] Figure 3 Show according to Figure 2 A schematic diagram of a first command signal and initial data converted into a second command signal and input data by an integrated system of a processing unit in a sensor and a computing unit in a memory according to an embodiment of the present invention;
[0017] Figure 4 Show according to Figure 2 A schematic diagram of segmenting difference data into bit slices in an integrated system of a processing unit in a sensor and a computing unit in a memory according to an embodiment of the present invention;
[0018] Figure 5 A block diagram showing the steps of a method for integrating a processing unit in a sensor and a computing unit in a memory according to an embodiment of a method aspect of the present invention; and
[0019] Figure 6 Show according to Figure 5 0 is a block diagram of the acquisition steps of the method for integrating the processing unit in the sensor and the computing unit in the memory according to the embodiment of the method aspect.
[0020] The reference numerals are described as follows:
[0021] S100: Method for integrating a processing unit in a sensor and a computing unit in a memory
[0022] S110: Provide steps
[0023] S120: Conversion Steps
[0024] S130: Acquisition step
[0025] S140: Segmentation step
[0026] S150: Control Step
[0027] S160: Output Step
[0028] S131: Data storage sub-step
[0029] S132: Data acquisition sub-step
[0030] 100: Integrated system of processing unit in sensor and computing unit in memory
[0031] 110: Processing unit in the sensor
[0032] 111: Microprocessor
[0033] 1111: First command signal
[0034] 112: Sensor
[0035] 1121: Initial data
[0036] 120: In-memory computing unit
[0037] 121: Processing unit
[0038] 122: Static Random Access Memory
[0039] 1221: Static random access memory address
[0040] 130: Bus unit
[0041] 131: Synchronization module
[0042] 1311: Second command signal
[0043] 1312: Input data
[0044] 132: Picture difference module
[0045] 1321: Difference data
[0046] 1322: Differential address
[0047] 133: Bit Splitting Module
[0048] 1331: Bit Slice
[0049] 134: Encoding module
[0050] 1341: Control signal
[0051] 135: Memory
[0052] 136: Transmission module
[0053] 1361: Output data
[0054] clk1: first clock
[0055] clk2: second clock DETAILED DESCRIPTION
[0056] The following will describe multiple embodiments of the present invention with reference to the accompanying drawings. For the purpose of clarity, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is, in some embodiments of the present invention, these practical details are not necessary. In addition, in order to simplify the drawings, some conventional structures and elements will be shown in the drawings in a simple schematic manner; and repeated elements may be represented by the same number.
[0057] In addition, in this article, when a certain element (or mechanism or module, etc.) is "connected", "set" or "coupled" to another element, it may refer to that the element is directly connected, directly set or directly coupled to another element, and it may also refer to that a certain element is indirectly connected, indirectly set or indirectly coupled to another element, that is, there are other elements between the element and the other element. When it is clearly stated that a certain element is "directly connected", "directly set" or "directly coupled" to another element, it means that there are no other elements between the element and the other element. The terms first, second, third, etc. are only used to describe different elements or components, and there is no restriction on the elements / components themselves. Therefore, the first element / component can also be renamed as the second element / component. And the combination of elements / components / mechanisms / modules in this article is not a generally known, conventional or existing combination in this field, and it cannot be determined whether the combination relationship is easy to be easily completed by the general knowledge in the technical field based on whether the elements / components / mechanisms / modules themselves are existing.
[0058] Please refer to Figure 1 and Figure 2 ,in Figure 1 FIG. 1 is a block diagram of an integrated system 100 of a processing unit in a sensor and a computing unit in a memory according to an embodiment of a structural aspect of the present invention. Figure 2 FIG. 1 is a block diagram of an integrated system 100 of a processing unit in a sensor and a computing unit in a memory according to another embodiment of the present invention. Figure 1 and Figure 2 It can be seen that the integrated system 100 of the processing unit in the sensor and the computing unit in the memory includes a processing unit in the sensor 110, a computing unit in the memory 120, and a bus unit 130. The processing unit in the sensor 110 includes a microprocessor 111 and a sensor 112. The microprocessor 111 is electrically connected to the sensor 112 to generate a first command signal 1111 and a plurality of initial data 1121.
[0059] The bus unit 130 is electrically connected to the processing unit 110 in the sensor, and includes a synchronization module 131, a picture difference module 132, a bit segmentation module 133, and an encoding module 134. The synchronization module 131 is electrically connected to the microprocessor 111 and receives the first instruction signal 1111 and the initial data 1121 to generate a second instruction signal 1311 and a plurality of input data 1312. The picture difference module 132 is electrically connected to the synchronization module 131, and the picture difference module 132 receives the input data 1312 to generate a plurality of difference data 1321, and each difference data 1321 has a difference address 1322. The bit segmentation module 133 is electrically connected to the picture difference module 132, and the bit segmentation module 133 receives the difference data 1321 to generate a plurality of bit slices 1331. The encoding module 134 is electrically connected to the picture difference module 132, and the encoding module 134 receives the difference address 1322 to generate a control signal 1341. The in-memory operation unit 120 is electrically connected to the bus unit 130 , and the in-memory operation unit 120 accesses each bit slice 1331 according to a control signal 1341 .
[0060] Therefore, the integrated system 100 of the sensor processing unit and the memory computing unit of the present invention can transmit the data output by the sensor processing unit 110 to the memory computing unit 120 for computing via the bus unit 130, which is beneficial to reduce the energy consumption and time during the data transmission process.
[0061] Please refer to Figure 2 and Figure 3 ,in Figure 3 Show according to Figure 2 Schematic diagram of converting a first command signal 1111 and initial data 1121 into a second command signal 1311 and input data 1312 of an integrated system 100 of a processing unit in a sensor and a computing unit in a memory according to an embodiment of the present invention. Figure 3 It can be seen that when the first command signal 1111 rises to 1, it indicates that the processing unit 110 in the sensor is ready and can transmit the pre-processed data to the bus unit 130. The initial data 1121 will be output in sequence through the data port (not shown) of the processing unit 110 in the sensor. The processing unit 110 in the sensor can operate at a first clock clk1 (for example: 10KHz), and the operation unit 120 in the memory can operate at a second clock clk2 (for example: 100KHz). Among them, the first clock clk1 is different from the second clock clk2. Therefore, the first command signal 1111 and the first clock clk1 of the plurality of initial data 1121 are converted into the second command signal 1311 and the second clock clk2 of the plurality of input data 1312 through the synchronization module 131. In this way, the data is synchronized and transmitted from the processing unit 110 in the sensor to the operation unit 120 in the memory.
[0062] It is worth noting that the bus unit 130 may further include a memory 135. The memory 135 is electrically connected to the picture difference module 132. The memory 135 stores an input data 1312, and the picture difference module 132 reads the input data 1312 of the memory 135 and compares it with another input data 1312 to obtain each difference data 1321. In detail, the picture difference module 132 sequentially receives each input data 1312, wherein one input data 1312 is stored in the memory 135, and compares the difference between the next input data 1312 (i.e., another input data 1312) and the input data 1312 of the memory 135 to obtain each difference data 1321 (i.e., Figure 3 Thereby, the amount of redundant data transmitted is reduced, which is conducive to improving transmission efficiency.
[0063] Please refer to Figure 2 and Figure 4 ,in Figure 4 Show according to Figure 2 Schematic diagram of the integrated system 100 of the processing unit in the sensor and the operation unit in the memory according to the embodiment of the present invention, wherein the difference data 1321 is divided into bit slices 1331. The bit division module 133 receives a plurality of difference data 1321 and divides each difference data 1321 into a plurality of bit slices 1331. The encoding module 134 receives a plurality of difference addresses 1322 and encodes them into a control signal 1341, and the operation unit in the memory 120 accesses each bit slice 1331 according to the control signal 1341. In addition, the operation unit in the memory 120 includes a processing unit 121 and a static random access memory 122. The processing unit 121 is electrically connected to the synchronization module 131 and the encoding module 134 and receives the second instruction signal 1311 and the control signal 1341. The static random access memory 122 is electrically connected to the processing unit 121, and the static random access memory 122 accesses each bit slice 1331 according to the control signal 1341. Specifically, each bit of each data in the memory computing unit 120 is stored separately at different addresses, so the data needs to be cut into a single bit serial input and written into a corresponding SRAM address 1221. When the control signal 1341 rises to 1, it means that the bit slice 1331 starts to be written into the SRAM 122 according to the SRAM address 1221.
[0064] Furthermore, the bus unit 130 may further include a transmission module 136. The transmission module 136 is electrically connected to the bit segmentation module 133 and the static random access memory 122, and the transmission module 136 receives a plurality of bit slices 1331 and converts the plurality of bit slices 1331 into an output data 1361, thereby transmitting the output data 1361 to the static random access memory 122. Specifically, each bit slice 1331 has a first bandwidth (e.g., 1'b1), and the output data 1361 has a second bandwidth (e.g., 16 bits / cycle), and the first bandwidth is different from the second bandwidth. In this way, the output data 1361 can meet the input bandwidth of the in-memory computing unit 120.
[0065] Figure 5 FIG. 1 is a block diagram showing a method S100 for integrating a processing unit in a sensor and a computing unit in a memory according to an embodiment of a method of the present invention. Figure 5 In the embodiment, the integration method S100 of the processing unit in the sensor and the computing unit in the memory includes a providing step S110, a converting step S120, an acquiring step S130, a segmenting step S140 and a controlling step S150.
[0066] Please refer to Figure 2In detail, the processing unit 110 in the sensor operates at the first clock clk1, and the operation unit 120 in the memory operates at the second clock clk2. The providing step S110 drives the processing unit 110 in the sensor to provide a first instruction signal 1111 and a plurality of initial data 1121 and transmits them to the bus unit 130, wherein the first instruction signal 1111 and each initial data 1121 operate at the first clock clk1, and the bus unit 130 includes a synchronization module 131 and a picture difference module 132. The conversion step S120 drives the synchronization module 131 to receive the first instruction signal 1111 and the initial data 1121, and the first instruction signal 1111 and the initial data 1121 are converted into a second instruction signal 1311 and a plurality of input data 1312 through the synchronization module 131, so that the second instruction signal 1311 and each input data 1312 operate at the second clock clk2, and the first clock clk1 is different from the second clock clk2, thereby allowing the second instruction signal 1311 to be transmitted to the operation unit 120 in the memory. The acquisition step S130 drives the image difference module 132 to receive the input data 1312, and obtains a plurality of difference data 1321 according to the input data 1312, and each difference data 1321 has a difference address 1322. The segmentation step S140 drives the bit segmentation module 133 to receive the difference data 1321, and segments each difference data 1321 into a plurality of bit slices 1331. The control step S150 drives the encoding module 134 to receive the difference address 1322, and encodes the difference address 1322 into a control signal 1341, and the in-memory operation unit 120 accesses each bit slice 1331 according to the control signal 1341.
[0067] Thus, the integration method S100 of the processing unit in the sensor and the computing unit in the memory of the present invention can transmit the data output by the processing unit 110 in the sensor to the computing unit 120 in the memory for computing through providing step S110, converting step S120, acquiring step S130, segmenting step S140 and controlling step S150.
[0068] For example, in Figure 5In the providing step S110 of the integration method S100 of the processing unit in the sensor and the computing unit in the memory, when the first instruction signal 1111 is 1, each input data 1312 is transmitted to the bus unit 130 in sequence. When the first instruction signal 1111 is 0, each input data 1312 is not transmitted to the bus unit 130. In addition, the first clock clk1 can be 10KHz, and the second clock clk2 can be 100KHz. Continuing, in the conversion step S120, the first instruction signal 1111 and the first clock clk1 of the plurality of initial data 1121 are converted into the second instruction signal 1311 and the second clock clk2 of the plurality of input data 1312 via the synchronization module 131. In this way, the data is synchronized and transmitted from the processing unit 110 in the sensor to the computing unit 120 in the memory.
[0069] Please refer to Figure 5 and Figure 6 ,in Figure 6 Show according to Figure 5 The bus unit 130 may further include a memory 135, wherein the acquisition step S130 includes a data storage sub-step S131 and a data acquisition sub-step S132. The data storage sub-step S131 drives the memory 135 to store one of the input data 1312. The data acquisition sub-step S132 drives the image difference module 132 to read one input data 1312, and compares it with another input data 1312 to obtain each difference data 1321. In this way, the amount of redundant data transmitted is reduced, which is conducive to improving the transmission efficiency.
[0070] In particular, during one cycle, the difference data 1321 may be 4 bits or 8 bits, but the memory operation unit 120 can only store 1 bit when writing or storing data. Therefore, in the segmentation step S140 , the bit segmentation module 133 receives the plurality of difference data 1321 and segments each difference data 1321 into a plurality of bit slices 1331 .
[0071] Please refer to Figure 2 and Figure 4, the in-memory operation unit 120 may include a static random access memory 122. In the control step S150, the encoding module 134 receives a plurality of differential addresses 1322 and encodes them into a control signal 1341, and the in-memory operation unit 120 accesses each bit slice 1331 according to the control signal 1341. Specifically, each bit of each data inside the in-memory operation unit 120 is separately stored in a different address, so it is necessary to cut the data into a single bit serial (bitserial) input and write it into the corresponding static random access memory address 1221. When the control signal 1341 is 1, each bit slice 1331 is sequentially written into the static random access memory 122. When the control signal 1341 is 0, each bit slice 1331 is not written into the static random access memory 122.
[0072] Furthermore, the integration method S100 of the processing unit in the sensor and the computing unit in the memory may further include an output step S160. The output step S160 drives the transmission module 136 to receive the plurality of bit slices 1331, and converts the plurality of bit slices 1331 into output data 1361, thereby transmitting the output data 1361 to the computing unit 120 in the memory. Wherein, each bit slice 1331 has a first bandwidth (e.g., 1'b1), and the output data 1361 has a second bandwidth (e.g., 16 bits / cycle). Thus, the output data 1361 can meet the input bandwidth of the computing unit 120 in the memory.
[0073] In summary, the present invention has the following advantages: First, the data output by the processing unit in the sensor can be transmitted to the computing unit in the memory for computing. Second, it is helpful to reduce the energy consumption and time of computing. Third, it reduces the amount of redundant data transmitted, which is helpful to improve the transmission efficiency.
[0074] Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the claims.
Claims
1. A method for integrating a processing unit in a sensor and a computing unit in a memory, wherein the processing unit in the sensor operates at a first clock, and the computing unit in the memory operates at a second clock. It is characterized in that The integration method of the processing unit in the sensor and the computing unit in the memory includes: a providing step, driving the processing unit in the sensor to provide a first command signal and a plurality of initial data and transmit the first command signal and the initial data to a bus unit, wherein the first command signal and the initial data are operated at the first clock, and the bus unit includes a memory, a synchronization module and a picture difference module; a conversion step, driving the synchronization module to receive the first command signal and the initial data, the first command signal and the initial data are converted into a second command signal and a plurality of input data through the synchronization module, so that the second command signal and each of the input data operate on the second clock, the first clock is different from the second clock, so that the second command signal is transmitted to the computing unit in the memory; An acquisition step, driving the picture difference module to receive the input data, and acquiring a plurality of difference data according to the input data, and each of the difference data has a difference address, wherein the acquisition step includes: A data storage sub-step, driving the memory to store the input data; and a data acquisition sub-step, driving the frame difference module to read one of the input data and compare it with another of the input data to acquire each of the difference data; a segmentation step, driving a bit segmentation module to receive the difference data and segment each of the difference data into a plurality of bit slices; and A control step drives an encoding module to receive the difference address and encode the difference address into a control signal, and the operation unit in the memory accesses each bit slice according to the control signal.
2. The method for integrating the processing unit in the sensor and the computing unit in the memory as claimed in claim 1, It is characterized in that In the providing step, When the first command signal is 1, each of the input data is transmitted to the bus unit in sequence; and When the first command signal is 0, each of the input data is not transmitted to the bus unit.
3. The method for integrating the processing unit in the sensor and the computing unit in the memory as claimed in claim 1, Features Also includes: an output step, driving a transmission module to receive the bit slices and convert the bit slices into output data, thereby transmitting the output data to the computing unit in the memory; Each of the bit slices has a first bandwidth, the output data has a second bandwidth, and the first bandwidth is different from the second bandwidth.
4. The method for integrating the processing unit in the sensor and the computing unit in the memory as claimed in claim 3, It is characterized in that The in-memory computing unit includes a static random access memory, and in the control step, When the control signal is 1, each of the bit slices is sequentially written into the static random access memory; and When the control signal is 0, each bit slice is not written into the static random access memory.
5. An integrated system of a processing unit in a sensor and a computing unit in a memory, Features Include: A sensor internal processing unit, comprising a microprocessor and a sensor, wherein the microprocessor is electrically connected to the sensor and is used to generate a first command signal and a plurality of initial data; A bus unit is electrically connected to the processing unit in the sensor and comprises: a synchronization module, electrically connected to the microprocessor and receiving the first command signal and the initial data to generate a second command signal and a plurality of input data; a picture difference module, electrically connected to the synchronization module, and receiving the input data to generate a plurality of difference data, each of which has a difference address; a memory electrically connected to the image difference module and storing the input data, and the image difference module reads the input data of the memory and compares it with another input data to obtain each difference data; a bit segmentation module electrically connected to the frame difference module, and the bit segmentation module receives the difference data to generate a plurality of bit slices; and an encoding module electrically connected to the picture difference module, and the encoding module receives the difference address to generate a control signal; and an in-memory computing unit electrically connected to the bus unit, the in-memory computing unit accessing each of the bit slices according to the control signal; The processing unit in the sensor operates at a first clock, and the computing unit in the memory operates at a second clock. The first clock is converted into the second clock via the synchronization module, and the first clock is different from the second clock.
6. The integrated system of the processing unit in the sensor and the computing unit in the memory as claimed in claim 5, It is characterized in that The in-memory computing unit includes: a processing unit, electrically connected to the synchronization module and the encoding module and receiving the second command signal and the control signal; and A static random access memory is electrically connected to the processing unit, and the static random access memory accesses each bit slice according to the control signal.
7. The integrated system of the processing unit in the sensor and the computing unit in the memory as claimed in claim 6, It is characterized in that The bus unit also contains: a transmission module electrically connected to the bit segmentation module and the static random access memory, and the transmission module receives the bit slices and converts the bit slices into output data, thereby transmitting the output data to the static random access memory; Each of the bit slices has a first bandwidth, the output data has a second bandwidth, and the first bandwidth is different from the second bandwidth.
