3
\$\begingroup\$

Is there a way to convert .s2p (touchStone) files to spice models? I have checked with various sites like www.emwonder.com and www.spice-club.com suggested in some forums but they didn't help me.

\$\endgroup\$

3 Answers 3

3
\$\begingroup\$

Yes. There is a tool named "s2spice.exe", created by Helmut Sennewald. You can find it on the LTSpice group: https://groups.io/g/LTspice/files/z_yahoo/Tut/S-Parameter/S-Parameter%20to%20SPICE

It will also be a good idea to read these topics:

\$\endgroup\$
2
\$\begingroup\$

In general, there is no easy way to do this. The best you can do is guess what circuit might produce those S parameters, then adjust the circuit parameters until you get a good match (possibly using optimization software).

The more you know about the actual details of the circuit, or the construction of the device you're modeling and its likely parasitics, the easier it will be to do this.

If the circuit you're modelling is a single transistor, there may be parameter extraction software available to do it. But you'd need more than just one S2P file. Something like S2P files at at least 2 bias points, plus dc curve traces, is likely to be required to get any kind of useful model.

If you use ADS rather than SPICE, you can simply tell the simulator to use the S2P file in a "data driven device model" to simulate the device. Of course this will only give accurate results if you bias the device at the same point that the actual device was biased when measuring the S-parameters, and it won't be useful for DC analysis.

\$\endgroup\$
1
\$\begingroup\$

In Keysight ADS, you can use Tools > Spice Model Generator > Start Narrow band generator. Set input file as touchstone and output file as spice netlist name.

Manual is here: http://literature.cdn.keysight.com/litweb/pdf/ads2002/pdf/spicemg.pdf

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.