Im Driving two power MOSFETs (stp36nf06) using a SG3525ANG with a gate resistor, when I measure the Gate-Source voltage using the oscilloscope I get a perfect PWM of a peak-peak of 12V, but when I tried to measure the Drain-Source voltage I got a flat DC line at 12V with small spikes at the points its suppose to be switched off! I dont know what the problem is! I know im suppose to get a PWM between the drain and the source! any idea what the problem might be?
How the two MOSFETs are connected ?
When you say peak-to-peak=12V you mean the VGS voltage is both positive and negative ?
It could also be you are using a PWM frequency that is too high. Try to give manually 0 and 12V as VGS in order to see if the transistor alone switches correctly.
So it sounds like your FET is not turning on. Are you measuring Vgs and Vds right at the device pins? I'll throw in the possibility that your FET is fried and cannot turn on.
Everything looks good, and your posts state that you have already changed mosfets. So the only possibilities left that i can think of are --
1) your transformer is open circuit. Check its continuity and/ or replace it with a simple resistor for a test run.
2) you are using incorrect pins of the mosfet. check the pinout again.
I've tested the mosfet using a simple circuit, connecting the drain to 12V via a 1K resister, source to ground, and gate to PWM output of a 3525 chip via 22R, I applied a 20KHz PWM to the gate and I got VGS and VDS as shown below, I changed the mosfet and I got VDS shown in figure 3, then tried it using 100 KHz and i got the last two graphs below! any suggestions on why this is happening?
Can you simplify the circuit even more, so it is just the MOSFET, the 1k resistor and the gate resistor? Connect gate resistor directly to +12V to see if it will turn on. Triple check the MOSFET pin-out.
it turned out, the MOSFET was burned out, I had it initially in reverse, so it was burned and when I put it the right way it wasnt working, and the transformer was saturating, so I changed the MOSFET and changed the frequency and it works now!!