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

High pass filter issue for sigma3.9 version.

SigmaDSP & SigmaStudio paul.wu Apr 8, 2014 00:00 5 replies Original on forum ↗
Subscribe
paul.wu Question
Apr 8, 2014 00:00

Hello ,

I am use Sigma Studio to setting sigmaDSP , but I have some question. High-pass first-order differences between the different versions in SIGMA Studio, Calculated according to the formula described in Help, version 2.8 version is correct, update to 3.9, 3.10 and formulas differ from the above data Can help answer questions such as drawings situation.

Thank you.

--Paul

65998a1d3772647aec9a145980b3f730.png
65998a1d3772647aec9a145980b3f730.png
65998a1d3772647aec9a145980b3f730.png-450x253.png
65998a1d3772647aec9a145980b3f730.png-450x253.png
63481ba4b782404e4a9fefbfe3e1878e.png
63481ba4b782404e4a9fefbfe3e1878e.png
63481ba4b782404e4a9fefbfe3e1878e.png-450x253.png
63481ba4b782404e4a9fefbfe3e1878e.png-450x253.png
4f1417b277c35891143cc8ac068273c5.png
4f1417b277c35891143cc8ac068273c5.png
4f1417b277c35891143cc8ac068273c5.png-450x253.png
4f1417b277c35891143cc8ac068273c5.png-450x253.png
KJBob Reply
Apr 9, 2014 00:00

Hello Paul,

Your two screenshots appear identical (both from SigmaStudio 3.9), so I'm not sure if you're referring to the coefficient calculations, their location in parameter memory, or a different problem. However, first-order HP filter info in version 3.10's help file does disagree with the Toolbox wiki at: https://wiki.analog.com/resources/tools-software/sigmastudio/toolbox/filters/general1storde

The wiki version is the correct one.

We can make a test by typing coefficients into the General Second-Order Filter, which works as a first-order filter when a2 = b2 = 0 --- its diagram reduces to this:

I was able to match responses with the stock First-Order HP filter by entering coefficients as shown below. Note that the formula for b0 should use e (2.718....), although the approximation 2.7 may work. Also the sign of a1 is always a bit confusing since the DSPs need to have their "a" coefficients negated. If the filter doesn't work, try flipping the sign(s) of a(n).

Best regards,

Bob

bdb377310bfe0009cd974777163b2931.jpg
bdb377310bfe0009cd974777163b2931.jpg
bdb377310bfe0009cd974777163b2931.jpg-450x230.jpg
bdb377310bfe0009cd974777163b2931.jpg-450x230.jpg
0817d2a296212cb7c7e5db3ebc5503f5.jpg
0817d2a296212cb7c7e5db3ebc5503f5.jpg
0817d2a296212cb7c7e5db3ebc5503f5.jpg-561x242.jpg
0817d2a296212cb7c7e5db3ebc5503f5.jpg-561x242.jpg
paul.wu Reply
Apr 10, 2014 00:00

Hi Bob

I am sorry. I am fill another screenshots appear. Thank you for your help.

Thank you.

--Paul

--

8bca47197fc0fe0f6208e8e355b26f68.bmp
8bca47197fc0fe0f6208e8e355b26f68.bmp
6404.8bca47197fc0fe0f6208e8e355b26f68.bmp
6404.8bca47197fc0fe0f6208e8e355b26f68.bmp
8131c07e13aff01b888367641c609ece.png
8131c07e13aff01b888367641c609ece.png
8131c07e13aff01b888367641c609ece.png-450x253.png
8131c07e13aff01b888367641c609ece.png-450x253.png
KJBob Reply
Apr 10, 2014 00:00

Hello Paul,

We can see how SigmaStudio has changed since version 2.7 (the earliest I go back is ver. 3.2).

It's interesting that the old version set all three first-order HP coefficients the same except for sign. This goes contrary to what I see in books on the subject. However, plugging the "old" coefficient set into the General IIR filter the same way as above, also provides a proper high-pass response (see below):

Apparently, a change was made in a SigmaStudio revision after 2.7 that affects the coefficient calculations. I searched through the SigmaStudio Release Notes (included with the standard installation) and found this entry, which may explain the change:

So my advice is simply -- if the filter performs to your satisfaction, don't worry about it.

Best regards,

Bob

2970726656c6ace47021126425149c5f.jpg
2970726656c6ace47021126425149c5f.jpg
2970726656c6ace47021126425149c5f.jpg-565x242.jpg
2970726656c6ace47021126425149c5f.jpg-565x242.jpg
76aa6cf6531a2095da758acf384b293b.jpg
76aa6cf6531a2095da758acf384b293b.jpg
76aa6cf6531a2095da758acf384b293b.jpg-565x107.jpg
76aa6cf6531a2095da758acf384b293b.jpg-565x107.jpg
paul.wu Reply
Apr 10, 2014 00:00

Hi Bob

Thank you for your help. Thank you.

FormerMember Reply
Jul 1, 2020 00:00

Hello Bob

Can you explain elaborately why " Also the sign of a1 is always a bit confusing since the DSPs need to have their "a" coefficients negated" I see this in my parameter window ..I want to understand why this is a necessity