Discussion:
P-channel MOSFET model
(too old to reply)
Edward Rawde
2024-05-05 02:48:49 UTC
Permalink
Does anyone know of a P-channel MOSFET, roughly equivalent to XP233P1501TR-G
which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
John Larkin
2024-05-05 04:20:35 UTC
Permalink
On Sat, 4 May 2024 22:48:49 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to XP233P1501TR-G
which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
What's your application? If it's plain vanilla slow switching, one of
the library parts will work fine, something with similar Rds-on maybe.
Edward Rawde
2024-05-05 05:10:03 UTC
Permalink
Post by John Larkin
On Sat, 4 May 2024 22:48:49 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G
which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
What's your application? If it's plain vanilla slow switching, one of
the library parts will work fine, something with similar Rds-on maybe.
LED lighting.

I was thinking of doing some thing similar to this.
https://sound-au.com/appnotes/an003.htm

But with a FET and a more symmetrical drive circuit such as an NCS2250
comparator capacitively coupled to the FET.

So I can perhaps make it switch faster and more efficiently and with a
smaller inductor.

I'm aware that this might sound crazy but it's just for fun and no-one will
die if it doesn't work.

Since the parts aren't very expensive in small quantities I might get a
board made if a simulation says it has a chance of working.

It will be powered from a 12V lead acid battery.
Bill Sloman
2024-05-05 13:29:23 UTC
Permalink
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to XP233P1501TR-G
which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Why not just ask Torex for a Spice model?

You'd have to type or paste it into your simulation, but that's easy
enough. I've done it with some Philips parts, and some of the of the
.asc files have been posted here.

https://product.torexsemi.com/system/files/series/xp233p1501tr.pdf

gets you the data sheet, but that doesn't include a Spice model.

--
Bill Sloman, Sydney
Edward Rawde
2024-05-05 16:05:07 UTC
Permalink
Post by Bill Sloman
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G
which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Why not just ask Torex for a Spice model?
I might just do that. They'll probably ask how many hundred thousand parts I
want.
This page might be useful for making an approximate model from the data
sheet.
http://www.simonbramble.co.uk/lt_spice/ltspice_lt_spice_tutorial_6.htm
Post by Bill Sloman
You'd have to type or paste it into your simulation, but that's easy
enough. I've done it with some Philips parts, and some of the of the .asc
files have been posted here.
https://product.torexsemi.com/system/files/series/xp233p1501tr.pdf
gets you the data sheet, but that doesn't include a Spice model.
--
Bill Sloman, Sydney
Edward Rawde
2024-05-05 18:42:30 UTC
Permalink
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.

Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.

Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
John Larkin
2024-05-05 20:55:45 UTC
Permalink
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.

Your circuit looks like a good way to blow up transistors.
Edward Rawde
2024-05-05 23:17:18 UTC
Permalink
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.
Your circuit looks like a good way to blow up transistors.
If you mean the circuit on this page
https://sound-au.com/appnotes/an003.htm
Maybe it is but that's not my circuit it's just a site I found showing the
concept I'm looking into.
I'll let you know if I manage to simulate anything which might have a chance
of working.
Edward Rawde
2024-05-06 05:58:15 UTC
Permalink
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.
Your circuit looks like a good way to blow up transistors.
Here's 12V to 5V 1A using the concept I had in mind of using a comparator
capacitively coupled to a FET.
Also using only components I could find in a fresh install of LTSpice.
If it doesn't work, fix the character encoding issue in the value of some
components.

Don't worry it won't be going into production any time soon.

Comments/laugter is welcome.

Version 4
SHEET 1 1956 680
WIRE 1104 -80 368 -80
WIRE 368 -16 368 -80
WIRE 368 -16 304 -16
WIRE 432 -16 368 -16
WIRE 544 -16 432 -16
WIRE 672 -16 544 -16
WIRE 848 -16 768 -16
WIRE 928 -16 848 -16
WIRE 1232 -16 1008 -16
WIRE 1376 -16 1232 -16
WIRE 1520 -16 1376 -16
WIRE 1632 -16 1520 -16
WIRE 304 32 304 -16
WIRE 1104 32 1104 -80
WIRE 1232 32 1232 -16
WIRE 544 64 544 -16
WIRE 432 80 432 -16
WIRE 1376 96 1376 -16
WIRE 1376 96 1360 96
WIRE 848 112 848 -16
WIRE 1632 112 1632 -16
WIRE 1360 128 1360 96
WIRE 1376 128 1376 96
WIRE 1520 128 1520 -16
WIRE 1104 144 1104 112
WIRE 1328 144 1104 144
WIRE 1456 160 1392 160
WIRE 304 176 304 112
WIRE 544 176 544 144
WIRE 592 176 544 176
WIRE 688 176 688 32
WIRE 688 176 656 176
WIRE 1232 176 1232 112
WIRE 1328 176 1232 176
WIRE 1104 192 1104 144
WIRE 1232 192 1232 176
WIRE 544 208 544 176
WIRE 688 224 688 176
WIRE 304 336 304 256
WIRE 432 336 432 144
WIRE 432 336 304 336
WIRE 544 336 544 288
WIRE 544 336 432 336
WIRE 848 336 848 176
WIRE 848 336 544 336
WIRE 1104 336 1104 272
WIRE 1104 336 848 336
WIRE 1232 336 1232 272
WIRE 1232 336 1104 336
WIRE 1344 336 1344 192
WIRE 1344 336 1232 336
WIRE 1360 336 1360 192
WIRE 1360 336 1344 336
WIRE 1376 336 1376 192
WIRE 1376 336 1360 336
WIRE 1520 336 1520 192
WIRE 1520 336 1376 336
WIRE 1632 336 1632 192
WIRE 1632 336 1520 336
WIRE 304 352 304 336
WIRE 688 400 688 288
WIRE 1456 400 1456 160
WIRE 1456 400 688 400
FLAG 304 352 0
SYMBOL Comparators\\LT1719 1360 96 R0
WINDOW 0 37 82 Left 2
WINDOW 3 26 27 Left 2
SYMATTR InstName U1
SYMBOL res 1088 16 R0
WINDOW 0 -36 27 Left 2
WINDOW 3 -71 76 Left 2
SYMATTR InstName R1
SYMATTR Value 47.5K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1088 176 R0
WINDOW 0 -43 30 Left 2
WINDOW 3 -59 64 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 1024 -32 R90
WINDOW 0 66 46 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 47µ
SYMATTR SpiceLine Ipk=1.1 Rser=0.17 Rpar=0 Cpar=0 mfg="Sumida"
pn="CD104-470"
SYMBOL res 1616 96 R0
SYMATTR InstName R4
SYMATTR Value 5.1
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 16 R0
WINDOW 0 -40 27 Left 2
WINDOW 3 -50 74 Left 2
SYMATTR InstName R3
SYMATTR Value 14K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 176 R0
WINDOW 0 -42 26 Left 2
WINDOW 3 -51 67 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 1504 128 R0
WINDOW 3 24 56 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL schottky 864 176 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value DFLS220L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 32 M270
WINDOW 0 -18 59 VLeft 2
WINDOW 3 78 89 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 304 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL res 528 48 R0
SYMATTR InstName R6
SYMATTR Value 1K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 528 192 R0
WINDOW 3 -71 61 Left 2
SYMATTR Value 2.32K
SYMATTR InstName R7
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL cap 672 224 R0
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL polcap 416 80 R0
WINDOW 3 24 56 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL diode 592 192 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 288 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
TEXT 288 392 Left 2 !.tran 0.001 startup
Edward Rawde
2024-05-06 06:02:05 UTC
Permalink
Post by Edward Rawde
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.
Your circuit looks like a good way to blow up transistors.
Here's 12V to 5V 1A using the concept I had in mind of using a comparator
capacitively coupled to a FET.
Also using only components I could find in a fresh install of LTSpice.
If it doesn't work, fix the character encoding issue in the value of some
components.
Don't worry it won't be going into production any time soon.
Comments/laugter is welcome.
May need to fix line wraps too.
John Larkin
2024-05-06 14:22:09 UTC
Permalink
On Mon, 6 May 2024 01:58:15 -0400, "Edward Rawde"
Post by Edward Rawde
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.
Your circuit looks like a good way to blow up transistors.
Here's 12V to 5V 1A using the concept I had in mind of using a comparator
capacitively coupled to a FET.
Also using only components I could find in a fresh install of LTSpice.
If it doesn't work, fix the character encoding issue in the value of some
components.
Don't worry it won't be going into production any time soon.
That works in simulation, but the hazard of ac coupling into the fet
gate is that it has a hangup state, the fet on hard forever and
nothing limiting the current but 12 volts into the load.


