Electronic – Buck converter using P-MOSFET

buckmodepower supplyswitches

I want to build a buck converter with p type mosfet.
Specification:
input voltage:24v
Output voltage:12v
I have chosen frequency 20khz,and my inductor value and capacitor value is 1mH and 20uF.

Now all seems to be okay.the problem is i cant drive the pmosfet.I wanted to drive Pmosfet with a NPN transistor.The circuit diagram is given below.Is this okay? If this procedure is okay then what is the problem,why it is not giving me output 12 vol? If the circuit is not okay than what kind of circuit should i use to drive Pmos?
enter image description here

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

The IRF9530 is rated for a maximum of 20V between Gate and Source. You are applying 24V, which will probably blow it up. However your circuit should work fine with one small addition - a resistor in series between Q1 Collector and R3.

This resistor forms a voltage divider with R3. If you make it the same value then voltage will be divided by 2 and the Gate will get 12V. The total resistance load on Q1 will then be 200Ω, so when turned on it will draw 24V/200Ω = 120mA. This is bit much for a 2N3904, so I would increase the resistances to 220Ω each.

You should also have a low ESR 'bulk' capacitor across the 24V supply. Otherwise inductance in the wires will cause voltage spikes that may damage the MOSFET.

Related Topic