Soft-Start and Soft-Finish for P-Channel MOSFETs

by Psilocybin in Circuits > Electronics

231 Views, 0 Favorites, 0 Comments

Soft-Start and Soft-Finish for P-Channel MOSFETs

20250425_133734.jpg
Soft-Start Soft-Finish for P-Channel MOSFETs5.png

Sudden power surges can fry components in high-voltage circuits, while abrupt shutoffs cause voltage spikes that disrupt performance. For my high-voltage (HV) coil project, I needed a soft-start circuit to gradually ramp up power and a soft-finish circuit to smoothly power down, shaping a 31 kHz waveform without oscillations or “ringing.” Most soft-start circuits for P-channel MOSFETs were designed for slow, one-shot applications like lighting, not high-frequency switching. After scouring the web and finding no suitable designs, I invented my own, adapting an N-channel circuit from Texas Instruments’ E2E forums.

This Instructable shares a simple, elegant soft-start/soft-finish circuit using P-channel MOSFETs (e.g., IRF9540, IRFP9240), resistors, potentiometers, and diodes. It’s perfect for HV coils, motor drivers, audio amplifiers, or any project needing clean power transitions. With recent updates adding silicon carbide (SiC) diodes to dampen signal spikes, this circuit is both robust and versatile. Follow along to build it, tweak it, and see the results on your oscilloscope!

Supplies

Here’s what you’ll need to build the soft-start/soft-finish circuit:

  1. Power Supply: 12 VDC (for testing; adjust for your project’s voltage, up to 100V for IRF9540 or 200V for IRFP9240).
  2. Oscilloscope: To observe waveform changes (e.g., soft-start and soft-finish effects).
  3. P-Channel MOSFET (1x): I used the IRF9540 (Vds = -100V, Id = -19A, TO-220 package) for development. Alternatives: IRF9640 (-200V, TO-220), IRFP9240 (-200V, TO-247AC). Source from Amazon, eBay, or DigiKey (beware of counterfeits from unverified sellers).
  4. Potentiometers (2x): 5 kΩ variable resistors to adjust soft-start and soft-finish timing. Available on Amazon.
  5. Resistors:
  6. 2x 330 Ω (1/2 W, backstop for potentiometers; minimum 288 Ω at 12 VDC, calculated as R = V²/W = 12²/0.5).
  7. 1x 47 Ω (for gate resistor).
  8. Optional: 1x 4.7 kΩ (for power-ON LED).
  9. Diodes:
  10. 1x UF4007 (ultra-fast, 1000V, to prevent the gate driver totem-pole from draining the MOSFET gate).
  11. 2x D10S120 SiC Schottky diodes (1200V, <10 ns response, for spike damping; optional but recommended).
  12. Solderless Breadboard: For prototyping.
  13. Wire: 22 AWG for connections.
  14. Connector Blocks: 1x small (for TO-220 MOSFETs) and 1x large (for TO-247 MOSFETs).
  15. Optional: LED (for power indication), grounding strap (to prevent electrostatic discharge).
  16. Signal Source: A 31 kHz pulsed DC signal, generated using my Instructable, “A Way-Better Variable-Frequency PWM Using Two TLC555 Timers (or One TLC556).” Amplify and protect your MOSFET with a gate-driver IC (e.g., MC34152P).

Note: For other frequencies (e.g., 10 kHz or 50 kHz), adjust resistor values—lower resistance for higher frequencies, higher for lower. Experiment to optimize.

How the Circuit Works

