I am currently trying to build conventional bi-directional DC converter and see the mosfet behavior when controlled with PWM signal. based on theory, the drain-source current (Ids) and drain to source voltage (Vds) will switch at the same times when the mosfet turned on or off as illustrated in figure 1. this known as hard switching. but when i tested in actual bi-converter that i made, the waveform of Ids is somehow different from what i expected (far from trapezoidal waveform). As you can see in Figure 2, the Ids is somehow take a long time to rise and fall even the gate already switched.
Figure 1. Switching Waveform on Mosfet
Figure 2. My Actual Switching Waveform on Mosfet, yellow (Vds), Blue (Ids), Magenta (Vgs)
I am quite new to electronic, and what I've been doing so far are
- Made Conventional Bi-DC Converter. the mosfet behavior is in figure 2.
- adding capacitor paralleled with drain pin and source pin on mosfet. this capacitor affect on Vds.
- the voltage observed with passive oscilloscope probe; and current observed with clamp probe (not stable waveform) then switched to differential probe (more stable waveform).
what I want to ask are:
- is there any possible explanation of this mosfet Ids waveform behavior?
- what can I do to make the Ids waveform on mosfet more trapezoidal (close to ideal hard switching waveform)?
I knew that hard-switching is not good, but i need to generate hard switching waveform in actual converter i made for my project. anyone with more experience with this Please help me, thanks.
EDIT: This is my converter schematic. figure 2 generated under buck mode.
Ids, Vds and Vgs tested on S1 switch.
Input: 0-30 Volt DC regulated power supply.
Load : variable resistor 0-10 ohm.
Switch: Mosfet IRFP4332
Mosfet Driver circuit based on this blog: TLP250 Mosfet Driver Circuit