It also grunts at startup, fet full on until the +5 settles. That
could cave in a wimpy +12 supply, and it may never run right. The
diode will leak more than the fet gate, so the static default is fet
on. Just remove "startup" to see the hang state.

You could power a comparator from +12, dc couple into the gate, and
slow down the startup. Something like that. Using all discrete
transistors would be fun too.

You could just buy a switcher chip and copy the appnotes, as many
people do, but you wouldn't learn anything. I know a guy who started a
pretty cool company just copying eval boards, but then he started day
trading....

The Brat assigned me to do a giant Spice sim this weekend, a dual
isolated buck switching power supply that's in trouble, so I'm almost
Spiced out.

Loading Image...

The sim is all analog, but the actual control loop will be digital, in
a small FPGA. One tricky part is that the two supples can be used
independently or in parallel, and the loads can be anything, with
remote sense.
Edward Rawde
2024-05-06 17:39:17 UTC
Permalink
Post by John Larkin
On Mon, 6 May 2024 01:58:15 -0400, "Edward Rawde"
Post by Edward Rawde
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
...
Post by John Larkin
Post by Edward Rawde
Don't worry it won't be going into production any time soon.
That works in simulation, but the hazard of ac coupling into the fet
gate is that it has a hangup state, the fet on hard forever and
nothing limiting the current but 12 volts into the load.
I agree that there's plenty of scope to get 12V out instead of 5V.
I had the comparator with it's own 5V source for a while so it wasn't
dependent on creating its own supply rail.
I also agree that a real circuit may not behave like the simulation and may
just sit there producing 12V.
But that's a useful lesson in the difference between the simulation model
and the real thing.
A crowbar and a fuse is one way to fix the hanging fet problem.
And if it's an LED lighting circuit it's likely no-one would care. You just
have to buy a new unit.
Either that or just a suitable fuse should take care of over current as is
sometimes done to stop people paralleling too many christmas tree lights.
Post by John Larkin
It also grunts at startup, fet full on until the +5 settles. That
could cave in a wimpy +12 supply, and it may never run right. The
diode will leak more than the fet gate, so the static default is fet
on. Just remove "startup" to see the hang state.
You could power a comparator from +12, dc couple into the gate, and
slow down the startup. Something like that. Using all discrete
transistors would be fun too.
One of the goals is to see what the minimum component count/cost is.
Putting in a beefier inductor and schottky says it can do 5V at 5A no
problem as long as the fet doesn't stick on all the time.
I haven't looked at the efficiency but it looks like it's reasonably high.
I probably will do the comparator discrete to see what the minimum
comparator I can get away with is.
Post by John Larkin
You could just buy a switcher chip and copy the appnotes, as many
people do, but you wouldn't learn anything. I know a guy who started a
pretty cool company just copying eval boards, but then he started day
trading....
There's no fun in going back to the way I did most designs 20 years ago.
Post by John Larkin
The Brat assigned me to do a giant Spice sim this weekend, a dual
isolated buck switching power supply that's in trouble, so I'm almost
Spiced out.
https://www.dropbox.com/scl/fi/kzzjdfijpacf2qlch2gyq/P941C_lores.jpg?rlkey=49mv67p1c0zvu9c5v5tdftk3f&raw=1
Your circuit also looks like it takes a while to get going. And plenty of
post filtering.
I always took the view that if it can be done perfectly fine without digits
then leave the digits those who can't cope with anything other than digits.
But I have done power supplies with digital control loops before.

What I really want is a low cost 12V to LED current converter but then where
would I get the comparator supply from?
Maybe directly from the input side, or another winding on the inductor.
Post by John Larkin
The sim is all analog, but the actual control loop will be digital, in
a small FPGA. One tricky part is that the two supples can be used
independently or in parallel, and the loads can be anything, with
remote sense.
It would be interesting to put two of my circuits in parallel.
I think they would auto synchronize.

One of the issues with my circuit is what happens with no load.
68 ohm half watt fixes it in simulation but what happens in reality is
anybody's guess.
piglet
2024-05-08 12:03:00 UTC
Permalink
Post by Edward Rawde
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
XP233P1501TR-G which has a model I can use in LTSpice?
XP202A0003PR-G would be useful too.
Infineon BSS215P might be more suitable for the FET.
That does have a simulation model.
http://www.infineon.com/dgdl/Infineon-SimulationModel_OptiMOS_PowerMOSFET_PSpice_20V_P-Channel-SM-v01_00-EN.zip?fileId=db3a30433d346a2d013d493ff9d160ab
I'll have to look into how compatible the model is with LTspice.
Microchip TC105 is also interesting but a bit pricey.
However it does lead to CD54NP as a possible choice for the inductor.
MA737 doesn't seem to be easily available but a suitable shottky diode
shouldn't be hard to find.
Vishay SI2371EDS-T1-GE3 looks interesting too.
Not too pricey for lower on resistance.
Some of the TI TPS5- series buck switchers are 19 cents.
Your circuit looks like a good way to blow up transistors.
Here's 12V to 5V 1A using the concept I had in mind of using a comparator
capacitively coupled to a FET.
Also using only components I could find in a fresh install of LTSpice.
If it doesn't work, fix the character encoding issue in the value of some
components.
Don't worry it won't be going into production any time soon.
Comments/laugter is welcome.
Version 4
SHEET 1 1956 680
WIRE 1104 -80 368 -80
WIRE 368 -16 368 -80
WIRE 368 -16 304 -16
WIRE 432 -16 368 -16
WIRE 544 -16 432 -16
WIRE 672 -16 544 -16
WIRE 848 -16 768 -16
WIRE 928 -16 848 -16
WIRE 1232 -16 1008 -16
WIRE 1376 -16 1232 -16
WIRE 1520 -16 1376 -16
WIRE 1632 -16 1520 -16
WIRE 304 32 304 -16
WIRE 1104 32 1104 -80
WIRE 1232 32 1232 -16
WIRE 544 64 544 -16
WIRE 432 80 432 -16
WIRE 1376 96 1376 -16
WIRE 1376 96 1360 96
WIRE 848 112 848 -16
WIRE 1632 112 1632 -16
WIRE 1360 128 1360 96
WIRE 1376 128 1376 96
WIRE 1520 128 1520 -16
WIRE 1104 144 1104 112
WIRE 1328 144 1104 144
WIRE 1456 160 1392 160
WIRE 304 176 304 112
WIRE 544 176 544 144
WIRE 592 176 544 176
WIRE 688 176 688 32
WIRE 688 176 656 176
WIRE 1232 176 1232 112
WIRE 1328 176 1232 176
WIRE 1104 192 1104 144
WIRE 1232 192 1232 176
WIRE 544 208 544 176
WIRE 688 224 688 176
WIRE 304 336 304 256
WIRE 432 336 432 144
WIRE 432 336 304 336
WIRE 544 336 544 288
WIRE 544 336 432 336
WIRE 848 336 848 176
WIRE 848 336 544 336
WIRE 1104 336 1104 272
WIRE 1104 336 848 336
WIRE 1232 336 1232 272
WIRE 1232 336 1104 336
WIRE 1344 336 1344 192
WIRE 1344 336 1232 336
WIRE 1360 336 1360 192
WIRE 1360 336 1344 336
WIRE 1376 336 1376 192
WIRE 1376 336 1360 336
WIRE 1520 336 1520 192
WIRE 1520 336 1376 336
WIRE 1632 336 1632 192
WIRE 1632 336 1520 336
WIRE 304 352 304 336
WIRE 688 400 688 288
WIRE 1456 400 1456 160
WIRE 1456 400 688 400
FLAG 304 352 0
SYMBOL Comparators\\LT1719 1360 96 R0
WINDOW 0 37 82 Left 2
WINDOW 3 26 27 Left 2
SYMATTR InstName U1
SYMBOL res 1088 16 R0
WINDOW 0 -36 27 Left 2
WINDOW 3 -71 76 Left 2
SYMATTR InstName R1
SYMATTR Value 47.5K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1088 176 R0
WINDOW 0 -43 30 Left 2
WINDOW 3 -59 64 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 1024 -32 R90
WINDOW 0 66 46 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 47µ
SYMATTR SpiceLine Ipk=1.1 Rser=0.17 Rpar=0 Cpar=0 mfg="Sumida"
pn="CD104-470"
SYMBOL res 1616 96 R0
SYMATTR InstName R4
SYMATTR Value 5.1
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 16 R0
WINDOW 0 -40 27 Left 2
WINDOW 3 -50 74 Left 2
SYMATTR InstName R3
SYMATTR Value 14K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 176 R0
WINDOW 0 -42 26 Left 2
WINDOW 3 -51 67 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 1504 128 R0
WINDOW 3 24 56 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL schottky 864 176 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value DFLS220L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 32 M270
WINDOW 0 -18 59 VLeft 2
WINDOW 3 78 89 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 304 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL res 528 48 R0
SYMATTR InstName R6
SYMATTR Value 1K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 528 192 R0
WINDOW 3 -71 61 Left 2
SYMATTR Value 2.32K
SYMATTR InstName R7
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL cap 672 224 R0
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL polcap 416 80 R0
WINDOW 3 24 56 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL diode 592 192 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 288 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
TEXT 288 392 Left 2 !.tran 0.001 startup
LED loads shouldn't care if ground referenced or not so you could use a
N-channel MOSFET instead - saves a cent and gives more choice of device.

LEDs shouldn't mind if the current is not smooth. If the inductor is big
enough the current can be kept approximately continuous and you can save
the output capacitor - perhaps the least long lived part in real life.

Here is my idea of a simple converter, biggest efficiency hit is
probably the sense resistor R5. I think the hysteresis determined by R3
may need fine tuning. This circuit has no capacitors, timing is dictated
by the inductor solely. I think adding a small capacitor from M1 drain
to Q1 collector could extend on-time and improve gate drive? Lots of
scope for fiddling.


Version 4
SHEET 1 1256 680
WIRE 64 -112 -144 -112
WIRE 256 -112 64 -112
WIRE 496 -112 256 -112
WIRE 752 -112 496 -112
WIRE 752 -96 752 -112
WIRE 64 -32 64 -112
WIRE 752 16 752 -16
WIRE 752 16 128 16
WIRE 256 64 256 -112
WIRE 64 96 64 64
WIRE 496 96 496 -112
WIRE 752 96 752 16
WIRE -144 144 -144 -112
WIRE 64 192 64 176
WIRE 128 192 64 192
WIRE 496 192 496 160
WIRE 496 192 208 192
WIRE 496 224 496 192
WIRE 544 224 496 224
WIRE 752 224 752 160
WIRE 752 224 624 224
WIRE 496 240 496 224
WIRE 256 320 256 144
WIRE 448 320 256 320
WIRE 256 336 256 320
WIRE 64 384 64 192
WIRE 192 384 64 384
WIRE 64 400 64 384
WIRE -144 496 -144 224
WIRE 64 496 64 480
WIRE 64 496 -144 496
WIRE 256 496 256 432
WIRE 256 496 64 496
WIRE 496 496 496 336
WIRE 496 496 256 496
WIRE -144 560 -144 496
FLAG -144 560 0
SYMBOL voltage -144 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL nmos 448 240 R0
SYMATTR InstName M1
SYMATTR Value FDS6612A
SYMBOL schottky 512 160 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 640 208 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 220µ
SYMBOL LED 736 96 R0
SYMATTR InstName D2
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 736 -112 R0
SYMATTR InstName R5
SYMATTR Value 1.2
SYMBOL res 240 48 R0
SYMATTR InstName R4
SYMATTR Value 3k
SYMBOL pnp 128 64 R180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL res 48 384 R0
SYMATTR InstName R2
SYMATTR Value 3k
SYMBOL res 224 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 62k
SYMBOL npn 192 336 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 48 80 R0
SYMATTR InstName R1
SYMATTR Value 3k
TEXT 736 560 Left 2 !.tran 10m
TEXT 664 400 Left 2 ;EPW SED May 2024
TEXT 624 448 Left 2 ;Simple LED buck smps


piglet
Bill Sloman
2024-05-08 14:19:28 UTC
Permalink
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>

Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec.,
and that's it.
--
Bill Sloman, Sydney
piglet
2024-05-08 20:13:42 UTC
Permalink
Post by Bill Sloman
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec.,
and that's it.
Damn! You are right, some thing strange happened with L1 value. The mu
symbol comes out wrong on a second system. Either retype as 220u or as
0.22m and see if that works better?
--
piglet
Bill Sloman
2024-05-09 08:07:29 UTC
Permalink
Post by piglet
Post by Bill Sloman
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec.,
and that's it.
Damn! You are right, some thing strange happened with L1 value. The mu
symbol comes out wrong on a second system. Either retype as 220u or as
0.22m and see if that works better?
Switching to 220u did solve the problem. I should have noticed.

Radiating 150kHz from a remote lamp isn't great idea.

This variation on the circuit slows the switching to 16kHz, but doesn't
do anything for the amplitude. Some gain along the feedback path would
cut the reduce the current excursions through D2 and the radiated noise.

Replacing Q2 with an LM358 might do it.

Version 4
SHEET 1 1340 680
WIRE 64 -112 -144 -112
WIRE 256 -112 64 -112
WIRE 496 -112 256 -112
WIRE 1008 -112 496 -112
WIRE 1008 -96 1008 -112
WIRE 64 -32 64 -112
WIRE 1008 16 1008 -16
WIRE 1008 16 128 16
WIRE 256 64 256 -112
WIRE 64 96 64 64
WIRE 496 96 496 -112
WIRE 1008 96 1008 16
WIRE -144 144 -144 -112
WIRE 64 192 64 176
WIRE 128 192 64 192
WIRE 496 192 496 160
WIRE 496 192 208 192
WIRE 496 224 496 192
WIRE 544 224 496 224
WIRE 656 224 624 224
WIRE 736 224 720 224
WIRE 752 224 736 224
WIRE 864 224 816 224
WIRE 880 224 864 224
WIRE 1008 224 1008 160
WIRE 1008 224 944 224
WIRE 496 240 496 224
WIRE 256 320 256 144
WIRE 448 320 256 320
WIRE 736 320 736 224
WIRE 864 320 864 224
WIRE 1008 320 1008 224
WIRE 256 336 256 320
WIRE 64 384 64 192
WIRE 192 384 64 384
WIRE 64 400 64 384
WIRE -144 496 -144 224
WIRE 64 496 64 480
WIRE 64 496 -144 496
WIRE 256 496 256 432
WIRE 256 496 64 496
WIRE 496 496 496 336
WIRE 496 496 256 496
WIRE 736 496 736 384
WIRE 736 496 496 496
WIRE 864 496 864 384
WIRE 864 496 736 496
WIRE 1008 496 1008 384
WIRE 1008 496 864 496
WIRE -144 560 -144 496
FLAG -144 560 0
SYMBOL voltage -144 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL nmos 448 240 R0
SYMATTR InstName M1
SYMATTR Value FDS6612A
SYMBOL schottky 512 160 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 640 208 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 220µ
SYMATTR SpiceLine Cpar=1p
SYMBOL LED 992 96 R0
SYMATTR InstName D2
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 1008 -64 R0
SYMATTR InstName R5
SYMATTR Value 1.2
SYMBOL res 256 96 R0
SYMATTR InstName R4
SYMATTR Value 3k
SYMBOL pnp 128 64 R180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL res 64 432 R0
SYMATTR InstName R2
SYMATTR Value 3k
SYMBOL res 176 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 62k
SYMBOL npn 192 336 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 64 128 R0
SYMATTR InstName R1
SYMATTR Value 3k
SYMBOL FerriteBead 688 224 R90
WINDOW 0 -16 0 VBottom 2
SYMATTR InstName L2
SYMATTR Value 14µ
SYMATTR SpiceLine Ipk=3 Rser=0.0122 Rpar=870 Cpar=1000f
SYMBOL polcap 992 320 R0
WINDOW 3 24 56 Left 2
SYMATTR InstName C1
SYMATTR Value 22µ
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=16 Irms=0 Rser=1.6 Lser=0 mfg="AVX" pn="TAJC226K016"
type="Tantalum"
SYMBOL FerriteBead 784 224 R90
WINDOW 0 -16 0 VBottom 2
SYMATTR InstName L3
SYMATTR Value 14µ
SYMATTR SpiceLine Ipk=3 Rser=0.0122 Rpar=870 Cpar=1000f
SYMBOL polcap 720 320 R0
WINDOW 3 24 56 Left 2
SYMATTR InstName C2
SYMATTR Value 22µ
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=16 Irms=0 Rser=1.6 Lser=0 mfg="AVX" pn="TAJC226K016"
type="Tantalum"
SYMBOL FerriteBead 912 224 R90
WINDOW 0 -16 0 VBottom 2
SYMATTR InstName L4
SYMATTR Value 14µ
SYMATTR SpiceLine Ipk=3 Rser=0.0122 Rpar=870 Cpar=1000f
SYMBOL polcap 848 320 R0
WINDOW 3 24 56 Left 2
SYMATTR InstName C3
SYMATTR Value 22µ
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=16 Irms=0 Rser=1.6 Lser=0 mfg="AVX" pn="TAJC226K016"
type="Tantalum"
TEXT 736 560 Left 2 !.tran 10m
TEXT 1112 232 Left 2 ;EPW SED May 2024
TEXT 1072 280 Left 2 ;Simple LED buck smps
--
Bill Sloman, Sydney
Edward Rawde
2024-05-09 01:21:10 UTC
Permalink
Post by Bill Sloman
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec., and
that's it.
It works for me but I'd like something more efficient if possible.

