Professional Documents
Culture Documents
1.0 Introduction
A transducer is any device that converts energy from one form to another. In this unit, you
are going to cover the following input transducers: light dependent resistor (LDR),
thermistor and strain gauge as well as the following output transducers light emitting diode
(LED), buzzer and relay.
Learning Objectives
After studying this unit, you should be able to:
describe the change in resistance of an LDR with light intensity;
sketch the temperature characteristics of a negative temperature coefficient
thermistor;
describe the structure of a metal wire strain gauge;
relate extension of a strain gauge to change in resistance of the gauge;
calculate the output from sensing devices using the voltage divider rule;
explain the use of LEDs as devices that indicate the state of the output of electronic
circuits; and
describe the use of buzzers and relays in electronic circuits.
1.1 Input transducers: The light dependent resistor (LDR), thermistor and strain
gauge.
Page 1 of 109
The LDR’s resistance falls with increasing light intensity as illustrated in Figure 1.1 (b).
Figure 1.1 (b): The variation of resistance with illumination (i.e.), the relationship between
light falling on the LDR (incident light) and the LDR’s resistance.
Negative temperature coefficient (NTC) thermistors have resistances that vary inversely with
temperature (i.e.), their resistance becomes smaller as the temperature increases. This is
illustrated in Figure1.3.
Page 2 of 109
Figure 1.3: The variation of resistance with temperature for an NTC thermistor.
1.1.3 The strain gauge
You can make a strain gauge by sealing a length of very fine wire in a small rectangle of thin
plastic, as shown in Figure 1.4 (a).
Page 3 of 109
Figure 1.4 (a): The metal wire strain gauge.
If you stretch the plastic, the plastic experiences a strain, and the wire will also be stretched.
This has effects of increasing the wire’s length and decreasing its cross-sectional area slightly.
Both these effects cause the resistance of the wire to increase. This is illustrated in Figure 1.4
(b). If you want to monitor the strain in a material, you should glue the strain gauge very
securely to the material that is to be put under stress.
Page 4 of 109
Example 1.1
Consider a wire with a uniform cross sectional area. Show that the strain which is
proportional to its extension L will also be proportional to the change in resistance R .
Solution
You should recall that the resistance R of a wire of length L and of uniform cross-sectional
area A is given by:
L
R … (i)
A
where ρ is the resistivity of the material of the wire.
If you assume that there is a negligible change in the area of cross section when the wire
extends by a small amount L , then new resistance will be:
R R L L … (ii)
A
L
R or R α L .
A
Thus, if you assume that the area of cross section is constant, the strain which is proportional
to the extension L will also be proportional to the change in resistance R .
1.2 Using LDRs, thermistors and strain gauges in potential divider circuits
Input transducers (sensing devices) are usually connected to an electrical circuit which is
designed to provide a voltage that will control an output transducer. You can consider an
example of an input transducer which gives rise to a change in resistance R, say a thermistor
in Figure 1.5. A potential divider like the one shown in Figure 1.5 can be used to convert this
change in R into a change in voltage, V0.
Page 5 of 109
Figure 1.5: Potential divider circuit.
If you connect a supply of emf V S and negligible internal resistance in series with a fixed
resistor of resistance R F and a sensing device of resistance R, the output voltage V0 will
be:
R
V0 VS
RF R
Alternatively, you can divide both the numerator and denominator of the above equation by
.
This alternative expression provides an easier way of observing the dependence of the output
voltage with the changes in the voltage divider’s resistances.
Page 6 of 109
(ii) the thermistor becomes hot?
(b) Give any real life application of the circuit shown in Figure 1.5.
Example 1.2
A battery of emf 6.0V and negligible internal resistance is connected in series with a fixed
resistor of resistance 1kΩ and a strain gauge of resistance 2kΩ as shown in Figure 1.6.
Find the the potential difference between the terminals of the strain gauge.
Solution
Rs
Potential difference across the strain gauge Vin
Rs R
2000
6.0
2000 1000
4.0V
Example 1.3
A temperature sensor input subsystem is shown in Figure 1.7.
Page 7 of 109
Figure 1.7: Temperature sensor input subsystem.
The thermistor shown in Figure 1.7 has a resistance of 40 kΩ at 0 0C, 15 kΩ at 250 C, and
1 kΩ at 100 0C. Calculate the output voltage V0 at X at a temperature of 25 0C.
Solution
You can observe that at a temperature of 25 0C, the thermistor has a resistance R of 20k Ω.
Therefore, if you apply the potential division formula, you get:
15
V0 6
15 5
V0 4.5V
Page 8 of 109
Figure 1.8: Potential divider.
1.3 Output transducers: The light – emitting diode (LED), buzzer and relay
LEDs can emit different colours of light such as red, green, yellow, blue, white and amber
(etc.), depending on the material used in their manufacturing. Their low power consumption
makes them suitable for use as indicators. LEDs are solid-state devices, so they are much
more robust than filament lamps. A resistor is frequently connected in series with an LED, so
that when the LED is forward biased (the diode is conducting), the current is not so large as
to damage the LED.
Page 9 of 109
Figure 1.10: LED in series with a resistor R.
Example 1.4
An LED is used as the output device in a digital system that gives an output voltage of
0V or 12V as illustrated in Figure 1.11.
(a) Show in Figure 1.11 how the LED and another component should be connected
to the system to light when the output is high.
Page 10 of 109
Figure 1.11: Digital system.
(b) (i) The LED has a forward voltage drop of 2 V when it is conducting the required 25 mA
current. Calculate the value of the component you have chosen in part (a).
(ii) Find the power dissipated by this component.
(iii) If 25mA is the maximum allowable current through the LED. Choose an appropriate
preferred value for this component.
(iv) What is the colour code for the chosen value in part (b)(iii) if it has a tolerance of 5%?
Solution
(a)
Page 11 of 109
(b) (i) 12 2 10V
10
400 .
0.025
1.3.2 Buzzer
A buzzer is an electronic oscillator circuit connected to a solid-state sounder which is wired
and sealed inside a small plastic case. The leads which emerge from the case must be
connected to a power supply for the buzzer to sound.
A relay has normally closed contacts (n.c.) which open or normally open contacts (n.o.)
which close if you energise it.
Page 12 of 109
Self Assessment Question 1.6
List any two input and two output transducers.
1. What is a transducer?
2. Describe and explain the use of LDRs, negative temperature coefficient thermistors and
metal wire strain gauges in a voltage divider circuit to provide analogue signals.
3. You can replace R in Figure 1.5 with an LDR such that V0 responds to changes in light
intensity.
(a) What happens to the LDR’s resistance and eventually, the output voltage V0 as:
(i) darkness falls on the LDR?, and
(ii) light falls on the LDR.?
(b) Give any real life application of the circuit shown in Figure 1.5 with R still replaced by
an LDR.
5. Draw the electronic symbol for a relay and briefly describe its use in electronic circuits.
6. Write out in full the meaning of the following relay contact labels.
(a) NC, and
(b) NO.
Page 13 of 109
7. With the aid of a clearly labelled diagram, briefly describe the structure of a metal wire
strain gauge and hence show that R L , where R is the change in resistance and
L is the change in length of the wire.
The thermistor shown in Figure 1.14 has a resistance of 45kΩ at 00C, 20kΩ at 250C, and 1kΩ
at 1000C.
(a) At what temperature given above will the current through the circuit be maximum?
(b) Why does maximum current flow at this temperature?
(c) Determine the value of this current.
(d) What is the output voltage at P at this temperature?
9. Figure 1.15 shows a light sensor circuit and an LDR’s data sheet.
Page 14 of 109
Figure 1.15: Light sensor circuit and the LDR data sheet.
(a) Suppose you find that the lowest resistance of the LDR in bright sunlight is 100Ω. The
LDR maximum power dissipation is 100 mW. Calculate:
(i) the maximum current that can flow safely through the LDR in bright sunlight.
(ii) the total resistance of the LDR and fixed resistor R, that would limit the current
through the LDR to the value found in part (i).
(iii) the minimum resistance that could safely be used for R, and then choose the lowest
appropriate value from the E24 series.
(b) Determine the output voltage of the circuit at point X when the light level is:
(i) 10 lux.
(ii) 0 lux.
(c) State why the value of resistance chosen in part (a) (iii) is a poor choice for measuring
low light levels.
(d) How would you change the value of R calculated in part (a) (iii) to improve the situation
at low light levels?
(e) The circuit is powered from a 12 V battery of low capacity. State one other advantage
of changing the value of R.
10. A student builds a quiz-scoring circuit that has five LEDs as its output. The student
connects each of the five outputs of the circuit to the LEDs via five identical resistors as
shown in Figure 1.16.
Page 15 of 109
Figure 1.16: Quiz-scoring circuit.
(a) Each LED has a forward voltage drop of 1.7 V at the maximum forward current of
20 mA and the circuit produces a 9 V output signal when the corresponding LED is
switched on.
(i) Calculate the voltage across a resistor R when its LED is switched on.
(ii) Calculate the value of the resistor R needed.
(iii) Select the most suitable preferred value from the E24 series for R if the maximum
current for the LED is not to be exceeded.
(iv) Calculate the actual current through the LED when the preferred value of resistor in
part (a)(iii) is used; assume the LED forward voltage drop remains at 1.7 V.
(v) With no LEDs switched on, the quiz-scoring circuit alone draws 30 mA from the 9 V
power supply. Calculate the current consumption of this circuit with all the LEDs
switched on.
(vi) Comment on the suitability of a small, low capacity 9 V battery to power this system.
(b) The student decides to economise on resistors by connecting all the LED anodes
directly to the outputs of the circuit, and using a single resistor of the preferred value
chosen in part (a)(iii) to connect all LED cathodes to 0 V.
(i) Estimate the current through each active LED when three of them are switched on at
the same time.
(ii) Describe the appearance of the LEDs as different numbers of them are switched on.
Comment on the desirability of using a single resistor.
Page 16 of 109
11. A battery of emf 6.0V and negligible internal resistance is connected in series with a
fixed resistor of resistance 0.5kΩ and a thermistor as shown in Figure 1.17.
At room temperature, the thermistor’s resistance, RTH is 2.5kΩ. Calculate the potential
difference across the thermistor at room temperature.
Page 17 of 109
UNIT 2: OPERATIONAL AMPLIFIERS
2.0 Introduction
An operational amplifier (op-amp) is an integrated circuit of about twenty transistors together
with a few resistors and capacitors, all formed on a tiny silicon slice and sealed in a package
from which different connections to the external circuit emerge. In this unit, you will cover
the properties of op-amps, characteristics of op-amps, feedback and basic application
circuits.
Learning Objectives
After studying this unit, you should be able to:
list the properties of ideal and real op-amps;
deduce, from the properties of an ideal op-amp, the use of an op-amp as a comparator;
explain the principles of positive and negative feedback;
recall the circuit diagrams for both the inverting and the non-inverting amplifier for
single signal input;
use the virtual earth approximation to derive an expression for the gain of inverting
amplifiers;
recall and use expressions for the voltage gain of inverting and of non-inverting
amplifiers;
describe the use of an op-amp as a summer in the inverting mode;
identify and explain the use of an op-amp as a voltage follower;
describe the use of an op-amp as a non-inverting Schmidt trigger with positive
feedback provided by a potential divider.
Page 18 of 109
(a) (b)
Figure 2.1: Op-amp symbol.
In Figure 2.1 (a), suppose the voltages across the inverting and non-inverting inputs are V–
and V+ respectively, where both V– and V+ are greater than zero. An op-amp connected in this
way operates as a differential amplifier because it amplifies the difference between the two
input voltages V– and V+. The output voltage V0 is proportional to the difference between V–
and V+ (i.e.), if you connect an op-amp to appropriate power supplies, it gives an output
voltage V0 A0 V V
Page 19 of 109
However, a real op-amp has:
(i) very high input impedance, between 106 Ω and 1012 Ω;
(ii) very high open – loop gain, A0, about 105 for dc signals;
(iii) very low output impedance, of about 100 Ω;
(iv) limited bandwidth;
(v) limited slew rate;
Figure 2.2 is in the open loop mode since no feedback connection is put between the output
and either of the inputs. Therefore, you can find the open loop gain A0 as follows:
V0
A0
V V
(i.e.), open loop gain = output voltage the pd between the inputs.
Example 2.1
Use energy considerations to find the output voltage V0 in the comparator circuit shown in
Figure 2.2, if:
Page 20 of 109
positive supply line = +9.0 V,
V 1.5V , and
V 1.4V .
Solution
You can find the output voltage V0 as follows:
V0 A0 V V
Obviously, this cannot be possible because from energy considerations, the output voltage
can never exceed its own power supply voltage. Hence, the output voltage will be +9.0 V
and the op-amp is said to be saturated.
Example 2.2
Find the output voltage V0 in the comparator circuit shown in Figure 2.2, if:
V 4.541V , and
V 4.543V .
Solution
You can find the output voltage V0 as follows:
V0 A0 V V
Page 21 of 109
Again, this cannot be possible because from energy considerations, the output voltage can
never exceed its own power supply voltage. Hence, the output voltage will be – 6.0 V and
the op-amp is said to be saturated.
Therefore, you should take note that, unless the two input voltages are almost identical, the
op-amp is saturated. Also, the output’s polarity depends on which input is the larger. For
example, if V V , the output is positive.
The circuit incorporating the op-amp compares the two inputs and gives an output which
depends on whether V V , V V or V V and is known as a comparator.
A potential divider is usually connected to each of the two inputs as shown in Figure 2.3. One
potential divider provides a fixed voltage at one input while the other potential divider
provides a voltage dependent upon some physical property (e.g.), light intensity such that you
will have a comparator for use with an LDR like the one shown in Figure 2.3.
In Figure 2.3, the resistors of resistance R will give rise to a fixed voltage of ½V
at the inverting input.
The LDR, of resistance RLDR is connected in series with a fixed resistor of resistance RF.
If the LDR is in darkness, R LDR R F , then V V and the output saturates positively.
Page 22 of 109
If the LDR is in daylight, R LDR R F , then V V and the output saturates negatively.
The LDR could be replaced by other sensors to provide alternative sensing devices. For
example, use of a thermistor could provide a frost-warning device or temperature control
device.
Example 2.3
Figure 2.4 shows part of a comparator circuit.
Page 23 of 109
(i) V V .
(ii) V V .
Solution
(a) (i) and (ii)
Using the voltage divider rule:
1
The reference voltage, Vref 12 4V , so the two resistors should have the
1 2
following values, 1k and 2k , respectively, as shown in Figure 2.5.
P 120
(b) (i) ) I 10mA .
V 12
V 12
(ii) R 1.2k .
I 0.01
(iii) 1200 100 1.1k .
(c) (i) 0V.
(ii) 12V.
Page 24 of 109
constant voltage of 6.0V at the inverting input. Explain what happens to the LED when (i)
darkness and (ii) light falls on the LDR?
2.3 Feedback
Feedback refers to the process of taking some, or all, of the output of the op-amp and adding
it to the input. The basic arrangement is illustrated in Figure 2.7 where a fraction β of the
output voltage of the op-amp is fed back and added to the applied input voltage.
The op-amp itself amplifies whatever voltage is present at its input by an amount A 0, the
Page 25 of 109
V0 A0 Vin V0
If the fraction β is negative, then the denominator in the above equation must be greater than
unity. This produces an amplifying system with an overall gain that is smaller than the open-
loop gain A0 of the op-amp itself. Here, a fraction of the output voltage is fed back to the
inverting input, out of phase with the input voltage as illustrated in Figure 2.9.
Negative feedback may seem to make the process of amplification fruitless due to reduction
in overall gain but it has its own advantages:
an increase in bandwidth (i.e.), an increase in the range of frequencies over which
the gain is constant,
Page 26 of 109
less distortion, and
greater operating stability.
The resistors Rin and Rf form a potential divider between the input and the output of the op-
amp. For the op-amp not to be saturated, the two input voltages must be almost the same.
Here, the non-inverting input (+) is earthed (i.e.), connected directly to the zero-volt line.
Hence, the inverting input (–) must be virtually at the same potential as the non-inverting
input (i.e.), at zero volts (earth) and for this reason, the point P is known as a virtual earth.
You need to recall that the op-amp’s input impedance is very large such that no current flows
into either the non-inverting input or the inverting input. This means that the current from, or
to, the signal source must go to, or come from, the output, as shown in Figure 2.11. Since this
is an inverting op-amp, a positive input voltage gives rise to a negative output voltage and
vice versa.
Page 27 of 109
Figure 2.11: A positive input gives rise to a negative output and vice versa.
If you refer to Figure 2.10, bearing in mind that the op-amp draws no current because of its
high input impedance, you will observe that the current flowing through R in is equal to the
current flowing through Rf (i.e.), pd across Rin Rin = pd across Rf Rf.
Vin 0 0 Vout
Since P is at zero volts,
Rin Rf
Vout Rf
You can simplify the above equation to get the gain of the inverting op-amp,
Vin Rin
You should observe that for simplicity, the power supply lines are omitted and also the op-
amp is assumed to be not saturated.
Example 2.4
Calculate the closed loop gain of the inverting op-amp shown in Figure 2.10 when
Solution
Rf 40
Ainv 4
Rin 10 .
Page 28 of 109
Figure 2.12: Non-inverting op-amp.
If you assume that the op-amp is not saturated, then the two input voltages must be virtually
the same. Here, V Vin V .
You can apply the potential divider formula to find the inverting input voltage as follows:
R1
V Vout
R1 R f
R1
Therefore, V Vin V Vout
R1 R f .
If you rearrange the above equation, you get the overall voltage gain of the non-inverting op-
Vout Rf
amp, 1
Vin R1 .
The non-inverting op-amp gives an output that is in phase with the input.
Page 29 of 109
Figure 2.13: Summing op-amp in the inverting mode.
If you apply Kirchhoff`s current law at junction P (bearing in mind that no current flows into
the op-amp):
I in I f I 1 I 2 I 3 I f
V1 0 V2 0 V3 0 0 Vout
R1 R2 R3 Rf
V V V
Vout R f 1 2 3
R1 R2 R3
When the inputs are ac sources, the negative sign indicates that the output is 180 0 out of
phase with the actual sum.
Example 2.5
Calculate the output voltage of the summing amplifier circuit shown in Figure 2.13, when
V1 2mV , V2 12mV , V3 5mV and R1 R2 R3 R f 4k .
Page 30 of 109
Solution
R1 R2 R3 R f 4k , Therefore, V0 V1 V2 V3 2 12 5 mV 19mV
also occur to the output voltage (i.e.), the output voltage follows the input voltage. This
circuit is used to connect high impedance sources to low impedance loads and is known as a
unity gain buffer.
(a) Write down the name that you give to a special case of the non-inverting op-amp that is
1 f
obtained when R = ∞ and R = 0.
Page 31 of 109
(b) Determine the voltage gain of this op-amp.
You can set the input voltage to any value between the negative and positive power supply
limits by sliding the moveable contact up or down.
Let us suppose that you start with the wiper at Vin 12V (i.e.), at its lowest point so as to
make the voltage at the non-inverting input X negative and hence, less than the voltage at the
inverting input Y which is kept at 0V. This causes the output voltage to saturate negatively
(i.e.), Vout 12V .
Page 32 of 109
If you continue to slide the wiper upwards, it reaches a point midway along the potentiometer
such that Vin 0V . You can find the potential at X using the potential divider shown in
Figure 2.16.
4
The potential at X 12 3V .
4 12
Therefore, the output remains saturated negatively at – 12V since X’s potential will be again
less than Y’s potential.
If you continue to slide the wiper further upwards, then V in attains a more positive value until
it becomes equal to 4V. This causes a dramatic change in the output voltage due to positive
feedback. In other words, when Vin becomes approximately 4V, the potential at X
approximately becomes 0V (i.e.), it becomes equal to the potential at Y causing Vout to be 0V.
But if Vout 0V , X’s potential cannot be zero since the potential divider will be having the
potentials shown in Figure 2.17.
This results in a positive potential at X. Hence, X’s potential becomes greater than Y’s
potential causing a rapid increase in Vout until it saturates positively at +12V.
The process of switching Vout from – 12V to +12V occurs instantaneously and if you continue
to slide the moveable contact upwards, then V in attains more positive values. However, the
output remains saturated positively at +12V because feedback through the 12kΩ resistor
keeps X at a higher potential with respect to Y.
Page 33 of 109
2.8.2 Sliding downwards
If you now slide the moveable contact downwards, V in becomes less positive. However, the
output remains saturated positively at +12V since X’s potential will be still greater than Y’s
potential. Even if the contact reaches midway again (i.e.), Vin 0V , the output still remains
saturated positively at +12V.
If you continue to slide the wiper further downwards, then V in becomes more negative until it
becomes equal to – 4V. This causes a dramatic change in the output voltage due to positive
feedback. In other words, when Vin becomes – 4V, the potential at X becomes 0V (i.e.), it
becomes equal to the potential at Y causing Vout to be 0V.
Again if Vout 0V , X’s potential cannot be zero since the potential divider will be having
the potentials shown in Figure 2.18.
This results in a smaller potential at X as compared to Y (i.e.), X’s potential becomes less
than Y’s potential causing a rapid decrease in Vout until it saturates positively at – 12V.
If you continue to slide the moveable contact downwards, then V in attains more negative
values. However, the output remains saturated negatively at – 12V because feedback through
the 12kΩ resistor keeps X at a lower potential than Y.
You can use Figure 2.19 to illustrate the variation of Vout with Vin as you slide the moveable
contact from one extreme value (i.e.), – 12V to the other (i.e.), + 12V and back again.
Page 34 of 109
Figure 2.19: Variation of Vout with Vin as you slide the moveable contact from – 12V to
+ 12V and back again.
You should note that the switch over voltage of the trigger as the input moves in one direction
(i.e.), +4V is different from switch over voltage in the opposite direction (i.e.),
– 4V. You can as well alter the switch over voltages by making suitable choice of resistors.
Page 35 of 109
2.10 Unit 2 Questions
2. You have learnt that negative feedback reduces the gain of the op-amp. Explain why this is
favourable.
(a) Suppose the thermistor shown in Figure 2.20 has a resistance of 35kΩ at 00C, 10kΩ at
250C and 2kΩ at 1000C.
(i) Which one of these temperatures will result in a largest current flow through the
circuit?
(ii) Why does maximum current flow at this temperature?
(iii) Calculate the value of this current.
(iv) Determine the output voltage at A at this temperature.
(b) You are required to connect the temperature sensor subsystem to a comparator circuit so
as to detect when the water in an electric kettle boils.
(i) Find the reference voltage which the comparator must have to detect boiling water.
(ii) Draw a suitable circuit for the comparator which enables it to produce a high output
Page 36 of 109
when the water boils.
Choose suitable values for the resistors in your voltage divider and label them on
your circuit diagram.
Calculate and choose values of resistors, in the 1 kΩ to 10 kΩ range, for the circuit that
will make the comparator switch at 250C. Label these on the diagram.
(c) What voltage would you expect from the output of this circuit when:
(i) the temperature is 200C,
(ii) the temperature rises to 300C.
6. You are required to design a circuit that can be used to control the ventilation of an indoor
sporting venue at your school. When the temperature rises above a set level, your circuit
should automatically open the vents which are positioned high above the reach of
spectators.
(a) How can you convert air temperature into an electrical signal?
(b) Given that your circuit should be based on an op-amp. What type of circuit could provide
a switching action when the temperature rises above the set level?
(c) Briefly, describe the switching operation of your circuit - chosen in part (b), with
Page 37 of 109
reference to the two op-amp inputs and its output.
(d) Basing on your choices above, draw a circuit diagram that can give a high output voltage
when the temperature exceeds the set level.
7. You are asked by a music recording company to help in transferring their music
collection from cassette tape onto CD. Suppose you measure the output signal from the
cassette player and find it to have a typical value of 0.2V. The sound card in your
computer requires a typical input signal of 1.0V. You then decide to use an amplifier to
match the two signal levels.
(a) Calculate the required voltage gain of the amplifier.
(b) Draw the circuit diagram of a non-inverting amplifier which uses an op-amp.
(c) If the feedback resistor has a value of 240kΩ, calculate the value of the other resistor
needed to give the required voltage gain.
8. Figure 2.22 shows a system diagram for a guitar effects unit. The whole system operates
from a ±12Vsupply.
(a) The circuit diagram for the input buffer is shown in Figure 2.23.
Page 38 of 109
Figure 2.23: Input buffer.
(i) What voltage gain does the mixer circuit give to effect 1?
(ii) With the three effects switched off, state two differences between the signal at the
input and the output of the whole system.
9. Figure 2.25 shows the sensing element for the vibration sensor in a car alarm system.
Any vibration of the car causes the magnet to move relative to the coil resulting in the
generation of a small voltage by the coil. The circuit shown in Figure 2.25 is used to
Page 39 of 109
amplify this voltage.
Figure 2.25: The sensing element for the vibration sensor in a car alarm system.
(a) Give an estimate of the voltage at the inverting input of the op-amp when the output from
the coil is zero. State a reason for your answer.
(b) Calculate the voltage gain of the amplifier circuit when R1 = 10kΩ and R2 = 2.0MΩ.
10. You are required to use Figure 2.26 as part of a system that detects when the temperature
in a room exceeds 20°C.
(a) On Figure 2.26 name and label the device that you can use as a
(i) temperature sensor, and
(ii) comparator.
(b) Given that the comparator input B requires a reference voltage of 4 V.
(i) Draw two components and their connections to the circuit to show how you can
Page 40 of 109
achieve this.
(ii) Select suitable values for these components and mark these on the circuit diagram next
to each component.
(c) The temperature sensor data sheet gives a graph shown in Figure 2.27.
What is the value of R that would make the comparator switch at 20°C?
(d) Give the output voltage from this circuit when the voltage at X is greater than the
voltage at Y for an ideal comparator.
11. Describe and explain the properties of an ideal operational amplifier with regards to input
impedance, bandwidth and open loop gain.
12. A fridge alarm uses the circuit shown in Figure 2.28 to sound if the temperature becomes
too high.
Page 41 of 109
Figure 2.28: Fridge alarm circuit.
13. What is the effect of negative feedback on the gain of an operational amplifier?
14. A battery tester for 9V batteries lights a green LED as a good indicator if the battery is
more than 9.0 V. A yellow LED lights as a satisfactory indicator if the battery level is
more than 6.3 V but less the 9.0V. Figure 2.29 shows a voltage divider operating from
the tester’s 12V supply.
(a) Calculate the values of R1 and R2 so that the voltages at point P is 9.0V and the voltage
at point Q is 6.3 V.
Page 42 of 109
Figure 2.29: A voltage divider operating from the tester’s 12V supply.
(b) This voltage divider is connected to two op-amps. The battery to be tested is connected
between 0V and the non-inverting input of the in-put of the op-amps as shown in Figure
2.30.
(i) State the function of the op-amp when connected this way.
Page 43 of 109
(ii) What name is given to the inputs connected to 9.0V and 6.3V?
(c) The op –amps are powered are powers from 0V and 12V lines, assume that they behave as
ideal op- amps. Copy and complete Table 2.1 to show the voltages at the op-amp outputs M
and N when the battery has the shown voltage.
(d) (i) Copy the diagram in part (b) and add an LED labelled ‘green’ to show that the
battery being tested is “good’’, which will light if the voltage is more than 9.0V
include a series resistor.
(ii) Explain why a series resistor is needed.
(iii) Calculate the value of the series resistance required if the LED has a forward voltage
of 2.0 V and is designed to operate with a voltage of 2.0V.
(e) Add to the diagram in part (b) an LED labelled “yellow’’ and its series resistor to show
that the battery being tested is “ satisfactory’’, which will only light is the battery voltage
is between 6.3V and 9.0 V.
15. Figure 2.31 shows a non-inverting amplifier.
Page 44 of 109
(a) Calculate the voltage gain of this amplifier.
(b) If the input voltage Vin is 2V, calculate the output voltage Vout.
Page 45 of 109
Figure 2.33: Comparator.
The LEDs, L1 and L2 emit light when the output from the appropriate op-amp is positive and
high. When the negative temperature coefficient thermistor is at700C, the potential difference
across the resistor is 3.5V.
(i) Why does L1 emit light when the thermistor is at 700C while L2 does not.
(ii) The temperature of the thermistor is raised and there is a change of state of one or both
LED(s). State what change is observed.
(iii) Suggest one use of the circuit.
18. The system diagram for an electronic balance is shown in Figure 2.34. The balance is
powered by a ±9Vsupply.
(a) Output Q is passed through an amplifier with a voltage gain of – 1. Draw the circuit
diagram of an op-amp based amplifier with a voltage gain of – 1 and state suitable values
for any resistors that you use.
Page 46 of 109
(b) The circuit diagram for the summing amplifier is shown in Figure 2.35.
Label the virtual earth point on the amplifier with the letter Y.
Page 47 of 109
3.0 Introduction
Logic generally deals with binary variables (i.e.), things with only two possible values. You
can talk of a person to be male or female, a statement to be true or false (etc.). Here, the
binary variable is the voltage which can be high (logic 1) or low (logic 0). A high voltage
refers to one close to the positive of the power supply while a low voltage refers to one close
to the negative of the power supply. Basic logic functions are performed by logic gates which
are the fundamental building blocks of digital integrated circuits. Logic gates combine one or
more digital inputs to give an output.
Most logic gates have two inputs and one output. At any instant, each terminal is in one of
the two binary conditions low (0) or high (1). In most logic gates, the low state is
approximately zero volts (0 V), while the high state is approximately five volts positive (+5
V). In this unit you are going to cover the seven logic gates (i.e.), AND, OR, EX-OR, NOT,
NAND, NOR, and EX-NOR gates.
Learning Objectives
After studying this unit, you should be able to:
draw the logic symbols for AND, OR, EX-OR, NOT, NAND, NOR, and EX-NOR
gates;
construct , recognise and use truth tables for AND, OR, EX-OR, NOT, NAND, NOR,
and EX-NOR gates;
use AND, OR, EX-OR, NOT, NAND, NOR, and EX-NOR gates in logic circuits.
Page 48 of 109
Figure 3.1: The electronic symbol for an inverter or NOT gate.
A truth table is table that gives the state of the output for all possible values of the inputs. The
letters A, B, C (etc.), are conventionally used to denote the inputs while Q is used for the
output. You should take note that since a NOT gate has only one binary input, it has 21 2
possible combinations of input logic states.
Input Output
0 1
1 0
You should take note that since an AND gate has two binary inputs, it has 2 2 4 possible
combinations of input logic states.
Page 49 of 109
Self Assessment Question 3.1
Give an example of a real life situation where you can use an AND gate.
Example 3.1
Give an example of a real life situation where you can use an OR gate.
Solution
You can use an OR gate to design a burglar alarm for monitoring your bedroom’s door and
window as illustrated in Figure 3.4.
Example 3.2
A circuit with an on/off switch is shown in Figure 3.5.
Page 50 of 109
Figure 3.5: A circuit with an on/off switch.
(a) What is the state of the LED when the switch is:
(i) on, and
(ii) off.
(b) Which logic gate behaves in the same way as Figure 3.5? Explain your answer.
Solution
(a) (i) The LED will be off when the switch is on.
(ii) The LED will be on when the switch is off.
(b) The state of the LED is NOT the state of the switch so a NOT gate behaves in the same
way as Figure 3.5.
3.2. Interconnections of the three basic logic gates to form the NAND gate and the NOR
gate.
The NAND gate and the NOR gate can be formed from suitable interconnections of the basic
logic gates as follows.
Page 51 of 109
You should take note that since a NAND gate has two binary inputs, it has 2 2 4 possible
combinations of input logic states.
The NAND gate can be used to construct all other gates, so it has a universal function.
Example 3.3
Give an example of a real life situation where you can use a NAND gate.
Solution
When baking scones, the element in an oven does not need to remain on if the inside
temperature is too high 120 0 C or if the oven door is closed (see Figure 3.7).
Page 52 of 109
Figure 3.8: The electronic symbol for a NOR gate.
You should take note that since a NOR gate has two binary inputs, it has 2 2 4 possible
combinations of input logic states.
3.3. Interconnections of AND, NOT and OR gates, or NAND gates only to form
EXCLUSIVE-OR (EX-OR) and EXCLUSIVE-NOR (EX-NOR) gates.
EX-OR and EX-NOR gates can be formed from suitable combinations of AND, NOT and
OR gates, or NAND gates only as illustrated below.
An EX-OR gate has two input terminals and a single output terminal. The output is "true"
(logic 1) if the inputs are in different logic states, and the output is "false" (logic 0) if both
inputs are in same logic state. The gate acts in the same way as the logical "either/or"
operator. The symbol for an EX-OR gate is shown in Figure 3.9.
Page 53 of 109
The EX-OR gate is also referred to as the difference gate because the output is logic 1 when
the inputs are different.
Example 3.4
Use two switches, an LED and a dc power supply to draw a circuit diagram which behaves in
exactly the same way as an EX-OR gate. Explain your diagram.
Solution
The LED will be on if the state of switch 1 is different from the state of switch 2 (i.e.), The
LED will be on if switch 1 is on and switch 2 is off, and vice versa, but it excludes the state
when they are both on (see Figure 3.10).
Figure 3.10: A circuit diagram which behaves in exactly the same way as an EX-OR gate.
An EX-NOR gate is formed when an EX-OR gate is followed by a NOT gate. It has two
input terminals and a single output terminal. The output is "true" (logic 1) if the inputs are in
the same logic state, and the output is "false" (logic 0) if both inputs are in different logic
state. The gate acts in the same way as the logical "either/or" operator followed by negation.
The symbol for an EX-NOR gate is shown in Figure 3.11.
Page 54 of 109
Figure 3.11: The electronic symbol for an EX-NOR gate.
The EX-NOR gate is also referred to as the parity gate because the output is logic 1 when the
inputs are the same.
Example 3.5
Construct a truth table for the EX-NOR gate shown in Figure 3.11.
Solution
You should take note that since an EX-NOR gate has two binary inputs, it has 2 2 4
possible combinations of input logic states.
Page 55 of 109
NOR gate – Output is high only if neither first input nor second input is high.
EX-NOR gate – Output is high if both inputs are high or both inputs are low.
2. Draw the symbol for an AND gate and construct its truth table.
6. What is the name of the gate that is often called an inverter? Explain your answer.
Page 56 of 109
(iii) both switches 1 and 2 are off,
(iv) both switches 1 and 2 are on.
(b) Name a single logic gate which behaves in the same way as Figure 3.13? Give a reason
for your answer.
8. Use two switches, an LED and a dc power supply to draw a circuit diagram which behaves
in exactly the same way as an OR gate. Explain your diagram.
9. Table 3.6 shows how the input sensors A and B of an electronic system control the
outputs P, Q and R.
Table 3.6: The truth table showing how the input sensors control the output.
A B P Q R
0 0 1 1 1
1 0 0 1 0
0 1 0 1 1
1 1 0 0 0
(a) Which type of logic gate will produce the P output?
(b) Which type of logic gate will produce the Q output?
(c) Write down an expression which describes the R output.
4.0 Introduction
Page 57 of 109
Complicated operations can be performed using combinations of logic gates. In Boolean
algebra, variables and their functions are represented with upper case letters. You will also
represent the compliment of a variable with a ‘bar’ over the upper case letter. For example,
the compliment of C is C and if C 0 , then C 1 . In this unit you will cover Boolean
algebra and logic gate combinations.
Learning Objectives
By the end of this unit, you should be able to:
construct and interpret truth tables for combinations of logic gates;
describe the operation of combinational logic systems;
convert logic circuits consisting of mixed gates into circuits with either NAND or
NOR gates only;
use logic gate combinations to design a logic system from a truth table, written
description or Boolean algebra expression;
generate the Boolean expression from a truth table or logic diagram.
Solution
A A A1 1
But from rule (iv) 1 1 1 , so the right hand side of the equation simplifies to A1 A .
Therefore, A A A which is rule (vii).
Page 58 of 109
(5) A 0 0 .
(6) A 1 A .
(7) A A A .
A BC AB C .
Example 4.2
Apply the commutative law to the following expressions.
(a) C + D.
(b) C D .
Solution
(a) C + D = D + C.
(b) C D D C .
Page 59 of 109
Figure 4.1 shows a logic circuit with two logic gates combined together (i.e.), a NOT gate
and an AND gate. The circuit has two inputs (i.e.), A and B. Suppose you want to determine
the dependence of the output Q on the values of A and B so you should identify and label an
intermediate point, say, c.
Example 4.3
Figure 4.2 shows a logic circuit that can be used when designing the safety system for a car
park.
Page 60 of 109
Figure 4.2: A logic circuit.
Solution
(a) Table 4.2: Truth table.
A B c d Q
0 0 0 1 0
0 1 1 1 1
1 0 1 1 1
1 1 1 0 0
Example 4.4
Note: You should recall from unit 3 assessment question 3 that you can make a NOT gate
from a NOR gate by simply connecting both inputs of the NOR gate together as shown on the
lower gate which is connected to the day/night switch in Figure 4.3.
Page 61 of 109
Figure 4.3: Logic circuit.
Page 62 of 109
0 0 1
1 0 1
0 1 1
1 1 1
(b) Explain whether this proposed system would provide the building with an adequate level
of protection.
Solution
(a) Table 4.4: Truth table.
(b) The proposed system will not provide the building with adequate protection because the
siren is not activated if just one of Smoke detector, Break glass detector or Day/night
switch is at logic state 1.
Page 63 of 109
4.4 Logic circuit implementation using NAND gates only
The NAND gate can be used to construct all other gates (i.e.), to produce any logic function,
so it is a universal gate.
Page 64 of 109
Figure 4.8: NOR gate.
Example 4.5
The truth table for a logic circuit is shown Table 4.5.
Table 4.5: Truth table.
W X Y Z Q
0 0 1 0 0
0 1 1 1 1
1 0 1 1 1
(a) Inputs W and X are 1 1 0 1 0 connected to two logic
gates having outputs Y and Z. Given that Y and Z form the inputs to a third gate
which provides the output Q. Complete Figure 4.10 by drawing the logic circuit that
would give these outputs.
Page 65 of 109
Figure 4.10: Part of a logic circuit.
(b) Use Table 4.5 to write the simplest Boolean expression for the logic signals at Y and Z
in terms of the inputs W and X.
(c) Write the simplest Boolean expression for Q in terms of the inputs W and X.
(d) Name a single logic gate which performs the same function as the complete circuit
above.
Solution
(a)
(c)
Q W X W X
(d) EX – OR gate.
Example 4.6
A logic circuit with two inputs X and Y and output Q has the following the Boolean equation:
Q X Y X Y
X Y X Y X Y X Y Q
Page 66 of 109
0 0
1 0
0 1
1 1
(b) Complete Figure 4.12 to show how a logic circuit can be constructed from two
NOT gates, two OR gates and one AND gate to represent the Boolean equation above.
(c) State which single logic gate has the same function as the complete circuit above.
Solution
(a) Table 4.7: Truth table.
X Y X Y X Y X Y Q
0 0 1 1 1 0 0
1 0 0 1 1 1 1
0 1 1 0 1 1 1
1 1 0 0 0 1 0
(b)
(c) EX – OR gate.
Page 67 of 109
Self Assessment Question 4.4
A student constructs a circuit from the logic diagram shown in Figure 4.14.
(a) Use Table 4.8 to complete the truth table for this logic diagram.
Table 4.8: Truth table.
M N P R Q
0 0
1 0
0 1
1 1
(b) Write down Boolean expressions for the logic signals at P, R and Q in terms of the
inputs M and N.
(c) What single logic gate could perform the function of the whole circuit above?
Page 68 of 109
(b) A A .
(c) A A .
(a) Write down the Boolean expressions for the logic signals at M, N and O in Table 4.9
in terms of the inputs A, B and C.
(b) Write down the Boolean expressions for P and Q in terms of the inputs A, B and C.
(c) Copy and complete the logic circuit in Figure 4.15 with the correct gates that would give
the logic signals in the Table 4.9.
Page 69 of 109
Figure 4.15: Logic circuit.
4. The Boolean equation for a logic circuit with two inputs X and Y and output Q is:
Q X Y X Y .
(b) Complete the Figure 4.16 to show how a logic circuit can be constructed that
has the same function as the Boolean equation above using two AND gates, two NOT
gates, and one OR gate.
Page 70 of 109
Figure 4.16: Part of a logic circuit.
5. Suppose you want to fit an alarm to your deep freezer shown in Figure 4.17, which will
warn you if any danger of damage to stock in the freezer occurs.
Given that your freezer has sensors with the following outputs:
A in Figure 4.18 is at logic 1 if the temperature is too high to store frozen food and logic 0 if
the temperature is at or below the required temperature.
B is at logic 1 if the lid is closed and logic 0 if the lid is open.
Page 71 of 109
You are required to produce a logic system that gives an output Q which sounds the alarm
if Q is logic 1. You then decide that the alarm should sound if the lid is closed and the
temperature is too high, or the temperature is low and the lid is left open.
(a) If you design a system to implement this function. Write a Boolean expression for the
output Q, in terms of A and B.
(b) Draw a logic circuit for the system, using any type of logic gates.
(c) Using NAND gates only, draw a logic circuit which has the same function as a two-input
OR gate.
(d) Draw a logic circuit for the system in part (b), using NAND gates only. Draw a
ring round any redundant gates or re-draw the final system.
6. Suppose you are designing a simple testing device (see Figure 4.19) to check that metal
bars used in a factory are cut to a set length. The testing device should use three sensitive
switches, X, Y and Z, which give a logic 1 when pressed.
A bar is placed in the device and pressed against switch X.
Page 72 of 109
Figure 4.20: Circuit diagram.
(b) If the bar is of the correct length when placed against switch X, it presses switch Y, but
not switch Z as shown in Figure 4.21.
Page 73 of 109
Figure 4.22: Part of a logic circuit.
(d) Using NOR gates only, draw a logic diagram which performs the same function as your
logic diagram in part (c).
(a) Construct a truth table indicating the inputs A and B, along with the
intermediate points c, d, e and f and the output Q.
(b) State a single logic gate that is represented by the logic network.
8. Using NAND gates only, show how you can implement the following logic
gates:
Page 74 of 109
9. A logic circuit diagram is shown in Figure 4.24.
(a) Write the simplest Boolean expressions for the logic signals at points R and S.
(b) (i) Write the simplest Boolean expression for Q in terms of R and S only.
(b) (ii) Write a simple Boolean expression for Q in terms of O and P only.
(c) Copy and complete Table 4.11 to show the logic values of R, S and Q for all the
combinations of inputs O and P.
(d) Draw a logic circuit diagram using a single logic gate that would have the same function
as the original circuit.
Page 75 of 109
UNIT 5: ELECTRONICS IN SOCIETY AND INDUSTRY
5.0 Introduction
Electronics play a vital role in our day to day life. Just imagine a society or industry without
electronic devices such as mobile phones, televisions, radios, computers, (etc). Each
electronic system has an input (sensing) device which is connected to an output device via an
electrical circuit (processing unit) that will provide a voltage as its output. Electronic systems
are used to perform various tasks such as monitoring room temperature by switching a fan on
and off, sounding an alarm when a burglar breaks through a window (etc). You can as well
use them during your study period for light level detection, to indicate when the light level
falls, as a reminder to switch on a reading lamp to avoid eye strain.
.
The sensing device could be for example, an LDR so that light intensity may be monitored
(see 1.1.1) or a thermistor so that changes in temperature may be monitored (see 1.1.2) or a
strain gauge so that the strain experienced by a sample of material may be measured (see
1.1.3). The input device changes one of its physical properties (e.g. resistance) with a change
in whatever is to be monitored. In order that the information gathered by the input device
may be communicated, the change in its physical property must be processed so that an
output device will indicate this change. This output device could be, for example, a simple
indicator lamp, a loudspeaker or a digital meter. The output device will respond to a change
in voltage. In this unit, you will look at simple electronic devices that have made impacts in
society and industry.
Learning Objectives
Page 76 of 109
By the end of this unit, you should be able to:
recall that each electronic system consists of an input, electric circuit and an output;
draw a block diagram showing the three basic components of a given electronic
system.
describe the function of simple electronic devices and systems which are found in the
home, in industry and in communications;
describe the impact of electronic devices and systems on domestic and industrial
activities;
describe the impact of electronic devices and systems on modern communication.
5.1 Functions of electronic devices and systems
The information gathered by an input device should be processed for it to be of good use
(i.e.), the change in its physical property (e.g.), temperature in the case of a thermistor must
be processed so that an output device such as a loudspeaker/buzzer will sound to indicate this
change. Here, the output device responds to a change in voltage. Therefore, each electronics
system consists of three basic components illustrated in Figure 5.1, namely:
(i) the sensor or input,
(ii) the electric circuit or processing unit, and
(iii) the output.
Example 5.1
Figure 5.2 shows some good examples of electronic systems and their respective sensing
devices, processing units and output devices.
1. Record player.
2. Computer.
Page 77 of 109
3. Washing machine.
Figure 5.2: Sensing devices, processing units and output devices for a record player,
computer and washing machine.
Self Assessment Question 5.1
Draw block diagrams showing the corresponding sensor, circuit and output for the following
electronic systems.
(a) drinks machine.
(b) radio.
(c) telephone.
Example 5.2
Draw a block diagram showing the three basic components for an electronic system that can
be used to count the number of vehicles passing through a toll gate.
Solution
Page 78 of 109
Figure 5.3: An electronic system that can be used to count the number of vehicles passing
through a toll gate.
Example 5.3
Draw a block diagram showing the three basic components for an electronic system that can
be used to sound an alarm if you forget to switch off the car headlights.
Solution
Figure 5.4: An electronic system that can be used to sound an alarm if you forget to switch
off the car headlights.
5.2 The impact of electronic devices and systems on domestic and industrial activities
Factors that contribute to the huge growth in the electronics industry:
Thermionic valve technology has given way to modern solid-state electronics which:
is relatively much faster, hence, there is growth of modern electronic communication
systems,
enables very complex circuits to be availed in tiny packages as evidenced by the
reduction in size of electronic devices such as televisions, radios, telephones,
computers, (etc),
Page 79 of 109
is very cheap because mass production of integrated circuits reduces the cost
significantly,
has circuits that are much more reliable, durable due to absence of moving parts,
has circuits that require very little power to operate. This has facilitated the much
easier powering of modern devices using batteries.
Examples of some of the electronic devices that have made an impact on society:
Radio and audio,
Television and video,
Music reproduction and storage,
Communication systems (e.g.), mobile phones,
Computer and information technology (e.g.), internet,
Security systems (e.g.), vehicle anti-hijack alarms and burglar alarms,
Safety systems (e.g.), fire-warning alarms and flood warning systems,
Robotics, and
Mechatronics.
These electronics devices have generally improved the quality of day to day life but they also
have their own disadvantages, among them:
Loss of employment especially amongst manual workers due to automation and
control,
Confidential information may be leaked by electronic surveillance systems,
Military use of electronics in guided weapons of mass destruction.
Page 80 of 109
signals through digital means is made possible. For example, you can use an optical fibre to
have 256 music channels or 1920 telephone circuits.
Integrated circuits also play a major role in launching, positioning and maintenance of
geostationary satellites. The to and fro transmission of satellite signals on Earth takes place in
the high frequency region (i.e.), in the GHz region of the electromagnetic spectrum.
As compared to several years ago, the introduction of integrated circuits has brought about
some advantages such as:
increased reliability and availability of a wide range of electronic equipment, and
reduction in the capital and operating cost of equipment.
Page 81 of 109
(c) record player.
3. A student designs an electronic system to turn on a 12V lamp for a fixed period of time
when it gets dark.
(a) Choosing appropriate input, process, and output, label the system diagram in Figure 5.5
below to show a possible design for the lamp and its controller.
Figure 5.5: A possible design for the lamp and its controller.
(b) In which sub-system could
(i) an op-amp be used,
(ii) a LDR be used.
(c) The whole system draws a current of 15mA when the lamp is off. The current
increases to 515mA when the 12Vlamp is on. Calculate
(i) the lamp current,
(ii) the power rating of the lamp.
4. A student designs an electronic system to make an audible tone that pulses on and off
repeatedly when the temperature exceeds a certain level.
(a) Draw a system diagram to show a possible design using the following subsystems:
comparator, buzzer and temperature sensor.
(b) In which subsystem could
(i) an op-amp be used,
(ii) a thermistor be used.
5. A student designs an electronic system to control a ventilation fan for a greenhouse. The
fan should be switched on only when the temperature exceeds a certain set level.
(a) Choosing appropriate input, process and output subsystems from the list below, draw a
labelled block diagram to show a possible design for the system. Choose from:
comparator, fan motor and temperature sensor.
(b) In which subsystem would:
Page 82 of 109
(i) a thermistor be used?
(ii) an op-amp be used?
(c) The controller circuit operates from a 12V power supply and draws a current of 25 mA
under all conditions. The fan motor requires a current of 450 mA when switched on and
operates from the same 12V power supply.
Calculate:
(i) the total current drawn by the whole system when the fan motor is switched on
(ii) the input power to the whole system when the fan motor is switched on.
6. A student designs a noise warning system to alert the user to the presence of a noise level
likely to damage hearing. An LED flashes on and off when the noise level exceeds a safe
value.
(a) Label each subsystem in Figure 5.6 to show a possible design for the noise warning
system using the following subsystems: comparator, LED and sound sensor.
Page 83 of 109
The signal from the sound sensor is connected to point X in the comparator
circuit. What voltage would you expect from the output of this circuit when
(c) (ii) the voltage at X is 2V?
(c) (iii) the voltage at X rises to 6V?
7. A student designs a flood warning system. When the humidity goes above a set level,
a signal that operates a siren is produced.
Draw a system diagram by choosing appropriate input, process, and output subsystems
from the list below.
Alarm (audible warning device) comparator humidity sensor
Page 84 of 109
Unit 6: Solutions to Self Assessment Questions
Unit 1: Transducers
1.1 (a) (i) As the thermistor cools, its resistance increases and it takes a larger share of the
input voltage, so V0 rises.
(ii) Also as the thermistor becomes hot, its resistance decreases and it takes a smaller
share of the input voltage, so V0 falls.
(b) You can use this circuit to automatically switch on an electric iron if V0 rises above a
certain value or to switch it off when V0 falls below a certain value.
R
1.2 The output voltage, V0 VS
R RF
500
V0 12
500 1000
V0 4V
Page 85 of 109
V R 6 1 5V .
2.2 Here, the op-amp compares the ‘variable’ non-inverting input voltage with the ‘constant’
6.0V at the inverting input.
(i) If the LDR is in darkness, R LDR 15k , then V 6.0V and the output saturates
Vout Rf 40
2.3 The voltage gain, Aninv 1 1 5.
Vin R1 10
Vout Rf 0
1 1 1
Vin R1
(c) To connect high impedance sources to low impedance loads thereby eliminating
loading effects by drawing very little power from the signal source.
Page 86 of 109
2.5 Refer to sub-unit 2.8.
3.2 You should take note that since an OR gate has two binary inputs, it has 2 2 4 possible
combinations of input logic states.
The output is high if any one or both of the inputs are high, and the output is low if both
inputs are low.
3.3 A safety lock for the door to a mains electric supply that is locked during maintenance of
faulty electricity power lines.
3.4 You should take note that since an EX-OR gate has two binary inputs, it has 2 2 4
possible combinations of input logic states.
Here the output is at logic 1 if either, but not both, of the inputs are at logic 1, and the
output is logic 0 if both inputs are at logic 0 or if both inputs are at logic 1.
Page 87 of 109
The truth table for an EX-OR gate.
Input 1 Input 2 Output
0 0 0
1 0 1
0 1 1
1 1 0
Unit 4: Boolean Algebra and Combinational Logic
4.1 A AB A1 B
But from rule (ii) in sub-unit 4.1.1: 1 + B = 1. Therefore, the right hand side of the above
equation simplifies to A1 B A 1 .
Also from rule (6) in sub-unit 4.1.2: A 1 A . Therefore, A + AB = A.
4.2 (a) D E F D E F .
(b) D EF DE F .
4.3 Here you should observe that since there are three binary inputs, the possible number of
combinations of input logic states is 2 3 8 .
A B C e f g h Q
0 0 0 0 1 1 1 0
1 0 0 0 1 1 1 0
0 1 0 0 0 0 1 0
1 1 0 1 0 1 1 0
0 0 1 0 1 1 0 1
1 0 1 0 1 1 0 1
0 1 1 0 0 0 1 0
1 1 1 1 0 1 0 1
4.4 (a)
M N P R Q
0 0 1 0 0
1 0 1 1 1
0 1 1 1 1
1 1 0 1 0
(b) PM N
RM N
Q M N M N
Page 88 of 109
(c) EX – OR.
(b) Radio.
(c) Telephone.
5.2
5.3
Photocopiers,
Printers,
Page 89 of 109
ATM. (Many others)
5.4
Tasks can be performed efficiently,
Production improves,
Communication is faster.
Page 90 of 109
Unit 1: Transducers
1. A transducer is an electronic device that converts energy from one form to another.
3. (a) (i) As darkness falls on the LDR, its resistance R increases and V0 increases.
(ii) But as light falls on the LDR, R decreases and V0 also decreases.
(b) This circuit can be used to automatically switch street lights on at dusk if V0 rises
above
a certain value and to switch them off at dawn when V0 falls below a certain value.
8. (a) 100°C.
(b) The thermistor has its minimum resistance at this temperature
P
9. (a) (i) I .
R
Page 91 of 109
I 32mA . (Allow 31.6mA).
V
(ii) R .
I
12
R 375 . (Allow 379 Ω)
0.032
300
(b) (i) 12 0.35V .
10300
300
(ii) 12 0.036V .
100300
RTH
11. Potential difference across the thermistor, VTH V IN
RTH R
Page 92 of 109
2500
6.0
2500 500
5.0V .
2. Negative feedback increases the bandwidth (i.e.), it improves the frequency response.
Negative feedback makes the circuit stable and easy to control.
5. Choice of 20kΩ.
20 2
(a) potential divider calculation: V0 9 6 V .
20 7 3
Page 93 of 109
R2 20 10
(b) Ratio of the two resistors:
R1 7 3.5
Vout 1.0
7. (a) 5.
Vin 0 .2
(b)
Page 94 of 109
RF 240
(c) Gain 1 5 1 .
R1 R1
240
R1 60k .
4
Page 95 of 109
(c) The thermistor has a resistance of 20kΩ at 20°C.
2 : 1 ratio .
R = 10kΩ.
(d) 0V.
11. Infinite input impedance: No current is drawn into either of the input
Infinite open loop gain: Even a slight difference in the voltage of the inputs will cause the
output to saturate.
Infinite bandwidth: It amplifies all frequencies by the same magnitude.
R2
(b) Using the potential divider rule: V B VS
R1 R2
6
VB 10 6V .
6 4
RTH
(d) VS V A
RTH R3
RTH
10V 6V
R
TH 10 k
Page 96 of 109
If you make RTH the subject of formula you get: RTH 1.5k .
(e) It saturates positively.
R1 R2 9k …(i)
R2
9V 6.3V .
R1 R2
R2
9V 6.3V .
9k
R2 6.3k.
R1 2.7 k .
Page 97 of 109
(d) (i)
Page 98 of 109
Rf 140
15. (a) Voltage gain of the amplifier 1 1 15 .
R1 10
(d) The current flowing through Rin is equal to the current flowing through Rf (i.e.), pd
across Rin Rin = pd across Rf Rf.
Vin 0 0 Vout
Since P is at zero volts,
Rin Rf
You can simplify the above equation to get the gain of the inverting op-amp,
Vout Rf
Vin Rin .
Page 99 of 109
low operating stability, and
more distortions.
17. (a)
3. (a) and (b) You simply connect both inputs of a NAND gate or a NOR gate together (as
illustrated in the truth tables below) so that the only possible combinations will be C = 0 and
D = 0, or C = 1 and D = 1.
(a)
C D Q
0 0 1
0 1 1
1 0 1
1 1 0
(b)
C D Q
0 0 1
0 1 0
1 0 0
1 1 0
8. The LED will be on if either switch 1 is on or switch 2 is on. It includes the state when
both switches are on.
2. E F G EF EG .
3. (a) M A C
N B C
O A B
Q AC BC A B
(c)
(b)
5. (a) Q A B A B
(d)
OR
(b) P X Y Z (or X Z ).
Q X Y Z .
R X Y Z (or R X Y ).
(c)
7. (a)
A B C d E F Q
0 0 1 1 0 0 0
1 0 1 0 1 0 1
0 1 0 1 0 1 1
1 1 0 0 0 0 0
S OP
2.
Loss of employment especially amongst manual workers due to automation and
control,
Confidential information may be leaked by electronic surveillance systems,
Military use of electronics in guided weapons of mass destruction. (many others).
3. (a)
4. (a)
5. (a)
6.(a)
(b) Comparator.
(c) (i)
1
VY 12 4V .
1 2
(ii) 12V.
(iii) 0V.
7.
Azzorpadi, F. and Stewart, B. (1995). Accessible Physics. Macmillan Press Limited, London.
Johnson, K. and Hewett, S. (2000). Advanced Physics for You. Nelson Thornes Limited, Delta
Place, UK.
Nelkon, M. and Parker, P. (1982). Advanced level Physics. Heinemann Educational Books
Limited, London.
http://www.ee.surrey.ac.uk/Projects/Labview/gatesfunc/
http://www.howstuffworks.com/digital-electronics.htm
http://www.en.wikipedia.org/wiki/Transucer