ΣSigmaStudio Ask AI Русский Log in

Frequency dependant gain stages

SigmaDSP & SigmaStudio CHL01 Oct 13, 2014 00:00 2 replies Original on forum ↗
Subscribe
CHL01 Question
Oct 13, 2014 00:00

Hi,

We have a question with regards to the ADAU1701 and Sigma studio that we hope you can help with.

We are trying to simulate a constant current output from a voltage amplifier (power amp) when driving inductive loads..

We have been working with the ADI ADAU1701 development kit and the DSP has proved more than capable of providing most of the functions we require but when it comes to equalising for the load it has proved more difficult.

We have tried using parametric boost/shelf functions to try and achieve this but these require the manipulation of several variables to try and approximate what we want to achieve.

And so finally to my question.

Are you aware of any functions in Sigma studio that can replicate a gain stage with an output that rises at constant 6db/octave from a single specifiable frequency?

Hope you can help.

Audio Signal Processors

frequency dependant gain stage

SigmaDSP Audio Processors

adau1701

KJBob Reply
Oct 13, 2014 00:00

Hello Andrew,

*** Edit -- The project file had its filters set for 96 KHz sample rate, but the -1701 register core control was set for 48 KHz (1x, 1024 instructions). Thus the simulated responses were correct, but the filters would provide incorrect response (corner frequency half the expected value) if run on the hardware. The attached project has been fixed. The spreadsheet remains the same. ***

By mixing the output of a differentiator (+6 Db / octave slope for all frequency) with a straight flat gain, you get a response that remains flat with increasing frequency until the differentiator's output dominates -- then its rising response takes over. Both these functions can be combined into a simple 2-tap FIR filter, as shown below:

A FIR differentiator's two coefficients are of opposite polarity, while a straight gain is just one positive coefficient. The attached spreadsheet calculates the combined filter's coefficients given the sample rate and the desired corner frequency.

Best regards,

Bob

f609c06d1741b7a1e322a6f58b3ab458.png
f609c06d1741b7a1e322a6f58b3ab458.png
f609c06d1741b7a1e322a6f58b3ab458.png-620x228.png
f609c06d1741b7a1e322a6f58b3ab458.png-620x228.png
EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin