transistor as a switch


by ashish
Tags: berkeman, switch, transistor
ashish
ashish is offline
#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
A smart prosthetic knee with in-vivo diagnoses
Old tires become material for new and improved roads
Students take clot-buster for a spin
Lobo_79
Lobo_79 is offline
#2
Feb24-14, 09:49 AM
Lobo_79's Avatar
P: 2
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
PhysicoRaj is offline
#3
Feb24-14, 10:19 AM
PhysicoRaj's Avatar
P: 291
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
analogdesign is offline
#4
Feb24-14, 11:57 AM
P: 377

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
Averagesupernova is offline
#5
Feb24-14, 12:45 PM
P: 2,452
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
Lobo_79 is offline
#6
Feb24-14, 12:48 PM
Lobo_79's Avatar
P: 2
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
jim hardy is offline
#7
Feb24-14, 12:57 PM
Sci Advisor
jim hardy's Avatar
P: 3,149
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
analogdesign is offline
#8
Feb24-14, 03:28 PM
P: 377
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
mjhilger is offline
#9
Feb24-14, 07:30 PM
P: 83
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
analogdesign is offline
#10
Feb24-14, 09:22 PM
P: 377
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
jim hardy is offline
#11
Feb24-14, 11:29 PM
Sci Advisor
jim hardy's Avatar
P: 3,149
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