¿ªÔÆÌåÓý

Date

Re: SMPS switching losses in LTspice?

 

I would expect it to be modestly accurate, then.

Jim Wagner

On May 23, 2014, at 1:19 PM, potstuvich@... [LTspice] wrote:

?


I am using the mosfet model of a mosfet provided by LTspice itself. So will the switching losses be accurate?

The inductor in the real circuit will not saturate at the peak fet current level.

Gate drive losses are around 10mW here.




Re: SMPS switching losses in LTspice?

 


I am using the mosfet model of a mosfet provided by LTspice itself. So will the switching losses be accurate?

The inductor in the real circuit will not saturate at the peak fet current level.

Gate drive losses are around 10mW here.


Re: SMPS switching losses in LTspice?

 

Should have written, instead of "losses will be mostly resistive" it ought to be "inductor losses will be mostly resistive" since gate charge losses CAN be significant.

Jim Wagner
Oregon Research Electronics

On May 23, 2014, at 12:54 PM, Jim Wagner wagnejam99@... [LTspice] wrote:

?

Those voltage dependent FET capacitances are modeled well, if a good model is supplied, For an external FET switcher, that is up to you.


The switching loss estimate is as good as your model. For example, if the inductor stays well away from saturation, then the losses there will be mostly resistive. If you have a reasonable series resistance in that model, then its good. But, if it is driven into saturation and you do not have a model that includes saturation, then the loss number will be overly optimistic, maybe by a lot.

Jim Wagner
Oregon Research Electronics

On May 23, 2014, at 12:43 PM, potstuvich@... [LTspice] wrote:

?

Hello,

LTspice calculates a switching loss of 1.07W in the FET of the buckboost smps that I have uploaded to the Temp Files area. "Buckboost SMPS _switching loss.asc".

How accurate is this to the real circuit? I mean, the switching Mosfet capacitances, especially Cgd, are voltage dependent, and this would need modelling to make the switching losses accurate. How accurate is it in LTspice?






Re: SMPS switching losses in LTspice?

 

Those voltage dependent FET capacitances are modeled well, if a good model is supplied, For an external FET switcher, that is up to you.

The switching loss estimate is as good as your model. For example, if the inductor stays well away from saturation, then the losses there will be mostly resistive. If you have a reasonable series resistance in that model, then its good. But, if it is driven into saturation and you do not have a model that includes saturation, then the loss number will be overly optimistic, maybe by a lot.

Jim Wagner
Oregon Research Electronics

On May 23, 2014, at 12:43 PM, potstuvich@... [LTspice] wrote:

?

Hello,

LTspice calculates a switching loss of 1.07W in the FET of the buckboost smps that I have uploaded to the Temp Files area. "Buckboost SMPS _switching loss.asc".

How accurate is this to the real circuit? I mean, the switching Mosfet capacitances, especially Cgd, are voltage dependent, and this would need modelling to make the switching losses accurate. How accurate is it in LTspice?




SMPS switching losses in LTspice?

 

Hello,

LTspice calculates a switching loss of 1.07W in the FET of the buckboost smps that I have uploaded to the Temp Files area. "Buckboost SMPS _switching loss.asc".

How accurate is this to the real circuit? I mean, the switching Mosfet capacitances, especially Cgd, are voltage dependent, and this would need modelling to make the switching losses accurate. How accurate is it in LTspice?


Re: Lock horizontal axis

 

Hell Stephen,

I just tried with your mentioned setting and it works.

Plot Settings -> Sync horizontal axis

Best regards,
Helmut


Re: Pull-Push transformer for valve amp in LTspice

 

¿ªÔÆÌåÓý

Tip:
Ferrite cores are identified by an Al number, which allows quick determination of the number of turns, using the formula
L=Al.N?

Le 23/05/2014 15:15, pha0001@... [LTspice] a ¨¦crit?:

?

Thank you so much!!! Things are starting to become much clearer now.


If you don't mind, may I ask, why did you take a quarter of the total primary inductance? Why not just half it??

? ?


Re: Pull-Push transformer for valve amp in LTspice

 

pha0001?asked:

? ?"why did you take a quarter of the total primary inductance? Why not just half it?"

Adding to what Vlad already wrote (which should lead you to your answer), it does depend on the amount of coupling between inductors. ?You used a coupling coefficient of 1.

If the inductors had been uncoupled (K=0), then it would have been correct to use half.

Regards,
Andy



Re: Pull-Push transformer for valve amp in LTspice

 

What's the equality between the ratios of the inductances and the number of turns?


Vlad
______________________
-- holding, among others:
a universal analog/digital filter, block-level models
for power electronics (and not only), math blocks
with a more stream-lined approach, some digital
ADC, DAC, (synchronous-)counter, JKflop, etc.


On Fri, May 23, 2014 at 4:15 PM, pha0001@... [LTspice] <LTspice@...> wrote:
>
> ?
>
> Thank you so much!!! Things are starting to become much clearer now.
>
>
> If you don't mind, may I ask, why did you take a quarter of the total primary inductance? Why not just half it?


Re: Pull-Push transformer for valve amp in LTspice

 

Thank you so much!!! Things are starting to become much clearer now.

If you don't mind, may I ask, why did you take a quarter of the total primary inductance? Why not just half it??

? ?


Re: Lock horizontal axis

 

Hi Helmut,

It's actually the X-axis I have trouble with - see "X-Axis different scales.jpg" in Temp.

Regards
Stephen.

PS Mike told me (quote)
"lock horizontal axis should do that."


Re: Lock horizontal axis

 

