Difference between revisions of "Transistors, Diodes, etc."

From OpenCircuits
Jump to navigation Jump to search
Line 13: Line 13:
  
 
'''NPN Operation:'''   
 
'''NPN Operation:'''   
To turn on and get Ic flowing, a small base current must be squirted INTO the base.  Do this by raising base above emitter voltage.  If this current is too small (or zero), the base is starved and collector current shuts off.  When you squirt enough current into the base, the base-emitter acts like a diode.  The way you know you are squirting enough current into the base is by checking the voltage between base and emitter.  When transistor is on full, the base will be several hundred millivolts above the emitter voltage (< 500 mV if barely on, usually 600-900 mV when full on).   
+
To turn on and get Ic flowing, a small base current must be squirted INTO the base.  Do this by raising base voltage through a base resistor.  If this current is too small (or zero), the base is starved and collector current shuts off.  When you squirt enough current into the base, the base-emitter acts like a diode.  The way you know you are squirting enough current into the base is by checking the voltage between base and emitter.  When transistor is on full, the base will be several hundred millivolts above the emitter voltage (< 500 mV if barely on, usually 600-900 mV when full on).   
  
 
'''PNP Operation:'''   
 
'''PNP Operation:'''   
To turn on and get Ic flowing, a small base current must be pulled OUT OF the base.  Do this by pulling base below emitter voltage.  If this current is too small (or zero), the base is starved and collector current shuts off.  When you pull enough current out of the base, the emitter-base acts like a diode.  The way you know you are pulling enough current out of the base is by checking the voltage between emitter and base.  When transistor is on full, the emitter will be several hundred millivolts above the base voltage (< 500 mV if barely on, usually 600-900 mV when full on).   
+
To turn on and get Ic flowing, a small base current must be pulled OUT OF the base.  Do this by pulling base below emitter voltage through a base resistor.  If this current is too small (or zero), the base is starved and collector current shuts off.  When you pull enough current out of the base, the emitter-base acts like a diode.  The way you know you are pulling enough current out of the base is by checking the voltage between emitter and base.  When transistor is on full, the emitter will be several hundred millivolts above the base voltage (< 500 mV if barely on, usually 600-900 mV when full on).   
  
 
'''Bipolar Smoke Warning: '''  
 
'''Bipolar Smoke Warning: '''  

Revision as of 01:22, 8 March 2008


Transistors

Transistors are three termainal devices where one terminal controls the power through the other two.

Transistors Bipolar

TWO TYPES:

Bipolar transistors are basically current controlled devices. The current flowing in/out of base controlls the current flowing in/out of the Collector. There are two basic types of Bipolar transistors: NPN and PNP.

In bipolars, the collector current (Ic) is controlled by the base current (Ib). Ic equals the Ib times a variable called "Hfe" (often listed in transistor datasheets). In other words, Ic = Ib * Hfe. Hfe can range from 30 (for big bipolars) to several hundred.

NPN Operation: To turn on and get Ic flowing, a small base current must be squirted INTO the base. Do this by raising base voltage through a base resistor. If this current is too small (or zero), the base is starved and collector current shuts off. When you squirt enough current into the base, the base-emitter acts like a diode. The way you know you are squirting enough current into the base is by checking the voltage between base and emitter. When transistor is on full, the base will be several hundred millivolts above the emitter voltage (< 500 mV if barely on, usually 600-900 mV when full on).

PNP Operation: To turn on and get Ic flowing, a small base current must be pulled OUT OF the base. Do this by pulling base below emitter voltage through a base resistor. If this current is too small (or zero), the base is starved and collector current shuts off. When you pull enough current out of the base, the emitter-base acts like a diode. The way you know you are pulling enough current out of the base is by checking the voltage between emitter and base. When transistor is on full, the emitter will be several hundred millivolts above the base voltage (< 500 mV if barely on, usually 600-900 mV when full on).

Bipolar Smoke Warning: You must limit the curent in bipolar devices. Two ways to do that. (1) Limit Ib. Use a resistor feeding into the base to limit Ib. Since Ib controls Ic, that will limit Ic. (typical for NPN switching) (2) Limit Ic. Use a resistor in series with the collector to limit Ic (emitter follower circuit). If you don't limit one or the other, you will get smoke.

If you're not sure which to do, USE A BASE RESISTOR OR BOTH. In a switch, Ib can get large, even if Ic is limited.


