Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: LTspice XVII Co-exist with LTspice IV?
Hello alan.revera
You have nothing to learn more (except for added features) to use LTspice XVII. If you use files created by LTspice XVII with other softwares, be aware that they are now coded? in Unicode UTF-16LE without BOM. If you want them as you did with LTspice iV you can open files with notepad and save them in format ANSI. LTXVII 64bits is actually faster. With an I7 and 8 Mb I believe you will be happy; almost the first month. Regards PhB |
Re: I'm ready to give up LTC all toghether.
> I did see some curvature in the output waveform, near the end of
the edge, so it is not a strictly linear ramp, but it's close.? So, the
specified Trise or Tfall works for approximately the 0% to 97% or 99%
points (on the cases I tried -- it depends on risetime).? But the slope
over most of the edge fits as if it were 0% to 100%. I think that's LTspice's engine doing its best to keep the derivatives smooth. The same is valid for the default (ideal) diode, for example. When run and zoomed in, the sharp knee is not so sharp. If the timestep is decreased, zooming in until only a few points around the knee are visible reveals the same slight smoothing, and it keeps on going. Even A-devices pulses, unaltered, have a tendency to show a slightly non-linear rise from 0 to 1 or vice-versa. It's just a guess, but it seems to go well along Mike's own words.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: DSBSC
Gunoi Nare
Thank you Jim. Just remembered '78 when using a SAR DAC achieve same result. Hmmm... it it a long time. used it in NDT on Nuke Reactors :) How will I display such a signal on the simulator ? G.
|
Re: Calculation of the inductance of the amplitude of the first harmonic voltage and current amplitude
Hello Vlad.
toggle quoted message
Show quoted text
I think not the average, and calculate the amplitude of the first harmonic. I made a parallel Fourier analysis. Look at the first harmonic and what I counted. The values are the same, with sufficient accuracy for practical purposes. Bordodynov. 16.08.2016, 09:38, "Vlad imbvlad@... [LTspice]" <ltspice@...>: Hello Bordodynov |
Re: Piece-wise voltage signals
Hello > The signal has a ramp up to a maximum voltage for the first section, then after a short delay drops sharply to a low voltage and holds for a short delay, then charges exponentially to a an intermediate voltage and holds for a short delay, then finally drops sharply to the low voltage again. The signal has a relatively long dead time in-between starting and repeating itself If the second, exponential rise is a simple, or fairly simple exp(), then you can use a single behavioural source with something along these lines: .func f(x) { limit( x - delay1, Vmin, Vmax ) } .func g(x) { limit( exp( (x - delay2) / tau), Vmin, Vmax ) } B out 0 V=f(time)+g(time) where {delay1} and {delay2} are arbitrary and {tau} is the time constant. Note that limit() is hard limited, so instead you may want to use: uplim( dnlim( x, min, quadratic_region ), max, quadratic_region ) (see for reference). 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: DSBSC
¿ªÔÆÌåÓýJust a multiplier with no offset. One input is carrier, other is 1200Hz sine. You then have your double sideband suppressed carrier signal.Jim James Wagner Oregon Research Electronics
|
Re: Calculation of the inductance of the amplitude of the first harmonic voltage and current amplitude
Hello Bordodynov You are doing an average of the waveform. For simplicity, let's assume V(x) is a 1V sine, just like the reference. Then:sin(wt)^2 = [1 - cos(2wt) ] / 2 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: Calculation of the inductance of the amplitude of the first harmonic voltage and current amplitude
Hello.
toggle quoted message
Show quoted text
I investigated the current transformer ratio as a function of the inductance of the secondary winding. The transformer includes a non-linear core. As a result, the inductance depends on the signal level. And hence the transmission ratio of the current transformer depends on the magnitude of the signal. The question is how to determine the inductance. I came up with four ways. Question: Which method is most suitable. See four_ways_to_determine_the_inductance.zip in TEMP folder. Bordodynov. 15.08.2016, 15:03, "BordodunovAlex@... [LTspice]" <ltspice@...>: Hello. |
Re: I'm ready to give up LTC all toghether.
Gunoi Nare
"I find that many young engineers have no ability to IMAGINE a circuit." Well said Jim :) G.
|
Re: I'm ready to give up LTC all toghether.
Gunoi Nare
Thank you Andy. I do know these "facts" but simulator programmers have a tendency to "improve" on the agreed parameters. It is always wise to ask what the programmer thinks in this respect. G.
|
Re: Visay spice model Bridge rectifier KBU6B
Hello,
There are examples with bridge rectifiers (schematic, symbol, models) with a library of models. Some models in this library file are similar(voltage, current) ?to the asked model.? ?? These bridge rectifiers are suitable for 50Hz/60Hz operation. Don't use them for switching supplies above 1kHz due to their long reverse recovery time. This recovery time is modeled with the parameter TT in in the SPICE-model. ? Best regards, Helmut ? |
Re: LTspice XVII Co-exist with LTspice IV?
? ?" ...it will work with anything denoted with the ".asc prefix" at the end.? Even files that are simple text files. ? ? Instead of displaying a schematic...you will read that text on the schematic screen." I think that could be confusing.? I don't want people to get the wrong impression. LTspice XVII did not change the input files.? It still uses the same input and output files as before. If you have an LTspice schematic that was from LTspice IV, or from LTspice III, or from SwitcherCAD III, they open directly in the newer program (LTspice XVII) and look like they did before, because nothing's changed! It is just a better version of the old LTspice.? Yes it was a partial re-write of the source code.? But it is not a totally brand new program. Andy |
Re: LTspice XVII Co-exist with LTspice IV?
?...it will work with anything denoted with the ".asc prefix" at the end.? Even files that are simple text files. Instead of displaying a schematic...you will read that text on the schematic screen. Be sure and set up your laptop properly...IF you can ..use a separate partition for win7 vs. win8 or win10. Otherwise you will need* to "open all .asc files" with the LTSPICE IV logo/icon under LTSPICEXVIII...and any files you need to open in LTSPICEIV using "drag and drop" (that IS one easy way to do that one). Old 32-bit LTSPICEIV copies on old XP machines won't be an issue.? Just use "sneaker-ware" and save from a USB drive (or old 3 1/2 inch floppies)..to your system.? Not sure you will have a floppy on a 64-bit box...but that is still possible.? I have a old PSPICE copy for DOS I have yet to find a machine for ..but still looking. 16-bit code does work under stuff like FreeDOS..but you have to be careful porting that back to newer machines.? I am sure the expert around here on the "old stuff" is still John, but if Mike E. has some old "DOS/Windows horror stories" about FORTRAN77 SPICE?he should post them. <---works hard for a few good chuckles every now and then. W. Warren *[ ..I recommend a good text editor..TextPAD? ??? ?...or related freeware ..and stay away from editing anything ????? ? in Notepad...even the recent version of Notepad ] |
Re: LTspice XVII Co-exist with LTspice IV?
Thanks Andy,
I just ordered an I7 laptop with Win10. It's a 64bit. Maybe I should go to the XVII. Can XVII work with files already created in IV? Is it an easy transition from IV the XVII without having to learn a lot of things? I am just barely ok in using IV ( maybe not even barely ok!!). |
Re: LTspice XVII Co-exist with LTspice IV?
...I think I already documented some of my early experiences with Win10..and dual installations.
I still have my old Win7 files on a separate Win7 partition..and can access them under Win10 or even run them under the old LTSPICEIV program in Win7. Some of you might be wondering why so many are using WINE here and not just Windows. Because all that expensive software (well a lot of it anyway) can be duplicated under Linux...and its "freeware, shareware..user-ware" models.? Take the Eagle CAD program for instance.? It was never taken to 64-bit..and got grabbed* by the AWR "Microwave Office" people some time back.? It is their drafting program now...and file convertor. You can still find Eagleware on the web and in some old Ubuntu installation versions.? It easily will convert various SPICE versions for CAD purposes..or CAE versions from its CAD format.? I have transliterated some old microwave designs into LTSPICE circuits using both Eagleware (see:?? and gEDA/ngSPICE ) ? Give Mike E. some credit..at least for the Mac users...they "might be getting an update" good enough to port to FreeBSD and/or other Linuxes.? W. Warren *[ ?? ?? ? ] ? ? |
Re: LTspice XVII Co-exist with LTspice IV?
alan.revera?wrote: ? ?"Is VII a lot better? What is the major advantage of VII over IV?" I'm sure you meant XVII, which is the new version. ?(Mike/LTC skipped a lot of version numbers on this, going straight from 4 to 17, I guess because we are nearing 2017.) There are not many significant differences to most users between IV and XVII, except for this one: ?XVII supports 64-bit program operation if your operating system supports it.? If you are running a 32-bit version of Windows, as many people do (even though their hardware is 64-bit capable), then you won't get this advantage.? The 64-bit version can run a lot faster. The 64-bit version probably can also handle larger networks (able to access more memory), but very few people run simulations on networks so massive that they run out of memory on a 32-bit O.S. Most of the other program differences might be considered "cosmetic", affecting the user interface.? Menus, how window panes work, ability to use dual monitor screens, etc. (Just my opinion, and yours might differ.) Regards, Andy |