¿ªÔÆÌåÓý

Date

Re: Is the Group down?

 

Well, it's back on-line, now. I wonder if anything is changed, though...


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.


Re: Using parameters and functions when defining a plot

 

Hello

You could add a few bits to the schematic, such as abs(v(c1)) with an ideal diode + capacitor, then use that voltage, say v(max), to divide the final answer, v(c1)/v(max). If you want to avoid doing this manually, everytime you plot v(c1), you could simply add a B-source to your liking with that expression.
There could be another solution with the integrated S&H, but that would require a clock, or others, it's just a suggestion.


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.


Re: differimproved

 

Hi.
Your electronic scheme extremely unchancy. I have even said bad. The Modes of the second cascade are assigned resistor with nominal value 100kOhm. The Current aproximately is (Vcc-0.6V)/100K*Beta/2=(7.5-0.6)/100000*500/2=17.3mA (LTspice gave 15.6mA). At heating current will increase (since grows Beta).
Will In addition give change the current scatter parameter input cascade. So I do not advise to do the real amplifier on your scheme.

Bordodynov.


Re: Security?

 

Hello,

One has to distinguish between (LT)SPICE files and program files.

Any LTspice related files (symbols, models, plot directives) can never have any virus.

I don't know how Yahoo has checked the uploaded programs(.exe). The exe-programs have been mostly in the section Files>Util of this group.

Best regards,
Helmut


Re: How can I make my simulation oscillate like my poorly designed PC board does?

 

Hello Carl,

I am glad you were able to work out your mistake on your own.? I really, really do appreciate that.? LTspice is an amazingly capable processing tool, but the usual ³¦±ô¾±³¦³ó¨¦ homilies still apply, e.g. "garbage in -- garbage out."

I very much would recommend that you explore how damaging the gate oscillation effect can grow as the power supply voltage is increased.? Try changing the 5 volt value of the supplies on your schematic to 25 volts and examine the ac voltage that LTspice predicts will appear on the gates and you will see why the series Q-damping resistor is absolutely essential.


---In LTspice@..., <carlvanwormer@...> wrote :

Thanks for all of the help and suggestions!? I had the feedback going to the drain, instead of 5nH away from the drain.? I started noticing a little wiggle, and then changed parts until I was getting results similar to my bad PC board.? I noticed that the type of FET (model) made a big difference in the sensitivity to oscillation.? Once I got the "good" oscillations, I found that a series damping resistor could eliminate the effect.? In addition to lower inductance routing, the new layout will have the extra resistor to eliminate the possibility of this oscillation.

I've uploaded a file demonstrating the cause and cure of the oscillation (Oscillating Miller FETs 03.asc).? Thanks for the education!

Carl


Re: Security?

 

Good question, but alas, too late for you.? This Yahoo group is undoubtedly secretly, violently infected with untrustworthy viruses.? In fact, by reading this message you personally are probably fatally infected with the AIDS virus.? You are no doubt doomed, so please send all of your monetary assets to Yahoo groups immediately.

Okay, that was sarcasm, but it is messages like yours that lead me to avoid responding altogether on this group very much any more.? No doubt you cannot help being the way you are any more than I can help being the way I am.

To give your original question a serious answer, it is mind-numbingly ignorant to think that SPICE code could possibly be infected with such viruses.? In the future, once you have gained some working experience with LTspice, you hopefully will come to appreciate why this is so.

---In LTspice@..., <ag6qo@...> wrote :

Are the components etc uploaded here trustworthy?
Have there been any incidents of viruses etc embedded in files uploaded here?
Are there precautions taken to avoid it?



Re: Security?

 

ag6qo?wrote:

? ?"Are the components etc uploaded here trustworthy?
? ??Have there been any incidents of viruses etc embedded in files uploaded here?
? ? ??
Are there precautions taken to avoid it?
"

The simple answer is that SPICE component models are plain text, and you can't hide a virus or malware in text. ?No component model is ever "executed". ?They are all fed as input to the LTspice program, which interprets them as text and parses them to get the information it needs. ?Even then LTspice is always in control, doing the things it needs to do to simulate a circuit. ?The model is never "calling the shots," nor does LTspice have the capability to do much more than build waveform data and save it to its output files.

Could someone write a virus that exploits a heretofore unknown capability of LTspice to do something bad? ?I seriously doubt that it's possible, and just as unlikely that someone would know how to try.

Now, are ALL files here on this site guaranteed trustworthy? ?Here the simple answer gets more complicated. ?There are occasional Word DOC files and a few (VERY few) executable programs here, and a handful of HTML files.

