Hello Eric,hi Johnny,
Downloaded your results image, will look them over, get back to you.
E
EDIT:
Your table of results is incorrect.
Look at my image Red columns .
Note: the Input current will be 'chopped' due to the switching action of the converter, so a regular ammeter will give incorrect results.
Hi J,Hello Eric,
I used LTspice to simulate it with a 12Ohms load, the voltage across the resistor is 12V instead of what i got.
Hi eric,Hi J,
I read the values in Row 12 of your Table ie: 3.7V with a 12R Load,, are you saying the Vout actually 12V across the 12R load.?
Can you confirm you latest circuit diagram, I appreciate you are 'experimenting' with switcher designs, so the results will not be an optimum design.
E
EDIT:
Added the LTS Power displays. [for my earlier sim]
That should enable you to calc the efficiency at that Vout =3.7 and Rload =12R
Hi Eric,hi j,
Looking at reply post #12 circuit, what are the values of the components R1 and U2.??
Also if U2 is a pot, post an indication of the pots set values, so that I can check with LTS.
What is the source of the 9V supply.?
E
Clip from d/s.
View attachment 147966
Hello ebp,OK, let's see if we can improve your chances of success.
Compact careful layout that manages "ground" connections properly and minimizes "loop areas" is very important to getting a switcher to behave.
If current is flowing, there is only one point in any circuit that can be considered to be "zero volts", which I'll call "ground" here so I don't accidentally confuse things by using "common" when referring to something else.
Switchers produce very rapidly changing currents and the current can be large. The paths that the current takes change during the course of a full switching cycle. You can see this by adding current probes to your simulation. Every conductor has inductance. To minimize this inductance it is important to keep "loop areas" as small as possible. Suppose you have to make current flow through a conductor that is 5 cm long. If you form the conductor into a circle, you can see that the magnetic field from any part of the circle isn't going to be able to couple very well to other parts of the circle because of the distance. If you take that conductor and bend it sharply into a hairpin or long narrow "U" shape, you increase the magnetic coupling between the "out bound" part of the wire and the "return" part of the wire. Because the current is flowing in opposite directions in the out and return parts, the magnetic fields cancel and the overall inductance is greatly reduced. The loop are of the circle is large. The loop area of the U is much small for the same length of conductor. The inductance is reduced and the ability of the conductor to couple magnetically to other parts of the circuit is also reduced. Loops of course usually aren't just connections but include components. For example, when the switch in the IC is ON, the input current flows through a loop formed by C1, L1 and U1 and their leads. C1 is there so the loop is at least partly cut off from the external loop of the input power supply and the connecting wires.
The one-point-is-zero problem can be quite a challenge with a switcher, so compromise must be made, but very carefully.
Let's look at your breadboard:
We'll start with some ground cleanup, first on the frequency compensation components. C3, R4 and C5. The parts shape the frequency response of the voltage error amplifier of the IC. It is important to keep unwanted noise and voltage drops out of the connections to these parts. Tighten up the layout of the parts so their leads are as short as possible. It would be better to put them on the same side of the gap in the breadboard as the controller. Make the ground connection for them as short as possible and directly to the ground pin of the controller.
Move R2 so that it very close to the controller, again with its ground end right to the controller.
Instead of using the bus connection at the bottom of the board for ground, use the one at the top, right next to the positive supply.
Trim the leads of C1 and place it close to the IC. This greatly reduces the loop area for the input current.
Trim the leads of C4 and place it close to the diode. This greatly reduces the loop are for the output current.
Connect R1 as close to the output capacitor as possible, rather than close to the diode. This puts the sense point on the right side the unwanted inductance of the connection between the diode and the capacitor.
Move L2 up beside L1 to reduce loop area.
I don't know what you are using for an input supply, but the wires to it should be twisted together to minimize that loop area and unwanted inductance.
When we return ...
we'll consider the aluminum electrolytic capacitors. Based on appearance, C1 might be OK. The others aren't.
Have a look at these:
http://www.ti.com/lit/an/snva168e/snva168e.pdf
http://www.ti.com/lit/an/slyt309/slyt309.pdf
Hi John,I'm using a 9V battery to run it at the moment, however i might change it to USB in the future.

Hi Eric,Hi John,
A regular 9v dry battery is not the best choice to power SMPS, highish internal internal resistance and quickly falls below the 9V nominal voltage.
Using the USB to power a SMPS could cause problems with any other devices on the USB rails.
I have 'tidied' up your image, the layout looks very good, nice and tight, the Caps look like regular types, not low ESR. ???
I would not draw more than 2-300mA from Vout when using BBoard, the 500kHz frequency of operation on a BB is not a problem.
Will recheck your circuit using 2k and 47k.
Eric
EDIT:
Checked with those values, the Vout is unstable around 1.5V
Could you try a quick test using the values in the second image 18k , 5k6 and a 12R load.
You should get a Vout out of ~5.2v.
View attachment 148016
Hi Eric,hi,
As you increase the Vout by setting the 47Kpot, if you are using the same load resistor, the load current is increasing.
It is possible that the battery is unable to supply that amount of current, so the Vout will limit at ~9v.
I would re-run test and monitor the 9V battery level.
I would suggest a 9Vdc or 12Vdc wall wart PSU rated at 1 to 2Amps.
E
EDIT:
I think you have 47k pot set to 0R when you get Vout =~11v and 44K when its set to ~47k
Not a big deal, just pull it of the BB and rotate it 180 degrees.![]()
Hi Eric,hi J,
I will look at that problem.
What is the voltage rating of the output capacitor.? Try at least a 25Vwkg.
Be aware that those type of DC connectors come in at least two sizes, ie: 2.1mm and 2.3mm [centre pin dia]
E
Hi Eric,hi,
You should be able to run the Vout upto 14Vdc OK.
You can buy low ESR electrolytics for SMPS.
Connectin caps in parallel does help with the ESR problem.
E
EDIT:
Ran some tests on your circuit with Low ESR caps, slight improvement.
With a 9Vdc supply the max Vout is ~11V
with 5Vdc supply max Vout is ~9V
I would suggest a 12Vdc 1-2Amp wall wart as the voltage supply, if you require a steady Vout of 12Vdc max, adjustable down to ~1.5V
Hello ebp,My apologies for not returning with the promised second episode. I will try to do that today.
Good job with fixing the layout! I do now note the polarity of the output cap appears to be wrong.
re #34 - If the input power to a switcher is limited to less than that required to regulate the output voltage the switcher will "collapse" the input supply as it tries to regulate. The duty cycle of the converter will go to the maximum as the switcher attempts to raise the output voltage. The exact effect depends on the nature of the input supply's power limiting - which is actually usually current limiting rather than power and may be "hard" (very precise maximum current, which is typical of a good lab supply), soft" (current starts to limit at some level, but allows current to rise somewhat before reaching the final level) or "foldback" (once the allowable maximum is reached the circuit actually "folds back" the limit to a lower level, and the only way to recover from this is to greatly decrease the load on the supply). With hard limiting, a switcher will often make the output voltage equal to the input voltage. With soft limiting, behavior is less predictable. With foldback limiting all hope is lost - the switcher asks for more and the input supply provides less. Sometimes a switcher go into a perpetual shutdown-retry condition. It this happens at a high enough rate the apparent output voltage measured with a meter may assume some value that seems to make no sense at all. This is where an oscilloscope is invaluable.