I have designed a current buck converter. The idea is that you the (voltage) buck converter and you take advantage of some symmetries of electronic elements, the capacitor is to a current source what the inductor is to a voltage source, and for all elements in series with a voltage source you need to put them in parallel to a current source. So I came up with a current buck converter which is a buck converter for current sources.
$ 1 3.125e-7 382.76258214399064 50 5 43 5e-11
i 192 208 192 112 0 0.01
r 336 112 448 112 0 10
l 448 112 448 208 0 0.001 0.002500045386706189 0
w 336 208 448 208 0
t 224 144 256 144 0 1 0.6323494705717794 0.670740192568514 100 default
w 224 144 224 272 0
R 128 272 64 272 0 2 100000 5 0 0 0.75
w 128 272 176 272 0
c 336 112 336 208 4 0.001 0.025003895623268373 0.001 0
d 272 112 336 112 2 default
w 272 112 256 112 0
w 256 112 256 128 0
w 256 160 256 208 0
w 256 208 336 208 0
w 192 208 256 208 0
w 192 112 256 112 0
g 256 208 256 240 0 0
r 176 272 224 272 0 1000
o 6 64 0 4099 5 0.0125 0 2 6 3
Project must be be opened with the Falstad simulator:https://falstad.com/circuit/
Here is a picture:
In the above circuit Io/Ii = 1-D where Io is the average current of the resistor Ii is the input current and D is the duty cycle of the NPN transistor.
I have been trying to do the same for a current boost converter. Here is my design:
and the code:
$ 1 3.125e-7 382.76258214399064 44 5 43 5e-11
i 192 208 192 112 0 0.01
r 336 112 448 112 0 0.01
l 448 112 448 208 0 10 -8.569084940961415e-8 0
w 336 208 448 208 0
w 224 224 224 272 0
R 128 272 64 272 0 2 100000 5 0 0 0.5
w 128 272 176 272 0
w 256 160 256 208 0
w 256 208 336 208 0
w 192 208 256 208 0
g 256 208 256 240 0 0
r 176 272 224 272 0 1000
t 256 80 256 112 1 1 -5.070559882847056 -5.035818518039943 100 default
w 224 224 112 224 0
w 112 224 112 32 0
w 112 32 256 32 0
w 256 32 256 80 0
c 224 112 224 160 4 0.01 0.07055988806897502 0.001 0
w 192 112 224 112 0
w 224 112 240 112 0
w 224 160 256 160 0
d 336 208 336 112 2 default
w 272 112 336 112 0
o 5 64 0 4099 5 0.0125 0 2 5 3
o 1 64 0 4099 0.0048828125 0.000390625 1 2 1 3
The relationship Io/Ii is supposed to be 1/D but every time I run it the output current oscillates between 15mA and 40ish mA and I don't understand why this is. The inductor should filter the AC part of the current so I really don't understand why this is happening. What is wrong with my design?










