Path: EDN Asia >> Design Ideas >> Power/Smart Energy >> Circuit provides more accurate multiplication
Power/Smart Energy Share print

Circuit provides more accurate multiplication

01 Jan 2012  | Yakov Velikson

Share this page with your friends

Common analog multiplying devices employ methods using transistor parameters. Precise versions of these devices use the logarithm method of multiplication. This method involves the addition of logarithms and an exponential conversion (Reference 1). Using these methods, you can achieve a minimal error of ±0.1%. This Design Idea reduces the error, employs readily available standard components, and maintains the correct voltage scale.

The structure squares the sum and the difference of both components of the desired multiplication. The difference of these squared values yields the result of the multiplication. You can scale the desired multiplication of a and b using the identity of 4ab=(a+b)2− (a−b)2. In a conceptual diagram, blocks 1 and 2 represent the input part of the device (Figure 1).

Click to enlarge

They comprise identical precise rectifiers. You implement these rectifiers with amplifiers A1, A2, A3, and A4 (Figure 2). They provide the addition and the subtraction of input voltages VA and VB. The rectifiers create the output voltages k(VA+VB), k(VA−VB), which have only positive polarity. You connect these outputs to a two-channel ADC, Block 3, and then to two identical DACs: DAC1 (Block 4) and DAC2 (Block 5).

Click to enlarge

The ADC converts k(VA+VB) and k(VA−VB) to proportional codes N1 and N2. The ADC must handle the conversion over the full range of the absolute sum |k(VA+VB)|. The reference voltage of the ADC should be equal to the maximum expected value of |k(VA+VB)|. Codes N1 and N2 translate to Register 1 of DAC1 and Register 2 of DAC2, respectively (Reference 2). These codes establish the values on the R−2R dividers of each DAC. The output voltages of blocks 4 and 5, comprising N1|k(VA+VB)| and N2|k(VA−VB)|, pass through operational amplifier A7 in Block 6. You configure the op amp with a differential input, which takes the difference between the inputs and creates the multiplication result on the output. For example, if both voltages VA and VB have a range of ±10V and the input range of the ADC is 0 to 10V, then coefficient k=R2/R1=0.5. The full sum of each part should be ±10V. Table 1 provides the results for all four quadrants of these conditions.

Click to enlarge

The systematic error of the multiplication is the sum of the discrete errors of the ADC and both DACs. This error depends on the resolutions of these devices. Choosing an ADC and DACs with greater resolutions will further reduce the overall error.

Tietze, Ulrich; Christoph Schenk; and Eberhard Gamm, Electronic Circuits, Second Edition, Springer, 2008, ISBN: 3540004297.

Peyton, AJ, and V Walsh, Analog Electronics with Op Amps: A Source Book of Practical Circuits, Cambridge University Press, July 31, 1993, ISBN: 052133604X.

Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.

Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming

News | Products | Design Features | Regional Roundup | Tech Impact