CN103473213A - System for loading and extracting parallel information of optical vector-matrix multiplier - Google Patents
System for loading and extracting parallel information of optical vector-matrix multiplier Download PDFInfo
- Publication number
- CN103473213A CN103473213A CN2013104148817A CN201310414881A CN103473213A CN 103473213 A CN103473213 A CN 103473213A CN 2013104148817 A CN2013104148817 A CN 2013104148817A CN 201310414881 A CN201310414881 A CN 201310414881A CN 103473213 A CN103473213 A CN 103473213A
- Authority
- CN
- China
- Prior art keywords
- data
- vector
- module
- matrix
- signal
- 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.)
- Pending
Links
- 239000011159 matrix material Substances 0.000 title claims abstract description 141
- 230000003287 optical effect Effects 0.000 title claims abstract description 85
- 238000000605 extraction Methods 0.000 claims description 44
- 238000007781 pre-processing Methods 0.000 claims description 31
- 238000012805 post-processing Methods 0.000 claims description 21
- 238000001914 filtration Methods 0.000 claims description 9
- 230000005284 excitation Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 4
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 239000000835 fiber Substances 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 claims description 2
- 230000000295 complement effect Effects 0.000 claims 3
- 230000001105 regulatory effect Effects 0.000 claims 3
- 230000003321 amplification Effects 0.000 claims 2
- 238000003199 nucleic acid amplification method Methods 0.000 claims 2
- 241001269238 Data Species 0.000 claims 1
- 230000001276 controlling effect Effects 0.000 claims 1
- 230000004069 differentiation Effects 0.000 claims 1
- 230000009977 dual effect Effects 0.000 claims 1
- 238000005057 refrigeration Methods 0.000 claims 1
- 238000007493 shaping process Methods 0.000 claims 1
- 230000002123 temporal effect Effects 0.000 claims 1
- 238000012360 testing method Methods 0.000 abstract description 5
- 238000000034 method Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 239000013307 optical fiber Substances 0.000 description 5
- 238000012935 Averaging Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012512 characterization method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000001816 cooling Methods 0.000 description 3
- 230000005693 optoelectronics Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000005336 cracking Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000001459 lithography Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001020 plasma etching Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Optical Modulation, Optical Deflection, Nonlinear Optics, Optical Demodulation, Optical Logic Elements (AREA)
Abstract
本发明提供了一种光学向量-矩阵乘法器并行信息加载和提取的系统。该系统作为一套独立运行并拥有自有体系的有机整体,摆脱了采用信号发生器、示波器、光放大器等分立设备的束缚,可以方便、直观、灵活、准确地对光学向量-矩阵乘法器进行测试和分析。
The invention provides a system for loading and extracting parallel information of an optical vector-matrix multiplier. As an organic whole that operates independently and has its own system, the system gets rid of the shackles of discrete devices such as signal generators, oscilloscopes, and optical amplifiers, and can perform optical vector-matrix multipliers conveniently, intuitively, flexibly, and accurately. Test and analyze.
Description
技术领域technical field
本发明涉及光信息处理技术领域,尤其涉及一种用于光学向量-矩阵乘法器并行信息加载和提取的系统。 The invention relates to the technical field of optical information processing, in particular to a system for loading and extracting parallel information of an optical vector-matrix multiplier. the
背景技术 Background technique
光信息处理方式具有带宽大、并行性强、串扰小等优点,基于光信息处理方式的向量-矩阵乘法器适合于完成密集型向量-矩阵乘法(Vector Matrix Multiplication,VMM)任务,实现高速乘法累加(Multiplication and Accumulation,MAC)运算。而MAC运算是数字信号处理过程中的核心运算过程,研究基于光学向量-矩阵乘法器的光学数字信号处理技术,可以突破电子计算的瓶颈,实现高速的光学计算。该技术可以广泛应用于雷达和声纳系统、图像和语音识别、密码生成和破解、资源探测和数据分析等海量数据处理领域,已引起了国内外研究人员的普遍关注。 The optical information processing method has the advantages of large bandwidth, strong parallelism, and small crosstalk. The vector-matrix multiplier based on the optical information processing method is suitable for completing intensive vector-matrix multiplication (Vector Matrix Multiplication, VMM) tasks and realizing high-speed multiplication and accumulation. (Multiplication and Accumulation, MAC) operation. The MAC operation is the core operation process in the process of digital signal processing. The study of optical digital signal processing technology based on optical vector-matrix multiplier can break through the bottleneck of electronic computing and realize high-speed optical computing. This technology can be widely used in massive data processing fields such as radar and sonar systems, image and voice recognition, password generation and cracking, resource detection and data analysis, and has attracted widespread attention from researchers at home and abroad. the
美国橡树岭国家实验室在文献“SENSOR DATA PROCESSING FOR TRACKING UNDERWATER THREATS USING TERASCALE OPTICAL CORE DEVICES.”(Harbour Protection Through Data Fusion Technologies,2008,267-282.)中讨论了光学数字信号处理技术在海岸声纳领域的应用,设计了到达时间差算法,分析了采用光学向量-矩阵乘法器完成这类算法的诸多优越特性。英国BAE System公司在文献“Digital Partitioning for Increased Dynamic Range in a Hybrid Optoelectronic Vector Matrix Processor.”(4th EMRS DTC Technical Conference.Edinburgh:2007:A14.)和文献“Optical Testbed for Hybrid Optoelectronic Vector Matrix Processor for Radar Signal Processing.”(3rd EMRS DTC Technical Conference.Edinburgh:2006:B28.)中,设计了向量-矩阵乘法器的光学结构模型,给出了所设计的光学系统在静态信号下的阵列光斑图样。德国Hagen大学的M.Gruber小组在文献“Planar-integrated optical vector-matrix multiplier.”(Applied optics,2000,39(29):5367-5373.)中讨论了基于平面集成的光学向量-矩 阵乘法器,该研究组采用多掩模光刻和反应离子刻蚀等微加工方法,将VMM结构集成在石英玻璃上,使自由空间光学向量-矩阵乘法器与电学VLSI技术得以兼容。国内方面,国防科技大学在2009年实现了4路光学向量-矩阵乘法器的物理链接和静态信号加载;中国科学院苏州纳米所针对空间光调制器和光学VMM核的嵌入式结构进行了探索;中国科学院半导体所于2010年实现了16路光学向量-矩阵乘法器的物理链接,并于2011年底完成了硅基集成化的光学向量-矩阵乘法器设计和实验验证。 Oak Ridge National Laboratory in the United States discussed the application of optical digital signal processing technology in coastal sonar in the document "SENSOR DATA PROCESSING FOR TRACKING UNDERWATER THREATS USING TERASCALE OPTICAL CORE DEVICES." The time difference of arrival algorithm is designed, and the advantages of using optical vector-matrix multiplier to complete this kind of algorithm are analyzed. British BAE System company in the document "Digital Partitioning for Increased Dynamic Range in a Hybrid Optoelectronic Vector Matrix Processor." (4th EMRS DTC Technical Conference. Edinburgh: 2007: A14.) and the document "Optical Testbed for Hybrid Optoelectronic Vector Matrix for Optoelectronic Vect Processing." (3rd EMRS DTC Technical Conference. Edinburgh: 2006: B28.), the optical structure model of the vector-matrix multiplier is designed, and the array spot pattern of the designed optical system under the static signal is given. The M.Gruber group of Hagen University in Germany discussed the optical vector-matrix multiplication based on planar integration in the document "Planar-integrated optical vector-matrix multiplier." (Applied optics, 2000, 39(29): 5367-5373.) The research group used microfabrication methods such as multi-mask lithography and reactive ion etching to integrate the VMM structure on quartz glass, making the free-space optical vector-matrix multiplier compatible with electrical VLSI technology. Domestically, the National University of Defense Technology realized the physical link and static signal loading of the 4-way optical vector-matrix multiplier in 2009; the Suzhou Nano Institute of the Chinese Academy of Sciences explored the embedded structure of the spatial light modulator and the optical VMM core; China The Institute of Semiconductors of the Academy of Sciences realized the physical link of 16 optical vector-matrix multipliers in 2010, and completed the silicon-based integrated optical vector-matrix multiplier design and experimental verification at the end of 2011. the
以上文献都是立足于光学向量-矩阵乘法器本身,进行了光学结构的仿真和设计,并采用激光器、光调制模块、信号发生器、光电探测模块等分立的标准仪器或设备对所设计的VMM单元进行测试,以验证所设计光学结构的合理性。 The above documents are based on the optical vector-matrix multiplier itself, the simulation and design of the optical structure are carried out, and discrete standard instruments or equipment such as lasers, optical modulation modules, signal generators, and photoelectric detection modules are used to design the VMM. The unit is tested to verify the rationality of the designed optical structure. the
图1为现有技术用于光学向量-矩阵乘法器信息加载和提取系统的示意图。请参照图1,该系统基于码型发生器、激光光源、实时示波器等商业化测试设备,各个设备和装置之间的连接关系如下:码型发生器(1)和调制器矩阵(2)通过电缆相连,调制器矩阵(2)和光学向量矩阵乘法器通过光纤相连。光学向量矩阵乘法器通过光纤与光电探测器(4)相连,光电探测器(4)通过电缆与实时示波器(5)相连。光源部分为多个并行的子模块,每个子模块用虚线框表示,每个虚线框中表示一个向量元素的发生模块,该模块中,激光光源通过光纤与电光调制器相连,码型发生器通过电缆与电光调制器相连,每个电光调制器的输出端通过光纤与光学向量矩阵乘法器相连。如图1中所示,虚线箭头为光口连接,实线箭头为电口连接。 FIG. 1 is a schematic diagram of an information loading and extracting system for an optical vector-matrix multiplier in the prior art. Please refer to Figure 1. The system is based on commercial test equipment such as a pattern generator, laser light source, and real-time oscilloscope. The connection relationship between each device and device is as follows: pattern generator (1) and modulator matrix (2) through The cables are connected, and the modulator matrix (2) and the optical vector matrix multiplier are connected through optical fibers. The optical vector matrix multiplier is connected with the photodetector (4) through the optical fiber, and the photodetector (4) is connected with the real-time oscilloscope (5) through the cable. The light source part is a plurality of parallel sub-modules, each sub-module is represented by a dotted line box, each dotted line box represents a generation module of a vector element, in this module, the laser light source is connected to the electro-optic modulator through an optical fiber, and the pattern generator is passed through The cable is connected with the electro-optic modulator, and the output end of each electro-optic modulator is connected with the optical vector matrix multiplier through the optical fiber. As shown in Figure 1, arrows in dotted lines are optical port connections, and arrows in solid lines are electrical port connections. the
基于上述装置,对于n路的光学向量矩阵乘法器,现有系统的信息加载和提取过程如下: Based on the above device, for an n-way optical vector matrix multiplier, the information loading and extraction process of the existing system is as follows:
(1)打开码型发生器,给调制器矩阵赋值; (1) Turn on the pattern generator and assign a value to the modulator matrix;
(2)依次打开模块(6)、模块(7)……模块(6+n-1),对向量矩阵乘法器的输入激励进行调节;对于每个模块的调节过程如下: (2) Turn on module (6), module (7) ... module (6+n-1) in turn to adjust the input excitation of the vector matrix multiplier; the adjustment process for each module is as follows:
2.1打开激光光源和码型发生器,使码型发生器产生一个伪随机序列,在实时示波器上得到波形; 2.1 Turn on the laser light source and pattern generator, make the pattern generator generate a pseudo-random sequence, and obtain the waveform on the real-time oscilloscope;
2.2调节光源的强度以及电光调制器的偏置,使得实时示波器上 得到的电压幅值在VL和VH之间。 2.2 Adjust the intensity of the light source and the bias of the electro-optic modulator so that the voltage amplitude obtained on the real-time oscilloscope is between V L and V H.
(3)对于模块(6)、模块(7)……模块(6+n-1)都进行如步骤(2)所描述的调节过程,使得每个模块都可以在示波器上得到幅值在VL和VH之间的电压信号,记录下当示波器上得到幅值为VL和VH之间的电压信号之间时激光光源的强度、电光调制器的偏置等参数,这些参数统称为Pi(i=6,7,……,6+n-1): (3) For module (6), module (7) ... module (6+n-1), the adjustment process as described in step (2) is carried out, so that each module can be obtained on the oscilloscope with an amplitude at V For the voltage signal between L and V H , record the parameters such as the intensity of the laser light source and the bias of the electro-optic modulator when the amplitude of the voltage signal between V L and V H is obtained on the oscilloscope. These parameters are collectively referred to as P i (i=6, 7, ..., 6+n-1):
(4)对模块(6)、模块(7)……模块(6+n-1)分别赋予参数Pi,使n个激光光源、n路码型发生器、n个电光调制器同时开启,给模块模块(6)、模块(7)……模块(6+n-1)中各路码型发生器赋予相同周期长度的伪随机序列码,且保持每路信号之间有固定的相位差; (4) Assign parameters P i to modules (6), modules (7)...modules (6+n-1) respectively, so that n laser light sources, n code generators, and n electro-optic modulators are turned on simultaneously, Assign pseudo-random sequence codes with the same period length to each pattern generator in module (6), module (7) ... module (6+n-1), and keep a fixed phase difference between each signal ;
(5)观察并记录此时示波器上得到的波形,分析此波形与理论计算结果的一致性。 (5) Observe and record the waveform obtained on the oscilloscope at this time, and analyze the consistency between the waveform and the theoretical calculation result. the
在实现本发明的过程中,申请人发现现有的用于光学向量-矩阵乘法器并行信息加载和提取的系统存在如下缺陷: In the process of realizing the present invention, the applicant found that the existing system for optical vector-matrix multiplier parallel information loading and extraction has the following defects:
(1)信息加载和提取过程是在现成分立设备或仪器所搭建的测试系统上进行的,体积庞大,灵活性和扩展性差; (1) The information loading and extraction process is carried out on the test system built by existing discrete equipment or instruments, which is bulky, poor in flexibility and expandability;
(2)信息加载和提取过程中需要人工反复调节每一路光源和电光调制器,通过观察实时示波器的波形来判断激励源参数是否合适,调整过程非常繁琐且容易出现错误; (2) In the process of information loading and extraction, it is necessary to manually adjust each light source and electro-optic modulator repeatedly, and judge whether the excitation source parameters are appropriate by observing the waveform of the real-time oscilloscope. The adjustment process is very cumbersome and error-prone;
(3)信息加载和提取过程仅停留在对光学向量矩阵乘法器计算核本身功能的测试,没有形成具有自有体系的光电混合计算系统,难以适应后期的算法研究并付诸应用。 (3) The information loading and extraction process only stops at testing the function of the optical vector matrix multiplier computing core itself, without forming a photoelectric hybrid computing system with its own system, and it is difficult to adapt to the later algorithm research and put it into application. the
发明内容 Contents of the invention
(一)要解决的技术问题 (1) Technical problems to be solved
鉴于上述技术问题,本发明提供了一种用于光学向量-矩阵乘法器并行高速信息加载和提取的系统。 In view of the above technical problems, the present invention provides a system for parallel high-speed information loading and extraction of optical vector-matrix multipliers. the
(二)技术方案 (2) Technical plan
为了实现上述目的,本发明用于光学向量-矩阵乘法器并行信息加载和提取的系统包括: In order to achieve the above object, the present invention is used for optical vector-matrix multiplier parallel information loading and extraction system comprising:
输入向量数据缓存模块,用于缓存输入的向量原始数据; The input vector data cache module is used to cache the input vector original data;
输入矩阵数据缓存模块,用于缓存输入的矩阵原始数据; Input matrix data cache module, used to cache the input matrix original data;
数据预处理模块,用于:(a)对所述向量原始数据和矩阵原始数据的分辨率分别进行调整,使两者的位数与光学向量-矩阵乘法器性能相匹配;(b)对所述向量数据和矩阵数据进行分块,使向量数据和矩阵数据的阶数与光学向量-矩阵乘法器的输入端通道数相匹配; The data preprocessing module is used to: (a) adjust the resolution of the vector original data and the matrix original data respectively, so that the number of bits of the two matches the performance of the optical vector-matrix multiplier; (b) adjust the resolution of the original vector-matrix multiplier; The above vector data and matrix data are divided into blocks, so that the order of the vector data and matrix data matches the number of input channels of the optical vector-matrix multiplier;
向量数据加载模块阵列,用于接收所述前端数据预处理模块输出的向量数据,并将向量数据中的每个数据元素转换为电流信号,分别供给至激光器阵列中相应的激光器; The vector data loading module array is used to receive the vector data output by the front-end data preprocessing module, and convert each data element in the vector data into a current signal, which is respectively supplied to the corresponding lasers in the laser array;
激光器阵列,包括若干个激光器,其中每个激光器用于接收前端对应向量数据加载模块输出的调制电流开关信号,为光学向量-矩阵乘法器提供阵列光源向量算子; A laser array, including several lasers, each of which is used to receive the modulation current switch signal output by the corresponding vector data loading module at the front end, and provide an array light source vector operator for the optical vector-matrix multiplier;
矩阵数据加载模块,用于:(a)接收所述前端数据预处理模块中输出的低分辨率和低阶数的矩阵数据,并将矩阵数据中的每个数据元素转换成DVI视频编码格式数据;(b)接收DVI视频编码格式数据,完成空间光调制器每个像素数据的加载,为光学向量-矩阵乘法器提供矩阵算子; The matrix data loading module is used for: (a) receiving the low-resolution and low-order matrix data output in the front-end data preprocessing module, and converting each data element in the matrix data into DVI video encoding format data ; (b) receiving DVI video encoding format data, completing the loading of each pixel data of the spatial light modulator, and providing a matrix operator for the optical vector-matrix multiplier;
探测器阵列,用于接收来自向量-矩阵乘法器输出的表征运算结果的阵列光信号,探测器阵列中的单个探测器单元,将接收到的光信号转换为光电流信号后,将光电流信号输出到运算结果信息提取模块中; The detector array is used to receive the array optical signal from the output of the vector-matrix multiplier to represent the operation result. A single detector unit in the detector array converts the received optical signal into a photocurrent signal, and converts the photocurrent signal to Output to the operation result information extraction module;
运算结果信息提取模块阵列,用于接收前端探测器阵列的n路光电流信号,并将每路光电流信号转换为数字信号,输出至数据后处理模块中; The operation result information extraction module array is used to receive n-channel photocurrent signals of the front-end detector array, convert each channel photocurrent signal into a digital signal, and output it to the data post-processing module;
数据后处理模块,用于:(a)接收运算结果信息提取模块阵列所产生的数字信号,对数字信号进行滤波,去除数字信号中的噪声,形成平滑的离散数字量;(b)将滤波后的平滑离散数字量在每个时钟周期进行高斯平均,得到某周期内表征运算结果的特征量;(c)将某周期内的表征运算结果的特征量与所设定的灰度阶门限进行比较和判决,得到表征向量-矩阵乘法结果的灰度阶值; The data post-processing module is used for: (a) receiving the digital signal generated by the operation result information extraction module array, filtering the digital signal, removing noise in the digital signal, and forming a smooth discrete digital quantity; (b) filtering the digital signal Gaussian average of the smooth discrete digital quantity in each clock cycle to obtain the characteristic quantity representing the operation result in a certain period; (c) compare the characteristic quantity representing the operation result in a certain period with the set gray scale threshold and judgment, to obtain the grayscale value of the result of characterization vector-matrix multiplication;
提取信息内存空间,用于暂存数据后处理模块对数据进行滤波、高斯平均、灰度阶判别等运算所涉及的中间临时数据; Extract the information memory space, which is used to temporarily store the intermediate temporary data involved in operations such as data filtering, Gaussian averaging, and grayscale discrimination by the data post-processing module;
结果向量数据缓存模块,用于缓存数据后处理模块得到的表征向量-矩阵乘法结果的灰度阶值,并将其经过RapidIO高速串行接口送出。 The result vector data cache module is used to cache the grayscale value of the representation vector-matrix multiplication result obtained by the data post-processing module, and send it out through the RapidIO high-speed serial interface. the
(三)有益效果 (3) Beneficial effects
从上述技术方案可以看出,本发明用于光学向量-矩阵乘法器并行信息加载和提取的系统具有以下有益效果: As can be seen from the above technical solutions, the present invention is used for optical vector-matrix multiplier parallel information loading and extraction system has the following beneficial effects:
(1)本发明所提出的用于光学向量矩阵乘法器并行高速信息加载和提取的系统,作为一套独立运行并拥有自有体系的有机整体,摆脱了采用信号发生器、示波器、光放大器等分立设备的束缚,可以方便、直观、灵活、准确地对光学向量-矩阵乘法器进行测试和分析; (1) The system for parallel high-speed information loading and extraction of the optical vector matrix multiplier proposed by the present invention, as an organic whole that operates independently and has its own system, gets rid of the need to use signal generators, oscilloscopes, optical amplifiers, etc. The shackles of discrete devices allow convenient, intuitive, flexible and accurate testing and analysis of optical vector-matrix multipliers;
(2)本发明所提出的用于光学向量矩阵乘法器并行高速信息加载和提取的系统,将外围的探测器信息提取模块、激光器模块、FPGA信息处理单元相结合,形成闭合的反馈系统,可自动地对每路激光器对计算核的激励进行调节,实现自标定和校正; (2) The system for parallel high-speed information loading and extraction of the optical vector matrix multiplier proposed by the present invention combines the peripheral detector information extraction module, laser module, and FPGA information processing unit to form a closed feedback system, which can Automatically adjust the excitation of each laser to the computing core to achieve self-calibration and correction;
(3)本发明所提出的用于光学向量矩阵乘法器并行高速信息加载和提取的系统将电学信息加载、原始数据预处理、运算结果后处理、系统数据的同步和控制等功能与光学计算核(即光学向量-矩阵乘法器)有机结合,形成了一套具有高速MAC内核的光学数字信号处理系统,该系统可以满足声纳、雷达、密码学、语音、图像等海量数据处理领域中对大规模数据的实时处理要求。 (3) The system for parallel high-speed information loading and extraction of the optical vector matrix multiplier proposed by the present invention combines functions such as electrical information loading, raw data preprocessing, operation result postprocessing, system data synchronization and control with the optical computing core (that is, optical vector-matrix multiplier) organically combined to form a set of optical digital signal processing system with high-speed MAC core, which can meet the requirements of large-scale data processing in the fields of sonar, radar, cryptography, voice, image, etc. Real-time processing requirements for large-scale data. the
附图说明 Description of drawings
图1为现有技术用于光学向量-矩阵乘法器的信息加载和提取系统的示意图。 FIG. 1 is a schematic diagram of a prior art information loading and extraction system for an optical vector-matrix multiplier. the
图2为本发明实施例用于光学向量-矩阵乘法器并行高速信息加载和提取的系统构架示意图。 FIG. 2 is a schematic diagram of a system architecture for parallel high-speed information loading and extraction of an optical vector-matrix multiplier according to an embodiment of the present invention. the
图3为本发明具体实施例中的用于动态调节激光器输出的控制总线结构示意图。 Fig. 3 is a schematic diagram of a control bus structure for dynamically adjusting the output of a laser in a specific embodiment of the present invention. the
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。需要说明的是,在附图或说明书描述中,相似或相同的部分都使用相同的图号。附图中未绘示或描述的实现方式,为所属技术领域中普通技术人员所知的形式。另外,虽然 本文可提供包含特定值的参数的示范,但应了解,参数无需确切等于相应的值,而是可在可接受的误差容限或设计约束内近似于相应的值。此外,以下实施例中提到的方向用语,例如“上”、“下”、“前”、“后”、“左”、“右”等,仅是参考附图的方向。因此,使用的方向用语是用来说明并非用来限制本发明。 In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be noted that, in the drawings or descriptions of the specification, similar or identical parts all use the same figure numbers. Implementations not shown or described in the accompanying drawings are forms known to those of ordinary skill in the art. Also, while this article may provide examples of parameters that include specific values, it should be understood that the parameters need not be exactly equal to the corresponding values, but rather may approximate the corresponding values within acceptable error margins or design constraints. In addition, the directional terms mentioned in the following embodiments, such as "upper", "lower", "front", "rear", "left", "right", etc., are only referring to the directions of the drawings. Accordingly, the directional terms are used to illustrate and not to limit the invention. the
本发明提供了一种用于光学向量-矩阵乘法器并行高速信息加载和提取的系统,通过输入向量数据缓存模块、输入矩阵数据缓存模块、数据预处理模块、向量数据加载模块阵列、矩阵数据加载模块、向量-矩阵乘法器、激光器阵列、探测器阵列、运算结果信息提取模块阵列、数据后处理模块、提取信息内存空间、结果向量数据缓存模块等结构,解决了以向量-矩阵乘法器为MAC运算核的光学数字信号处理系统集成问题。 The invention provides a system for parallel high-speed information loading and extraction of an optical vector-matrix multiplier, through the input vector data cache module, input matrix data cache module, data preprocessing module, vector data loading module array, matrix data loading module, vector-matrix multiplier, laser array, detector array, operation result information extraction module array, data post-processing module, extracted information memory space, result vector data cache module, etc. Optical digital signal processing system integration problem of operation core. the
在本发明的一个示例性实施例中,提供了一种用于光学向量-矩阵乘法器并行高速信息加载和提取的系统,如图2所示。该系统包括:输入向量数据缓存模块1、输入矩阵数据缓存模块2、数据预处理模块3、向量数据加载模块阵列4(包括4.1、4.2……4.n等子模块)、矩阵数据加载模块5、激光器阵列6、向量-矩阵乘法器7、探测器阵列8、运算结果信息提取模块阵列9(包括9.1、9.2……9.n等子模块)、数据后处理模块10、提取信息内存空间11,结果向量数据缓存模块12。其中:
In an exemplary embodiment of the present invention, a system for parallel high-speed information loading and extraction of an optical vector-matrix multiplier is provided, as shown in FIG. 2 . The system includes: input vector
(1)输入向量数据缓存模块 (1) Input vector data cache module
该输入向量数据缓存模块,用于缓存输入的向量原始数据,其由CY7C009型双口RAM实现。 The input vector data cache module is used to cache the input vector original data, and it is realized by CY7C009 dual-port RAM. the
输入的向量原始数据通过RapidIO高速串行接口送入CY7C009型双口RAM中,通过该CY7C009型双口RAM缓存完成向量原始数据的实时不丢帧传输,缓存后的数据送入数据预处理模块3中。
The input vector raw data is sent to the CY7C009 dual-port RAM through the RapidIO high-speed serial interface, and the real-time transmission of the vector raw data is completed through the CY7C009 dual-port RAM cache, and the cached data is sent to the
同时,向量数据预处理过程中的中间临时数据也在该模块中进行暂存,以便于预处理算法的进行。 At the same time, the intermediate temporary data in the vector data preprocessing process is also temporarily stored in this module, so as to facilitate the preprocessing algorithm. the
(2)输入矩阵数据缓存模块 (2) Input matrix data cache module
该输入矩阵数据缓存模块,用于缓存输入的矩阵原始数据,其由CY7C009型双口RAM实现。 The input matrix data cache module is used to cache the input matrix original data, and it is realized by CY7C009 dual-port RAM. the
输入矩阵原始数据块通过RapidIO高速串行接口送入CY7C009型双 口RAM中,通过双口RAM缓存完成矩阵原始数据的实时不丢帧传输,缓存后的数据送入XC5VLX50T型FPGA器件所形成的数据预处理模块3中。
The original data block of the input matrix is sent to the CY7C009 dual-port RAM through the RapidIO high-speed serial interface, and the real-time transmission of the original data of the matrix is completed through the dual-port RAM cache, and the cached data is sent to the data formed by the XC5VLX50T FPGA device In
同时,向量数据预处理过程中的中间临时数据也在该模块中进行暂存,以便于预处理算法的进行。 At the same time, the intermediate temporary data in the vector data preprocessing process is also temporarily stored in this module, so as to facilitate the preprocessing algorithm. the
(3)数据预处理模块 (3) Data preprocessing module
数据预处理模块,用于: Data preprocessing module for:
(a)对向量原始数据和矩阵原始数据中的每个元素进行分割,使其分辨率降低,分辨率降低后的向量数据元素和矩阵数据元素的位数与光学向量-矩阵乘法器性能相匹配,例如:光学向量-矩阵乘法器对输入数据的位数要求为2位,则需将向量原始数据元素分割为位数为2位的基本数据单元; (a) Segment each element in the vector raw data and the matrix raw data so that its resolution is reduced, and the number of bits of the reduced-resolution vector data elements and matrix data elements matches the optical vector-matrix multiplier performance , for example: the optical vector-matrix multiplier requires 2 bits of input data, then the original vector data elements need to be divided into basic data units with 2 bits;
(b)对向量数据和矩阵数据进行分块,使向量数据和矩阵数据的阶数与光学向量-矩阵乘法器的输入端通道数相匹配,例如:光学向量-矩阵乘法器的输入端通道数为8路,则向量数据和矩阵数据的阶数最多被分块成8阶。 (b) Block the vector data and matrix data so that the order of the vector data and matrix data matches the number of input channels of the optical vector-matrix multiplier, for example: the number of input channels of the optical vector-matrix multiplier If it is 8-way, the order of vector data and matrix data will be divided into 8 orders at most. the
(4)向量数据加载模块阵列 (4) Vector data loading module array
该向量数据加载模块阵列,用于接收前端数据预处理模块输出的低分辨率和低阶数的向量数据(每个向量数据包含n个元素),并将向量数据中的每个数据元素转换为电流信号,分别供给至激光器阵列中相应的激光器。 The vector data loading module array is used to receive the low-resolution and low-order vector data (each vector data contains n elements) output by the front-end data preprocessing module, and convert each data element in the vector data into The current signals are respectively supplied to corresponding lasers in the laser array. the
该向量数据加载模块阵列包括:并列设置的n个相同的向量数据加载模块,每个向量数据加载模块为一路激光器提供电流信号激励,如激光器的路数为n,则对应的数据加载模块分别为(4.1)、(4.2)……(4.n)。 The vector data loading module array includes: n identical vector data loading modules arranged side by side, each vector data loading module provides current signal excitation for one laser, if the number of lasers is n, the corresponding data loading modules are respectively (4.1), (4.2)...(4.n). the
该向量数据加载模块包括:MAX9371型电平转换芯片、MAX3669型电流输出型驱动芯片、MAX5497型数字电位器芯片、MAX5496型数字电位器芯片、MAX1978型温度控制芯片。 The vector data loading module includes: MAX9371 level conversion chip, MAX3669 current output driver chip, MAX5497 digital potentiometer chip, MAX5496 digital potentiometer chip, and MAX1978 temperature control chip. the
MAX9371型电平转换芯片,用于接收前端数据预处理模块输出的低分辨率和低阶数的向量数据,并将其转换为MAX3669电流输出型驱动芯片输入端能够识别的逻辑电平信号; MAX9371 level conversion chip, used to receive the low-resolution and low-order vector data output by the front-end data preprocessing module, and convert it into a logic level signal that can be recognized by the input terminal of the MAX3669 current output driver chip;
MAX3669电流输出型驱动芯片,用于根据MAX9371所产生的逻辑电平信号产生控制对应激光器调制电流的开关信号,来激励相应的激光器。 The MAX3669 current output driver chip is used to generate a switch signal to control the modulation current of the corresponding laser according to the logic level signal generated by the MAX9371 to excite the corresponding laser. the
MAX5497型数字电位器芯片内含两个可变电阻,这两个可变电阻分别与MAX3669的偏置电流和调制电流控制端相连,MAX5497用于接收前端数据预处理模块中FPGA所产生的控制字指令,通过该指令来控制其内部两个可变电阻的大小,通过调节这两个电阻值的大小来控制MAX3669的输出偏置电流和调制电流值。 The MAX5497 digital potentiometer chip contains two variable resistors, which are respectively connected to the bias current and modulation current control terminals of the MAX3669. The MAX5497 is used to receive the control word generated by the FPGA in the front-end data preprocessing module. command, through which the size of the two internal variable resistors is controlled, and the output bias current and modulation current value of the MAX3669 are controlled by adjusting the size of the two resistance values. the
MAX5496型数字电位器芯片内部的一个可变电阻与MAX3669的自动功率控制端相连,MAX5496用于接收前端数据预处理模块中FPGA所产生的控制字指令,通过该指令来控制其内部可变电阻的大小,通过调节该电阻值来控制MAX3669的输出功率。 A variable resistor inside the MAX5496 digital potentiometer chip is connected to the automatic power control terminal of MAX3669. MAX5496 is used to receive the control word instruction generated by the FPGA in the front-end data preprocessing module, and control the internal variable resistor through this instruction. Size, by adjusting the resistance value to control the output power of MAX3669. the
MAX5496型数字电位器芯片内部的另一个可变电阻与MAX1978型温度控制芯片的温度控制端相连,MAX5496用于接收前端预处理模块中FPGA所产生的控制字指令,通过该指令来控制其内部可变电阻的大小,通过调节该电阻值来控制MAX1978的温度控制点,MAX1978通过PID反馈输出反馈电流控制激光器内部的制冷模块,实现对激光器的温度控制。 Another variable resistor inside the MAX5496 digital potentiometer chip is connected to the temperature control terminal of the MAX1978 temperature control chip. The size of the variable resistance is controlled by adjusting the resistance value to control the temperature control point of MAX1978. MAX1978 controls the cooling module inside the laser through the PID feedback output feedback current to realize the temperature control of the laser. the
MAX1978型温度控制芯片,用于接收MAX5496所提供的温度控制点信号,通过PID反馈输出反馈电流,将该反馈电流传送给激光器,来控制激光器内部的制冷模块,实现对激光器的温度控制。 The MAX1978 temperature control chip is used to receive the temperature control point signal provided by MAX5496, output the feedback current through PID feedback, and transmit the feedback current to the laser to control the cooling module inside the laser to realize the temperature control of the laser. the
(5)矩阵数据加载模块 (5) Matrix data loading module
矩阵数据加载模块由一片CH7301C型DVI编码芯片和一款LC-R720型空间光调制器构成。 The matrix data loading module is composed of a CH7301C DVI encoding chip and a LC-R720 spatial light modulator. the
CH7301C型DVI编码芯片,用于接收来自前端数据预处理模块中输出的低分辨率和低阶数的矩阵数据(包含n×n个元素),并将矩阵数据中的每个数据元素转换成DVI视频编码格式数据,通过DVI接口输入至LC-R720中。 CH7301C DVI encoding chip, used to receive low-resolution and low-order matrix data (including n×n elements) output from the front-end data preprocessing module, and convert each data element in the matrix data into DVI Data in video encoding format is input to LC-R720 through the DVI interface. the
LC-R720C空间光调制器,用于接收CH7301C型DVI编码芯片所输出的DVI视频编码格式数据,完成空间光调制器每个像素数据的加载,实 现为光学向量-矩阵乘法器提供矩阵算子。 LC-R720C spatial light modulator is used to receive the DVI video encoding format data output by the CH7301C DVI encoding chip, complete the loading of each pixel data of the spatial light modulator, and realize providing matrix operators for the optical vector-matrix multiplier . the
(6)激光器阵列 (6) Laser array
激光器阵列由多个6001A型DFB激光器与光纤阵列耦合形成。 The laser array is formed by coupling multiple 6001A DFB lasers with fiber arrays. the
激光器阵列中的每个激光器用于接收前端对应向量数据加载模块中MAX3669输出的调制电流开关信号,为光学向量-矩阵乘法器提供阵列光源向量算子。同时还要接收前端对应向量数据加载模块中MAX1978输出的反馈电流,完成对自身的制冷控制。 Each laser in the laser array is used to receive the modulation current switch signal output by the MAX3669 in the front-end corresponding vector data loading module, and provide the array light source vector operator for the optical vector-matrix multiplier. At the same time, it also needs to receive the feedback current output by MAX1978 in the corresponding vector data loading module of the front end to complete its own cooling control. the
(7)向量-矩阵乘法器 (7) Vector-matrix multiplier
向量-矩阵乘法器由柱透镜、圆透镜等形成的光学系统实现,用于接收来自激光器阵列的阵列光源向量算子,同时接收来自矩阵数据加载模块的矩阵算子,完成光域内信号的乘法和累加运算后,输出表征运算结果的阵列光信号。 The vector-matrix multiplier is realized by an optical system formed by a cylindrical lens, a circular lens, etc., and is used to receive the vector operator of the array light source from the laser array, and at the same time receive the matrix operator from the matrix data loading module to complete the multiplication and sum of signals in the optical domain. After the accumulation operation, an array optical signal representing the operation result is output. the
(8)探测器阵列 (8) Detector array
探测器阵列由多个RPD3000-FA型光电探测器与光纤阵列耦合而成。用于接收来自向量-矩阵乘法器输出的表征运算结果的阵列光信号,探测器阵列中的单个探测器单元,将接收到的光信号转换为光电流信号后,将光电流信号输出到后端对应的运算结果信息提取模块中。 The detector array is composed of multiple RPD3000-FA photodetectors coupled with an optical fiber array. It is used to receive the array optical signal from the output of the vector-matrix multiplier to represent the operation result, and a single detector unit in the detector array converts the received optical signal into a photocurrent signal, and then outputs the photocurrent signal to the backend Corresponding operation result information extraction module. the
(9)运算结果信息提取模块阵列 (9) Operation result information extraction module array
该运算结果信息提取模块阵列,用于接收来自前端探测器阵列的n路光电流信号,并将每路光电流信号转换为数字信号,输出至后端数据后处理模块中。 The operation result information extraction module array is used to receive n photocurrent signals from the front-end detector array, convert each photocurrent signal into a digital signal, and output it to the back-end data post-processing module. the
该运算结果信息提取模块阵列包括:由n个相同的运算结果信息提取模块并列而成,每个运算结果信息提取模块接收一路光电流信号,如探测器阵列输出的阵列光信号路数为n,则对应的运算结果信息提取模块分别为(9.1)、(9.2)……(9.n)。 The operation result information extraction module array includes: n identical operation result information extraction modules are arranged side by side, and each operation result information extraction module receives one photocurrent signal. For example, the number of array optical signal channels output by the detector array is n, Then the corresponding operation result information extraction modules are (9.1), (9.2)...(9.n). the
该运算结果信息提取模块包括:OPA847型跨阻放大器、THS4508型二次放大器、ADS5474型模数转换器。 The operation result information extraction module includes: OPA847 type transimpedance amplifier, THS4508 type secondary amplifier, ADS5474 type analog-to-digital converter. the
OPA847型跨阻放大器,用于接收前端对应探测器所输出的光电流信号,通过跨阻放大后,转换成表征运算结果的灰度阶模拟电压信号。 The OPA847 transimpedance amplifier is used to receive the photocurrent signal output by the corresponding detector at the front end, and convert it into a grayscale analog voltage signal representing the operation result after being amplified by transimpedance. the
THS4508型二次放大器,用于接收前端OPA847型跨阻放大器所输出 的灰度阶模拟电压信号,将其放大并整形后,转换成动态范围和驱动能力与ADS5474输入端性能相匹配的放大后的灰度阶模拟电压信号。 The THS4508 secondary amplifier is used to receive the gray-scale analog voltage signal output by the front-end OPA847 transimpedance amplifier, amplify and shape it, and convert it into an amplified signal whose dynamic range and drive capability match the performance of the ADS5474 input terminal. Gray scale analog voltage signal. the
ADS5474模数转换器,用于接收前端THS4508所输出的放大后的灰度阶模拟电压信号,将其转换为表征运算结果的数字信号,并将该数字信号通过LVDS接口送入数据后处理模块。 ADS5474 analog-to-digital converter is used to receive the amplified gray-scale analog voltage signal output by the front-end THS4508, convert it into a digital signal representing the operation result, and send the digital signal to the data post-processing module through the LVDS interface. the
(10)数据后处理模块 (10) Data post-processing module
数据后处理模块用于: The data post-processing module is used for:
(a)接收来自ADS5474型模数转换器所产生的数字信号,对数字信号进行滤波,去除数字信号中的噪声,形成平滑的离散数字量; (a) Receive the digital signal generated by the ADS5474 analog-to-digital converter, filter the digital signal, remove the noise in the digital signal, and form a smooth discrete digital quantity;
(b)将滤波后的平滑离散数字量在每个时钟周期进行高斯平均,得到某周期内表征运算结果的特征量; (b) Perform Gaussian averaging on the smoothed discrete digital quantity after filtering in each clock cycle to obtain the characteristic quantity representing the operation result in a certain period;
(c)将某周期内的表征运算结果的特征量与所设定的灰度阶门限进行比较和判决,得到表征向量-矩阵乘法结果的灰度阶值。 (c) Comparing and judging the feature quantity of the characterization operation result in a certain period with the set gray-scale threshold, and obtaining the gray-scale value of the characterization vector-matrix multiplication result. the
数据后处理模块10和数据预处理模块3采用的是同一片FPGA器件,数据预处理过程和数据后处理过程在同一片FPGA器件中通过并行硬件语言实现。
The data
(11)提取信息内存空间 (11) Extract information memory space
提取信息内存空间由IS61NLP25636A型SRAM存储器构成,该提取信息内存空间通过地址总线和数据总线与后处理模块相连。后处理模块对数据进行滤波、高斯平均、灰度阶判别等运算所涉及的中间临时数据暂存在提取信息内存空间中。 The extracted information memory space is composed of IS61NLP25636A SRAM memory, and the extracted information memory space is connected with the post-processing module through an address bus and a data bus. The post-processing module performs operations such as filtering, Gaussian averaging, and gray-scale discrimination on the data, temporarily storing the intermediate temporary data in the extracted information memory space. the
(12)结果向量数据缓存模块 (12) Result vector data cache module
结果向量数据缓存模块由CY7C009型双口RAM存储器构成,用于缓存数据后处理模块得到的表征向量-矩阵乘法结果的灰度阶值,并将其经过RapidIO高速串行接口送出。 The result vector data cache module is composed of CY7C009 dual-port RAM memory, which is used to cache the gray scale value of the vector-matrix multiplication result obtained by the data post-processing module, and send it through the RapidIO high-speed serial interface. the
此外,本实施例并行信息加载和提取系统还需要电源管理模块和时钟管理模块为整个系统提供电力和时钟。 In addition, the parallel information loading and extraction system of this embodiment also requires a power management module and a clock management module to provide power and clocks for the entire system. the
系统的工作过程及信号转换关系如下: The working process and signal conversion relationship of the system are as follows:
首先,数据预处理模块通过地址总线访问缓存在双口RAM中的输入向量和矩阵数据,当输入向量数据元素的位宽是k时,对系统时钟进行倍 频,使得VMM的工作时钟频率是系统时钟频率的k2倍,即1个系统时钟周期中包含k2个VMM工作周期;当向量阶数为1×N,矩阵阶数为N×N时,向量数据加载模块个数为N,对于连续的VMM工作周期,向量数据加载模块阵列接收来自数据预处理模块的k位非0即1的开关调制信号,将其转换为电流信号加载到对应的激光器上。 First, the data preprocessing module accesses the input vector and matrix data cached in the dual-port RAM through the address bus. When the bit width of the input vector data element is k, the frequency of the system clock is multiplied so that the operating clock frequency of the VMM is the system K 2 times the clock frequency, that is, one system clock cycle contains k 2 VMM work cycles; when the vector order is 1×N and the matrix order is N×N, the number of vector data loading modules is N, for In the continuous VMM working cycle, the vector data loading module array receives the k-bit non-0 or 1 switching modulation signal from the data preprocessing module, converts it into a current signal and loads it on the corresponding laser.
与此同时,矩阵数据加载模块通过DVI接口将矩阵数据加载到向量-矩阵乘法器。 At the same time, the matrix data loading module loads the matrix data to the vector-matrix multiplier through the DVI interface. the
将光学向量-矩阵乘法器中的光调制器矩阵设置为全透,依次打开各路激光器,调节激光器的偏置电流和调制电流,使得对于某一路探测器而言,每个激光器均能在该探测器上获得相同的信号激励,完成对各个激光器的标定,将偏置电流和调制电流的标定值记录在提取信息内存空间中。 Set the optical modulator matrix in the optical vector-matrix multiplier to be fully transparent, turn on each laser in turn, adjust the bias current and modulation current of the laser, so that for a certain detector, each laser can be in the The same signal excitation is obtained on the detector, the calibration of each laser is completed, and the calibration values of the bias current and the modulation current are recorded in the extracted information memory space. the
然后,采用偏置电流和调制电流的标定值对激光器施加工作电流,光学向量-矩阵乘法器根据所载入的向量和矩阵数据进行乘法运算,将乘法结果向量通过探测器阵列以光信号的形式输出。 Then, the calibration value of the bias current and modulation current is used to apply the working current to the laser, the optical vector-matrix multiplier performs multiplication according to the loaded vector and matrix data, and the multiplication result vector passes through the detector array in the form of an optical signal output. the
1×N探测器阵列中每个探测器的输出信号承载了结果向量中的一个元素信息,通过N个运算结果信息提取模块分别对每个探测器的输出信号进行读取和分析。 The output signal of each detector in the 1×N detector array carries an element information in the result vector, and the output signal of each detector is read and analyzed through N operation result information extraction modules. the
对于单个的探测器,其输出信号为光电流,通过跨阻放大器将该电流信号放大并转换为模拟电压信号,然后通过二次放大器将该模拟电压信号放大,提升它的驱动能力并调节它的动态范围使之与模数转换器的输入端匹配。模数转换器的后端即可得到表征运算结果的一系列离散数字量。将以上得到的一系列离散数字量送入数据后处理模块,后处理模块对这些数字量进行数字滤波后,得到平滑后的灰度阶曲线。将平滑后的数据进行高斯平均,得到表征运算结果的特征量,将该特征量与所设定的灰度阶门限进行比较和判决,得到表征向量-矩阵乘法结果的灰度阶值。 For a single detector, the output signal is photocurrent, the current signal is amplified by a transimpedance amplifier and converted into an analog voltage signal, and then the analog voltage signal is amplified by a secondary amplifier to improve its driving ability and adjust its The dynamic range is matched to the input of the analog-to-digital converter. The back end of the analog-to-digital converter can obtain a series of discrete digital quantities representing the operation results. A series of discrete digital quantities obtained above are sent to the data post-processing module, and the post-processing module performs digital filtering on these digital quantities to obtain a smoothed gray scale curve. Gaussian averaging is performed on the smoothed data to obtain the feature quantity representing the operation result, and the feature quantity is compared and judged with the set gray scale threshold to obtain the gray scale value representing the vector-matrix multiplication result. the
最后,将表征向量-矩阵乘法结果的灰度阶值载入结果向量数据缓存模块,并通过输出接口将结果输出。 Finally, load the gray scale value representing the vector-matrix multiplication result into the result vector data buffer module, and output the result through the output interface. the
图3所示为本发明所提出的系统中用于动态调节激光器偏置电流和调制电流的控制总线结构示意图。由数据预处理模块3构建SPI总线信号,将该信号通过SN74LVTH241型总线驱动芯片后,形成具有足够驱动能力 的SPI信号总线,将MAX5497型(14、16、19、21)和MAX5496型(15、17、18、20)数字电位器作为从机挂接在SPI总线上,分别对MAX3669型(22、24、27、29)激光器电源和MAX1978型(23、25、26、28)温控芯片进行控制,以对激光器(30、31、32、33)的调制电流、偏置电流、工作温度等参数进行调节。依次打开各路激光器,根据探测器的读出信号,对各路激光器的工作参数进行动态调节和控制,使每路激光器对同一探测器产生相同动态范围的激励信号。
FIG. 3 is a schematic diagram of the structure of the control bus for dynamically adjusting the laser bias current and modulation current in the system proposed by the present invention. The SPI bus signal is constructed by the
至此,已经结合附图对本实施例用于光学向量-矩阵乘法器并行高速信息加载和提取的系统进行了详细描述。依据以上描述,本领域技术人员应当对本发明有了清楚的认识。 So far, the system for parallel high-speed information loading and extraction of optical vector-matrix multipliers in this embodiment has been described in detail with reference to the accompanying drawings. Based on the above description, those skilled in the art should have a clear understanding of the present invention. the
此外,上述对各元件、方法的定义并不仅限于实施方式中提到的各种具体结构、形状或方法,本领域的普通技术人员可对其进行简单地熟知地替换,例如: In addition, the above-mentioned definitions of each element and method are not limited to the various specific structures, shapes or methods mentioned in the embodiments, and those of ordinary skill in the art can easily and well-known replace them, for example:
(1)CY7C009双口RAM器件还可以以FPGA器件内的双口RAM来实现; (1) The CY7C009 dual-port RAM device can also be realized by the dual-port RAM in the FPGA device;
(2)IS61NLP25636A随机存储器可以用SST38VF6403来代替; (2) IS61NLP25636A RAM can be replaced by SST38VF6403;
(3)OPA847型跨阻放大器可以用ADA4817来代替。 (3) The OPA847 transimpedance amplifier can be replaced by ADA4817. the
综上所述,本发明提供了一种用于光学向量-矩阵乘法器并行高速信息加载和提取的系统。该系统摆脱了传统方法中多个分离设备的束缚,形成了一套独立运行的并拥有自主体系的、具有自标定和调节功能的光学数字信号处理系统,可以广泛应用于密码学、语音识别、雷达系统、声纳系统等诸多海量数据处理领域。 In summary, the present invention provides a system for parallel high-speed information loading and extraction of optical vector-matrix multipliers. This system gets rid of the shackles of multiple separate devices in the traditional method, and forms an optical digital signal processing system that operates independently and has an autonomous system, self-calibration and adjustment functions, and can be widely used in cryptography, speech recognition, Radar systems, sonar systems and many other massive data processing fields. the
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention. the
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013104148817A CN103473213A (en) | 2013-09-12 | 2013-09-12 | System for loading and extracting parallel information of optical vector-matrix multiplier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013104148817A CN103473213A (en) | 2013-09-12 | 2013-09-12 | System for loading and extracting parallel information of optical vector-matrix multiplier |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103473213A true CN103473213A (en) | 2013-12-25 |
Family
ID=49798072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013104148817A Pending CN103473213A (en) | 2013-09-12 | 2013-09-12 | System for loading and extracting parallel information of optical vector-matrix multiplier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103473213A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208298A (en) * | 2015-10-28 | 2015-12-30 | 大连科迪视频技术有限公司 | A matrix switching system and matrix switching method for multi-format video signal switching |
CN105578083A (en) * | 2015-12-15 | 2016-05-11 | 西安电子科技大学 | Low Noise CCD Signal Imaging Electronics System |
CN106605204A (en) * | 2014-09-03 | 2017-04-26 | 美光科技公司 | Apparatuses and methods for determining population count |
CN110160563A (en) * | 2018-02-12 | 2019-08-23 | 杭州微策生物技术有限公司 | A kind of method of biosensor resistance adjustment encoded information |
CN110263296A (en) * | 2019-05-18 | 2019-09-20 | 南京惟心光电系统有限公司 | A kind of matrix-vector multiplier and its operation method based on photoelectricity computing array |
CN110263297A (en) * | 2019-05-25 | 2019-09-20 | 南京惟心光电系统有限公司 | A kind of control method of matrix-vector multiplier working condition |
CN112384748A (en) * | 2018-05-15 | 2021-02-19 | 轻物质公司 | Photon processing system and method |
US11281972B2 (en) | 2018-06-05 | 2022-03-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
CN114741352A (en) * | 2022-06-09 | 2022-07-12 | 杭州未名信科科技有限公司 | A method and device for implementing bilinear interpolation resampling based on FPGA |
US11507818B2 (en) | 2018-06-05 | 2022-11-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11671182B2 (en) | 2019-07-29 | 2023-06-06 | Lightmatter, Inc. | Systems and methods for analog computing using a linear photonic processor |
US11709520B2 (en) | 2019-02-25 | 2023-07-25 | Lightmatter, Inc. | Path-number-balanced universal photonic network |
US11719963B2 (en) | 2020-04-29 | 2023-08-08 | Lightelligence, Inc. | Optical modulation for optoelectronic processing |
US11734556B2 (en) | 2019-01-14 | 2023-08-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US12025862B2 (en) | 2019-12-04 | 2024-07-02 | Lightelligence PTE. Ltd. | Optical modulation for optoelectronic processing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040234657A1 (en) * | 2003-01-03 | 2004-11-25 | Keith Rowley | Method for treating plants and plant parts |
CN101630178A (en) * | 2008-07-16 | 2010-01-20 | 中国科学院半导体研究所 | Silicon-based integrated optical vector-matrix multiplier |
CN102023672A (en) * | 2009-09-23 | 2011-04-20 | 中国科学院半导体研究所 | Integrated optical vector-matrix multiplier based on micro-ring resonators |
-
2013
- 2013-09-12 CN CN2013104148817A patent/CN103473213A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040234657A1 (en) * | 2003-01-03 | 2004-11-25 | Keith Rowley | Method for treating plants and plant parts |
CN101630178A (en) * | 2008-07-16 | 2010-01-20 | 中国科学院半导体研究所 | Silicon-based integrated optical vector-matrix multiplier |
CN102023672A (en) * | 2009-09-23 | 2011-04-20 | 中国科学院半导体研究所 | Integrated optical vector-matrix multiplier based on micro-ring resonators |
Cited By (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10861563B2 (en) | 2014-09-03 | 2020-12-08 | Micron Technology, Inc. | Apparatuses and methods for determining population count |
CN106605204A (en) * | 2014-09-03 | 2017-04-26 | 美光科技公司 | Apparatuses and methods for determining population count |
US10559360B2 (en) | 2014-09-03 | 2020-02-11 | Micron Technology, Inc. | Apparatuses and methods for determining population count |
CN105208298B (en) * | 2015-10-28 | 2018-06-19 | 大连科迪视频技术有限公司 | A matrix switching system and matrix switching method for multi-format video signal switching |
CN105208298A (en) * | 2015-10-28 | 2015-12-30 | 大连科迪视频技术有限公司 | A matrix switching system and matrix switching method for multi-format video signal switching |
CN105578083A (en) * | 2015-12-15 | 2016-05-11 | 西安电子科技大学 | Low Noise CCD Signal Imaging Electronics System |
CN105578083B (en) * | 2015-12-15 | 2018-08-17 | 西安电子科技大学 | Low noise CCD image formation electronic system |
CN110160563A (en) * | 2018-02-12 | 2019-08-23 | 杭州微策生物技术有限公司 | A kind of method of biosensor resistance adjustment encoded information |
CN110160563B (en) * | 2018-02-12 | 2021-03-09 | 杭州微策生物技术股份有限公司 | Method for adjusting coded information by biosensor resistance |
US11626931B2 (en) | 2018-05-15 | 2023-04-11 | Lightmatter, Inc. | Photonic processing systems and methods |
CN112384748B (en) * | 2018-05-15 | 2022-06-17 | 轻物质公司 | Photon processing system and method |
US12113581B2 (en) | 2018-05-15 | 2024-10-08 | Lightmatter, Inc. | Photonic processing systems and methods |
CN112384748A (en) * | 2018-05-15 | 2021-02-19 | 轻物质公司 | Photon processing system and method |
US11907832B2 (en) | 2018-06-05 | 2024-02-20 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11783172B2 (en) | 2018-06-05 | 2023-10-10 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11507818B2 (en) | 2018-06-05 | 2022-11-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US12073315B2 (en) | 2018-06-05 | 2024-08-27 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US12001946B2 (en) | 2018-06-05 | 2024-06-04 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11687767B2 (en) | 2018-06-05 | 2023-06-27 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11281972B2 (en) | 2018-06-05 | 2022-03-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11853871B2 (en) | 2018-06-05 | 2023-12-26 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11734555B2 (en) | 2018-06-05 | 2023-08-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11734556B2 (en) | 2019-01-14 | 2023-08-22 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US12210964B2 (en) | 2019-01-14 | 2025-01-28 | Lightelligence PTE. Ltd. | Optoelectronic computing systems |
US11709520B2 (en) | 2019-02-25 | 2023-07-25 | Lightmatter, Inc. | Path-number-balanced universal photonic network |
CN110263296A (en) * | 2019-05-18 | 2019-09-20 | 南京惟心光电系统有限公司 | A kind of matrix-vector multiplier and its operation method based on photoelectricity computing array |
CN110263297A (en) * | 2019-05-25 | 2019-09-20 | 南京惟心光电系统有限公司 | A kind of control method of matrix-vector multiplier working condition |
US11936434B2 (en) | 2019-07-29 | 2024-03-19 | Lightmatter, Inc. | Systems and methods for analog computing using a linear photonic processor |
US11671182B2 (en) | 2019-07-29 | 2023-06-06 | Lightmatter, Inc. | Systems and methods for analog computing using a linear photonic processor |
US12244354B2 (en) | 2019-07-29 | 2025-03-04 | Lightmatter, Inc. | Systems and methods for analog computing using a linear photonic processor |
US12025862B2 (en) | 2019-12-04 | 2024-07-02 | Lightelligence PTE. Ltd. | Optical modulation for optoelectronic processing |
US11719963B2 (en) | 2020-04-29 | 2023-08-08 | Lightelligence, Inc. | Optical modulation for optoelectronic processing |
CN114741352A (en) * | 2022-06-09 | 2022-07-12 | 杭州未名信科科技有限公司 | A method and device for implementing bilinear interpolation resampling based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473213A (en) | System for loading and extracting parallel information of optical vector-matrix multiplier | |
CN108375861B (en) | High-speed high-precision optical analog-to-digital conversion device and method capable of realizing intelligent signal processing | |
TW202103025A (en) | Hybrid analog-digital matrix processors | |
CN112465137B (en) | A vortex beam mode recognition system and method based on photonic neural network | |
CN107342962A (en) | Deep learning intelligence Analysis On Constellation Map method based on convolutional neural networks | |
US20190244090A1 (en) | Serialized electro-optic neural network using optical weights encoding | |
CN101614876B (en) | New method and device for arbitrary beam shaping | |
CN101672696B (en) | A light polarization detector | |
CN107391520B (en) | Intelligent power distribution network planning and design auxiliary decision platform based on big data | |
CN111985320A (en) | A Multimode Vortex Beam Mode Recognition System Based on Feedforward Neural Network | |
Wang et al. | Comprehensive eye diagram analysis: a transfer learning approach | |
CN106352992B (en) | A kind of distortion vortex beams self-adapting correction method and system of the no wavefront without probe | |
CN101441169A (en) | Plane four-channel atmosphere polarization information detection sensor | |
CN204086568U (en) | A kind of super-high density electrical method data collector | |
CN112363229A (en) | High-density electrode switching access method and system based on FPGA and analog switch | |
Krasilenko et al. | Multichannel serial-parallel analog-to-digital converters based on current mirrors for multi-sensor systems | |
CN111679547A (en) | An Optical Time Domain Extension Imaging System with Non-Equal Space Sampling | |
CN203838301U (en) | Automatic testing device for pre-amplifier | |
CN114513259B (en) | Method and device for sampling and quantizing intensity-modulated optical signal | |
CN104155721B (en) | Optical Sampling system based on quantum dot mode-locked laser | |
CN206975227U (en) | A kind of multichannel pulse size analyzer | |
CN116846475A (en) | Optical ADC digital domain equalization method and device | |
CN108768512B (en) | A system and method for measuring the operating point of an all-optical PAM regenerator | |
CN102882595A (en) | Large-range, anti-interference and total-blindness automated optical signal dispersion damage monitoring method | |
CN104009797B (en) | Dispersion damage monitoring method based on numerical non-linear processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131225 |