Hi, thanks for your input and advice.
There's a world of difference between a simple "static" circuit that'll work on a breadboard and an SMPS I see.
I assume the voltages are well above some 10mV. (I indeed guess it's above 500mVpp, depending on switching frequency and current)
340 - 400mV depending on which breadboard rail the scope input is in...
Maybe you think you can reduce voltage drop by using thick wires...it will fail.
Not sure if you mean "you" general or "you" meaning me, just for the record, I use 0.5mm for breadboard jumpers as it snaps less often than 0.25mm, but you've reminded me of some rather important aspects I forget to bear in mind.
Because -about independent of wire thickness - every mm of length cause an inductivity. With a breadboard you easily get hundreds of nH.
Lets say 200nH at 100kHz means XL of at least 100mOhms. But this is only for the fundamental frequency. For clean switching you can calculate with the 50th overtone....making XL in the range of some ohms.
Every 100mA will case voltage drops of several hundreds of mV. It will decrease regulator stability.
Additionally those indutance may form an LC oscillator. Therefore you may expect heavy ringing. Making stability about impossible.
Thanks, none of that even crossed my mind, and some points you make I didn't even know.
So, I need to do dead bug style prototyping for SMPS circuits... great, the whole point of breadboards is that I don't waste components on several incorrect versions, not to worry, it's worth giving a go as what you say makes a lot of sense, I like single-sided boards as I get to make an uninterrupted ground plane.
In your opinion, would it make any difference starting by trying to make a buck or a boost converter? i.e. Are they in any way "easier" than a SEPIC, or do they equally have their own issues for people with basic skills/knowledge, so I may as well just try to do the SEPIC, which seems a useful one to know how to make?
Thanks a lot, Klaus
Regards,
Daniel
- - - Updated - - -
Why are you using a hysteretic (on-off) controller instead of a variable pulse width PWM controller?
Because I've had to piece together what I understand from different app notes and similar documents, beyond "error amplifier" and "comp" amplifier/comparator I have little idea how to fit these things together or what they're supposed to do, and evidently still haven't understood a lot of it. I'm not being sarcastic. There seem to be many overview descriptions that make a lot of assumptions about what the reader understands, but few detailed ones I've found for beginners about the control circuitry explained in simple terms regarding one or two points.
It will never achieve continuous operation with stable frequency and pulse width.
Thanks, that would explain why the circuit never has a 5V output, much less at 100mA.
To modify your controller design respectively, you would use a feedback amplifier with PI characteristic and a compare it's output with a sawtooth or triangle oscillator output. Or implement current mode control like LM3478 in the TI application note does.
No, not current mode control, thank you, I'm avoiding that, that involves right-hand-plane zeroes and literature says they are harder to control than voltage-mode, if I'm not getting the RHPZ thing mixed up, but I remember that voltage-mode is the beginners "easy" option.
Im sorry - Does "PI" refer to "PID", I have only briefly read about it. I'd wondered about the need for a sawtooth into the comparator as in the end the MOSFET sees a square wave. When I tried to put a low pass filter on the 555 output the circuit stopped working as far as I remember, so I tried a totempole then a low pass filter to get the triangle and the same thing happened, so tried to omit the triangle wave.
That's another doubt I've been having and have found no explicit description for: Can you say what voltage the sawtooth needs to be at in comparison to the EA output, if that's how it works?
I have an XR2209, which can output a triangle wave, I can use that for the triangle wave, can't I? (having said that, I need to re-read the datasheet in case it's only good up to 5V max.).
If possible to compare, and not pointless, and you're familiar with all three, having a 4049UB, XR2209 and an LMC555 that can operate up to 3MHz, which would be a better choice to generate the triangle wave? Or is it much of a muchness/comparing apples and apples?
Thanks for the reply and clarifications, FvM, has helped with floundering in the dark with this circuit.
Regards,
Daniel