Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
resources:tools-software:sigmastudiov2:modules:gain:singlevolumeshared [07 May 2021 06:40] Nikhin Shettyresources:tools-software:sigmastudiov2:modules:gain:singlevolumeshared [07 May 2021 06:43] – [DSP Parameter Computation] Nikhin Shetty
Line 10: Line 10:
   -Single Control Adjustable (RC Accurate)   -Single Control Adjustable (RC Accurate)
   -Complex Single Volume Control  (No-Slew)   -Complex Single Volume Control  (No-Slew)
-\\ 
 ===== Description ===== ===== Description =====
 The Single Volume Shared block controls level of the signal through slider. This block has single volume control for 'N' number of inputs. Connect an input signal and control its level with the slider. Optionally the slew rate can be adjusted in the range 1 to 23. The Single Volume Shared block controls level of the signal through slider. This block has single volume control for 'N' number of inputs. Connect an input signal and control its level with the slider. Optionally the slew rate can be adjusted in the range 1 to 23.
Line 25: Line 24:
 |Single Control Adjustable (RC Accurate)| NA | NA | S | |Single Control Adjustable (RC Accurate)| NA | NA | S |
 |Complex Single Volume Control  (No-Slew)| NA | NA | B | |Complex Single Volume Control  (No-Slew)| NA | NA | B |
-\\ 
 ===== Pins ===== ===== Pins =====
 ==== Input ==== ==== Input ====
Line 59: Line 57:
 \\ \\
 ===== DSP Parameter Computation ===== ===== DSP Parameter Computation =====
-|-----------------------|------------------------------------------| +|---------------------------------|---------------------------------------------------------------------------| 
-| SlewRate | =   Math.Pow(2, (-1*StepSize))+| SlewRate | = Math.Pow(2, (-1 * StepSize)) |
 | Gain | = Math.Pow(10, (DbGain/20)) | | Gain | = Math.Pow(10, (DbGain/20)) |
-| tc| = 0.04 * Math.Pow(2, (_slewRate - 1)) / 1000| +| tc | = 0.04 * Math.Pow(2, (_slewRate - 1)) / 1000| 
-|alpha |=Math.Exp(-1 / (tc * fs))| +|alpha | = Math.Exp(-1 / (tc * fs))| 
-|om_alpha |= 1 - alpha|+|om_alpha | = 1 - alpha|
 \\ \\
resources/tools-software/sigmastudiov2/modules/gain/singlevolumeshared.txt · Last modified: 13 May 2021 05:58 by Nikhin Shetty