Ben Bradley wrote:
>
> In comp.arch.embedded, rickman <> wrote:
....snip...
> I know other companies that make switchers have such software. Look
> at national.com - they've got an online simulator that runs spice -
> I've never used it, but I think they would give a similar parts list
> that might help you. Linear Technology has "Switcher CAD" for free,
> it's supposed to be a complete spice package. But I don't imagine
> either of these would help with TI switchers, other than as giving
> more clues about passive parts.
Thanks for the advice. That's a good idea. I'll look them up.
> >2pi f L = 1/(2pi f C)
> >
> >L = 1/(4(pi)^^2 f^^2 C)
>
> Let me check that from another direction: The formula for resonant
> frequency is:
> F = 1 / (2 pi sqrt (LC))
> and solving for L gives what you got.
It has been awhile since I have used much from my AC circuits days.
Although I did not take this in college, I did have a little bit in high
school electronics.
> >Is this what is being requested in the TI Swift software?
>
> Yes, that sounds right to me.
I exchanged an email with TI support and they did not really answer the
question. The one guy that always seems to answer my hard core switcher
design questions is Ed Walker. He seems like a real good guy, but often
he does not quite understand what a newbie like me is asking. Instead
he espoused on how capacitor makers don't spec their parts very well.
> >The min and max ESR have me a bit stumped. I don't know if they want
> >the ESR at the capacitor resonance point, the frequency of the switcher
> >or some other point that corresponds to the loop analysis for the
> >filter. I never got the classes for control theory. So I guess I need
> >to sit down with a book or two someday to understand the whys and
> >wherefores of this sort of control loop.
>
> Aww, just read Bob Pease's column titled "What's all this PID stuff
> anyhow" and that's all you need to know. 
> But of course the idea of the design software for these chips is
> that you shouldn't have to know control theory, they supposedly have
> it all worked out, and if you use parts within the specs they give, it
> "should" work right off the bat.
You would think that, but there is no clear indication (that I can see)
that a given design will work well as I vary the resistor that controls
the output voltage. I believe that this resistor (or the output voltage
itself) has very little impact on the control loop, but it is not zero
impact. The tool provides the gain and phase curves vs. freq for the
circuit, but then I am not familiar with how to analyze them other than
the zero intercept for one gives you the analysis value for the other.
Consider the gain when the phase is at zero and the phase when the gain
is at 0. I can see the default values they chose for a limit so I guess
I will be ok as long as I stat with those. But under some conditions I
see the gain/phase curves get rather curvy and I am concerned that this
might be a problem even if it does not go to zero.
> On the Murata parts, does the ESR really vary that much with
> frequency? It seems to me you should use the value at the switching
> frequency, as that's generally where the high currents happen that
> would be most affected by the voltage drop across the ESR.
Yes, the ESR in the graph is a "V" shape with capacitance dominating
below SRF and inductance dominating above. The impedance curve has a
sharp "V" at SFR in addition to this overall V shape while the ESR does
not. They seem to reach the same value at SRF with the inductance about
10x ESR at other freqs. I don't have the URL for this data sheet and it
is a bit large to attach in a non-binary group. But this seems to be a
typical capacitor curve to me.
> Looking at some typical Murata ceramic caps page, it looks like ESR
> DOES vary a lot with frequency:
> http://www.murata.com/cap/nproduct/cap12e.pdf
Yes, that is the link. cap04e is for the 22 uF in the 0805 package. I
am actually finding some anomolous info in the TI library. All the work
I have done with power decoupling showed me that smaller packages
typically have lower min ESR/impedance with little variation with
capacitance. But the values used in the Swift tool show higher ESR for
the same value capacitance in smaller packages. I don't know if this is
just a factor with these new, high value, very dense parts or if there
is something wrong with the data.
> You say it wants min and max ESR - I'd use the switching frequency
> ESR for max, and ESR at self-resonance for min. Since the switching
> waveform is far from a sine wave, it will see all the ESR values in
> that range.
>
> >Anyone worked with this software before and know how to add new
> >capacitors to the parts list?
>
> Have you asked someone at TI? They have an incentive to help
> designers with this - lots of others make switching regulator chips
> (National, Linear Technology, surely several others) and if TI wants
> your business they should help.
Yes, like I said I have spoken or emailed with Ed Walker several times
and he seems well intentioned, but it can be hard to get the answer to
the question you are asking. My first try on this one did not work.
But while I was waiting for a reply from him I decided that I could try
margin testing. Turns out you can set all your compensation component
values and draw new curves with the tool. So I let the tool design the
circuit using a set of caps that have a higher ESR. Then I lowered the
ESR value in the curve drawing tool. That seemed to give workable
results, but when I redesigned the circuit with caps that match the
lower value, I get very different compensation components. So I
repeated the test in the other direction. If you adjust the output cap
ESR in this tool, it will not save the changes. But if you change the
compensation components, you can save the changes. However, when I do
that, the curves change slightly from what they were in the value
editing tool (which lets you see the curves at any time).
So I think I have a solution although I don't have high confidence in
the tool. It also has some problems with printing and saving results.
I think TI needs a better windows programmer or two.
If anyone is more familiar with the tool and can talk switcher design to
a novice, I would appriciate the help, or even just a sanity check.
--
Rick "rickman" Collins
Ignore the reply address. To email me use the above address with the XY
removed.
Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design URL
http://www.arius.com
4 King Ave 301-682-7772 Voice
Frederick, MD 21701-3110 301-682-7666 FAX