# US 7,536,431 B2 · Vector-matrix multiplication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 7,536,431 B2
- Document ID: US7536431B2
- Status: Granted
- Kind: B2
- Application number: 10/488,581
- Filed: 2002-09-03
- Published: 2004-12-02
- Granted: 2009-05-19
- Earliest claimed: 2001-09-03
- Assignees: Lenslet Labs Ltd.
- Inventors: Avner Goren; Aviram Sariel; Shimon Levit; Yosefa Asaf; Sergio Liberman; Benzion Sender; Tzvi Tzelnick; Yaron Hefetz; Eyal Moses; Vered Machal
- Web page: https://patentgrep.com/patent/US7536431B2

## CPC

- G06E 1/045: {Matrix or vector computation}
- G06T 1/0007: {Image acquisition}
- G06E: OPTICAL COMPUTING DEVICES (digital storage using optical elements G11C13/04)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An integrated VMM (vector-matrix multiplier) module, including an electro-optical VMM component that multiplies an input vector by a matrix to produce an output vector; and an electronic VPU (vector processing unit) that processes at least one of the input and output vectors. Various error reducing mechanisms are also discussed.

## Claims

### Claim 1

An integrated VMM (vector-matrix multiplier) module, comprising:
an electro-optical VMM component that multiplies an input vector by a matrix to produce an output vector;
an electronic VPU (vector processing unit) that digitally processes digital data comprised in at least one of the input and output vectors; and
a memory that stores at least one of matrix replacement values, at least one previous output vector and instructions for a component of the module.

### Claim 2 (depends on 1)

A module according to claim 1, comprising a DSP (digital signal processor) that processes at least one of the input vector, the output vector or the matrix.

### Claim 3 (depends on 2)

A module according to claim 2, wherein at least one of said DSP and VPU are programmed to calculate an update value for at least part of said matrix.

### Claim 4 (depends on 1)

A module according to claim 1, wherein said VMM component includes a local memory buffer for update values of said matrix.

### Claim 5 (depends on 1)

A module according to claim 1, comprising a register file adapted for exchanging information between said VMM and said VPU.

### Claim 6 (depends on 5)

A module according to claim 5, wherein said register file includes a register copy ability for transferring information between registers.

### Claim 7 (depends on 1)

A module according to claim 1, comprising a parameter extractor which extracts at least one parameter from at least one of said vectors.

### Claim 8 (depends on 7)

A module according to claim 7, wherein said parameter comprises an extreme value element.

### Claim 9 (depends on 1)

A module according to claim 1, wherein said VMM module comprises a pre-processor which preprocesses said input vector, to improve a quality of its processing by a matrix component of said VMM.

### Claim 10 (depends on 1)

A module according to claim 1, wherein said VMM module comprises a pre-processor which preprocesses said input vector, to correct for artifacts caused by processing by a matrix component of said VMM.

### Claim 11 (depends on 1)

A module according to claim 1, comprising a vector buffer for buffered input from an external circuit.

### Claim 12 (depends on 11)

A module according to claim 11, wherein said buffer receives 8 bit data in parallel.

### Claim 13 (depends on 1)

A module according to claim 1, comprising a controller which controls the operations of the VMM component and the electronic VPU.

### Claim 14 (depends on 13)

A module according to claim 13, wherein the VMM component and the electronic VPU have operations cycles and the controller controls the operations of the VMM component and the electronic VPU in each operation cycle based on commands it receives.

### Claim 15 (depends on 14)

A module according to claim 14, comprising controller memory which stores the commands of the controller.

### Claim 16 (depends on 14)

A module according to claim 14, wherein the commands received by the controller include a field for each of the VMM component and the electronic VPU.

### Claim 17 (depends on 14)

A module according to claim 14, wherein the commands received by the controller include a field for program flow commands.

### Claim 18 (depends on 14)

A module according to claim 14, wherein the commands indicate for the VPU one or more of a precision to be used by the VPU, a method of overflow treatment and a parameter of truncation.

