General > General Technical Chat
My circuit oscillates, where from do I learn to avoid that?
RoGeorge:
Been playing with LTspice recently trying to design a CC/CV power stage for a signal generator, and been testing all kind of ideas and schematics.
Many of them were oscillating from the very start ;D, others were giving good hopes then they were starting to oscillate under different loading conditions. :horse:
My problem is that there is too much info about the subject, from the most abstract control theory dealing with math only, to the generic advise like "always add decoupling capacitors". I'm somewhere in the middle and without having a good understanding of how to deal with the stability of control loops. For example, I've read about opening the feedback loop and injecting signals, but in practice I don't even know for sure in what point to break the loop. Things like that.
Usually I end up adding random capacitors to the loop, or poking different values for the existing ones then hit Run in LTspice over and over, which is no fun and almost never succeed. :-\
Any good textbooks (or other type of material) to learn about feedback loops design and stability, please?
tggzzz:
--- Quote from: RoGeorge on October 04, 2022, 10:46:06 am ---Been playing with LTspice recently trying to design a CC/CV power stage for a signal generator, and been testing all kind of ideas and schematics.
Many of them were oscillating from the very start ;D, others were giving good hopes then they were starting to oscillate under different loading conditions. :horse:
My problem is that there is too much info about the subject, from the most abstract control theory dealing with math only, to the generic advise like "always add decoupling capacitors". I'm somewhere in the middle and without having a good understanding of how to deal with the stability of control loops. For example, I've read about opening the feedback loop and injecting signals, but in practice I don't even know for sure in what point to break the loop. Things like that.
Usually I end up adding random capacitors to the loop, or poking different values for the existing ones then hit Run in LTspice over and over, which is no fun and almost never succeed. :-\
Any good textbooks (or other type of material) to learn about feedback loops design and stability, please?
--- End quote ---
In spice simulations you don't need decoupling capacitors, unless you have explicitly included parasitic inductance in the model you are simulating. You do require a good understanding of control theory and stability.
First you model your abstract topology in the s-domain (or z-domain if using sampling control systems). After you have understood the conditions under which those models are/aren't stable, you can create a schematic with devices and model how closely it approximates your abstract topology. Finally you add decoupling caps etc to make your circuit board a better approximation to your schematic.
It is difficult to recommend a specific text book, since few will cover the entire field from theoretical control theory through to practical topologies and specific devices. In addition different people find different styles more/less approachable.
snarkysparky:
Generally you have to add the parasitic components to ideal models.
put a small resistor in series with capacitors and inductors.
The spice circuit is composed of ideal components. This will cause unrealistic oscillations.
David Hess:
Check out Linear Technology application notes 18 and 47. Both discuss the various causes and types of oscillation.
Neper:
It's a law of nature that, on first switch-on, homebrew amplifiers will always oscillate while homebrew oscillators never will.
Navigation
[0] Message Index
[#] Next page
Go to full version