Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Locked schematic files will not copy
Hello, have not posted here for quite a while!
I have a number of schematic files that have a small lock icon just to the left of them when I display the files in a folder. When I select all the files and drag them into a USB memory stick folder, only the unlocked files copy across. Any idea what I am doing wrong? Thanks |
Re: inductance with a permeability in dependency of frequency
--- In LTspice@..., Andy <Andrew.Ingraham@...> wrote:
Andy, Nonlinear inductor work fine in the frequency domain. The first thing LTspice does for an .AC analysis is to find the DC operating point. Then any nonlinear devices are linearized at their operating point. .AC analysis, by definition, is a small signal linear analysis and it does not deal with nonlinear devices other than noted above. Rick |
Re: Is it possible to link several symbols to the same package?
--- In LTspice@..., "highfidelityinc" <steve54@...> wrote:
Hello Steve, You could name the opamps U4A, U4B, U4C, U4D and do some extra post-processing to modify the PCB-netlist. Maybe this earlier discussion will help. "pcb layout s/w for use with ltspice" It starts with message #52018 and ends with the interesting message/offer #52082 from Peter. Best regards, Helmut |
Is it possible to link several symbols to the same package?
Forgive me for asking such a basic question but is it possible to link several symbols (e.g. *.asy files) to the same package? I mean, say I have a quad opamp. I would like to position each of the 4 opamp individually on the schematic and maybe the power and ground to a separate symbol. Then when I export the Netlist to draw the PC layout, they are all assigned to the same package.
Currently I just make one big symbol with all four opamps and power and ground. But by doing that I cannot lay out my schematic as clearly without creating a rat nest of interconnecting wires. Many thanks for your advice. Steve |
Re: inductance with a permeability in dependency of frequency
Hi Andy,
toggle quoted message
Show quoted text
as the game plays in the RF ham area, the AC view will be the right way ! I will try to find out, how it will work with the a table . Thanks Herbert Am 14.07.2013 18:08, schrieb Andy:
|
Re: inductance with a permeability in dependency of frequency
John Woodgate
In message <krbus2+ba2e@...>, dated Sun, 7 Jul 2013, Herbert <afu@...> writes:
dows anybody have an idea for modelling a inductance with a permeability in dependency of frequency ??I want to go right back to the beginning. Because you gave very little information, people have assumed various things and that can make the whole thing complex and confusing. First of all, what frequency range are we in, and what is the material whose permeability depends on frequency? Secondly, is this material significantly lossy in that frequency range or not? For example, if you are looking at nickel-iron at audio frequencies, the losses are secondary, but if you are looking at ferrites at radio frequencies, then whether the losses are significant or not depends on which grade of ferrite you are looking at. If the losses are NOT significant, then why bother with permeability? The inductance is proportional to it, so you can just use a table of inductance against frequency. If the losses ARE significant, you CAN model as L and R parallel but both need a table of values against frequency. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk Why is the stapler always empty just when you want it? John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: inductance with a permeability in dependency of frequency
Herbert (<afu@...>) wrote:
Is it possible to give LTSPICE a value by a formula expression based on a table ( interpolation???) ?Yes you can. But the problem is that it tends to work well in .AC analysis but not in .TRAN analysis. Also, many inductive devices with iron-based cores are nonlinear, which makes them difficult (impossible) to quantify in the frequency domain alone. Andy |
Re: Locked files
John Woodgate
In message <krufd8+qauu@...>, dated Sun, 14 Jul 2013, jason. vanryan <andrewc.russell@...> writes:
I am trying to copy my circuit files from one computer to another. Some of the files have a little lock icon next to them. These files will not copy across to a USB drive. If I open them individually and then save them to the USB drive its ok.You have probably got your files in C:\Program Files\... and Windows will not let you copy files from there to another computer. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk Why is the stapler always empty just when you want it? John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: inductance with a permeability in dependency of frequency
Hi Alzie and aall the others which answered,
Alzie is nearly right with the way of explanation what I have seen, but it is not possible to describe the behaviour by S?ICE just with a parallel resistor. On that page under B you will find a real measured Z-Plot in vetorial notation ( with the phase on the right side ) and the initial measurement of inductivity of 20uH. The core is lossy in the range of the plot ( Amidon Mat 43) and the model with jus the parallel resistance does NOT do enough or right. So my idea was to define the permeability in its complex form and give a table of values or artificaly evaluated polynom with permeabilty factors over frequency. Is it possible to give LTSPICE a value by a formula expression based on a table ( interpolation???) ? Thanks in advance Herbert Am 09.07.2013 14:48, schrieb alzie:
[Non-text portions of this message have been removed] |
Re: Help! How do I do find maximum signal easily!
--- In LTspice@..., Macy <macy@...> wrote:
Are you talking about GNU Octave and are you working under windows or linux? If you are working under linux then you may be able to write a netlist for ngspice. You would then be able to run all your analysis commands together between control statements, e.g: .control all analysis statements here .endc More examples here: But then you would have to post on a ngspice forum. |
Re: arbitrary solar cell model
Dear Andy and Dear Fred
toggle quoted message
Show quoted text
Firstly, I really cannot explain my feelings when I see that you do your best for to solve my problem, I thank you very much. Couple of days ago, I was in vacation and I was thinking that the problem can be from Voc and Isc calculators and actually when I separate the Evoc and Eisc from the main circuit and just grounded them, the distortion disappeared but again it is not working for 2 cells in series while by making two cells in series the open circuit voltage should be doubled which is not happening (it was happening before I separate the calculators but with distortion) ! For making the things more clear, I draw the circuit in Paint ( so ashamed that cannot work with schematics and SPICE good). and corrected circuit But solving this issue is a real challenge for me ! maybe there is only a mistake on nodes ! while it works in parallel not in series ! Again I should say that I really appreciate your helps so far thank you thank you and thank you again. Kind regards Hamed --- In LTspice@..., "qrx3" <fredh@...> wrote:
|
Re: Strange behavior for simple RC circuit
No, it would not. The first thing LTspice does is find the initial operating point. Voltage sources are set to their DC values, and effectively LTspice "waits" until everything stabilizes, before proceeding. Remember that a DC voltage source is unchanging. Ever. It's as if your 6V battery was created with the Big Bang and has been sitting at exactly 6V ever since that time. In effect you got what you asked for. If you wanted the circuit to start at 0V you should have set your battery to that. There are a few ways to tell LTspice to behave differently. One is to set the voltage source to start at 0V and turn on at slightly after t=0. Another is to instruct LTspice to not find that initial operating point. Andy |
Re: Strange behavior for simple RC circuit
On Sat, 13 Jul 2013 23:01:59 -0400, Julio wrote:
I am looking at simple RC circuit with a time constant of 1 sec and a 6 VLook at the .tran card (it's on the schematic.) Right click it and look near the bottom of the dialog box to find "skip initial operating point solution" and check it so that this step will be skipped. Then re-run the solution. Jon |
Strange behavior for simple RC circuit
I am looking at simple RC circuit with a time constant of 1 sec and a 6 V
battery. Doing a transient analysis, at t=0 the capacitor is already fully charged at 6.0 volts! I don't recall giving initial conditions for the cap, so if I did not shouldn't the cap start In a fully discharged state? Sincerely, Julio |
Re: different resistance for .tran and .ac not working any more?
--- In LTspice@..., "haubmi1" <Michael.Haub@...> wrote:
Hello Michael, You have used resistance values of 1f. That's a very bad idea. Change it to 1u and the simulation will run with the normal solver. Lesson from today: never use femto-Ohms. .subckt simple-openloopgain1 in out params: reakt=100Gig L1 in out {reakt} Rser=0 C1 2 1 {reakt} Rpar=0 R1 in 2 100G AC 1u R2 out in 1u AC 100G V1 1 0 0 AC 1 .ends simple-openloopgain1 Best regards, Helmut |
Re: Help! How do I do find maximum signal easily!
hmmm...maybe I was too quick to dismiss this
IF I use three 'different' text files, one for each analysis type, then bounce between them! Now if there is just some way to include the the command strings: 'file' 'export' select style of output, overwrite, yes is there a way to add command strings like this?? If so, you have REALLY automated this for me! --- dwh@... wrote: From: David Hawkins <dwh@...> To: LTspice@... Cc: Macy <macy@...> Subject: Re: [LTspice] Re: Help! How do I do find maximum signal easily! Date: Fri, 12 Jul 2013 16:07:44 -0700 [snip] and the .ac using specific values requires storing on theWhy not put all the relevant text into file, and then .include it. It makes the schematic look nicer, and allows you to add header comments to the file along with relevant comments throughout the file. Cheers, Dave |
Re: arbitrary solar cell model
--- In LTspice@..., "analogspiceman" <analogspiceman@...> wrote:
There is no problem with LTspice. It is faithfully calculatingHuh? It's just the standard diode equation, as taught in every elementary device course. It may not be the best way to do what the OP is trying to do, but it seems quite reasonable to me to expect that it should give a reasonable answer. After all, spice solves this exact equation in maybe a majority of the active circuit it simulates, maybe for a dozen elements at a time, why should one expect that it can't handle it in a dependent source? To call this "extremely ill-formed" seems quite hyperbolic. These sorts of content-free, bullying responses make me think the bully is trying to avoid intelligent discussion by intimidation. Sorry I don't react well to that, and I really expect better from this forum. [/rant] The trouble arises from taking the ratio of two exponentialNot really, the exp() in the denominator is constant, and a reasonable value (e**21.7 is well in range of even single-precision floats), it just modifies the constant Visc multiplier to provide the correct open-circuit voltage. The case where things fail is when the input is negative so nothing should blow-up. The "very large" values occur with positive voltages where everything works fine. However you are certainly correct that LTspice seems to be launching itself off the end of its numerical range, ending up with a solution that is completely unrealistic yet the simulator does not recognize that this has happened. Look at the circuit when Vout is negative. The Bidiode source becomes a very low-value current source, with very low incremental conductance. It is in parallel with two high-conductance linear resistors. The Rs dominate what is happening in this regime, why on earth would spice feel the need to drive the voltage at that node so far negative that it wraps around? The circuit is very well-behaved in this range but somehow spice goes off the deep end. I'd have more sympathy if the sim failed at higher voltages when the B source had a significant dI/dV, not where the element is basically out of the circuit. Or if there were no resistors in the circuit so the dV/dI might blow up, but that's not the case either. As more proof that something odd is going on, why does this problem go away when the Voc voltage is changed from an expression of constant inputs to a pure constant? There is no reason the solver should be perturbing the constant inputs to that equation, but apparently it is. This also works fine in a transient analysis if one starts the independent sources at 0, but not otherwise. This raises the question: does LTspice try to solve things like this with some higher-level approach than an incremental analysis? Symbolic analysis? I'm at a loss. lead to numerical clipping, which LTspice handles well without crashingNice that it doesn't crash, but it is wrong to claim a valid solution when this happens, and worse that it uses this bizarre state as the starting point for the next iteration. At the very least make a mention of this in the error log. I'd prefer it recognize that the clipping (wrap-around, I think) has occurred and at least flag that it can not find a solution, as it does in many other situations, or try a different approach like it does for a difficult operating-point. As an experiment I converted the exponential current source into a logarithmic voltage source. Spice had even more trouble solving that at low voltages (not terribly surprised) but at least it recognized that it could not find a solution and moved on to the next point. Once it found a real solution it was fine from there on. but the clipped value causes the ill formed equation to have two solutionsI'd understand that if the equations had two solutions, stable or not, but they do not. What it reports is not a solution at all, KCL is not remotely satisfied at the reported "solution," there are a zillion Amps flowing out of that node from both the diode and the voltage source, and only 9 Amps flowing in. But somehow 73MAmps is within tolerance of 1.#INDA Amps, whatever that is. Latching onto the clipped solution can be avoided either by turningThe first option doesn't help the OP, but the second is a simple fix that seems to work well. I put the uramp() inside the exp() rather than outside and everyone's happy. Why this works when all it really does is add a discontinuity to the dI/dV is well beyond me. It is always best to use the built in devices whenever possibleI agree completely, and you'll see I still recommend that in my responses, but this bothers me anyway because I like to think of LTspice as a general-purpose nonlinear equation solver and here is a simple case of well-behaved equations yet it both fails misesrably and fails to recognize that it failed miserably (I have to think of the original Star Trek episode with "Nomad," once it realized it had made a mistake and, worse, failed to correct its mistake it had to self-destruct. I'm not advocating that behavior for LTspice). Cheers, sorry for the rambling, have a great weekend all, Fred |
Re: arbitrary solar cell model
Hi Hamed,
toggle quoted message
Show quoted text
I still recommend using the standard diode elements instead of writing your own, the only reason you would not be able to do that is if you need to change the Temperature -during- a transient simulation, e.g. I think everything else (irradiance/Isc) can be adjusted dynamically, and you can have multiple cells in any topology, all with different temperatures and Isc. Temperature can be swept for one/multiple/all devices in an Operating Point solution if that's what you need. If you still think this does not meet your needs please state what you have to do that you can't do with the standard model and I can show you how to fix your equations so that it works. Whether it's reasonable or not LTspice can not handle your equations as you have written them, but it can be fixed. -Fred --- In LTspice@..., "qrx3" <fredh@...> wrote:
|
to navigate to use esc to dismiss