### Claim 19 (depends on 14)

A module according to claim 14, wherein the commands are generated by compiling high language directives.

### Claim 20 (depends on 1)

A module according to claim 1, formed as part of at least one of the following:
a cellular telephone signal processor;
WBCDMA (Wide Band Code Division Multiplexing Access) processor;
an automated face recognition system;
an XDSL (Digital Subscriber Line) modem;
an OFDM (Orthogonal Frequency Division Multiplexing) processor;
a VDB Wireless Broadcast processor;
a GSM cellular communication system;
an EDGE (2.5 G) cellular communication system;
a packet processor;
a router;
a switch;
a compression protocol processor;
a decompression protocol processor;
a JPEG processor;
an MPEG processor;
an MP3 processor;
a CELP/LPC voice processor;
a spectrum analyzer;
a machine vision processor; and
a correlation engine.

### Claim 21

An integrated VMM (vector-matrix multiplier) module, comprising:
a electro-optical VMM component that multiplies an input vector by a matrix to produce an output vector; and
a controller, wherein said controller is operative to replace values in only a part of said matrix.

### Claim 22

A method of improving signal detection in an electro-optical VMM, comprising:
receiving an input vector and a matrix to be processed by said VMM; and
rearranging said input vector on an input of said VMM and said matrix in a matrix portion of said VMM, in a manner that improves signal detection.

### Claim 23 (depends on 22)

A method according to claim 22, wherein rearranging comprises spatially separating vector elements to reduce cross-talk.

### Claim 24 (depends on 22)

A method according to claim 22, wherein rearranging comprises duplicating at least some vector elements.

### Claim 25 (depends on 24)

A method according to claim 24, wherein rearranging comprises duplicating an entire vector.

### Claim 26 (depends on 24)

A method according to claim 24, wherein rearranging comprises rearranging said matrix.

### Claim 27 (depends on 24)

A method according to claim 24, wherein rearranging comprises rearranging said input vector so that at least some light sources of said VMM can be extinguished.

### Claim 28

A method of improving signal detection in an electro-optical VMM, comprising:
receiving an input vector and a matrix to be processed by said VMM; and
adapting values of at least one of said input vector on an input of said VMM and said matrix in a matrix portion of said VMM, in a manner that improves signal detection.

### Claim 29 (depends on 28)

A method according to claim 28, wherein adapting comprising negating values of at least some vector elements.

### Claim 30 (depends on 28)

A method according to claim 28, wherein adapting comprises shifting a baseline value to be non-zero, such that light sources of the VMM are not extinguished to achieve this base line value.

### Claim 31 (depends on 28)

A method according to claim 28, wherein adapting comprises amplifying or reducing input value to make use of an available dynamic range of said VMM.

### Claim 32 (depends on 28)

A method according to claim 28, wherein adapting comprises shifting an input value base line to make use of an available dynamic range of said VMM.

### Claim 33 (depends on 28)

A method according to claim 28, wherein adapting comprises applying a linearity correction.

### Claim 34 (depends on 28)

A method according to claim 28, wherein adapting comprises weighting vector elements with weights that correspond to a number of zero values in a corresponding matrix column.

### Claim 35 (depends on 28)

A method according to claim 28, wherein adapting comprises weighting at least one of vector elements and matrix elements with weights that correspond to an average of values in corresponding matrix columns.

### Claim 36

A method of improving signal detection in an electro-optical VMM, comprising:
receiving an input vector and a matrix to be processed by said VMM;
processing said vector by said VMM to produce an output vector; and
adapting values of said output vector, by applying a history correction which corrects for residual affects of a previous computation performed by said VMM.

### Claim 37 (depends on 36)

A method according to claim 36, wherein said adapting comprises applying a temperature correction.

### Claim 38 (depends on 36)

A method according to claim 36, wherein said adapting comprises applying a correction for an adaptation made to said input vector.