My own latest creation does 5V 1A from 8V to 15V input but at 16V input it
stops and produces 16V so I'm not sure I'd trust this circuit in reality.
There is a character encoding issue which may affect the u symbol for
capacitors and inductors.
And line wraps may also need fixing.

Version 4
SHEET 1 2820 680
WIRE 1200 -112 240 -112
WIRE 208 -48 176 -48
WIRE 240 -48 240 -112
WIRE 240 -48 208 -48
WIRE 288 -48 240 -48
WIRE 368 -48 288 -48
WIRE 672 -48 368 -48
WIRE 800 -48 768 -48
WIRE 816 -48 800 -48
WIRE 864 -48 816 -48
WIRE 992 -48 944 -48
WIRE 1088 -48 992 -48
WIRE 1408 -48 1088 -48
WIRE 1504 -48 1408 -48
WIRE 1680 -48 1504 -48
WIRE 1200 -32 1200 -112
WIRE 368 0 368 -48
WIRE 384 0 368 0
WIRE 480 0 448 0
WIRE 560 0 544 0
WIRE 992 16 992 -48
WIRE 176 32 176 -48
WIRE 688 32 688 0
WIRE 1200 64 1200 48
WIRE 1312 64 1200 64
WIRE 288 80 288 -48
WIRE 816 80 816 -48
WIRE 1312 80 1312 64
WIRE 1408 80 1408 -48
WIRE 1504 80 1504 -48
WIRE 384 96 368 96
WIRE 480 96 448 96
WIRE 560 96 560 0
WIRE 560 96 544 96
WIRE 1072 112 1040 112
WIRE 1120 112 1072 112
WIRE 1184 112 1120 112
WIRE 1200 112 1200 64
WIRE 1200 112 1184 112
WIRE 1680 112 1680 -48
WIRE 1184 160 1184 112
WIRE 1200 160 1200 112
WIRE 176 176 176 112
WIRE 1264 176 1232 176
WIRE 1312 176 1312 160
WIRE 1312 176 1264 176
WIRE 368 192 368 96
WIRE 384 192 368 192
WIRE 480 192 448 192
WIRE 576 192 544 192
WIRE 592 192 576 192
WIRE 672 192 656 192
WIRE 688 192 688 112
WIRE 688 192 672 192
WIRE 720 192 688 192
WIRE 736 192 720 192
WIRE 928 192 800 192
WIRE 1168 192 928 192
WIRE 1040 208 1040 112
WIRE 1120 208 1120 112
WIRE 1264 208 1232 208
WIRE 1408 208 1408 160
WIRE 1408 208 1264 208
WIRE 1504 208 1504 160
WIRE 1504 208 1408 208
WIRE 576 224 576 192
WIRE 672 224 672 192
WIRE 1312 224 1312 176
WIRE 1408 224 1408 208
WIRE 176 336 176 256
WIRE 288 336 288 144
WIRE 288 336 176 336
WIRE 576 336 576 304
WIRE 576 336 288 336
WIRE 672 336 672 304
WIRE 672 336 576 336
WIRE 816 336 816 144
WIRE 816 336 672 336
WIRE 992 336 992 80
WIRE 992 336 816 336
WIRE 1040 336 1040 272
WIRE 1040 336 992 336
WIRE 1120 336 1120 272
WIRE 1120 336 1040 336
WIRE 1184 336 1184 224
WIRE 1184 336 1120 336
WIRE 1200 336 1200 224
WIRE 1200 336 1184 336
WIRE 1216 336 1216 224
WIRE 1216 336 1200 336
WIRE 1312 336 1312 304
WIRE 1312 336 1216 336
WIRE 1408 336 1408 304
WIRE 1408 336 1312 336
WIRE 1680 336 1680 192
WIRE 1680 336 1408 336
WIRE 176 352 176 336
FLAG 176 352 0
FLAG 208 -48 in
FLAG 720 192 gate
FLAG 1264 176 cmp-
FLAG 1264 208 cmp+
FLAG 928 192 cmpout
FLAG 1072 112 cmp5v
FLAG 1088 -48 out
FLAG 800 -48 sw
SYMBOL Comparators\\LT1719 1200 128 M0
WINDOW 0 27 27 Left 2
WINDOW 3 -92 6 Left 2
SYMATTR InstName U1
SYMBOL res 1328 208 M0
WINDOW 0 -35 36 Left 2
WINDOW 3 -49 70 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 960 -64 R90
WINDOW 0 63 51 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 100µ
SYMATTR SpiceLine Ipk=1.3 Rser=0.15 Rpar=0 Cpar=0 mfg="Murata"
pn="MDH10060C-101MA=P3"
SYMBOL res 1664 96 R0
WINDOW 0 40 39 Left 2
WINDOW 3 39 70 Left 2
SYMATTR InstName R4
SYMATTR Value 5
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1424 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -48 70 Left 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL schottky 832 144 R180
WINDOW 0 42 31 Left 2
WINDOW 3 -123 30 Left 2
SYMATTR InstName D2
SYMATTR Value MBRS130L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 0 M270
WINDOW 0 25 128 VLeft 2
WINDOW 3 69 92 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 176 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL cap 800 176 R90
WINDOW 0 63 30 VBottom 2
WINDOW 3 62 28 VTop 2
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL diode 592 208 R270
WINDOW 0 -30 34 VTop 2
WINDOW 3 69 29 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 160 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
SYMBOL zener 1104 272 M180
WINDOW 0 42 35 Left 2
WINDOW 3 83 -95 Right 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res 1328 64 M0
WINDOW 0 -35 41 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 -48 M0
WINDOW 0 -39 39 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R6
SYMATTR Value 220
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 560 208 R0
WINDOW 0 38 56 Left 2
WINDOW 3 33 84 Left 2
SYMATTR InstName R7
SYMATTR Value 3.9K
SYMBOL cap 1056 272 R180
WINDOW 0 -35 33 Left 2
WINDOW 3 -53 3 Left 2
SYMATTR InstName C3
SYMATTR Value 0.1µ
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.0337 Lser=180p mfg="Würth Elektronik"
pn="885012104009 WCAP-CSGP 0201" type="X5R"
SYMBOL diode 480 208 R270
WINDOW 0 35 34 VTop 2
WINDOW 3 -9 28 VBottom 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode 384 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL diode 384 208 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -6 32 VBottom 2
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 448 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D7
SYMATTR Value 1N4148
SYMBOL diode 544 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL diode 480 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL polcap 976 16 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 1424 208 M0
WINDOW 0 -38 36 Left 2
WINDOW 3 -52 69 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1520 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -63 70 Left 2
SYMATTR InstName R9
SYMATTR Value 220K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 704 16 M0
WINDOW 0 40 30 Left 2
WINDOW 3 42 61 Left 2
SYMATTR InstName R10
SYMATTR Value 3.3
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 272 80 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 688 208 M0
WINDOW 0 -54 68 Left 2
WINDOW 3 -76 93 Left 2
SYMATTR InstName R11
SYMATTR Value 1000K
SYMATTR SpiceLine tol=1 pwr=0.1
TEXT 208 352 Left 2 !.tran 0.001 startup
Post by Bill Sloman
--
Bill Sloman, Sydney
piglet
2024-05-09 06:54:47 UTC
Permalink
Post by Edward Rawde
Post by Bill Sloman
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec., and
that's it.
It works for me but I'd like something more efficient if possible.
My own latest creation does 5V 1A from 8V to 15V input but at 16V input it
stops and produces 16V so I'm not sure I'd trust this circuit in reality.
There is a character encoding issue which may affect the u symbol for
capacitors and inductors.
And line wraps may also need fixing.
Version 4
SHEET 1 2820 680
WIRE 1200 -112 240 -112
WIRE 208 -48 176 -48
WIRE 240 -48 240 -112
WIRE 240 -48 208 -48
WIRE 288 -48 240 -48
WIRE 368 -48 288 -48
WIRE 672 -48 368 -48
WIRE 800 -48 768 -48
WIRE 816 -48 800 -48
WIRE 864 -48 816 -48
WIRE 992 -48 944 -48
WIRE 1088 -48 992 -48
WIRE 1408 -48 1088 -48
WIRE 1504 -48 1408 -48
WIRE 1680 -48 1504 -48
WIRE 1200 -32 1200 -112
WIRE 368 0 368 -48
WIRE 384 0 368 0
WIRE 480 0 448 0
WIRE 560 0 544 0
WIRE 992 16 992 -48
WIRE 176 32 176 -48
WIRE 688 32 688 0
WIRE 1200 64 1200 48
WIRE 1312 64 1200 64
WIRE 288 80 288 -48
WIRE 816 80 816 -48
WIRE 1312 80 1312 64
WIRE 1408 80 1408 -48
WIRE 1504 80 1504 -48
WIRE 384 96 368 96
WIRE 480 96 448 96
WIRE 560 96 560 0
WIRE 560 96 544 96
WIRE 1072 112 1040 112
WIRE 1120 112 1072 112
WIRE 1184 112 1120 112
WIRE 1200 112 1200 64
WIRE 1200 112 1184 112
WIRE 1680 112 1680 -48
WIRE 1184 160 1184 112
WIRE 1200 160 1200 112
WIRE 176 176 176 112
WIRE 1264 176 1232 176
WIRE 1312 176 1312 160
WIRE 1312 176 1264 176
WIRE 368 192 368 96
WIRE 384 192 368 192
WIRE 480 192 448 192
WIRE 576 192 544 192
WIRE 592 192 576 192
WIRE 672 192 656 192
WIRE 688 192 688 112
WIRE 688 192 672 192
WIRE 720 192 688 192
WIRE 736 192 720 192
WIRE 928 192 800 192
WIRE 1168 192 928 192
WIRE 1040 208 1040 112
WIRE 1120 208 1120 112
WIRE 1264 208 1232 208
WIRE 1408 208 1408 160
WIRE 1408 208 1264 208
WIRE 1504 208 1504 160
WIRE 1504 208 1408 208
WIRE 576 224 576 192
WIRE 672 224 672 192
WIRE 1312 224 1312 176
WIRE 1408 224 1408 208
WIRE 176 336 176 256
WIRE 288 336 288 144
WIRE 288 336 176 336
WIRE 576 336 576 304
WIRE 576 336 288 336
WIRE 672 336 672 304
WIRE 672 336 576 336
WIRE 816 336 816 144
WIRE 816 336 672 336
WIRE 992 336 992 80
WIRE 992 336 816 336
WIRE 1040 336 1040 272
WIRE 1040 336 992 336
WIRE 1120 336 1120 272
WIRE 1120 336 1040 336
WIRE 1184 336 1184 224
WIRE 1184 336 1120 336
WIRE 1200 336 1200 224
WIRE 1200 336 1184 336
WIRE 1216 336 1216 224
WIRE 1216 336 1200 336
WIRE 1312 336 1312 304
WIRE 1312 336 1216 336
WIRE 1408 336 1408 304
WIRE 1408 336 1312 336
WIRE 1680 336 1680 192
WIRE 1680 336 1408 336
WIRE 176 352 176 336
FLAG 176 352 0
FLAG 208 -48 in
FLAG 720 192 gate
FLAG 1264 176 cmp-
FLAG 1264 208 cmp+
FLAG 928 192 cmpout
FLAG 1072 112 cmp5v
FLAG 1088 -48 out
FLAG 800 -48 sw
SYMBOL Comparators\\LT1719 1200 128 M0
WINDOW 0 27 27 Left 2
WINDOW 3 -92 6 Left 2
SYMATTR InstName U1
SYMBOL res 1328 208 M0
WINDOW 0 -35 36 Left 2
WINDOW 3 -49 70 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 960 -64 R90
WINDOW 0 63 51 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 100µ
SYMATTR SpiceLine Ipk=1.3 Rser=0.15 Rpar=0 Cpar=0 mfg="Murata"
pn="MDH10060C-101MA=P3"
SYMBOL res 1664 96 R0
WINDOW 0 40 39 Left 2
WINDOW 3 39 70 Left 2
SYMATTR InstName R4
SYMATTR Value 5
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1424 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -48 70 Left 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL schottky 832 144 R180
WINDOW 0 42 31 Left 2
WINDOW 3 -123 30 Left 2
SYMATTR InstName D2
SYMATTR Value MBRS130L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 0 M270
WINDOW 0 25 128 VLeft 2
WINDOW 3 69 92 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 176 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL cap 800 176 R90
WINDOW 0 63 30 VBottom 2
WINDOW 3 62 28 VTop 2
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL diode 592 208 R270
WINDOW 0 -30 34 VTop 2
WINDOW 3 69 29 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 160 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
SYMBOL zener 1104 272 M180
WINDOW 0 42 35 Left 2
WINDOW 3 83 -95 Right 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res 1328 64 M0
WINDOW 0 -35 41 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 -48 M0
WINDOW 0 -39 39 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R6
SYMATTR Value 220
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 560 208 R0
WINDOW 0 38 56 Left 2
WINDOW 3 33 84 Left 2
SYMATTR InstName R7
SYMATTR Value 3.9K
SYMBOL cap 1056 272 R180
WINDOW 0 -35 33 Left 2
WINDOW 3 -53 3 Left 2
SYMATTR InstName C3
SYMATTR Value 0.1µ
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.0337 Lser=180p mfg="Würth Elektronik"
pn="885012104009 WCAP-CSGP 0201" type="X5R"
SYMBOL diode 480 208 R270
WINDOW 0 35 34 VTop 2
WINDOW 3 -9 28 VBottom 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode 384 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL diode 384 208 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -6 32 VBottom 2
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 448 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D7
SYMATTR Value 1N4148
SYMBOL diode 544 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL diode 480 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL polcap 976 16 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 1424 208 M0
WINDOW 0 -38 36 Left 2
WINDOW 3 -52 69 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1520 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -63 70 Left 2
SYMATTR InstName R9
SYMATTR Value 220K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 704 16 M0
WINDOW 0 40 30 Left 2
WINDOW 3 42 61 Left 2
SYMATTR InstName R10
SYMATTR Value 3.3
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 272 80 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 688 208 M0
WINDOW 0 -54 68 Left 2
WINDOW 3 -76 93 Left 2
SYMATTR InstName R11
SYMATTR Value 1000K
SYMATTR SpiceLine tol=1 pwr=0.1
TEXT 208 352 Left 2 !.tran 0.001 startup
I thought you wanted to drive LEDs? But if you really wanted 12V to
ground referenced 5V then here is my offering ...