This circuit softens the on/off transitions of a P-channel MOSFET at 31 kHz, reducing inrush current (sudden power surges) during startup and ringing (waveform oscillations) during shutdown. It adapts a Texas Instruments N-channel design, replacing a PNP transistor with a P-channel MOSFET to handle high frequencies without overheating. Here’s the breakdown:

  1. Soft-Start (Gate Control):
  2. A UF4007 diode isolates the gate-driver IC (MC34152P) from the MOSFET’s gate, preventing the IC’s totem-pole output (its push-pull stage) from draining the gate’s internal capacitance.
  3. A 47 Ω gate resistor and a 5 kΩ potentiometer (with a 330 Ω backstop) slow the charging of the gate capacitor, creating a gradual turn-on (~100–500 µs). This limits inrush current, visible as a smooth rise in the gate signal (yellow trace on oscilloscope).
  4. Adjusting the left potentiometer tunes the soft-start timing.
  5. Soft-Finish (Drain Control):
  6. A second 5 kΩ potentiometer (with 330 Ω backstop) on the MOSFET’s drain slows the turn-off, softening the output waveform (blue trace) to prevent voltage spikes.
  7. Adjusting the right potentiometer controls the discharge rate, minimizing ringing in high-frequency applications like HV coils.
  8. Spike Damping:
  9. Two D10S120 SiC Schottky diodes (1200V, <10 ns) clamp ~2V spikes on the gate and output signals to ground. The gate diode connects between the gate-resistor junction and ground; the output diode ties the drain output to ground. This ensures cleaner waveforms.

Technical Notes:

  1. MOSFET Choices: Use IRF9540 for loads up to 100V or IRFP9240 for up to 200V. Both are avalanche-rated, handling inductive spikes safely (see MOSFET Avalanche explanation below).
  2. Frequency: Designed for 31 kHz, but adjustable. Lower frequencies need higher resistance (e.g., 10 kΩ potentiometers); higher frequencies need lower (e.g., 2 kΩ).
  3. Inspiration: Adapted from TI’s “Effects of Gate RC Soft Start” (E2E forums), with a P-channel MOSFET for high-frequency robustness.

Assemble Your Components

20250424_222637.jpg
20250424_225802.jpg

Before handling the MOSFET, ground yourself to prevent electrostatic discharge (ESD), which can destroy sensitive electronics. I use a copper foil connected to Earth ground, placing my bare foot on it.

Components:

  1. 2x 330 Ω resistors
  2. 1x 47 Ω resistor
  3. 2x 5 kΩ potentiometers
  4. 1x UF4007 diode
  5. 2x D10S120 SiC diodes (optional)
  6. 1x P-channel MOSFET (IRF9540 or IRFP9240)
  7. 1x connector block (small for TO-220, large for TO-247)

Note: The connector block protects the breadboard from large MOSFET pins. For TO-247 MOSFETs (e.g., IRFP9240), use a larger block.

Prepare Your Components

20250424_230152.jpg
20250424_230232.jpg
20250424_231015.jpg
20250424_231054.jpg
20250424_231505.jpg
20250424_233139.jpg
20250424_233513.jpg

To avoid short circuits, trim component leads to ~6 mm using a tagboard template or ruler. I trim the resistors and leave the diode, potentiometers, and MOSFET leads intact.

For the smaller MOSFET:

  1. Bend ~6 mm of each lead (Gate, Drain, Source) away from the front at a 90° angle.
  2. Twist the outer leads (Gate, Source) outward by ~5° to fit the connector block.
  3. Insert the MOSFET into the block, tighten the screws, and set aside for breadboard insertion.

Note: I use the IRF9540 (TO-220) here, but the IRFP9240 (TO-247) works similarly with a larger connector block. There is no need to twist the outer leads of the larger MOSFET.

Your components are now all prepared. We will go to the next step.

Assemble the Breadboard

20250425_035421.jpg
20250424_232452.jpg
20250424_232704.jpg
20250424_232718.jpg

Place components on the solderless breadboard carefully:

  1. Power Rails:
  2. Connect upper and lower power rails with two wires (red for +12 VDC, blue for ground).
  3. Resistors:
  4. Place two 330 Ω resistors from the ground rail (-) to the left pin of each 5 kΩ potentiometer.
  5. Place the 47 Ω resistor across the breadboard’s central channel, aligning with the MOSFET’s gate pin later.
  6. Diodes:
  7. Insert the UF4007 diode, cathode (banded end) in the same column as the 47 Ω resistor’s upper end, anode (unbanded end) for the signal input.
  8. Place two D10S120 SiC diodes: one from the gate-resistor junction to ground (cathode to gate), one from the output wire to ground (cathode to output).
  9. Potentiometers:
  10. Place both 5 kΩ potentiometers, ensuring the left pin connects to the 330 Ω resistor and the right pin will connect to wires.
  11. MOSFET:
  12. Insert the connector block with the MOSFET diagonally, aligning the gate pin (left) with the 47 Ω resistor’s column. Check the datasheet for pinout (Gate, Drain, Source).

