Author Topic: P-channel FET switch producting oscillation  (Read 3282 times)

0 Members and 1 Guest are viewing this topic.

Offline AeternamTopic starter

  • Supporter
  • ****
  • Posts: 97
  • Country: lu
    • Schartz Engineering
P-channel FET switch producting oscillation
« on: May 25, 2017, 07:39:11 pm »
I wired up a pretty straightforward p-channel switch. At a basic level, the circuit works. I'm using an IRF4905 for the FET, the BJT is a BC547 (designations for M1 and Q1 are not correct on the schematic, but resistor values are, sorry for that.)

I'm feeding it a +3V square wave with approx 10 ns rise time. At frequencies above 100 Hz I start to see artifacts that look suspiciously like oscillations (pink plot, this is measured across the load). I'd like to get rid of that, I want to see a clean output up to 250 Hz.

Can someone tell me where I should start looking for the cause of these ripples? Is this Miller effect? Is it too much gate charge in this specific FET (the datasheet specifies 180 nC for the IRF4905)?

Thanks :)
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: P-channel FET switch producting oscillation
« Reply #1 on: May 25, 2017, 08:30:05 pm »
Move R3 to the emitter of Q1 and reduce its value to 270R.
 

Offline AeternamTopic starter

  • Supporter
  • ****
  • Posts: 97
  • Country: lu
    • Schartz Engineering
Re: P-channel FET switch producting oscillation
« Reply #2 on: May 26, 2017, 07:50:29 am »
Thanks for replying Hero. There is no R3 in the schematic, I suppose you mean R4? Moving it to the emitter won't do any good, the transistor is wired as switch.

I tinkered a bit more with the circuit and the ripples do look like exponential charge and discharge curves of an RC. I suppose that excessive gate charge is the culprit here. I could lower R4 to get more oomph at the gate but that's not really an option since I'd like to switch 12V in the final circuit and anything below 1kish will smoke the resistor.

Guess I'll have to order some FET with less Qc and see how that goes.
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5869
  • Country: de
Re: P-channel FET switch producting oscillation
« Reply #3 on: May 26, 2017, 08:20:15 am »
How "stiff" is your VCC? I suspect decoupling issues on the supply. You could try tracing VCC as well on the scope.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: P-channel FET switch producting oscillation
« Reply #4 on: May 26, 2017, 10:26:48 am »
You changed your time base from 5 mS to 1 mS between screen shots, I suspect
scope probe may be issue and its grounding. Is there a long ground lead on scope
probe ?

The earlier point about bypassing Vcc at the device, use a .1 uF ceramic as well
as a 10 uF tantalum, preferably a polymer tantalum. Probe that an look at noise
as suggested earlier.


http://teledynelecroy.com/doc/passive-probe-ground-lead-effects



http://www.linear.com/solutions/4450


Frequency of oscillation appears to be ~ 500 Hz, so seems to confirm
maybe supply bypassing / regulator issue.


Regards, Dana.

« Last Edit: May 26, 2017, 11:59:29 am by danadak »
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21657
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: P-channel FET switch producting oscillation
« Reply #5 on: May 26, 2017, 12:31:17 pm »
The time constant is some orders of magnitude too long to be anything in the circuit shown.

That looks more like step response from a poorly compensated switching supply.

Let me guess, a little 5V plug pack or charger?

If you like, you can fix it by opening the supply, locating the compensation capacitor, and making C smaller, and adding R in series with it, until the response is usefully stable.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline AeternamTopic starter

  • Supporter
  • ****
  • Posts: 97
  • Country: lu
    • Schartz Engineering
Re: P-channel FET switch producting oscillation
« Reply #6 on: May 26, 2017, 01:47:35 pm »
How "stiff" is your VCC? I suspect decoupling issues on the supply. You could try tracing VCC as well on the scope.

Bingo!

A hefty electrolytic across VCC solved the issue. The output is now clean as a whistle.  ^-^

Thanks, all !!
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: P-channel FET switch producting oscillation
« Reply #7 on: May 26, 2017, 05:19:43 pm »
Thanks for replying Hero. There is no R3 in the schematic, I suppose you mean R4? Moving it to the emitter won't do any good, the transistor is wired as switch.
Sory it was a typo. I meant R2. Try changing R2 to 270R and moving it to the emitter of Q1.
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5869
  • Country: de
Re: P-channel FET switch producting oscillation
« Reply #8 on: May 26, 2017, 05:53:22 pm »
Thanks for replying Hero. There is no R3 in the schematic, I suppose you mean R4? Moving it to the emitter won't do any good, the transistor is wired as switch.
Sory it was a typo. I meant R2. Try changing R2 to 270R and moving it to the emitter of Q1.

Please expand on this idea. As far as I can see, the only effect would be reducing the gate voltage to the FET. Not really desirable.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: P-channel FET switch producting oscillation
« Reply #9 on: May 27, 2017, 08:11:33 am »
Thanks for replying Hero. There is no R3 in the schematic, I suppose you mean R4? Moving it to the emitter won't do any good, the transistor is wired as switch.
Sory it was a typo. I meant R2. Try changing R2 to 270R and moving it to the emitter of Q1.

Please expand on this idea. As far as I can see, the only effect would be reducing the gate voltage to the FET. Not really desirable.
Adding emitter degradation will increase the stability of Q1, making it less likely to oscillate.

The reduction in gate voltage is a non-issue, since the MOSFET is more than capable of switching 1.2A with a gate voltage of -8.5V. In fact a lower gate voltage may be desirable, since it will switch off more quickly.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf