The
Transistor Amplifier


Home


Save as:
.doc (1.4MB)     .pdf (1MB)
See: 1- 100 Transistor Circuits
101 - 200 Transistor Circuits


P1   P2   P3   test
 

 
TOPICS:

Adjusting The Stage Gain
AF Detector
ANALOGUE and DIGITAL mode Read this section to see what we mean
Analogue To Digital
A "Stage"
Base Bias

Blocking Oscillator
Bridge  - the
Boost Converter
Bootstrap Circuit
Buck Converter - the
Clipping and Distortion
Colpitts Oscillator
Common Base Amplifier
Connecting 2 Stages
Constant Current Circuit  - the
Coupling Capacitor - the
Current
Current Buffer Circuit
Current to Voltage Converter
Darlington - and the Sziklai Pair
Design Your Own Transistor Amplifier
Differential Amplifier
Digial Stage - the
Distortion and Clipping
Electronic Filter
Emitter Degeneration - or Emitter Feedback
Emitter follower

FlyBack Oscillator           FlyBack Oscillator
Gates
Hartley Oscillator
High Input Impedance Circuit
Hysteresis
Impedance Maching
Input and Output Impedance
Interfacing
Inverter - transistor as an
Latch Circuit
LINER AMPLIFIER Transistor as a
Long Tailed Pair
Motor-boating
Negative feedback  - lots of circuits have negative feedback.  See Fig 103cc
NPN Transistor
NPN/PNP Amplifier
Oscillators  Oscillators
Phase-Shift Oscillator
PNP Transistor
Positive Feedback.  See Fig 103cc
Potentiometer - The
Push Pull
Regulator - transistor
Relay - driving a relay
Saturating a Transistor
Schmitt Trigger - the
Sinewave Oscillator
Sinking and Sourcing
Square Wave Oscillator
Switch - The transistor as a Switch
Stage Gain
Super-Alpha Circuit
Time Delay
Totem Pole Stage
Transformer  - adding a transformer
Transistor as a LOAD
Transistor Tester
Voice Operated Switch   - see VOX
Voltage Amplifier Circuit
Voltage Buffer Circuit
Voltage to Current Converter
Voltages - measuring Voltages
VOX - Voice Operated Switch
Zener Tester
Zener The transistor as a zener Regulator
1 watt LED - driving a high-power LED



THE DIFFERENTIAL AMPLIFIER
or
LONG TAILED PAIR


Fig 71ad

The DIFFERENTIAL AMPLIFIER is also called the "Difference Amplifier" or long-tailed pair (LTP), or emitter-coupled pair, because it amplifies the difference between the voltages on Input 1 and Input 2. It is called a Long Tailed Pair because the emitter resistor has a high value. The circuit has the advantage of ONLY amplifying the signals on the Inputs. Any noise on the power rail is not detected on the output as both transistors will see this fluctuation and both outputs will either rise or fall.
Since the Long Tailed Pair does not pick up noise from the supply, it is ideal as a pre-amplifier as shown in the 60 watt amplifier in Fig 71ae:


Fig 71a
e


THE CONSTANT-CURRENT CIRCUIT


Fig 71a    Constant-Current Circuits

The three circuits above provide a constant current through the LED (or LEDs) when the supply rises to 15v and higher. The second and third circuits can be turned on and off via the input line.


Fig 71b    Constant-Current Circuit

The first circuit in Fig 71b is a constant-current arrangement, providing a fixed current to the LEDs, no matter the supply voltage.
This is done by turning on the top transistor via the 2k2 resistor. It keeps turning on until the voltage-drop across resistor R is 0.65v. At this point the lower transistor starts to turn on and current flows through the collector-emitter terminals and it "robs" the top transistor of current from the 2k2 resistor. The top transistor cannot turn on any more and the current flowing though R is the same as the current flowing through the LEDs and does not increase.

The second diagram in Fig 71b is also a constant-current circuit with the base fixed at:
0.7v + 0.7v = 1.4v via the two diodes.
The transistor is turned on via the 2k2 resistor and a voltage is developed across resistor R. When this voltage is 0.7v, the emitter is 0.7v above the 0v rail and the base is 1.4v. If the transistor turns on more, the emitter will be 0.8v above the 0v rail and this will only give 0.6v between base and emitter. The transistor would not be turned on with this voltage-drop, so the transistor cannot be turned on any more than 0.65v across the resistor R.


Fig 71ba    Constant-Current Circuit
Fig 71ba shows two more constant current circuits "sourcing" the LEDs. The 7 constant current circuits give you the choice of either sourcing or sinking the LED current.

TWO TRANSISTOR REGULATOR


Fig 71bb

If we take the Constant-Current Circuit shown in Fig 71b above, and split resistor R into Ra and Rb, we produce an identical circuit with a completely different name. It is called a TWO TRANSISTOR REGULATOR.
The circuit will produce a smooth voltage on the output, even though the rail voltage fluctuates AND even if the current required by the output increases and decreases.
That's why it is called a REGULATOR CIRCUIT.
The current through Ra and Rb is "wasted current" so it does not have to be more than 1mA - enough to turn on the lower NPN transistor.
Ra and Rb form a voltage divider and when the join of the two resistor reaches 0.7v, the lower transistor turns ON.
The lower transistor forms a voltage-divider with the 2k2 to pull the top BC547 transistor DOWN  so the voltage on the output is kept at the "design voltage" (the top transistor is an emitter follower). If the device connected to the output requires more current, the top transistor will not be able to provide it and the output voltage will drop. This will reduce the voltage on the base of the lower transistor and it will turn OFF slightly.
The voltage on the base of the top transistor will rise and since this transistor is an emitter-follower, the emitter will rise too and increase the output voltage to the original "design value."
Regulation is also maintained if the supply decreases (or increases).
If the supply decreases, the voltage on the base of the top transistor will fall and the output voltage will also fall.
The voltage on the base of the lower transistor will also fall and it will turn off slightly.
This will increase the voltage on the base of the top transistor and Vregulated will rise to the design value. Both the supply and the load can change at the same time and the circuit will compensate.
All we have to do is re-draw the circuit as a standard 2-Transistor Regulator as shown in Fig 71bc and you have covered the principle of its operation.


Fig 71bc    
2-Transistor Voltage Regulator



THE TRANSISTOR AS AN AF
AND RF DETECTOR 
A transistor can  be used as a "detector" in a radio circuit. The Detector stage in a radio (such as an AM receiver), is usually a crystal, but can be the base-emitter junction of a transistor.
It detects the slowly rising and falling audio component of an RF signal. This signal is further amplified and delivered to a speaker. A single transistor will perform both "detection" and amplification.
In Fig 71bd, the first transistor provides these two functions and the output is passed to the second transistor via direct-coupling.
The first two transistors provide enormous gain and a very high input impedance for the tuned circuit made up of the 60t aerial coil and 415p tuning capacitor. The signal generated in the "tuned circuit" is prevented from "disappearing out the left end" by the presence of the 10n capacitor as it holds the left end rigid.
 


Fig 71bd    5-TRANSISTOR RADIO

THE COUPLING CAPACITOR

We have shown the coupling capacitor transfers very little energy when it does not get fully discharged during part of the cycle and this means it cannot receive a lot of energy to charge it during the "charging" part of the cycle.
This is a point that has never been discussed in any text books. It is the energy (actually the current - due to the difference in voltage between the two terminals of the capacitor) that flows into the capacitor that creates the flow of energy from one stage to the other. It is the "magnet on the door" analogy described previously.
But the question is:
1. How much energy will a capacitor pass under ideal conditions?
2. How do you work out if a capacitor needs to be: 100n, 1u, 10u or 100u?

Without going into any mathematics, we will explain how to select a capacitor.
Many text books talk about the capacitive reactance of a capacitor.  This is its "resistance" at a particular frequency.
But an audio circuit has a wide range of frequencies and the lowest frequency is generally selected as the capacitor will have the highest resistance at the lowest frequency.
We will select 200Hz as the lowest frequency for an amplifier.

A 100n will have a "resistance" of about 10k at 200Hz
A 1u will have a "resistance" of about 1k at 200Hz
A 10u will have a "resistance" of about 100R at 200Hz
A 100u will have a "resistance" of about 10R at 200Hz


A 100n capacitor at 200Hz is like putting a 10k resistor between one stage and the next.


Fig 71c

A 1u capacitor at 200Hz is like putting a 1k resistor between one stage and the next.


Fig 71d

A 10u capacitor at 200Hz is like putting a 100R resistor between one stage and the next and a 100u capacitor at 200Hz is like putting a 10R resistor between one stage and the next.
In other words, the resistor transfers the same amount of energy as the capacitor but the capacitor separates the DC voltages  - the capacitor allows the naturally-occurring voltages to be maintained.


Fig 71e
The capacitive reactance of the 100u ranges from 10R to less
than 1R (depending on the frequency being processed).

In Fig 71d you can see the "resistance" of a capacitor is very small compared to the LOAD resistance (the main component that determines the amount of energy that can be transferred from one stage to another and the impedance of the receiving stage - the component that determines the discharging of the capacitor). The "resistance" of a capacitor decreases as the frequency increases.
Thus the "capacitive reactance" of a capacitor has very little effect on the transfer of energy from one stage to the next (when it is correctly selected). The major problem is not discharging the capacitor. It only transfers the maximum amount of energy when it is completely discharged.
When it is completely discharged, it acts like a "zero-ohm" resistor during its initial charging-cycle. This is called INRUSH CURRENT and can be ENORMOUS.  This is the "plop" you hear from some amplifiers when they are turned ON.  It is also the inrush current to a power supply. To reduce this enormous in-rush current, a small-value resistor is included in series with the input of the electrolytic(s) in the circuit (or power supply).

Let's go over this again:
The transfer of energy from one stage to another depends on 3 things:
1. The value of the LOAD resistor of the first stage. This resistor charges the capacitor. Its resistance  should be as low as possible to transfer the maximum energy.
2. The value of the capacitor. It should be as high as possible to transfer the maximum energy.
3. The value of the input impedance of the receiving stage. It should be as low as possible to discharge the capacitor.


Let's take a 100n capacitor:
In the following circuit, a 100n capacitor separates an electret microphone from the input of a common-emitter stage.


Fig 71f

The waveform on the output of the electret microphone is 20mV p-p (peak-to-peak). This amplitude passes through the 100n capacitor, which we have drawn as a 10k resistor, (to represent the capacitive reactance of the capacitor at 200Hz). The input impedance of the common-emitter amplifier is about 500 ohms to 2k. (500 ohms when the base current is a maximum and 2k when the base current is very small).
The capacitor and the input impedance form a simple voltage-divider, as shown in Fig 71f. When a 20mV signal appears on the input of the voltage divider, the voltage at the join of the two resistors will be about 3.3mV.  This means about 16% of the waveform gets transferred to the base of the transistor. A common-emitter stage will have a gain of about 70, so 3.3mV input will create 230mV output. It's called a "swing" of 230mV or 230mV P-P (peak-to-Peak) or 230mV AC signal.
But most signals have a frequency of about 2kHz and the capacitive reactance of the capacitor will be about 1k. In this case the transfer will be 66% or 13mV and the output of the stage will be nearly 1v.
This is an ideal situation where the capacitor is being fully discharged.
The actual transfer of energy from one stage to another is much more complex than we have described, however you can see it involves the LOAD resistor, the size of the capacitor and the efficiency of discharging the capacitor.
The only way to see the actual result is to view the waveforms on a CRO (Cathode ray Oscilloscope).

INPUT AND OUTPUT IMPEDANCE


Fig 71g

Fig 71g shows each transistor stage has an input and output impedance. This really means an input and output resistance, but because we cannot measure the value with a multimeter, we have to find the value of resistance by measuring other things such as "waveform amplitudes" and then create a value of resistance, we call IMPEDANCE. The values shown are only approximate and apply to transistors called SMALL SIGNAL DEVICES. The values are really just a comparison to show how the different stages "appear" to input and output devices, such as when connecting stages together.
The input impedance of a common-emitter stage ranges from 500R to 2k. This variation depends on the type of transistor and how much the stage is being turned ON. In other words, the amount of current entering the base.
The value of 2k2 for the emitter-follower depends on the current entering the base and it can be increased by 500R to 2k7 to account for the base-emitter "impedance."
These values are all approximate and are just to give an idea of how to describe the various values of impedance.

THE TIME DELAY
Also called the TRANSISTOR TIME DELAY or TIME CONSTANT or RC Delay Circuit or TIMING CIRCUIT.
A Delay Circuit is made with a capacitor and resistor in series.
These are the two components that create the TIME DELAY. No other parts are needed.  When the value of the capacitor and resistor are multiplied together the result is called the TIME CONSTANT and when the capacitor value is in FARADS and resistor in OHMs, the result is SECONDS
To detect when the capacitor has reached about 63% of its final voltage, we need some form of detecting device, such as a transistor.
But the detecting device cannot "steal" any of the current entering the capacitor, otherwise the voltage on the capacitor will never increase or take longer to increase.
We know a transistor requires current for it to operate but a Darlington Pair (or Darlington) requires very little current, so the detecting device must be something like a Darlington.
The transistor plays no part in the timing (or TIME DELAY) of the circuit. It is just a detector.

The main secret behind a good TIME DELAY circuit is to allow the capacitor to charge to a high voltage and use a large timing resistor. This reduces the size of the capacitor (electrolytic) and produces a long time delay.
There are lots of chips (Integrated Circuit)  especially made for timing operations (time delays). Transistors (of the "normal" type - called Bipolar Junction) are not suited for long time delays.
Field Effect Transistors, Programmable Uni Junction transistors and some other types are more suited.
However a normal transistor can be used, as shown in Fig 71h.
The normal detection-point is 63% but you can make the circuit "trigger" at any voltage-level. The value "63%" has been chosen because the voltage on the capacitor is increasing very little (each second) when it is nearly fully charged and waiting for it to reach 65% may take many seconds. Trying to detect an extra 10% or 25% is very hard to do and since it takes a long time for the voltage to rise, the circuit becomes very unreliable and very inaccurate. That's why 63% has been chosen.


Fig 71h

Fig 71h shows a TIME DELAY circuit. This circuit does not wait for the capacitor to charge to 63% but it detects a voltage of 5v1 + 0.7v = 5v8.
The detecting circuit is made up of the 5v1 zener and base-emitter junction of the transistor.
These two components create a high impedance until a voltage of 5v8 because the zener takes no current until its "characteristic voltage" has been reached.
 


Fig 71j

Fig 71j shows a Time Delay Circuit. The 100k is the time delay resistor. The 1M is the "sense resistor" and the the 330k is the voltage divider resistor.
The base of the Darlington transistor detects 1.4v and the 1M/330k produces a voltage divider that requires 3 x 1.4v = 4.2v on the electrolytic. The 1M, 330k and transistor provide a fairly high impedance detecting circuit that does not inhibit the charging of the capacitor.
The circuit requires a supply of 12v.   
 


Fig 71
k

Fig 71k shows two Time Delay Circuits as well as a latching circuit (the 4k7 resistor), a buffer transistor (BD136) and a high frequency filter (the 15n capacitor).
When the circuit is turned ON, the relay is not energised. The signal on the base of the first transistor has any high frequency component removed by the 15n capacitor (see below for the effect of a filter on a signal).
The lower 47u is fully charged via the 1k5 a very short time after the circuit is turned on and the output of the first transistor discharges this electrolytic very quickly when it receives a signal.
This turns ON the BD136 transistor via the 1k resistor and the relay is energised.
The output of the relay is connected to a 4k7 resistor and this resistor takes over from the effect of the first transistor to keep the relay activated.
If the input signal continues, the top 47u starts to charge and after about 2 seconds, the BC557 transistor turns ON and removes the emitter-base voltage on the BD136. This turns the relay OFF

HIGH FREQUENCY "NOISE"
Before we move on to the next phase of this discussion, there is one interesting point that needs covering.
When a circuit has a number of amplifying stages, there is always a possibility of noise being generated in one of the transistors in the "front-end" (the first or second stage in the amplifier) and this is amplified by the stages that follow. This is the case with the Hearing Aid Amplifier in Fig 69.


Fig 69. 

The 330p between the base and collector of the BC557 removes high-frequency noise. If the 330p is removed a 1MHz waveform is generated in the front-end and amplified by the stages that follow. This noise cannot be heard but is visible on a CRO (Cathode Ray Oscilloscope) and causes the circuit to take extra current. The 330p capacitor provides NEGATIVE FEEDBACK to remove the waveform completely.

