开云体育

Filters (Butterworth, Chebychev etc.)


 

开云体育

I would like to apply filters to a signal of discrete sample points and watch the effect of order, gain and other characteristics.
Found this page:


Firefox refuses to download the files (e.g. Filt.zip at the bottom of the page) since the links aren’t secured. Any alternatives?

Christoph


 

开云体育



Am 12.07.2023 um 09:08 schrieb Christoph <kuku@...>:

I would like to apply filters to a signal of discrete sample points and watch the effect of order, gain and other characteristics.
Found this page:


Firefox refuses to download the files (e.g. Filt.zip at the bottom of the page) since the links aren’t secured. Any alternatives?


OK, I managed to download the Filt.zip file using?

$?wget


Christoph



 

开云体育

Now got one of these filters into my circuit. Anyone familiar with these models??
How do I have to set the parameters for a low pass filter, of, say, corner freq. = 100Hz?

窜颈苍=&濒迟;-1,0,0+..∞&驳迟; Ω Input impedance. There are three possible settings:
  • Zin=-1 ? zero-impedance input (voltage source)
  • Zin=0 ? high-impedance input (current source)
  • Zin>0 ? 调窜颈苍皑Ω
窜辞耻迟=&濒迟;0,0+..∞&驳迟; Ω Output impedance. There are two possible settings:
  • Zout=0 ? high-impedance output (floating)
  • Zout>0 ? 调窜辞耻迟皑Ω output
Only one of the impedances can be zero at a time!
fp1, fs1, fp2, fs2 Hz Corner frequencies for the passband and stopband, defaults <500,400,2k,2.5k>
BWp, BWs, fc Hz Alternate frequency settings: passband bandwidth, stopband bandwidth, and center frequency, defaults are calculated based on the corner frequencies and, based on those, <1.5k,2.1k,1k>
As dB Stopband attenuation, default 40
Asc dB Frequency-scaling attenuation. If Asc=0, N>0 the passband is optimized. Default 3.0103
N=<0:1:32>
N=<0:2:64>
- Order of the filter, its value represents the order after the frequency transformations. For lowpass and highpass the maximum order is 32 and can take odd and even values. For bandpass and bandstop it's 64, but only even values are valid. If N=0 and Asc>0, the minimum order is determined based on the values of the frequencies and attenuations. Default 13
sim s Total .TRAN simulation time, default 1
Rpar, Rser Ω LTspice's specific for inductors and capacitors, common for both (i.e. setting Rser means inductors and capacitors, together, will have it set, same for Rpar), defaults <1g,0>

Christoph

Am 12.07.2023 um 09:39 schrieb Christoph <kuku@...>:



Am 12.07.2023 um 09:08 schrieb Christoph <kuku@...>:

I would like to apply filters to a signal of discrete sample points and watch the effect of order, gain and other characteristics.
Found this page:


Firefox refuses to download the files (e.g. Filt.zip at the bottom of the page) since the links aren’t secured. Any alternatives?


OK, I managed to download the Filt.zip file using?

$?wget


Christoph




 

开云体育

I didn't have any trouble downloading Filt.zip - must be something in your Firefox setup. Perhaps you are using the HTTPS Everywhere add-in? You can disable the "https only" option, or temporarily disable the add-in.

If you still can't download it, I have placed it in Files > Temp, Filt.zip.

Don't forget, there are also 2nd order filter functions in the LTspice pre-installed libraries:

Place Component (F2) > SpecialFunctions

--
Regards,
Tony



On 12/07/2023 09:08, Christoph wrote:

I would like to apply filters to a signal of discrete sample points and watch the effect of order, gain and other characteristics.
Found this page:


Firefox refuses to download the files (e.g. Filt.zip at the bottom of the page) since the links aren’t secured. Any alternatives?


 

开云体育

Thanks for uploading the file. As said, I got it meanwhile. And thanks for pointing out LTSPIC’s builtin filter functions.

Christoph


Am 12.07.2023 um 10:36 schrieb Tony Casey <tony@...>:

I didn't have any trouble downloading Filt.zip - must be something in your Firefox setup. Perhaps you are using the HTTPS Everywhere add-in? You can disable the "https only" option, or temporarily disable the add-in.

If you still can't download it, I have placed it in Files > Temp, Filt.zip.

Don't forget, there are also 2nd order filter functions in the LTspice pre-installed libraries:

Place Component (F2) > SpecialFunctions

--
Regards,
Tony



On 12/07/2023 09:08, Christoph wrote:
I would like to apply filters to a signal of discrete sample points and watch the effect of order, gain and other characteristics.
Found this page:


Firefox refuses to download the files (e.g. Filt.zip at the bottom of the page) since the links aren’t secured. Any alternatives?



 

Tony wrote, "I didn't have any trouble downloading Filt.zip - must be something in your Firefox setup. ..."

I think the problem is that the LTwiki website uses http: (not secure https:) in many places.? That was a problem for the main LTwiki webpages too.? Currently, for me, the main LTwiki webpage (for information about LTspice) now uses https:, but the branches for Vlad's and Bordodynov's files still do not.? I don't use Firefox, but I guess Firefox (depending on its settings) might prevent you from downloading anything with an http: URL.? Google Chrome complains mightily, but if you are persistent and ignore all its warnings about it, you can get it to download from http: URLs.? Bit of a PITA.

Andy


 

开云体育


I uploaded my filter attempt to the file section. Hope all is self contained and it works.
Anything to correct?
Christoph

Am 12.07.2023 um 13:54 schrieb Andy I <AI.egrps+io@...>:

Tony wrote, "I didn't have any trouble downloading Filt.zip - must be something in your Firefox setup. ..."

I think the problem is that the LTwiki website uses http: (not secure https:) in many places.? That was a problem for the main LTwiki webpages too.? Currently, for me, the main LTwiki webpage (for information about LTspice) now uses https:, but the branches for Vlad's and Bordodynov's files still do not.? I don't use Firefox, but I guess Firefox (depending on its settings) might prevent you from downloading anything with an http: URL.? Google Chrome complains mightily, but if you are persistent and ignore all its warnings about it, you can get it to download from http: URLs.? Bit of a PITA.

Andy


 

开云体育

Your zip contains filt.sub and filter.asy, but your model is looking for filter.sub

?

From: [email protected] <[email protected]> On Behalf Of Christoph
Sent: Wednesday, July 12, 2023 9:07 AM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Filters (Butterworth, Chebychev etc.)

?

?

I uploaded my filter attempt to the file section. Hope all is self contained and it works.

Anything to correct?

Christoph



Am 12.07.2023 um 13:54 schrieb Andy I <AI.egrps+io@...>:

?

Tony wrote, "I didn't have any trouble downloading Filt.zip - must be something in your Firefox setup. ..."

I think the problem is that the LTwiki website uses http: (not secure https:) in many places.? That was a problem for the main LTwiki webpages too.? Currently, for me, the main LTwiki webpage (for information about LTspice) now uses https:, but the branches for Vlad's and Bordodynov's files still do not.? I don't use Firefox, but I guess Firefox (depending on its settings) might prevent you from downloading anything with an http: URL.? Google Chrome complains mightily, but if you are persistent and ignore all its warnings about it, you can get it to download from http: URLs.? Bit of a PITA.

Andy

?


 

Oh sorry. Uploaded again.