ok it's just that if I use the MC34063 formula that looks at peak current (2x Io) and i get 822uH, but other formula's devide by the ripple current which is 10% Io so 20 times smaller than the other formula, I jyst can't see how such huge difference in calculation can exist for the same thing.
I have calculated on the MC34063 formula's for a Vinmin of 20V, Iomax of 25mA and frequency of 100KHz 822uH and 15uF.
LTspice is a further confusion because trying to model the circuit or something close gets me a total fail with any value of inductor which clearly means that the program won't work properly but then it's so limited and a paiun in the arse.
All thin on the back of the fact that I recently threw together with no calculations a SMPS that worked in "bang bang" mode used a LM293 comparator, directly driving a P mosfet with 280uH and 2000uF and worked just fine, I've not taken any measurements yet and only used it to power a 300mA LED but it worked great, and now I try to actually do it properly it all goes tits up apparently.
You can use almost any arbitrary values for L and C and such a simple circuit will most likely "work" although the dynamics are likely to be - hmm - disappointing may be the word. Sometimes a cookbook approach works just fine but then you tend to end up with exactly this type of questions when/if not everything is crystal.
Usually there are a number of design criteria/targets for the performance of a SMPS supply. At least these are usually interesting:
- the maximum allowable voltage ripple in the output --> sufficient filtering of the switching waveform
- compensation of load current variations to output voltage --> max limit of converter output impedance
- compensation of input voltage variations to output voltage --> max value for line-to-output transfer function
- transient response time --> placement of loop gain crossover frequency of the transfer function
- output overshoot and ringing --> sufficient phase margin of the loop gain
Now the component dimensioning is impacted by the relative priority of these design targets. You say the design rules contradict each other; i say they just march to different tunes. You can't have everything at the same time, there will be priorities and compromises. And only you can decide which they will be in each particular case. (Think of bread: there is wheat baguettes and sourdough dark loaves and a million recipes between. Contradicting? - no, just different. But all are bread).
The MC34063 is meant for simple circuits because it won't let you access the compensator circuit. That makes it impossible to work with the feedback loop transfer function and you are left with the output filter component values. Should you aim for both fast dynamics, high stability as well as low ripple then this chip most likely won't cut it. But for a constant-ish load it can be OK and the component values are not critical at all. You will get varying behavior but if it doesn't matter then who cares.