FILTERS
We have studied circuits that use components to produce NEGATIVE FEEDBACK. The first circuit we studied was the self-biased common-emitter stage. The base-bias resistor provided negative feedback to set the voltage on the collector.
Any component (resistor or capacitor) connected between the output and input of a stage produces NEGATIVE FEEDBACK.
A resistor connected between the output and input produces about the same amount of feedback no matter what frequency is being process by the amplifier.
But a capacitor provides more feedback as the frequency increases. That's because the effective "resistance" of the capacitor decreases as the frequency increases.
This feature can be used to "kill" the amplitude of high frequencies and thus only allow low frequencies to be amplified.
It can also be used to only allow high frequencies to be amplified. When it is used to couple two stages, a low-value capacitor will only allow high frequencies to pass from one stage to the next.
By using a resistor in series with a capacitor, the effect of the capacitor can be controlled.
Using these facts, we can design circuits that will amplify low frequencies or high frequencies. This type of circuit is called a FILTER.
A Filter can be given a number of names. Here are a few:
Active Filter contains a transistor or op-amp in the circuit
High Pass Filter suppresses or rejects the low frequencies  Only the high frequencies appear on the output
Low Pass Filter suppresses or rejects the high frequencies  Only the low frequencies appear on the output
Notch Filter:  A Filter that rejects or suppresses a narrow band of frequencies.


To understand how a filter works, you need to know "HOW A CAPACITOR WORKS."


Fig 72a. 

Fig 72a shows a capacitor with a low-frequency signal entering the left terminal.
The output amplitude from the capacitor in diag
a will be small because the capacitor is able to charge and discharge as the signal rises and falls.
As the frequency of the signal increases, the output increase in amplitude because the capacitor does not have enough time to charge and discharge and thus it does not "absorb" the amplitude of the signal.


Fig 72b. 

Fig 72b shows a capacitor connected between the "signal line" and 0v rail. When a low-frequency signal is on the "line," the capacitor has little effect on attenuating (reducing) the amplitude, as shown in diag a because the capacitor charges and discharges just like pushing a "shock absorber" up and down slowly.
As the frequency of the signal increases, it is reduced in amplitude because the signal is trying to charge and discharge the capacitor very quickly and it takes energy to do this and the energy is coming from the signal.


Fig 72c. 

Fig 72c  Fig a shows a capacitor and resistor connected in series on the "signal line." With a low-frequency signal, the capacitor reduces the amplitude because most of the signal is absorbed by the capacitor charging and discharging.
As the frequency increases (fig b), the output will be reduced by a smaller amount because the capacitor has less time to charge and discharge and less time to "absorb" the signal.
As the frequency is increased further
(fig c), the resistor starts to have an effect on reducing the amplitude because these two components are connected to other components in a circuit and a higher frequency has a higher energy and more of this energy gets lost in the resistor - thus reducing the amplitude slightly. 
In addition, the capacitor is already charging and discharging as quickly as possible and it is transferring as much of the signal as possible. It is only the resistor that is creating the attenuation at high frequencies.
It does not matter if the capacitor or resistor is placed first or last, the attenuation is the same.


Fig 72d. 

Fig 72d   Fig a shows a capacitor and resistor connected in series between the "signal line" and 0v rail. With a low-frequency signal the capacitor can charge and discharge and the voltage across it will rise and fall so the effect on the amplitude of the signal is minimal.
The resistor has very little effect on reducing the amplitude.
The top plate of the capacitor rises and falls with the signal and the bottom plate rises and falls very little.

As the frequency increases, the capacitor cannot charge and discharge fast enough and more of the energy of the signal goes into charging and discharging
it. The top plate of the capacitor is rising and falling very quickly and this is making the lower plate rise and fall a small amount.  This puts a small current though the resistor and this has an effect on reducing the amplitude.
The
amplitude of the output is reduced as shown in Fig b.

As the frequency is increased further as shown in diag c, the top plate of the capacitor is rising and falling as fast as it can and the lower plate is rising and falling too.  This puts most of the amplitude-loss in the resistor but the signal is not reduced any more.
It does not matter if the capacitor is above or below the resistor, the attenuation is the same.

Once you have a concept of the way a capacitor reacts to a high and low frequency, you can see how a circuit will pass or prevent (attenuate) a signal.
There are many different types of filters and they are all designed to improve the output of a poor signal, such as removing background "hiss" or "rumble" in audio recordings.
The following two circuits show the effect of adding capacitors and resistors between the output and input:


Fig 72e. 

Fig 72e is a low-pass filter that provides unity voltage gain to all frequencies below 10KHz, but it rejects all frequencies above 10KHz at 12dB per octave.  It is used to remove high frequency noise from audio recordings.


Fig 72f. 

Fig 72f is a high-pass filter that provides unity voltage gain for all frequencies greater than 50Hz. However, it provides 12 dB per octave rejection to all frequencies below 50Hz. It is used to remove low frequency noise from audio recordings.
The transistor is configured as an emitter-follower biased at about half the supply value by the low-impedance junction formed by the top 10k resistor and the lower 10k in parallel with the 10u electrolytic.
Negative feedback applied through the filter network of the 33k and 220n and the 10k and 220n creates an active filter response.

THE "DIGITAL" STAGE - or Digital State
also called the DIGITAL CIRCUIT
All the circuits and stages we have discussed have been amplifiers for audio signals.
However there is another signal that can be processed via an amplifier. It is called a digital signal or "Computer" signal. It is a signal that turns a transistor ON fully or OFF fully.
The simplest example of a digital circuit is a torch. The globe is either ON or OFF. But a torch does not have any transistors. We can simply add a transistor and the circuit becomes DIGITAL CIRCUIT.
A Digital Circuit has 2 STATES: ON and OFF. It is never half-ON or half-OFF.
 
The secret to turning a transistor ON fully is base current. If you supply enough base current the transistor will turn ON FULLY.
The Digital Circuit is the basis of all computers. It produces an outcome of "0" when not active or "1" when active. This is called POSITIVE LOGIC.


Fig 72.

Fig 72. A TORCH is an ON-OFF circuit.
A Digital circuit is an ON-OFF circuit.


Fig 73. 

Fig 73. This is the simplest DIGITAL CIRCUIT. The globe illuminates when the switch is closed.

Two reasons why a Digital Circuit was invented:
1. It produces either "0" or "1" (LOW or HIGH) and these are accurate values. By combining millions of "digital circuits" we can produce counting and this is the basis of a computer.
2. When a circuit is OFF, it consumes no power.  When a circuit is fully ON the transistor also consumes the least power. This is because the globe is illuminated brightly and the transistor remains cool - as it has the lowest voltage across it.
The "ON"   "OFF" states are called LOGIC STATES or DIGITAL STATES and when two transistors are put together in a circuit with "cross-coupling" they alternately flash one globe then the other. 


Fig 74.

Fig 74. This circuit is called a FLIP FLOP or ASTABLE MULTIVIBRATOR.
(AY-STABLE - meaning not stable)
 

THE TRANSISTOR AS A SWITCH
Using a transistor as a switch is exactly the same as using it in DIGITAL MODE or in a DIGITAL CIRCUIT or in a LATCH CIRCUIT or any other circuit where the transistor changes from OFF state to ON state VERY QUICKLY.
A transistor in this type of circuit is called a SWITCHING TRANSISTOR and it may be an ordinary audio transistor but it is called a switching transistor when used in a switching circuit.
The two Darlington transistors in Fig 74 are SWITCHING TRANSISTORS and the circuit is an ASTABLE MULTIVIBRATOR.
One of the most common circuits is used to activate a relay. A relay must be turned ON or OFF. It cannot be half-on or half-off. The transistor changes from OFF to ON very quickly. It is called a switching transistor.
All transistors used in a DIGITAL CIRCUIT are switching transistors. DIGITAL CIRCUITS or DIGITAL LINES are either HIGH or LOW.
When a digital transistor is turned ON (saturated) the output is LOW.  When a digital transistor is OFF the output is HIGH. The output is taken from the collector of a common-emitter stage.
This is called two MODES of operation. ON and OFF.
Any circuit that operates in TWO MODES is called a DIGITAL CIRCUIT.
 

DRIVING A RELAY
Any circuit that drives (powers) a relay is essentially a DIGITAL CIRCUIT. Sometimes the driving circuit can gradually turn ON and when the collector current is sufficient, the relay pulls-in.
When the collector current falls to a lower value, the relay drops-out.
We like to think of the driver stage as a digital stage so that we guarantee the relay will pull-in and drop-out.
Here's an important feature that has never been mentioned before:
A relay must pull in quickly and firmly so the contacts close with as much pressure as possible. This prevents arcing when closing and opening and ensures a long life for the relay.
That's why the driver circuit should be an ON-OFF or DIGITAL design.
The following circuits are NOT high-speed, but will activate a relay successfully.


Fig 74a.

Circuit A activates the relay when light falls on the LDR. The level of illumination can be adjusted by the 10k pot.
Circuit B activates the relay when the illumination reduces. The level can be adjusted by the 10k pot.
Circuit C
is an emitter follower and although it works in a similar way to circuit B, the voltage on the collector is less than 12v by about 1v and this creates extra loss and added temperature-rise in the transistor.

LATCH CIRCUIT


Fig 75.  Latch Circuit

Fig 75. This circuit is a LATCH. The two transistors instantly change from the OFF state to the ON state.
This is also classified as a DIGITAL CIRCUIT.


Fig 75a.  Latch Circuit

Fig 75a. This circuit is a LATCH. The two transistors instantly change from the OFF state to the ON state when the input voltage rises above 0.6v
The 22k POSITIVE FEEDBACK resistor keeps the circuit ON when the input voltage is removed.
The 6v supply must be removed to turn the LED off.


Fig 76.  Touch Switch

Fig 76. This is a circuit of a TOUCH SWITCH. Touching the "ON" pads turns ON the second and third transistors as they are a SUPER-ALPHA PAIR or DARLINGTON arrangement and have a very high input impedance and very high gain. The output of this pair goes to a PNP transistor that amplifies the 5mA current from the Darlington to deliver 250mA to the globe.
A feedback line from output to input via a 4M7 keeps the circuit ON when your finger is removed and provides a "Keep-ON" voltage (and current).
The first transistor removes this
"Keep-ON" voltage and current when a finger is placed on the OFF pads. .

How can you tell a DIGITAL CIRCUIT from an ANALOGUE CIRCUIT?
1. Absence of capacitors.
There are NO capacitors in a DIGITAL CIRCUIT.
2.
A switch or push-button will be activating the circuit.
3.
The circuit will be driving a DIGITAL or ON - OFF item such as a relay or globe.

The two states of a transistor in a DIGITAL CIRCUIT are: OFF - called "CUT-OFF"  and ON - called "'SATURATION."
To saturate a transistor the base current is simply increased until the transistor cannot turn on any more. In this state the collector-emitter voltage is very small and the transistor can pass the highest current and the losses (in the transistor) are the lowest.


Fig 77. 

Fig 77. This circuit has only two states. ON and OFF. The ON button turns off the first transistor so the second transistor turns the globe ON.
This is called a TOGGLE ACTION and the circuit is a BINARY CIRCUIT or BISTABLE CIRCUIT called a BISTABLE SWITCH or a bistable of the MULTIVIBRATOR family (BISTABLE MULTIVIBRATOR).
It can also be called a LATCH as it stores one bit of information and is the basis of a COMPUTER.


Fig 77a. 

Fig 77a. This is part of a counting circuit and since it takes many transistors to create a circuit to count to "2" it is not practical to make it using discrete components. That's why INTEGRATED CIRCUITS were invented where dozens, then hundreds then thousands then millions of transistors are connected to produce counting chips and "bit-storing chips" and many other requirements.

Before we cover our next type of circuit, we will explain a 2-transistor directly-coupled arrangement from Figs 52 and 66. It is interesting as it can be used as a digital circuit or an analogue circuit.


Fig 78. 

Fig 78. Two facts to note:
1. Point "A" never rises above 0.6v as it is connected to the base of the second transistor.
2. When the first transistor is turned ON, the collector-emitter voltage is 0.3v and the second transistor is OFF - this is because the base of the second transistor needs 0.6v to turn ON.
In other words, when one transistor is ON the other is OFF. There is a very brief change-over point where the first transistor turns ON a little more and the second transistor turns OFF a very large amount. If you can find and maintain this change-over point, the two transistors will work in analogue mode with high gain but if you pass this point very quickly, the two transistors will operate as a switch in DIGITAL MODE.
We can turn this circuit into a DIGITAL CIRCUIT. The secret to doing this is FEEDBACK and the name of the circuit is a SCHMITT TRIGGER:.

THE SCHMITT TRIGGER


Fig 79a.  Schmitt Trigger Circuit

Fig 79a. A Schmitt Trigger takes a slowly rising or falling voltage and turns it into a fast-acting ON-OFF signal. The secret is the feedback line shown in red.
The circuit can also be called a
"sinewave-to-squarewave generator."
When the input is LOW the output is LOW.
It is a form of bi-stable multivibrator.
The distance between the lower voltage and the upper voltage (at which the circuit changes state) is called the HYSTERESIS GAP. This can be widened or narrowed via the 1k resistor (the 100k pot needs to be re-adjusted when the 1k is changed).


Fig 79.  Schmitt Trigger Circuit

Fig 79. This circuit takes a slowly rising or falling voltage and turns it into a fast-acting ON-OFF signal to operate a LED or relay.
This is done via the positive feedback line shown in red. It is called positive feedback because it ADDS to the change to speed it up.
This circuit is fully explained in the:
Talking Electronics website CD
 
 


Fig 79aa.  A Schmitt Trigger

Fig 79aa is a Schmitt Trigger made from  NPN and PNP transistors.
As the voltage on the input rises, the first transistor is turned on slightly and a small voltage is developed across the 100k emitter resistor that reduces the "turn-on" effect slightly. This means the input voltage must rise more. As the input voltage rises more, the second transistor starts to turn on and the collector voltage rises. This voltage is passed to the base of the first transistor to assist the input voltage and because the collector voltage of the output transistor rises considerably, it has a large effect on turning ON the first transistor. They turn each other ON until they are both fully turned ON.
The 2M2 has taken over from the 470k and made the base of the input transistor slightly higher. The input voltage has to drop a small amount before the pair will start to turn off.
The circuit has created a small gap between the low and high input voltage (and between the HIGH and LOW input voltages) where the circuit does not change from one state to the other. This gap is called the HYSTERESIS GAP.
The output of the Schmitt Trigger in Fig 79aa is classified as "high impedance" (due to the value of the 100k on the output) and this must be connected to a stage with a high input impedance so the voltage on the output of the Schmitt Trigger is not affected.


Fig 79ab.  The Monostable or
"Pulse Extender."

Fig 79ab. Before we leave the MULTIVIBRATOR family, the third type of Multivibrator is the MONOSTABLE MULTIVIBRATOR.
It is only stable in ONE state. This is called the "rest" state. The other state is "timed" via a capacitor.
The circuit is triggered and it changes to the other stage and a TIMING CAPACITOR C charges via a resistor R (called a TIMING CIRCUIT) and a multiplication of the two produces a value called the time constant.  When it is charged, the circuit drops back to the rest state.
While the output is high, input pulses (trigger pulses) have no effect on the circuit. Also, if the input is triggered and kept high longer than the time constant of C and R, the output will NOT stay high for longer than the time constant.
This circuit is also called a PULSE EXTENDER.

GATES
We have described the transistor as an amplifier and the fact that POSITIVE FEEDBACK can turn a transistor ON more and more, so it changes from: "not-turned-ON" to "fully-turned-ON"  in a very short period of time. When a transistor is operating in this mode, it is said to be in DIGITAL MODE. We saw the effects of DIGITAL MODE in Figs 74, 75, 76, 77 and 78. The advantage of digital mode is the transistor dissipates the least heat in either state.
The transistor can be put into a chip (IC - Integrated Circuit) and used in Digital Mode. When this is done, the transistor is put into a circuit called a GATE. A Gate is simply a BUILDING BLOCK in which the output changes from LOW to HIGH or HIGH to LOW very quickly. The simplest GATES are called AND, OR, NAND, NOR and NOT. In general a GATE operates on a 5v supply and the input has to change from LOW to HIGH or HIGH to LOW very quickly and the output will change from  LOW to HIGH or HIGH to LOW very quickly. You may think the gate is not achieving anything, but most gates have 2 or more inputs and the output is "more powerful" than the input.  The introduction of GATES revolutionised the development of the computer and was the beginning of the DIGITAL AGE.


