Single-phase H-bridge inverter circuit
6
Hello all! I'm trying to design a circuit for my college project. My load is purely resistive, so in theory, the waveform I should see across the resistor will be square-shaped with the same RMS voltage as the supply voltage (Vcc) of the circuit. However, when I simulate my circuit, the waveforms appear distorted and noisy. Could someone check if there's something wrong with my circuit or suggest any ideas? I suspect that I'm also configuring my PWM sources incorrectly, maybe messing up the dead time... it's all a bit confusing. You can find the schematic through the link below. Thank you! [Link to off-site file on Google drive removed] [Mod note: Never point us to off-site storage. Upload your schematic to this group's Files area.]
|
IP3 or 3rd Order Intercept Point Plotting
6
Are there any files, messages etc, that detail how to plot the IP3 of an rf amplifier using LTspice? I would be interested in comments and examples on this subject.
|
Access .model parameters by name in expressions
7
I'm creating some subcircuits and would like to use some parameters of a model in further expressions, but only have to define the value once in the model itself. Is this possible in LTSpice? For example can I use the saturation current of a particular transistor model in a subsequent expression? eg: * define a model with some parameters .model npnmodel npn(is=1e-16 n=1.02) * access one of the parameters in an expression somehow to calculate a derived value * - the actual expression will be more complicated than just *2 .param val = {npnmodel(is)*2}
|
Latest syntax checking improvement and related issues
4
I am not sure whether some of my libs got corrupted, but with the latest LTspice release and its stronger syntax check ie. the Bordodynov lib shoots huge number of errors which must be corrected otherwise the simulation does not start. Usually errors are with TABLE syntax, but with typos as well (well, quite huge amount). Any experience with that here?
|
Dual Active bridge
30
Your inductor/transformer inductances are probably too low. 11?H is only 2 ohms at 30 kHz. How did you calculate them? Try 10 times higher values. You didn't mention the error messages about the .MEAS statements. There are probably other things wrong. On 2025-05-06 17:52, arhamishtiaq42 via groups.io wrote: -- Best wishes John Woodgate RAYLEIGH Essex OOO-Own Opinions Only www.woodjohn.uk If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion Virus-free.www.avg.com
|
File /Temp/Param-to-subckt-to-model.zip uploaded
#file-notice
The following items have been added to the Files area of the [email protected] group. /Temp/Param-to-subckt-to-model.zip By: Tony Casey <antoniustrevorum@...> Description: One possible method of carrying a parameter value from the top level schematic into a .model definition, via a .subckt.
|
Simulation of MMC 3-Level on Ltspice
9
As part of my studies, I have to simulate a single-phase modular multilevel converter MMC (3-level) on Ltspice. I have already connected the circuit with two voltage sources of 20V each, two submodules (one upper and one lower). In the simulation I work with sine PWM, for this I have also used two carrier signals. The output voltage should be a stepped voltage between +20V and -20V and after the LC filter should be a clean sinusoidal voltage. But somehow I am not getting the desired results. (clean signals). Can someone help me. Thank you.
|
Locked
"A Conversation with Mike Engelhardt on QSPICE" in Power Electronics News
Power Electronics News just published this article: A Conversation with Mike Engelhardt on QSPICE Read it here: https://www.powerelectronicsnews.com/a-conversation-with-mike-engelhardt-on-qspice/ As you know, this group is not for QSPICE discussions. Andy
|
Passing a Mosfet Value as a parameter to a hierarchical subcircuit
30
Hi, I want to make my own block for a bidirectional mosfet. I can set up the .asc file with two mosfets in it and draw the .asy file. I want to do something like add MOS=IPB107N20N3 in the PARAMS section on the Navigate/Edit Schematic Block but it moans at me about not being able to resolve the parameter. .asc and .asy file, hopefully, in the temp directory in a bit as bimos.zip Thanks for any help. Per
|
Calculate average value of a waveform under specific conditions using .meas command
34
Hello everyone, For my thesis I am trying to analytically derive the small signal transfer function of a practical buck converter topology with all the parasitics included. I am using this paper as reference. The dc side inductor is operating in DCM. I have to calculate the average value of the filter capacitor under 3 different conditions as shown in the attached screenshot. For the first DCM operation I was able to determine the average using the following command .meas TRAN Vavg AVG V(Unfolding_topside,Right_negative) TRIG I(L_filter_dc)=0 TD=33ms FALL=1 TARG I(L_filter_dc)=0 TD=33.1ms RISE=1 However, for the first duration of switch ON after 33 ms and the first duration of switch OFF after 33 ms I am unable to implement the syntax. I am continuously getting an error in it. I am not even sure if the syntax that I have used to calculate the average during DCM is correct too. Likewise, if I have to calculate the average of the capacitor voltage during second DCM period after 33 ms how should I change my syntax? I would be grateful if anyone can help me with these issues. With regards, Ankit
|
LTSpice, easy uF / uH with UTF16 saved schematic
3
LTspice default will save schematic (*.asc) as ANSI ASCII file. uH or uF, the "u" is extended ASCII "0xB5", "mu" (?) to mean micro, see the glitching and comments, /g/LTspice/topic/opa_square_wave_generator/112608874 https://byte-tools.com/en/ascii/code/0xb5/ LTspice XVII save such schematic, "0xB5" will be saved as ANSI text file, open the file by editor, and/or copy/paste to HTML or translation, the UTF8 capable application will see double bytes as treated as UTF8/UTF16 etc. The solution, to force LTspice to save schematic to be UTF8 or UFT16, just add some local "char" (double bytes) to the schematic, and then LTSpice will be saved files as UTF16 by default. this is example of output of the solution, SYMATTR InstName C2 SYMATTR Value 1?f TEXT 112 160 Left 2 ;1uF = 1Ϥ testing files, /g/LTspice/files/u_ANSI_test.asc /g/LTspice/files/u_UTF16_test.asc
|
90nm CMOS technology
5
Hello guys, Does anyone has 90nm CMOS technology text file or link something like that. Absolutely for LTspice.
|
Help needed on simple examples to build an digital filter in LTspice with Vlad's filter models from the filters manual
Hi folks, I am new in the forum and I think I have done already some real big magic in LTspice but now I struggle how I can add a chip internal digital filters after an ADC to my huge analog model of an automotive battery pack. I am not interested in the involved 2MHz delta-sigma ADC function at all, there is an analog 100kHz AAF in front and the digital output is downsampled to 128us = ~8kHz, so this part is just working fine and flat in my frequency range, I just want to rebuild the two frequency lowpass filterings which are done digital inside an IC afterwards the ADC. We are running them in matlab but I like to keep the huge analog model before that filters in LTSPICE. I found Vlad's filter stuff but I am missing a simple example how to use it with my transfer function as I am beginner for digital filters and the complex examples on the filters manual seem to complex for my simple needs. My needs are to rebuild two chip internal digital filters 1. digital PT1 Filter with 128us samples for LOWPASS 20Hz K=2^(-N) ; N=6 -> K=1/64 Transferfunktion digital k / (1 - (1-k)*Z^(-1) ) AND 2. for a SINC FILTER with OSR=16 and 128us per sample Transferfunktion digital 1/16 * (1-z^(-16)) / (1 - Z^(-1)) Can someone experienced add a model from the filter subs provided to my example simulation so that I can see how this is done and how it works and plot the output over frequency? I started with an example I found via google from Helmut how to create the 128us delayed versions of my input sample (simple AC sinus)....it shows function on his OUT example but it does not execute my wanted transfer function on OUT2. So either someone can fix my trial with the delayed voltages or show me how to use an already designed existing filter just with my simple coefficients? I will uploaded .ASC and .PLT file zipped: "SINC Filter basic example needed.zip" to temp. (The provided filters.sub is not included, everyone should have it, same as for all the nice math.sub stuff I already use and love)
|
TI Battery Charger(BQ24610) and EFuse(TPS26636) ICs
5
Hey there everyone, I have been trying to get my hands on the spice models for a couple of ICs from TI to no avail. They are the BQ24610 battery charging and power management IC and the TPS26636 E-fuse IC. I want to design a battery charger for 4S lithium 18650 batteries, as well as a resettable over current protection module. These are 2 separate projects. Any advice on how to obtain these models, or at least have some way of modelling them on LTSPICE?
|
CD4000 Library Additions
20
We have recently been discussing the CD4000 libraries and adding additional devices to it. I'm sharing a listing of devices I have added to my own "extended" CD4000 library over the last few years. All devices have been designed using, and require use of, the CD4000 library(s). If anyone need one let me know, or, perhaps Andy or Tony can advise. CD40107B CD40110B CD40174B CD40175B CD40192B CD40193B CD40194B CD4026B CD4028B CD4029B CD4033B CD4043B CD4044B CD4051B CD4052B CD4053B CD4060B CD4094B CD4099B CD4502B CD4508B CD4511B CD4514B CD4515B CD4518B CD4520B CD4521B CD4532B
|
OPA square wave generator, single supply OPA is not working
8
LT1006 was a single supply OPA. Trying and gathered no output when single supply was used. welcome any hints or experience would be share, thanks. the code used, [Mod note: schematic code deleted]
|
Crystal oscillator oscillation startup
21
Here is an initial circuit draft of a crystal oscillator : ck_osc.zip I have so far checked the circuit operating points according to the circuit requirements. However, it just does not start to oscillate. I am a circuit beginner noob, please feel free to point out mistakes and guide me to solve the oscillation startup issue.
|
LTspice24 windows version run on macOS
7
#Mac
Has anyone successfully installed LTspice 24 windows version on macOS with Wine or another tool? Preferably something open source or free to use vs paying for crossover. If so can you help share what you did?
|
Using Op Amp as comparator
12
When I use the Universal Op Amp or Universal Op Amp 1 as a comparator, the output chart changes from V to MV. Here are the parameters: Positive supply 12 V Negative supply -12 V or GND Reference voltage 3 VDC Input Voltage 6 V 1000 Hz sine For the life of me, I can't get the comparator to work. When I try the MAX9095 comparator, the display is not in MV, but the comparator output is a straight DC line. Why does LTspice change the chart to MV using the Universal Op Amps? With the MAX9095, why doesn't the output change at the transitions when the sine wave crosses the fixed voltage? THANKS.
|
Vin vs. Load - YX logarithmic plot
10
Hello, I would like to create a simulation of overcurrent protection circuit ¡ª a graph where the Y-axis shows the current drop (in Amperes), and the X-axis shows a linear increase of voltage in the range of 15¨C50 V. I expect a logarithmic curve of the current decreasing from 1.2 A down to 0 A as the voltage increases. I used the .step param function (.step param Vin 12 50 1), but that¡¯s not what I¡¯m looking for. How should I define such a graph? Thanks Jurek
|