PSPICE SIMULATION OF A RESONANT CONVERTER CIRCUIT FOR SWITCHED RELUCTANCE MOTOR DRIVES Souvik Ganguli1*. 2: PSPICE Circuit for Resonant Converter. The spice model for the MCP601 op-amp by Microchip results in the following error when used in LTSPICE. Help converting PSPICE model to LTSPICE.
YOU WILL NEED TO DOWNLOAD THE FREE VERSION OF PSpice 6.0 DOS (see below)!!! The MPS Interface creates one full loop between Matlab and PSpice (you can add fitting routines later).
It is a fully running function/program, but you will need to write your own code to adapt it to your problem!! Please see this tool as a demonstration that shows you, how to connect Matlab and PSpice 6.0 for DOS (works absolutely fine). The zip-file contains the demo files test.m and test.mat and also the files - makeNetList.m: a simple electrical circuit with variables - writepwl.m: to write time/data files for PSpice - readdat.m: to import data from PSpice - PSpice60.m: to set parameters and call PSpice and also - setPCM.m: just a specific file for my demo problem - writeCIR.m: shows what's necessary for a.cir file Extract all files and folders (!) and files to C: (you can change this later).
Also download PSpice 6.0 (see below) and install/extract it. Copy the files PSEXEC.EXE and DOS4GW.EXE to C: MPS PSpice60. Then you're good to go, change the current Matlab directory to C: MPS Matlab and start with 'test.m' This is an early 'prototype', I will try to update it A.S.A.P. And add a detailed explanation/tutorial. However, the advanced user might like this as a template already.
. Converts S-parameters to broadband SPICE models. Allows SPICE simulation of any device in time domain as well as in frequency domain using its S-parameter data. Generates highly accurate SPICE models over broadband frequencies at a touch of a button.
Accepts S-parameters in Touchstone format or Raw Data format. Finds the optimum order within the specified range at user's option. Enforces stability at all times and passivity at user's option. Provides immediate access to the accuracy of SPICE model against the original S-parameter data via plots and RMS errors. Further refines the accuracy of SPICE model for each S-parameter at user's option. Does not use large matrices to achieve high order because of computationally efficient algorithms.
Generates macromodels in Native HSPICE® Format for the users of HSPICE® or General SPICE Format for the users of all other SPICE simulators. Features DC value correction at user's option, compact SPICE macromodels for fast simulation, and more.