Fig 79ac. 

Fig 79ac shows AND, OR, NAND, NOR and NOT gates produced with transistors.

"n" indicates any number of inputs. ("n" is an unspecified number.)

We have shown circuits with the load (such as a speaker or LED) above the transistor or below (it cannot be in both places at the same time). The position of the LOAD introduces two new terms:
SINKING AND SOURCING


Fig 79b. 

Fig 79b. When the speaker (LOAD) is placed above the transistor, the circuit is said to be SINKING the current.
 
There is no advantage in one placement over the other. If the load is connected to "chassis" such as a globe in a car, the circuit will need to source the current.


Fig 79c. 

Fig 79c. When the speaker (LOAD) is below the transistor, the circuit is said to be SOURCING the current.
 

INTERFACING
Interfacing simply means: "connecting." 
When a circuit connects a device (such as a microphone), to an amplifier, it is called INTERFACING. The characteristics of the microphone are matched to the input requirements of the amplifier.  Or a relay may need to be connected to the output of an amplifier (that does not have enough current to turn the relay ON).
In most cases, the output of a circuit or a "pick-up" device (sometimes called a TRANSDUCER) does not have enough VOLTAGE or VOLTAGE-SWING or AMPLITUDE to drive the next circuit or device and it needs an amplifier.
That's why we have to add a circuit between.
The circuit we add has a number of names:
When it increases the CURRENT, we call it a BUFFER.
When it matches a high impedance to a low impedance or a low impedance to a high impedance, we call it IMPEDANCE MATCHING.
Or when we need an increase in voltage, it is called an AMPLIFIER.
In ALL "stages" (common-base, common-collector and common-emitter) the current is increased.
Interfacing can be as simple as adding a resistor or capacitor, but this is usually called "connecting" or "coupling".

We have learnt that all devices and circuits have an ability to deliver a "waveform" or "amplitude" or "voltage" and this can be weak or strong according to the amount of current it can deliver.
We have also learnt that this current may be delivered from the load resistor or from the device itself. It does not matter how the current is delivered; the size of the current (the amount of current) is important.

We have also covered the fact that the input to a circuit (or "stage") requires current and when these two are equal, the matching is ideal.
But this rarely happens.
If the input requires more current, the voltage (or voltage-swing) from the previous circuit or device will be reduced. If the input requires less current, the voltage-swing will be affected a very small amount. But in ALL cases the voltage-swing will be reduced - because you ARE supplying SOME energy to the stage that follows.

Interfacing is not easy.
You have to know the output voltage of the device and the current it can supply.
The current it can supply is related to its OUTPUT IMPEDANCE.
OUTPUT IMPEDANCE basically means its output resistance.  A low resistance or LOW IMPEDANCE means it is capable of delivering a HIGH CURRENT. A high-impedance device cannot deliver very much current. A stage with a high output impedance cannot deliver very much current.
All these terms are relative. When we say: "cannot deliver much current" the value of current can be less than 1uA or 50mA.  It depends on the circuit we are discussing and if you are working with low-current circuits or power circuits.
We have also learnt that the input impedance of a stage can be high or low and the voltage-swing it will accept can be small or large.  (for instance, an emitter follower stage will accept a large input voltage).
This gives us a wide range of values (parameters) that may need to be joined together - INTERFACED.
In some cases the output voltage of a device or circuit will be HIGH and by connecting a capacitor between the two stages, the output voltage will be "absorbed" in the capacitor and the energy from the output stage will be transferred. The "energy" is a combination of the voltage-swing and the current. 
But if the output voltage is very small, we may need to amplify it to deliver a high voltage to a device.

This is the case in the following requirement.
A piezo diaphragm or electret microphone is required to be interfaced to the input of a microcontroller.
The output of these devices is about 10mV and the input of a microcontroller requires about 3.5v (3,500mV).
This involves an amplification (gain, amplification factor) of 10:3500 = 350 and requires two stages of amplification.
The output of a piezo and microphone are classified as high impedance and the input of a microntroller is also high impedance.
This means the two amplifying stages can be low-current stages (also called high-impedance stages) and the load resistors can be high-value (about 22k - 100k).
The following two circuits have been designed for this application:


Fig 79d. 

Fig 79d. In this circuit the first transistor is self-biased and the 2M2 base bias resistor turns the transistor ON and the voltage on the collector is only about 1.8v.
This means the collector has to drop by only 1.2v for the second transistor to turn off and the 100k will produce 5v on the input to the microcontroller.
If the transistor has a gain of 100, the electret mic or piezo has to produce a 12mV signal to activate the circuit.
When the load resistor is increased to 100k, the collector has about 850mV on it, and it only has to drop 300mV for the signal to enter the microcontroller. This makes the 100k load resistor produce a more-sensitive circuit. When no audio is being detected, the output of the second stage is 0v.


Fig 79e. 


Fig 79e
. This circuit
has been taken from Fig 71acc. It is a bootstrap circuit and produces a very clever "switch."
The circuit sits with the first transistor turned ON and the second turned OFF as can be seen in the first line at the top of the output waveform - up to the red dot. When a signal is picked up by the microphone (this is the red dot on the waveform),
a negative-going signal of about 100mV will turn the transistor off slightly and the second transistor will turn ON. The 4u7 will be "pulled down" and completely take over from the signal from the microphone. It will turn the first transistor off more and the second transistor will be turned ON more. This will continue until both have completely changed states.
They will stay like this until the 4u7 is charged in the opposite direction and the base of the first transistor sees 0.7v. This causes the second transistor to turn off and the 4u7 rises and turns the first transistor ON more. The 4u7 gets slowly discharged and the circuit remains in this state.
The circuit produces a very clean output every time it detects audio.
The duration of the low in the graph can be shortened by reducing the value of the electrolytic.
 


Fig 79f

Fig 79f  interfaces a phase-shift oscillator (see Fig 90) to a speaker. This is a very difficult thing to do as the phase-shift oscillator has an output that is very close to rail-to-rail and any loading of the output will cause it to stop working.
In an attempt to interface the oscillator to a speaker we have added an emitter follower transistor and a 1k separating resistor, plus a 100R in series with the speaker. This should give a loading of about 20k and the circuit should work. Otherwise the 10k will have to be reduced or the 100R increased.

ANALOG TO DIGITAL
Many of the circuits we have described convert an ANALOG signal to a  DIGITAL signal.
These are called ANALOG TO DIGITAL CONVERTERS but we have not given them this specific name because we have been concentrating on other features.
We will now cover the concept of Analogue to Digital Conversion.
An ANALOGUE signal rises and falls but doesn't have any defined amplitude or frequency.
This signal cannot be delivered reliably to a circuit that requires a DIGITAL SIGNAL as the amplitude may not be large enough.
A DIGITAL CIRCUIT requires a digital signal and this type of signal is either a constant HIGH or LOW and the amplitude must be very close to rail voltage or almost 0v. And it must change from one state to the other very quickly.
Delivering a high amplitude analogue signal may be recognised by a digital circuit when it reaches a peak or goes to 0v, but this is not guaranteed or reliable.
In addition we may want the signal to be a CONSTANT HIGH when the audio is present.
This is what an ANALOG TO DIGITAL circuit will do. It will produce a constant HIGH when audio is present and ZERO (LOW) when the audio is not present. Or pulses that are nearly rail voltage and very close the 0v.

Recapping:
To convert an analogue signal to a digital signal we need to deliver ZERO OUTPUT (called a LOW output) when the signal has a small amplitude and a HIGH output when the signal has a high amplitude.
To do this we use a common-emitter stage, as it has a high voltage-gain and this is what we need.

There are many ways to convert an Analogue signal to a Digital signal but the basic way is to amplify the signal by a large amplification-factor so the resulting waveform will rise to the voltage of the rail (or even higher). It cannot go higher than rail voltage but you will see what we mean in a moment. 
This is normally called "over-driving" the signal and if this is done in an audio circuit, the result is distortion. But we are not going to listen to the output, so we take advantage of this feature to produce a DIGITAL OUTPUT.


Fig 80a 

Fig 80a shows an analogue signal. It is made up of lots of sine-waves and may be as high as 2v or only a few millivolts. Low-level signals are generally expressed in mV, to make them instantly recognisable and easy to talk about.  In general this type of signal will be too small to be detected by a Digital Circuit. A Digital Circuit needs a signal greater than about 3,500mV so the waveform appears on the input line as a HIGH, during the peak of its excursion. It should be nearly 5,000mV for reliable detection.


Fig 80b. A Digital Circuit will detect a waveform larger than 4.5v as a HIGH and less than 0.5v as a LOW

Fig 80b.  Only the large excursion(s) will be detected by a Digital circuit as the other parts will not rise high enough to be detected. To increase the analogue signal to as much as 5,000mV, an amplifier is needed.


Fig 80c.

The amplifier maybe one or two stages, depending on the amplitude of the original signal.
Each stage of an amplifier will increase the size of the signal about 70 times. If you are very lucky, you may get an amplification of 100x (100 times). Thus a 5mV signal with one stage of amplification will produce a 350mV to 500mV signal. This is not sufficient to be detected by a Digital Stage. Another stage will easily produce a full 5,000mV signal. 
The second stage only needs to amplify the signal about 10 to 12 times and a higher gain simply drives the waveform into "bottoming" and "cut-off" as shown in fig 80c.


Fig 80d.

This means the waveform will be "clipped" at the top and bottom and converted to a fairly "square-ish" shape.
Suppose you have a waveform that is higher than 5mV (say 30 - 50mV) and want to know if it will trigger a Digital Circuit with a single stage of amplification. 
Connect the components as shown in Fig 80d and write a program to illuminate a LED when the waveform is detected. 

 
There is only one problem with the circuit in Fig 80d.
At the end of a whistle or speech, the LED may be illuminated or extinguished. It all depends on the last cycle of the waveform. The circuit sits with the output approx mid-rail and the micro does not know if this is a high or low, and takes the reading by the direction of the last cycle. 
Some of the inputs of a micro are Schmitt Triggered. This means a HIGH has to be 85% to 100% of rail voltage for it to be seen as a HIGH and between 20% and 0% to be seen as a LOW. 
The non-Schmitt Trigger inputs see a LOW as 20% to 0% and a HIGH as above 2v for 5v operation. 
If the last cycle went from zero to mid-rail the micro will see the waveform as a low on Schmitt Trigger inputs and a HIGH on the other inputs. This problem can be overcome by adding a second stage that only produces a LOW when audio is detected. It also increases the amplitude of the audio to guarantee triggering of the Digital Circuit. This is shown in Fig 80e.


Fig 80e.

The second transistor in Fig 80e is called a DIGITAL STAGE. This simply means a biasing resistor is not connected to the base of the second transistor so it turns on fully when a signal greater than 650mV is detected and is turned off at other times. This stage is ideal for a micro or other Digital Stage as only two voltage levels are delivered. Either 0v or rail voltage (5v).The other advantage is it does not take any quiescent (idle) current. 
This stage is only suitable if you are sure you have plenty of "over-voltage" to drive the transistor into saturation. By this we mean you must have at least 1v (1,000mV) drive signal so you can be sure the transistor will turn on (saturate).
The fast rise and fall times means you have a "clean" HIGH and LOW.


Fig 80f.

Fig 80f couples a magnetic pick-up to the amplifying circuit so  the biasing of the first transistor can be determined by the value of the base-bias resistor. The coil cannot be connected directly to the transistor as the low impedance (resistance) of the coil will upset the bias on the base. 
With this arrangement, the descending part of the input waveform of a few millivolts will turn off the transistor, while the ascending part of the waveform will not have any effect.
A coil of wire of any size will be suitable and to make it an effective collector of magnetic flux, it should have a magnetic core such as ferrite. No other impedance-matching is necessary. 

OSCILLATORS
There are over 20 different types of oscillators and many more variations. We cannot cover them all - so we will concentrate on the most often-used and explain how they work.

Oscillators consist of one or two transistors. They start-up by one or more components in the circuit producing "noise" or a spike from the "mains" when the circuit is turned on. Some oscillators will not  start-up if the supply is increased gradually. When a spike or noise is detected, the rest of the circuit amplifies it. In most cases the noise comes from the circuit being turned ON but it can also come from the noise generated within the junction of a transistor. This noise is random and of little use, but it is fed to components such as coils and capacitors as they have the ability to produce a waveform that rises and falls smoothly and this is amplified to produce the output.
When coils, crystals, capacitors and resistor are combined with transistors, many different effects and waveforms can be created and this all comes under the heading of OSCILLATORS. And the circuits are all amplifiers.
An amplifier can be turned into an oscillator by providing POSITIVE FEEDBACK.
The purpose of providing NEGATIVE FEEDBACK is to prevent oscillation. 
The purpose of providing POSITIVE FEEDBACK is to create oscillation. 
Positive feedback is when you take a point that is rising a large amount and pass it to a point that is also rising at the same time but only a small amount.
In other words, the feedback line must be able to help or assist the small-signal line. If it does not assist the small-signal line,  NO oscillation will occur.  
Some oscillators have a name - either after their inventor, by the way they are configured or by the shape of the wave. Some have 5 names. Some have no particular name and are just called Feedback Oscillators (positive feedback).


Fig 80.  A Feedback Oscillator

Fig 80. The 10n capacitor provides the positive feedback to keep the circuit oscillating.
 


Fig 81.  A feedback oscillator

Fig 81. The 10n capacitor provides the positive feedback to keep the circuit oscillating.
 


Fig 82.  The positive feedback line creates the CALL tone



Fig 83. 

Fig 83. When the third transistor is turning OFF, the collector voltage is rising and this is passed to the base of the first transistor, to turn it ON.
This is how the circuit keeps "cycling" or oscillating.

 


Fig 83a.  Globe flashes at 1Hz

Fig 83a. The high-gain amplifier we studied in Fig 66, for example, has negative feedback to prevent oscillation.
By using positive feedback we can turn the high-gain amplifier into an oscillator.
This circuit is simply a high-gain amplifier with both transistors turning ON via the 1k and 100k resistors. This makes the voltage on the collector of the BC557 rise and the 22u and 4k7 passes this rise to the base of the BC547 to turn both transistors ON more and more until they are fully turned ON.
The 22u charges a little more and this reduces the current into the base of the BC547 to turn it off a little. This effect is passed to the collector of the BC557 and the two transistors start to turn OFF. When they are fully turned off, the cycle repeats by the transistors being turned on via the 1k and 100k.


Fig 83aa.  Simple Tone Oscillator

The 2-transistor amplifier we studied in Fig 42 can be changed slightly to drive a speaker. The two common-emitter transistors turn on together and the 22u is "lifted" to turn on the NPN transistor harder.
Both transistors turn on until fully saturated and this puts current though the speaker.
The 22u charges a little more and this reduces the current into the base of the NPN transistors, turning it off a slight amount. The PNP is turned off a small amount and they both keep turning off until fully turned off.
The 10k and 50k start to charge the 22u to repeat the cycle. The 22u produces positive feedback. It can be replaced by values from 100n to 22u to change the frequency of the tone.
 
The two circuits above are examples of LOW IMPEDANCE outputs. If the load (the globe or speaker) is increased above about 47 ohms, the circuit will not work. They simply "lock-ON." This is because the  capacitor (electrolytic) must be pulled down by the load at a very critical point in the cycle. In addition, the 100k "turn-on" (or 50k and pot) resistor must be a very high value. If it is too low, the circuits will "lock-ON."
The critical point is this: When the circuit is fully turned-ON,
the right side of the capacitor is near rail voltage and it is being charged via the bas-emitter junction of the first transistor. As it becomes fully charged, the current into the base of the first transistor reduces slightly and the transistor turns off slightly.  This effect is passed to the second transistor and it turns off slightly too. The right lead of the capacitor drops and this lowers the left lead to turn off the first transistor slightly more. This is the beginning of the "turn-off section" of the cycle.
If the second transistor did not have a very heavy load (low resistance load), the slight turning-off of the two transistors would not lower the capacitor and they would both remain ON.