This is a user-contributed forum, so yes, the possibility exists of something bad in an upload, under the guise of it being something useful.

I do not recall any incidents of malware here. ?On the other hand, Spam does rarely get through, either in messages or in the Links section, and they have all been dealt with promptly.

Regards,
Andy



Re: Li-ion BAttery models

 

The writings(code) on the circuit are clumsy and i could not infer anything ......can u plz mail me only the circuit with values separately?


On Friday, May 30, 2014 12:08 AM, "thutches@... [LTspice]" wrote:


?
Lohith,

The circuit I uploaded contains a Battery model that can be used to simulate a Li-Ion battery.

Tim



Security?

 

Are the components etc uploaded here trustworthy?
Have there been any incidents of viruses etc embedded in files uploaded here?
Are there precautions taken to avoid it?



Re: How can I make my simulation oscillate like my poorly designed PC board does?

 

Thanks for all of the help and suggestions!? I had the feedback going to the drain, instead of 5nH away from the drain.? I started noticing a little wiggle, and then changed parts until I was getting results similar to my bad PC board.? I noticed that the type of FET (model) made a big difference in the sensitivity to oscillation.? Once I got the "good" oscillations, I found that a series damping resistor could eliminate the effect.? In addition to lower inductance routing, the new layout will have the extra resistor to eliminate the possibility of this oscillation.

I've uploaded a file demonstrating the cause and cure of the oscillation (Oscillating Miller FETs 03.asc).? Thanks for the education!

Carl


Re: How can I make my simulation oscillate like my poorly designed PC board does?

 

Carl wrote:

? ?"I've uploaded a version of the file "Oscillating Miller FETs 02.asc" to the files/temp directory.? This file has my interpretation of your suggestions ..."

Maybe you forgot the 5nH to be added to the drain leads. ?You are still taking both the Miller cap feedback and the output from the on-die end rather than the external end of that 5nH lead inductance.

But I couldn't make it fully oscillate either. ?I got a tiny bit of ~160 MHz appearing at the gate input side of the FET in the slower circuit, but did not see the same at its output.

