MATLAB: Simscape Electrical Mosfet gate voltage source

etcgate sourceSimscape Electronicssquare wave

Hello,
I want to connect a square wave input to the gate of the N-Channel Mosfet. I can't seem to find the right block to do this. Which block/combination of blocks do I use to do this. I've attached a pic of my diagram.
Thanks!

Best Answer

Hi,
you need to connect the Simulink-PS Converter block to either a Controlled Current Source or to a Controlled Voltage Source block.
You can find both of these in the *Simulink Library Browser >> Simscape >> Foundation library >> Electrical >> Electrical Sources*.
Related Question