BIPOLAR SWITCHES vs AMPLIFIER: NPNs and PNPs can be used as switches, buffers or amplifiers. When used as a switch (the easiest), you're cranking the device hard-on or hard-off, nothing in between. Using a transistor as an amplifier requires significantly more design finesse to get linear gain and proper behavior.

NPN SWITCH DESCRIPTION: Emitter to ground. Resistor (e.g. 10k) between collector and Vcc. Resistor (e.g. 3k) between input voltage and base. Output = collector voltage. When input goes high (5V, 12V, whatever), transistor turns on, pulls current through collector resistor, and output goes low. When input goes to zero, no current can go into the NPN base. Transistor shuts off, collector voltage pulled to Vcc. When Ic is on fully, voltage between collector and emitter may be around 0.2V. Normal NPN Switching Operation for hobbiests: Emitter tied to ground for switching. Squirt current into base to turn on. Base will be 600-900 mV above the emitter when on. If collector drops below base voltage (saturation in switch operation), the base will start sucking in more current.


PNP SWITCH DESCRIPTION: Emitter to Vcc. Resistor (e.g. 10k) between collector and Ground. Resistor (e.g. 3k) between input voltage and base. Output = collector voltage. When input goes to ground, transistor turns on, pushes current through collector resistor, and output goes high. When input goes to Vcc, no current can flow out of the PNP base. Transistor shuts off, collector voltage pulled to Ground. When Ic is on fully, voltage between collector and emitter may be around 0.2V. Normal PNP operation for hobbiests: Emitter tied to Vcc for switching. Pull current out of base to turn on. Base will be 600-900 mV below the emitter when on. If collector rises above base voltage (saturation in switch operation), the base will start sending out more current.


Links:

Transistor Components

Transistors FET MOSFET

Metal-Oxide Semi transistors are basically voltage controlled devices. The current is controlled by the voltage at the gate.

Transistors Transdiode

This is a connection of a transistor to use it as a diode.

Diodes

Diodes are two terminal devices that conduct very differently in one direction verses another. The basic use takes advantage of this property, but the are other characetistics that are also useful and special diodes that take advantage of these properties.


General

A diode lets current through in one direction but not another. It acts somewhat an infinite resistance in one direction, and a 0 resistance in the other direction. A more accurate description ( but not complet ) says that in the low resistance direction there must be a .6 v drop before much current flows.

Other Reading

Use: Rectifier

Changing alternating current to direct current. A standard in almost all plug in power supplies and most electronic circuits run on DC.

Use: Detector

As in an amplitude modulated radio ( AM ) where the radio signal is changed to an audio signal.

Use: Snubber

Some circuits, typically those with inductance like inductors, motors, relays and solenoids, generate a large back or reverse voltage when they turn off. Often a diode will be inserted to "short circuit" this voltage/current. This can prevent dammage to other circuit components.

Use: Steering

Sending a voltage/current in a particular direction in a circuit

Use: Expotential/Logeritmitc Converter

The current in the foward direction is an exponential function of the voltage. Together with an op amp this can be used to convert voltages to via an expoential or logeritmitc function. These in turn can be used for multiplication, division, powers and roots. See OpAmp Links


Use: Clipping, Bias Voltage ( Temperature Sensing )

In the forward direction a junction has about .6 volts when conducting ( as does the base emitter junction of a bipolar transistor ). This voltage is useful as a small well defined voltage for bias in a transistor circuit. Often 2 or more will be used in series for a higher voltage. If the input is a varing voltage the output is equal to the input and then begins to clip ( stop rising ) at about .6 volts. Feeding in a triangel wave at the right amplitude you get out a triangle wave with the points rounded off, an approximate sine wave. The bias voltage is somewhat temperature sensitive, you can used this in an electronic therometer circuit.

Use: Over Voltage Protection

Many circuits cannot tollerate voltage over a certain limit ( often the power supply voltage ). Connecting a diode from the circuit input to the power supply can "short out" the over voltage. Make sure the diode is connected in the proper direction.

Use: Bridge

This is an arrangement that is used for full wave rectification and some other circuits that are a bit tricky. Not explained here and now but google will help you out

Use: Reverse Protection

Many circuits destroy themselves when connected backwards to a voltage source. Connecting a diode in series with the circuit blocks the reverse voltage.

Use: Isolation

Tunnel Variable Capicator Transdiode Light Emitting

Special Types

LED, Shockley Junction, Tunnell, variable capacitance.....

Photo

see Sensors photo

PG31-PowerSupply.jpg Reverse Protection Diodes - PTH and SMD diodes to protect against reverse polarization.