You can see the importance of FEEDBACK in a circuit. Some circuits will not work without feedback and some will distort. Sometimes the feedback is POSITIVE and sometimes NEGATIVE. The trick to understanding a circuit is to locate the feedback (component or "line") and work out what it is doing.


Fig 83b.  Positive feedback comes from the 22u electrolytic.
This is a very unusual circuit.
Normally the feedback is obvious.

Fig 83b. Here's an oscillator circuit. We know it must have feedback to operate, but where is the feedback?
In this circuit the 4 electrolytics are equivalent to miniature rechargeable batteries.
When the circuit is turned on, they all get charged to a voltage according to the surrounding components but the 22u is the important component. The base of the BC557 sits at 4v and the emitter must rise to 4.6v for the PNP transistor to turn on.
When it does, it turns on the BC547 and this transistor puts a load of 220R across the circuit. This reduces the voltage across the 470k/1M voltage divider and the base if the BC557 sees a lower voltage. During this time the 22u is acting as a miniature supply and maintaining the voltage of 4.6v on the emitter.
The BC547 turns ON more and more and even though the voltage on the 22u drops, the circuit turns ON and this takes more current from the 6v battery and produces a click in the speaker.

THE SQUARE-WAVE OSCILLATOR


Fig 84. 

When two transistors are cross-coupled as shown in Fig 84, you can safely assume the circuit will oscillate. The frequency of oscillation will depend on the value of the components but the oscillator is known as a FREE-RUNNING OSCILLATOR or ASTABLE (ay-stable) MULTIVIBRATOR and the output is a square wave. It will have an equal-mark-space ratio if the components are the same value.
This circuit is also called a FLIP-FLOP.
 


Fig 85. 

Fig 85. By rearranging the components in Fig 84, we can draw the circuit as one common-emitter stage driving another common-emitter stage with a 100u providing positive feedback.
The circuit relies on the power being turned on quickly for it to start up. Both transistors will turn ON but one will turn on faster than the other and prevent the other turning on.
The 100u connected to the turned-on transistor will start to charge in the opposite direction and the second transistor will start to turn ON. This will pull the 100u lower and the first transistor will start to turn OFF. This will continue until both transistors have changed states.


Fig 86. 

Fig 86. Here is the ASTABLE MULTIVIBRATOR with the LEDs in the emitters instead of collectors (as is normal). The frequency of oscillation is approximately 1 second. The 330 ohm resistors set the LED current to 12mA for a 6v supply.


Fig 87. 

Fig 87. The ASTABLE ("ay" - meaning not-stable) MULTIVIBRATOR circuit is rich in harmonics and is ideal for testing amplifier circuits. To find a fault in an amplifier, connect the earth clip to the 0v rail and move through each stage, starting at the speaker. An increase in volume should be heard at each preceding stage. This Injector will also go through the IF stages of radios and FM sound sections in TV's.
 


Fig 88. 

Fig 88. The astable multivibrator can be made with PNP transistors.  
 


Fig 89. 

Fig 89. A circuit can be made with one NPN and one PNP transistor. It ceases to be a FLIP FLOP or Multivibrator as both transistor turn on at the same time and the circuit becomes a Relaxation Oscillator.  
 

THE SINE-WAVE OSCILLATOR -
also called the PHASE-SHIFT OSCILLATOR
A Sine-wave Oscillator can be made with a single transistor. 


Fig 90.  The Sinewave Oscillator

Fig 90. This circuit produces a sinewave very nearly equal to rail voltage.
The important feature is the need for the emitter resistor and 10u bypass electrolytic. It is a most-important feature of the circuit. It provides reliable start-up and guaranteed operation. For 6v operation, the 100k is reduced to 47k.
The three 10n capacitors and two 10k resistors (actually 3) determine the frequency of operation (700Hz).
The 100k and 10k base-bias resistors can be replaced with 2M2 between base and collector.
This type of circuit can be designed to operate from about 10Hz to about 200kHz.


Fig 91. 
 

Fig 91. The phase-shift oscillator has 3 "sections" made up of a 10n capacitor and 10k resistor. This "section" is shown above and each "section" produces a delay or "phase-shift" of about 60° but the total must be 180°. The base and collector of a common-emitter stage are 180° out-of-phase, so the signal entering the base is 360° (IN-PHASE with the output). This creates POSITIVE FEEDBACK.
This concept is very hard to understand so we need to explain it in simple terms.
Points Y and Z are the ends of a long piece of rope and the three resistors are weights tied to the rope.
You shake the rope up and down at Y and Z moves up and down at a later time in the cycle. You know this because you can make a wave travel down a rope. Exactly the same thing happens with a signal that enters at Y. It takes time for the peak to reach Z.
Now consider the circuit at switch-on. The caps are uncharged and the 10k collector resistor pulls the three capacitors high. Taking into account the voltage-dividing effect of the three lower 10k resistors, the collector is possibly at about 2v. The three 10k resistors start to charge the three 10n caps and the voltage on the base falls. This makes the collector voltage rise. This continues until the collector cannot rise any further and the capacitors continue to charge and the voltage on the base drops. The 100k base resistor takes over and starts to discharge the 3rd capacitor and turn the circuit on. The collector voltage drops and the energy in the three capacitors get passed into the base to fully turn the transistor ON.
This all happens in a "sliding motion" that produces a sweeping output called a SINEWAVE. It is a very "delicate" oscillator and any change to the LOAD (10k) may stop its oscillation.

How to read the Graph: Get a ruler and hold it "up and down" on the page (or on the screen) so you view the right-hand edge of the ruler and can only see the word "phase" and "60° "  Now slide the ruler to the right and you will see the graph "A" gradually rising. Keep moving the ruler to the right and you will see graph "B" gradually rising.
This is how you "interpret" the graph and see how graph "B" lags (is behind) graph "A."  If you don't read the graph correctly, it looks like graph "B" is in front of graph "A" - but this is not the case.

THE BLOCKING OSCILLATOR


Fig 92. 

Fig 92a. 

Fig 92b. 

Fig 92. The BLOCKING OSCILLATOR circuit uses a transformer  to produce POSITIVE FEEDBACK to the base.
The circuit starts by Rbias charging Cbb to deliver voltage to the base of the transistor via Rb. The transistor turns on and produces expanding magnetic flux in the primary of the transformer. This flux cuts the turns of the secondary (or feedback) winding and increases the base voltage and CURRENT. The voltage out of the top of the secondary winding is prevented from "disappearing" by Cbb.
The transistor keeps turning ON until it cannot turn on any more. At this point, the current through the primary is a maximum but it is not expanding flux and its effect is not passed to the secondary winding. The base ceases to see its turn-on current and the transistor turns off abruptly. The heavy current through the primary is producing a very strong flux and it collapses, producing a voltage in both windings  of opposite polarity and very high amplitude.

Fig 92a shows the base being "capacitor injected." This saves one capacitor and can produce a higher output. All the values and the transformer needs adjusting for the performance required. The start of each winding is shown with a dot. This assumes the windings are wound in the same direction.

Figs 92b,c shows alternative ways to produce a blocking oscillator.
The difficulty with producing a Blocking Oscillator is getting a suitable transformer.


         
Fig 92c


Fig 93. 

Fig 93. A simple BLOCKING OSCILLATOR circuit can be made with a 10mH inductor and 80 turns of very fine wire wound on top.
The piezo diaphragm reacts to the very high "FLYBACK VOLTAGE" produced by the primary when the transistor turns off. This type of circuit is often used to produce very high voltages. 
 


Fig 94. 

Fig 94. This LED Torch circuit uses the "flyback" voltage of a BLOCKING OSCILLATOR to illuminate a 3.6v super-bright LED from a 1.5v supply.
Note: the 10n capacitor prevents the energy from the feedback winding being lost. All the energy from the feedback goes into the base of the transistor to turn it on hard.


Fig 95. 

Fig 95 shows a Blocking Oscillator producing a regulated 5v from a 1.2v supply.


Fig 96.  2-transistors in
PUSH-PULL - as a Blocking Oscillator circuit

Fig 96a.

Fig 96. A simple extension of the Blocking Oscillator in Fig 92c above, is shown in this diagram. It consists of two BLOCKING OSCILLATOR transistors that are turning each other off. The circuit starts by one transistor being slightly faster than the other. It turns ON and produces magnetic flux that cuts the turns of the other half of the primary winding to increase the voltage from the battery and at the same time it reduces the voltage to the base of the other transistor - because the transistor allows only a very small voltage to appear across the collector-emitter terminals when it is turning ON.  It keeps turning on until it is fully ON.
At this point the flux is no longer expanding and the generated voltage in the winding that supplies the base voltage (and current) ceases. This turns it off a small amount and the magnetic flux starts to collapse and produce voltages in the opposite direction. The voltage (and current) to the base is less than before and this turns the transistor off more. The voltage to the base of the other transistor starts to rise and that transistor takes over. The two transistors operate in PUSH-PULL mode.

To reduce the wasted power in the 220R resistors,
Fig 96a uses Darlington transistors and 2k2 0.5watt resistors. The circuit is used to drive a CFL lamp from a 12v battery.

The difficulty with producing a Blocking Oscillator is getting a suitable transformer. A similar "flyback voltage" can be obtained from an inductor. This will need an oscillator
made up of two transistors to drive the inductor.


Fig 97. 

 
Fig 97.  This circuit is a "Buck Converter" meaning the supply is greater than the voltage of the LED. It will drive one high-power white LED from a 12v supply and is capable of delivering 48mA when R = 5R6 or 90mA when R = 2R2. The LED is much brighter when using this circuit, compared with a series resistor delivering the same current.
But changing R from 5R6 to 2R2 does not double the brightness. It only increases it a small amount.
The inductor consists of 60 turns of 0.25mm wire, on a 15mm length of ferrite rod, 10mm diameter.   Frequency of operation: approx 1MHz. This circuit draws the maximum current for a BC 338.
When the circuit is turned on the 330p gets charged. This turns on the BC547 and keeps the BC338 off. When the 330p is charged the BC547 is not turned on as much and the 2k2 can start to turn on the BC338. It pushes the charge on the 330p into the base of the BC547 to keep it off. The 330p gets discharged by the 330R and the voltage across the *R resistor turns on the BC547 to turn off the BC338. The 1N4148 absorbs the high-voltage flyback pulse. The circuit is only active for a very short period of time and off for a longer period of time. This delivers a small amount of energy to the high powered LED and allows the LED to be connected to a 12v supply (via the circuitry).
   
THE FLYBACK OSCILLATOR


Fig 97a

A flyback oscillator is any oscillator where the transistor turns off quickly and abruptly during part of the cycle and allows the energy (the flux) in an inductor to collapse suddenly to produce a high voltage IN THE OPPOSITE DIRECTION. The circuit in Fig 97a consists of a transformer with a feedback winding of 40 turns. It can be constructed as a piece of test equipment to test transistors, zeners and LEDs.

THE BOOST CIRCUIT or BOOST CONVERTER


Fig 97aa

Any circuit that converts a low voltage to a higher voltage is classified as a BOOST CONVERTER or BOOST CIRCUIT.
Fig 97aa
will drive a super-bright white LED from a 1.5v cell.
The 60 turn inductor is wound on a small ferrite slug 2.6mm dia and 6mm long with 0.25mm wire.
The main difference between this circuit and the two circuits above is the use of a single winding and the feedback to produce oscillation comes from a 1n capacitor driving a high gain amplifier made up of two transistors.
The feedback is actually positive feedback via the 1n and this turns on the two transistors more and more until finally they are fully turned on and no more feedback signal is passed though the 1n. At this point they start to turn off and the signal through the 1n turns them off more and more until they are fully turned off. The 33k turns on the BC557 to start the cycle again.

THE BUCK CONVERTER


Fig 97b

Any circuit that converts a high voltage to a lower voltage is classified as a BUCK CONVERTER.
Fig 97b
will drive a 1watt white LED from a 12v supply and is capable of delivering 300mA. The driver transistor is BD 327 and the inductor is 70 turns of 0.25mm wire wound on the core of a 10mH inductor.  The voltage across the LED is approx 3.3v - 3.5v  The 1R is used to measure the mV across it.  300mV equals 300mA LED current.
The diode MUST be high speed. A non-high-speed diode increases current 50mA.
This circuit is a very good design as it does not put peaks of current though the LED.

MORE OSCILLATORS
The Armstrong, Clapp, Colpitts, Hartley, Wien Bridge and even unknown oscillators like the one below all use capacitors, resistors and coils to create a circuit called a RESONANT CIRCUIT and these two components produce a sinewave when they receive a pulse of energy.


Fig 98.

We are going to lump all these oscillators together as they are variations on a similar design. There are two common oscillators that can be recognised by the layout of the circuit. The Colpitts oscillator has 2 capacitors across the coil with the signal taken from the join or it may have a tuned circuit with the signal taken from the active end. The Hartley Oscillator has a tapped coil and these are difficult to obtain.


 Fig 99.

   
Fig 99a

 
Fig 100. Colpitts Oscillator


Fig 101. Colpitts Oscillator

 

 
Fig 102. Hartley Oscillator


Fig 103. Hartley Oscillator

 

 
Fig 103a. Door Knob Alarm

DOOR-KNOB ALARM
This circuit can be used to detect when someone touches the handle of a door. A loop of bare wire is connected to the point "touch plate" and the project is hung on the door-knob. Anyone touching the metal door-knob will kill the pulses going to the second transistor and it will turn off. This will activate the "high-gain" amplifier/oscillator.
The circuit will also work as a "Touch Plate" as it does not rely on mains hum, as many other circuits do.
The first transistor is a Colpitts Oscillator and the feedback is via the 47p. Explaining the operation of this oscillator could take a page of discussion. We are only going to explain one amazing feature - how the oscillator creates the second half of its cycle. We know how the stage turns on (via the base-bias resistor)  - but how does it turn OFF to create the other half of the waveform. Here's how:
We know that when a transistor turns ON, the collector voltage falls and the emitter voltage rises.
Simply joining these two points with a resistor or capacitor will not produce feedback as one is falling and the other is rising. We need to join two points that are rising AT THE SAME TIME.
The secret comes from the inductor. The 16 turns of wire produces a voltage in the opposite direction when the transistor is turned off.
In the first diagram of fig 103b we see the transistor turned ON and current flows through the coil. The voltage at the bottom of the coil will be slightly lower than the supply voltage. When the transistor is turned off, it is effectively out of the circuit and the current flowing through the coil produces magnetic flux that will collapse very quickly and produce a voltage across the ends of the coil that will be OPPOSITE to the applied voltage. This means the voltage at the bottom of the coil will be HIGHER than rail voltage and we can think of the coil rising above the power rail and producing a voltage 2, 5, 10 or even 100 times higher than the power-rail voltage.
This is the amazing fact about a coil (inductor) and is the secret behind the operation of this circuit.  


Fig 103b.

In circuit 103b, this high voltage is produced at some point in the cycle and it pulls the emitter UP a small amount via the 47p and this turns the transistor OFF. We are not going into what part of the cycle produces the high voltage via the inductor but it DOES. That's how the circuit produces the second part of its cycle. The inductor produces a high voltage that starts to turn off the transistor and this allows the inductor to produce a higher voltage and the transistor is turned off even more. During this time the 47p feedback capacitor is charging and RISING. 


Fig 103c.

Most oscillators are described on the web and you can decide which type you need for your particular application.

OSCILLATOR SUMMARY
Look for a TUNED CIRCUIT and feedback line. It will be an oscillator.
Most have a high-impedance output and must be connected to a circuit that will not "load" them (and reduce the amplitude of the output) or prevent them oscillating.  But some oscillators have a very low output impedance and can drive a low-impedance device. You have to be aware of these features.


IMPEDANCE MATCHING
Every electronic component has a value of resistance. You can measure this value with a multimeter. But sometimes the value changes according to the light it receives, the frequency it is operating-at, or the voltage it is connected-to, or the sound it receives, or its temperature or many other influences.
Sometimes the output from a circuit might be 2v, but if you put a low-impedance device such as a speaker on the output, it "kills" the sound.
Or you may have a nearly flat 9v battery. It measures 5v with a multimeter but when you connect a 3v motor, it does not work.
These are both examples of poor IMPEDANCE MATCHING - yes, the battery has a HIGH Impedance and that's why it cannot deliver the current required by the motor.

What is IMPEDANCE MATCHING?

Impedance Matching is is connecting two items together so: "THEY WORK."

