Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
Tim wrote, "Yikes, my calculator says that's more than? 2.028e31 switches."
That could be a challenge even in LTspice. At the end of the day, subcircuits don't make simulations smaller.? If there are 2.028e31 switch subcircuits, they are not represented by one subcircuit that gets 'called' 2.028e31 times.? They have to be expanded into 2.028e31 equivalent circuits that become part of the full netlist.? That's a lot of transistors and more. I don't think today's PCs are quite capable of that.? ;-) Andy |
|
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
I got the impression that the switching mechanism is essentially the same as he describes in a 2008 lecture on SCC, at ?where at about 55 minutes into the slides hew states just that.? So then I looked at the schematic in one of his students thesis for a small implementation and it seemed to confirm this.? I could be wrong.
Tim |
|
Re: Plotting expressions in LTSPICE
¿ªÔÆÌåÓýOn 06/07/2023 11:02, garvind25@... wrote:In the Files section of the group's archives, there is a demo schematic that shows how to plot Ft vs. Id. Once you understand how it works, you can adapt it to .MEASure gm as well as Ft, then you can also plot Ft vs. gm. --
Regards, Tony |
|
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
Funny thing is, that I filed a patent, way back in about 2007 on balancing ¡®energy storage devices¡¯ using a switched-capacitor mechanism¡
US 7,994,756 B2 have a fine day, all¡ Barry Rowland Just a simple ?? guy in ??... |
|
Re: Plotting expressions in LTSPICE
¿ªÔÆÌåÓýOn 06/07/2023 10:54, Tony Casey wrote:In .AC plots, Freq(uency) and Omega are also recognised.I forgot: in .TRAN plots, "time" is also recognised. See: Help ?? LTspice XVII ?? Waveform Viewer ?? Waveform Arithmetic ..for definitive information. --
Regards, Tony |
|
Re: Plotting expressions in LTSPICE
Thanks for the quick reply. Pls find below the answers to your queries: ? Pls read the value of Cox as 8.5fF/um^2. It is the oxide capacitance per unit area. While implementing the formula fT = gm/2*3.14*W*L*Cox, W and L are MOSFET sizes in um. ? The y-axis is in ohm-1 (ohm inverse or siemens). This is the unit of gm. In other words, while implementing the above fT formula, the y-axis is taking the units of gm only. It should be of frequency (in Hz or KHz etc) ? Thanks again, Arvind Gupta ? |
|
Re: Plotting expressions in LTSPICE
On 06/07/2023 09:13, garvind25@... wrote:
As a general rule, expressions in the waveform window can only comprise waveforms that are available in the "Add Traces to Plot" dialogue and constants. However, there are exceptions:
If you want to plot or use gm, then remember it is dI/dV, so you can use the d() operator. ? Is it possible to plot a graph with expressions on both Y axis and X axis? ? Did you try it? Depending on the analysis mode, expressions can be used for both axes. .AC plots can only use Frequency for the X-axis. It's not hard to work out why. Except for plotting expressions, units are generally ignored in LTspice. So remember, 1F is the same as 1fF. When a range multiplier is encountered, it also acts as a delimiter, ignoring everything non-numeric that follows. So, 3k3=3300, but 1A=1V=1. Certain things saved in plot.defs are very useful in plot expressions, but since customisation of plot.defs in kind of encouraged, it is inherently non-portable. So, for example, I have a function: dB(x)=20.log10(x), which makes trace titles much neater, but will cause an error for anyone else that does not have this function defined. Nothing added to plot.defs will work until LTspice is closed down and re-started. -- Regards, Tony |
|
Re: Plotting expressions in LTSPICE
¿ªÔÆÌåÓýWhat you want to do can be done. Note the following:
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-06 08:13,
garvind25@... wrote:
|
|
Plotting expressions in LTSPICE
Hi, ? ? I am trying to plot a few graphs in LTSPICE XVII and have a couple of queries. Hope someone will answer: ? ** Can I define a constant capacitance value in LTSPICE such as Cox = 8.5fF/u^2 so that after simulation, I can manipulate the graph to plot expressions like fT = gm/2*3.14*W*L*Cox? If I simply use the magnitude of Cox as 8.5f in Expression Editor, though I get the graph, the unit of the Y-axis isn¡¯t frequency (as it should be). I event tried by saving the value in ¡°plot.defs¡± file. I am still getting the same graph with the unit on Y axis as something else. Basically, the Farad quantity is getting neglected and only the numerical value is getting used. ?The x-axis is a voltage source (swept by a dc sweep command). ? Looking towards your pointers. ? Thanks and regards, Arvind Gupta |
|
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
On Wed, Jul 5, 2023 at 02:36 PM, Tim Hutcheson wrote:
it seems that 2^n-1 switches would be neededSurely this is not Sam Ben-Yaakov's intention, as he readily describes a natural self-balancing behaviour (propagation indeed) permitting the use of 2 switches per cell in case it is acceptable that the full cells string balancing takes 5 hours. Such a natural self-balancing propagation happens with a 94% efficiency in case of balancing a string of 10 Ah cells, using two inexpensive 125 milliohm 12 VDC mosfets (as switches) per cell, and using one inexpensive 12 VDC 20 microfarad polarized capacitor (as charge exchanger) per cell. Plus a microcontroller (possibly a $0.20 one). But at this moment, I don't know if Sam Ben-Yaakov is talking about a 4-cell string, or a 104-cell string. |
|
Re: Can't edit parameters
17.1 installed.? I'll see what happens now. On Wed, Jul 5, 2023 at 1:09?PM Voegeli, Benjamin <benjamin.voegeli@...> wrote:
-- K1FZY (WA4TPW) SK? 9/29/37-4/13/15 |
|
Re: ISL70444SEH declaration issue?
¿ªÔÆÌåÓýOn 05/07/2023 23:57, mliccione89@... wrote:I'm trying to use the ISL70444SEH model and a basic circuit to confirm that the model works correctly before moving on to anything more complicated. I'm having issues with the simulation. The sim fails to run and I get the error "Time step to small, etc....".It helps if you upload a schematic that actually runs. You have a ".lib ISL70444SEH.lib" directive in the schematic, but the model file you uploaded is "ISL70444SEH.cir" and there are no analysis directives.. However, when I change the .lib directive to match the file name and add a .tran directive, I don't get initially "Time step to small, etc....". Instead, I get "Analysis failed: Iteration limit reached", and there are a bunch of errors in the ErrorLog, concerning the diode models. I am running LTspice 17.1.9, you may have a different version. I made minor changes to the model file and added ".options cshunt 1e-14", and the analysis now runs fine. I have uploaded a working schematic to Files > Temp. You should note that although the datasheet says "unity gain stable", the circuit is barely stable with 8dB peaking at unity gain. I added a bit of compensation to help a bit with that. --
Regards, Tony |
|
Re: ISL70444SEH declaration issue?
This happens sometimes where there are signals with fast edges (aka zero rise or fall times), discontinuities or indeterminate derivatives. An indeterminate derivative happens at a corner. See if you can simplify the simulation by doing an .op and stepping a parameter.
|
|
Re: ISL70444SEH declaration issue?
You forgot the .TRAN statement, and your .INC command references the wrong filename.? Those are minor but not insignificant omissions.? I get suspicious whenever it is obvious that you did not simulate using the files you uploaded.
There were other error messages, referring to the diode .MODEL statements.? I think the cause of those is the "LEVEL=2" in each of those .MODEL statements.? I don't know what those are supposed to do, but I think LTspice probably does not know what to do with the "LEVEL=2" and it gets confused by what comes after.? Removing "LEVEL=2" does not fix the "time step too small" error. "Time step too small" errors are among the more troublesome ones to afflict SPICE users, worldwide.? You should get some help by reading the "FAQ" file in our group's archives: /g/LTspice/files/z_yahoo/FAQ/faq_17-2.txt Read it and find the section about "time step too small" errors.? It has several things you can try.? None of them are guaranteed.? If there was a foolproof solution to "time step too small" errors, we wouldn't have them anymore. In your circuit, I found that ".options cshunt=1e-14" seemed to tame it.? YMMV ("your mileage may vary" -- your results might differ from mine). Andy |
|
ISL70444SEH declaration issue?
Hello all-
I'm trying to use the ISL70444SEH model and a basic circuit to confirm that the model works correctly before moving on to anything more complicated. I'm having issues with the simulation. The sim fails to run and I get the error "Time step to small, etc....". Any help is appreciated. Here are the files |
|
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
Depends on what you mean by economical.? Looking at some of Sam Ben-Yaakov's earlier videos and papers of his grad students in Switched Capacitor Controllers, it seems that 2^n-1 switches would be needed...? Yikes, my calculator says that's more than? 2.028e31 switches.
But I'm no expert Tim |
|
Re: Can't edit parameters
¿ªÔÆÌåÓýHello David, What version of LTspice are you using?? This sounds like a problem that was fixed LTspice 17.1+ Could you please download the latest version and let us know if that solves the problem? -Ben ? From: [email protected] <[email protected]> On Behalf Of
david vanhorn
Sent: Saturday, July 1, 2023 6:35 AM To: [email protected] Subject: Re: [LTspice] Can't edit parameters ?
? Well isn't that interesting. ? I've not seen this happen before on this PC which hasn't had any config changes other than the usual OS updates (W11) and LTspice updates, and of course updates for the other software I use. ? On Sat, Jul 1, 2023 at 4:29?AM <aburtonline@...> wrote:
K1FZY (WA4TPW) SK? 9/29/37-4/13/15 |
|
Re: Linear Transformer Model Which Can Also Simulate its LPF Function
¿ªÔÆÌåÓý
Le 05/07/2023 ¨¤ 17:30, Kerim via
groups.io a ¨¦crit?:
On Wed, Jul 5, 2023 at 03:59 PM, Jerry Lee Marcel wrote:Not so much. Actually leakage inductance does not vary too much, but since the effective inductance of the winding decreases, the leakage factor increases. For instance, to allow some flux leakage to exist, the transformer should have 2 separate bobbins, not one. Leakage exists even when there is a single bobbin. The flux lines cannot be concentrated 100% in the core. Two separate bobbins allow reducing mutual capacitance, but
increase leakage. ? |