This version (18 Feb 2022 18:04) was approved by Sakthivel Perumal.The Previously approved version (15 May 2018 12:06) is available.Diff


Click here to return to the Basic DSP page

There are two kinds of subtraction supported.

  1. Division (Real Signals)
  2. Division (Complex Signals)

Division (Real Signals)

The Division block allows you to divide two incoming signals. The division is performed using the Newton-Raphson iteration.

For a sample design using this block, see the Basic DSP example.

To use this block:

  1. Drag and drop it into the workspace.
  2. Right-click it and select Add Algorithm > IC N >
    • Newton Raphson 3 Iterations
    • Newton Raphson 4 Iterations
  3. Connect your signals to the pins of the block so that you are performing the division
  4. pin1 / pin2

The Newton-Raphson iteration is performed according to the equation:

This block lets you select the precision of the algorithm, whether to compute 3 or 4 iterations. There's a tradeoff between number of instructions and accuracy of computation for divisors (values of pin 2) less than 0.1. This means simply that fewer iterations are not as precise as more, but the more iterations the more instructions are entailed, with less room for programming the current DSP.

Below are error graphs for the 3- (below top) and 4-iteration (below bottom) algorithms, showing a difference of approximately two orders of magnitude:

Division(Complex Signals)

This module can be used to divide a complex signal with another complex signal.

          (x+iy) / (u+iv) = (xu + yv) + i(yu - xv) / (u^2 + v^2)

Note:- The Context Menu “Input Source” option added to this module to select the algorithm for Complex FFT and Real FFT as shown below

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Operand 1 complex Input complex signal 1
Pin 1: Operand 2 complex Input Complex signal 2

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Output Signal Complex Complex output signal

Grow Algorithm

Input pins growth not supported.

Supported DSPs

ADAU145x (Block Schematic only)

Example Usage

This can be used to divide complex signals

resources/tools-software/sigmastudio/toolbox/basicdsp/divide.txt · Last modified: 18 Feb 2022 18:03 by Sakthivel Perumal