Some devices PRODUCE or DELIVER a signal or a voltage or a current.
Some devices ACCEPT a signal or voltage or current.
We need to connect these types of devices together.

Let's start with those that DELIVER:
An amplifier may be able to produce an output of 2v, but when a low-impedance device (low resistance device) such as a speaker is connected, it cannot deliver the CURRENT needed to drive the speaker. The same with a flat 9v battery. It cannot deliver the CURRENT needed to drive a 3v motor.
You cannot "test" or measure the output capability of a device. You must connect it to the input of the project you are designing and measure the waveform or voltage being delivered (or transferred).
If the voltage or waveform is considerably less than when it is not connected, you have decide if the attenuation (reduction) is acceptable. The ideal situation is NO attenuation - but in nearly all cases you will get some attenuation.

There are no "rules to follow" and every case is different. However when the output of a device is NOT reduced when it is connected to a circuit, the two items are said to be IMPEDANCE MATCHED.

There are three ways to "Match Impedances:"
1. via a resistor. This is generally a poor way to match impedances and is very inefficient. But it may be the only way to connect two devices.
2. via a capacitor. This can be a very good way to match impedances.
3. via a transformer. Generally the most efficient way to match impedances but requires a lot of calculation and expense in getting the transformer designed and manufactured.

Impedance Matching can also be referred to as "MATCHING" and the simplest example is connecting a 6v globe to a 12v battery. This is called "Resistance Matching" or "Current Matching" or "Voltage Matching" because the resistance, voltage and current are known quantities.
[To connect a 6v globe to a 12v battery you can use a resistor or put two 6v globes in series. Using a resistor will be very difficult because a globe requires about 6 times normal current to allow it to start illuminating and then it takes the "rated current."] 
 But when when a device produces a signal; the voltage, resistance and current changes during the production of the signal and because these values are not constant, we use the term IMPEDANCE MATCHING.
Impedance really means "resistance that changes during the production of the waveform."

Impedance matching can be worked out mathematically, but you need to know all the parameters of the device and the circuit you are connecting together. This is rarely possible to obtain.
Rather than calculate the result, it is much easier and more-accurate to connect the two items and view the result on a CRO (Cathode ray Oscilloscope). But if you cannot do this, simply connect them and listen or view the output from a speaker, relay or LED etc.
    
We have already studied "Impedance Matching" in the circuits above, but did not identify the concept.
We will now go over some of the circuits and show where impedance matching took place:


Fig 6

In Fig 6, the transistor matches the HIGH IMPEDANCE of your finger to the LOW IMPEDANCE needed to turn on the LED.
The transistor converts the 50k resistance of your finger to less than 0.5k (due to the gain or amplification of the transistor of about 100 -200). 
You can also say it matches the HIGH RESISTANCE of your finger to the LOW RESISTANCE needed to turn on the LED.


Fig 64

In Fig 64, the transistor matches the LOW IMPEDANCE of the speaker to produce a HIGH IMPEDANCE output on the "out" terminals, suitable for delivering to the input of an amplifier.
The transistor converts the 8 ohms of the speaker to more than 800 ohms (possibly 1600 ohms) due to the gain or amplification of the transistor (about 100-200) and at the same time the 0.5mV produced by the speaker is amplified to about 40mV to 80mV. 
 


Fig 71f

The 100n capacitor in Fig 71f  matches the impedance of the electret microphone to the input impedance of the transistor.
The impedance of the electret mic is about the same as the input impedance of the transistor but the mic needs about 0.5mA to operate and the voltage on the base of the transistor needs to be very accurately set for "self bias."
A capacitor separates these slightly different DC values while passing the AC signal..

  Fig 71e

Sometimes Impedance Matching is needed to separate or remove the DC component of a signal. In Fig 71e, the electrolytic matches the LOW IMPEDANCE output of the amplifier to the LOW IMPEDANCE of the speaker. The two impedances are almost identical and you could connect the speaker directly to the output of the amplifier, but the output has a voltage of approx mid-rail and this would enter the speaker and shift the cone when no audio is being reproduced. And the speaker would only be able to amplify the negative part of the waveform.
To remove the DC component of the waveform, an electrolytic is included.

SATURATING A TRANSISTOR
This is the last topic for discussion because it is the last thing to attend to when designing a circuit.
We have explained the fact that a transistor turns ON when the base voltage is above 0.7v and the current though the collector-emitter leads is approximately 100 times the base current.
This means a transistor with a gain of 100 will deliver 100mA to a collector LOAD when 1mA enters the base.
This is theoretically true and will occur in nearly all cases, but some devices such as motors and globes need a lot more current to get them started or to get them to turn ON because the cold resistance of a globe is only about 1/5 its hot resistance. This means a 100mA globe needs 500mA to get it to start to glow.
The same with a motor. The starting or "stalled current" is 5 times more than the operating or "running current.
On top of this the transistor might not have a gain of 100 and the voltage may be slightly higher than expected. All these things means the transistor must be turned ON with more than 1mA into the base.
If you deliver 2mA, it does not mean the transistor will deliver 200mA to a LOAD. If the load requires 100mA, delivering 2mA to the base will simply turn the transistor ON harder and the collector-emitter voltage will be slightly lower, but the load will still draw (or take) 100mA.
But the devices we mentioned above require 500mA to get them started, so the base current needs to be 5mA.
Now, here's the unfortunate part, 5mA base-current will not deliver 500mA collector current. The transistor needs more than 5mA base-current to get it to deliver this HIGHER current. It needs about 7mA.

This process can be proven by experimentation.
Simply increase the base current until the device is turned ON, then measure the base current. Add 1mA to 3mA to guarantee reliability and the circuit is complete.
This process is called SATURATING A TRANSISTOR or GUARANTEEING TURN-ON, or FULLY SATURATING the TRANSISTOR or FULLY TURNING the TRANSISTOR ON.

HYSTERESIS
Hysteresis is a feature of a circuit. It is when the circuit turns on at a particular voltage and turns off when a higher or lower voltage is reached. The gap between these two voltage-levels is called the HYSTERESIS GAP.
This is a very handy feature.
It prevents an effect called "hunting."
If a circuit turns on at say 6v, and turns off at 5.7v, any slight variation in the supply voltage will cause the output to change state. This may produce an undesirable effect of the circuit turning "on and off" at the wrong time due to supply voltage fluctuations. By increasing the gap between these two voltages, the circuit will remain in one state or the other - until the input voltage (the controlling voltage) increases or decreases.
The Schmitt Trigger (Fig 79a) is an example of a circuit using Hysteresis.
Any circuit with a positive feedback line, introduces the effect we are talking about.
The feedback line has the effect of assisting the input voltage.
In other words, it widens the gap between an ON state and an OFF state. 
This is called POSITIVE FEEDBACK because it ADDS to the effect of the input voltage.
Even when the input voltage is falling, the feedback improves the ON or OFF state by taking the circuit past the point where the change takes place. 
Rather than thinking of the feedback as "positive," consider it as AIDING.
All HYSTERESIS feedback is AIDING or ASSISTING the effect you are trying to produce. 
 
This circuit uses Hysteresis. The main "assisting component" is the 22k.


Fig 103cc

This is how the circuit works:
When the circuit is turned on, the base of the second transistor gradually develops 0.6v and the transistor turns ON.
The voltage between collector and emitter is about 0.2v and the third transistor is OFF.
When the first transistor receives an AC signal, an increasing voltage on the base causes the collector voltage to reduce and the charged 4u7 electrolytic moves towards the 0v rail. The negative lead of the 4u7 goes below the 0v rail by about 0.6v.
This allows the second diode to discharge the 10u electrolytic and the 0.6v on the base of the second transistor is reduced. Let's say it is reduced to 0.55v.
This causes the second transistor to turn off and the positive lead of the 1u electrolytic rises toward the 12v rail. The negative lead of the 1u rises too and this makes the transistor turn ON. In this process the 1u starts to charge and it has the effect of slowing down the "turning ON" of the second transistor.
But the pulses keep coming from the first transistor and 10u is kept discharged. The 1u keeps charging and eventually it is fully charged and now the pulses from the first transistor can finally turn off the second transistor.
The third transistor is turned ON and the 22k connected to the collector of the third transistor reduces the voltage on the base of the second transistor by about 0.15v
This helps the pulses from the first transistor to keep or put a low voltage on the base of the second transistor and even if these pulses stop, the voltage on the base will take time to rise via the 15k and this is called the HYSTERESIS GAP.
When the circuit changes state, the pulses from the first transistor will discharge the 10u and this will be "fighting against" the 15k and 22k resistors that will be trying to charge the 10u.

VOLTAGE TO CURRENT CONVERTER
This sounds very complex but it is very simple.
The simplest voltage-to-current component is a resistor.
A resistor performs lots of different jobs, depending on the circuit.
One of its jobs limits the current to a LED. It is called a CURRENT LIMITING RESISTOR. It can also be called a VOLTAGE TO CURRENT CONVERTER.
Here's how it works:


Fig 103d.
A resistor is a VOLTAGE TO CURRENT CONVERTER

A red LED must be delivered a voltage of exactly 1.7v for it to work. In other words it must be connected to a 1.7v supply.
But a 1.7v supply is very hard to obtain, so we use a 3v supply and a dropper resistor.
The resistor converts the 3v to 1.7v.
This is easy to understand because the 3v supply is fixed at 3v and when a voltage is delivered to the red LED it develops exactly 1.7v across it. The resistor sits between the 3v and 1.7v
When the voltage of the supply is increased, The voltage across the LED remains at 1.7v and the voltage across the resistor increases. This is shown in the diagrams above.
When the voltage across a resistor increases, the current through it increases. That's how we get 3mA, 7mA and 10mA. This is called VOLTAGE TO CURRENT CONVERSION.
The VOLTAGE on the input goes up and down and the CURRENT through the LED goes up and down.
The input CURRENT will also go up and down but we are only covering the fact that the input VOLTAGE rises and falls and the output CURRENT RISES and falls.
Any circuit that produces this effect is called a VOLTAGE TO CURRENT CONVERTER.
A transistor can also be connected to produce VOLTAGE TO CURRENT CONVERSION.
The following circuit is an emitter-follower. It is also a VOLTAGE TO CURRENT CONVERTER.  A rising and falling voltage on the input creates a rising and falling CURRENT on the output.
It also produces a rising and falling voltage on the output but we are only concerned with the fact that the circuit produces a rising and falling CURRENT on the output when the input VOLTAGE rises and falls.


Fig 103e.
An emitter-follower is a VOLTAGE TO CURRENT CONVERTER

The circuit in Fig103e requires say 1mA input current. The output current will be 100mA. The circuit has the capability of increasing the current or AMPLIFYING the current. The resistor circuit above does not AMPLIFY the current. It is only a voltage-to-current converter.
The transistor performs a VOLTAGE TO CURRENT CONVERSION and also produces CURRENT AMPLIFICATION.
A common-emitter stage also performs VOLTAGE TO CURRENT CONVERSION.


Fig 103f.

A common-emitter stage is a VOLTAGE TO CURRENT CONVERTER

A slight increase in the voltage on the base of a common emitter transistor will increase the current through the load by a large amount.
As you can see, there are lots of circuits that perform VOLTAGE TO CURRENT CONVERSION but we usually identify them for other features and that's why the term VOLTAGE TO CURRENT CONVERSION is rarely mentioned.
There are also special circuits (using op-amps) to perform precision voltage-to-current conversion, but we are concentrating on transistor stages.

 
 
CURRENT TO VOLTAGE CONVERTER
A resistor can be used as a CURRENT TO VOLTAGE CONVERTER.
Fig 103g
shows a resistor called a SENSE RESISTOR.
It is a low-value resistor in series with one line of a circuit and its function is not to change the operation of the circuit in any way.


Fig 103g.  Measuring the "sense resistor"

