PWM input inversion

Thread Starter

assassin___0

Joined May 10, 2011
19
The situation is this: I'm using a high speed optocoupler as a gate driver but it gives me high output with low input and vice versa. In order to invert my PWM input, this is the circuit I thought of putting before the optocoupler. By the way, the PWM input is 3.3V and the opto output will be 5V.


My question is which transsitor should I use, BJT or MOSFET? The only thing i'm uncertain of is will the BJT perform well with high switching? But does MOSFET work in this configuration?

If you can comment on the resistor values, whether they are ok or not, that would be helpful too.

I think this is a straightforward question but let me know if you need any other info.
 

Attachments

Top