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?
On Thu, Jul 6, 2023 at 04:33 AM, Tim Hutcheson wrote:
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.IMO, you are wrong, Tim. The video is about a quasi-continuously varable step-down DC/DC converter. Concerning his self-adjusting autonomous 4s battery equalizer, Sam Ben-Yaakov described a natural self-balancing behaviour (propagation indeed) permitting the use of 2 switches per cell in case it is acceptable that the 4s cells series-arrangement balancing takes 5 hours.?An LTspice simulation could validate this. Can an LTspice simulation show that a 104s arrangement behaves the same natural way? It's quite sinple. One must to concentrate on Regards, Steph |
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
On Thu, Jul 6, 2023 at 02:22 AM, Lohi Karhu wrote:
Funny thing is, that I filed a patent, way back in about 2007 on balancing ¡®energy storage devices¡¯ using a switched-capacitor mechanism¡Nokia Corporation, unfortunately no series layout. |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
Richard wrote, "The files are dated, use the most recent one."
That's one way of thinking about it, but probably not the best.? Newer does not mean better.? You might get the one made by someone who just got out of high school and first used SPICE two weeks ago.??You could also base your decision on who made the model, or what company published it (may or may not be the same).? Preferably, you should try the models and compare them with datasheets, or with measurements of real parts. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
vedhaanth648,
I uploaded your file for you.? It is in the Temp folder.? BSS138.zip. To answer your question "i dont know which one to use", use whichever one you want to use.? All three of them appear to be SPICE models, so any of them should work in SPICE (and LTspice).? Take your pick.??They appear to be MOSFET models.? Two of them can be used directly.? But one of them (BSS138.lib) is a special model that has a fourth pin for temperature.? To use that one, you will need to create (or borrow) a special MOSFET symbol that has the fourth pin, and then use that pin correctly.? That might mean connecting the fourth pin to a voltage source, or to an RC network to represent a heatsink. So I recommend starting with the other two models first. The other two models are ordinary 3-terminal subcircuits.? You can use them with LTspice's normal MOSFET symbols (either NMOS or PMOS as appropriate).? After adding the symbol to your schematic, then use Ctrl-right-click on the symbol, and change the Prefix value to "X" (without the quotes), and click OK. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
Please do not point us to some random website that has your files, even if it is your own.? UPLOAD your files to our group's Files section, into the "Temp" folder:
? ??/g/LTspice/files/Temp Maybe you forgot to read what it says on the group's main webpage: "do not point us to other ("third party") file storage websites".? Go back now and read the group's main webpage. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
¿ªÔÆÌåÓýPlease DO NOT send us to
third-party sites for data. Upload your .ZIP to Files =>
Temp, and then tell us you did that. Meanwhile, you mean
BSS138, not BS138.? The way to add third-party models is
explained in the Help, but it's best to put the model file in
the same folder as the .ASC. Don't try to add it to LTspice's
native files, which is not straightforward and often leads to
problems. ======================================================================================
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 19:05,
vedhaanth648@... wrote:
|
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 |