Its function is to produce a very small voltage across it and this voltage is detected by a circuit (basically a voltmeter (or milli voltmeter).
When a current flows though a resistor, a voltage is produced across the resistor. You can also say a VOLTAGE DROP is produced across the resistor. If the resistor is exactly 1 ohm, a voltage of 1v will be produced across it when 1 amp is flowing or 1mV is produced for each 1mA of current. Using a 1 ohm resistor produces an easy conversion.
If the circuit is 24v or 50v, a loss of 1 volt will not be noticed.
But if the circuit has a lower voltage, (say 5v) the resistor will be need to be a lower value so the drop across the sense resistor does not upset the operation of the circuit.
The actual value of the resistor is not important for this discussion, It can be 1 ohm or 0.1 ohm.
The important point is to understand the function of a Sense Resistor.
In the circuit above, if the globe is replaced by a 20watt or 50watt, globe, the current through the sense resistor will increase. We measure the voltage (in millivolts) across the resistor and we convert the value into CURRENT.  This is a CURRENT to VOLTAGE CONVERSION.
A transistor can be used as a CURRENT TO VOLTAGE detector. Fig 103h shows a 1 ohm sense resistor connected to a transistor. When the circuit is turned ON, the charging current (the current flowing into the battery) will be high and when the voltage across the sense resistor reaches 0.65v, the transistor turns ON and the voltage on the collector reduces. This turns on the red LED and reduces the voltage on the ADJ terminal of the LM317T regulator and the regulator outputs a lower current to the batter. This is how the circuit limits the charging current. The resistor is converting the current flowing through the circuit (and into the battery) into a voltage, and the transistor detects the voltage. The transistor is not detecting or measuring the current. It has absolutely no idea of the amount of current flowing. It is detecting the voltage across the resistor. The resistor is performing the CURRENT to VOLTAGE conversion.


Fig 103h.  The 1ohm Sense Resistor.

SQUEALING, BUZZING, OSCILLATING,
and MOTOR-BOATING
We have studied POSITIVE FEEDBACK and the effect it produces.  It turns an amplifier into an oscillator.
The following circuit will not work:


Fig 104a.

The three stages of amplification will produce so much gain that the circuit will self-oscillate. The output will be a "buzzing-sound" and the fault will be impossible to find because it comes from within the design of the circuit. The first thing you must do is add "power-supply decoupling."
The unwanted sound produced by the circuit is called MOTOR-BOATING and is generated in the "front-end" by very small noises or "disturbances" and amplified by the stages that follow.
Fig 104b shows where the noise starts. It can be produced by the electret microphone or by the noise in the junctions of the first transistor (due to current flowing in the collector-emitter circuit).



Fig 104b.

This waveform will be very small and almost impossible to detect via any test-equipment, but it will start in the first stage and pass through the coupling capacitor as shown in Fig 104c.
The next stage will amplify this "noise" and it will be amplified further by the following stages.
There will be some slight cancellations from the various stages as the signal will be "out-of-'phase" but the end result will be a "putt-putt-putt" or squealing from the output.
The general term for this is called MOTOR-BOATING and is due to the high gain of the circuit.
The noise will appear on the power rail and get passed to the front-end where it will be amplified more.



Fig 104c. The positive feedback loop producing "Motor-boating"

This effect can be reduce and eliminated by a term called DECOUPLING.
Decoupling is achieved by adding capacitors [electrolytics] (and resistors) across the power rails so that each stage is effectively powered by a separate supply.
Adding an electrolytic can sometimes make a big difference and sometimes it will make no difference.
It all depends where it is connected and the value.



Fig 104d.

Fig 104d shows an electrolytic connected across the power rails. This is called DECOUPLING THE POWER RAILS and effectively tightens up the power rails so that any noise on the positive rail is removed. 
But, as you can see, the power rails extend to the first transistor and although the rails may be "tight" near the battery they can "move" near the first stage.
This is due to the wiring between the stages or the tracks on the PC board. That's why an electrolytic across the battery may have little effect on removing our motor-boating problem. 



Fig 104e.

Fig 104e shows an electrolytic connected across the supply that feeds the electret microphone and 1k2 resistor to separate the supply we have just created, from the main supply rail.
We have effectively created a separate power supply. It is fed by a 1k2 and kept "tight" by the 10u capacitor.
The electrolytic does not have to be a high value because the electret mic takes very little current and the voltage-waveform (the AC signal) produced by the microphone is very small (about 20mV).
These two items very effectively decouple the microphone from the supply rails so the microphone has its own supply. The 1k2 resistor does most of the "separation." The voltage-drop across it will be very small and it will not affect the operation of the circuit, but the small voltage-drop will prevent any noise on the power rails being fed to the microphone via the 10k resistor.



Fig 104f.

To remove any slight motor-boating problems (if they still exist); a power-supply filter (called power-supply decoupling) made up of a 1k2 and 10u can be placed after the first amplifier stage as shown in Fig 104f.
By selecting the value of capacitance and resistance, this arrangement will remove almost all motor-boating problems. It is a very-effective form of suppression.
Decoupling is most-effective on the pre-amplifier stages, however every circuit is different and these two components only deal with the low-frequency motor-boating type of instability. Some circuits also produce high-frequency oscillations (about 1MHz) and these need removing by a different value of capacitor-feedback.

BREAKDOWN and ZENER MODE
There are two conditions or states where a transistor can be instantly damaged. This is due to voltage applied in the wrong direction or the application of voltage that is higher than the rating of the transistor.
Voltage will kill a transistor faster than excess current.
A high voltage spike can damage a transistor instantly.
However if the excess voltage does not have enough current to damage the transistor, it will recover and we can use this feature in a circuit.
Breakdown and zener mode are different.
In breakdown mode, suppose we have a transistor that has a specification of 85v for the voltage it will withstand between the collector and emitter as shown in Fig 104g:

It will  "resist" a voltage of 85v and this voltage will appear across the collector-emitter leads. When the voltage increases to 86v, 87v ... the transistor will suddenly breakdown and only a few volts will appear across it. This fires the trigger transformer in the circuit above.
If the current is very small, the transistor will not be damaged and when the voltage is removed and a lower voltage applied, it will operate as an undamaged device. 
 

In zener mode, the base-emitter junction is connected to a voltage higher than 9v via a resistor. The junction will breakdown and a voltage of about 7v will appear across the base-emitter leads and the excess voltage will be dropped across the resistor.
The zener-effect or zener mode can be used to produce white noise or a 7v zener reference. Fig 104h shows the first transistor with the base-emitter junction reverse-biased to produce a "noisy zener" via the 1M feeder resistor. The noise is picked off via the 100n and amplified by the remainder of the circuit.
 

TRANSISTOR TESTER

This circuit is basically a high gain amplifier with feedback that causes the LED to flash at a rate determined by the 10u and 330k resistor.
Remove one of the transistors and insert the unknown transistor. When it is NPN with the pins as shown in the photo, the LED will flash.
The circuit will also test PNP transistors. To turn the unit off, remove one of the transistors.


ZENER TESTER
The maximum voltage a transistor can withstand is called the ZENER VOLTAGE of the transistor.
It is Vce - the voltage between (across) collector and emitter.  It is also the maximum supply voltage or circuit voltage or the voltage generated by an inductor in the collector-circuit and can be tested via the following circuit. This circuit will also test ZENER DIODES and LEDs.



TRANSISTOR and ZENER TESTER CIRCUIT

The circuit is a flyback oscillator. This type of oscillator energises an inductor then turns off very quickly and the magnetic field (flux) produced by the inductor collapses and produces a very high voltage in the opposite direction. The maximum voltage produced by the circuit depends on the "maximum voltage capability" of the transistor.
The voltage produced by the inductor is over 120v but the transistor will zener at a voltage lower than this and thus the output voltage will be determined by the characteristic of the transistor.
A diode on the output of the inductor passes this high-voltage-spike to a 1u electrolytic, which stores the energy and provides a high voltage output.
The circuit will test transistors up to 120v and zeners up to the voltage produced by the transistor.
The project is built on a strip of PC board cut into lands with a file or saw.  The following diagrams shows the parts placement and connecting the 5 button cells to the board.
The project can be built in an evening and added to your TEST EQUIPMENT.

TESTING A TRANSISTOR
When testing a transistor, fit it into the pins marked C B E. If you have a LED connected to the LED terminals, it will glow.
If you remove the LED and measure the voltage across the 1u electrolytic, it will provide the maximum working voltage for the transistor.
 
TESTING A ZENER
When testing a zener, place it in the pins provided. If the zener is around the wrong way, the voltage across it will be less than 1v.
When it is placed correctly,
you can read the zener voltage with a high impedance multimeter such as a digital meter.

TESTING A LED
When testing a LED, fit it into the pins for the LED with the cathode lead (the shorter lead) to the left. It will glow very dim because the dropper resistor is very high and only allows 4 - 6mA to flow.
This will give you a good idea of the relative brightness of a LED when compared to others in a batch.


THE TRANSISTOR & ZENER REGULATOR
A transistor can be used to amplify the characteristics of a zener. You can also say the transistor is a BUFFER or EMITTER-FOLLOWER. It is another example of the transistor as an AMPLIFIER - a DC AMPLIFIER - indicating it amplifies the "steady-state" conditions provided by a zener diode.
We will start with the simple Zener Regulator circuit, then add the transistor amplifier. After that, we will remove the zener and add another transistor to improve the smoothness of the output waveform.

A simple zener regulator circuit is very wasteful however it is the basis for creating a stable output voltage from a voltage that may be rising and falling a considerable amount.
The following circuit shows a simple zener regulator:


A Zener Regulator Circuit

A Zener Regulator Circuit consists of a zener and a resistor. The resistor is called a Dropper Resistor and it is designed to limit the CURRENT. It is not designed to limit the VOLTAGE. The zener diode performs the task of limiting or SETTING the voltage on the output. 
The current through the Dropper Resistor will be shared between the zener diode and the LOAD (on the output of the circuit). These two items may or may not share the current equally, and the amount of share will depend on the value of the LOAD. We can also say the Dropper Resistor is a CURRENT LIMITER. If is is not included, a 12v zener connected to a 15v supply would draw (or take) a very high current and "burn out." 

Here's the important fact about the current-sharing between the zener and load:
Suppose the SUPPLY VOLTAGE is fixed.
Here's an example of how the zener diode works:
Suppose we select a resistor so that 100mA flows through the zener when no load is present. Fig (a)
When the load takes 50mA, the zener takes 50mA. Fig (b)
When the load takes 90mA, the zener takes 10mA. Fig (c)
When the load takes 100mA the zener takes 0mA.   Fig (d)


Current-sharing between the zener and output

Up to this point the circuit works perfectly. Even though the zener takes 0mA, the circuit is operating perfectly and the output is smooth. If the load tries to take 101mA, the output voltage will DROP.
This is point at which the circuit is said to FALL OUT OF REGULATION.
The load (the OUTPUT) can take more the 102mA and the output voltage will drop further, but we are interested in the range where the output voltage is STABLE (fixed).
In this example, the current though the Dropper Resistor is ALWAYS 100mA. The current is then split (or shared) between the zener diode and the LOAD.
This feature is always the case with a zener diode regulator.
100mA is always flowing though the Dropper Resistor and if the load is taking only 10mA, this type of regulator is very inefficient.
When the supply rises, the current though the Dropper Resistor will increase. When the Supply falls, the current through the Dropper Resistor will decrease. During this time the output voltage of the circuit will remain constant providing the current though the zener is always at least a few mA and the maximum value does not allow the zener to get too hot. If the zener gets too hot it may fail.

The efficiency of the ZENER REGULATOR can be improved by adding a transistor. The transistor is an amplifier. A CURRENT AMPLIFIER. (also called a DC amplifier)
This type of circuit is sometimes called a SUPER ZENER or AMPLIFIED ZENER. The transistor is connected as an emitter-follower as shown in the following diagram:


An emitter-follower transistor

If the transistor has an amplification-factor of 50, it will require 2mA (into the base) for each 100mA delivered to the output.
This means our Zener Regulator only needs to deliver 2mA and the output can deliver 100mA. The emitter-follower transistor must be a POWER TRANSISTOR.
Here are some examples from 100mA to 2Amp:


The transistor has a gain of 50

In the circuits above, the output current can range from 100mA to 2Amp. The zener will pass 48mA when the load is 100mA and drop to 10mA when the load is 2Amp.

If the output requirement is only from 500mA to 1Amp, the value of the dropper resistor can be changed so the zener takes 20mA when 500mA output current is required and 10mA when 1 amp is required.  

When designing this type of circuit, the zener is allowed to take 10mA when the maximum current is required. The 10mA is about the minimum current for a 12v (300mW to 500mW) zener to keep it in conduction. The actual minimum value depends on the wattage of the zener and also its voltage. You will need to look at the specification sheet for the zener you are using.

The term "keep it in conduction" means this: Suppose we have a 12v zener and dropper resistor connected in series.  As the voltage (the SUPPLY VOLTAGE) on the combination is reduced, the current through the zener reduces. If you supply the combination with 11.5v, the zener will "fall out of conduction" and it will appear like a very high value resistor or even an infinite resistance. 
In the transistor / zener regulator circuit above, if the current taken by the load increases above 1Amp, the current into the base increases and when it reaches 30mA, the zener receives NO CURRENT.
Any further increase in current by the load causes more current to flow through the Dropper Resistor and the voltage across this resistor will increase. This will lower the voltage on the base and also lower the voltage on the emitter. At this point the zener has dropped out of regulation.

If the transistor has a gain of 50, the maximum output current is divided by 50 and this gives the base current of 20mA.
Add 20mA to 10mA to obtain the current through the Dropper Resistor.
The value of resistance for the Dropper Resistor is obtained by the formula:

Suppose the supply is 15v and the zener is 12v . The value of the Dropper Resistor is:

The output voltage is 0.7v less than the voltage of the zener.
The following diagram shows an example of the voltages on a typical regulator circuit:


The voltages on the regulator circuit

SUMMARY
A power transistor can be used to amplify the characteristics of a zener. That's what the circuit above is doing.
The circuit is sometimes drawn as shown in the following diagram. It is more difficult to see exactly how the circuit is operating, but this is how it is drawn in many projects. By drawing the circuit as shown above, you can see the voltages on each section of the circuit and you can't make a mistake. One "circuit engineer" said the output was 1.2v above the input voltage.  But when you draw the circuit as suggested, you can clearly see this is not possible.
That's why the layout of the circuit is MOST IMPORTANT.


The regulator circuit re-drawn

IMPROVING THE SMOOTHNESS OF THE OUTPUT
The quality of the output (meaning the smoothness of the output) of a regulator - also called the smoothness of a POWER SUPPLY - can be improved by adding a transistor that detects any increase or decrease in the the output voltage and produces an opposing signal to counteract the rise or fall. The end result is very smooth DC.
The action of this transistor is called NEGATIVE FEEDBACK
In the regulator circuit above (and the circuit with the transistor amplifier), the output is not being monitored and if the zener is noisy, (in other words it breaks down in an irregular mode and creates ripple) there is no feature to detect the changes, and reduce them.

The following circuit uses a transistor to detect the output voltage and provide a feedback signal (feedback voltage) that will eliminate the ripple. It is called a FEEDBACK SIGNAL or simply FEEDBACK.
The zener diode can be removed and two resistors used to monitor the output voltage with the voltage at their join being passed to the feedback transistor.
The base-emitter voltage of the transistor replaces the zener diode as a "reference" and the transistor turns into a zener diode with the "zener reference" appearing between the collector and emitter.

The following circuit shows the feedback transistor replaces the zener diode in the circuit above and two VOLTAGE DIVIDER resistors on the output are connected to the base of the feedback transistor.

When the circuit turns ON, the output voltage rises until the voltage at the join of the resistors reaches 0.65v. The feedback transistor starts to turn ON and prevents the base of the emitter-follower transistor rising above 12v. This creates an output voltage of 11.3v.
Any reduction in the output voltage will turn off the feedback transistor a very small amount and it will allow the voltage on the base of the emitter-follower transistor to rise and this will increases the output voltage.
The feedback transistor is also called an ELECTRONIC FILTER.
It has an effect equal to the gain of the transistor (approx 100) on smoothing the output.


THE TRANSISTOR AS A LOAD
This might seem an unusual topic but many circuits use a transistor as a LOAD or VARIABLE LOAD or partial load (in conjunction with a LOAD RESISTOR) to dissipate (remove - take away) power -  to prevent another item (such as battery) being overcharged or a delicate device getting too hot.
We are talking about wasting energy or losing energy in the form of heat to prevent another item in a circuit getting too hot.
A power transistor such as 2N 3055 is ideal for this purpose however there are smaller power transistors for smaller losses.
We use the gain (amplification factor) of the transistor to provide this feature and by controlling the base current, the current though the collector-emitter terminals can be adjusted. In most cases the transistor is in series with a LOAD RESISTOR and the two items can be adjusted to remove unwanted energy.
In addition, the percentage dissipated by the transistor compared to the load resistor depends on the base current of the transistor.
This is quite a complex topic as the losses can be adjusted to any percentage, irrespective of the supply voltage.

This is sometimes called an ELECTRONIC LOAD or ACTIVE LOAD because the effectiveness in dissipating heat can be controlled by current entering the base of the transistor.
A POWER RESISTOR (by itself) is called A DUMMY LOAD or STATIC LOAD. It's dissipation is fixed (providing the voltage of the supply is fixed).
Our discussion introduces a variable dissipation, controlled by the base current of a transistor.
This is another example of a transistor being used as an amplifier. The current into the base is amplified by the transistor to produce a current through the collector-emitter leads.
This current also flows through a LOAD RESISTOR and the resistor increases in temperature.
The loss in the transistor and resistor is calculated in terms of watts and when this is extended over a period of time, the result is energy - watt-hours. This energy is given off as heat instead of raising the temperature of a critical component in a circuit.

The following diagram shows the heat dissipated in the transistor when maximum, medium and low current flows into the base of the transistor:

When maximum base current is supplied to the transistor, it is turned ON fully and only about 10% of the total wattage is lost in the transistor. This means the total wattage of the load can be very high.
As the current is reduced, the wattage dissipated in the transistor increases to about 50%, then drops off.
The following diagram shows a large wattage will be dissipated in the resistor (and very little via the transistor) when maximum current is supplied to the base of the transistor, but as the base current is reduced, the size of the load must also be reduced because more of the load is dissipated in the transistor (and the transistor is the limiting factor).

It is impossible to work out the "load sharing" between the transistor and resistor for any given base current because transistors from different batches have considerably different characteristics.
The diagrams we have provided show percentages but not the base current required to create the load sharing.
Even simulation software will produce false data as the actual characteristics of the transistor you are using will be unknown.
R
ather than spending time on trying to work out the probable results via a software package, it is much easier to build the circuit and apply current to the base.
As you apply current into the base, you can monitor the current through the load via an ammeter and provided the transistor is correctly heatsinked, it will not overheat.
A 2N3055 will dissipate 115 watts using a very large heatsink. This gives a starting-point for the maximum wattage for the system.
When the transistor is turned on so it dissipates the same wattage as the resistor, the total losses for the system can be as high as 230 watts, but when the transistor is fully turned on, the system can handle about 1,0000 watts.
However the transistor must change very quickly from a state where it is not turned to a fully turned-on-state. (If not, the transistor will be damaged very quickly if it becomes partially turned on.)
In the fully-turned-ON state, the transistor is fully saturated and is dissipating only about 10% of the total load and the resistor is dissipating about 90%.

These are all points to understand when designing an ACTIVE LOAD.


THE TRANSISTOR AS AN INVERTER
A transistor can be configured as an inverter - to change a signal (that moves from LOW to HIGH) into a signal that changes from HIGH to LOW.
This type of circuit can be used to transform a 0-5v signal into a 0-9v signal. This is called VOLTAGE SHIFTING or LEVEL SHIFTING. In this case, a LOW to HIGH (0-5v) signal is converted to a "HIGH to LOW" (0-9v) signal. The output changes when the base sees a voltage between 0.55v and 0.7v. The remaining input voltage is dropped across the base resistor.  The output voltage will be initially HIGH and go LOW as soon as the input voltage reaches about 0.7v.


5v to 15v Inverter

A non-inversion circuit is shown in the following diagrams:


5v to 15v Non-Inverter

The following circuit does not work because the second transistor is never turned off. Both transistors MUST be connected to the high voltage rail.


This circuit does not work

The following circuit converts a signal that starts as 5v HIGH and goes LOW. During this signal transition, the output start with a LOW value and goes HIGH.


5v -  0v Inverter that produces 0v -  5v Output

The following circuit is a Push-Pull Inverter:


Push-Pull Inverter

All the circuits above convert an analogue signal or A DIGITAL SIGNAL into a digital signal. This is due to the gain of the transistor. In other words the output does not respond in a linear manner, (to the input voltage). The output changes when the input moves from a voltage of about 0.55v to about 0.7v.  Input voltages below 0.55v have no effect and voltage above 0.7v do not affect the circuit as the circuit has already changed state.
One other characteristic of the circuit is this: It speeds up the waveform and removes noise from a noisy signal.

ADDING A TRANSFORMER
One of the most complex electrical/electronic components is the TRANSFORMER. It is the simplest component and yet it produces the most complex effects. A transformer is simply a coil of wire placed near another coil of wire. The results and effects will amaze you.
There are so many different effects, we could write an eBook.
In fact we will write a chapter on the subject, but firstly we will cover 5 things:
1. A single coil of wire is not a transformer but an inductor.
Without going into any complex mathematics, here is a fact you should know:
When an inductor is connected to a battery, the current does not flow though the turns immediately, but a few microseconds or milliseconds later. This is called CURRENT LAG. Don't ask why, it's just a fact.
But the most amazing thing is this: When the voltage is removed, the inductor produces a HIGHER output voltage IN THE REVERSE DIRECTION.
If the coil is wound on a cardboard former, the core (the centre of the coil) is air and the voltage (the reverse voltage) produced, may be twice the supply voltage. But if the core is steel or other magnetic material such as iron (stalloy) or ferrite (a special type of iron) the reverse voltage may be 100 times HIGHER or even 1,000 times HIGHER.
That's why a simple coil of wire is one of the most amazing things.
We can control the magnitude of this reverse voltage by adjusting the frequency and/or the speed at which we turn the voltage OFF.
Even though the inductor is not called a transformer, we are "transforming" a low voltage into a high voltage.
We are not getting "something for nothing."  Conservation of energy still applies. We are transforming a low voltage at high current into a high voltage at low current. The watts IN equals the watts OUT.
When we add another winding, the two coils become a TRANSFORMER.
The first winding is called the PRIMARY and the second winding is called the SECONDARY.
We drive a transformer in a slightly different way to an inductor.
We deliver a rising and falling voltage to it slowly. This is called an AC delivery and although the letters "AC" mean Alternating Current, we really mean Alternating Voltage.
When we deliver a slowly rising and falling voltage, the primary does not produce the high reverse voltage discussed above but it does produce a reverse voltage that can be as high as 99.99% of the applied voltage. But this is getting away from the point we want to cover.
The secondary winding produces an exact copy of the voltage flowing into the primary and if you measure it on a piece of test equipment, it will follow the primary exactly (but slightly delayed). If you reverse the leads to the test equipment, the results will be a "mirror image." That's how we get a reverse voltage out of the transformer.
Here's the next valuable fact: The voltage from the secondary will be higher if the secondary has more turns or lower if the secondary has fewer turns than the primary.
If it has more turns, the transformer is called a STEP-UP transformer and if it has less turns the transformer is called a STEP-DOWN transformer.
Here's our last amazing fact:
If the secondary has less turns, the current from the secondary can be higher than the current in the primary. But if the secondary has more turns, the current from the secondary will be less than the current in the primary.
With all these facts and capabilities, we can do incredible things with a transformer.
We forgot to mention one of the most beneficial uses for a transformer. The voltage on the primary is totally isolated from the secondary. In other words, the primary may have 110v or 230v on it and the secondary may have 12v.  You can touch either lead of the 12v winding and any metal pipe and not get a shock. The transformer provides total isolation. But if you touch either end of the primary winding and a metal pipe you will be killed instantly.
That's one of the main uses for a transformer - to provide isolation from the "mains." The energy passes from the primary winding to the secondary via magnetic flux and the two windings are ISOLATED and INSULATED from each other.
A transformer can be smaller that a grain of rice to the size of a house and there are millions of different types.  That's why they are so complex.

As soon as the eBook article is written, it will be included HERE.

A transformer is a complex item. It takes up a lot of space on a PC board and is expensive to make.
It is not added without a reason and a lot of thought.
Here are 8 reasons why a transformer is included in a project
1. To produce a voltage higher than the supply,
2. To produce a very low voltage,
3. To produce a high current,
4. To produce a sinewave wave,
5. To mix two different signals or frequencies,
6. To produce a feedback signal,
7. To produce a number of different, isolated voltages (and/or current),
8. To produce isolation.     And many other reasons.

Driving a transformer is not like delivering current to a resistive load.
The primary winding of a transformer has a very small resistance but when it is delivered an increasing voltage, the magnetic flux (produced by the voltage) creates a voltage in the opposite direction that cuts the turns of the winding and this voltage opposes the incoming voltage.
This effectively makes the winding appear to be a higher resistance.  When a transformer is delivering energy via the secondary winding, the "back-voltage" produced by the magnetic flux will be less and the input current (via the primary) will be higher.
A transformer is designed to receive an increasing and decreasing voltage. During this time it can deliver energy to the secondary.
But when the voltage rises and remains HIGH, the opposing voltage produced by the expanding magnetic flux ceases and input current increases considerably.  

DESIGNING A TRANSFORMER
Designing a transformer is very difficult and complex. The easy approach is to buy a product that contains a circuit similar to your requirement and use the transformer.
It is very difficult to take a transformer apart as the laminations or the ferrite core is dipped or glued or sealed so the windings do not move.
In some cases you can buy laminations or ferrite cores (called pot cores) but there are many different types of materials and unless you know the composition of the material, the resulting transformer can be as low as 10% successful.
The other problem with taking a transformer apart is this:
Many transformers have an air-gap in the magnetic circuit to "remove" or "use-up" the magnetic flux created by the DC component of the input current.
If this air-gap is not maintained in its exact thickness,  the new transformer will not be identical in performance to the original.
A transformer without an air gap must have "lapped surfaces" so the two halves of the core touch each other.
All these technicalities will be covered in the eBook. 

THE POTENTIOMETER
A potentiometer is simply a resistor with the resistance-material exposed to a wiper.
The resistance-material is called a TRACK and it can be straight or curved. When the track is curved, we generally call it a "pot" (abbreviation for potentiometer) and the pot is rotated to increase or decrease the resistance. When the track is straight we call it a 10-turn pot. And a screw is available on the end of the pot.  Straight tracks are also available in pots called SLIDERS. All pot have the same symbol.
In most cases a pot is connected to a circuit with a resistor on one end or on the centre terminal (the "wiper") as shown in the following diagrams:

STOP RESISTOR and SAFETY RESISTOR
A resistor added to the top or bottom of the pot is called a stop resistor. It stops the pot reaching full rail voltage or 0v. A safety resistor is added to the wiper so the pot is not damaged when turned fully clockwise and the resistance of the output is low.
Fig A above shows a pot with no external resistors. The voltage on the wiper can be as high as rail voltage or as low as 0v.
Fig B shows a pot with a resistor to positive rail and one to 0v rail. The voltage on the wiper will not be as high as rail voltage or as low as 0v. By selecting a pot with a particular value and resistors for the top and bottom, maximum and minimum voltages can be set.
Fig C shows a pot with a top resistor. This sets a maximum voltage, while the minimum will be 0v.
Fig D shows a pot with a bottom resistor. This sets a minimum voltage, while the maximum will be rail voltage.
Fig E shows a pot with a resistor on the wiper. The allows the voltage on the wiper to be as high as rail voltage or as low as 0v. The resistor is called a "safety resistor." It prevents the pot being damaged if the output becomes shorted as shown in the last diagram.
If the pot in the last diagram is turned fully clockwise, the wiper will each rail voltage. If the wiper is connected to a low resistance, a high current will flow and damage the pot.
A "safety resistor" will reduce the high current.  

There are three reasons why a pot is included in a circuit.
1. To "pick off" a voltage.
2. To deliver a current
3. To "pick off" an amplitude.

"PICKING OFF" A VOLTAGE
The following diagrams show a pot "picking off" a voltage. The pot values have not been shown because we are dealing with the concept of picking off a voltage.
In actual fact the pot will be delivering a current (via the wiper) to the circuit connected to the wiper, but to separate the functions of a pot, we have identified this function as PICKING OFF A VOLTAGE.
The main difference between Picking Off A Voltage and Delivering A Current, is the value of the pot.
The resistance of a pot for
Picking Off A Voltage is generally a high value. The term "HIGH VALUE" is relative to the situation.
In Figs F and G you can see the SAFETY RESISTOR and STOP RESISTORS.
The wiper in figure F picks off a voltage from the pot. The pot is the load resistor for the MEL12 Photo Darlington Transistor and although it is delivering a small current to the base of the transistor, this current is very low and that's why we refer to the pot as "picking off a voltage."
The safety resistor in Fig F could be replaced with a stop resistor above the pot.
This change can be done in some circuits and you have to build the circuit to determine if the change can be made.   

 POT RESISTANCE
The resistance of a pot is selected from one of the following values:  100R, 500R, 1k,  5k,  10k,  50k 100k, 1M and  2M.  
In most cases you will copy a circuit and use the same value for the pot.
Working out the value is quite a complex task.
Here are three different circuits. The voltage on the top and bottom of the pot is the same, but the value of the resistances is different.
The first circuit is classified as LOW IMPEDANCE. The second is MEDIUM IMPEDANCE and the third is HIGH IMPEDANCE.

The output from each pot will range from 3v to 6v. So, why different values of resistors?
The reason is to keep the current through the pot as low as possible.
The current through the resistors is WASTED CURRENT. If a project is battery operated, wasted current is a problem.
The resistance of the load on the wiper also determines the value of the pot.
Let's look at a 10k load connected to the wiper:

The voltage on the top and bottom of the pot changes when a load is added.
In circuit A, the voltage reduces a small amount as the 10k load has little effect on the low- value resistance of the pot and resistors.
In circuit B, the 10k load has a larger effect on the voltages.
In circuit C the 10k load has a major effect on the voltages.

This means it is necessary to choose values that are acceptable for minimum current through the pot as well as creating the required voltage on the top of the pot.  

TRIM POT
A trim pot is simply a pot without a shaft. It usually has a screw-driver slot and is adjusted once in the life of a circuit. It is usually small in size and can be any resistance value to suit the circuit.
It can be connected as the only pot in a circuit or used in conjunction with an ordinary pot to set a particular value or "setting."
It is identified in a circuit as follows:


TRIM POTS can be used to trim the value of a POT
 

THE VOX - Voice Operated Switch
Basically, a VOX circuit is a very high gain amplifier that detects faint sounds and turns on a relay.
Here are a number of voice-operated (sound operated) circuits that turn on a relay or activate a device.
In general, a VOX circuit keeps the relay activated for a short time between sounds so the device remains constantly illuminated or activated.

The first circuit is a CLAP SWITCH. The LED illuminates for 15 seconds after the sound of a clap. For full details of the circuit see Fig 71acd.

 
CLAP SWITCH USING PIEZO DIAPHRAGM PICK-UP

The circuit above takes about 20uA when "sitting around." That's because the piezo diaphragm does not require any current.
The same circuit can use an electret microphone for the input but the idle current rises to 200uA.


CLAP SWITCH USING ELECTRET MICROPHONE

Both circuits detect a clap but neither will detect faint noises or talking.
The circuits do not keep the LED illuminated constantly but only illuminate for 10 - 15 seconds and turn off for 10 - 15 seconds.

This circuit toggles the LEDs each time it detects a clap or tap or short whistle. 


CLAP SWITCH TOGGLES THE 2 LEDS

The second 10u is charged via the 5k6 and 33k and when a sound is detected, the negative excursion of the waveform takes the positive end of the 10u towards the 0v rail. The negative end of the 10u will actually go below 0v and this will pull the two 1N4148 diodes so the anode ends will have near to zero volts on them.
As the voltage drops, the transistor in the bi-stable circuit that is turned on, will have 0.6v on the base while the transistor that is turned off, will have zero volts on the base. As the anodes of the two signal diode are brought lower, the transistor that is turned on, will begin to turn off and the other transistor will begin to turn on via its 100u and 47k. As it begins to turn on, the transistor that was originally turned on will get less "turn-on" from its 100u and 47k and thus the two switch over very quickly. The collector of the third transistor can be taken to a buffer transistor to operate a relay or other device. 


The next VOX circuit activates a relay when audio is detected by the microphone. The relay is kept activated for 5 seconds after a silent period, by the 22u, to keep the relay fully activated during normal speech. The circuit takes 0.5mA when "sitting around."


SENSITIVE VOX CIRCUIT
(Good design - circuit takes 0.5mA.  Circuit keeps electro charged)

The circuit above is the best design as it uses the least number of components and drives a relay.

The next circuit comes from Engineers Garage website. It uses fewer components but takes more current (about 6mA) in the quiescent mode and does not have any delay to hold the relay ON:


A 6v VOX CIRCUIT - no delay
(Not a good design - circuit takes 6mA)

The following two circuits detect audio and keep the LED illuminated for about 5 seconds. The delay is proved by the 100u capacitor on the output. The output is normally HIGH and goes LOW when audio is detected.
The LED shows the condition of the output. It is removed when you add the circuit to a project.
This circuit is the 12v version. Quiescent current (idle current) is 0.5mA.


12v VOX CIRCUIT
(Good design - circuit takes 0.5mA. Circuit keeps 100u discharged)

The following circuit is similar to the above. It is the 3v to 6v version. These two circuits detect the slightest whisper. Quiescent current (idle current) is 0.25mA.


3v to 6v VOX CIRCUIT
(Good design - circuit takes 0.25mA. Circuit keeps 100u discharged) 

The addition of the diode in the 3v circuit is needed to discharge the 22u so that it produces its "full effect" to saturate the output transistor when required. It is not needed in the 12v circuit as the base-emitter junction of the output transistor "zeners" at about 5v and this helps to partially discharge the 22u. But when only 3v supply is present, the 22u has a maximum of only a few volt on it and none of its voltage will be removed. The output transistor is turned on when the middle transistor turns off. The 27k pulls the 22u high and if it is discharged, it pulls the base of the third transistor "up" and turns on the LED. During this time it gets charged slightly and this charging current flows via the base of the third transistor to turn it on.
When the second transistor turns on, the 22u effectively "drops down" and the voltage across it (say 2v) will take the negative lead of the electro BELOW the 0v rail of the circuit. As soon as the negative lead is 0.7v below the 0v rail, the diode comes onto action.
As far as the diode is concerned, it sees a voltage of +0.7v on the anode lead with respect to the cathode lead and current will flow through it to discharge the electro. If the diode is removed, it would take a voltage of about -5v on the electro before it is discharged via the base-emitter junction of the transistor.


The 22u is discharged via the diode

The next circuit is designed by electroschematic.com.  It is not a good design.
The circuit takes 14mA when sitting around and the 470u electro only needs to charge by about 0.5v before the circuit changes state. This uses only a fraction of the possible time delay for a 470u capacitor if the circuit is designed to charge it to a higher voltage before changing state.


12v VOX CIRCUIT
(Not a good design - circuit takes 12mA )

Here is the circuit re-designed to take less quiescent current (0.5mA) and provide a longer delay with 100u electrolytic (20 seconds).


12v VOX CIRCUIT 
(Good design - circuit takes 0.5mA.)

The next circuit can be Voice Operated or activated by a Video signal.

The circuit activates a relay when an audio or composite video signal is delivered to the input. This allows you to use the tuner built into your VCR to turn on and off older TVs that are not equipped with a remote. It can also be used to activate surround-sound equipment, turn off room lights, turn on video game consoles, etc.  
When power is applied, the first transistor is not turned on and the second transistor gets turned on via the 10k resistor. This prevents the third transistor turning ON and the relay is not energised.
When an audio or video signal is delivered to the input, the first transistor turns ON and this turns OFF the second transistor. The third transistor gets turned ON via the 1k and diode after the 1u gets charged a small amount.
When the input signal ceases, the first transistor turns OFF and this turns ON the second transistor. The third transistor no longer gets base current via the diode but the 1u holds a small amount of energy and this is delivered to the base to keep the relay active for a short period of time. After this the transistor turns OFF and the relay is de-energised.

The next circuit is a little over-complex and could be improved.
Here are some suggestions:
1. The 10u from the microphone can be as low as 100n without any decrease in performance.
2. The 10k to the base of the first transistor should be a higher value to increase the input impedance of the first stage.
3. The 100u on the emitter of the first transistor can be replaced with a link.
4. The third transistor has a gain of 10. This can be increased by reducing the 1k.
5. The 22k and the two diodes can be removed and the circuit re-designed as shown above. 
6. The 4u7 on the base of the 4th transistor is only charging to 0.7v.  The delay section needs to be on the third transistor as shown above in the 12v VOX Circuit and the fourth transistor should be a driver transistor.

 
This circuit can be improved

VOX TOGGLE
This clever circuit turns on a motor with a short whistle and turns the motor off with a long whistle. It's a toggle arrangement.


VOX TOGGLE CIRCUIT
Short tone = ON   Long tone = OFF

The circuit allows a whistle to turn an appliance ON and OFF by sending a short whistle to turn a circuit ON and a long whistle to turn a circuit OFF.
This is handy when you cannot see the result of your operation. A simple toggle operation is not suitable as you do not know the state of the output at the start of the operation.
By sending a long
whistle, you definitely know the output will be OFF and you can then control the output remotely.
A short
whistle is less than 0.25 sec and a long whistle can be any length longer than 1 second.
These times can be adjusted by changing the value of the components.
When a short
whistle is received, the lower 47u discharges and pulls the base of the BD136 towards the 0v rail and turns the transistor ON. This activates the relay and the contacts take the 4k7 to the 0v rail to keep the transistor ON.
During this time the top 47u charges via the 100k but not enough voltage appears across it to turn on the BC557 transistor.
If the
whistle appears for a long period of time, the top 47u charges and turns on the BC557 and the voltage between the emitter/collector terminals is less than 0.3v. This voltage is too low for the BD136 to remain on and it turns off.
When the
whistle stops, the BC557 remains on for 1 second and then turns off.
The circuit is then ready to be activated again.

VOICE OPERATED LATCH
The following circuit latches a LED ON when sound is detected. It can be used to confirm a certain level of sound has been reached or exceeded during an event.


Sound makes LED stay ON

The electret mic and first transistor are active when the circuit is "waiting for a sound" and the 3rd and fourth transistors are biased OFF due to the 1M and 100k voltage-dividing resistors putting a voltage of between 0.27v and 0.54v on the base of the second transistor.  This voltage is not high enough to turn the transistor ON. But the voltage helps to turn the circuit ON when audio is detected and makes it very sensitive. 
You can see a poorly designed VOX latch circuit (Called Puff to OFF LED) in our Spot The Mistake eBook. These poorly-designed circuits show you how NOT to design a circuit and are just as informative as a good design.
 

ANALOGUE and DIGITAL mode
Now that we have covered more than 100 different circuits, you can see each transistor in a circuit is operating in either analogue or digital mode.
Sometimes it is easy to see the mode of operation.
If a transistor is not taking any current, then gets turned on (hard or fairly hard) it is operating in DIGITAL MODE.
If it is turned on with the collector at or about mid-rail voltage, it is in ANALOGUE MODE.
Understanding these two modes is very important because a transistor in digital mode wastes the least energy. However it cannot amplify a signal that has an amplitude less than 0.6v. It can only amplify a signal that is greater than about 0.7v.
That's why some circuits need both types of stages.
A well-designed circuit takes the least current in quiescent mode.
We have also shown how one stage transfers energy to the next stage via a capacitor. But a capacitor creates losses.
Direct-coupling transfers more energy and has no loss.
When designing a circuit it is best to refer to the circuits covered in this eBook, to prevent designing something that may not work correctly.
We have exposed many poorly-designed circuits in our "Spot The Mistake" eBook, as explained above.
CLIPPING AND DISTORTION
Most Analogue circuits require a stage to reproduce a signal as accurately as possible. After all, we don't want an amplifier to be distorted.   
However some analogue circuits are designed to distort a signal. Therese can be classified as "EFFECTS" circuits and the most common is a guitar effect called FUZZ. A Fuzz circuit clips a signal so the full amplitude is not delivered to the output.
There are many ways to distort a signal (or process a signal) so a desired effect can be achieved and there are dozens of names for these circuits.
There is no "electronics rationale" behind the design of these circuits and many of them come from experimenting and placing components in unusual places to create positive or negative feedback or overdrive a stage or even under-drive the active component (usually a transistor or op-amp).
There are hundreds of circuits to create these "EFFECTS" and here are some:


An OVERDRIVE Circuit

The following website has SOUND CLIPS for lots of different effects:
http://www.home-wrecker.com/salvo.html#bazzfuss

CIRCUIT PROBLEMS:
CIRCUIT 1
The input to a microcontroller needs a HIGH when a microphone picks up audio. This is the requirement from a customer. The circuit in Fig 104 was designed to meet the customers requirements.  The 10mV audio waveform from a microphone is converted to a 4v-5v CONSTANT HIGH. The following circuit is the result:


Fig 104.

The starting point is to bias the first transistor so the voltage on the base is just at the point of turning it ON.
This allows the 47k resistor to turn on the second transistor and the diode does not see any voltage. This means the 1u does not get charged and the input to the microcontroller sees a LOW.
This is called the QUIESCENT (standing, stand-by or idle) condition.
The gain of the electret microphone is adjusted by the 10k pot and when it receives a loud audio signal it produces an output of about 20mV.
This signal is sufficient to turn ON the first transistor and turn OFF the second transistor so that signal diode sees a HIGH pulse via the 4k7.
This voltage is passed to the 1u and it gradually gets charged. When the voltage on the 1u reaches about 4-5v, the microcontroller sees a HIGH and the program in the micro produces an output.

CIRCUIT 2
How does this amplifier get biased?:


Fig 105.

One of the most difficult amplifiers to design and service is a DC (Directly-Coupled) amplifier. The voltage on the output is fed back to the input to create the idle (quiescent) state and the biasing of the input is created from the output. So, where do you start?
All the facts we have learnt in this discussion are needed to understand how this circuit works.
The circuit has high gain and without the 22k feedback, we would not be able to create an output "set-point."  The first transistor has no DC voltage gain as but it does have an AC voltage gain of about 22. The BC557 provides a voltage gain of about 70-100 and the output transistors only provide a current gain. This gives the circuit a voltage gain of about 2,000. A 50mV input will produce an output of about 10v.
The aim is to get the output voltage near to mid-rail so it can swing both positive and negative and create a relatively distortion-less waveform.
The starting point is the voltage divider made up of the 27k + 27k and 100k. This puts 10v on the base.
Now we come to the 470R resistor on the base of the BD140 transistor. This resistor is a very low value and is keeping the BD140 turned on and the emitter will be very low.
Here's the interesting part: The collector of the BC557 can pull UP without any difficulty to
about 1.4v due to the two 1N4148 diodes and also due to the base-emitter voltage-drops across the two output transistors. But this only raises the collector about 1.4v.
To be able to pull higher, the transistor must turn on harder and since the bottom transistor is being pulled down by 470R, the top transistor is also being pulled down via the two 1R resistors. The BC557 sees the base of the BD139 as a 470R resistor, plus the actual 470R resistor. This make it 220R.
To raise the voltage on the base of the BD140, requires current through the 470R and the BC557 needs to be turned on a certain amount to provide current through the 470R and into the base of the BD139 AT THE SAME TIME.
At the moment the join of the two one-ohm resistors has a very low voltage on it and the BC547 is also an emitter-follower and the emitter is about 10v minus 0.7v.
This puts a current through the 22k resistor of less than 1mA however this current also flows through the emitter-base junction of the BC557 and if the transistor has a gain of 100, the emitter-collector current can be as high as 100mA.
However the 220R (470R and 470R in parallel) resistor only needs a flow of 22mA to create a voltage of 5v across it, so we have plenty of gain to begin to turn on the circuit.
The BC557 creates a current-flow through the 470R and the BD140 starts to get pulled UP. This puts less current though the BC547 and less current through the base of the BC557, so the BC557 starts to turn off.
The actual settling-point has a lot to do with the 27k + 27k and 100k base-bias resistors as this puts 10v on the base and the emitter 9.3v.  Suppose the output settles at 7.5v.  This puts 1.8v across the 22k and creates a current-flow through this resistor. Approximately the same current flows through the emitter-base of the BC557 and about 100 times this current is available to be divided between the 470R and base of the BD139. This is how the output becomes biased at very nearly half-rail voltage.

 CIRCUIT 3
Select the best circuit between Figs 106 and 107:


Fig 106.


Fig 107.

From the theory discussed above, can you see the problem with driving the BC327 in Fig106.
It is being pulled HIGH via the 1k resistor. If the transistor has a gain of 100, Q4 will effectively be equal to a 10 ohm resistor. For 100mA current delivered to the output, 1v will be dropped across this transistor and it will start to get hot. This is wasted energy.
A BC237is only capable of delivering 100mA. 

Fig 106 has been re-drawn as Fig 107 with improvements and corrections.
The output transistor has been changed to a BC327. It will handle 800mA.
A 1N4001 is not a high-speed diode and using an Ultra Fast 4004 will deliver an extra 50mA to the output.
See: 200 Transistor Circuits for details.
CIRCUIT 4


Fig 107a.

Fig107a shows a 560R resistor to discharge the 47p coupling-capacitor.
The circuit is a 27MHz transmitter with buffer. The buffer is an amplifying stage to increase the output.
You will notice two things: the buffer stage is not biased ON and a low value resistor is connected between base and 0v rail.  This called a "Class-C" stage.
This resistor discharges the capacitor so it will transfer the maximum amount of energy (on each cycle), from the oscillator stage to the output stage.
The resistor is not needed when charging the capacitor but it is very important to discharge the capacitor.
Remove the resistor and the output will be nearly ZERO!

Another point to note with a
"Class-C" stage is this:
All the energy to turn-on the Buffer stage comes from the coupling capacitor.

LAB ELECTRONICS
Lab Electronics produces a "stand-alone" trainer that covers the common-base, common-emitter and common-collector stages:


Fig 108.


Fig 109.

Fig 109 shows the circuit for the trainer and how it can be wired to produce all the stages we have covered in this discussion. By feeding each stage with a sinewave at the input, you can view the output on a CRO and see how it works.
This is only part of the picture to understanding the operation of each stage as the input and output impedances are also important and the third important thing is the effect of the capacitor(s) and/or electrolytics that connect one stage to another and/or those connected to the emitter to provide EMITTER BY-PASS.
We have already explained the advantage of a common-base stage (to connect a very low impedance device to an amplifying circuit) and the advantage of a common-collector (emitter-follower) circuit to drive a low-impedance load.
A "trainer" only provides a fraction of the knowledge needed to understand "circuit-design" - but it helps. You must build "real-life" circuits to get a complete understanding.
The trainer above has lots of faults in its design. You cannot get a full understand of the common-base stage with 1k in the emitter. It should be 100R or less. The 10k feeding the 33u will attenuate the sinewave and is not needed.
The common-emitter stage does not provide any self-biasing option. The 56k base-bias is too low and the collector and emitters resistors are the wrong values to get any appreciable gain from the stage. When the 33u is put across the emitter resistor, the gain will increase enormously.
It would be much better to work on the circuits we have presented above and view the output on a CRO.
This trainer does not give you a full understanding of the operation of the three stages. (33u and 15v is rarely used in modern designs), I would give it a MISS.


Fig 110.

Fig 110 shows another trainer. It covers the common-emitter stage.
When a common-emitter stage drives a transformer or speaker as a load in the collector circuit, we want the sound to be free of distortion and to do this this we must bias the stage so the collector is at half-rail voltage when no audio is present.
This allows the transistor to turn ON and OFF to provide the maximum voltage-swing. If the transistor is not sitting at mid-rail, either the positive or the negative peaks of the signal will hit either the positive or negative rail and produce distortion - because the full excursion (height) will not be reproduced.
But biasing the transistor at mid-rail means the current though the speaker or transformer will be about half the peak current and this is wasted as it flows at all times, even when audio is not being processed.
That's why this type of stage is not efficient and it heats up the output transistor considerably, even with no audio.  
This type of circuit is called "CLASS-A" and the trainer above has a "Bridge" circuit as a pre-amplifier and is capacitor-coupled to a common-emitter stage as an output stage - driving a transformer - as a class "A" amplifier. Since transformers are expensive, difficult to purchase and add weight to a project, they have generally been replaced by complementary-symmetry push-pull class-B output stages.
All the features in this trainer have been covered in the circuits above.


Which circuit is best?
Fig 111 shows four different circuits driving a speaker. Which circuit is best??


Fig 111.

The 4 circuits in Fig 111 drive an 8 ohm speaker and are called OUTPUT STAGES or DRIVER STAGES. They are all different in performance and have different input voltage requirements.
Circuit A is really only a one transistor emitter-follower amplifier as the other transistor discharges the electrolytic.
However it is fully discharged and represents only a few ohms resistance (impedance) in series with the speaker. The input voltage-swing must be as large as possible (called rail-to-rail swing) to achieve the maximum output.
Circuit B is a two-transistor amplifier (called a Darlington Pair) and requires only a very small input current for the circuit to work, but a rail-to-rail voltage-swing. The speaker is AC coupled and only the audio current enters the cone and the cone is not displaced by any DC current. However the 100u is discharged via a 330R and the electrolytic is equivalent to a 330R in series with the speaker. The output from this circuit will be very low. 
Circuit C is a Darlington Pair directly connected to a speaker. The input is very sensitive and requires less than 1v swing for full output. However DC flows through the speaker and will heat up the coil as well as shift the cone and maybe reduce the output capabilities of the speaker.
Circuit D is a high gain Darlington stage and has a sensitive input and requires less than 1v for full output. However the electrolytic is discharged via a 100R and this means it is equivalent to a 100R in series with the speaker.
The best circuit is "A" but it needs a pre-driver transistor to achieve the gain (amplification) of the other 3 circuits.


Fig 111a.

Fig 111a is a class-A amplifier with an emitter resistor that is by-passed with a 100u capacitor.
The quiescent
(idle) current taken by the stage will be low due to the 330R emitter resistor but when a signal is delivered to the base, the transistor will operate as if the emitter is connected directly to the 0v rail. This means the stage will provide very good amplification while the quiescent current is quite low.
 


DESIGN YOUR OWN TRANSISTOR AMPLIFIER

TransistorAmp software by Didaktik Software

The following software allows you to design your own single-stage Common-Emitter, Common-Base or Common-Collector amplifier.
It has been created by Didaktik Software.
Download: TransistorAmp (.zip 520KB)   
TransistorAmp
unzips to TransistorAmp.msi (604KB) and will install on your computer with a desktop icon.
Or you can download: TransistorAmp (.exe) or TransistorAmp (.rar) Unzip .rar in a folder "TransistorAmp" and it will create TransistorAmp.exe    Click on the file and the image above will appear.

How to use the software TransistorAmp

TransistorAmp is very easy to use. You start every design with the menu item: "New Amplifier". In the pull-down-menu you choose your desired circuit. You can choose between common-base-circuit, common-emitter-circuit and common-collector-circuit. After that you get a dialog, where you have to put in all parameters of your amplifier.
The following 3 images show the layout of the circuit you will produce:

For the selection of the transistor-type you can click on the button: "Select transistor type from list", and you will see a list of all supported transistor types. TransistorAmp supports some thousand transistor types - even some Germanium transistors. Select your desired transistor type and click  OK. The selected transistor type will be displayed in the dialog. Both NPN and PNP transistors are supported.

When you have completed your input in the dialog, click OK and see the result. You see a window with your input data, the circuit, the component values and the most important parameters of the operation point. If you want to change your design, you only need to click again on "New Amplifier" and the circuit in the pull-down-menu. Your previous input data will be restored in the input dialog and you can change one or more parameters.

Note: for the Common-Collector amplifier: "Collector current in A" means: "Collector current in Amps." For 2mA, insert 0.002 etc. 

Decibel Calculator

Decibel (dB) Calculator

Decibels are defined as ten times the log of a power ratio.  This calculator converts between decibels, voltage gain (or current), and power gain.  Just fill in one field and the calculator will convert the other two fields. 

dB= 20log(V1/V2)= 10log(P1/P2)

Decibels (dB)  Voltage Gain Power Gain 
When you are satisfied with the result, click on: "Result - Save". TransistorAmp saves all data in the result window to an HTML-file. You can open this file with a browser (e.g. Firefox or Internet Explorer), inspect it and print it.

Comment from a FORUM MEMBER (http://www.electro-tech-online.com/)
My boss once said to me: "The transistor will never "take-off" it is only equal to a triode (valve)."

On the next page we cover connecting a "normal" or "standard  or "common transistor"  - called Bipolar Junction Transistor (BJT) to a Field Effect Transistor (FET).

P3