Hi Helmut

It's really the X-axis I'm having problems with - see "X-Axis different scales" in Temp.

?? Top: Initial plot
?? Middle: Set precise manual limits on time range
?? Lower: Only one plot pane is "time-zoomed". Whilst this can be useful, I'd also like to be able to zoom all plots simultaneusly - all plots get same time range.

Regards
Stephen.


Re: MosFet "LEVELS" in LTSpice compared to other spice simulators

 

Quite a mess, as expected :)
Thank you Andy, I think I have it clear now.


Simulating a TI DRV103 with LTspice?

Walking Through
 

I was looking for an electronic "dash pot" for a solenoid and found the TI DRV10{2, 3} series of delayed-start PWM devices.? Downloaded TI's DRV103 spice file, looked, did a few sort-of educated guesses, and tried to simulate it with Cd=10 nF, R(osc) = 523K, and R(duty_cycle) = 40.2K.


Thought something was "not quite right" when LTspice kept flipping in and out of DefCon.


Anyone worked with this device before?? Is there something in Linear Tech's collection that might be usable as a delayed-start PWM solenoid driver?


Thanks.


Mark


Re: Analog Switch model with charge injection?

 

Thank you for the advice, Helmut.


(No subject)

Sam Jesse
 

I also tried .meas ampx MAX V(Out_1) I(V1)
thinking I can plot the max of V(Out_1) vs. I(V1)

I tried to do it by adding another directive
.meas ampx MIN I(V1)

for no avail.

Any suggestions is most appreciated.

Thank you



On Fri, May 23, 2014 at 7:35 AM, Sam Jesse <revrvr@...> wrote:
Helmut

Is there a way to optimize on 2 or 3 variables and plot results like you did? i.e. Ton Tperiod R of the inductor for example?

Thank you
?


On Fri, May 23, 2014 at 7:07 AM, helmutsennewald@... [LTspice] <LTspice@...> wrote:
?

Hello Sam,

I have additionally uploaded your example with MEASURE to the Temp-folder.

transformer2_meas.asc

Best regards,
Helmut




(No subject)

Sam Jesse
 

Helmut

Is there a way to optimize on 2 or 3 variables and plot results like you did? i.e. Ton Tperiod R of the inductor for example?

Thank you
?


On Fri, May 23, 2014 at 7:07 AM, helmutsennewald@... [LTspice] <LTspice@...> wrote:
?

Hello Sam,

I have additionally uploaded your example with MEASURE to the Temp-folder.

transformer2_meas.asc

Best regards,
Helmut



(No subject)

 

Hello Sam,

I have additionally uploaded your example with MEASURE to the Temp-folder.

transformer2_meas.asc

Best regards,
Helmut


(No subject)

Sam Jesse
 

Helmut

Thank you. That is really good.


On Fri, May 23, 2014 at 4:34 AM, helmutsennewald@... [LTspice] <LTspice@...> wrote:
?

Hello Sam,

> PULSE(0 10 5u .1u .1u {} 1m)

This is wrong. See the correct version below.

PULSE(0 10 5u .1u .1u {Ton} 1m)

.step param Ton 2u 10u? 2u

.meas ampx? max V(out)


Run the simulation.

View -> SPICE - Error Log

Right-mouse click in this log-file then choose plot.

Best regards,
Helmut

?



Re: MosFet "LEVELS" in LTSpice compared to other spice simulators

 

'selportion'?wrote:

? ?"So a mosfet "level" is a way to model a mosfet using a set of defined parameters. (?)"

There are different "levels" because there is not only a single way (one set of equations) to describe how a MOSFET works. ?Different research groups formulated different sets of equations. ?SPICE took the different descriptions (sets of equations) and assigned each of them a LEVEL. ?Each LEVEL might use a few different parameters than the other LEVELs, and might use the parameters in different ways because their equations are not the same.

? ?"1)Is this numbering kept same across LTSpice, PSpice, HSpice?"

Not exactly, but some are the same. ?I believe the first few LEVELs (1 through 3, maybe as high as 6) might be the same, because Berkeley SPICE (the original SPICE) had those levels already, and many of the higher numbered levels came later after the other SPICE programs branched off. ?Unfortunately there is no "central clearing house" for assigning LEVEL numbers.

I think HSPICE was the main offender at creating multiple new LEVELs. ?Years ago they had four or five dozen levels that were unique to HSPICE.

? ?"2)Do all simulators use all the parameters with the same name or are they free to introduce/remove/mix parameters?"

If a LEVEL is the same, then there is a good chance that the parameters for that LEVEL are the same. ?But again, because there is no clearinghouse, a SPICE program could modify how a LEVEL works but not give it a new LEVEL number (which in my opinion is how they should have done it).

Another problem with HSPICE models, is that HSPICE lets the user re-define some of the base units, for example, to use microns rather than meters in the model parameters. ?That is cause for a lot of grief.

? ?"3)Will LTSpice complain if we pass to it a parameter name that it cannot understand in a model, or just ignore it without reporting?"

It will give a warning, and then ignore the unknown parameter and proceed without it. ?You need to look in the log file to see the warning.

? ?"4)Is there some solid documentation on ALL of the ltspice mosfet levels?"

LTspice's Help pages list many, but I think LTspice itself understands more MOSFET LEVELs than the eleven levels currently listed there. ?(Note the actual Help pages in the program include one more level than the list in the file you referred to, which is an earlier 'snapshot' of the Help pages.) ?Unfortunately, LTspice's documentation always seems to be lagging to some degree.

Regards,
Andy