The Digital Sampling Mixer (DSM) of the type described in the U.S. Pat. No. 7,028,070 and the FIR filter described in U.S. Pat. No. 6,035,320 are complex due to the relatively complicated multipliers and adder circuitry.
Furthermore, multipliers and adders are complex elements that generally contain active devices. Active devices create noise of various kinds and can limit the bandwidth of signal processing. Also, being active elements, the typical multiplier and adder circuit requires a power supply, and such a supply causes degradation due to a limited power supply rejection ratio. A finite power supply on an active element as is commonly used, also limits the signal amplitude that can pass though the system. Such a limitation places a lower limit on the signal to noise ratio.
Various embodiments relate to analog processing of a sum of products.
One aspect of the technology is an apparatus including a plurality of multiplier circuits with a resistive network, as follows. The plurality of multiplier circuits generate a differential analog product output by performing multiplication of a differential analog input and a variable multi-bit digital input. The multiplier circuits of the plurality of multiplier circuits comprise a resistive network sufficient to (i) generate partial products by performing multiplication of the differential analog input with different bits of the variable multi-bit digital input and (ii) combine the partial products according to varying weights of the different bits of the variable multi-bit digital input. The differential analog product outputs from the plurality of multiplier circuits are summed, by parallel electrical connection of the differential analog product outputs.
In some embodiments, the differential analog product outputs from the plurality of multiplier circuits include first analog product outputs and second analog product outputs. The differential analog product outputs are the differences between the first analog product outputs and the second analog product outputs. The resistive networks in the plurality of multiplier circuits include first networks generating the first analog product outputs and second networks generating the second analog product outputs. The resistive networks of the plurality of multiplier circuits comprise sets of switches controlled by the multi-bit digital inputs.
In one embodiment, the sets of switches generate the partial products by electrically coupling the differential analog inputs to the first networks generating the first analog product outputs or to the second networks generating the second analog product outputs.
In one embodiment, positions in the resistive networks of switches in the sets of switches result in the varying weights of the partial products. In one embodiment, the sets of switches are positioned between first parts of the resistive networks corresponding to the partial products and second parts of the resistive networks corresponding to the varying weights of the partial products.
In some embodiments, the resistive networks include a number of copies of a cell of resistors and switches. The number of copies of the cell corresponds to a number of partial products in the multiplication. The copies of the cell are electrically connected in sequence.
In one embodiment, the differential analog input is supplied to the copies of the cells. Different bits of the variable multi-bit digital input are supplied to different copies of the cells. The different copies of the cells generate different partial products.
In one embodiment, positions of the cell in the sequence correspond to the varying weights of the partial products.
In one embodiment, the copies of the cell are electrically connected in sequence via a particular resistance in the cell. The electrically connected sequence of cells is terminated with twice the particular resistance in the cell.
Some embodiments further include sample and hold circuitry.
In one embodiment, the sample and hold circuitry provides finite impulse response filter inputs as the differential analog inputs to the plurality of multiplier circuits.
In one embodiment, the sample and hold circuitry provides digital sampling mixer inputs as the differential analog inputs to the plurality of multiplier circuits.
Another aspect of the technology is an apparatus including a plurality of multiplier circuits with a resistive network, as follows. The plurality of multiplier circuits generate a differential analog product output by performing multiplication of a differential analog input and a fixed multi-bit digital input. The multiplier circuits of the plurality of multiplier circuits comprise a resistive network sufficient to (i) generate partial products by performing multiplication of the differential analog input with different bits of the fixed multi-bit digital input and (ii) combine the partial products according to varying weights of the different bits of the fixed multi-bit digital input. The differential analog product outputs from the plurality of multiplier circuits are summed, by parallel electrical connection of the differential analog product outputs.
In one embodiment, the fixed multi-bit digital input is a fixed interconnection of resistors.
In some embodiments, the differential analog product outputs from the plurality of multiplier circuits include first analog product outputs and second analog product outputs. The differential analog product outputs are the differences between the first analog product outputs and the second analog product outputs. The resistive networks include first networks generating the first analog product outputs and second networks generating the second analog product outputs. The partial products are electrically coupled to the first networks or to the second networks according to the fixed multi-bit digital inputs of the plurality of multiplier circuits.
In some embodiments, the resistive networks include a number of copies of a cell of resistors. The number of copies of the cell corresponds to a number of partial products in the multiplication. The copies of the cell are electrically connected in sequence.
In one embodiment, the differential analog input is supplied to the copies of the cells. Different bits of the fixed multi-bit digital input are supplied to different copies of the cells. The different copies of the cells generate different partial products.
In one embodiment, positions of the cell in the sequence corresponding to the varying weights of the partial products.
In one embodiment, the copies of the cell are electrically connected in sequence via a particular resistance in the cell. The electrically connected sequence of cells is terminated with twice the particular resistance in the cell.
Some embodiments further include sample and hold circuitry.
In one embodiment, the sample and hold circuitry provides finite impulse response filter inputs as the differential analog inputs to the plurality of multiplier circuits.
In one embodiment, the sample and hold circuitry provides digital sampling mixer inputs as the differential analog inputs to the plurality of multiplier circuits.
Another aspect of the technology is an apparatus including a plurality of multiplier circuits with a resistive network, as follows. The plurality of multiplier circuits generate a single-ended analog product output by performing multiplication of a differential analog input and a variable multi-bit digital input. The multiplier circuits of the plurality of multiplier circuits comprise a resistive network sufficient to (i) generate partial products by performing multiplication of the differential analog input with different bits of the variable multi-bit digital input and (ii) combine the partial products according to varying weights of the different bits of the variable multi-bit digital input. The single-ended analog product outputs from the plurality of multiplier circuits are summed, by parallel electrical connection of the single-ended analog product outputs.
In some embodiments, the single-ended analog product outputs from the plurality of multiplier circuits include first analog product outputs. The single-ended analog product outputs are the first analog product outputs. The resistive networks in the plurality of multiplier circuits includes first networks generating the first analog product outputs. The resistive networks of the plurality of multiplier circuits comprise sets of switches controlled by the multi-bit digital inputs with bits having a first value or a second value.
In one embodiment, the sets of switches generate the partial products corresponding to the bits having the first value (e.g., ‘1’) by electrically coupling the differential analog inputs to the first networks generating the first analog product outputs.
In one embodiment, positions in the resistive networks of switches in the sets of switches result in the varying weights of the partial products. In one embodiment, the sets of switches are positioned between first parts of the resistive networks corresponding to the partial products and second parts of the resistive networks corresponding to the varying weights of the partial products.
In some embodiments, the resistive networks include a number of copies of a cell of resistors and switches. The number of copies of the cell corresponds to a number of partial products in the multiplication. The copies of the cell are electrically connected in sequence.
In one embodiment, the differential analog input is supplied to the copies of the cells. Different bits of the variable multi-bit digital input supplied to different copies of the cells. The different copies of the cells generate different partial products.
In one embodiment, positions of the cell in the sequence corresponding to the varying weights of the partial products.
In one embodiment, the copies of the cell being electrically connected in sequence via a particular resistance in the cell. The electrically connected sequence of cells is terminated with twice the particular resistance in the cell.
Some embodiments further include sample and hold circuitry.
In one embodiment, the sample and hold circuitry provides finite impulse response filter inputs as the differential analog inputs to the plurality of multiplier circuits.
In one embodiment, the sample and hold circuitry provides digital sampling mixer inputs as the differential analog inputs to the plurality of multiplier circuits.
Another aspect of the technology is an apparatus, including a plurality of multiplier circuits with a resistive network, as follows. The plurality of multiplier circuits generate a single-ended analog product output by performing multiplication of a differential analog input and a fixed multi-bit digital input. The multiplier circuits of the plurality of multiplier circuits comprise a resistive network sufficient to (i) generate partial products by performing multiplication of the differential analog input with different bits of the fixed multi-bit digital input and (ii) combine the partial products according to varying weights of the different bits of the fixed multi-bit digital input. The single-ended analog product outputs from the plurality of multiplier circuits are summed, by parallel electrical connection of the single-ended analog product outputs.
In one embodiment, the fixed multi-bit digital inputs of the plurality of multiplier circuits are fixed interconnections of resistors.
In some embodiments, the single-ended analog product outputs from the plurality of multiplier circuits include first analog product outputs. The single-ended analog product outputs are the first analog product outputs. The resistive networks in the plurality of multiplier circuits include first networks generating the first analog product outputs. The partial products corresponding to bits of the fixed multi-bit digital input having a first value (e.g., ‘1’) are electrically coupled to the first networks.
In some embodiments, the resistive networks include a number of copies of a cell of resistors. The number of copies of the cell corresponds to a number of partial products in the multiplication corresponding to bits of the fixed multi-bit digital input having a first value. The copies of the cell being electrically connected in sequence.
In one embodiment, the differential analog input is supplied to the copies of the cells. Different bits of the fixed multi-bit digital input are supplied to different copies of the cells. The different copies of the cells generate different partial products.
In one embodiment, positions of the cell in the sequence corresponding to the varying weights of the partial products.
In one embodiment, the copies of the cell being electrically connected in sequence via a particular resistance in the cell. The electrically connected sequence of cells is terminated with twice the particular resistance in the cell.
Some embodiments further include sample and hold circuitry.
In one embodiment, the sample and hold circuitry provides finite impulse response filter inputs as the differential analog inputs to the plurality of multiplier circuits.
In one embodiment, the sample and hold circuitry provides digital sampling mixer inputs as the differential analog inputs to the plurality of multiplier circuits.
Other embodiments are directed to methods.
Aspects of the technology relate to implementing an electronic analog sum-of-products device. Resistors and transmission gates are sufficient to implement the device.
In some embodiments, a multiplication and addition is accomplished with only passive devices (resistors) and possibly switches. In one embodiment no active devices are in the signal path, excepting the switches which approximate resistances, and no noise is introduced by any active devices. Furthermore, there is no power supply to limit the signal level and noise can therefore be optimized by use of a large signal.
The present technology is a significant improvement upon the FIR filter and Digital Sampling Mixer, as well as any circuit with a sum of products architecture. In embodiments of the technology, multiplication and summation are achieved with the use of resistors and without requiring active devices. The resistor connectivity is a DAC (Digital to Analog Converter) at each tap point, and the DAC networks so connected are themselves interconnected to form an addition to a specified output node. The multiplicand is expressed as a quantized quantity in the interconnection of resistors per tap; the multiplier is an analog quantity applied to the resistors at the tap point; and the output is an analog quantity present at a specified output node in the overall network. Some embodiments have transmission gates and the embedded multiplicand is dynamically altered either at run time in certain ‘rotating coefficient’ FIR filters, or at configuration time to adjust the frequency domain shaping of pipeline based analog FIR filters.
A sum-of-products circuit is useful in signal processing systems. For example, a FIR (Finite Impulse Response) filter is a sum of products, as is a neural network node, the elements of the DSM, or any other form of weighted average.
The sum-of-products “y” may be expressed as a sum over an index i from 1 to N, of the product xi×wi: where ‘x’ is a finite set of input parameters, and ‘w’ a finite set of weights, each of cardinality ‘N’. Each element of the set ‘x’ is multiplied by the corresponding element of the set ‘w’ and the results are summed to create a single output parameter ‘y’. The technology described herein relates to the use of analog circuits to perform the sum of products.
In an analog implementation the set of quantities ‘x’ are analog and hence are continuously variable (not quantized); the set of variables ‘w’ may be discrete or analog; and the output quantity ‘y’ is analog. In an FIR application embodiment, U.S. Pat. No. 4,120,035 is modified with the technology described herein, such that the analog quantity ‘x’ is stored in a charge coupled device, a discrete quantity ‘w’ is a set of digital coefficients, and an analog multiplier and summation circuit described herein is used to form the sum of products. In another FIR application embodiment, the FIR architecture of U.S. Pat. Nos. 4,475,170 and 6,035,320 has an analog FIR filter modified to omit a pipeline of analog samples, and instead use a ‘round-robin’ form of sample and hold with rotating (or otherwise dynamically selectable) coefficients using the technology described herein. The technology described herein replaces the coefficients (annotated as Cn), the switches (for example ‘24’), and the multiplier (for example, ‘14’) in U.S. Pat. No. 6,035,320. No selection mechanism is necessary, nor is a separate coefficient and multiplier. Resistors and transmission gate switches are sufficient for this embodiment; such resistors are inherently linear.
An example of a DAC at the tap point is a voltage mode R-2R DAC. The voltage mode R-2R DAC can use differential input.
The complete set of voltages selectable on the output is shown in
The output in this case is a voltage relative to ground. Some embodiments have an output quantity as a difference between node voltages.
The R-2R DAC has constant output impedance of R. In
Using X1 as the input voltage between In1 and In1b, X2 as the voltage input between In2 and In2b, W1 as the setting on the switches S1 through S4 and W2 as the setting on the switches S5 through S8, then Y=(X1*W1+X2*W2)/2. Achieved is the sum of two products with this network.
A differential DAC network per tap implements the multiplication and a common connection with known impedances implements a summation.
The Circuit Need not Use a DAC
One embodiment removes the DAC. It is not a DAC if there is no digital input. It is also not a DAC if the arrangement of resistors or the switches is not one of the known forms of analog to digital converter. Another embodiment has a circuit with a novel R-2R DAC.
Removing the DAC
The DAC of
However, in other embodiments, the coefficients will not be changed and in these cases the circuit of
Relative to
Example with a Novel R-2R DAC
The circuit of
The circuit of
Example of a 10 Bit Control Number and 100 Tap Points
Making use of an iterated schematic, the following is a complete example of a sum of products circuit that uses ten digital control bits for the multiplicand and provides a sum of products over one hundred ‘x’ inputs.
The circuit of
Two resistors are used (for example R1 [2] connected on a two bit bus—in these cases each resistor connects to each element of the bus). These components are wrapped into an icon and connected to make a ten bit digital multiplicand—equivalently a ten bit DAC.
To illustrate the rule for connections from busses to instances, the 2-bit wide A bus has 2R R1[2]. This makes the following SPICE netlist:
R1 B[0] A[0] 1000.0
R1—1 B[1] A[1] 1000.0
In
The resistor R2 within the SwCell is connected in series: in the zero'th instance of SwCell the bottom of the two resistors R2 connect to the bus ‘C’; the tops connect to X[0] and X[1]. X[0] and X[1] then connect to the bottom of the R2 resistors in the 1'st instance of SwCell; the tops emerge on X[3] and X[2] and connect to the bottom of the 2'nd instance and so forth. Until finally, in the 9'th instance the tops emerge on the wires B[1] and B[0]. Thus the resistors R2 are connected in series throughout the ten instances of SwCell (the ten instances are 0, 1,2,3 . . . 7,8,9). Resistors which are connected to the resistive network that emerges on wire B[1] can be considered one resistive network, and resistors which are connected to the resistive network that emerges on wire B[0] can be considered another resistive network
So
Having developed this methodology of iterated instances, transparent icons and bus naming, the following discusses the complete 100 term sum of products:
In
In
One embodiment is an improvement of the digital sampling mixer of U.S. Pat. No. 7,028,070, incorporated by reference herein, enhanced with the use of the sum-of-products circuit described herein. In
This DSM [digital sampling mixer] is an example of where the digital bus ‘S’ is set one time during configuration (configuration time') and thereafter held constant.
One embodiment is an improvement of the FIR filter of U.S. Pat. No. 6,035,320, incorporated by reference herein, showing the use of a sum-of-products and exemplifying the present technology's use of a multiplexer or similar circuit at the input to each multiplier, allowing the use of a ‘round robin’ sample and hold array rather than a pipeline of analog sample and holds. In the circuit of
To generate the single-ended output embodiment from the differential output embodiment, switches and resistors associated with In1b and OutB are deleted, such that partial products corresponding to a ‘0’ input bit in the multi-bit digital input, are never created, and partial products corresponding to a ‘1’ input bit in the multi-bit digital input, are created. In some embodiments, rather than deleting the switches, the switches become single-pole to discard partial products associated with the Outb output. In some embodiments, partial products corresponding to a ‘0’ input bit in the multi-bit digital input, are created (therefore preserving resistors of the differential embodiment) but the partial products are discarded.
This application is a continuation of PCT Application No. PCT/US10/20157, filed 5 Jan. 2010 which claims the benefit of U.S. Provisional Application No. 61/285,868 filed 11 Dec. 2009, and this application claims the benefit of U.S. Provisional Application No. 61/285,868 filed 11 Dec. 2009, all of which are incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
61285868 | Dec 2009 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/US10/20157 | Jan 2010 | US |
Child | 12683119 | US |