Hello i have been doing some researching and i read that in some cases when u drive a load like a motor or so with a BJT its better to use an optocoupler, making a high -side switch configuration, i have been working on it and i think i could do the circuit.
I found a common used optocoupler, which is PC817
I have been reading the datasheet and i saw that usually its used with a if of 20mA, but It can reach till 50mA, from what i have understood It looks like that higher the current then higher the CTR ratio will be, but with a 20mA i would have already a good CTR ratio, and as output on the transistor i dont really a high capability of driving, since im using a MOSFET.
With that said, what i have done Is basically a high-side switch with optocoupler transistor npn driving the P fet ( i understood now that even a little current can drive a fet in few uS) i calculated the resistor in order to have 20mA driving the led, so what i did Is: 5-1.4/20mA= 180 Ohm
Is this thing correct, there is something missing that i should consider in optocouplers? U as HW Designers what u would consider more? Also is this circuit to excessive and unnecessary or what do u think?
Thanks all.
I found a common used optocoupler, which is PC817
I have been reading the datasheet and i saw that usually its used with a if of 20mA, but It can reach till 50mA, from what i have understood It looks like that higher the current then higher the CTR ratio will be, but with a 20mA i would have already a good CTR ratio, and as output on the transistor i dont really a high capability of driving, since im using a MOSFET.
With that said, what i have done Is basically a high-side switch with optocoupler transistor npn driving the P fet ( i understood now that even a little current can drive a fet in few uS) i calculated the resistor in order to have 20mA driving the led, so what i did Is: 5-1.4/20mA= 180 Ohm
Is this thing correct, there is something missing that i should consider in optocouplers? U as HW Designers what u would consider more? Also is this circuit to excessive and unnecessary or what do u think?
Thanks all.
Attachments
-
290.6 KB Views: 20
