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
Re: Changing the mutual inductance coefficient of K statements with time
Falcon, what you surely can do is to uses parameter for K that you can change for each simulation (or even make several runs for this parameter:
toggle quoted message
Show quoted text
K12 L1 L2 {k12} .param k12=0.9 I hope that this helps. Stefan El 17/07/2013, a las 09:25, the_sky_falcon <the_sky_falcon@...> escribi¨®:
Hello, |
Re: Changing the mutual inductance coefficient of K statements with time
Tony Casey
--- In LTspice@..., "the_sky_falcon" <the_sky_falcon@...> wrote:
Falcon, The correct syntax for assigning a variable to the coupling factor is: K1 L1 L2 {Var} .step param Var StartVal StopVal Inc ; substitute your own values ... same as it is for any other component value. Regards, Tony |
Re: Changing the mutual inductance coefficient of K statements with time
Hi Jerry,
? Thanks for the reply. The problem is, with wireless power supplies, the coupling between the primary and the secondary windings are very week. Therefore I can not get a figure for the leakage inductance.?( Ie: in a flyback transformer, I can short circuit the secondary and measure the primary inductance at 100kHz and use that figure for simulation with another uncoupled inductor put in series with my flyback primary inductor). However this method wont work for wireless power supplies as the coupling is very week. (If I short circuit my reciever coil and measure the inductance of the power transmitter track, the difference of inductance is miniscule. ? Is there any other way of doing this? I can of course simulate for various values of k but I am very curious. ? cheers, ? Falcon [Non-text portions of this message have been removed] |
Re: Changing the mutual inductance coefficient of K statements with time
I have a feeling you should explicit the leakage inductances (i.e.
making them visible components in the schemo) and apply the statement to them. Le 17/07/2013 09:25, the_sky_falcon a ¨¦crit :
[Non-text portions of this message have been removed] |
Changing the mutual inductance coefficient of K statements with time
Hello,
I am an electronics engineer and I work on wireless power supplies. For one of my simulations, I want to couple two inductors and I would like to simulate the design for various values of K. Could someone please let me know why I can not use the following syntax as an LTSPICE directive? K L1 L2 V(Var) Where Var is a voltage source I have specified in the simulation circuit and it is a PWL (ramp function). This syntax works for a variable resistor. I am wondering whether it is actually possible to apply the same logic to a coupling coefficient of the K statement. Please help !! Thank you. Falcon |
Re: New component
LTspice does not link to external programs or code. But it has a capable
user-programmable component in the form of the BI behavioral element. It is a current-output device. If you can write an expression for what you want the current to be, using the rules listed in the Help file, you can create a BI element that does it. Take a look in the Help utility under LTspice > Circuit Elements > B. Arbitrary Behavioral Voltage or Current Sources. The Help for Dot Commands .FUNC and Dot Commands > .PARAM may also be useful.Regards, Andy |
Re: New component
this is my component matlab codes. my ?nput is voltage and my output is current (I). I think my component has one input and one output. I want to create new block and my block must work as below. when i apply sine wave to input i must take current from my output. is there any code part in ltspice (using any language)
"Ron=1000; Roff=160000; x(1) = 0.5; xDiff = 0; time_step=0.0001; t = (0:time_step:1); voltage=sin(2*pi*t); I = zeros(size(voltage)); for i=2:length(voltage), ? ? ? ? ? ? ?M(i-1)=(Ron.*x(i-1))+(Roff.*(1-x(i-1))); ? ? F=(1-((2.*x(i-1))-1)^20); ? ?? ? ? ?I(i-1)=voltage(i-1)/M(i-1); ? ? ?dxdt=66000*I(i-1)*F; ? ? ?xDiff = dxdt*time_step;? ? ? ?x(i)=x(i-1)+xDiff; end ?plot(voltage,I);" ________________________________ From: Yunus Babacan <baba_yunus_24@...> To: "LTspice@..." <LTspice@...> Sent: Wednesday, July 17, 2013 2:41 AM Subject: [LTspice] New component ? hi, I want to make spesific electronic component.. my component contents codes.(for which etc... in matlab). can i make my component using codes. is there any property of ltspice..if answer is yes, how can i make ?? [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] |
Re: differences between LTSpice models and IR models
Excellent, thanks Rick !
toggle quoted message
Show quoted text
I have a lot of the intusoft documentation but there is so much good stuff it is sometimes hard to weed out what I need. Eq. 1.7 sure enough looks like the one I needed ! boB TT can be computed from the diode storage time, TS, using the following equation: Eq. 1.7 where IF is the forward current and IR is the reverse current. --- In LTspice@..., "sawreyrw" <sawreyrw@...> wrote:
|
Re: differences between LTSpice models and IR models
--- In LTspice@..., "boB G" <bob@...> wrote:
boB, One of the best documents I have seen on modeling devices is WkwModels.pdf. Google for it. Eq 1.7 gives you the relationship between the storge time (Ts, not Trr) and Tt. Tt is also used for the VDMOS diode. Rick |
Re: 3722 Power Supply Problem
Well that explains most of the shoot-through. You don't see any when the nodes are reconnected?
toggle quoted message
Show quoted text
The compensation values are overkill. Feel free to fiddle with or remove any of them. Just watch what the IC comp pin does during start-up and line/load variations, though, as you make your changes. As has been suggested elsewhere, the large inductance values of your transformer are prime limitations to power transfer, when current is expected to reverse each cycle. The leakage inductance induces extra dead-time in the output rectifier, robbing you of headroom. Also, with the turns ratio used, at 18V, you're close to drop-out anyways. If you expect to induce double output current peaks in the output inductor, you'll need extra headroom. It is strange conjunction of power train component values. How did you select them? You'd normally think of magnetizing current as a fraction of that being transferred, unless it was aggravated intentionally to perform some other function. RL --- In LTspice@..., "viperlenny" <viperlenny@...> wrote:
|
Re: inductance with a permeability in dependency of frequency
--- In LTspice@..., John Woodgate <jmw@...> wrote:
Here's an example of a material exhibiting reduced permeability with frequency. RL |
Re: differences between LTSpice models and IR models
OK, it was kind of unclear and I don't think that message thread ended up saying this, exactly.
toggle quoted message
Show quoted text
I would have thought that Trr would be reverse recovery time. Transit Time seemed like it was for something else. So, what is the difference between Trr and TT ? Is there any ? Can a VDMOS model have Trr specified as well as TT ? Are they interpreted the same ? I would love to see some documentation on that. At least I would like to see this listed in the LTspice help file. Thanks, boB --- In LTspice@..., "sawreyrw" <sawreyrw@...> wrote:
|
Re: differences between LTSpice models and IR models
--- In LTspice@..., "boB G" <bob@...> wrote:
boB, The standard SPICE diode model uses Tt to model reverse recovery, and thereby, stored charge. The diode capacitance will also have some effect on the dynamic reverse current. This model is reasonably accurate for abrupt recovery diodes, but may not be useful for a soft recovery diode. Rick |
Re: differences between LTSpice models and IR models
Sorry to beat a dead horse (I like horses), but did anybody ever figure out if LTspice can actually simulate reverse diode recovery
toggle quoted message
Show quoted text
properly or not ??? I see Helmut's postings too, (msg_43634), but still can't quite figure out if he is adding a separate diode in his model or how it connects to the D-S of the FET model if it does. BTW, searching the help for "recovery" doesn't seem to come up with anything relevant. Thanks, boB --- In LTspice@..., "boid_twitty" <legg@...> wrote:
|
Re: New file uploaded to LTspice
Harry Dellamano
--- In LTspice@..., LTspice@... wrote:
To learn more about file sharing for your group, please visit:Leo, This file should fix your transformer windings and circuit stability over the 18 V to 30V range. I did not address the ZVS issues but looks like a piece of cake. If you need more help just ask. Cheers, Harry |
Re: Help! How do I do find maximum signal easily!
Hi Macy,
Problem with the versions of multiple files, is that by necessityPersonally I use version control systems for all my code, so I never have any doubt as to what is going on. Cheers, Dave |
Re: Help! How do I do find maximum signal easily!
Andy, Thanks I was just going to try using the + at the start of shorter lines.
Actually, the humongous long line is easier to cope with than I thought. Now that David pointed out I can ctrl, right click to toggle between .ac and .noise of ANY types. I only have to zoom in on the actual component schematic once. I'm still surprised about the noise analyses so closely matching my measurements. Usually in the world of noise, I'm happy if hit within magnitudes and ecstatic at multiples, but within 3% ??!! Now THAT's just impressive. With that kind of accuracy, LTspice is going to save a LOT of breadboarding time. --- Andrew.Ingraham@... wrote: From: Andy <Andrew.Ingraham@...> To: LTspice@... Subject: Re: [LTspice] Re: Help! How do I do find maximum signal easily! Date: Mon, 15 Jul 2013 13:18:03 -0400 Macy wrote: I like the idea of 'including' the file with everything in it then I can modify and control a bit better, BUT that separates the design into twoWell, you've got a choice. You can either (1) keep everything on the schematic, or (2) move stuff off the schematic into a separate file. Pick one approach or the other, and live with it. You can't do neither. With it on the schematic, obviously, if you have a lot of text, it's going to take up a lot of schematic space which shrinks the full view. With it off the schematic, obviously, you have to deal with two or more files. Create a new project folder for each schematic, and then you are less likely to lose track of the second file. The stuff on the schematic (or in a text file) doesn't need to be one long line. Break it into shorter lines, with a "+" as the first character on all lines after the first. If you stick with approach (1), that might make it not quite so huge. .ac LIST freq freq freq ... + more freqs freq freq ... + more freqs freq freq ... etc.... When entering or editing the .ac or .noise lines on the schematic, be sure to use the Ctrl-M trick to insert line breaks. You need those lines to be kept together as one unit, not as independent SPICE directives. You might also go into the LTspice Control Panel and change the font size. This affects all text on the schematic (and all LTspice schematics you edit), and it has a limited range so it might not make enough of a difference. Andy |
to navigate to use esc to dismiss