Deutsch   English   Français   Italiano  
<v1b4k8$1sig$1@nnrp.usenet.blueworldhosting.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: "Edward Rawde" <invalid@invalid.invalid>
Newsgroups: sci.electronics.design
Subject: Re: P-channel MOSFET model
Date: Mon, 6 May 2024 13:39:17 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Lines: 96
Message-ID: <v1b4k8$1sig$1@nnrp.usenet.blueworldhosting.com>
References: <v16s2i$2uv4$1@nnrp.usenet.blueworldhosting.com> <v18juo$2sgc$1@nnrp.usenet.blueworldhosting.com> <aesf3j1po3glh1c23se3lofoni6j7ol75m@4ax.com> <v19rhq$24dg$1@nnrp.usenet.blueworldhosting.com> <oboh3j1btv42cv0g2jlebu3d2pao8dijqk@4ax.com>
Injection-Date: Mon, 6 May 2024 17:39:20 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
	logging-data="62032"; mail-complaints-to="usenet@blueworldhosting.com"
Cancel-Lock: sha1:kKIvW0GPSaPyPEoseV5ArgLHhhs= sha256:fMZ4YfeqarDo2EX0fPL1K2n6HPK31BQCtQQfam2eC/M=
	sha1:oB5yElsM+6h1rimQ/xiUMq2Zo5I= sha256:Ymgg1YyF9c/r5HCEH3cvvrEQqXzMhJFkEITNyN0HjIU=
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-Priority: 3
Bytes: 5504

"John Larkin" <jjSNIPlarkin@highNONOlandtechnology.com> wrote in message 
news:oboh3j1btv42cv0g2jlebu3d2pao8dijqk@4ax.com...
> On Mon, 6 May 2024 01:58:15 -0400, "Edward Rawde"
> <invalid@invalid.invalid> wrote:
>
>>"John Larkin" <jjSNIPlarkin@highNONOlandtechnology.com> wrote in message
>>news:aesf3j1po3glh1c23se3lofoni6j7ol75m@4ax.com...
>>> On Sun, 5 May 2024 14:42:30 -0400, "Edward Rawde"
>>> <invalid@invalid.invalid> wrote:
>>>
>>>>"Edward Rawde" <invalid@invalid.invalid> wrote in message
>>>>news:v16s2i$2uv4$1@nnrp.usenet.blueworldhosting.com...
>>>>> 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.
....
>>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.

>
>
> 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.

>
> 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.

>
> 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.

>
> 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.

>
>
>