I know what you mean, Kev, but this is the very reason I'm posting the question. It *is* possible to contrive a simulation to establish a device's S -parameters in Spice, notwithstanding real-world distributed reactances. I simply would like to know *how* it's done!
"What is now proved was once only imagin'd." - William Blake, 1793.
Didn't find your answer? Ask the community — no account required.
C
Christopher
Hi!
Anyone know where I might be able to find a PCI pin layout?
I want to build an inexpensive card to plug into my PC. I'd like to address the card by a specific address location and pass data using the 32-bit PCI slot.
Any thoughts are most appreciated.
Thanks
K
kubik
I' m using magic as layout editor with a scmos technology that is available when you install magic. I want to use irsim as switch level simulator for doing simple simulations of my circuits. The problem is that i' m not able to create my .prm files of irsim because i' don' t have the spice models of the transistor in this technology. My question is this: Have i to build the spice models of the transistors simply putting into the standard spice models ( in spice3f for example ) the process parameters of the technology? , i must get on the web the spice models linked to the technology? or are there some ways to extract them?
Thanks in advance
K
kubik
I need to use a circuit simulator under a linux O.S. I downloaded LTSpice ( Switcher-CAD III ) and i found a .exe file. I ask: is there a linux version of LTSpice? If not can i use LTSpice under wine and how i can do it?
Thanks in advance.
M
Mike Engelhardt
kubik,
Yes, that version of LTspice will run on Linux w/ WINE. Here is the relavent part of the FAQ:
Q. Do you have a version of LTspice for Linux? A. Not a separate edition, but it does run under WINE. The program has been tested on Linux RedHat 8.0 with WINE version 20030219.
Q. OK, I've never used WINE, how do I install that on my Linux box? A. 1. Check with
formatting link
to find the current version of WINE for your system. At the time of this writing, for RedHat 8.0, this points to
formatting link
2. Copy the appropriate .rpm file to your machine and open it from nautilus. 3. Get the file swcadiii.exe from
formatting link
In an xterm, execute "wine swcadiii.exe" to install LTspice. 4. There will now be a Linear Technology Logo on your gnome desktop. Double click it to start or type "wine scad3.exe" from an xterm to start the program. That's it!
Q. The schematic fonts don't scale as smoothly under WINE as Windows. Why is that? A. WINE is doing the best best it can with the fonts it finds. It will do better if you tell it how to find the files arial.ttf and cour.ttf from your Windows system.
Q. The PWL additional point editor doesn't look right under WINE? A. Try using the native Windows .dll from your Windows system. The command line to then invoke LTspice from WINE is: wine -dll commctrl,comctl32=n scad3.exe.
Q. It seems LTspice is running slightly differently under WINE/Linux than windows. Why is that? A. LTspice detects whether or not it's running under WINE. If so, it works around a few WINE issues. You can force LTspice to think it's running under WINE with the command line switch -wine. You can force it to think it's not with the command line switch -nowine in case you're interesting in debugging WINE.
Q. Under Windows, LTspice extends the virtual address space for waveform viewing to 64 bits. Does that work under WINE? A. Yes. It has been tested on waveform files over 5 Gigabytes in size.
Q. Under Linux, does it support unlimited component count and depth of schematic hierarchy? A. Yes. Opps, no. The maximum depth of hierarchy is 64 levels but that limit is just there to allow detection of infinite subcircuit recursion. (Most "unlimited" SPICE's "limit" you to about 21 levels.) LTspice has no limit on node or component count either per page or for the entire circuit.
Q. Does cross-probing while simulation work with those slick marching waveforms while running under Linux? A. Yes.
Q. So from what version on is LTspice supported under WINE? A. 2.01g.
--Mike
P
Paul Baumer
Hi, I would like to simulate one circuit that uses a MOC3023 but a can't find a model for LTSpice. Perhaps someone have such a model and can post it here.
Thanks, Paul
J
James Jackson
Christopher,
PCI does not work like ISA - I don't believe that you are able to directly access it by 'specific address location'.
There is a specification for PCI at the PCI working group... not sure where their site is - a Google search should turn up a good site. I would recommend it for pinouts and trace length specifications - if you're going to do it right.
Regards,
James Jackson Oztronics
L
Leon Heller
What interface hardware are you going to use? PCI is difficult to work with, even if you buy off-the-shelf interface chips. All the PCB tracks have to be the correct length, for instance.
Leon
Leon Heller, G1HSM
http://www.geocities.com/leon_heller
A
analog
Does anyone know how to model an IGBT in LTspice? Specifically,
> I am trying to simulate a photo flash design with a Fairchild
> SGR20N40L.
A nearly native IGBT model would be a worthwhile addition to LTspice. Here's what I've come up with. It's simple, fast and seems to be a reasonable match to the data sheet for gain, charge and switching.
This model is nothing more than an N-channel mosfet driving a pnp bjt. It could be placed on a schematic as an explicit mosfet-bjt compound pair along with a SPICE directive (text) containing the two corres- ponding model statements, or it could be invoked as a subcircuit coupled to LTspice's built-in NIGBT symbol (located in the "Misc" symbol subfolder). In an attempt to accurately capture switching behavior, gate charge is modeled using LTspice's highly efficient custom VDMOS with its convenient built-in nonlinear miller d-g capacitance, and storage time tailing is added via the pnp's "tf" (transit time) parameter. Note that for the VDMOS, "Is" has been set to zero in an attempt to disable the body diode. By leaving out certain (seemingly) unnecessary parameters, internal device nodes have been kept to a minimum in the interests of quick run times. If anyone uses this model (or a modified version of it), please post a message to report unrealistic behavior or any other simulation difficulties.
Like most spice models this one responds to the static global temp- erature setting. Unfortunately, also like most spice models, this one has no dynamic internal thermal feedback. Looking at the stepped gate drive family of output curves from the data sheet, it seems local die heating causes the normally constant current portion of the curves to bend down as voltage and dissipation rise (probably due to the inverse temperature dependence of junction voltage). By the basic physics of the device I believe these lines would slope up slightly were it not for the dynamic temperature rise. Adding the parameter Lambda=50m (or there abouts) to the VDMOS model would add this effect if it proved important to near-isothermic pulsed applications. -- analog
K
Ken Smith
I am running LTSpice 2.09j, Suse-8.1 and wine version 20040213.
Except for a nagging problem with the cursor when drawing wires, it works just fine for what I need.
There are two problems that Mike could fix when he gets a spare minute. (like that will ever happen)
(1) On my machine, when drawing wires, the cursor does not undraw its self as it moves. I have to zoom to force it to repaint.
(2) Also on my machine, if you have a signal source from a wave file and also write to another wave file, the sim runs very very slowly or in fact hanges, I not sure which.
--
kensmith@rahul.net forging knowledge
M
Mike Engelhardt
Ken,
Could you verify that this happens in the current version(2.10z) and report to the address on the Help=>About dialog box.(I never put that e-mail in print anywhere else for spam reasons.) I'm not at my linux box right now, but my memory tells me that at least the cursor problem doesn't happen on Linux/WINE.
--Mike
A
analog
Interesting, but unfortunately most of the modeling techniques from these papers are bloated and cumbersome when expressed as spice code (and probably don't lend themselves to working with LTspice's mosfet's non-linear g-d capacitor extension. The basic model I have shown should run very fast in LTspice, and with reasonable accuracy.
Latch up is a fault condition that occurs outside the device's safe operating area. Such behavior is normally not included as part of a device model in spice. (What would be the point?) Dynamic temperature effects are a completely different story and would be a welcome extension for all power devices, IMO, especially if they were built into the device model code at the spice level.
Do you have any experience with the speed and performance of this model anything like it? -- analog
P
Paul Burke
Here:
You'll be as well to use something like a PLX PCI9052, it saves a lot of work and you can be (reasonably) sure that it works (the caveat is because some PCs, notably Compaqs, have been known to screw up on this). But if you only want to use it yourself, you can take a note of where the plug-and-play puts things, and choose a spare address. I really think using the 9052 is going to be just as easy. They'll even give you a schematic and a layout if you ask them nicely.
Paul Burke
C
Chuck Harris
example:
netmung file1 file2
awk ' -----' "$1" > "$2"
If you don't know how many arguments will exist when netmung is called, you can use the shift command to get them one at a time:
$0 = name of program $1 = first argument $2 = second argument .... $9 = ninth argument
NOTE! $10 is *not* the tenth argument!
If you need more than 9 arguments, you must use the shift command
-Chuck
kubik wrote:
T
terry
IEEE trans. Industry Apps May/June 2004 vol. 40 no. 3 has the following paper:
"advanced spice modelling of large power IGBT modules" by Azar et al.
Azar & co enhance the Kraus IGBT SPICE model to account for p-i-n injection, allowing accurate simulation of both trench and DMOS IGBTs. It also incorporates the parasitic thyristor effect, showing the CD and dynamic temperature-related latchup phenomenon.
They reference Kraus' original paper: "physics based models of power semiconductor devices for the circuit simulator spice" R.Kraus, J. Sigg, proc.IEEE PESC '98 vol.2 pp1726-1731
cheers Terry
K
kubik
I don't know if this is the right group to ask this question but i try. I have to modify a netlist using awk. I have to use awk many times so i have organized a bash shell script in which a call awk every time i need. Now i have to pass to this script some parameters by command line when i call it and then use this parameters when i call awk. For example
----- awk ' ------ ' file1 > file2 awk -----
I want to pass file1 e file2 by command line
How i can do it in bash shell.
Thanks to all!
T
terry
Indeed. But Kraus' entire purpose was to make a model that ran well under spice. The augmented model likewise is designed to run fast, and allows both PT and NPT devices to be simulated fairly accurately. That being said, I have yet to try it.
ayup. I like the mosfet models with a temperature input, they make electro-thermal modelling a breeze, and can clearly show thermal runaway (if your heatsink model is 1st-order accurate)
nah, not yet - but if I get a contract I have tendered for, I will be looking into it in a LOT of detail, as I will be soft-switching a grunty
3-phase bridge (10kW - 1MW).....
keep us posted on how your model gets on though - Im not proud, I will use anything that works....
cheers Terry
K
Ken Smith
You mean "doesn't happen on my Linux/WINE" I assume and yes I will do it over the next day or two.
--
kensmith@rahul.net forging knowledge
C
Chuck Harris
By putting the double quotes around $1.
eg. awk "$1"
single quotes tell the shell to ignore all enclosed characters, double quotes tell the shell to ignore all enclosed characters, except $, `, and
So, if you use double quotes, like this: "$1", the shell will expand $1 into the first argument to the shell.
If you use single quotes, like this: '$1', the shell will treat $1 like any other string, and pass it through unchanged, as $1
The back quote (`) tells the shell to execute the command enclosed and send its stdout to the shell.
echo `ls`
will execute the ls command, and pipe its stdout to the echo command which will send it to the console, just like typing ls would do.
-Chuck
K
kubik
How I can refer to $1 and $2 passed by shell in awk models? For example if i write awk '--- $1--- {---} ' ----- $1 is interpreted as the first string of the line and not as the parameters passed by shell. How i can do it? Thanks
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.