Tip: Label the breadboard or use colored wires to avoid confusion.

Now we are going to place the wires into the board.

Wire the Breadboard

20250424_235202.jpg
20250424_235444.jpg
20250424_235658.jpg
20250425_000119.jpg
20250425_000639.jpg
20250425_000831.jpg
20250425_005548.jpg

Add five internal wires to complete the circuit:

  1. Potentiometer Links:
  2. Connect pins 1 and 2 of each potentiometer with a wire, turning them into variable resistors.
  3. Power to MOSFET:
  4. Wire the +12 VDC rail to the MOSFET’s Source (pin 3, right).
  5. Gate Discharge:
  6. Connect the junction of the UF4007 diode’s cathode and 47 Ω resistor to the right pin of the left potentiometer. This drains the gate capacitor for soft-start.
  7. Output Path:
  8. Wire the MOSFET’s Drain (pin 2, middle) to the right pin of the right potentiometer. This is the circuit’s output, where power and signal exit.
  9. Optional Power-ON LED:
  10. Connect the LED’s anode to the +12 VDC rail, cathode to a 4.7 kΩ resistor, and the resistor to ground (order doesn’t matter).

External Connections:

  1. Connect +12 VDC to the red rail, ground to the blue rail.
  2. Feed a 31 kHz pulsed DC signal (from the TLC555/TLC556 circuit via MC34152P gate-driver) to the UF4007 diode’s anode.

Test and Adjust the Circuit

20250426_044736.jpg
1, Start.png
2, Turning Left Potentiometer.png
3, Turning Left Potentiometer.png
20250426_044928.jpg
20250426_045006.jpg

Connect an oscilloscope probe to the breadboard column with the right potentiometer’s pin 3 (MOSFET Drain output) to observe the modified waveform.

  1. Baseline:
  2. Set both potentiometers to 0 Ω (minimum resistance).
  3. Observe the output (blue trace) and gate input (yellow trace) on the oscilloscope. The blue trace is inverted due to P-channel MOSFET behavior (high gate signal = low output).
  4. Soft-Start:
  5. Adjust the left potentiometer (0–5 kΩ). The blue trace’s rising edge smooths, showing reduced inrush current (see Photos 2–4).
  6. Soft-Finish:
  7. Adjust the right potentiometer (0–5 kΩ). The blue trace’s falling edge softens, minimizing ringing (see Photos 5–6).
  8. Spike Damping:
  9. The D10S120 SiC diodes clamp 2V spikes on the gate and output, ensuring clean signals (visible in updated circuit).

Tip: For frequencies other than 31 kHz, tweak resistors (e.g., 2 kΩ for 50 kHz, 10 kΩ for 10 kHz) and monitor with the oscilloscope.

Conclusion

2 New Schottky Diodes.png
Side 1.0.jpg
Side 1.1.jpg
+ SiC diodes.jpg
20250428_004848.jpg

This soft-start/soft-finish circuit transforms 31 kHz waveforms for P-channel MOSFETs, eliminating inrush current and voltage spikes in high-voltage projects like my HV coil. Using IRF9540 or IRFP9240 MOSFETs, resistors, potentiometers, and fast diodes (including SiC Schottky diodes for spike damping), it’s a low-cost, reliable solution for clean power switching. Its simplicity and flexibility make it ideal for HV coils, motor drivers, audio amplifiers, or any circuit needing smooth transitions.

Build it, tweak the potentiometers, and watch the waveform magic on your oscilloscope! Share your builds, modifications, or questions in the comments—I’d love to see how you use it. If you find this Instructable helpful, give it a Heart (Favorite). For errors or suggestions, drop me a comment to keep improving this design.

Credit: Special thanks to Grok, created by xAI, for editorial assistance in polishing this Instructable’s clarity and flow.