a couple of LC filter progs

BESSIE designs LC Bessel filters up to 5th order.

LCNORM normalizes or scales filters for new frequencies or impedances. That's always a nuisance to do by hand.

formatting link

I hope I got them right.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin
Loading thread data ...

I'll also put in a plug for this site, which I've been using quite a bit lately to build elliptic BPFs at VHF:

formatting link

Results match those from the AADE program but this web-based program has the ability to specify standard part values, which the AADE program doesn't.

-- john, KE5FX

Reply to
John Miles, KE5FX

Here's a fully online one. Not a designer, but a simulator:

formatting link

Still rather clunky, and some features have already broken in newer Chrome. Haven't had any reason to update it though...

Tim

-- Seven Transistor Labs, LLC Electrical Engineering Consultation and Design Website:

formatting link

Reply to
Tim Williams

Why not publish the source code, so they can be scrutinised, and maybe rewritten in a modern language or for another operating system?

Open Source rules for this kind of thing.

Clifford Heath

Reply to
Clifford Heath

That's impressive. It looks competitive with the expensive NuHertz software. NuHertz also does some rare filter forms, and finite-Q designs.

I usually use a filter design program to get ideal values, then plug into Spice and try values that we have in stock.

Here's my units conversion program:

formatting link

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Spice does that too!

I am simulating some pulse generator output circuits that are screaming fast but ring at GHz time scales. So I'm simulating the circuit and a cleanup filter together, using a filter form that looks broadband ohmic on its output port to absorb cable reflections, ideas cribbed from Jeroen. Of course, the physical circuits don't behave like the sims.

This is a sim/test loop that ideally converges.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Well, I didn't write it to be pretty.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

John, you should provide the code.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

It's PowerBasic, which hardly anyone uses, and it's pretty hacked looking. It just sort of happened.

OK, added to the zip file.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Hey, John, that's not so bad, thanks!

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Filsyn is the most powerful LC filter program ever designed, and it is free (now). (It does more than LC filters.) It will do Bessel up to n=20. It is authored by George Szentirmai.

formatting link
formatting link

Al K also has made his PCFILT program available for free.

formatting link
formatting link

Do not be fooled by the funky alk web page design. These are very powerful programs. The only downside I can think of is the Filsyn interface has some quirks (I often run it in a VM), and its extraordinary capabilities may pu t it beyond reach of people with only a light understanding of filters.

Reply to
Simon S Aysdie

People are down on Basic and especially GOTO, but they suit the way I think.

U.EXE is 24 kilobytes. I once challenged a c program in a signal averaging application. c used pointers, I used subscripts. PowerBasic beat it on run speed by over 3:1.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

the

That's a very nice tool. It is very easy to use. I bookmarked it. I've neve r seen an online tool that nice.

If you're interested, I can say Filsyn will do general parametric filters. It will do arbitrary stop bands for parametric and conventional filters. (E lliptic filters have the constraint of equal rejection throughout the stopb and, which is almost always unnecessary.) Put the zeros where they count mo st.

Filsyn's LC manipulation capability post-synthesis is unmatched. It even do es trap exchanges. With post-synthesis manipulation you can almost always c oerce L values to COTS in BPF. Caps can be doubled up. The transforms/manip ulations are exact---no response distortion results. (AADE had a bit of thi s ability---for example, implementation of the Norton transformer.)

Reply to
Simon S Aysdie

On Apr 7, 2019, John Larkin wrote (in article):

signal averaging, any reasonable C program should be a factor faster. Something is wrong.

Joe Gwinn

Reply to
Joseph Gwinn

Microsoft introduced QuickBasic, an excellent compiler version, with proper compiled-langauge features, in the mid 80s. In the late 80s they brought out BC, a Basic Compiler, which was very advanced. Not especially cheap, but well worth the money. No line numbers and one would rarely use GOTOs, which went to labeled statementa if you did use them.

The Windows version became VisualBasic, which then combined with the other Microsoft compilers.

John can tell you about PowerBasic, which took things a few steps further.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

It's a serious super-optimized compiler, with many data types and "modern" constructs, like CASE and WHILE and TRY...CATCH. The compiler is written in PowerBasic. I can run non-trivial FOR loops at 100 MHz.

The guru was Bob Zale, who authored Turbo Basic but died in 2012. I doubt it will last a lot longer.

Python is good (and looks a lot like Basic!) but most versions are still interpreters. I think 1 MHz loops are possible. There are now some Python compilers.

Python would be great for embedded systems. We use it in all our automated test stands.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

On Apr 7, 2019, John Larkin wrote (in article):

Ahh. Thanks. The Basic of my youth could not be compiled (because it had some dynamic syntax that required access to the executing runtime), but those awkward constructs seem to have withered away, and we now have compiled Basic.

This Basic seems to be evolving towards Fortran.

Hmm. One must be careful of that word "compiled". In this case, does it mean compiled down to machine code, or to some kind of bytecode that is executed by a runtime engine (like Java)?

3:1? Something is still amiss. For something as simple as averaging, the same algorithm programmed in a pair of compiled language, ought to yield roughly equal speeds. Unless the algorithm is biased toward one or the other language. In particular, algorithms developed on one language often prove awkward if transliterated into a different language.

For many algorithms, C is faster than Basic (and Fortran) because one can pass objects in by address, even if the C compiler has no knowledge of that object.

An inspection of the generated assembly code may prove surprising.

Joe Gwinn

Reply to
Joseph Gwinn

x86 machine code. You can also insert inline ASM statements, which is occasionally useful. In asm, you can refer to Basic variables or labels by name.

The c guy played with code and compiler switches for a day and got close.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

That's ok, we don't pay attention to you because you're pretty, either. Even if you are :)

Reply to
Clifford Heath

I have been rarely called "sorta cute." My preferred public appearance is "invisible."

--

John Larkin         Highland Technology, Inc 
picosecond timing   precision measurement  

jlarkin att highlandtechnology dott com 
http://www.highlandtechnology.com
Reply to
John Larkin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.