Version 4
SHEET 1 912 680
WIRE -496 -160 -720 -160
WIRE -224 -160 -496 -160
WIRE -48 -160 -224 -160
WIRE 176 -160 -48 -160
WIRE -224 -80 -224 -160
WIRE -48 -80 -48 -160
WIRE -496 -32 -496 -160
WIRE -128 -32 -160 -32
WIRE -112 -32 -128 -32
WIRE -128 32 -128 -32
WIRE -48 32 -48 16
WIRE -48 32 -128 32
WIRE 176 48 176 -160
WIRE -224 64 -224 16
WIRE 128 64 -224 64
WIRE -720 160 -720 -160
WIRE -336 160 -368 160
WIRE 176 160 176 144
WIRE 176 160 -256 160
WIRE 176 208 176 160
WIRE 256 208 176 208
WIRE 416 208 336 208
WIRE 512 208 416 208
WIRE 704 208 512 208
WIRE -224 224 -224 64
WIRE -48 224 -48 32
WIRE 512 240 512 208
WIRE -496 272 -496 48
WIRE -464 272 -496 272
WIRE -368 272 -368 160
WIRE -368 272 -384 272
WIRE -288 272 -368 272
WIRE 416 272 416 208
WIRE 416 272 16 272
WIRE 704 288 704 208
WIRE -496 336 -496 272
WIRE -224 336 -224 320
WIRE -144 336 -224 336
WIRE -48 336 -48 320
WIRE -48 336 -144 336
WIRE 512 336 512 304
WIRE 176 352 176 208
WIRE -144 384 -144 336
WIRE -720 496 -720 240
WIRE -496 496 -496 400
WIRE -496 496 -720 496
WIRE -144 496 -144 464
WIRE -144 496 -496 496
WIRE 176 496 176 416
WIRE 176 496 -144 496
WIRE 512 496 512 416
WIRE 512 496 176 496
WIRE 704 496 704 368
WIRE 704 496 512 496
WIRE -720 544 -720 496
FLAG -720 544 0
SYMBOL pmos 128 144 M180
SYMATTR InstName M1
SYMATTR Value RRR030P03
SYMBOL schottky 192 416 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 240 224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 0.047m
SYMBOL cap 496 240 R0
SYMATTR InstName C1
SYMATTR Value 0.1m
SYMBOL res 496 320 R0
SYMATTR InstName Resr
SYMATTR Value 0.1
SYMBOL npn -288 224 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 16 224 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL pnp -160 16 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL pnp -112 16 M180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL zener -480 400 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res -160 368 R0
SYMATTR InstName R4
SYMATTR Value 330
SYMBOL res -368 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1.5k
SYMBOL res -480 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 1.5k
SYMBOL res 720 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rload
SYMATTR Value 5
SYMBOL voltage -720 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 150k
TEXT 494 552 Left 2 !.tran 10m
TEXT 496 -160 Left 2 ;EPW SED MAY 2024
TEXT 440 -112 Left 2 ;SIMPLE BUCK 12V TO 5V

