Samuel Groner

    Zürich, Switzerland
  • Posts: 2935
Exporting SPICE Simulation Data
« on: May 26, 2008, 10:50:15 AM »
Hi

I'm looking for a way to export Protel simulation data to a format readable by MATLAB (e.g. a tab-separated text format). Upon some googling I found a HP tool that claims to convert the *.sdf files but it seems as if the HP and Protel format would be different as the tool cannot load the files. Any ideas?

Samuel


keefaz

Exporting SPICE Simulation Data
« Reply #1 on: May 26, 2008, 01:08:44 PM »
I am not familiar with protel files but does .sdf has something to do with "standard data format" files ? If yes, maybe you should be able to import them in office excel  style programs, then export them as tab separated
(sorry if this does not help, but I thought it was worth mentioning)

Samuel Groner

    Zürich, Switzerland
  • Posts: 2935
Exporting SPICE Simulation Data
« Reply #2 on: May 26, 2008, 03:08:32 PM »
I think the standard data format is ASCII based which my files are not; they seem to consist of a preamble which states the displayed format (coloures etc.), followed by a messy binary chunck of data. Looks like something proprietary, I'm afraid...

Samuel

Tubemooley

Exporting SPICE Simulation Data
« Reply #3 on: June 02, 2008, 05:11:33 AM »
I'm pretty certain that Protel turned into Altium's DXP. We use Altium's P-CAD which has been discontinued but they still support it. We have a copy of their DXP. Let me fire it up and see what the export choices are. I'm not familiar with the .sdf file format. I have used the DXP simulator and it works pretty nicely. But I haven't ever tried to export the results. Let me see what I can find out and get back to you. DW.

Samuel Groner

    Zürich, Switzerland
  • Posts: 2935
Exporting SPICE Simulation Data
« Reply #4 on: June 02, 2008, 03:17:44 PM »
Thanks, looking forward to your findings... Yeah, Protel -> Altium.

Samuel

Tubemooley

Exporting SPICE Simulation Data
« Reply #5 on: June 05, 2008, 10:59:07 AM »
I haven't forgotten Samuel. It's taking me longer than expected. Should have some sort of reply early next week. DANA.

stickjam

Exporting SPICE Simulation Data
« Reply #6 on: June 05, 2008, 11:52:02 AM »
One of those "if-this-doesn't-exist-it-would-be-cool-to-write-one-myself-but-with-what-free-time" things....

Wouldn't it be cool to have a VST plugin that sent and returned audio streams as voltage sources in a SPICE simulation?  I know there's at least one SPICE app that reads/writes WAV files, but it'd be neat to be able to tweak and listen to a simulated circuit in real-time.

Does this exist?

--Bob

Samuel Groner

    Zürich, Switzerland
  • Posts: 2935
Exporting SPICE Simulation Data
« Reply #7 on: June 05, 2008, 11:59:36 AM »
Solving half a zillion numerical differential equations per second--well...

Samuel

stickjam

Exporting SPICE Simulation Data
« Reply #8 on: June 05, 2008, 12:16:28 PM »
Quote from: "Samuel Groner"
Solving half a zillion numerical differential equations per second--well...

Samuel


So you're saying latency would be a problem?   :green:  :green:  :green:  :green:

Guess I'll have to wait for the Intel Supercalifragisticexpialidociouseon 256-core processor.  :wink:

Tubemooley

Exporting SPICE Simulation Data
« Reply #9 on: June 09, 2008, 05:13:09 AM »
I got a new PC at work and I haven't loaded the new Altium Designer on it yet. And I had to re-install windows on my old PC so that install of Altium DXP is now gone.

I did a little bit of google research. That app formerly known as Electronics Workbench is now owned by National Instruments. Apparently the latest version of MultiSim (which is part of that package) will export directly into MatLab. Go check out this link -http://www.ni.com/pdf/academic/us/2004-165_final.pdf
Read down to page 12. There's part of a MatLab program there which may help you.

Let me get the new Altium installed and get back to you again. Sorry to drag you out on this answer. DANA.


Tubemooley

Exporting SPICE Simulation Data
« Reply #10 on: June 24, 2008, 04:18:35 AM »
Samuel - I ran into this webpage. It is a .m file which imports raw SPICE data into MatLab. It looks like it may have a couple of bugs in it. But maybe it can point you in the right direction.

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=8237&objectType=file

DW.


 

Related Topics

  Subject / Started by Replies Last post
17 Replies
8546 Views
Last post July 21, 2005, 12:42:56 PM
by clintrubber
1 Replies
2584 Views
Last post August 05, 2010, 05:36:17 PM
by mushy
21 Replies
2185 Views
Last post April 08, 2018, 03:19:43 PM
by bluebird
1 Replies
906 Views
Last post November 22, 2018, 06:05:52 PM
by jarvis