You mentioned adding a 47 ohm resistor in series with the gate drive. ?What exactly was your gate drive? ?Did the source have its own source impedance too? ?(Again, not that it makes it oscillate; it's just an observation/question.)

Regards,
Andy



Re: differimproved

 

Marcel wrote:

? ?"I uploaded differimproved.zip in /temp."

You forgot to include the models for the output transistors, QBD139 and QBD140.

It's generally not a good idea to refer to unnamed nodes (N007 and N008) in the plots, when you save the .PLT file for later use. ?I might not get the same nodes when I run it on my computer (though I probably will); and if I change anything in the schematic, those node names change.

How are you measuring the THD? ?This is a transient analysis, which makes me think you will do an FFT. ?If so, it is essential that you turn off waveform compression:

.options plotwinsize=0

This is quite possibly why your LTspice simulation has the distortion it has. ?Look at the bottom of the Help page for Waveform Viewer > Waveform Arithmetic, and note how the simulation there uses both plotwinsize=0 and numdgt=15, to get the best waveform accuracy for the FFT.

You also ought to have many waveform points per sine wave. ?Your simulation calls for a maximum timestep of 100us, which means only 10 samples per cycle. ?It might work OK with that, but I'd feel better with more samples per period.

Running your simulation with other output transistors, the amplifier does not seem to be very symmetrical and it is not biased right. ?Why does C5 have an initial condition of 7.5V ? ?I think that's wrong, given that the supply voltage is 7.5V and that C5's voltage ultimately needs to reach ~0V.

Also, why use UIC? ?You have this great simulator which can figure out the initial operating point for you; why not use it?

Regards,
Andy



Re: How can I make my simulation oscillate like my poorly designed PC board does?

 

Can you upload a picture of the circuit so we can see what the layout parasitics should be like?

I've looked at BJT modeling a lot, and I can say it is very difficult to even get enough measurements to make the RF behavior right. Few datasheets have enough information. If you want to copy oscillation in real-life, this is critical.

I imagine FETs aren't much different. At a few hundred MHz it's easily possible your model isn't accurate at all. Most models do a very poor job, though I can't speak directly to the quality of this specific model. I notice it is very short with few parameters however - not a good sign.


Using parameters and functions when defining a plot

 

Is it possible to scale a trace by a parameter defined on the schematic?

Like:? .param maxvolts=122, and then plot V(c1)/maxvolts . Such a thing works when adding the parameter statement to the plotdef file in the scad3.exe directory, but that is not very?handy because these constants aren't universal?(in the project directory would be better already).


Likewise, I sometimes scale a plot by a computed number, say the max value of the current when doing an FFT. It would be nice if these constants could be evaluated before a plot is made ( V(c1)/max(V(c1)) or something like that?


-marcel


differimproved

 

I uploaded differimproved.zip in /temp. It is a simulation of a simple audio amplifier. Somewhat to my surprise my modifications didn't lead to the expected decrease in THD. Checks with another simulator (NGSPICE) shows that the THD does decrease. It also showed that LTSpice is about 3 to 6 times slower than NGSPICE for this problem. Of course this can't be true :-)


Does?anybody spot the problem?on this schematic? There must be "something one is not supposed to do" on it.


-marcel


Re: How can I make my simulation oscillate like my poorly designed PC board does?

 

The Miller cap is not added to stop the oscillation, but to slow the switching edges.? You can see the edge slow-down effect in the uploaded file (Files/Temp folder).? The simulation has a pair of the circuits, one with, and one without the 300pF cap that performs the slow-down.? Without the slow-down, there is a 30MHz spike in the PCB emissions scan, related to the edge rate of the switching waveform.? By adding the cap, along with a 47 ohm resistor in series with my gate drive, the slower edge rate lowers the emissions at that frequency by about 10dB, which is my goal.? Of course, this allows for any high-Q circuit strays to try to oscillate, which is what I'm trying to simulate.



I've tried your suggestions, but the simulation still shows no sign of oscillating.??Am I still doing something wrong with my quest for oscillation?


I've uploaded a version of the file "Oscillating Miller FETs 02.asc" to the files/temp directory.? This file has my interpretation of your suggestions, but I still can't make it oscillate.? I've tried a variety of component values and several different FETs, looking for a hint of oscillation.? Can somebody make it oscillate for me?


thanks,

Carl





Re: In situ changing of a MOSFET Rdson in the subcircuit

 

¿ªÔÆÌåÓý

Hello Waynel,

please have a look to these Application Notes:

In : (a very interesting collection)
->Discretes
->FETs (97) ->Mosfets (86)
->AN-7532

->AN-7533

->AN-7534


There are a lot of MOSFET and IGBT models at the homepage of this company
which have the electrical and thermal function:




There are also such models available from other companies.

Please give me an information if such models works with LTspice.

Note:
Mr. Alain Laprade which was one of the authors of these FAIRCHILDSEMI application notes
is currently "Senior Applications Engineer at ON Semiconductor"

Best regards

Bernhard Valouch
Germany




-- 
Bernhard Valouch


Re: Is the Group down?

Ian Field
 

Yahoo is being its normal self - as usual!!!

I signed up for LTspice posts, but users of other groups that didn't are now complaining about an inbox full of LTspice messages.

Yahoo needs a web designer that wasn't dropped on their head when they were little.


On Thursday, 29 May 2014, 20:56, "Dan Andersson dan@... [LTspice]" wrote:



?

Yahoo's gone mental. Other groups are affected to.

//Dan, M0DFI

On Thu, 29 May 2014 22:12:32 +0300
"Vlad imbvlad@... [LTspice]" wrote:

> Hello
>
> I keep getting errors whenever I try to access the web page of the
> Group, no matter if it's the files or the conversations, but I seem to
> be able to post replies from within GMail. Is this a general
> (hopefully temporary) flaw?
>
>
> Vlad
> ______________________
> ltspicegoodies.ltwiki.org -- 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.



Re: Is the Group down?

 

Yahoo's gone mental. Other groups are affected to.


//Dan, M0DFI


On Thu, 29 May 2014 22:12:32 +0300
"Vlad imbvlad@... [LTspice]" <LTspice@...> wrote:

Hello

I keep getting errors whenever I try to access the web page of the
Group, no matter if it's the files or the conversations, but I seem to
be able to post replies from within GMail. Is this a general
(hopefully temporary) flaw?


Vlad
______________________
ltspicegoodies.ltwiki.org -- 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.


Re: Is the Group down?

 

Same for me. I see some note while waiting about "waiting for proxy."
--s.a.hill
(new to group)


On Thu, May 29, 2014 at 3:12 PM, Vlad imbvlad@... [LTspice] <LTspice@...> wrote:
?

Hello

I keep getting errors whenever I try to access the web page of the
Group, no matter if it's the files or the conversations, but I seem to
be able to post replies from within GMail. Is this a general
(hopefully temporary) flaw?

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.