Register to reply

Transistor as a switch

by ashish
Tags: berkeman, switch, transistor
Share this thread:
ashish
#1
Feb24-14, 09:04 AM
P: 1
why do we require transistor switches ........I read one related forum in that it was written transistor switches can be triggered using electrical signals. TRUE.but if at all u want to off the ckt give zero signal(may be through microproccesor) to the o/p directly why do you want to increase your hardware for that? and when when you want current at o/p give the current directly.anyway we can programme our μp.


so why transistors????????
Phys.Org News Partner Engineering news on Phys.org
Printing the metals of the future
New gadget helps the vision-impaired to read graphs
3D printing helps designers build a better brick
Lobo_79
#2
Feb24-14, 09:49 AM
Lobo_79's Avatar
P: 3
Lots of good reasons. You probably already know the design practice dates back to one of the earliest uses for the semi-conductor. With some caveats, using discrete transistors (or packaged arrays) as switches can speed up circuit switching speeds (PIN Diode switches for example), reduce circuit noise and transients, improve isolation, and reduce power consumption. In my opinion the design practice is not obsolete, and for many switching applications, a transistor switch design can have a minimal parts count. In certain industrial applications discrete transistor switches have a high survivability factor when operating in high temperature-noise environments.

I'm certainly not against modern approaches to designing switch arrays. And I am always in favor of challenging the conventional wisdom.
PhysicoRaj
#3
Feb24-14, 10:19 AM
PF Gold
PhysicoRaj's Avatar
P: 436
Quote Quote by ashish View Post
why do we require transistor switches ........I read one related forum in that it was written transistor switches can be triggered using electrical signals. TRUE.but if at all u want to off the ckt give zero signal(may be through microproccesor) to the o/p directly why do you want to increase your hardware for that? and when when you want current at o/p give the current directly.anyway we can programme our μp.


so why transistors????????
Now how do you make that microprocessor know when to give current and when not? It must be able to do logic decisions. The transistor is such a logic switch. It is one of the basic components in logic circuits.The microprocessor itself is made of transistors.
You can't turn off your mains just to switch off a light bulb. The same way you will have to make sense out of just 'currents' to logic signals. Not all parts of the circuit require current at the same time nor do they get switched off at the same time. Transistors are used to control the operation of different parts of a circuit. A transistor can switch off a circuit whenever it receives a signal and can switch on if it does not receive one. Now you can't achieve that with a household electric switch. And transistors can switch on and off very fast.
The wikipedia gives a lot of info on transistor:http://en.wikipedia.org/wiki/Transis...or_as_a_switch
You will get an even better idea if you google "transistor switched circuits"

analogdesign
#4
Feb24-14, 11:57 AM
P: 474
Transistor as a switch

I'm hoping that Ashish is talking about why people use external discrete switches on the board. (of course the microprocessor is made of switches).

In that case the answer is either: 1. speed or 2. power handling capability.

A transistor switch can have a very low on resistance and so can be very fast. Also the current-carrying capability of a switch is related to its active area. Obviously an external switch can carry far larger currents than a switch on your microprocessor can. Sometimes you need to drive a load from a microprocessor (such as a motor or something) that requires a large current. You need an external switch for that.
Averagesupernova
#5
Feb24-14, 12:45 PM
P: 2,499
Sometimes it is level switching. Maybe a MOSFET in a 24 volt circuit needs more than 5 volts coming from the processor to switch it. It is in fact good design practice to not throw an unnecessary number of parts in to get the job done but sometimes it takes what it takes. It seems a strange question to ask in my opinion.
Lobo_79
#6
Feb24-14, 12:48 PM
Lobo_79's Avatar
P: 3
Quote Quote by Averagesupernova View Post
...It seems a strange question to ask in my opinion.
Perhaps it is...but personally I learn a lot from these discussions. Great feedback.
jim hardy
#7
Feb24-14, 12:57 PM
Sci Advisor
PF Gold
jim hardy's Avatar
P: 3,518
I've done it myself for this reason:
The transistor switch is used to control some outside device. A fault in that device might, depending on what the device is, pass enough current to destroy the transistor.
Now - which transistor would i rather have to replace - a ten cent external one, or the one that's internal to my twenty dollar microcomputer?

I Always play "What If ? " . Comes from the Boy Scout motto - "Be Prepared".

a 555 IC makes a great interface driver, high input impedance and built in hysteresis.
analogdesign
#8
Feb24-14, 03:28 PM
P: 474
Quote Quote by jim hardy View Post
I've done it myself for this reason:
The transistor switch is used to control some outside device. A fault in that device might, depending on what the device is, pass enough current to destroy the transistor.
Now - which transistor would i rather have to replace - a ten cent external one, or the one that's internal to my twenty dollar microcomputer?

I Always play "What If ? " . Comes from the Boy Scout motto - "Be Prepared".

a 555 IC makes a great interface driver, high input impedance and built in hysteresis.
Well if your 20 dollar microcontroller doesn't have a current-limiting output stage in its I/O ring... doggy!
mjhilger
#9
Feb24-14, 07:30 PM
P: 93
More times than not, the microprocessor total current (source or sink) is such that using too many outputs without transistors causes additional heat buildup in the main die. The usual microprocessor is encased in plastic and operates best in commercial temp ranges. When viewing the possibility of all outputs in either the high or low state, the current can easily exceed the max specified in the data sheet (or by virtue of the additional heat cause other problems). So common practice is add a 10 cent transistor.
analogdesign
#10
Feb24-14, 09:22 PM
P: 474
I'm confused... how does the output state of the microprocessor affect the current draw? The whole point of CMOS is that it doesn't draw static current.
jim hardy
#11
Feb24-14, 11:29 PM
Sci Advisor
PF Gold
jim hardy's Avatar
P: 3,518
Quote Quote by analogdesign View Post
Well if your 20 dollar microcontroller doesn't have a current-limiting output stage in its I/O ring... doggy!
??
Every pin has a maximum voltage and current to which it should be subjected.

http://ww1.microchip.com/downloads/e...tes/93013a.pdf


Register to reply

Related Discussions
Please help transistor as switch help Engineering, Comp Sci, & Technology Homework 22
A transistor as a switch Electrical Engineering 8
Difference between mechanical switch and a transistor switch? Electrical Engineering 5
Transistor as a switch Electrical Engineering 6
BJT transistor as a switch Electrical Engineering 21