piglet
Edward Rawde
2024-05-09 12:48:21 UTC
Permalink
Post by Edward Rawde
Post by Bill Sloman
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec., and
that's it.
It works for me but I'd like something more efficient if possible.
My own latest creation does 5V 1A from 8V to 15V input but at 16V input it
stops and produces 16V so I'm not sure I'd trust this circuit in reality.
There is a character encoding issue which may affect the u symbol for
capacitors and inductors.
And line wraps may also need fixing.
Version 4
SHEET 1 2820 680
WIRE 1200 -112 240 -112
WIRE 208 -48 176 -48
WIRE 240 -48 240 -112
WIRE 240 -48 208 -48
WIRE 288 -48 240 -48
WIRE 368 -48 288 -48
WIRE 672 -48 368 -48
WIRE 800 -48 768 -48
WIRE 816 -48 800 -48
WIRE 864 -48 816 -48
WIRE 992 -48 944 -48
WIRE 1088 -48 992 -48
WIRE 1408 -48 1088 -48
WIRE 1504 -48 1408 -48
WIRE 1680 -48 1504 -48
WIRE 1200 -32 1200 -112
WIRE 368 0 368 -48
WIRE 384 0 368 0
WIRE 480 0 448 0
WIRE 560 0 544 0
WIRE 992 16 992 -48
WIRE 176 32 176 -48
WIRE 688 32 688 0
WIRE 1200 64 1200 48
WIRE 1312 64 1200 64
WIRE 288 80 288 -48
WIRE 816 80 816 -48
WIRE 1312 80 1312 64
WIRE 1408 80 1408 -48
WIRE 1504 80 1504 -48
WIRE 384 96 368 96
WIRE 480 96 448 96
WIRE 560 96 560 0
WIRE 560 96 544 96
WIRE 1072 112 1040 112
WIRE 1120 112 1072 112
WIRE 1184 112 1120 112
WIRE 1200 112 1200 64
WIRE 1200 112 1184 112
WIRE 1680 112 1680 -48
WIRE 1184 160 1184 112
WIRE 1200 160 1200 112
WIRE 176 176 176 112
WIRE 1264 176 1232 176
WIRE 1312 176 1312 160
WIRE 1312 176 1264 176
WIRE 368 192 368 96
WIRE 384 192 368 192
WIRE 480 192 448 192
WIRE 576 192 544 192
WIRE 592 192 576 192
WIRE 672 192 656 192
WIRE 688 192 688 112
WIRE 688 192 672 192
WIRE 720 192 688 192
WIRE 736 192 720 192
WIRE 928 192 800 192
WIRE 1168 192 928 192
WIRE 1040 208 1040 112
WIRE 1120 208 1120 112
WIRE 1264 208 1232 208
WIRE 1408 208 1408 160
WIRE 1408 208 1264 208
WIRE 1504 208 1504 160
WIRE 1504 208 1408 208
WIRE 576 224 576 192
WIRE 672 224 672 192
WIRE 1312 224 1312 176
WIRE 1408 224 1408 208
WIRE 176 336 176 256
WIRE 288 336 288 144
WIRE 288 336 176 336
WIRE 576 336 576 304
WIRE 576 336 288 336
WIRE 672 336 672 304
WIRE 672 336 576 336
WIRE 816 336 816 144
WIRE 816 336 672 336
WIRE 992 336 992 80
WIRE 992 336 816 336
WIRE 1040 336 1040 272
WIRE 1040 336 992 336
WIRE 1120 336 1120 272
WIRE 1120 336 1040 336
WIRE 1184 336 1184 224
WIRE 1184 336 1120 336
WIRE 1200 336 1200 224
WIRE 1200 336 1184 336
WIRE 1216 336 1216 224
WIRE 1216 336 1200 336
WIRE 1312 336 1312 304
WIRE 1312 336 1216 336
WIRE 1408 336 1408 304
WIRE 1408 336 1312 336
WIRE 1680 336 1680 192
WIRE 1680 336 1408 336
WIRE 176 352 176 336
FLAG 176 352 0
FLAG 208 -48 in
FLAG 720 192 gate
FLAG 1264 176 cmp-
FLAG 1264 208 cmp+
FLAG 928 192 cmpout
FLAG 1072 112 cmp5v
FLAG 1088 -48 out
FLAG 800 -48 sw
SYMBOL Comparators\\LT1719 1200 128 M0
WINDOW 0 27 27 Left 2
WINDOW 3 -92 6 Left 2
SYMATTR InstName U1
SYMBOL res 1328 208 M0
WINDOW 0 -35 36 Left 2
WINDOW 3 -49 70 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 960 -64 R90
WINDOW 0 63 51 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 100µ
SYMATTR SpiceLine Ipk=1.3 Rser=0.15 Rpar=0 Cpar=0 mfg="Murata"
pn="MDH10060C-101MA=P3"
SYMBOL res 1664 96 R0
WINDOW 0 40 39 Left 2
WINDOW 3 39 70 Left 2
SYMATTR InstName R4
SYMATTR Value 5
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1424 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -48 70 Left 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL schottky 832 144 R180
WINDOW 0 42 31 Left 2
WINDOW 3 -123 30 Left 2
SYMATTR InstName D2
SYMATTR Value MBRS130L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 0 M270
WINDOW 0 25 128 VLeft 2
WINDOW 3 69 92 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 176 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL cap 800 176 R90
WINDOW 0 63 30 VBottom 2
WINDOW 3 62 28 VTop 2
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL diode 592 208 R270
WINDOW 0 -30 34 VTop 2
WINDOW 3 69 29 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 160 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
SYMBOL zener 1104 272 M180
WINDOW 0 42 35 Left 2
WINDOW 3 83 -95 Right 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res 1328 64 M0
WINDOW 0 -35 41 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 -48 M0
WINDOW 0 -39 39 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R6
SYMATTR Value 220
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 560 208 R0
WINDOW 0 38 56 Left 2
WINDOW 3 33 84 Left 2
SYMATTR InstName R7
SYMATTR Value 3.9K
SYMBOL cap 1056 272 R180
WINDOW 0 -35 33 Left 2
WINDOW 3 -53 3 Left 2
SYMATTR InstName C3
SYMATTR Value 0.1µ
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.0337 Lser=180p mfg="Würth Elektronik"
pn="885012104009 WCAP-CSGP 0201" type="X5R"
SYMBOL diode 480 208 R270
WINDOW 0 35 34 VTop 2
WINDOW 3 -9 28 VBottom 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode 384 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL diode 384 208 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -6 32 VBottom 2
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 448 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D7
SYMATTR Value 1N4148
SYMBOL diode 544 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL diode 480 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL polcap 976 16 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 1424 208 M0
WINDOW 0 -38 36 Left 2
WINDOW 3 -52 69 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1520 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -63 70 Left 2
SYMATTR InstName R9
SYMATTR Value 220K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 704 16 M0
WINDOW 0 40 30 Left 2
WINDOW 3 42 61 Left 2
SYMATTR InstName R10
SYMATTR Value 3.3
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 272 80 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 688 208 M0
WINDOW 0 -54 68 Left 2
WINDOW 3 -76 93 Left 2
SYMATTR InstName R11
SYMATTR Value 1000K
SYMATTR SpiceLine tol=1 pwr=0.1
TEXT 208 352 Left 2 !.tran 0.001 startup
I thought you wanted to drive LEDs? But if you really wanted 12V to ground
referenced 5V then here is my offering ...
Yes that works fine but perhaps a little low on switching speed compared
with what I had in mind.
I posted a constant current LED circuit in a new thread.
Version 4
SHEET 1 912 680
WIRE -496 -160 -720 -160
WIRE -224 -160 -496 -160
WIRE -48 -160 -224 -160
WIRE 176 -160 -48 -160
WIRE -224 -80 -224 -160
WIRE -48 -80 -48 -160
WIRE -496 -32 -496 -160
WIRE -128 -32 -160 -32
WIRE -112 -32 -128 -32
WIRE -128 32 -128 -32
WIRE -48 32 -48 16
WIRE -48 32 -128 32
WIRE 176 48 176 -160
WIRE -224 64 -224 16
WIRE 128 64 -224 64
WIRE -720 160 -720 -160
WIRE -336 160 -368 160
WIRE 176 160 176 144
WIRE 176 160 -256 160
WIRE 176 208 176 160
WIRE 256 208 176 208
WIRE 416 208 336 208
WIRE 512 208 416 208
WIRE 704 208 512 208
WIRE -224 224 -224 64
WIRE -48 224 -48 32
WIRE 512 240 512 208
WIRE -496 272 -496 48
WIRE -464 272 -496 272
WIRE -368 272 -368 160
WIRE -368 272 -384 272
WIRE -288 272 -368 272
WIRE 416 272 416 208
WIRE 416 272 16 272
WIRE 704 288 704 208
WIRE -496 336 -496 272
WIRE -224 336 -224 320
WIRE -144 336 -224 336
WIRE -48 336 -48 320
WIRE -48 336 -144 336
WIRE 512 336 512 304
WIRE 176 352 176 208
WIRE -144 384 -144 336
WIRE -720 496 -720 240
WIRE -496 496 -496 400
WIRE -496 496 -720 496
WIRE -144 496 -144 464
WIRE -144 496 -496 496
WIRE 176 496 176 416
WIRE 176 496 -144 496
WIRE 512 496 512 416
WIRE 512 496 176 496
WIRE 704 496 704 368
WIRE 704 496 512 496
WIRE -720 544 -720 496
FLAG -720 544 0
SYMBOL pmos 128 144 M180
SYMATTR InstName M1
SYMATTR Value RRR030P03
SYMBOL schottky 192 416 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 240 224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 0.047m
SYMBOL cap 496 240 R0
SYMATTR InstName C1
SYMATTR Value 0.1m
SYMBOL res 496 320 R0
SYMATTR InstName Resr
SYMATTR Value 0.1
SYMBOL npn -288 224 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 16 224 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL pnp -160 16 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL pnp -112 16 M180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL zener -480 400 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res -160 368 R0
SYMATTR InstName R4
SYMATTR Value 330
SYMBOL res -368 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1.5k
SYMBOL res -480 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 1.5k
SYMBOL res 720 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rload
SYMATTR Value 5
SYMBOL voltage -720 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 150k
TEXT 494 552 Left 2 !.tran 10m
TEXT 496 -160 Left 2 ;EPW SED MAY 2024
TEXT 440 -112 Left 2 ;SIMPLE BUCK 12V TO 5V
piglet
Klaus Vestergaard Kragelund
2024-05-10 08:11:38 UTC
Permalink
Post by piglet
Post by Edward Rawde
Post by Bill Sloman
Post by John Larkin
On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
Post by Edward Rawde
Does anyone know of a P-channel MOSFET, roughly equivalent to
<snip>
Cutting and pasting piglet's .asc file into my version of LTSpice gave a
circuit that didn't do anything useful. M1 turns off after 2.67usec., and
that's it.
It works for me but I'd like something more efficient if possible.
My own latest creation does 5V 1A from 8V to 15V input but at 16V input it
stops and produces 16V so I'm not sure I'd trust this circuit in reality.
There is a character encoding issue which may affect the u symbol for
capacitors and inductors.
And line wraps may also need fixing.
Version 4
SHEET 1 2820 680
WIRE 1200 -112 240 -112
WIRE 208 -48 176 -48
WIRE 240 -48 240 -112
WIRE 240 -48 208 -48
WIRE 288 -48 240 -48
WIRE 368 -48 288 -48
WIRE 672 -48 368 -48
WIRE 800 -48 768 -48
WIRE 816 -48 800 -48
WIRE 864 -48 816 -48
WIRE 992 -48 944 -48
WIRE 1088 -48 992 -48
WIRE 1408 -48 1088 -48
WIRE 1504 -48 1408 -48
WIRE 1680 -48 1504 -48
WIRE 1200 -32 1200 -112
WIRE 368 0 368 -48
WIRE 384 0 368 0
WIRE 480 0 448 0
WIRE 560 0 544 0
WIRE 992 16 992 -48
WIRE 176 32 176 -48
WIRE 688 32 688 0
WIRE 1200 64 1200 48
WIRE 1312 64 1200 64
WIRE 288 80 288 -48
WIRE 816 80 816 -48
WIRE 1312 80 1312 64
WIRE 1408 80 1408 -48
WIRE 1504 80 1504 -48
WIRE 384 96 368 96
WIRE 480 96 448 96
WIRE 560 96 560 0
WIRE 560 96 544 96
WIRE 1072 112 1040 112
WIRE 1120 112 1072 112
WIRE 1184 112 1120 112
WIRE 1200 112 1200 64
WIRE 1200 112 1184 112
WIRE 1680 112 1680 -48
WIRE 1184 160 1184 112
WIRE 1200 160 1200 112
WIRE 176 176 176 112
WIRE 1264 176 1232 176
WIRE 1312 176 1312 160
WIRE 1312 176 1264 176
WIRE 368 192 368 96
WIRE 384 192 368 192
WIRE 480 192 448 192
WIRE 576 192 544 192
WIRE 592 192 576 192
WIRE 672 192 656 192
WIRE 688 192 688 112
WIRE 688 192 672 192
WIRE 720 192 688 192
WIRE 736 192 720 192
WIRE 928 192 800 192
WIRE 1168 192 928 192
WIRE 1040 208 1040 112
WIRE 1120 208 1120 112
WIRE 1264 208 1232 208
WIRE 1408 208 1408 160
WIRE 1408 208 1264 208
WIRE 1504 208 1504 160
WIRE 1504 208 1408 208
WIRE 576 224 576 192
WIRE 672 224 672 192
WIRE 1312 224 1312 176
WIRE 1408 224 1408 208
WIRE 176 336 176 256
WIRE 288 336 288 144
WIRE 288 336 176 336
WIRE 576 336 576 304
WIRE 576 336 288 336
WIRE 672 336 672 304
WIRE 672 336 576 336
WIRE 816 336 816 144
WIRE 816 336 672 336
WIRE 992 336 992 80
WIRE 992 336 816 336
WIRE 1040 336 1040 272
WIRE 1040 336 992 336
WIRE 1120 336 1120 272
WIRE 1120 336 1040 336
WIRE 1184 336 1184 224
WIRE 1184 336 1120 336
WIRE 1200 336 1200 224
WIRE 1200 336 1184 336
WIRE 1216 336 1216 224
WIRE 1216 336 1200 336
WIRE 1312 336 1312 304
WIRE 1312 336 1216 336
WIRE 1408 336 1408 304
WIRE 1408 336 1312 336
WIRE 1680 336 1680 192
WIRE 1680 336 1408 336
WIRE 176 352 176 336
FLAG 176 352 0
FLAG 208 -48 in
FLAG 720 192 gate
FLAG 1264 176 cmp-
FLAG 1264 208 cmp+
FLAG 928 192 cmpout
FLAG 1072 112 cmp5v
FLAG 1088 -48 out
FLAG 800 -48 sw
SYMBOL Comparators\\LT1719 1200 128 M0
WINDOW 0 27 27 Left 2
WINDOW 3 -92 6 Left 2
SYMATTR InstName U1
SYMBOL res 1328 208 M0
WINDOW 0 -35 36 Left 2
WINDOW 3 -49 70 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL ind 960 -64 R90
WINDOW 0 63 51 VBottom 2
WINDOW 3 -27 53 VTop 2
SYMATTR InstName L1
SYMATTR Value 100µ
SYMATTR SpiceLine Ipk=1.3 Rser=0.15 Rpar=0 Cpar=0 mfg="Murata"
pn="MDH10060C-101MA=P3"
SYMBOL res 1664 96 R0
WINDOW 0 40 39 Left 2
WINDOW 3 39 70 Left 2
SYMATTR InstName R4
SYMATTR Value 5
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1424 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -48 70 Left 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL schottky 832 144 R180
WINDOW 0 42 31 Left 2
WINDOW 3 -123 30 Left 2
SYMATTR InstName D2
SYMATTR Value MBRS130L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 768 0 M270
WINDOW 0 25 128 VLeft 2
WINDOW 3 69 92 VLeft 2
SYMATTR InstName M1
SYMATTR Value AO6407
SYMBOL voltage 176 160 R0
WINDOW 0 11 100 Left 2
WINDOW 3 38 54 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -185 81 Left 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL cap 800 176 R90
WINDOW 0 63 30 VBottom 2
WINDOW 3 62 28 VTop 2
SYMATTR InstName C4
SYMATTR Value 0.01µ
SYMATTR SpiceLine V=16 Irms=0 Rser=0.0158 Lser=350p mfg="Würth Elektronik"
pn="885012008017 WCAP-CSGP 1206" type="NP0"
SYMBOL diode 592 208 R270
WINDOW 0 -30 34 VTop 2
WINDOW 3 69 29 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 160 16 R0
SYMATTR InstName R8
SYMATTR Value 0.001
SYMBOL zener 1104 272 M180
WINDOW 0 42 35 Left 2
WINDOW 3 83 -95 Right 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res 1328 64 M0
WINDOW 0 -35 41 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1216 -48 M0
WINDOW 0 -39 39 Left 2
WINDOW 3 -49 68 Left 2
SYMATTR InstName R6
SYMATTR Value 220
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 560 208 R0
WINDOW 0 38 56 Left 2
WINDOW 3 33 84 Left 2
SYMATTR InstName R7
SYMATTR Value 3.9K
SYMBOL cap 1056 272 R180
WINDOW 0 -35 33 Left 2
WINDOW 3 -53 3 Left 2
SYMATTR InstName C3
SYMATTR Value 0.1µ
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.0337 Lser=180p mfg="Würth Elektronik"
pn="885012104009 WCAP-CSGP 0201" type="X5R"
SYMBOL diode 480 208 R270
WINDOW 0 35 34 VTop 2
WINDOW 3 -9 28 VBottom 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode 384 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL diode 384 208 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -6 32 VBottom 2
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 448 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D7
SYMATTR Value 1N4148
SYMBOL diode 544 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL diode 480 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL polcap 976 16 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 1424 208 M0
WINDOW 0 -38 36 Left 2
WINDOW 3 -52 69 Left 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 1520 64 M0
WINDOW 0 -38 43 Left 2
WINDOW 3 -63 70 Left 2
SYMATTR InstName R9
SYMATTR Value 220K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 704 16 M0
WINDOW 0 40 30 Left 2
WINDOW 3 42 61 Left 2
SYMATTR InstName R10
SYMATTR Value 3.3
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL polcap 272 80 R0
WINDOW 3 24 56 Left 2
WINDOW 0 27 9 Left 2
SYMATTR Value 100µ
SYMATTR InstName C2
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.9 Lser=0 mfg="AVX" pn="TAJD107M006"
type="Tantalum"
SYMBOL res 688 208 M0
WINDOW 0 -54 68 Left 2
WINDOW 3 -76 93 Left 2
SYMATTR InstName R11
SYMATTR Value 1000K
SYMATTR SpiceLine tol=1 pwr=0.1
TEXT 208 352 Left 2 !.tran 0.001 startup
I thought you wanted to drive LEDs? But if you really wanted 12V to
ground referenced 5V then here is my offering ...
Version 4
SHEET 1 912 680
WIRE -496 -160 -720 -160
WIRE -224 -160 -496 -160
WIRE -48 -160 -224 -160
WIRE 176 -160 -48 -160
WIRE -224 -80 -224 -160
WIRE -48 -80 -48 -160
WIRE -496 -32 -496 -160
WIRE -128 -32 -160 -32
WIRE -112 -32 -128 -32
WIRE -128 32 -128 -32
WIRE -48 32 -48 16
WIRE -48 32 -128 32
WIRE 176 48 176 -160
WIRE -224 64 -224 16
WIRE 128 64 -224 64
WIRE -720 160 -720 -160
WIRE -336 160 -368 160
WIRE 176 160 176 144
WIRE 176 160 -256 160
WIRE 176 208 176 160
WIRE 256 208 176 208
WIRE 416 208 336 208
WIRE 512 208 416 208
WIRE 704 208 512 208
WIRE -224 224 -224 64
WIRE -48 224 -48 32
WIRE 512 240 512 208
WIRE -496 272 -496 48
WIRE -464 272 -496 272
WIRE -368 272 -368 160
WIRE -368 272 -384 272
WIRE -288 272 -368 272
WIRE 416 272 416 208
WIRE 416 272 16 272
WIRE 704 288 704 208
WIRE -496 336 -496 272
WIRE -224 336 -224 320
WIRE -144 336 -224 336
WIRE -48 336 -48 320
WIRE -48 336 -144 336
WIRE 512 336 512 304
WIRE 176 352 176 208
WIRE -144 384 -144 336
WIRE -720 496 -720 240
WIRE -496 496 -496 400
WIRE -496 496 -720 496
WIRE -144 496 -144 464
WIRE -144 496 -496 496
WIRE 176 496 176 416
WIRE 176 496 -144 496
WIRE 512 496 512 416
WIRE 512 496 176 496
WIRE 704 496 704 368
WIRE 704 496 512 496
WIRE -720 544 -720 496
FLAG -720 544 0
SYMBOL pmos 128 144 M180
SYMATTR InstName M1
SYMATTR Value RRR030P03
SYMBOL schottky 192 416 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 240 224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 0.047m
SYMBOL cap 496 240 R0
SYMATTR InstName C1
SYMATTR Value 0.1m
SYMBOL res 496 320 R0
SYMATTR InstName Resr
SYMATTR Value 0.1
SYMBOL npn -288 224 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 16 224 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL pnp -160 16 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL pnp -112 16 M180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL zener -480 400 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value UMZ5_1N
SYMBOL res -160 368 R0
SYMATTR InstName R4
SYMATTR Value 330
SYMBOL res -368 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1.5k
SYMBOL res -480 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 1.5k
SYMBOL res 720 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rload
SYMATTR Value 5
SYMBOL voltage -720 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 150k
TEXT 494 552 Left 2 !.tran 10m
TEXT 496 -160 Left 2 ;EPW SED MAY 2024
TEXT 440 -112 Left 2 ;SIMPLE BUCK 12V TO 5V
piglet
If you add a small resistance in series with the inductor, the loop is
forced to run semi current mode, which will also help on startup behaviour:

