A showcase of the analog filters.
Hello, I am Vlad, welcome to what would be my homepage. It holds models for LTspice↗ and a few other utilities. Some of them should be SPICE compatible, but take that with a grain of salt, always test them, never trust the seller. They're GPL'ed, if it matters. Below is a brief description of what the entries in the top menu are about.

Filter manual

The Filter is a library containing subcircuits of analog and digital filters. There are more details inside the manual but, in a few short, descriptive words, it holds the following: -3dB/octave and Bessel (no Thiran), Butterworth, Chebyshev, inverse Chebyshev and Cauer/Elliptic (analog and IIR), plus windowed FIR filters such as (among others): rectangular, Hann, Hamming, Blackman, Kaiser, Dolph-Chebyshev, but also pulse-shaping Gaussian, raised cosine and root-raised cosine, differentiator and Hilbert transformer. Almost all support low-pass, high-pass, band-pass and band-stop, some also all-pass.

Since LTspice is a dedicated analog circuit simulator, the digital filters are, of course, built in an analog way, limited by the "engine": no N bits quantizing and transients may suffer from spikes or sample distortions. Of course, digital also means speed penalty for time domain so high orders will mean lots of transmission lines, which limit the timestep. This means that the time-domain will be getting slower by the order; how much, it depends on your hardware. Still, the Filter supports both time- and frequency-domain analysis and the usage should come in handy for anyone.

However, I'm only human, so mistakes are possible. If you find this useful and happen to stumble across inconsistencies, please let me know, so I can correct them, by writing a mail at imbvlad at google's. I'll respond as quickly as I see the mail.

The manual, as it is today, is a single, long html page found in the top menu Filter Manual (it's a .php page, but the only thing loaded is the navigation menu; simply rename .php to .html). The symbol, Filter.asy, and the subcircuit file, filter.sub, are inside the archive, in ./html/files/, along with all the examples, or separate (the online version doesn't have the files). Any updates brought to the Filter are usually added to the manual, as well, so when a new major change appears, the archives will be updated, as well; no need for separate downloads. If minor changes occur, though, an archived version of the stand-alone files will be uploaded.

TOP

[0101], [Filt], [Math], [Pwr]

The four square-bracketed entries mimic the folders as seen in the LTspice's component browser: [0101] has some digital models, [Filt] has mostly signal processing related models, [Math] has LTspice native functions, plus some home-brew ones, available as one- or two-input symbols, built with usability in mind, and, finally, [Pwr] holds some power electronics related blocks, mostly three-phase. Almost all of them, if not all, are behavioural approaches, to make simulation at block level possible without the speed penalty, or sacrificing too much precision. It also allows for replacing a specific ideal block with a real-life case schematic, while not having such an impact on performance. I hope they are as useful to you as they are to me.
TOP

Examples

Various examples with LTspice. For now, a few schematics mainly regarding power conditioning (pq and dq theories, active power filters and such), built with models from the four libraries, which also serves as a sort of a showcase, but not with this specific emphasis in mind.
TOP

Useful

It hosts two files: a syntax highlighting .lang file and an optional colour theme matching LTspice's, both of them made for text editors that use GtkSourceView↗ under the hood (such as gEdit, Mousepad, Scribes).
TOP

Rants

Random ramblings: alternatives to the usual behavioural math expressions, some thoughts on filtering in SPICE, plus some amusing but useless other implicit math possibilities. For now.
TOP