[go: up one dir, main page]

CN111343398A - CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology - Google Patents

CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology Download PDF

Info

Publication number
CN111343398A
CN111343398A CN202010272251.0A CN202010272251A CN111343398A CN 111343398 A CN111343398 A CN 111343398A CN 202010272251 A CN202010272251 A CN 202010272251A CN 111343398 A CN111343398 A CN 111343398A
Authority
CN
China
Prior art keywords
circuit
light intensity
data
signal
sensing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010272251.0A
Other languages
Chinese (zh)
Other versions
CN111343398B (en
Inventor
胡绍刚
周桐
邓杨杰
于奇
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202010272251.0A priority Critical patent/CN111343398B/en
Publication of CN111343398A publication Critical patent/CN111343398A/en
Application granted granted Critical
Publication of CN111343398B publication Critical patent/CN111343398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/76Addressed sensors, e.g. MOS or CMOS sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/71Charge-coupled device [CCD] sensors; Charge-transfer registers specially adapted for CCD sensors
    • H04N25/75Circuitry for providing, modifying or processing image signals from the pixel array

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

The invention discloses a CMOS (complementary metal oxide semiconductor) sensing and calculating integrated circuit structure based on a dynamic visual sensing technology. The invention mainly comprises a sensing circuit module based on an AER mode and a storage and calculation integrated circuit module, wherein the sensing circuit module based on the AER mode comprises: the dynamic visual sensing active phase element circuit is used for sensing an external light intensity signal and converting the external light intensity signal into a corresponding electric signal; the correlated double sampling circuit is used for carrying out double sampling on the electric signal; the differential comparator is used for making difference on the subsampled data and comparing the subsampled data with a reference voltage; the light intensity detection circuit is used for sensing whether the dynamic light intensity changes or not; the logic decision circuit is used for combining the data of the differential comparator and the light intensity detection circuit to carry out validity decision and outputting a decision result. The purposes of saving storage area, reducing calculation power consumption and improving calculation speed are achieved.

Description

基于动态视觉传感技术的CMOS感存算一体电路结构CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology

技术领域technical field

本发明属于图像传感技术与集成电路技术领域,具体涉及一种基于动态视觉传感技术的CMOS感存算一体电路结构。The invention belongs to the field of image sensing technology and integrated circuit technology, and in particular relates to a CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology.

背景技术Background technique

以大数据技术的发展和以神经网络为核心的深度学习技术浪潮的兴起为代表,对传统的主流硬件平台的算力提出了更高的要求。由于深度学习算法计算时需要处理流式数据,在基于冯·诺依曼计算架构的硬件平台在处理相关任务时,会使得大量的数据会在计算单元和存储单元之间流动。而后者的读写速度要远慢于前者的计算速度,访问内存的操作过程占了总体能耗和延迟的绝大部分,限制了数据的处理速度,这被称为“冯·诺依曼瓶颈”或“内存瓶颈”。“内存瓶颈”使得计算系统表现出功耗高、速度慢等缺点。在以大数据量为中心的计算任务中,存算分离带来的问题就更加突出。Represented by the development of big data technology and the rise of the deep learning technology wave with neural networks as the core, higher requirements have been placed on the computing power of traditional mainstream hardware platforms. Since the deep learning algorithm needs to process streaming data, when the hardware platform based on the von Neumann computing architecture processes related tasks, a large amount of data will flow between the computing unit and the storage unit. The reading and writing speed of the latter is much slower than the computing speed of the former. The operation process of accessing memory accounts for the vast majority of the overall energy consumption and delay, which limits the processing speed of data, which is called the "von Neumann bottleneck". " or "Memory Bottleneck". The "memory bottleneck" makes the computing system exhibit the disadvantages of high power consumption and slow speed. In computing tasks centered on large amounts of data, the problems brought about by the separation of storage and computing are even more prominent.

在这种背景下,类似脑神经结构的计算存储一体化架构逐渐发展起来,作为一种类似于人脑的模型,它将数据存储单元和计算单元融合为一体,不但减少了数据的搬运,还极大地提高了计算并行度和能效。可以肯定的是,在技术逐渐成熟以及应用需求的同时驱动下,计算存储一体化的芯片及其具体的应用会加速落地。In this context, an integrated computing and storage architecture similar to the neural structure of the brain has gradually developed. As a model similar to the human brain, it integrates the data storage unit and the computing unit, which not only reduces data handling, but also It greatly improves the degree of computational parallelism and energy efficiency. What is certain is that, driven by the gradual maturity of technology and application requirements, the integrated computing and storage chips and their specific applications will accelerate their implementation.

目前对于存算一体化电路的研究仅仅聚焦于存储和计算两方面,将存算一体化电路与其它应用相结合的研究少之又少,特别是与传感电路相结合的感存算一体的电路。At present, the research on the integrated circuit of storage and calculation only focuses on the two aspects of storage and calculation, and there are very few researches on the integrated circuit of storage and calculation combined with other applications, especially the integrated circuit of sensing and storage combined with the sensing circuit. circuit.

发明内容SUMMARY OF THE INVENTION

为了解决现有技术的问题,通过对现有的CMOS有源相素电路进行研究,发现CMOS有源相素都是以大规模像素阵列的形式存在的,即像素阵列、存储单元、运算单元都是独立的电路模块。这种冯·诺依曼结构必然导致不同电路模块之间需要单独的数据总线、地址总线和控制总线,以及相应的译码电路、控制电路,这种工作方式运算速度低,产生的功耗也较大。因此本发明采用感存算一体的思想,通过将CMOS动态视觉传感有源相素电路与存算一体化电路相结合,可以在一个单元内实现对动态视觉传感数据的采集、存储和线性运算。实现节省存储面积、降低计算功耗和提升计算速度的目的。In order to solve the problems of the prior art, through the research on the existing CMOS active phase element circuit, it is found that the CMOS active phase element exists in the form of a large-scale pixel array, that is, the pixel array, the storage unit, and the operation unit are all in the form of a large-scale pixel array. is an independent circuit module. This von Neumann structure will inevitably lead to the need for separate data bus, address bus and control bus between different circuit modules, as well as corresponding decoding circuits and control circuits. This working mode has low operation speed and low power consumption. larger. Therefore, the present invention adopts the idea of integration of sensing, storage and calculation. By combining the CMOS dynamic visual sensing active phase element circuit with the integrated circuit of storage and calculation, the collection, storage and linearity of dynamic visual sensing data can be realized in one unit. operation. To achieve the purpose of saving storage area, reducing computing power consumption and improving computing speed.

本发明采用的技术方案是:The technical scheme adopted in the present invention is:

基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,包括基于AER方式的传感电路模块和存算一体电路模块;The CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology is characterized in that it includes an AER-based sensor circuit module and a memory-computing integrated circuit module;

所述基于AER方式的传感电路模块用于传感动态图像数据,具体包括动态视觉传感有源相素电路、相关二次采样电路、差分比较器电路、光强变化探测电路和逻辑判定电路;其中,The sensing circuit module based on the AER method is used for sensing dynamic image data, and specifically includes a dynamic visual sensing active phase element circuit, a correlated resampling circuit, a differential comparator circuit, a light intensity change detection circuit and a logic judgment circuit. ;in,

所述动态视觉传感有源相素电路用于感应输入光信号并转换为电信号;The dynamic visual sensing active phase element circuit is used to sense the input optical signal and convert it into an electrical signal;

所述相关二次采样电路,耦接到所述动态视觉传感有源相素电路的输出端,用于对转换输出的电压信号分别在复位周期和积分周期进行采样并保持;The correlated secondary sampling circuit is coupled to the output end of the dynamic visual sensing active phase element circuit, and is used for sampling and holding the converted output voltage signal in the reset period and the integration period respectively;

所述差分比较器电路,耦接到所述相关二次采样电路的输出端,用于对二次采样的结果进行差分运算,并将运算结果与参考电压进行比较;the differential comparator circuit, coupled to the output end of the correlated resampling circuit, is used to perform differential operation on the result of the resampling, and compare the operation result with the reference voltage;

所述光强变化探测电路,用于感应动态光强是否发生改变;The light intensity change detection circuit is used to sense whether the dynamic light intensity changes;

所述逻辑判定电路,分别耦接到差分比较器电路和光强变化探测电路,用于结合差分比较器和光强探测电路的数据进行有效性判定并输出判定结果;具体为:只有当差分比较器判定光强发生了改变,并且光强探测电路判定动态光强发生了改变,才会输出有效的数据“1”存入SRAM,否则存入“0”;The logic determination circuit is respectively coupled to the differential comparator circuit and the light intensity change detection circuit, and is used for combining the data of the differential comparator and the light intensity detection circuit to perform validity determination and output the determination result; specifically: only when the differential comparison is performed If the detector determines that the light intensity has changed, and the light intensity detection circuit determines that the dynamic light intensity has changed, it will output valid data "1" and store it in the SRAM, otherwise it will store "0";

所述存算一体电路模块用于对动态图像数据进行存储和计算,具体包括SRAM单元、权值写入电路、数字逻辑单元、模拟累加器和线性放大器;其中,The integrated circuit module of storage and calculation is used to store and calculate dynamic image data, and specifically includes an SRAM unit, a weight writing circuit, a digital logic unit, an analog accumulator and a linear amplifier; wherein,

所述SRAM单元,耦接到所述逻辑判定电路的输出端,用于存储外部权值数据以及传感数据;the SRAM unit, coupled to the output end of the logic decision circuit, for storing external weight data and sensing data;

所述权值写入电路,耦接到所述SRAM单元的输入端,用于给SRAM单元写入外部权值数据;the weight writing circuit, coupled to the input end of the SRAM unit, is used for writing external weight data to the SRAM unit;

所述数字逻辑单元,耦接到SRAM单元的输出端,其电路结构包括用于将外部权值和传感数据作乘的乘法器、用于识别乘法运算结果的计数器、用于产生脉冲信号的脉冲产生单元;The digital logic unit is coupled to the output end of the SRAM unit, and its circuit structure includes a multiplier for multiplying external weights and sensing data, a counter for identifying the multiplication result, and a counter for generating a pulse signal. Pulse generating unit;

所述模拟累加器,耦接到脉冲产生单元的输出端,用于将脉冲信号的个数以电容充电的形式并进行累加,转换成模拟电压信号;The analog accumulator, coupled to the output end of the pulse generating unit, is used for accumulating the number of pulse signals in the form of capacitor charging, and converting them into analog voltage signals;

所述线性放大器,耦接到模拟累加器的输出端,用于对模拟电压信号进一步线性放大。The linear amplifier, coupled to the output end of the analog accumulator, is used to further linearly amplify the analog voltage signal.

进一步的,所述动态视觉传感有源相素电路主要由光电二极管、复位二极管、源极跟随器、行选开关管组成;其中,Further, the dynamic visual sensing active phase element circuit is mainly composed of a photodiode, a reset diode, a source follower, and a row selection switch; wherein,

所述光电二极管用于感应外界光照强度,将光照强度转换为感应电流;The photodiode is used for sensing the external light intensity, and converting the light intensity into an induced current;

所述复位二极管在复位信号的控制下,周期性地工作于复位周期和积分周期;在复位周期,复位二极管打开,对所述光电二极管负端节点进行充电;在积分周期时,复位二极管关断,所述光电二极管负端节点的寄生电容上的电荷被感应电流线性泄放;Under the control of the reset signal, the reset diode periodically works in the reset period and the integration period; in the reset period, the reset diode is turned on to charge the negative terminal node of the photodiode; in the integration period, the reset diode is turned off , the charge on the parasitic capacitance of the negative terminal node of the photodiode is linearly discharged by the induced current;

所述源极跟随器作为缓冲器,能够避免所述光电二极管负端节点的电荷在读取信号过程中泄漏;The source follower is used as a buffer, which can prevent the charge of the negative terminal node of the photodiode from leaking in the process of reading the signal;

所述行选开关管,用于控制信号的输出。The row selection switch tube is used to control the output of the signal.

进一步的,所述相关二次采样电路由时钟信号控制的MOS开关管、采样电容、采样信号读取电路组成;Further, the correlated secondary sampling circuit is composed of a MOS switch tube controlled by a clock signal, a sampling capacitor, and a sampling signal reading circuit;

所述时钟信号控制的MOS开关管用于控制开关管分别在复位周期和积分周期的末端打开,并对这两个时刻的电压信号进行采样;The MOS switch tube controlled by the clock signal is used to control the switch tube to be turned on at the end of the reset period and the integration period respectively, and to sample the voltage signals at these two moments;

所述采样电容用于保持采样数据;the sampling capacitor is used to hold sampling data;

所述采样信号读取电路由三个P型MOS管串联而成,作为缓冲器用于对采样电压结果进行读取以及电平提升。The sampling signal reading circuit is formed by connecting three P-type MOS transistors in series, and is used as a buffer for reading the sampling voltage result and increasing the level.

进一步的,所述差分比较器电路由实现差分功能的差分运算电路组成;Further, the differential comparator circuit is composed of a differential operation circuit that realizes a differential function;

所述实现差分功能的差分运算电路,由运算放大器和相应和四个相等的电阻组成,能够对两个采样电压进行等比例求差运算,输出差分运算结果,该差分运算结果即代表光强信息。The differential operation circuit that realizes the differential function is composed of an operational amplifier and corresponding and four equal resistors, and can perform an equal-proportion difference operation on the two sampled voltages, and output a differential operation result, which represents the light intensity information. .

进一步的,所述光强变化探测电路能够判断动态光强是否发生改变,即通过判断光强的变化量在不同的周期是否相等,该变化量即代表图像是否为动态变化,实现只采样动态变化的光强数据。Further, the light intensity change detection circuit can determine whether the dynamic light intensity has changed, that is, by judging whether the change amount of the light intensity is equal in different periods, the change amount represents whether the image is a dynamic change, and only sampling the dynamic change is realized. light intensity data.

进一步的,所述SRAM单元分别存储两部分数据,其中一部分为外部权值数据,另一部分为动态图像传感数据。Further, the SRAM unit stores two parts of data respectively, one part is external weight data, and the other part is dynamic image sensing data.

进一步的,所述权值写入电路用于给SRAM单元写入外部权值数据,其包括4个写入晶体管和2个寄生电容。因为SRAM在写入数据之前要求数据线必须先进行预充电和预放电,才能保证写入数据的准确性和稳定性。Further, the weight writing circuit is used for writing external weight data to the SRAM cell, which includes 4 writing transistors and 2 parasitic capacitors. Because the SRAM requires that the data line must be precharged and predischarged before writing data to ensure the accuracy and stability of the written data.

进一步的,所述数字逻辑单元电路结构包括用于将外部权值和传感数据作乘的乘法器、用于识别乘法运算结果的计数器、用于产生脉冲信号的脉冲产生单元;Further, the circuit structure of the digital logic unit includes a multiplier for multiplying external weights and sensor data, a counter for identifying the multiplication result, and a pulse generating unit for generating a pulse signal;

所述乘法器的具体运算法则为,外部输入权值与传感数据的每一位进行相与运算;The specific algorithm of the multiplier is that the external input weight and each bit of the sensing data perform a phase AND operation;

所述计数器用于统计乘法运算结果的数据中“1”的个数;The counter is used to count the number of "1" in the data of the multiplication result;

所述脉冲产生单元根据计数器统计结果,发放相等数目的的短时间脉冲信号。The pulse generating unit emits an equal number of short-time pulse signals according to the counting result of the counter.

进一步的,所述模拟累加器由充电晶体管、放电晶体管、求和电容和缓冲器组成,其工作原理如下:每当接收到一次脉冲,就会打开充电晶体管,以小电流对求和电容进行一次充电,电容上的电压进行等比例累加,故能够将数字信号结果转换成模拟的电压信号;而当电容充满电以后,通过打开放电晶体管将电荷全部泄放掉。Further, the analog accumulator is composed of a charging transistor, a discharging transistor, a summing capacitor and a buffer, and its working principle is as follows: every time a pulse is received, the charging transistor will be turned on, and the summing capacitor will be charged once with a small current. When charging, the voltage on the capacitor is accumulated in equal proportions, so the digital signal result can be converted into an analog voltage signal; and when the capacitor is fully charged, all the charges are discharged by turning on the discharge transistor.

进一步的,所述线性放大器由运算放大器和相应的电阻组成,运算放大器的输入与所述模拟累加器的输出端耦接,能够对模拟累加器输出结果进行线性运算,进一步放大。Further, the linear amplifier is composed of an operational amplifier and a corresponding resistor. The input of the operational amplifier is coupled to the output end of the analog accumulator, and can perform linear operation on the output result of the analog accumulator for further amplification.

本发明的有益效果在于:本发明将已有的CMOS存算一体化芯片与采用地址-事件触发(Address-Event Representation,AER)技术的动态视觉传感电路相结合,从而具有高采样率、高速度、高精度、低时延的特点。The beneficial effect of the present invention is that: the present invention combines the existing CMOS memory-computing integrated chip with the dynamic visual sensing circuit adopting the Address-Event Representation (AER) technology, so that the present invention has high sampling rate, high Features of speed, high precision, and low latency.

附图说明Description of drawings

图1是一种基于动态视觉传感技术的CMOS感存算一体电路整体结构示意图;Figure 1 is a schematic diagram of the overall structure of a CMOS sensor-memory-computing integrated circuit based on dynamic visual sensing technology;

图2是图1的具体电路结构示意图;Fig. 2 is the concrete circuit structure schematic diagram of Fig. 1;

图3是动态视觉传感有源相素电路结构示意图;FIG. 3 is a schematic diagram of the structure of the active phase element circuit for dynamic vision sensing;

图4是动态视觉传感有源相素电路输出电压示意图;Figure 4 is a schematic diagram of the output voltage of the dynamic visual sensing active phase element circuit;

图5是相关二次采样电路的电路结构示意图;5 is a schematic diagram of the circuit structure of a correlated secondary sampling circuit;

图6是所述相关二次采样电路的工作原理示意图;6 is a schematic diagram of the working principle of the correlated secondary sampling circuit;

图7是所述差分比较器电路的电路结构示意图;7 is a schematic diagram of the circuit structure of the differential comparator circuit;

图8是光强变化探测电路的电路结构示意图;8 is a schematic diagram of the circuit structure of a light intensity change detection circuit;

图9是结合差分比较器电路和光强变化探测电路的逻辑判定电路的电路结构示意图;9 is a schematic diagram of the circuit structure of a logic decision circuit combining a differential comparator circuit and a light intensity change detection circuit;

图10是两个连续周期内光强变换情况相同时逻辑判定电路的关键信号的输出波形示意图;Figure 10 is a schematic diagram of the output waveform of the key signal of the logic decision circuit when the light intensity changes in two consecutive cycles are the same;

图11是两个连续周期内光强变换情况不同时逻辑判定电路的关键信号的输出波形示意图;11 is a schematic diagram of the output waveform of the key signal of the logic decision circuit when the light intensity changes in two consecutive cycles are different;

图12是权值写入电路的电路结构示意图;12 is a schematic diagram of the circuit structure of a weight writing circuit;

图13是SRAM单元的电路结构示意图;13 is a schematic diagram of the circuit structure of the SRAM cell;

图14是权值写入电路和SRAM单元的整体电路结构示意图;14 is a schematic diagram of the overall circuit structure of the weight writing circuit and the SRAM cell;

图15是数字逻辑电路的结构示意图;Figure 15 is a schematic structural diagram of a digital logic circuit;

图16是模拟累加电路的电路结构示意图;16 is a schematic diagram of the circuit structure of an analog accumulation circuit;

图17是线性放大器的电路结构示意图;17 is a schematic diagram of the circuit structure of a linear amplifier;

图18是模拟累加器以及线性放大器对于运算结果对应的脉冲信号的输出波形示意图;18 is a schematic diagram of an output waveform of an analog accumulator and a linear amplifier for a pulse signal corresponding to an operation result;

图19是另一种实现4bit权值与1bit传感数据进行乘法运算的数字电路结构示意图。FIG. 19 is another schematic structural diagram of a digital circuit for realizing multiplication of 4-bit weights and 1-bit sensing data.

具体实施方式Detailed ways

本发明在现有技术的基础上提出了一种基于动态视觉传感技术的CMOS感存算一体电路结构,利用该电路结构可以在同一电路上实现动态视觉传感、存储、计算的功能。由这种电路构成的像素阵列,不仅能够实现更大规模的动态图像数据的传感和存储,还能够实现更复杂的并行运算处理。On the basis of the prior art, the present invention proposes a CMOS sensor-storage-computing integrated circuit structure based on dynamic visual sensing technology, which can realize the functions of dynamic visual sensing, storage and calculation on the same circuit. The pixel array formed by this circuit can not only realize the sensing and storage of larger-scale dynamic image data, but also realize more complex parallel operation processing.

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图通过具体实施例对本发明进一步地详细说明,应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, not for The invention is limited.

如图1所示,一种基于动态视觉传感技术的CMOS感存算一体电路整体架构由基于AER方式的传感电路模块1和存算一体电路模块2组成;其中,基于AER方式的传感电路模块1包括动态视觉传感有源相素单元3、相关二次采样电路5、差分比较器电路7、光强变化探测电路9和逻辑判定电路12;存算一体电路模块2包括权值写入电路15、SRAM单元17、数字逻辑单元19、模拟累加器21和线性放电路23;电路工作时信号流程如下:首先来自外部的光强信号14被DVS有源相素单元3所感应到并产生感应电压信号4;相关二次采样电路5分别采样两次不同周期的感应电压信号4,输出采样结果6;差分比较器电路7对采样结果6进行差分运算,得到差分运算结果8和10;光强探测电路9根据乘法运算结果8得到光强变化信息11;由逻辑判定电路12综合处理差分运算结果10和光强变化信息11得到最后的传感数据13;SRAM单元17同时存储着经权值写入电路15写入的外部输入权值23以及传感数据13,并将存储数据18传输给数字逻辑单元19;在数字逻辑单元19中对外部输入权值23以及传感数据13处理得到乘法运算结果并向模拟累加电路21发放脉冲信号数据20;模拟累加电路21将累加后的结果22传递给线性放大电路23,并得到最终的运算结果25。As shown in Figure 1, the overall architecture of a CMOS sensor-memory-computing integrated circuit based on dynamic visual sensing technology is composed of an AER-based sensing circuit module 1 and a memory-computing integrated circuit module 2; The circuit module 1 includes a dynamic visual sensing active phase element unit 3, a correlated secondary sampling circuit 5, a differential comparator circuit 7, a light intensity change detection circuit 9 and a logic judgment circuit 12; the storage-calculation integrated circuit module 2 includes a weight write Input circuit 15, SRAM unit 17, digital logic unit 19, analog accumulator 21 and linear amplifier circuit 23; the signal flow during circuit operation is as follows: first, the light intensity signal 14 from the outside is sensed by the DVS active phase element unit 3 and The induced voltage signal 4 is generated; the correlated secondary sampling circuit 5 samples the induced voltage signal 4 of different cycles respectively twice, and outputs the sampling result 6; the differential comparator circuit 7 performs the differential operation on the sampling result 6, and obtains the differential operation results 8 and 10; The light intensity detection circuit 9 obtains the light intensity change information 11 according to the multiplication result 8; the logic decision circuit 12 comprehensively processes the differential operation result 10 and the light intensity change information 11 to obtain the final sensing data 13; The external input weight 23 and the sensor data 13 written by the value writing circuit 15, and the stored data 18 is transmitted to the digital logic unit 19; in the digital logic unit 19, the external input weight 23 and the sensor data 13 are processed to obtain The multiplication result is sent to the analog accumulation circuit 21 with pulse signal data 20 ; the analog accumulation circuit 21 transmits the accumulated result 22 to the linear amplifier circuit 23 and obtains the final operation result 25 .

如图2所示,是图1所对应的具体电路结构示意图。As shown in FIG. 2 , it is a schematic diagram of a specific circuit structure corresponding to FIG. 1 .

如图3所示,是所述动态视觉传感有源相素电路3的结构示意图。这种动态视觉传感有源像素单元称为4管结构,在像素单元中除了光电二极管31外,还包括一个复位管26、一个源极跟随器管27和一个行选管28,以及提供偏置的晶体管30。像素的工作原理如下:光电二极管31在复位信号21的控制下每个工作过程经历两个周期:充电周期和积分周期。在充电周期,复位信号21保持高电平,打开复位管26并对节点32的上寄生电容充电至VDD-Vth,其中Vth是复位管26的阈值电压;在积分周期,关断复位管26,并给予光电二极管31一定强度的光照,此时节点32上的寄生电容存储的电荷被光电二极管产生的感应电流所泄放,使得节点32上的电压线性降低。这两个工作周期循环进行,就可以对外界的光强变化信息通过光电二极管31进行实时传感,并通过源极跟随器27和行选开关28将节点32上的电压信号无损耗地读出,即为输出电压信号29。As shown in FIG. 3 , it is a schematic structural diagram of the dynamic visual sensing active phase element circuit 3 . This dynamic visual sensing active pixel unit is called a 4-tube structure. In addition to the photodiode 31, the pixel unit also includes a reset tube 26, a source follower tube 27 and a row selector tube 28, as well as a bias tube. placed transistor 30. The working principle of the pixel is as follows: under the control of the reset signal 21, the photodiode 31 experiences two cycles in each working process: a charging cycle and an integration cycle. During the charging period, the reset signal 21 is kept at a high level, the reset transistor 26 is turned on and the parasitic capacitance of the node 32 is charged to VDD-Vth, where Vth is the threshold voltage of the reset transistor 26; during the integration period, the reset transistor 26 is turned off, When the photodiode 31 is illuminated with a certain intensity, the charges stored in the parasitic capacitance on the node 32 are discharged by the induced current generated by the photodiode, so that the voltage on the node 32 decreases linearly. These two duty cycles are repeated, and the external light intensity change information can be sensed in real time through the photodiode 31, and the voltage signal on the node 32 can be read out through the source follower 27 and the row selection switch 28 without loss. , which is the output voltage signal 29 .

如图4所示,是所述动态视觉传感有源相素电路3的输出电压的示意图。每一个周期T分为充电周期和分周期;在充电周期0—t1,节点32被充电至VDD-Vth导致输出节点29被充电至Vr,其中Vr约为VDD-2Vth;在积分周期t1—t2,由于感应电流的存在,导致节点32上的电压近似为线性下降,因此输出节点39的电压也近似线性下降至vs1;同理可以分析第二个周期T的情况。As shown in FIG. 4 , it is a schematic diagram of the output voltage of the dynamic visual sensing active phase element circuit 3 . Each cycle T is divided into charge cycles and sub-cycles; during charge cycle 0-t1, node 32 is charged to VDD-Vth causing output node 29 to be charged to Vr, where Vr is approximately VDD-2Vth; during integration period t1-t2 , due to the existence of the induced current, the voltage on the node 32 decreases approximately linearly, so the voltage of the output node 39 also decreases approximately linearly to vs1; similarly, the situation of the second cycle T can be analyzed.

如图5所示,相关二次采样电路5具有相同的两个采样通路,其电路由采样管33和40、采样电容35和42、源极跟随器38和45、开关管37和44以及偏置管36和43组成。电路工作原理如下:在充电周期的末端,通过控制信号34打开采样管33,对输出电压29进行采样并将采样电压保存在采样电容35中,采样电压通过源极跟随器38读出,在开关管37源极节点得到充电周期采样电压39;积分周期的工作方式同上所述,得到积分周期采样电压46。As shown in FIG. 5, the correlated secondary sampling circuit 5 has the same two sampling paths, and its circuit consists of sampling tubes 33 and 40, sampling capacitors 35 and 42, source followers 38 and 45, switching tubes 37 and 44, and biasing tubes. Tubes 36 and 43 are formed. The working principle of the circuit is as follows: at the end of the charging cycle, the sampling tube 33 is turned on by the control signal 34, the output voltage 29 is sampled and the sampling voltage is stored in the sampling capacitor 35, the sampling voltage is read out through the source follower 38, at the switch The source node of the tube 37 obtains the sampling voltage 39 of the charging period;

如图6所示,是所述相关二次采样电路5的工作原理示意图。根据所述动态视觉传感有源相素电路3的输出电压变化情况,在充电周期的末端,节点29的电压被充电至vr时,采样管33的控制信号34产生一个脉冲信号,将节点29的电压vr采样到采样电容35中,因为充电周期每次都会使得节点29的电压上升为vr,故在之后vr保持不变,与此同时,通过跟随器38和开关管37将采样电压无损地读出到节点VR并保持不变,其中VR约为vr+Vth;在积分周期的末端,节点29的电压减小到一个周期的最小值,此时采样管40的控制信号41产生一个脉冲信号,将节点29的电压vs1采样到采样电容42中,通过跟随器45和开关管44将采样电压无损地读出到节点VS并保持不变,其中VS约为vs1+Vth直到下一次采样时。第二个周期T的情况同理分析得到。As shown in FIG. 6 , it is a schematic diagram of the working principle of the correlated resampling circuit 5 . According to the change of the output voltage of the dynamic visual sensing active phase element circuit 3, at the end of the charging cycle, when the voltage of the node 29 is charged to vr, the control signal 34 of the sampling tube 33 generates a pulse signal, and the node 29 The voltage vr is sampled into the sampling capacitor 35, because the charging cycle will make the voltage of the node 29 rise to vr each time, so vr remains unchanged after Read out to node VR and keep it unchanged, where VR is about vr+Vth; at the end of the integration period, the voltage of node 29 decreases to the minimum value of a period, and the control signal 41 of the sampling tube 40 generates a pulse signal at this time , the voltage vs1 of node 29 is sampled into the sampling capacitor 42, and the sampled voltage is read out to the node VS through the follower 45 and the switch tube 44 without loss and remains unchanged, where VS is about vs1+Vth until the next sampling. The situation of the second cycle T can be obtained by the same analysis.

如图7所示,是所述差分比较器电路7的示意图,该差分比较器主要由一个差分电路和一个比较器电路组成。差分电路由三个相等的电阻40、42和43(阻值均为R)和反馈电阻42(阻值为Rf)以及高精度的运算放大器44组成,如果选择电阻值R=Rf,则由“虚短”“虚断”的原理可以推出运算放大器的输出为:VD=VR-VS,因此通过将VD与参考电压Vrefh比较,则可以得出在一个周期T内是否感应到足够的光强。如果VD较大,则代表在积分周期内VS的电压变化较大,即感应到了足够的光强信息,因此比较器45输出高电平,否则输出低电平。As shown in FIG. 7 , which is a schematic diagram of the differential comparator circuit 7 , the differential comparator is mainly composed of a differential circuit and a comparator circuit. The differential circuit consists of three equal resistors 40, 42 and 43 (all resistance values are R), a feedback resistor 42 (resistance value Rf) and a high-precision operational amplifier 44. If the resistance value R=Rf is selected, it is composed of " The principle of "virtual short" and "virtual off" can be deduced that the output of the operational amplifier is: VD=VR-VS, so by comparing VD with the reference voltage Vrefh, it can be concluded whether enough light intensity is induced in a period T. If VD is large, it means that the voltage of VS changes greatly during the integration period, that is, enough light intensity information is sensed, so the comparator 45 outputs a high level, otherwise it outputs a low level.

如图8所示,是所述光强变化探测电路9的示意图,该电路也是由一个差分比较电路和双比较器电路组成。其中差分比较电路由由三个相等的电阻46、47、48(阻值均为R)和反馈电阻49(阻值为Rf)以及高精度的运算放大器50组成,如果选择电阻值R=Rf,同上分析可以得出:△V=VD2-VD1’,其中VD2代表该次周期T内由差分比较电路计算得到的节点54的电压VD,VD1’代表上一周期T内由差分比较电路计算得到的节点54的电压VD,其中VD1’可以通过一个缓存器53来实现,这样就能实现检测两个相邻周期T内的VD电压的变化情况。再将得到的△V与两个参考电压±Vrefl同时进行比较,只要△V的变化量高于﹢Vrefl或者低于﹣Vrefl,该电路就输出一个高电平表示检测到了光强的动态变化,否则该电路输出低电平。通过该电路就可以实现光强的动态变化的检测,即只有当此次周期T内的光强变化与上一次周期T的光强变化不一样时,才能检测到该周期T内的光强数据。As shown in FIG. 8, it is a schematic diagram of the light intensity change detection circuit 9, which is also composed of a differential comparison circuit and a double comparator circuit. The differential comparison circuit consists of three equal resistors 46, 47, 48 (all resistance values are R), a feedback resistor 49 (resistance value is Rf) and a high-precision operational amplifier 50. If the resistance value R=Rf is selected, It can be concluded from the same analysis as above: △V=VD2-VD1', where VD2 represents the voltage VD of the node 54 calculated by the differential comparison circuit in the current cycle T, and VD1' represents the previous cycle T calculated by the differential comparison circuit The voltage VD of the node 54, wherein VD1' can be realized by a buffer 53, so that the change of the VD voltage in two adjacent periods T can be detected. Then compare the obtained △V with the two reference voltages ±Vrefl at the same time. As long as the change of △V is higher than ﹢Vrefl or lower than ﹣Vrefl, the circuit will output a high level to indicate that the dynamic change of light intensity is detected. Otherwise, the circuit outputs a low level. Through this circuit, the detection of the dynamic change of light intensity can be realized, that is, the light intensity data in this period T can be detected only when the light intensity change in this period T is different from the light intensity change in the previous period T. .

如图9所示,是结合差分比较器电路7和光强变化探测电路9的所述逻辑判定电路12的电路结构示意图。该电路主要由差分比较器电路7中的比较器44和光强变换探测电路9中的比较器51、52以及逻辑或门55,逻辑与门56组成,其工作原理如下:只有当差分比较器电路7感应到了足够强度的光照强度信息,并且光强探测电路9检测该次周期T的光强变化与上一次周期T的光强变化不一致时,才会整体判定检测到了动态光强信息,并输出高电平,否则输出低电平。As shown in FIG. 9 , it is a schematic diagram of the circuit structure of the logic determination circuit 12 combined with the differential comparator circuit 7 and the light intensity change detection circuit 9 . The circuit is mainly composed of the comparator 44 in the differential comparator circuit 7, the comparators 51, 52 in the light intensity conversion detection circuit 9, the logic OR gate 55, and the logic AND gate 56. Its working principle is as follows: only when the differential comparator The circuit 7 senses the light intensity information of sufficient intensity, and the light intensity detection circuit 9 detects that the light intensity change of this cycle T is inconsistent with the light intensity change of the previous cycle T, and it will overall determine that the dynamic light intensity information is detected, and Output high, otherwise output low.

如图10所示,是两个连续周期内光强变换情况相同时逻辑判定电路12的关键信号VC、VCD和VA的输出波形示意图;从图中Vph的变化可以看出在两个连续的周期T内,都感应到了足够的光照强度,产生了相同的电压变化量。因此虽然差分比较器电路7输出高电平代表感应到了光照强度,但是由于光强变化探测电路9并没有感应到动态变化的光强信息,因此输出低电平。同时逻辑判定电路也输出低电平。As shown in Figure 10, it is a schematic diagram of the output waveforms of the key signals VC, VCD and VA of the logic decision circuit 12 when the light intensity changes in two consecutive cycles are the same; Within T, sufficient light intensity was sensed, resulting in the same voltage change. Therefore, although the differential comparator circuit 7 outputs a high level indicating that the light intensity is sensed, the light intensity change detection circuit 9 does not sense the dynamically changing light intensity information, so it outputs a low level. At the same time, the logic decision circuit also outputs a low level.

如图11所示,是两个连续周期内光强变换情况不同时逻辑判定电路12的关键信号VC、VCD和VA的输出波形示意图;从图中Vph的变化可以看出在两个连续的周期T内,都感应到了足够的光照强度,但是两个周期内产生的电压变化量并不相同。因此差分比较器电路7输出高电平代表感应到了光照强度,并且光强变化探测电路9也感应到了动态变化的光强信息,因此也输出高电平。同时逻辑判定电路也输出高电平,代表识别到了动态传感数据,并将该数据存储到给SRAM单元17中。As shown in Figure 11, it is a schematic diagram of the output waveforms of the key signals VC, VCD and VA of the logic decision circuit 12 when the light intensity changes in two consecutive cycles; Within T, sufficient light intensity was sensed, but the amount of voltage change generated in the two periods was not the same. Therefore, the differential comparator circuit 7 outputs a high level to indicate that the light intensity is sensed, and the light intensity change detection circuit 9 also senses the dynamically changing light intensity information, so it also outputs a high level. At the same time, the logic decision circuit also outputs a high level, which means that the dynamic sensing data is recognized, and the data is stored in the SRAM unit 17 .

如图12所示,是所述权值写入电路15的结构示意图,其主要由写入管59、60,偏置管57、58组成,其中61、62是寄生电容,其工作原理如下:当需要写入相应的权值数据W时,需要同时输入信号63和其反相信号64,假设需要向SRAM单元17写入数据“1”,则输入信号63为低电平,其反相信号64为高电平,则节点65(BL)被拉低到GND,同时节点66(BLB)被充电到VDD,写入数据“0”也可以同理分析,再通过与SRAM单元17的相应控制信号配合,就能够将权值数据稳定地写入SRAM单元17中。As shown in FIG. 12, it is a schematic diagram of the structure of the weight writing circuit 15, which is mainly composed of writing tubes 59, 60, and bias tubes 57, 58, of which 61 and 62 are parasitic capacitors, and its working principle is as follows: When the corresponding weight data W needs to be written, the input signal 63 and its inverted signal 64 need to be input at the same time. Assuming that data "1" needs to be written to the SRAM cell 17, the input signal 63 is low level, and its inverted signal 64 is high level, the node 65 (BL) is pulled down to GND, and the node 66 (BLB) is charged to VDD at the same time, the write data "0" can also be analyzed in the same way, and then through the corresponding control with the SRAM cell 17 The weight data can be stably written into the SRAM cell 17 by the coordination of the signals.

如图13所示,是所述SRAM单元17的单个存储单元结构示意图,PMOS管67和NMOS管71组成的CMOS反相器与PMOS管68和NMOS管72组成的CMOS反相器首尾相连,该结构即为经典的SRAM结构,可用于存储1比特数据。要存储数据“1”,则需要信号65(BL)保持高电平,而信号66(BLB)保持低电平;要存储数据“0”,则需要信号65(BL)保持低电平,而信号66(BLB)保持高电平。当需要向SRAM单元17存入数据时,需要先通过所述权值写入电路15的预处理,即当权值写入电路15对数据节点65(BL)和节点66(BLB)预充电,写入数据准备好以后,写入控制信号73才保持高电平,允许数据写入,此时完成权值数据的写入;传感数据也存储在SRAM单元17中,写入的原理同上所述。As shown in FIG. 13, it is a schematic diagram of the structure of a single storage unit of the SRAM unit 17. The CMOS inverter composed of the PMOS transistor 67 and the NMOS transistor 71 is connected end to end with the CMOS inverter composed of the PMOS transistor 68 and the NMOS transistor 72. The structure is the classic SRAM structure, which can be used to store 1-bit data. To store data "1", signal 65 (BL) is required to remain high and signal 66 (BLB) to remain low; to store data "0", signal 65 (BL) is required to remain low, and Signal 66 (BLB) remains high. When data needs to be stored in the SRAM unit 17, it needs to be preprocessed by the weight writing circuit 15 first, that is, when the weight writing circuit 15 precharges the data node 65 (BL) and the node 66 (BLB), After the write data is ready, the write control signal 73 remains at a high level, allowing data to be written, and at this time, the writing of the weight data is completed; the sensor data is also stored in the SRAM unit 17, and the principle of writing is the same as above. described.

如图14所示,是权值写入电路和SRAM单元的整体电路结构示意图。As shown in FIG. 14 , it is a schematic diagram of the overall circuit structure of the weight writing circuit and the SRAM cell.

如图15所示,是所述数字逻辑单元19的架构示意图,所述数字逻辑单元19是利用数字电路实现的,其主要包括乘法器76,计数器77,脉冲产生单元78。假设外部权值数据与传感数据均为1bit的数据,则所述乘法器76的具体运算法则为,外部输入权值与传感数据的进行相与运算;所述计数器用于统计乘法运算结果的数据出现“1”的个数;而所述脉冲产生单元根据计数器统计结果,发放相等数目的的短时间脉冲信号。As shown in FIG. 15 , it is a schematic diagram of the structure of the digital logic unit 19 . The digital logic unit 19 is implemented by a digital circuit and mainly includes a multiplier 76 , a counter 77 , and a pulse generating unit 78 . Assuming that the external weight data and the sensing data are both 1-bit data, the specific algorithm of the multiplier 76 is that the external input weight and the sensing data are summed; the counter is used to count the multiplication result. The number of "1" appears in the data; and the pulse generating unit emits an equal number of short-time pulse signals according to the statistical result of the counter.

如图16所示,是所述模拟累加器21的电路结构示意图,其主要由充电管80,放电管81,求和电容84以及缓冲器86组成,工作原理如下:保持信号83为低电平,只要当上述脉冲产生单元78发放一次脉冲时,充电管80就会向求和电容84进行等时间、短时间、小电流的充电过程,该充电电流就会在求和电容84上形成求和电压,并由缓冲器86向后续电路读出,而求和电压也可以通过放电管81进行清零。As shown in FIG. 16, it is a schematic diagram of the circuit structure of the analog accumulator 21, which is mainly composed of a charging tube 80, a discharging tube 81, a summing capacitor 84 and a buffer 86. The working principle is as follows: the hold signal 83 is at a low level , as long as the above-mentioned pulse generating unit 78 emits a pulse, the charging tube 80 will charge the summing capacitor 84 for an equal time, a short time, and a small current, and the charging current will form a summation on the summing capacitor 84 The voltage is read out to the subsequent circuit by the buffer 86, and the summed voltage can also be cleared by the discharge tube 81.

如图17所示,是所述线性放大器23的示意图,由高精度的运算放大器90和输入电阻87、匹配电阻88、反馈电阻89组成,根据运算放大器“虚短”“虚短”的原理可以推出:VOUT=﹣R2/R1×Va,即能够对模拟累加器输出结果进行线性运算,进一步放大,得到系统最后的输出VOUT。As shown in FIG. 17, it is a schematic diagram of the linear amplifier 23, which is composed of a high-precision operational amplifier 90, an input resistor 87, a matching resistor 88, and a feedback resistor 89. According to the principle of “virtual short” and “virtual short” of the operational amplifier, the Deduce: VOUT=-R2/R1*Va, namely can carry on the linear operation to the output result of the analog accumulator, further enlarge, obtain the final output VOUT of the system.

如图18所示,是模拟累加器21和线性放大器23工作时的输出电压的示意图。从图中可以看出,当数字逻辑单元19得到乘法运算的结果后,通过脉冲产生单元78向模拟累加器21发放对应的脉冲信号,向模拟累加器21充电。每产生一个脉冲信号,模拟累加器21上的电压VQ就增加△v,并且通过电压跟随器86可以由线性放大器23读出,并且能够放大-R2/R1倍。As shown in FIG. 18 , it is a schematic diagram of the output voltage when the analog accumulator 21 and the linear amplifier 23 work. As can be seen from the figure, after the digital logic unit 19 obtains the result of the multiplication operation, the pulse generating unit 78 sends a corresponding pulse signal to the analog accumulator 21 to charge the analog accumulator 21 . Each time a pulse signal is generated, the voltage VQ on the analog accumulator 21 increases by Δv, and can be read out by the linear amplifier 23 through the voltage follower 86 and can be amplified by -R2/R1 times.

如图19所示,是另一种实现4bit权值与1bit传感数据进行乘法运算的数字电路结构示意图。其中,权值写入电路15、逻辑判定电路12、SRAM单元的结构和工作原理不变,而由外部输入权值23先向SRAM单元17中存入4bit的权值数据。将4bit的权值数据与1bit的传感数据进行运算,乘法运算的具体规则改变为:4bit的权值数据与1bit的传感数据相与运算;即每当逻辑判定电路12向SRAM单元17存入一个“1”,就将4bit的权值数据向8bit加法器100累加一次;如果逻辑判定电路12向SRAM单元17存入的数据是“0”,则保存之前8bit加法器100中的的数据,直到8bit加法器100溢出,此时清零该8bit加法器100。8bit加法器100的初值设定为8’b00000000。该数字逻辑单元98也可以通过数字电路来实现。As shown in FIG. 19 , it is another schematic diagram of the digital circuit structure that realizes the multiplication operation of 4-bit weight and 1-bit sensing data. The structure and working principle of the weight writing circuit 15 , the logic decision circuit 12 , and the SRAM cell remain unchanged, while the external input weight 23 first stores 4-bit weight data into the SRAM cell 17 . The 4-bit weight data and 1-bit sensor data are operated, and the specific rule of the multiplication operation is changed to: the 4-bit weight data and the 1-bit sensor data are ANDed; If a "1" is entered, the 4-bit weight data is accumulated to the 8-bit adder 100 once; if the data stored in the SRAM unit 17 by the logic decision circuit 12 is "0", the previous data in the 8-bit adder 100 is saved. , until the 8-bit adder 100 overflows, and the 8-bit adder 100 is cleared at this time. The initial value of the 8-bit adder 100 is set to 8'b00000000. The digital logic unit 98 can also be implemented by digital circuits.

Claims (10)

1.基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,包括基于AER方式的传感电路模块和存算一体电路模块;1. A CMOS sensor-memory-computing integrated circuit structure based on dynamic visual sensing technology, characterized in that it includes an AER-based sensor circuit module and a memory-computing integrated circuit module; 所述基于AER方式的传感电路模块用于传感动态图像数据,具体包括动态视觉传感有源相素电路、相关二次采样电路、差分比较器电路、光强变化探测电路和逻辑判定电路;其中,The sensing circuit module based on the AER method is used for sensing dynamic image data, and specifically includes a dynamic visual sensing active phase element circuit, a correlated resampling circuit, a differential comparator circuit, a light intensity change detection circuit and a logic judgment circuit. ;in, 所述动态视觉传感有源相素电路用于感应输入光信号并转换为电信号;The dynamic visual sensing active phase element circuit is used to sense the input optical signal and convert it into an electrical signal; 所述相关二次采样电路,耦接到所述动态视觉传感有源相素电路的输出端,用于对转换输出的电压信号分别在复位周期和积分周期进行采样并保持;The correlated secondary sampling circuit is coupled to the output end of the dynamic visual sensing active phase element circuit, and is used for sampling and holding the converted output voltage signal in the reset period and the integration period respectively; 所述差分比较器电路,耦接到所述相关二次采样电路的输出端,用于对二次采样的结果进行差分运算,并将运算结果与参考电压进行比较;the differential comparator circuit, coupled to the output end of the correlated resampling circuit, is used to perform differential operation on the result of the resampling, and compare the operation result with the reference voltage; 所述光强变化探测电路,用于感应动态光强是否发生改变;The light intensity change detection circuit is used to sense whether the dynamic light intensity changes; 所述逻辑判定电路,分别耦接到差分比较器电路和光强变化探测电路,用于结合差分比较器和光强探测电路的数据进行有效性判定并输出判定结果;具体为:只有当差分比较器判定光强发生了改变,并且光强探测电路判定动态光强发生了改变,才会输出有效的数据“1”存入SRAM,否则存入“0”;The logic determination circuit is respectively coupled to the differential comparator circuit and the light intensity change detection circuit, and is used for combining the data of the differential comparator and the light intensity detection circuit to perform validity determination and output the determination result; specifically: only when the differential comparison is performed If the detector determines that the light intensity has changed, and the light intensity detection circuit determines that the dynamic light intensity has changed, it will output valid data "1" and store it in the SRAM, otherwise it will store "0"; 所述存算一体电路模块用于对动态图像数据进行存储和计算,具体包括SRAM单元、权值写入电路、数字逻辑单元、模拟累加器和线性放大器;其中,The integrated circuit module of storage and calculation is used to store and calculate dynamic image data, and specifically includes an SRAM unit, a weight writing circuit, a digital logic unit, an analog accumulator and a linear amplifier; wherein, 所述SRAM单元,耦接到所述逻辑判定电路的输出端,用于存储外部权值数据以及传感数据;the SRAM unit, coupled to the output end of the logic decision circuit, for storing external weight data and sensing data; 所述权值写入电路,耦接到所述SRAM单元的输入端,用于给SRAM单元写入外部权值数据;the weight writing circuit, coupled to the input end of the SRAM unit, is used for writing external weight data to the SRAM unit; 所述数字逻辑单元,耦接到SRAM单元的输出端,其电路结构包括用于将外部权值和传感数据作乘的乘法器、用于识别乘法运算结果的计数器、用于产生脉冲信号的脉冲产生单元;The digital logic unit is coupled to the output end of the SRAM unit, and its circuit structure includes a multiplier for multiplying external weights and sensing data, a counter for identifying the multiplication result, and a counter for generating a pulse signal. Pulse generating unit; 所述模拟累加器,耦接到脉冲产生单元的输出端,用于将脉冲信号的个数以电容充电的形式并进行累加,转换成模拟电压信号;The analog accumulator, coupled to the output end of the pulse generating unit, is used for accumulating the number of pulse signals in the form of capacitor charging, and converting them into analog voltage signals; 所述线性放大器,耦接到模拟累加器的输出端,用于对模拟电压信号进一步线性放大。The linear amplifier, coupled to the output end of the analog accumulator, is used to further linearly amplify the analog voltage signal. 2.根据权利要求1所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述动态视觉传感有源相素电路主要由光电二极管、复位二极管、源极跟随器、行选开关管组成;其中,2 . The integrated circuit structure of CMOS sensor storage and calculation based on dynamic visual sensing technology according to claim 1 , wherein the dynamic visual sensing active phase element circuit is mainly composed of a photodiode, a reset diode, and a source follower. 3 . It is composed of a controller and a row selection switch; among them, 所述光电二极管用于感应外界光照强度,将光照强度转换为感应电流;The photodiode is used for sensing the external light intensity, and converting the light intensity into an induced current; 所述复位二极管在复位信号的控制下,周期性地工作于复位周期和积分周期;在复位周期,复位二极管打开,对所述光电二极管负端节点进行充电;在积分周期时,复位二极管关断,所述光电二极管负端节点的寄生电容上的电荷被感应电流线性泄放;Under the control of the reset signal, the reset diode periodically works in the reset period and the integration period; in the reset period, the reset diode is turned on to charge the negative terminal node of the photodiode; in the integration period, the reset diode is turned off , the charge on the parasitic capacitance of the negative terminal node of the photodiode is linearly discharged by the induced current; 所述源极跟随器作为缓冲器,能够避免所述光电二极管负端节点的电荷在读取信号过程中泄漏;The source follower is used as a buffer, which can prevent the charge of the negative terminal node of the photodiode from leaking in the process of reading the signal; 所述行选开关管,用于控制信号的输出。The row selection switch tube is used to control the output of the signal. 3.根据权利要求书2所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述相关二次采样电路由时钟信号控制的MOS开关管、采样电容、采样信号读取电路组成;3. The CMOS sensor-storage-calculation integrated circuit structure based on dynamic visual sensing technology according to claim 2, wherein the correlated secondary sampling circuit is controlled by a clock signal MOS switch tube, sampling capacitor, sampling signal Read circuit composition; 所述时钟信号控制的MOS开关管用于控制开关管分别在复位周期和积分周期的末端打开,并对这两个时刻的电压信号进行采样;The MOS switch tube controlled by the clock signal is used to control the switch tube to be turned on at the end of the reset period and the integration period respectively, and to sample the voltage signals at these two moments; 所述采样电容用于保持采样数据;the sampling capacitor is used to hold sampling data; 所述采样信号读取电路由三个P型MOS管串联而成,作为缓冲器用于对采样电压结果进行读取以及电平提升。The sampling signal reading circuit is formed by connecting three P-type MOS transistors in series, and is used as a buffer for reading the sampling voltage result and increasing the level. 4.根据权利要求书3所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述差分比较器电路由实现差分功能的差分运算电路组成;4. The CMOS sensor-storage-computing integrated circuit structure based on dynamic visual sensing technology according to claim 3, wherein the differential comparator circuit is composed of a differential arithmetic circuit that realizes a differential function; 所述实现差分功能的差分运算电路,由运算放大器和相应和四个相等的电阻组成,能够对两个采样电压进行等比例求差运算,输出差分运算结果,该差分运算结果即代表光强信息。The differential operation circuit that realizes the differential function is composed of an operational amplifier and corresponding and four equal resistors, and can perform an equal-proportion difference operation on the two sampled voltages, and output a differential operation result, which represents the light intensity information. . 5.根据权利要求书4所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述光强变化探测电路能够判断动态光强是否发生改变,即通过判断光强的变化量在不同的周期是否相等,该变化量即代表图像是否为动态变化,实现只采样动态变化的光强数据。5. The CMOS sensor-storage-calculation integrated circuit structure based on dynamic visual sensing technology according to claim 4, wherein the light intensity change detection circuit can determine whether the dynamic light intensity has changed, that is, by judging the light intensity Whether the amount of change of the image is equal in different periods, the amount of change represents whether the image is a dynamic change, and only the light intensity data of the dynamic change can be sampled. 6.根据权利要求书5所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述SRAM单元分别存储两部分数据,其中一部分为外部权值数据,另一部分为动态图像传感数据。6. The CMOS sensor-storage-calculation integrated circuit structure based on dynamic visual sensing technology according to claim 5, wherein the SRAM unit stores two parts of data respectively, one part of which is external weight data, and the other part is Dynamic image sensor data. 7.根据权利要求书6所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述权值写入电路用于给SRAM单元写入外部权值数据,其包括4个写入晶体管和2个寄生电容。7 . The integrated circuit structure of CMOS sensing and storage based on dynamic visual sensing technology according to claim 6 , wherein the weight writing circuit is used to write external weight data to the SRAM cell, which comprises: 8 . 4 write transistors and 2 parasitic capacitors. 8.根据权利要求书7所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述数字逻辑单元电路结构包括用于将外部权值和传感数据作乘的乘法器、用于识别乘法运算结果的计数器、用于产生脉冲信号的脉冲产生单元;8. The CMOS sensor-memory-calculation integrated circuit structure based on dynamic visual sensing technology according to claim 7, wherein the digital logic unit circuit structure comprises a circuit for multiplying external weights and sensing data. a multiplier, a counter for identifying the multiplication result, a pulse generating unit for generating a pulse signal; 所述乘法器的具体运算法则为,外部输入权值与传感数据的每一位进行相与运算;The specific algorithm of the multiplier is that the external input weight and each bit of the sensing data perform a phase AND operation; 所述计数器用于统计乘法运算结果的数据中“1”的个数;The counter is used to count the number of "1"s in the data of the multiplication result; 所述脉冲产生单元根据计数器统计结果,发放相等数目的的短时间脉冲信号。The pulse generating unit emits an equal number of short-time pulse signals according to the counting result of the counter. 9.根据权利要求书8所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述模拟累加器由充电晶体管、放电晶体管、求和电容和缓冲器组成,其工作原理如下:每当接收到一次脉冲,就会打开充电晶体管,以小电流对求和电容进行一次充电,电容上的电压进行等比例累加,故能够将数字信号结果转换成模拟的电压信号;而当电容充满电以后,通过打开放电晶体管将电荷全部泄放掉。9 . The integrated circuit structure of CMOS sensing and storage based on dynamic visual sensing technology according to claim 8 , wherein the analog accumulator is composed of a charging transistor, a discharging transistor, a summing capacitor and a buffer. The working principle is as follows: every time a pulse is received, the charging transistor will be turned on, the summing capacitor will be charged once with a small current, and the voltage on the capacitor will be accumulated in equal proportions, so the digital signal result can be converted into an analog voltage signal; When the capacitor is fully charged, all the charges are discharged by turning on the discharge transistor. 10.根据权利要求书9所述的基于动态视觉传感技术的CMOS感存算一体电路结构,其特征在于,所述线性放大器由运算放大器和相应的电阻组成,运算放大器的输入与所述模拟累加器的输出端耦接,能够对模拟累加器输出结果进行线性运算,进一步放大。10. The CMOS sensor-memory-calculation integrated circuit structure based on dynamic visual sensing technology according to claim 9, wherein the linear amplifier is composed of an operational amplifier and a corresponding resistor, and the input of the operational amplifier is the same as the analog signal. The output end of the accumulator is coupled to perform linear operation on the output result of the analog accumulator for further amplification.
CN202010272251.0A 2020-04-09 2020-04-09 CMOS (complementary Metal oxide semiconductor) sensing and calculating integrated circuit structure based on dynamic visual sensing technology Active CN111343398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010272251.0A CN111343398B (en) 2020-04-09 2020-04-09 CMOS (complementary Metal oxide semiconductor) sensing and calculating integrated circuit structure based on dynamic visual sensing technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010272251.0A CN111343398B (en) 2020-04-09 2020-04-09 CMOS (complementary Metal oxide semiconductor) sensing and calculating integrated circuit structure based on dynamic visual sensing technology

Publications (2)

Publication Number Publication Date
CN111343398A true CN111343398A (en) 2020-06-26
CN111343398B CN111343398B (en) 2021-10-26

Family

ID=71187529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010272251.0A Active CN111343398B (en) 2020-04-09 2020-04-09 CMOS (complementary Metal oxide semiconductor) sensing and calculating integrated circuit structure based on dynamic visual sensing technology

Country Status (1)

Country Link
CN (1) CN111343398B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601037A (en) * 2020-12-14 2021-04-02 电子科技大学 Floating gate device-based image sensing and storage integrated pixel unit and pixel array
CN112949848A (en) * 2021-03-19 2021-06-11 清华大学 Light sensing and calculation integrated display unit, display array, operation method and equipment thereof
CN113052024A (en) * 2021-03-12 2021-06-29 电子科技大学 Sense and memory integrated circuit structure based on memristor and sensor
CN113596361A (en) * 2021-08-02 2021-11-02 电子科技大学 Sense-memory-computation integrated circuit structure for realizing positive and negative weight calculation in pixel
CN115756388A (en) * 2023-01-06 2023-03-07 上海后摩智能科技有限公司 Multi-mode storage and calculation integrated circuit, chip and calculation device
CN115826840A (en) * 2021-09-16 2023-03-21 湖南大学 Device and method for accelerating calculation of storage and calculation integrated structure
CN115906735A (en) * 2023-01-06 2023-04-04 上海后摩智能科技有限公司 Multi-bit-number storage and calculation integrated circuit based on analog signals, chip and calculation device
CN115988350A (en) * 2022-10-20 2023-04-18 电子科技大学 A CMOS Image Sensing, Memory and Computing Integrated Circuit Integrated with Sampling and Computing
CN117479027A (en) * 2023-11-07 2024-01-30 上海宇勘科技有限公司 SRAM-based method for simulating dynamic vision sensor array

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309360A (en) * 2007-05-17 2008-11-19 索尼株式会社 Video input processor, imaging signal processing circuit and method for reducing noise
CN102710906A (en) * 2012-04-16 2012-10-03 天津大学 CMOS (complementary metal-oxide-semiconductor transistor) image sensor for realizing two-dimensional discrete cosine transformation
WO2018237110A1 (en) * 2017-06-22 2018-12-27 Newvoicemedia Us Inc. Using conversational similarity for dimension reduction in deep analytics
US20190050875A1 (en) * 2017-06-22 2019-02-14 NewVoiceMedia Ltd. Customer interaction and experience system using emotional-semantic computing
CN110870297A (en) * 2017-07-19 2020-03-06 高通股份有限公司 On-die motion detection of CMOS image sensors using inter-pixel grid relationships
CN110891152A (en) * 2018-09-07 2020-03-17 三星电子株式会社 Image sensor including CMOS image sensor pixels and dynamic vision sensor pixels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309360A (en) * 2007-05-17 2008-11-19 索尼株式会社 Video input processor, imaging signal processing circuit and method for reducing noise
CN102710906A (en) * 2012-04-16 2012-10-03 天津大学 CMOS (complementary metal-oxide-semiconductor transistor) image sensor for realizing two-dimensional discrete cosine transformation
WO2018237110A1 (en) * 2017-06-22 2018-12-27 Newvoicemedia Us Inc. Using conversational similarity for dimension reduction in deep analytics
US20190050875A1 (en) * 2017-06-22 2019-02-14 NewVoiceMedia Ltd. Customer interaction and experience system using emotional-semantic computing
CN110870297A (en) * 2017-07-19 2020-03-06 高通股份有限公司 On-die motion detection of CMOS image sensors using inter-pixel grid relationships
CN110891152A (en) * 2018-09-07 2020-03-17 三星电子株式会社 Image sensor including CMOS image sensor pixels and dynamic vision sensor pixels

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601037B (en) * 2020-12-14 2021-10-26 电子科技大学 Floating gate device-based image sensing and storage integrated pixel unit and pixel array
CN112601037A (en) * 2020-12-14 2021-04-02 电子科技大学 Floating gate device-based image sensing and storage integrated pixel unit and pixel array
CN113052024A (en) * 2021-03-12 2021-06-29 电子科技大学 Sense and memory integrated circuit structure based on memristor and sensor
CN112949848A (en) * 2021-03-19 2021-06-11 清华大学 Light sensing and calculation integrated display unit, display array, operation method and equipment thereof
CN113596361A (en) * 2021-08-02 2021-11-02 电子科技大学 Sense-memory-computation integrated circuit structure for realizing positive and negative weight calculation in pixel
CN113596361B (en) * 2021-08-02 2022-07-12 电子科技大学 A sensor-memory-calculation integrated circuit structure based on the realization of positive and negative weights in pixels
CN115826840A (en) * 2021-09-16 2023-03-21 湖南大学 Device and method for accelerating calculation of storage and calculation integrated structure
CN115988350A (en) * 2022-10-20 2023-04-18 电子科技大学 A CMOS Image Sensing, Memory and Computing Integrated Circuit Integrated with Sampling and Computing
CN115988350B (en) * 2022-10-20 2024-07-23 电子科技大学 CMOS image sensing and storing integrated circuit integrating sampling calculation
CN115906735A (en) * 2023-01-06 2023-04-04 上海后摩智能科技有限公司 Multi-bit-number storage and calculation integrated circuit based on analog signals, chip and calculation device
CN115756388A (en) * 2023-01-06 2023-03-07 上海后摩智能科技有限公司 Multi-mode storage and calculation integrated circuit, chip and calculation device
CN115906735B (en) * 2023-01-06 2023-05-05 上海后摩智能科技有限公司 Multi-bit number storage and calculation integrated circuit, chip and calculation device based on analog signals
CN117479027A (en) * 2023-11-07 2024-01-30 上海宇勘科技有限公司 SRAM-based method for simulating dynamic vision sensor array
CN117479027B (en) * 2023-11-07 2024-05-24 上海宇勘科技有限公司 SRAM-based method for simulating dynamic vision sensor array

Also Published As

Publication number Publication date
CN111343398B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN111343398B (en) CMOS (complementary Metal oxide semiconductor) sensing and calculating integrated circuit structure based on dynamic visual sensing technology
CN111967586B (en) Chip for pulse neural network memory calculation and calculation method
CN112133348B (en) A 6T cell-based storage unit, storage array and in-memory computing device
CN113596361B (en) A sensor-memory-calculation integrated circuit structure based on the realization of positive and negative weights in pixels
JP2020503752A (en) Dynamic vision sensor architecture
CN111309670A (en) CMOS (complementary Metal oxide semiconductor) inductive storage and calculation integrated circuit structure
CN112151092B (en) A storage unit, storage array and in-memory computing device based on 4-tube storage
CN112700810B (en) CMOS sense-memory integrated circuit structure integrating memristors
CN106092339A (en) A kind of simulation counting circuit for single-photon detector
CN103237180A (en) High-dynamic-range infrared focal plane reading circuit
CN115995256B (en) A self-calibration current programming and current calculation type memory calculation circuit and its application
JP2000152082A (en) Image sensor
US20240135989A1 (en) Dual-six-transistor (d6t) in-memory computing (imc) accelerator supporting always-linear discharge and reducing digital steps
CN114038492B (en) A multi-phase sampling memory calculation circuit
CN118034644A (en) EDRAM-based high-density high-reliability in-memory computing circuit
CN115954029A (en) Multi-bit operation module and in-memory calculation circuit structure using the same
CN112468747A (en) Current type reading circuit applied to large-area array image sensor and control method thereof
CN113052024B (en) Sense and memory integrated circuit structure based on memristor and sensor
CN117971156A (en) 2T2R-based storage and computing integrated unit and array structure
CN115113679B (en) Current weight accumulating circuit applied to memory and calculation integration
CN115988350B (en) CMOS image sensing and storing integrated circuit integrating sampling calculation
CN113223588B (en) Bit line voltage reading device
Zhang et al. A local transpose 9T SRAM compute-in-memory macro with programmable single-slope SAR ADC
Lin et al. A multi-bit near-rram based computing macro with highly computing parallelism for cnn application
CN119296609B (en) 8T-SRAM memory computing unit, memory computing array and memory computing circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant