Documente Academic
Documente Profesional
Documente Cultură
Introduction to
Electronic Circuits
An informal self-study course
CONTENTS
1. Introduction
2. The bipolar junction transistor (BJT)
3. Amplifiers
4. Operational amplifiers
5. Feedback and oscillators
1 Introduction
1.1 Outline of Objectives
Some basic concepts of analogue signals are introduced in this section. You will learn the
basic functions of an analogue electronic system, viz. transformation and generation of
signals of continuous nature. Here, signal transformation refers to all kinds of manipulation
such as filtering (selecting signals of a certain range of frequencies) and amplification
(enlarging the magnitude of a signal). Signal generation in the context of analogue electronics
can be taken to mean the construction of a signal with a specified waveform, as in the case of
a sinusoidal wave generator. This section prepares you for the study of electronic amplifiers
and oscillators in the later sections.
1.2 Signals
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 2 of 43
v(t) = A sin (2 π f t + α ).
The units of measurement should be noted. In particular, your attention is drawn to the
unit of frequency which is cycle per second or hertz. It is also important to distinguish
between peak values and root-mean-square values for the description of amplitudes of
signals, as studied in an earlier section in the course.
Remarks:
A common misunderstanding is worth noting: the unit of frequency is NOT per
second, as may be wrongly concluded from the dimension of frequency. In fact it is
cycle per second! The consequence of this misunderstanding can be serious. 1 cycle
actually equals 2π radian, with the radian being the truly dimensionless unit. Thus,
writing 50 Hz as 50 per second would result in an unacceptable error! Alternatively,
you may use angular frequency ω which has the unit of per second or radian per
second.
B. Comparing signals
Before introducing the concept of amplification, it is important to explain how two
signals of the same frequency can be compared. The simplest comparison is to take
the ratio of the amplitudes of two signals, leading to the concept of gain. Moreover, it
is important to mention that since the magnitude of gain is usually quite large, it is
better to employ a "compressed" scale. This brings up the unit decibels (dB). When
two voltages of amplitudes V1 and V2 are compared, their ratio (gain), in dB, is given
by the formula:
dB
Another type of comparison between two signals of the same frequency is the phase
difference. This can be expressed in either degree or radian.
Phase difference φ = α2 - α1
where α1 and α2 are the phase angles of the two signals relative to a fixed reference
sine wave.
Class discussions:
What is the amount of gain or attenuation in dB when a signal is reduced by half in
power or by a factor of 0.7071 in amplitude? (ans: 3dB)
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 3 of 43
Remarks:
For the purpose of these introductory notes, it suffices to regard analogue electronics
as systems that either transform or generate continuous signals. Here, the function of
transforming signals may include filtering, amplification and phase shifting, and the
generation of signals refers in particular to the creation of signals of certain specified
waveforms, as in the case of oscillators.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 4 of 43
At this point, you should note the following properties of an npn transistor (with
reverse polarities for a pnp):
Property 1: The collector must be more positive than the emitter.
Property 2: The base-emitter and base-collector junctions behave like diodes, as
shown above.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 5 of 43
Remarks:
1. The npn transistor should be the initial focus of discussion in order to avoid
obscuring the essentials. You may forget about pnp for the time being. When you
have mastered the npn transistor, you should be able to extrapolate the ideas to the pnp
transistor by merely reversing signs and polarities.
2. Property 3 gives the transistor its usefulness: a small current flowing into the
base controls a much larger current flowing into the collector.
3. You should be warned that is NOT a "good" transistor parameter because its
value can vary from 50 to 250 for different specimens of the same transistor type.
Hence, any circuit that relies on a particular value is a bad circuit. Details will be
postponed to a later time when DC biasing is studied.
Discussions:
The following question is interesting. Is the collector current a result of diode
conduction? The answer is "no". The collector-base diode is normally reverse-biased,
and the collector current does not vary much with the collector-emitter voltage. In
most cases of active operation, the collector current is fairly constant, in opposition to
the usual V-I relationship of a diode junction.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 6 of 43
is maintained only if the voltage drop across the lamp is less than the total available
voltage (10V). In this circuit, the max collector current is 100 mA. So,
if the base current exceeds 100/ mA, the collector current is saturated
at 100 mA.
In this situation, since the collector-emitter voltage is less than a diode
drop, the collector-base diode is not reverse biased, invalidating the
"transistor action" stated in Property 3. The transistor is said to be in
saturation.
Situation 2: As shown in Fig. 3, the base is effectively grounded. Since both base-
emitter and base-collector diodes are not conducting, the base current is
zero. The collector current is zero, according to Property 3. The lamp is
off.
In this situation, the transistor is said to be cut-off, having no base
current to control the collector current.
Remarks:
The case of cut-off is usually more easily understood by you than the case of
saturation. Indeed, you will find it confusing when trying to determine the validity of
Property 3. Here, a simple rule will help you understand this idea: Property 3 is true
only if Property 1 is true.
Remarks:
Instead of a detailed examination of the mathematical expressions, you should have a
strong intuitive feeling about the characteristics.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 7 of 43
Class discussions:
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 8 of 43
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 9 of 43
3 Amplifiers
3.1 Outline of Objectives
In this section, you will be introduced to the concept of amplification and the basic technique
of constructing an amplifier using a BJT. The main transistor circuit to be studied is the
common-emitter (CE) amplifier. A simple graphical technique is used to explain the
operation of a CE amplifier and to deduce the voltage gain. The factors affecting the gain
value will be considered using the graphical technique.
Two aspects of practical amplification should be highlighted. The first aspect is, of
course, the enlargement (reduction) of signal amplitude. The second aspect is the
phase shift of the output signal relative to the input signal. It is important here to point
out that a practical amplifier does not give the same gain and phase shift for signals of
all frequencies. Usually, a practical amplifier maintains a fixed gain and phase shift
for a range of frequencies only. For example, an amplifier with a first-order low-pass
cut-off should be adequate for this purpose. Your attention should be drawn to the
gain and phase shift variation as frequency increases.
1. The use of semi-log scale is recommended. The x-axis is log f, and the y-axis
is the gain in dB. Real figures may be given to clarify the usage. For instance,
if Hz corresponds to on the x-axis, then Hz corresponds to on
the x-axis as shown in Fig. 6.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 10 of 43
Remarks:
1. The study of the amplifier concept is centered around voltage signals. This
should be sufficient for the purpose of studying transistor amplifiers later on in the
course.
2. Details of frequency response of electronic systems may be omitted for the
time being. It suffices for you, at this stage, to appreciate the usual drop of gain and
phase shift in most practical amplifiers as frequency increases.
Class discussions:
Some of you may question the universality of the gain-phase features mentioned
above. To clear up ambiguity, it is worth pointing out that some amplifiers do exhibit
higher-order responses in which the gain drops off more rapidly and the phase shift
increases to a larger extent.
B. Concept of loading
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 11 of 43
Remarks:
1. A simple way to illustrate the Maximum Power Transfer Theorem is to derive
the expression for the power dissipated in the load and to examine how this power
varies with the load resistance. The derivation involves first finding the current and
then using the formula . Upon differentiating the power with respect to the load
resistance, the maximum power transfer can be shown to occur when .
2. The Maximum Power Transfer Theorem must be treated with care. It may give
a wrong impression that the output resistance should be designed to equal the load
resistance. In fact, maximum power transfer takes place when the output resistance is
zero. This seems to contradict the theorem, but it certainly makes sense to have zero
output resistance in order to maximize the output. So, what is wrong with the
theorem? In fact, nothing is wrong. The theorem assumes that the output resistance
cannot be changed and suggests the value of the load resistance for achieving
maximum power transfer. You will benefit from a careful reading of the statement of
the Maximum Power Transfer Theorem and a thorough examination of its meaning.
Class discussions:
You can appreciate loading effects easily if you try to calculate the actual input voltage
of the amplifier when are 50Ω and 1kΩ respectively and to repeat the same
calculation using 50Ω and 100Ω instead. Likewise, you can try to calculate the actual
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 12 of 43
output voltage when are 100kΩ and 50Ω respectively and to repeat the
calculation with 100Ω and 50 Ω instead.
D. Biasing a BJT
The process of biasing a transistor can be viewed as an assignment of a set of DC
values for , in such a way that active operation is maintained, i.e.,
ensuring the transistor is neither cut-off nor in saturation. The specific objectives are:
1. to set collector current to a desired value; and
2. to set collector voltage to about (for max voltage swing).
Biasing is best illustrated with the two examples shown in Fig. 8. The objective, for
both arrangements, is to work out the values of the resistances.
It is important to understand the design procedure and the difference of the two biasing
methods.
Circuit (a): For this circuit, the objective is to find and , in order to achieve the
target and . Normally, you can work out the design by assuming
. With little difficulty, can be calculated for any given
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 13 of 43
Remarks:
1. Circuit (a) is considered "bad" because the exact value must be known.
(Quite impossible!) Hence, calculated values are highly unreliable if differs greatly
from the assumed value. You are warned to refrain from using this biasing method. In
fact, nobody really uses it in practice, unless there is a compelling reason to save
resistors (e.g., lower cost).
Discussions:
To probe further, consider the following questions:
1. What is the error in the calculated for circuit (a) if the actual value differs
from the assumed value by 50%?
2. Why should be set around ? (Hint: consider the largest possible swing
of .)
3. What modification will make the design almost independent of the value?
(Hint: consider putting a resistor between the emitter and ground.)
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 14 of 43
This approach can eliminate unnecessarily complex algebra and is very easy to understand.
1. The description may start with a simple and comfortable statement: The
resistor must obey Ohm’s law. So, , which means
.
Hence, the value of must lie along a straight line having a slope of –1/
as shown in Fig. 9. But is also related to by the transistor output
characteristic. The intersection of this characteristic with the straight line
stated earlier will give the biasing values and .
2. You can now easily visualize the amplification process by considering a small
swing in . This small swing causes to swing widely. (Refresh
your memory here about the transfer characteristic.) See Fig. 9.
3. At this point you should look at . Guided by the graph, you should easily
convince yourselves that the gain (the ratio of the output to input swings, i.e.,
) is equal to , where is the fixed incremental trans-
conductance as studied previously.
Remarks:
This part requires some conceptual thinking, and it is worth spending more time on.
The amplitude of the input voltage applied to the base-emitter should not normally
exceed one-tenth of the biased value, i.e., less than ±60 mV. Too large an input swing
will cause nonlinear operation and hence distortion. There is also a limit to the output
swing. If is biased at 5 V, then the maximum swing is 5 V (actually about ±4.8 V
if the saturation voltage of 0.2 V is taken into consideration).
Finally the dependence of the gain on both the biasing current and the collector
resistance should be noted.
Class discussions:
How can the small input signal be injected to the base? Direct connection of the input
voltage signal across the base and emitter will surely destroy the biasing condition!
Can you explain the use of coupling capacitors to inject and extract the signals?
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 15 of 43
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 16 of 43
4 Operational Amplifiers
4.1 Outline of Objectives
The operational amplifier (op-amp) is introduced in this section as an important device which
finds applications in a variety of electronic systems. Some essential properties of the ideal op-
amp will be discussed in detail. These properties form the basis on which the operations of
some selected op-amp circuits are to be explained. These op-amp circuits also provide an
excellent starting point for the study of the feedback concept.
3. An op-amp typically has two input terminals, one output terminal, one ground
or reference terminal, and power supply terminals. (The ground and power
supply terminals are frequently not shown in circuit diagrams.)
4. Op-amps always come in Integrated Circuit (IC) packages.
5. When the (+) input goes more positive than the (-) input, the output goes
positive, and vice versa.
6. Op-amps have enormous voltage gain, and they are hardly ever used without
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 17 of 43
feedback. Up to this point, you have probably never heard of the term "feedback".
While detailed discussion of feedback is left to a later time, it may simply be
regarded, for the time being, as a way in which the output terminal is connected
to either or both of the input terminals.
7. By appropriately connecting the output terminal with the input terminals, i.e.,
feedback, many useful analogue functions can be realized using op-amps.
8. The supply voltages set the maximum and minimum voltage levels that the
output can take.
Remarks:
1. Do not worry too much at this stage about the detailed theory of feedback. The
plan of attack, as will become clear, is to make use of op-amp circuits to illustrate the
difficult concept of feedback. This kind of reverse treatment often works well,
especially when you have only minimal mathematical background.
2. In many electronics text-books, the op-amp is often introduced as an ideal
infinite-gain voltage amplifier, with all real physical aspects either omitted or
postponed to a later time. Although this ideal op-amp model proves to be extremely
useful in presenting the essence of op-amp circuits, it often leaves in our mind the
questions of how op-amps are actually used and what they really are. In case you feel
unsatisfied with the naive "triangle" that keeps being claimed as an infinite-gain
amplifier, think of it as a real circuit.
3. The op-amp symbol may need further explanation. It is natural for you to
assume that the (+) terminal should be kept positive with respect to the (-) terminal.
This is, however, not the case! This point will become apparent when negative
feedback is discussed at a later time. The (+) and (-) symbols in fact tell the relative
phase of the output. Therefore, in order to avoid confusion, let's use the words non-
inverting and inverting, rather than "plus" and "minus".
Discussions
Without feedback, an op-amp is already useful for one application. Can you guess
what it is? (Ans: comparator)
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 18 of 43
The op-amp is not a very complicated device to understand. For most practical
purposes, the op-amp behaves reasonably close to an ideal (hypothetical) amplifier
which possesses the following properties:
Property 1: The gain is infinite.
Property 2: The output resistance is zero.
Property 3: The input resistance is infinite.
The above three properties are easy to remember, but they are not very easy to use in
practical situations. However, with a bit of re-wording, these properties can be re-
written as two useful rules which can be easily applied to predict actual circuit
behaviour. Here they are:
Golden Rule 1: The output attempts to take whatever value necessary to make the
voltage difference between the input terminals zero.
(This rule is a direct consequence of Properties 1 and 2.)
Golden Rule 2: The inputs draw no current.
(This rule is a direct consequence of Property 3.)
You are advised to memorize these two rules.
Remarks:
1. Properties 2 and 3 in fact correspond to freedom of loading effects (Recall
Section 2.2.2B.), making the ideal op-amp a perfect voltage amplifier.
2. You should be reminded that Golden Rule 1 is NOT applicable when there is
no feedback! However, since op-amps are hardly ever used without feedback, the
Golden Rules usually apply.
3. It does not matter if you cannot grasp Golden Rule 1 immediately. Later on, a
couple of examples will clear things up.
Discussions:
You may be asked to consider a simple voltage follower circuit in the light of the two
Golden Rules. Referring to Fig. 12, you should easily work out a relationship between
the output and the non-inverting input.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 19 of 43
Inverting amplifier
Non-inverting amplifier
Voltage Follower
Current source
Differential amplifier
Summing amplifier
Comparator*
Schmitt trigger*
*Golden Rule 1 is not applicable.
1. Inverting amplifier
The first op-amp circuit to be studied in detail is the inverting amplifier which is
shown in Fig. 13. This circuit represents a simple op-amp circuit that can provide
voltage amplification with selectable gain.
From Golden Rule 1, the output will attempt to make the voltage between points A and
B zero. This gives . Now, apply Golden Rule 2 to point A. Clearly, the
current flowing through must equal the current flowing through since the op-
amp inputs draw no current. Thus, , which means
It is also important to calculate the input resistance of the whole assembly. This is
easy! Since point A is always at 0 V, the input resistance is simply equal to .
Remarks:
1. Since point B is grounded, point A is always at 0 V, based on Golden Rule 1.
However, point A is not really grounded since there is no actual connection between A
and B. Under this circumstance, point A is called a virtual ground.
2. The inverting amplifier is suitable for both DC and AC signals. In the case of
DC, the output is simply a fixed multiple of the input, with sign reversal. In the case of
AC, the amplitude of the output is a fixed multiple of that of the input, with phase
reversal, i.e., phase shift of .
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 20 of 43
Discussions:
You will get a better idea of what the circuit actually does by finding the value (or the
form) of the output voltage for different values (or forms) of the input voltage. For
example, assuming = 10kΩ and = 100kΩ, work out the output voltage if the
input voltage is
(i) -0.3 V (DC);
(ii) 0.5 V (DC);
(iii) 0.4 sin 20 π t V (AC); and
(iv) 0.1 + 0.4 sin 20 π t V (AC with DC offset).
For case (iv), you should also try to sketch the waveforms of the input and output
voltages.
2. Non-inverting amplifier
The non-inverting amplifier is shown in Fig. 14. From Golden Rule 1, the output
attempts to make the voltage at point A equal to the input. Also, since no current is
drawn into the inverting input of the op-amp (Golden Rule 2), the voltage divider
formula directly gives the relation , which means
Remarks:
1. It is interesting to compare the input resistance of the non-inverting amplifier
with that of the inverting amplifier. Obviously, the non-inverting amplifier is more
desirable because of its freedom from loading the input voltage source.
2. The non-inverting amplifier is suitable for both DC and AC. Unlike the case of
the inverting amplifier, there is neither sign reversal for DC signals nor phase reversal
for AC signals.
3. Voltage follower
You may have already come across the voltage follower in a previous exercise. If not,
you should try finding out how this circuit works.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 21 of 43
Discussions:
Apart from deriving the voltage gain, you should attempt to calculate the input
resistance of the voltage follower. The result of calculating the input resistance should
give a clue to the usefulness of the voltage follower in practical situations. It is
recommended that you try to explain, in the light of loading effects, why the voltage
follower is useful. The model shown in Fig. 16 is convenient for this purpose.
Suppose the objective is to supply the load with the voltage . Unfortunately, the
source has an internal resistance (or output resistance) equal to 500Ω. You should
readily see that
(i) without the voltage follower (Fig. 16 (a)), the output is only able to get
two-third of ; and
(ii) with the voltage follower (Fig. 16 (b)), the output is equal to due to
freedom of loading effects.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 22 of 43
4. Current source
The op-amp can also be used to provide a constant or adjustable current for a given
load resistor. This application is simple and should be quite easily understood by you
who have only basic understanding of op-amps. It should be reasonably
straightforward to derive the value of the current being supplied to the load in Fig.
17 (a). Essentially, Golden Rule 1 ensures that the voltage across R is equal to ,
and Golden Rule 2 forces to be equal to the current flowing in R. Therefore, the
following equation holds:
In other words, the current that is being supplied to the load is determined by and
R. Note that the load current is actually supplied by the 12V source and the op-amp
simply plays the role of providing a fixed reference voltage across R.
(a)
(b)
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 23 of 43
Remarks:
It should be stressed that the example shown in Fig. 17 (a) represents an arrangement
for supplying current to a "floating" or "ungrounded" load. In practice, one of the
terminals of the load is often connected to ground, and in that case, the current source
of Fig. 17 (a) is not suitable.
Discussions:
Can you derive an alternative configuration that can supply current to a grounded load?
A possible arrangement is shown in Fig. 17 (b) in which the pnp transistor supplies to a
grounded load a current, either fixed or adjustable by R. You should easily verify that
the current being supplied is given by
5. Differential amplifier
The op-amp has many interesting applications apart from providing voltage gain as in
the cases of inverting and non-inverting amplifiers. For example, the circuit shown in
Fig. 18 can be used to measure the difference between two voltages.
Discussions:
As a class exercise, you may be asked to prove that the output voltage of the op-amp
circuit, shown in Fig. 18, is given by the following formula:
What happens if the resistances are not perfectly matched? Suppose the actual values
of the resistances are as shown in Fig. 19. What would then happen to the output
voltage?
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 24 of 43
6. Summing amplifier
The circuit of Fig. 20 represents another interesting application of the op-amp. This
circuit measures the sum of several voltages.
It is straightforward to derive the formula for the output voltage, based on the two
Golden Rules. Essentially, .
Remarks:
Several points are worth mentioning:
1. The input voltages can be positive or negative.
2. The input resistance seen from each input is R. This remains a disadvantage of
the summing amplifier, similar to the case of the inverting amplifier.
3. The resistances need not be equal. If they are unequal, a weighted sum will be
obtained. For instance, if the resistances connected to the inputs
are , and respectively, the output voltage becomes
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 25 of 43
Discussions:
It is interesting to consider the circuit shown in Fig. 21 and to explore its potential
application.
You may be prompted to calculate the output voltage for each of the following
combinations of input voltages:
0V 0V 0V 1V
0V 0V 1V 0V
0V 0V 1V 1V
... ... ... ...
1V 1V 0V 1V
1V 1V 1V 0V
1V 1V 1V 1V
The use of this circuit in converting a 4-bit binary number to an analogue voltage (i.e.,
digital-to-analogue conversion) should be apparent.
7. Comparator
It is quite common to use op-amps to compare two signals and to determine which one
is larger. The required circuit is simple. The op-amp alone will do!
The ability to compare signals can be attributed to the high voltage gain. You may use
the following simple argument to explain how the comparator works. Since the
voltage gain typically exceeds 100,000, the inputs must be within a fraction of a
millivolt in order to prevent the output from swinging all the way to extreme positive
or negative. It is assumed that the supply voltages are +10 V and -10 V and that the
gain is 100,000.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 26 of 43
1. If is larger than by more than 0.0001 V, the output will swing to +10 V.
2. If is larger than by more than 0.0001 V, the output will swing to -10 V.
Remarks:
The operation of the op-amp without feedback is entirely different from that with
feedback. Essentially, in the absence of feedback, there is no way to make the voltage
at the inverting input equal to that at the non-inverting input, no matter how hard the
output tries to achieve so. Here, Golden Rule 1 fails to describe what happens!
Your attention should be drawn to the exact wording of Golden Rule 1:
"The output attempts to take whatever value necessary to make the voltage
difference between the input terminals zero."
The output only attempts to do what the rule says, but it can fail to do so.
Discussions:
Now, you should discover that the op-amp is never a perfect comparator, although it is
good enough for most practical purposes. Given the gain and the supply voltage, you
should be able to work out the resolution of the comparator. For instance, if the supply
voltage is ±10 V and the gain is 100,000, the comparator works well for signals that
differ by more than about 10V/100000 = 0.1 mV.
8. Schmitt trigger
A classic example of the use of the comparator action is the Schmitt trigger, as shown
in Fig. 23. This circuit may prove to be difficult to understand, and should be studied
only if you have gained enough familiarity with the earlier op-amp circuits.
You may study this circuit based on the comparator action of the op-amp. The Golden
Rules should not be used here. A simple way to tell the story is to begin with the
assumption that the op-amp operates as a comparator. Suppose the output is at the
positive extreme, say, +10 V. The voltage at point A is, therefore, equal to
. Obviously, the input can be anything below this value. Otherwise
the output would have swung to the negative extreme. If changes to a value which
is higher than , the output will swing to the negative extreme, say, -10
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 27 of 43
V. Interestingly, the output won’t swing back to +10 V when the input comes down
and passes again. This is because the voltage at point A has become
, and the output remains at the negative extreme unless goes down
below the voltage at point A. So, only if goes below , the output
swings back to +10 V. This circuit has an interesting ability of memorizing the history
of the output!
The behaviour of the Schmitt trigger of Fig. 23 can be summarized by a sequence of
events that takes place when the input goes up and down, above and below the
threshold values of and .
1. The output is at +10 V, and the input is lower than .
2. The output remains at +10 V until the input goes up to , at which
the output swings to -10 V.
Remarks:
1. The Schmitt trigger operates entirely differently from the non-inverting
amplifier although it looks pretty much like a non-inverting amplifier. In fact, there is
one important difference. In the Schmitt trigger, the feedback is connected to the non-
inverting input, rather than the inverting input.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 28 of 43
Discussions:
To probe further, you may try to work out the operation of the Schmitt trigger shown
in Fig. 25. In particular, find the upper trip point and the lower trip point of this
Schmitt trigger.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 29 of 43
5 Feedback
5.1 Outline of Objectives
The concept of feedback is formally studied in this section. The emphasis is on the systematic
analysis of feedback amplifiers based on a general feedback configuration. You will learn in
this section how negative feedback stabilizes gain and how positive feedback causes
oscillation. Furthermore, some practical oscillator circuits are used to illustrate how negative
feedback can become positive feedback by deliberately introducing phase shift along the
feedback path.
3. When feedback is connected as shown in Fig. 26, the input to the overall
feedback amplifier is substracted by a fraction of the output before being
applied to the input of the basic amplifier.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 30 of 43
6. From the above equation, an explicit expression for can be easily obtained.
Closed-loop gain =
Remarks:
You should be aware of the usual terminology:
Open-loop gain: A
Closed-loop gain: G=
Loop gain: T=
Also, the feedback network is sometimes called the beta network.
Class discussions:
Think about the implication of the feedback action in the light of the above gain
formula. Specifically, if A is infinitely large and is a finite number, what value
would G take?
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 31 of 43
This is definitely an advantage since loading effect on the input voltage source
is significantly reduced. The equivalent model for the entire feedback amplifier
is shown in Fig. 27 (b).
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 32 of 43
does not draw current from the output, the output resistance of the basic amplifier, ,
is given by Ohm’s law as
Referring to the model of Fig. 27 (b), the output resistance of the feedback
amplifier, , is given by . Also, since G = A/(1+βA), we
can rewrite as
Now, combining the above equation with the previous expression of leads
directly to the following relation:
Clearly, the feedback amplifier's output resistance is less than the basic
amplifier’s by a factor of , i.e.,
Again this is an advantage since the amplifier has much less internal voltage drop
as explained previously in Section 2.2.
Remarks:
1. The analysis of feedback, as outlined above, is based on the voltage amplifier,
for which the input is a voltage, the output is a voltage, and the feedback network
substracts a fraction of the output voltage from the input voltage. Everything is
voltage! For other types of amplifiers, the analysis is generally the same but the
conclusion could be different. For the purpose of this introductory course, the voltage
amplifier suffices to illustrate the basic principles.
2. The above analysis of output resistance has assumed that the feedback network
does not draw any current from the output. However, in practice, the feedback
network often draws current from the output. For example, in the non-inverting
amplifier shown in Fig. 28, the feedback network is a simple voltage divider which is
composed of two resistors. In this case, the output resistance would contain an
additional parallel resistance which is equal to . Such an intuition leads to the
following formula for .
If you find it hard to apply intuitive reasoning in this situation, try to prove the result
formally. This may not be necessary but would certainly be beneficial. The following
class exercise (or homework) may be attempted.
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 33 of 43
Discussions:
The non-inverting amplifier is an excellent example for illustration of the effects of
negative feedback. Referring to Fig. 28, a portion of the amplifier output is substracted
from the input, cancelling part of the input and making the gain much less than what it
used to be without feedback. You may attempt to verify the following:
1. The value of is ;
2. The closed-loop gain is approximately (i.e., );
You may try to prove these results without resort to intuitive reasoning. While the
proofs of the first three results are straightforward, the fourth result may be a bit tricky
to get. The derivation of the output resistance may be proceeded as follows.
The gist of the problem originates from the non-zero current drawn by the feedback
network. This current is . Therefore, the expression for is
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 34 of 43
You may find this result surprisingly simple! Indeed, as can be intuitively reasoned,
the feedback network essentially imposes an additional resistance, , in
parallel with the feedback amplifier’s output resistance.
Remarks:
1. You may recall the Schmitt trigger where the positive feedback is present in the
circuit.
2. Positive feedback is usually regarded as unstable configuration because it tends
to give an endless boost to the input signal. Therefore, all practical configurations of
positive feedback are accompanied by some kinds of gain limiters (or amplitude
limiters) in order to prohibit the growth of the voltage in the feedback loop. Many
oscillator circuits are based on the combined use of positive feedback and gain limiters
as will be discussed later.
Discussions:
The closed-loop gain of a feedback amplifier depends only upon the feedback
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 35 of 43
network. What would happen to the closed-loop gain if the feedback network itself is
frequency dependent? There are two possible areas of discussion: (1) construction of
filters; and (2) hazard of unwanted oscillation.
The model of Fig. 29 (a) is a simple positive feedback configuration whereas that of
Fig. 29 (b) is a negative feedback with an additional phase shift of . The
discussion starts with two assumptions.
Assumption 1: Signals of all frequencies exist in the loop at the very beginning.
Assumption 2: Only the signal at a selected frequency is allowed to go around the
feedback loop.
For both models of Fig. 29, oscillation will start when the output is sent back to the
input and gets re-amplified by the amplifier provided is larger than 1 for the
selected frequency. The process goes on continuously, and very soon the output will
go wildly towards infinity! In practice the output saturates to the extreme value limited
by the power supply.
Now, a dilemma arises. With less gain the oscillation will stop, and with more gain the
output will saturate! This seems to be a rather difficult problem. A practical solution is
to reduce below 1 once oscillation starts, and keeps changing slightly above
and below 1 continuously and "quickly" so as to sustain oscillation. Of course, this
must be done automatically by the circuit itself. A class exercise will clear this up
later.
In summary, two major processes contribute to sustained oscillation:
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 36 of 43
Remarks:
Assumption 1 can be easily justified because "the world is noisy," and nothing can be
perfectly protected from the invasion of noise. So, signals of all frequencies already
exist in the loop.
Assumption 2 can be satisfied artificially by designing an appropriate feedback
network. In fact, oscillator design deals partly with the choice of the feedback
network, and some specific examples will be discussed later.
Discussions:
Consider the oscillator shown conceptually in Fig. 30. For the time being, discussions
need not involve actual electronic components. The necessary concept can be well
explained at the block diagram level. Suppose the feedback network has the following
properties:
1. For signals at 100kHz, = 1/3 and phase shift = 0; and
2. For signals at all other frequencies, is less than 1/3 and phase shift is within
.
At what frequency will positive feedback occur? What value of A is needed to start the
oscillation?
E. Oscillators
You should now be ready to meet some oscillator circuits, e.g., the Wien-bridge
oscillator and the phase shift oscillator.
Before probing into details of these oscillator circuits, some general features should be
mentioned.
1. Positive feedback:
The basic structure should resemble the model shown in either Fig. 29 (a) or
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 37 of 43
Fig. 29 (b).
2. Frequency selection:
The feedback network provides a gain of and a phase shift which are
frequency dependent. The value of the gain and the amount of phase shift
are chosen such that oscillation occurs only at a certain (desired) frequency.
Wien-bridge oscillator
The Wien-bridge oscillator is shown in Fig. 31.
You should be aware that this circuit corresponds directly to the model of Fig. 29 (a),
with the basic amplifier being the familiar non-inverting amplifier. The gain A is
therefore given by
Perhaps the most difficult part is the feedback network. The following two properties
regarding the feedback network are needed in order to understand the circuit operation:
1. For signals at 1/(2 π RC) Hz, = 1/3 and phase shift = 0; and
2. For signals at all other frequencies, is less than 1/3 and phase shift is within
.
Therefore, if the basic amplifier's gain is larger than 3, positive feedback occurs at 1/2
π RC Hz, i.e.,
Oscillating frequency = Hz
The condition for oscillation to start is
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 38 of 43
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 39 of 43
5. For extreme low and high frequencies, approaches zero. Intuitively, there
must be a frequency at which is maximum. At this frequency, both the series
and parallel RC portions should be half way between short circuit and open
circuit.
6. The RC portion is half way between short and open when neither component
dominates. This happens when the frequency is at exactly 1/(2 π RC) Hz.
7. Clearly, the value is expected to be maximum at 1/(2 π RC) Hz.
8. To explain the phase-shift property, the approximate networks shown in Fig. 33
should be adequate. Here, you should be told that when a capacitor and a
resistor are connected in series, the capacitor voltage is always behind the
resistor voltage by . At very low frequencies (Fig. 33 (a)), should be
nearly ahead of because the capacitor voltage is nearly equal to .
Similarly, at very high frequencies (Fig. 33 (b)), should be nearly
behind because the resistor voltage is nearly equal to .
Discussions:
You may realize that the story is only half told. The Wien-bridge oscillator can start
oscillating when , and do so at a frequency of 1/(2 π RC) Hz. However, since
nothing is there to limit the gain, the op-amp will saturate very quickly. Now, you
should try to complete the story by considering the method for limiting the gain. The
arrangement shown in Fig. 34 may be used for this purpose. Here, the incandescant
lamp's resistance has a positive temperature coefficient. You should be able to work
out its operation without much difficulty.
Phase-shift oscillator
The phase-shift oscillator is shown in Fig. 35. You should be aware that this circuit
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 40 of 43
corresponds directly to the model of Fig. 29 (b), with the basic amplifier being the
familiar inverting amplifier. The gain A is therefore given by
The negative sign is removed because it has already been accounted for in the negative
feedback configuration as shown in Fig. 29 (b).
A similar story may be told here: The feedback network selectively produces a phase
shift of for signals at a chosen frequency. Furthermore, at this chosen frequency,
the value of should be larger than 1 in order to start oscillation. Of course, an
arrangement for limiting the gain or amplitude is needed.
The feedback network consists of three RC ladder sections. For the sake of analytical
simplicity, all resistors are identical and all capacitors are identical as shown in Fig.
36. Note that in Fig. 35 one of the resistors in the feedback network is R'. This is
merely to make up for the loading effect of the inverting amplifier's input resistance.
The parallel combination of and R' is still R as shown in Fig. 36.
Neglecting this loading effect is a very common error!
The important parameters to remember are the frequency at which the phase shift is
exactly , , and the attenuation at this frequency, .
Hz and
Using the same argument as in the case of the Wien-bridge oscillator, the condition for
oscillation to start is:
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 41 of 43
Remarks:
The following properties of the feedback network are important in the operation of the
oscillator.
1. It produces phase shift for signals of all frequencies, but to different extents.
2. It produces less phase shift for signals of higher frequencies, and at the same
time it attenuates less at higher frequencies, i.e., gets larger as frequency
increases.
Discussions:
The basic amplifiers in the previous two examples are based on op-amps. It is in fact
possible to use transistor amplifiers such as the common-emitter amplifier. A
worthwhile exercise is to modify the phase-shift oscillator using a transistor amplifier
as the basic amplifier. Fig. 37 shows one possibility.
Due to the loading effect of the CE amplifier, the analysis is more complicated than the
one employing an op-amp inverting amplifier. Only an approximate analysis should be
attempted. The following questions will guide the analysis.
1. Why is one of the resistors in the feedback network replaced by 25kΩ? (Hint:
consider the loading effects of the 100kΩ and 20kΩ.)
2. What is the biasing collector current of the transistor? (Hint: the voltage at
emitter is 1.4V since the voltage at base is 2V.)
3. What is the voltage gain of the basic amplifier? (Hint: the 280Ω can be ignored
when calculating gain since the big capacitor has surely shorted it out at the
signal frequency.)
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 42 of 43
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009
Introduction to Electronic Circuits Page 43 of 43
http://cktse.eie.polyu.edu.hk/IntroductiontoEC/ 12/16/2009