Frd / Zma to ltspice - a simple tool

FRD2SPICE is a little tool that generates a spice model from frd / zma files that I wrote a couple of years a ago. (It generates a .SUBCKT netlist.)

I thought I'd share it here in the hope that might be useful to others as well ho like to do xover simulation in ltspice. (Or any spice variant that supports frequency tables really.)

The generated model is implemented using frequency tables and voltage / current sources. It's intended to be used for .ac analysis (frequency response).

The tool will ask for 5 files:
Spice file: name of the .lib file to be generated.
zma file: Impedance data.
3 frd files: Typically one on axis + two off axis files (the last two are optional. Just click cancel if you don't want to use off axis data.)

Files included:
FRD2SPICE.exe: The tool it self. An enormous 10Kb file... You may have to run it in compatibility mode on windows 8.1/10 because i originally wrote it for windows 7 32bit.

SpkrTbl.asy: Ltspice speaker symbol, it takes two parameters: driver name + DeltaX (acoustic centrer compensation in meters, usually = 0)

Dayton2way.asc: A simple example project to get you started.
Some .frd & .zma files: used in the above project.

Enjoy!

ex1.jpg

ex2.jpg

View attachment FRD2SPICE.zip
 
Last edited: