greatest contribution to physics was to show that a voltage, E, is generated by a coil of wire when the magnetic flux, , enclosed by it changes
E = N×d/dt volts
where N is the number of turns.
(Vector quantities express this more rigorously, but Faraday was even less of a maths fan than me.) The flux may change because
A nearby permanent magnet is moving about.
The coil rotates with respect to the magnetic field.
The coil is wound on a core whose effective permeabilty changes.
The coil is the secondary winding on a transformer where the primary current is changing.
In electric motors and generators you will usually have more than one of these causes at the same time. It doesn't matter what causes the change; the result is an induced voltage, and the faster the flux changes the greater the voltage.
The effect of coil current
OK, that's all clear enough, but there is one other reason for alteration to the flux: current flow in the coil. Hans Christian Oersted discovered that an electric current can produce a magnetic field. The more current you have the more flux you generate. That, too, is easy enough to grasp. What needs a firm intellectual grip is to appreciate that Faraday's Law does not stop operating just because you have current flowing in the coil. When the coil current varies then that will alter the flux and, says Faraday, if the flux changes then you get an induced voltage. This merry-go-round between current, flux and voltage lies at the heart of electromagnetism. Calculating the sequence of operation just described is quite easy.
The 'flip side to Faraday'
Now let's spin our fairground ride in the other direction. Instead of getting an induced voltage by putting in a current we'll put a voltage across the coil and see what happens. Normally, if you put several volts across any randomly arranged bit of wire then what will happen will be a flash and a bang; the current will follow Ohm's law and (unless the wire is very long and thin) there won't be enough resistance to prevent fireworks. It's a different story when the wire is wound into a coil. If the current increases then we get flux build up which induces a voltage of its own. The sign of this induced voltage is always such that the voltage will be positive if the current into the coil increases. We say that the induced voltage will oppose the externally applied voltage which made the current change (Lenz's law). This creates a limit to the rate of rise of the current and prevents (at least temporarily) the melt-down we get without coiling.
Calculating this 'flip side to Faraday' is also easy; we take his law in its differential form above and integrate:
= ( E.dt ) / N webers
where E is the externally applied voltage and N is the number of turns.
We'll call this the integral form of Faraday's law.
Inductor with AC applied
Let's apply a sinusoidal voltage, frequency f, RMS amplitude a -
E = (√2)a.sin(2.f.t)
Substituting this into the integral form of Faraday:
= ( (√2)a.sin(2.f.t) .dt ) / N
= ((√2)a/N) sin(2.f.t) .dt
= (-(√2)a/(2.f.N)) [cos(2..f.t)]0t
The expression with the limits of integration will always be between -1 and +1 so that the peak value of flux is given by
pk = (√2)a/(2.f.N)
pk = a / (4.44 f.N) Wb
Example: If 230 volts at 50 Hz is applied to an inductor having 200 turns then what is the peak value of magnetic flux?
pk = 230 / (4.44 × 50 × 200)
pk = 5.18 mWb
One important general point: if your winding has to cope with a given signal amplitude then the core flux is proportional to the inverse of the frequency. This means, for example, that mains transformers operating at 50 or 60 Hz are larger than transformers in switching supplies (capable of handling the same power) working at 50 kHz.
Using inductance
If the material permeability is constant then the relation between flux and current is linear and, by the definition of inductance :
= L×I/N amps
where L is the inductance of the coil.
Substituting into the integral form of the law:
L×I/N = ( E.dt ) / N
I = ( E.dt ) / L amps
If E is a constant then this formula for the current simplifies to:
I = E×t/L amps
Example: If a 820 mH coil has 2 volts applied then find the current at the end of three seconds.
I = 2×3/0.82 = 7.32 amps
Conclusion:
Satisfy yourself that this result above is consistent with our original formulation of Faraday's law: voltage is proportional to the rate of change of flux. Consider also how useful this integration method is in practical inductor design; if you know the number of turns on a winding and the voltage waveform on it then you integrate wrt time and voilá you have found the amount of flux. What's more is that you found it without knowing about the inductance or the core: its permeabilty, size, shape, or even whether there was a core at all.
Caveat (there's always one): The coils decribed here are idealised.
Sunday, 2 August 2009
H-Bridges: Theory and Practice
A number of web sites talk about H-bridges, they are a topic of great discussion in robotics clubs and they are the bane of many robotics hobbyists. I periodically chime in on discussions about them, and while not an expert by a long shot I've built a few over the years. Further, they were one of my personal stumbling blocks when I was first getting into robotics. This section of the notebook is devoted to the theory and practice of building H-bridges for controlling brushed DC motors (the most common kind you will find in hobby robotics ...) I've got an image of one below with both as a unit and "expanded" in an exploded view.basic Theory
Let's start with the name, H-bridge. Sometimes called a "full bridge" the H-bridge is so named because it has four switching elements at the "corners" of the H and the motor forms the cross bar. The basic bridge is shown in the figure to the rightOf course the letter H doesn't have the top and bottom joined together, but hopefully the picture is clear. This is also something of a theme of this tutorial where I will state something, and then tell you it isn't really true :-).
The key fact to note is that there are, in theory, four switching elements within the bridge. These four elements are often called, high side left, high side right, low side right, a
nd low side left (when traversing in clockwise order).
The switches are turned on in pairs, either high left and lower right, or lower left and high right, but never both switches on the same "side" of the bridge. If both switches on one side of a bridge are turned on it creates a short circuit between the battery plus and battery minus terminals. This phenomena is called shoot through in the Switch-Mode Power Supply (SMPS) literature. If the bridge is sufficiently powerful it will absorb that load and your batteries will simply drain quickly. Usually however the switches in question melt.
The key fact to note is that there are, in theory, four switching elements within the bridge. These four elements are often called, high side left, high side right, low side right, a
nd low side left (when traversing in clockwise order).The switches are turned on in pairs, either high left and lower right, or lower left and high right, but never both switches on the same "side" of the bridge. If both switches on one side of a bridge are turned on it creates a short circuit between the battery plus and battery minus terminals. This phenomena is called shoot through in the Switch-Mode Power Supply (SMPS) literature. If the bridge is sufficiently powerful it will absorb that load and your batteries will simply drain quickly. Usually however the switches in question melt.

To power the motor, you turn on two switches that are diagonally opposed. In the picture to the right, imagine that the high side left and low side right switches are turned on. The current flow is shown in green.
The current flows and the motor begins to turn in a "positive" direction. What happens if you turn on the high side right and low side left switches? You guessed it, current flows the other direction through the motor and the motor turns in the opposite direction.
Pretty simple stuff right? Actually it is just that simple, the tricky part comes in when you decide what to use for switches. Anything that can carry a current will work, from four SPST switches, one DPDT switch, relays, transistors, to enhancement mode power MOSFETs.
One more topic in the basic theory section, quadrants. If each switch can be controlled independently then you can do some interesting things with the bridge, some folks call such a bridge a "four quadrant device" (4QD get it?). If you built it out of a single DPDT relay, you can really only control forward or reverse. You can build a small truth table that tells you for each of the switch's states, what the bridge will do. As each switch has one of two states, and there are four switches, there are 16 possible states. However, since any state that turns both switches on one side on is "bad" (smoke issues forth), there are in fact only four useful states (the four quadrants) where the transistors are turned on. .
The current flows and the motor begins to turn in a "positive" direction. What happens if you turn on the high side right and low side left switches? You guessed it, current flows the other direction through the motor and the motor turns in the opposite direction.
Pretty simple stuff right? Actually it is just that simple, the tricky part comes in when you decide what to use for switches. Anything that can carry a current will work, from four SPST switches, one DPDT switch, relays, transistors, to enhancement mode power MOSFETs.
One more topic in the basic theory section, quadrants. If each switch can be controlled independently then you can do some interesting things with the bridge, some folks call such a bridge a "four quadrant device" (4QD get it?). If you built it out of a single DPDT relay, you can really only control forward or reverse. You can build a small truth table that tells you for each of the switch's states, what the bridge will do. As each switch has one of two states, and there are four switches, there are 16 possible states. However, since any state that turns both switches on one side on is "bad" (smoke issues forth), there are in fact only four useful states (the four quadrants) where the transistors are turned on. .
The last two rows describe a maneuver where you "short circuit" the motor which causes the motors generator effect to work against itself. The turning motor generates a voltage which tries to force the motor to turn the opposite direction. This causes the motor to rapidly stop spinning and is called "braking" on a lot of H-bridge designs.
Of course there is also the state where all the transistors are turned off. In this case the motor coasts if it was spinning and does nothing if it was doing nothing.
Of course there is also the state where all the transistors are turned off. In this case the motor coasts if it was spinning and does nothing if it was doing nothing.
Bipolar Junction (BJT) H-Bridges
The simplest type of H-bridge you can build uses Bipolar Junction Transistors (BJTs), just called transistors from here on out. If you've never built any sort of power controller then the circuits in this section are a good introduction. The circuits can be built cheaply, control a number of easily obtained motors, and even if you burn them up you will learn something!
The tutorial is quite long and I have broken it up into several parts. If you are familiar with transistors then you can skip the Transistor Theory part
Transistor Theory
The first part of this sub-section talks a bit about the theory of operation for Bipolar Junction Transistors
Selecting the Right Transistors
Now that you understand what the transistors do for us, lets use them. This section jumps into the details of selecting some transistors to build into an H-bridge
Implementing H-Bridge Elements with BJT Transistors
The transistors in hand, now it is just a matter of implementing the four corners of the "H" and adding some way to control it from a computer port
The Complete BJT based H-Bridge
Putting the pieces together to form a single unit. A little cleverness in our shopping and we've got a $5 H-bridge
Circuit Analysis and Bring-up
Designing a circuit is only half the fun, understanding how it works and why is the real prize. This section builds up a test harness that analyses the H-bridge we're building
Using this H-Bridge design in a Robot
This section discusses laying out a printed circuit board for use in mobile robots. Ergonomics, economics, and physics all play a role
Going Further
Kits of this design are available for a modest fee, contact waqas saleem this server for details. The kinds of motors that a power transistor H-bridge will control are generally DC gearhead motors and model motors in the 3 - 12V range. Motors that are compatible with this H-bridge can be purchased from the following vendors:
The tutorial is quite long and I have broken it up into several parts. If you are familiar with transistors then you can skip the Transistor Theory part
Transistor Theory
The first part of this sub-section talks a bit about the theory of operation for Bipolar Junction Transistors
Selecting the Right Transistors
Now that you understand what the transistors do for us, lets use them. This section jumps into the details of selecting some transistors to build into an H-bridge
Implementing H-Bridge Elements with BJT Transistors
The transistors in hand, now it is just a matter of implementing the four corners of the "H" and adding some way to control it from a computer port
The Complete BJT based H-Bridge
Putting the pieces together to form a single unit. A little cleverness in our shopping and we've got a $5 H-bridge
Circuit Analysis and Bring-up
Designing a circuit is only half the fun, understanding how it works and why is the real prize. This section builds up a test harness that analyses the H-bridge we're building
Using this H-Bridge design in a Robot
This section discusses laying out a printed circuit board for use in mobile robots. Ergonomics, economics, and physics all play a role
Going Further
Kits of this design are available for a modest fee, contact waqas saleem this server for details. The kinds of motors that a power transistor H-bridge will control are generally DC gearhead motors and model motors in the 3 - 12V range. Motors that are compatible with this H-bridge can be purchased from the following vendors:
Microprocessor Control
To use this h-bridge with a microprocessor, you must connect the three control lines to output pins on the microprocessor. Using the BasicStamp II as an example, consider the following hookup diagram.
As you can see three pins from the Basic Stamp are connected to each H-bridge board. In this example they are P0, P1, and P2 to the board controlling the left motor and P4, P5, and P6 to the board controlling the right motor. One of the advantages of using three pins that are both right next to each other, and in the same group of four bits (called nybbles) is that you can use a single variable (one of OUTA, OUTB, OUTC, or OUTD) to write to four pins at once.
This is really only important on chips like the BASIC Stamp where their can be a millisecond or more between the execution of one instruction and the next. By connecting them this way you can cause both motors to start turning with a single instruction such as this assignment:
OUTL = $33
Whereas if you did two instructions :
OUTA = $03 OUTB = $03
You would find that the left motor started turning first, then the right motor. So on a robot that steered with two motors the motor would make a slight turn to the right, then go straight. If you turned them off in the same sequence you would find that the robot corrected its heading back to the original heading but would not have traveled "straight" ahead. For systems that use gear motors such as the 12V Brevel motors or the Globe motors, this won't be a noticeable problem, but higher performance motors will definitely suffer.
Alternatively you could use something like my ServoGizmo project to drive one or two of these boards. The AntWeight ESC code could be easily modified to drive this bridge circuit rather than the 754410, however you could even drive two of these at the same time with some additional code. When the 754410 is not mounted on the Gizmo board you get 6 outputs from the PIC. If I have time I'll write a dual motor control with serial input so that you could connect the Gizmo to just one pin of the BASIC stamp and send it serial commands to control two motors.
The easiest way to use PWM on the motor is to start with the direction and enable bits "high" or at a logic 1 value. This turns on the high side (source) transistor and leaves the sink side transistor off. You can then send "low" pulses out the ENA* line to turn the motor on and off. This would allow you to use a single 'PWM' output, such as the one that is available on the PIC16F628, to control the PWM duty cycle in hardware while the PIC managed other aspects of controlling the motor. The most common use would be to provide encoder feedback into the PIC that would allow a simple PID algorithm to be implemented. With two bits of encoder input, three bits of motor control, and two bits for serial I/O the 16F628 would be well engaged.
Summary
The previous pages have gone through the design of simple H-bridge using bipolar junction transistors. If you read through this tutorial and build the H-bridge, you will be able to use this information in many future robots. The H-bridge that is presented is well suited to a wide variety of hobby motors and because you should understand it completely, it should be easily repaired should something fail. The next step in building H-bridges is to build them out of MOSFETs.

As you can see three pins from the Basic Stamp are connected to each H-bridge board. In this example they are P0, P1, and P2 to the board controlling the left motor and P4, P5, and P6 to the board controlling the right motor. One of the advantages of using three pins that are both right next to each other, and in the same group of four bits (called nybbles) is that you can use a single variable (one of OUTA, OUTB, OUTC, or OUTD) to write to four pins at once.
This is really only important on chips like the BASIC Stamp where their can be a millisecond or more between the execution of one instruction and the next. By connecting them this way you can cause both motors to start turning with a single instruction such as this assignment:
OUTL = $33
Whereas if you did two instructions :
OUTA = $03 OUTB = $03
You would find that the left motor started turning first, then the right motor. So on a robot that steered with two motors the motor would make a slight turn to the right, then go straight. If you turned them off in the same sequence you would find that the robot corrected its heading back to the original heading but would not have traveled "straight" ahead. For systems that use gear motors such as the 12V Brevel motors or the Globe motors, this won't be a noticeable problem, but higher performance motors will definitely suffer.
Alternatively you could use something like my ServoGizmo project to drive one or two of these boards. The AntWeight ESC code could be easily modified to drive this bridge circuit rather than the 754410, however you could even drive two of these at the same time with some additional code. When the 754410 is not mounted on the Gizmo board you get 6 outputs from the PIC. If I have time I'll write a dual motor control with serial input so that you could connect the Gizmo to just one pin of the BASIC stamp and send it serial commands to control two motors.
The easiest way to use PWM on the motor is to start with the direction and enable bits "high" or at a logic 1 value. This turns on the high side (source) transistor and leaves the sink side transistor off. You can then send "low" pulses out the ENA* line to turn the motor on and off. This would allow you to use a single 'PWM' output, such as the one that is available on the PIC16F628, to control the PWM duty cycle in hardware while the PIC managed other aspects of controlling the motor. The most common use would be to provide encoder feedback into the PIC that would allow a simple PID algorithm to be implemented. With two bits of encoder input, three bits of motor control, and two bits for serial I/O the 16F628 would be well engaged.
Summary
The previous pages have gone through the design of simple H-bridge using bipolar junction transistors. If you read through this tutorial and build the H-bridge, you will be able to use this information in many future robots. The H-bridge that is presented is well suited to a wide variety of hobby motors and because you should understand it completely, it should be easily repaired should something fail. The next step in building H-bridges is to build them out of MOSFETs.
Layout Considerations
Generally this circuit is fairly free of layout restrictions, however there are some things that you can do to make your life easier. A sample layout is shown below.
One of the things to note is that the transistors are arranged "back to back" with their tabs facing each other. In my layout I have spaced them 3/8" apart which allows me to put a piece of 1" x 3/8" x copper bar stock down the middle and with #4-40 machine bolts to secure it. A 1 - 1/2" piece of this stock weighs about 3 oz. This basically doubles to current capacity of the bridge, and if you then bolt the copper bar to a metal enclosure you can triple the capacity to a full 6 amps continuous duty. Further, the two left transistors are the "upper" source transistors and the two right transistors are the lower "sink" transistors. That means that any thermal solution will have heat being injected from diagonal corners which further maximizes the benefit by spreading out the heat injection. The point here is to think about whether or not you are going to put heat sinks on the transistors and lay them out accordingly.
The layout in the zip file is very slightly different than the first run, I added more room for the over-voltage snubber and added a place to put a .01uf capacitor across the motor leads (cuts down on brush noise).
Alternatively you can build this bridge on a piece of perfboard and just solder it together. Be sure and use at least 18 ga wire on the legs of the transistors.
One of the things to note is that the transistors are arranged "back to back" with their tabs facing each other. In my layout I have spaced them 3/8" apart which allows me to put a piece of 1" x 3/8" x copper bar stock down the middle and with #4-40 machine bolts to secure it. A 1 - 1/2" piece of this stock weighs about 3 oz. This basically doubles to current capacity of the bridge, and if you then bolt the copper bar to a metal enclosure you can triple the capacity to a full 6 amps continuous duty. Further, the two left transistors are the "upper" source transistors and the two right transistors are the lower "sink" transistors. That means that any thermal solution will have heat being injected from diagonal corners which further maximizes the benefit by spreading out the heat injection. The point here is to think about whether or not you are going to put heat sinks on the transistors and lay them out accordingly.The layout in the zip file is very slightly different than the first run, I added more room for the over-voltage snubber and added a place to put a .01uf capacitor across the motor leads (cuts down on brush noise).
Alternatively you can build this bridge on a piece of perfboard and just solder it together. Be sure and use at least 18 ga wire on the legs of the transistors.
A Touch of Physics
In order to understand how diodes can have very different properties according to how they are manufactured, it is necessary to first delve a bit into the physics involved. Don't worry; we won't get any deeper in than we have to, but we have to use this method to understand the differences between different kinds of diodes, and why they can do the odd (and useful) things they do.
Consider the diagram to the right. This figure shows the important range of electron energy in four different kinds of materials. To understand this diagram, let's define a few terms.
Conduction Band
That range of electron energy where electrical conduction is possible. Electrons with this much energy are free of their parent atoms, and can move through the medium in which they exist.
Valence Band
That range of electron energy where electrical conduction is not possible. Electrons with this much energy are bound into the atomic structure of the material, and are unavailable to conduct an electrical current.
Forbidden Zone
That energy range between the valence band and the conduction band. Electrons cannot remain within this range of energy; they must either gain or lose energy so as to attain either the conduction band or the valence band.
Fermi Level
The highest energy level in the crystal that can remain populated by electrons at a temperature of Absolute Zero. Electrons with greater energy than this may be available for conduction; electrons with less energy are bound to the crystal structure.
Diagram A above represents a good conductor, such as copper or silver. Here, at temperatures above Absolute Zero, electrons are always available to conduct electrical current, even with no applied energy. In metals, the valence and conduction bands actually overlap.
Diagram B shows a typical insulator, such as glass. All electrons are pretty much locked into the atomic structure, and are unavailable as current carriers. It will take a lot of energy to break any electrons loose for conduction. It's not impossible (a lightning bolt can go through almost anything), but it takes a lot of applied energy.
Diagram C represents a crystal of N-type silicon (or germanium). The forbidden zone is still present, but much smaller than for an insulator. That's why this type of material is called a "semiconductor." With the crystal doped with N-type impurities, there are lots of electrons around with almost enough energy to roam freely, so the Fermi level gets pushed up close to the conduction band. If the doping level is heavy enough (large dosage of impurities), the Fermi level can actually enter the conduction band.
Diagram D represents a P-type semiconductor crystal. Here, the p-type impurities have left holes in the atomic structure, which tend to attract and hold free electrons. This pulls the Fermi level down until it gets close to the valence band. Similar to the highly-doped N-type crystal, a highly-doped P-type crystal will have its Fermi level within the valence band instead of just above it.
There are two important factors regarding the Fermi level in semiconductors. First, since the Fermi level is close to one of the working energy levels, it requires very little energy to push an electron over the edge and make it available for conduction. In an N-type crystal, only a very small applied voltage will kick the free electrons up into the conduction band to carry a current. In a P-type crystal, a small amount of energy will kick a bound electron just over the top of the valence band into the forbidden zone. This doesn't make the electron available for bulk conduction, but does allow the applied voltage to push the electron over into a hole, causing it to leave another hole behind it. In this way, a series of electrons can "hop" from bound state to bound state in a new location, allowing the hole to appear to move in the opposite direction. This is another way to think of hole conduction in semiconductor crystals.
The second factor to remember is that when a PN junction is formed in a single silicon or germanium crystal, the entire crystal as a whole has one Fermi level (see Diagram E above). The conduction and valence bands have differing energy levels across the crystal. As a result, the N-type conduction band is very close in energy to the P-type valence band. The transition region corresponds to the depletion region within the crystal. This is a major factor in the operation of all semiconductor devices, and helps to explain how we can get specific properties from a given device, according to just how we manufacture the semiconductor crystal.

Consider the diagram to the right. This figure shows the important range of electron energy in four different kinds of materials. To understand this diagram, let's define a few terms.
Conduction Band
That range of electron energy where electrical conduction is possible. Electrons with this much energy are free of their parent atoms, and can move through the medium in which they exist.
Valence Band
That range of electron energy where electrical conduction is not possible. Electrons with this much energy are bound into the atomic structure of the material, and are unavailable to conduct an electrical current.
Forbidden Zone
That energy range between the valence band and the conduction band. Electrons cannot remain within this range of energy; they must either gain or lose energy so as to attain either the conduction band or the valence band.
Fermi Level
The highest energy level in the crystal that can remain populated by electrons at a temperature of Absolute Zero. Electrons with greater energy than this may be available for conduction; electrons with less energy are bound to the crystal structure.
Diagram A above represents a good conductor, such as copper or silver. Here, at temperatures above Absolute Zero, electrons are always available to conduct electrical current, even with no applied energy. In metals, the valence and conduction bands actually overlap.
Diagram B shows a typical insulator, such as glass. All electrons are pretty much locked into the atomic structure, and are unavailable as current carriers. It will take a lot of energy to break any electrons loose for conduction. It's not impossible (a lightning bolt can go through almost anything), but it takes a lot of applied energy.
Diagram C represents a crystal of N-type silicon (or germanium). The forbidden zone is still present, but much smaller than for an insulator. That's why this type of material is called a "semiconductor." With the crystal doped with N-type impurities, there are lots of electrons around with almost enough energy to roam freely, so the Fermi level gets pushed up close to the conduction band. If the doping level is heavy enough (large dosage of impurities), the Fermi level can actually enter the conduction band.
Diagram D represents a P-type semiconductor crystal. Here, the p-type impurities have left holes in the atomic structure, which tend to attract and hold free electrons. This pulls the Fermi level down until it gets close to the valence band. Similar to the highly-doped N-type crystal, a highly-doped P-type crystal will have its Fermi level within the valence band instead of just above it.
There are two important factors regarding the Fermi level in semiconductors. First, since the Fermi level is close to one of the working energy levels, it requires very little energy to push an electron over the edge and make it available for conduction. In an N-type crystal, only a very small applied voltage will kick the free electrons up into the conduction band to carry a current. In a P-type crystal, a small amount of energy will kick a bound electron just over the top of the valence band into the forbidden zone. This doesn't make the electron available for bulk conduction, but does allow the applied voltage to push the electron over into a hole, causing it to leave another hole behind it. In this way, a series of electrons can "hop" from bound state to bound state in a new location, allowing the hole to appear to move in the opposite direction. This is another way to think of hole conduction in semiconductor crystals.
The second factor to remember is that when a PN junction is formed in a single silicon or germanium crystal, the entire crystal as a whole has one Fermi level (see Diagram E above). The conduction and valence bands have differing energy levels across the crystal. As a result, the N-type conduction band is very close in energy to the P-type valence band. The transition region corresponds to the depletion region within the crystal. This is a major factor in the operation of all semiconductor devices, and helps to explain how we can get specific properties from a given device, according to just how we manufacture the semiconductor crystal.
Specialized Diodes
By adjusting the doping levels and gradients as well as the geometry of a semiconductor crystal, we can modify the behavior of the device. This page lists a wide range of diodes whose properties have been deliberately controlled to produce specific capabilities.
Each of these specialized diodes has its own schematic symbol, shown to the right of its description below. The symbols are all specific variations on the basic diode symbol, so that the nature and function of the device is clear on a schematic diagram.
Light Emitting Diode (LED)
One of the questions semiconductor manufacturers asked themselves was, "What happens if we increase the doping levels in the silicon crystal?" Trying this gave rise, among other things, to the tunnel diode. Then they took the process even further, to the point where they skipped the silicon completely, and produced what is called a "III-V" device, named after the fact that P-type dopants are from column III of the Periodic Table (aluminum, gallium, indium) and N-type dopants are from column V (phosphorus, arsenic).
The resulting Gallium Arsenide (GaAs) crystal had the interesting property of radiating significant amounts of infrared radiation from the junction. By adding Phosphorus to the equation, they shortened the wavelength of the emitted radiation until it became visible red light. Further refinements have given us yellow and green LEDs. More recently, blue LEDs have been produced, by putting nitrogen into the crystal structure. This makes full-color flat-screen LED displays possible.
The mechanism of emitting light is interesting. The atomic structure of the LED is carefully designed so that as free electrons cross the junction from the N-type side to the P-type side, the amount of energy each electron releases as it drops into a nearby hole corresponds to the energy of a photon of some particular color. Therefore, that photon is released as a visible photon of that color.
P-I-N Diode
The p-i-n diode doesn't actually have a junction at all. Rather, the middle part of the silicon crystal is left undoped. Hence the name for this device: p-intrinsic-n, or p-i-n. Because this device has an intrinsic middle section, it has a wide forbidden zone when unbiased. However, when a forward bias is applied, current carriers from the p- and n-type ends become available and conduct current even through the intrisic center region. The end regions are heavily doped to provide more current carriers.
The p-i-n diode is highly useful as a switch for very high frequencies. They are commonly used as microwave switches and limiters.
Tunnel Diode
As we mentioned in our discussion of semiconductor physics the addition of either P-type or N-type impurities causes the Fermi level in the silicon crystal to shift towards the valence band (P-type impurities) or the conduction band (N-type impurities). The higher the doping level, the greater the shift. In the tunnel diode, the doping levels are so high that the Fermi levels in both halves of the crystal have been pushed completely out of the forbidden zone and into the valence and conduction bands.
As a result, at very low forward voltages, electrons don't have to gain energy to get over the Fermi level or into the conduction band; they can simply "tunnel through" the junction and appear at the other side. Furthermore, as the forward bias increases, the applied voltage shifts the levels apart, and gradually back to the more usual diode energy pattern. Over this applied forward voltage range, diode current actually decreases as applied voltage increases. Thus, over part of its operating range, the tunnel diode exhibits a negative resistance effect. This makes it useful in very high frequency oscillators and related circuitry.
Varactor Diode
One characteristic of any PN junction is an inherent capacitance. When the junction is reverse biased, increasing the applied voltage will cause the depletion region to widen, thus increasing the effective distance between the two "plates" of the capacitor and decreasing the effective capacitance.
By adjusting the doping gradient and junction width, we can control the capacitance range and the way capacitance changes with applied reverse voltage. A four-to-one capacitance range is no problem; a typical varactor diode (sometimes called a "varicap diode") might vary from 60 picofarads (pf) at zero bias down to 15 pf at 20 volts. Very careful manufacturing can get a capacitance range of up to ten-to-one, although this seems at present to be a practical limit.
Varactor diodes are used in electronic tuning systems, to eliminate the use of and need for moving parts.
Zener Diode
When the reverse voltage applied to a diode exceeds the capability of the diode to withstand it, one of two things will happen, yielding essentially the same result in either case. If the junction is wide, a process called avalanche breakdown occurs, whereby the current through the diode increases as much as the external circuit will permit. A narrow junction will experience Zener breakdown, which is a different mechanism but has the same effect.
The useful feature here is that the voltage across the diode remains nearly constant even with large changes in current through the diode. In addition, manufacturing techniques allow diodes to be accurately manufactured with breakdown voltages ranging from a few volts up to several hundred volts. Such diodes find wide use in electronic circuits as voltage regulators.
Schottky Barrier Diode
When we get into high-speed applications for electronic circuits, one of the problems exhibited by semiconductor devices is a phenomenon called charge storage. This term refers to the fact that both free electrons and holes tend to accumulate inside a semiconductor crystal while it is conducting, and must be removed before the semiconductor device will turn off. This is not a major problem with free electrons, as they have high mobility and will rapidly leave the semiconductor device. However, holes are another story. They must be filled more gradually by electrons jumping from bond to bond. Thus, it takes time for a semiconductor device to completely stop conducting. This problem is even worse for a transistor in saturation, since then by definition the base region has an excess of minority carriers, which tend to promote conduction even when the external drive is removed.
The solution is to design a semiconductor diode with no P-type semiconductor region, and therefore no holes as current carriers. Such a diode, known as a Schottky Barrier Diode, places a rectifying metal contact on one side on an N-type semiconductor block. For example, an aluminum contact will act as the P-type connection, without requiring a significant P-type semiconductor region.
This diode construction has two advantages in certain types of circuits. First, they can operate at very high frequencies, because they can turn off as fast as they can turn on. Second, they have a very low forward voltage drop. This is used to advantage in a number of ways, including as an addition to TTL ICs. When a Schottky diode is placed across the collector-base junction of a transistor as shown to the right, it prevents the transistor from becoming saturated, by bypassing the excess base current around the transistor. Therefore, the transistor can turn off faster, thus increasing the switching speed of the IC. The full power versions of these TTL ICs are the 74S00 series, and have switching speeds similar to ECL, and similar power requirements. The low power versions, the 74LS00 series, have switching times comparable to standard TTL, but with a much lower power requirement.
Experimentation is always in progress, and new applications are invented regularly. As new diode types come to my attention, I will add them to the list above. If you should hear of a diode type not yet in the list, please contact and let me know there. I will research the device and add it as quickly as possible. Thanks.
Each of these specialized diodes has its own schematic symbol, shown to the right of its description below. The symbols are all specific variations on the basic diode symbol, so that the nature and function of the device is clear on a schematic diagram.
Light Emitting Diode (LED)
One of the questions semiconductor manufacturers asked themselves was, "What happens if we increase the doping levels in the silicon crystal?" Trying this gave rise, among other things, to the tunnel diode. Then they took the process even further, to the point where they skipped the silicon completely, and produced what is called a "III-V" device, named after the fact that P-type dopants are from column III of the Periodic Table (aluminum, gallium, indium) and N-type dopants are from column V (phosphorus, arsenic).
The resulting Gallium Arsenide (GaAs) crystal had the interesting property of radiating significant amounts of infrared radiation from the junction. By adding Phosphorus to the equation, they shortened the wavelength of the emitted radiation until it became visible red light. Further refinements have given us yellow and green LEDs. More recently, blue LEDs have been produced, by putting nitrogen into the crystal structure. This makes full-color flat-screen LED displays possible.
The mechanism of emitting light is interesting. The atomic structure of the LED is carefully designed so that as free electrons cross the junction from the N-type side to the P-type side, the amount of energy each electron releases as it drops into a nearby hole corresponds to the energy of a photon of some particular color. Therefore, that photon is released as a visible photon of that color.
P-I-N Diode
The p-i-n diode doesn't actually have a junction at all. Rather, the middle part of the silicon crystal is left undoped. Hence the name for this device: p-intrinsic-n, or p-i-n. Because this device has an intrinsic middle section, it has a wide forbidden zone when unbiased. However, when a forward bias is applied, current carriers from the p- and n-type ends become available and conduct current even through the intrisic center region. The end regions are heavily doped to provide more current carriers.
The p-i-n diode is highly useful as a switch for very high frequencies. They are commonly used as microwave switches and limiters.
Tunnel Diode
As we mentioned in our discussion of semiconductor physics the addition of either P-type or N-type impurities causes the Fermi level in the silicon crystal to shift towards the valence band (P-type impurities) or the conduction band (N-type impurities). The higher the doping level, the greater the shift. In the tunnel diode, the doping levels are so high that the Fermi levels in both halves of the crystal have been pushed completely out of the forbidden zone and into the valence and conduction bands.
As a result, at very low forward voltages, electrons don't have to gain energy to get over the Fermi level or into the conduction band; they can simply "tunnel through" the junction and appear at the other side. Furthermore, as the forward bias increases, the applied voltage shifts the levels apart, and gradually back to the more usual diode energy pattern. Over this applied forward voltage range, diode current actually decreases as applied voltage increases. Thus, over part of its operating range, the tunnel diode exhibits a negative resistance effect. This makes it useful in very high frequency oscillators and related circuitry.
Varactor Diode
One characteristic of any PN junction is an inherent capacitance. When the junction is reverse biased, increasing the applied voltage will cause the depletion region to widen, thus increasing the effective distance between the two "plates" of the capacitor and decreasing the effective capacitance.
By adjusting the doping gradient and junction width, we can control the capacitance range and the way capacitance changes with applied reverse voltage. A four-to-one capacitance range is no problem; a typical varactor diode (sometimes called a "varicap diode") might vary from 60 picofarads (pf) at zero bias down to 15 pf at 20 volts. Very careful manufacturing can get a capacitance range of up to ten-to-one, although this seems at present to be a practical limit.
Varactor diodes are used in electronic tuning systems, to eliminate the use of and need for moving parts.
Zener Diode
When the reverse voltage applied to a diode exceeds the capability of the diode to withstand it, one of two things will happen, yielding essentially the same result in either case. If the junction is wide, a process called avalanche breakdown occurs, whereby the current through the diode increases as much as the external circuit will permit. A narrow junction will experience Zener breakdown, which is a different mechanism but has the same effect.
The useful feature here is that the voltage across the diode remains nearly constant even with large changes in current through the diode. In addition, manufacturing techniques allow diodes to be accurately manufactured with breakdown voltages ranging from a few volts up to several hundred volts. Such diodes find wide use in electronic circuits as voltage regulators.
Schottky Barrier Diode
When we get into high-speed applications for electronic circuits, one of the problems exhibited by semiconductor devices is a phenomenon called charge storage. This term refers to the fact that both free electrons and holes tend to accumulate inside a semiconductor crystal while it is conducting, and must be removed before the semiconductor device will turn off. This is not a major problem with free electrons, as they have high mobility and will rapidly leave the semiconductor device. However, holes are another story. They must be filled more gradually by electrons jumping from bond to bond. Thus, it takes time for a semiconductor device to completely stop conducting. This problem is even worse for a transistor in saturation, since then by definition the base region has an excess of minority carriers, which tend to promote conduction even when the external drive is removed.
The solution is to design a semiconductor diode with no P-type semiconductor region, and therefore no holes as current carriers. Such a diode, known as a Schottky Barrier Diode, places a rectifying metal contact on one side on an N-type semiconductor block. For example, an aluminum contact will act as the P-type connection, without requiring a significant P-type semiconductor region.
This diode construction has two advantages in certain types of circuits. First, they can operate at very high frequencies, because they can turn off as fast as they can turn on. Second, they have a very low forward voltage drop. This is used to advantage in a number of ways, including as an addition to TTL ICs. When a Schottky diode is placed across the collector-base junction of a transistor as shown to the right, it prevents the transistor from becoming saturated, by bypassing the excess base current around the transistor. Therefore, the transistor can turn off faster, thus increasing the switching speed of the IC. The full power versions of these TTL ICs are the 74S00 series, and have switching speeds similar to ECL, and similar power requirements. The low power versions, the 74LS00 series, have switching times comparable to standard TTL, but with a much lower power requirement.
Experimentation is always in progress, and new applications are invented regularly. As new diode types come to my attention, I will add them to the list above. If you should hear of a diode type not yet in the list, please contact and let me know there. I will research the device and add it as quickly as possible. Thanks.
Subscribe to:
Posts (Atom)