Version 4
SHEET 1 912 680
WIRE -496 -160 -720 -160
WIRE -224 -160 -496 -160
WIRE -48 -160 -224 -160
WIRE 176 -160 -48 -160
WIRE -224 -80 -224 -160
WIRE -48 -80 -48 -160
WIRE -496 -32 -496 -160
WIRE -128 -32 -160 -32
WIRE -112 -32 -128 -32
WIRE -128 32 -128 -32
WIRE -48 32 -48 16
WIRE -48 32 -128 32
WIRE 176 48 176 -160
WIRE -224 64 -224 16
WIRE 128 64 -224 64
WIRE -720 160 -720 -160
WIRE -336 160 -368 160
WIRE 176 160 176 144
WIRE 176 160 -256 160
WIRE 176 208 176 160
WIRE 256 208 176 208
WIRE 384 208 336 208
WIRE 400 208 384 208
WIRE 608 208 480 208
WIRE 800 208 608 208
WIRE -224 224 -224 64
WIRE -48 224 -48 32
WIRE 608 240 608 208
WIRE -496 272 -496 48
WIRE -464 272 -496 272
WIRE -368 272 -368 160
WIRE -368 272 -384 272
WIRE -288 272 -368 272
WIRE 384 272 384 208
WIRE 384 272 16 272
WIRE 800 288 800 208
WIRE -496 336 -496 272
WIRE -224 336 -224 320
WIRE -144 336 -224 336
WIRE -48 336 -48 320
WIRE -48 336 -144 336
WIRE 608 336 608 304
WIRE 176 352 176 208
WIRE -144 384 -144 336
WIRE -720 496 -720 240
WIRE -496 496 -496 400
WIRE -496 496 -720 496
WIRE -144 496 -144 464
WIRE -144 496 -496 496
WIRE 176 496 176 416
WIRE 176 496 -144 496
WIRE 608 496 608 416
WIRE 608 496 176 496
WIRE 800 496 800 368
WIRE 800 496 608 496
WIRE -720 544 -720 496
FLAG -720 544 0
SYMBOL pmos 128 144 M180
SYMATTR InstName M1
SYMATTR Value RRR030P03
SYMBOL schottky 192 416 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 240 224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 0.047m
SYMBOL cap 592 240 R0
SYMATTR InstName C1
SYMATTR Value 0.1m
SYMBOL res 592 320 R0
SYMATTR InstName Resr
SYMATTR Value 0.1
SYMBOL npn -288 224 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 16 224 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL pnp -160 16 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL pnp -112 16 M180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL zener -480 400 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value BZX84C6V2L
SYMBOL res -160 368 R0
SYMATTR InstName R4
SYMATTR Value 330
SYMBOL res -368 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1.5k
SYMBOL res -480 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 1.5k
SYMBOL res 816 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rload
SYMATTR Value 5
SYMBOL voltage -720 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 150k
SYMBOL res 496 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 0.1
TEXT 496 552 Left 2 !.tran 10m
TEXT 496 -160 Left 2 ;EPW SED MAY 2024
TEXT 440 -112 Left 2 ;SIMPLE BUCK 12V TO 5V

Loading...