Tuesday 30 April 2019

switches - High side switching


I have designed a BJT based switch to enable and disable one or more loads with a microcontroller pin. The situation is the following:



  • The controller pins work with 3.3V


  • The devices require 12V to work, and a current of 0,85mA flows at this voltage


I put together this circuit: enter image description here


The schematic represents four loads operating together (the four 14,2 KOhm resistors). The idea is to control the NPN with a controller pin. The NPN will, in turn, control the PNP which enable/disable the current flow to the four loads. The Zener guarantees 12 Volts even if one or more loads are missing. The 50KOhm resistor limits the base and collector currents of the NPN, and regulates the emitter-collector current of the PNP. Both BJTs should work in saturation mode.


I simulated this with everycircuit, and it looks ok to me, but I am very newbie in electronics, and I fear I am doing something wrong. So the question is: would such a design work in the real world?



Answer





  1. Here you can find an excellent answer for how to draw a good schematic.





  2. What you are trying to do is called "high-side switching" and good answer / explanation can be found in this answer.




  3. Your Zener diode has no current limiting element and it might blow. As you can see here the differential resistance of the zener diode is very low after reaching the zener voltage. With no current limiting element (resistor) the current through the zener get very high and it might blow. A zener voltage regulator is usually designed like this. Be careful, a zener voltage regulator has usually a quit low output current as the load current is flowing through the zener resistor as well and the resulting voltage drop is cutting of your zener voltage for higher currents.




No comments:

Post a Comment

arduino - Can I use TI'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...