This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:tools-software:sigmastudiov2:modules:gain:singlevolumeshared [07 May 2021 06:40] – Nikhin Shetty | resources: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 | -Complex Single Volume Control | ||
- | \\ | ||
===== Description ===== | ===== Description ===== | ||
The Single Volume Shared block controls level of the signal through slider. This block has single volume control for ' | The Single Volume Shared block controls level of the signal through slider. This block has single volume control for ' | ||
Line 25: | Line 24: | ||
|Single Control Adjustable (RC Accurate)| NA | NA | S | | |Single Control Adjustable (RC Accurate)| NA | NA | S | | ||
|Complex Single Volume Control | |Complex Single Volume Control | ||
- | \\ | ||
===== Pins ===== | ===== Pins ===== | ||
==== Input ==== | ==== Input ==== | ||
Line 59: | Line 57: | ||
\\ | \\ | ||
===== DSP Parameter Computation ===== | ===== DSP Parameter Computation ===== | ||
- | |-----------------------|------------------------------------------| | + | |---------------------------------|---------------------------------------------------------------------------| |
- | | SlewRate | = | + | | SlewRate | = Math.Pow(2, (-1 * StepSize)) |
| Gain | = Math.Pow(10, | | Gain | = Math.Pow(10, | ||
- | | 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| |
\\ | \\ |