Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.

Using a BJT Transistor as a DC switch

Discuss all your electronics engineering related technical problems and other questions pertaining to design problems in any field of Electrical/Electronics/Computer Hardware

Moderator: pebe

Using a BJT Transistor as a DC switch

Postby johnnyb7 » Tue Jul 01, 2014 10:32 am

Dear all,

I have two separate circuits which I want to connect using somewhat of a switch (most probably a BJT), which would either separate the two circuits or join them depending on whether the voltage on the first circuit is an active high (3.3 Volts) or an active low (0V).

ie. an active high should separate the two circuits (BJT in off) and an active low should join the two circuits (BJT in active).

I can not modify anything within the individual circuits, which is why I thought that this transistor should be placed in between the two circuits.

circuit.jpg (50.5 KiB) Viewed 16902 times

Attached you can find a Spice Layout of the two circuits and my idea of using a BJT. The first circuit (which can not be modified) is the scheme up to Resistor 'R1', the transistor Q2 was my idea to act as my switch, after Q2 comes the second circuit. The switch should switch depending on the values of V1 (either 3.3 or 0).

My idea was using an NPN and its emitter followed by the first circuit. In that case when active high is on V1, transistor Q1 is in active mode, which means less resistance to ground which ultimately means less base current, which should set Q1 in off. The vice-versa should happen when V1 is in active low. However, using this scheme I got a Vout of "2 and 0.6" instead of "roughly 3 and 0"

Does anyone have any ideas or could help me out with this problem. I may have also misunderstood the operation behind Q2.
Posts: 1
Joined: Tue Jul 01, 2014 9:37 am

Re: Using a BJT Transistor as a DC switch

Postby pebe » Mon Jul 07, 2014 2:37 pm

When you say ‘BJT in active’, do you mean the BJT is switched on and passing current? The circuit as you have drawn it will not work because Q2 is in common-base mode and you are putting a signal into its emitter, which has a very low impedance in that mode. Also, The output circuit is a potential divider made up with R6 (20K) and R5 (100K). So if it is intended that Q2 shorts out R5 then the maximum swing at the output can only be from 0V to 2.5V (3V x 100/120 = 2.5).

I don’t see the purpose of R1 and R3. Am I correct in assuming that you want the 0V-3V pulsed input to appear as a 3V-0V pulse at the output (Q1 will invert the pulse)? And switching Q2 will decide whether or not there is a pulse at the output?

You say the input and output circuits cannot be modified. But can you get to the base of Q1. If you can, there is a simple solution to the problem.
Posts: 1058
Joined: Tue Dec 09, 2003 11:12 pm
Location: Ellon, Scotland

Return to EE quiz questions & problems

Who is online

Users browsing this forum: No registered users and 1 guest

Lindhaus 12" Healthcare Pro Eco Force, Dual Motor Upright Vacuum Cleaner
Lindhaus 12Miele® Blizzard CX1 Pure Suction Power-Line Canister Bagless Vacuum (Gray)
Miele® Blizzard CX1 Pure Suction Power-Line Canister Bagless Vacuum  (Gray) pictureMiele® Complete C3 Powerline Calima Canister Vacuum (Curry Yellow)
Miele® Complete C3 Powerline Calima Canister Vacuum (Curry Yellow) pictureLindhaus Diamante 380 15" Ultra-Light, Dual Motor Upright Vacuum Cleaner
Lindhaus Diamante 380 15