Thursday 24 August 2017

High-side switch 24V 6mA control by Arduino


I would like to ask for best solution for my issue. I need high side switch for 24VDC 6mA (it is enable signal for a device). This device I want to control by Arduino (input 5 V 20mA).


What is the best solutions for this low current?


I tried to use Sziklai pair, but PNP transistor is still open. I don't know how to calculate resistors between NPN and PNP :-(. Do I have to use a sziklai pair or is there something else?


schematic


simulate this circuit – Schematic created using CircuitLab


Thank you so much


Lukas




Answer



Start by working back from the output. Collector current is only 4mA so suppose we allow base current to be Ic/Ib = 10 or 400uA. That will ensure it is well saturated. So R3 should be (24V - 0.7V)/0.4mA = 58K, so you can use 56K.


R2 is just to take care of leakage in Q2. It is 50nA maximum at 25°C. If we assume operation to 95°C and doubling every 10°C then we have to allow for 6uA. If the base-emitter voltage of Q1 should be less than 300mV with 6uA of leakage, the R2 should be 50K or lower. We can use 47K for R2. Might as well make R3 47K too and keep the values the same.


Collector current of Q2 is about 0.5mA. If we use the Ic/Ib = 10 again, and assume it should work with 4V input, then R1 <= (4V-0.7V)/0.05 = 66K. We can use 47K again and keep all three the same.


No comments:

Post a Comment

arduino - Can I use TI&#39;s cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...