But you seem to be not understanding that the PWM won't work like you want. Your IGBT will always be on even when the PWM is off. This is because of how a gate on a mosfet or IGBT works if there is voltage on it and it can make a reference to the source or emitter it will be on, no getting around that it's just how they work. Maybe you could incorporate some kind of optoisolator into the gate circuit but doing it like your doing is a futile job.Why? Because
I guess it's time for me to bow out of this, since the only one else that understands is Wolf.