Electronics
Electronics
Electronics
AND
INTERMEDIATE ELECTRONICS
2001
Search
the CD.
Please send your order to the following address.
Graham Knott
27, Edinburgh Road
Cambridge
CB4 1QR
UK
phone 01223 502751
GENERAL THEORY
COMPONENTS
TEST AND
MEASUREMENT
DIGITAL
CIRCUITS
CLICK HERE TO BUY THE CD
LOGIC GATES AND GATES OR GATES
MULTIVIBRATORS NOT GATES EXCLUSIVE OR
NOR GATES BINARY NAND GATES
BISTABLE AS DIVIDER THE 7490 DECADE COUNTER BINARY/7 SEGMENT DECODER
HEXADECIMAL
DC THEORY
BLOCK DIAGRAMS
INTERMEDIATE ELECTRONICS
CLICK HERE TO BUY THE CD
THE DIODE
THE JUNCTION TRANSISTOR
TRANSISTOR FAULT FINDING
THE UNIJUNCTION TRANSISTOR
THE FIELD EFFECT TRANSISTOR
THE OPERATIONAL AMPLIFIER (OPAMP)
BELS, DECIBELS AND dB
THE THYRISTOR, TRIAC AND DIAC
MULTIVIBRATORS
THE SCHMITT TRIGGER 1
THE SCHMITT TRIGGER 2
REACTANCE AND IMPEDANCE IN AC
CIRCUITS
PHASORS AND RESONANCE
MICROPROCESSOR SYSTEMS
COMBINATIONAL LOGIC
FLIP-FLOPS
SEQUENTIAL LOGIC
THE DIODE
CLICK HERE TO BUY THE CD
INTRODUCTION TO DIODES
SEMICONDUCTOR MATERIALS
THE P-N JUNCTION
THE BARRIER
THE FORWARD BIASED JUNCTION
THE REVERSE BIASED JUNCTION
FORWARD AND REVERSE BIASED
DIODES
A DIODE PUZZLE
DIODE VOLTAGES
DIODE CHARACTERISTIC CURVES
DIODE CONNECTIONS
THE HALF WAVE RECTIFIER
THE RESERVOIR CAPACITOR
THE FULL WAVE RECTIFIER
THE VOLTAGE DOUBLER
DIODE CLIPPERS AND LIMITERS
THE STEERING DIODE
THE DIODE AS A GATE
USING THE LIGHT EMITTING DIODE
THE SEVEN SEGMENT DISPLAY
THE ZENER DIODE
THE VARICAP DIODE
DIODE PROTECTION CIRCUITS
MULTIVIBRATORS
CLICK HERE TO BUY THE CD
THE ASTABLE
THE MONOSTABLE
THE BISTABLE
falls.
The emitter current of Tr2 through falls, reducing the voltage
across it.
This further increases the conduction of Tr1, producing a
cumulative effect.
Tr1 comes on very rapidly and Tr2 goes off.
Tr2 collector voltage goes high.
INPUT GOES LOW TO MAKE OUTPUT LOW
When the input voltage falls, it has to go below 0.6 volts
before Tr1 collector current starts to fall.
Again there is a cumulative action which rapidly turns Tr1 off
and Tr2 on.
Tr2 collector voltage falls.
The difference in the values of Tr1 base TURN ON and TURN
OFF voltages is known as HYSTERESIS.
The Schmitt Trigger can be used to clean up noisy signals or
to speed up slow rise and fall times of pulses.
PHASORS IN AC CIRCUITS
CLICK HERE TO BUY THE CD
PHASE AND PHASORS IN AC CIRCUITS
RESISTANCE IN AC CIRCUITS
CAPACITANCE IN AC CIRCUITS
INDUCTANCE IN AC CIRCUITS
L, C AND R IN SERIES, IN AC CIRCUITS
L, C AND R IN PARALLEL, IN AC CIRCUITS
SERIES RESONANCE IN AC CIRCUITS
PARALLEL RESONANCE IN AC CIRCUITS
MICROPROCESSOR SYSTEMS
COMBINATIONAL LOGIC
CLICK HERE TO BUY THE CD
TRUTH TABLES FOR LOGIC GATES
DIODE LOGIC
DIODE TRANSISTOR LOGIC
TRANSISTOR TRANSISTOR LOGIC
AN INTRUDER ALARM
A COFFEE MACHINE
MAKING OTHER GATES USING NANDS
MAKING OTHER GATES USING NORS
RECORDING CIRCUIT LEVELS
TRAFFIC LIGHTS
BOOLEAN EXPRESSIONS
LOW LEVEL ACTIVATED GATES
DE MORGAN'S THEOREM
APPLYING DE MORGAN
THE HALF ADDER
THE FULL ADDER
3 BIT ADDER
ENCODERS
DECODERS
THE 7447A DECODER
TRI-STATE LOGIC
FLIP-FLOPS
CLICK HERE TO BUY THE CD
A TRANSISTOR R-S FLIP-FLOP
NOR GATE FLIP-FLOP
SWITCH DEBOUNCING
HIGH ACTIVATED R-S FLIP-FLOP
LOW ACTIVATED FLIP-FLOP
CLOCKED R-S FLIP-FLOP
CLOCKED D TYPE FLIP-FLOP
EDGE TRIGGERED FLIP-FLOPS
TOGGLE FLIP-FLOP
MASTER/SLAVE D TYPE FLIP-FLOP
J-K MASTER FLIP-FLOPS
J-K WITH SET AND PRESET
SEQUENTIAL LOGIC
CLICK HERE TO BUY THE CD
ASYNCHRONOUS UP COUNTERS
ASYNCHRONOUS DOWN COUNTERS
SYNCHRONOUS COUNTERS
DIVIDERS
THE DECADE COUNTER
THE 7490 COUNTER/DIVIDER
THE SISO SHIFT REGISTER
THE SIPO SHIFT REGISTER
THE PISO SHIFT REGISTER
THE PIPO SHIFT REGISTER
DIGITAL TO ANALOGUE CONVERSION
ANALOGUE TO DIGITAL CONVERSION
MULTIPLEXERS AND DEMULTIPLEXERS
CIRCUIT SYMBOLS
CLICK HERE TO BUY THE CD
CIRCUIT DIAGRAMS
CLICK HERE TO BUY THE CD
Circuit diagrams are one method of describing electronic
equipment.
They are made up of BS3939 standard circuit symbols.
Feedback
CLICK HERE TO BUY THE CD
CONDUCTORS
These are materials in which it is easy to get electrons to
move and provide a flow of electric current.
Conductors are mostly metals such as gold, silver, copper,
iron and lead.
Carbon is a conductor as well as some gases (as in
fluorescent tubes) and water containing some chemicals.
These are not perfect conductors and offer some resistance to
the flow of current.
The resistance of a conductor (such as a metal rod) is
determined by three things.
(1) its length. The longer its length the higher its resistance.
(2) its cross-sectional area. The bigger this is the lower is its
resistance.
(3) the material of which it is made.
All materials have RESISTIVITY.
The higher the value of resistivity the higher the resistance.
It is measured in OHM METRES.
length x resistivity
Resistance = -------------------------------
cross-sectional area
INSULATORS
These are materials in which it is difficult to get current to flow.
Examples are rubber, pvc, paper, polystyrene and oil.
Even with these it is possible to get some current flowing if the
applied voltage is high enough.
PULSES
CLICK HERE TO BUY THE CD
Here is the characteristics of a single pulse.
The voltage rises very rapidly from zero to its maximum value.
It stays steady at the maximum value for a time.
It then falls very rapidly back to zero.
The duration of a pulse can be anywhere from a very long
time (days) to a very short time (picoseconds or less).
Pulses do not rise and fall instantaneously but take time
(which may be very short).
They are called the RISE and FALL times.
Note that the horizontal line in all these graphs is called the X
axis and the vertical line is the Y axis.
TIME CONSTANTS
CLICK HERE TO BUY THE CD
FILTERS
CLICK HERE TO BUY THE CD
THE INTEGRATOR
CLICK HERE TO BUY THE CD
THE DIFFERENTIATOR
CLICK HERE TO BUY THE CD
ELECTROMAGNETISM
CLICK HERE TO BUY THE CD
When current travels through a wire, a magnetic field, made of
lines of force, is formed around the wire.
If the wire is coiled, the lines of force link with each other.
The result is a magnetic field with the same shape as the field
surrounding a bar magnet.
The strength of the field is determined by the number of turns
and the current through the coil.
The field can be concentrated by placing a steel or iron CORE
in the centre of the coil.
This is called an ELECTROMAGNET or SOLENOID.
Higher in frequency than this are infra red, visible light, ultra
violet, X rays etc which are all forms of Electro Magnetic
radiation.
MAGNETS
CLICK HERE TO BUY THE CD
Some irons, when dug up, attract other metals.
They are called MAGNETS.
The reason that they are magnetic is that their DOMAINS are
aligned.
One end of a bar magnet is the NORTH POLE, the other end
the SOUTH POLE.
A rule of magnetism is that LIKE POLES REPEL, UNLIKE
POLES ATTRACT.
North attracts South and repels North etc.
The North pointer on a compass is actually a South pole since
it is attracted by the North pole of the earth.
A magnet is surrounded by an invisible MAGNETIC FIELD
made of magnetic LINES OF FORCE.
These lines of force can be made visible by covering a magnet
with a sheet of paper and sprinkling iron filings on the paper.
AMPLIFIERS
CLICK HERE TO BUY THE CD
OSCILLATORS
CLICK HERE TO BUY THE CD
PHASE
CLICK HERE TO BUY THE CD
The generator at the power station which produces our AC
mains rotates through 360 degrees to produce one cycle of
the sine wave form which makes up the supply.
LIGHT
CLICK HERE TO BUY THE CD
Light is an electromagnetic wave similar to radio waves. It has
wavelength and frequency.
It travels at 300,000,000 metres per second.
Wavelength, frequency and the speed of light are related.
Wavelength x frequency = the speed of light.
Different colours of light have different frequencies.
When a ray of light hits a shiny surface it is REFLECTED.
The angle of reflection equals the angle of incidence.
FREQUENCY MODULATION
CLICK HERE TO BUY THE CD
HARMONICS
CLICK HERE TO BUY THE CD
SOUND
CLICK HERE TO BUY THE CD
Sound waves are caused by vibrations such as that from a
tuning fork, a loudspeaker cone, or the human voice.
These vibrations need air to travel through. They cannot travel
through a vacuum.
The air itself doesn't travel.
The sound causes compression and decompression of the air
as it moves through it.
There is a regular spacing between one pressure peak and
the next.
This distance is called the WAVELENGTH.
AMPLITUDE MODULATION
CLICK HERE TO BUY THE CD
If you connect a long wire to the output terminals of your Hi-Fi
amplifier and another long wire to the input of another
amplifier, you can transmit music over a short distance.
DON'T try this. You could blow up your amplifier.
A radio wave can be transmitted long distances.
To get our audio signal to travel long distances we piggyback
it onto a radio wave.
This process is called MODULATION.
The radio wave is called the CARRIER.
The audio signal is called the MODULATION.
At the receiving end the audio is recovered by a process
called DEMODULATION.
From the diagram below, it can be seen that when the carrier
is modulated, its amplitude goes above and below its
unmodulated amplitude.
It is about 50% modulated in the diagram.
The maximum percentage modulation possible is 100%.
Going above this causes distortion.
Most broadcasters limit modulation to 80%.
Since the audio signal is not a single frequency but a range of signals
(usually 20 Hz to 20 KHz) the sidebands are each 20Hz to 20 KHz wide.
If you tune across a station in the Medium Wave Band you will find that it
takes up space in the band.
This is called the signal BANDWIDTH.
This is the space taken by the upper and lower sidebands.
In the the example given above it would be 40 KHz.
Since the Medium Wave is only 500 KHZ wide there would only be space
for about 12 stations.
Therefore the bandwidth of stations is limited to 9 KHz, which limits the
audio quality.
If there are two stations too close together, their sidebands mix and
produce HETERODYNE whistles.
Since both sidebands carry the same information, one side can be
removed to save bandwidth.
This is SSB, single sideband transmission.
THE MIXER
CLICK HERE TO BUY THE CD
PULSE MODULATION
CLICK HERE TO BUY THE CD
Here the width and amplitude of the pulse are constant but its
position is determined by the amplitude of the modulating
signal.
AVERAGES
CLICK HERE TO BUY THE CD
PERCENTAGES
CLICK HERE TO BUY THE CD
SEMICONDUCTOR MATERIALS
CLICK HERE TO BUY THE CD
HEAT
VALUE MULTIPLIERS
CLICK HERE TO BUY THE CD
In Electronics we use some very large and some very small values.
To make them easier to deal with we use MULTIPLIERS.
For example 1000,000,000,000 Hertz can be labelled 1 Terahertz.
and 0.000,000,000,001 Ohms is the same as 1 picohm
PREFIX SYMBOL MULTIPLICATION FACTOR
------------------------------------------------------------------------------------------------------
tera T 1,000,000,000,000
giga G 1,000,000,000
mega M 1,000,000
kilo K 1,000
milli m 0.001
micro u 0.000,001
nano n 0.000,000,001
pico p 0.000,000,000,001
THE DIODE
CLICK HERE TO BUY THE CD
Diodes are polarised, which means that they must be inserted
into the PCB the correct way round.
This is because an electric current will only flow through them
in one direction (like air will only flow one way through a tyre
valve).
Diodes have two connections, an anode and a cathode.
The cathode is always identified by a dot, ring or some other
mark.
The pcb is often marked with a + sign for the cathode end.
Diodes come in all shapes and sizes.
They are often marked with a type number.
Detailed characteristics of a diode can be found by looking up
the type number in a data book.
If you know how to measure resistance with a meter then test
some diodes. A good one has low resistance in one direction
and high in the other.
There are specialised types of diode available such as the
zener and light emitting diode (LED).
INTEGRATED CIRCUITS
CLICK HERE TO BUY THE CD
IC's, often called "chips", come in several shapes and sizes.
Most common are 8, 14, or 16 pin dual in line (dil) chips.
IC's can be soldered directly into printed circuit boards, or may
plug into sockets which have already been soldered into the
board.
When soldering, ensure that the IC (or the socket) is the
correct way round and that no pins have been bent
underneath the body.
When fitting new IC's it is often necessary to bend the pins in
slightly, in order to fit it into the board (or socket).
Some IC's are damaged by the static electricity which most
people carry on their bodies. They should be stored in
conductive foam or wrapped in tin foil. When handling them,
discharge yourself periodically by touching some metalwork
which is earthed, such as a radiator.
Solder two diagonally opposite pins (say pin 1 and pin 5 in the
diagram below) and check that the IC is flat on the board
before soldering the rest. If it is not flat then reflow the solder
on the two pins pushing the IC flat. When satisfied, solder the
remaining pins.
Take when removing faulty IC's from pcb's. You may damage
a 100 pound board when carelessly removing a 20p IC.
FUSES
CLICK HERE TO BUY THE CD
If there is a fault in a piece of equipment then excessive
current may flow.
This will cause overheating and possibly a fire.
Fuses protect against this happening.
Current from the supply to the equipment flows through the
fuse.
Always find out why the fuse blew before replacing it.
Occasionly they grow tired and fail. If the fuse is black and
silvery then it is likely that there is a dead short (very low
resistance) somewhere.
SWITCHES
CLICK HERE TO BUY THE CD
Fig. 1
Switches are used to open/close a circuit.
Fig. 2
S1 is a "single pole on/off" switch in the off position.
Fig. 3
This is a "2 pole on/off" switch which completely isolates the lamp from the
supply in the off position.
This may be important if it is a high voltage supply.
The dotted line indicates that S1a and S1b are part of the same switch
"ganged" together and operate simultaneously.
Fig. 4
This is a "single pole changeover" switch.
Either lamp 1 or lamp 2 is on.
Fig. 5
This is a "2 pole changeover" switch.
The unlit lamp is completely isolated from the supply.
Again S1a and S1b are part of the same switch.
Fig. 6
This is a "single pole 5 way" switch.
It can select 1 of 5 circuits.
You can have 2p 5w, 3p 4w etc.
Fig. 7
This shows
(1) a "normally closed, push to break".
(2) a "normally open, push to make".
(3) both used together to make a "changeover" switch.
Fig. 8
This is a "changeover" slide switch.
When operated a-b opens and b-c closes.
Here are assorted switch types. Panel-Toggle-Make before
break-Pneumatic-Wafer-Proximity-Light activated-Toggle-Rotary
Reed-Pull-Locking-Vane-Interlocking-Rocker-Dimmer-Mercury-Tilt-Microswitch
Thumbwheel-Key-Wafer-Slide-Float-Optical-Foot-Thermal-Hall effect
7 SEGMENT DISPLAYS
CLICK HERE TO BUY THE CD
Early wrist watches used this type of display but they used
so much current that the display was normally switched off.
To see the time you had to push a button.
Common cathode displays where all the cathodes are joined
are also available.
Liquid crystal displays do a similar job and consume much
less power.
Alphanumeric displays are available which can show letters
as well as numbers.
BATTERIES
CLICK HERE TO BUY THE CD
Batteries are assembled from cells, connected in series, to
increase the voltage available.
In a cell chemical energy is converted into electrical energy.
Cells may be either PRIMARY or SECONDARY types.
A primary cell is discarded when its chemical energy is
exhausted.
A secondary cell can be recharged.
The most common primary cell is the zinc/carbon (Leclanche)
as used in torches, portable radios etc.
CIRCUIT SYMBOLS
CLICK HERE TO BUY THE CD
INDUCTORS
CLICK HERE TO BUY THE CD
Inductors are coils of wire.
They may be wound on tubular FORMERS or may be self
supporting.
The former may contain a metallic core up its centre.
Iron cores are used for frequencies below about 100 kHz.
Ferrite cores are used for frequencies up to say, 10 Mhz.
Above 100Mhz the core is usually air and the coil is self
supporting.
At low frequencies the inductor may have hundreds of
turns, above 1 Mhz only a few turns.
Most inductors have a low DC resistance since they are
wound from copper wire.
Inductor values of INDUCTANCE are measured in
HENRIES.
Inductors oppose the flow of ac current.
This opposition is called INDUCTIVE REACTANCE.
Reactance increases with frequency and as the value of
the inductance increases.
THE TRANSFORMER
CLICK HERE TO BUY THE CD
USING LED's
CLICK HERE TO BUY THE CD
resistor.
From Ohm's Law we can now calculate the value of the
resistor.
Resistance = Volts divided by Amps = V/I = 10/0.02 =500
ohms.
Since this is not a standard value we can use a 470 or 560
ohm resistor as this application is not critical of values.
RESISTORS
CLICK HERE TO BUY THE CD
Resistors are electronic components which resist the flow of electronic
current.
The higher the value of resistance (measured in ohms) the lower the
current will be. This was discovered by Mr Ohm.
The simplest resistors are made from carbon rod with end caps and wire
leads.
Other types are carbon film which is a thin layer of carbon on a ceramic
rod, and metal oxide and metal glaze on glass rods.
Wire wound resistors are used where the resistor has to dissipate a lot of
heat.
Faulty resistors have gone open circuit or changed in value. They never
go short circuit.
Some resistors are designed to change in value when heated. They are
called THERMISTORS and are used in temperature measuring circuits.
Some resistors change in value when exposed to light. They are called
LIGHT DEPENDANT RESISTORS.
Most resistors are colour coded to indicate their value and tolerance.
Wire wound resistors have their value written on them. (colours would
change with heat).
High stability resistors (marked with a fifth pink band) do not change
value easily.
Resistors generate heat. Resistors have a wattage rating. The higher this
rating the more heat they can dissipate.
This mean that 1 ohm, 12 ohm, 180 ohm, 2200 ohm resistors etc are
available.
1000 ohms is 1k, 1000,000 ohms is 1M. 3,300,000 ohms is 3.3M etc.
Decimal points are not used on circuit diagrams (they may be confused
with fly specks).
3.3M would be written as 3M3 and 1.8k as 1K8 etc.
R22M= 0.22 ohm 20% 4R7K= 4.7 ohm 10% 68RJ=68 ohm 5%
CAPACITORS
CLICK HERE TO BUY THE CD
On its way from the gun to the screen the beam passes
between 2 sets of plates.
They are called the X and Y plates (as in graphs).
By applying voltages to these plates the beam can be
deflected.
This causes the spot to move from the centre of the screen to
another position on the screen.
The X plates plates deflect the spot horizontally, the Y plates
vertically.
Thus the spot can be deflected to any position on the screen.
External deflection coils are often used instead of the internal
deflection plates.
Note that dropping a CRT causes it to IMPLODE which is as
dangerous as an explosion.
TRANSFORMER TYPES
CLICK HERE TO BUY THE CD
THE LOUDSPEAKER
CLICK HERE TO BUY THE CD
Philips Semiconductors
Texas Instruments
National Semiconductor
Mitel Semiconductor
COMPONENT SUPPLIERS
CLICK HERE TO BUY THE CD
Farnell
CPC
RS Components
Avnet Macro
Arrow
CHOOSING CAPACITORS
Size and shape as well as electrical charactaristics must be
considered if it is to fit into the available space.
AXIAL capacitors are the same shape as resistors with a wire coming
out of each end.
RADIAL ones have both leads coming out of the same end.
Make sure it has the correct lead spacing.
Ensure that the circuit voltages do not exceed the capacitors
maximum working voltage.
Electrolytic and tantalum capacitors are polarised and must be fitted
the correct way round.
TYPE RANGE TOLERANCE STABILITY APPLICATIONS
paper 10 nF to 10 uF 10% fair motor start, mains interference
suppression
silver mica 5 pF to 10 nF 0.5 % excellent tuned circuits and filters
ceramic low loss 5 pf to 10 nF 10 % good coupling and decoupling
ceramic high k 5 pF to 1 uF 20 % fair "
ceramic monolithic 1 nF to 47 uF 10 % good "
polystyrene 50pF to 0.5 uF 1% excellent tuned circuits, timing and filters.
polyester 100 pF to 2 uF 5% fair general purpose, coupling and
decoupling.
polypropylene 1 nF to 100 uF 5% fair mains suppression and motor
start
electrolytic 1uF to 100,000 uF 50 % fair LF decoupling and smoothing
tantalum 1 uF to 2000 uF 5% excellent LF coupling, decoupling and
timing
MEASUREMENTS.
These usually require the use of a Voltmeter to make
measurements on the faulty stage.
The measurements obtained are interpreted to obtain the
identity of the faulty component.
For example, the base to emitter voltage of a good silicon
transistor is 0.6 volts.If it is not this voltage then it is possibly
this component at fault.
Beware that a faulty associated component could possibly
give the same readings. If you haven't had much experience
at interpreting voltage measurements then remove the
suspect component and check it by resistance measurements
or substitution with a known good component.
Since the faulty stage has been located and only a few
components are usually involved then POKE AND HOPE is
more permissible!!
MEASURING VOLTAGES
CLICK HERE TO BUY THE CD
MEASURING CURRENTS
CLICK HERE TO BUY THE CD
FREQUENCY RESPONSE
CLICK HERE TO BUY THE CD
A perfect amplifier with an amplification of times 10, as shown above, would give an
output 10 times greater than the input, NO MATTER WHAT THE INPUT FREQUENCY.
If the input was 10 mV then the output would be 100 mV, no matter the frequency of the
input signal, as seen in the graph below.
This graph is known as a FREQUENCY RESPONSE diagram.
The two points in red on the response curve mark where the output of the amplifier has
fallen to 70.7 % of the maximum output.
This means that that the 100mV output has fallen to 70.7 mV at these frequencies.
These are called the -3 dB points.
One is at about 5Hz (call it f1).
SIGNAL GENERATORS
CLICK HERE TO BUY THE CD
TESTING TRANSISTORS
CLICK HERE TO BUY THE CD
Figure 1. With the meter set to measure ohms, clip one meter
lead to the base connection of the transistor.
Dab the other lead first onto the collector lead and then onto
the emitter lead.
The readings should both be the same, either both high
resistance or both low resistance.
Now reverse the leads and repeat the procedure.
The results should be the opposite of those obtained before.
If they were both high before they should now be both low.
If they were both low before they should now both be high.
Now measure the resistance between emitter and collector.
It should read high resistance in both directions.
If you dont know the transistor connections consult a data
book.
If you cant find the data then measure between the three
connections in both directions.
You should now be able to identify the base connection and
then decide if the transistor is OK.
Note that for this to work the internal battery of the meter must
supply a voltage high enough to overcome the forward
resistances of the transistors.
Many meter have a position marked with a diode symbol
which must be selected when checking transistors or diodes.
Note that NPN transistors have low resistances where PNP
have high, and vice versa.
Figure 2. shows a simple power transistor tester. With the
switch open both lamps are off.
With the switch closed both lamps are on.
If different results are obtained the transistor is faulty.
The transistor shown is an NPN. Reverse the battery for PNP
transistors.
CONTINUITY TESTING
CLICK HERE TO BUY THE CD
Continuity testing means making sure that something is continuous i.e. not
broken.
For example, copper tracks on PCB's or wires in cables must not be open
circuit but continuous.
In the diagram, when the two "flying" leads of the lamp and battery setup are
connected to the two ends of the same wire in the cable, the lamp will light
indicating continuity.
If the lamp doesn't light then the wire is open circuit (i.e. not continuous.)
The tester is also useful for finding both ends of a wire in a cable, where all the
wires are the same colour.
A test meter, set to measure resistance, can be used to measure continuity.
Ensure that the meter is set to read low resistance.
If you set the meter to read up to 100k then a resistance of 500 ohms will
appear to be continuous.
Some testers give out a whistle when continuity is ok, so you can keep your eye
on the job and not keep looking at the meter.
In Fig.1 the voltage across each resistor can be calculated. (see the page on voltage
dividers).
However, it can be shown that since the resistors are of the same value then the
battery voltage divides equally across them, and the voltage across each will be 15
volts.
Now if we set the meter to the 20 volt range to measure this voltage, its resistance will
be 20 x 20,000 = 400,000 ohms = 400k.
If we connect it across the top resistor, as in Fig.2 then we have two 400k resistors in
parallel.
Calculating the result of this gives us 200,000 ohms and the circuit looks like Fig.3
The voltage will now divide to give 10 volts across the top resistor and 20 volts across
the lower resistor.
The meter will indicate 10 volts when we know that it should indicate 15 volts.
Similarly, connecting the meter across the lower resistor will again indicate 10 volts.
It appears that there is 10v + 10v = 20 volts across the two resistors, when in fact
there is 30 volts.
To obtain the most accurate results, set the meter on the highest range possible.
This means that its resistance will be highest and have least effect on the circuit.
Digital meter have a very high resistance, typically 10 Megohms on all ranges, and the
readings obtained are more accurate than those obtained using a moving coil meter.
When buying a new meter look for a sensitivity greater than 20,000 ohms/volt.
MEASURING RESISTANCE
CLICK HERE TO BUY THE CD
1000mS/20mS = 50 Hz
The pattern of squares is called a GRATICULE.
TRACING SCHEMATICS
CLICK HERE TO BUY THE CD
LOGIC GATES
CLICK HERE TO BUY THE CD
THE OR GATE
CLICK HERE TO BUY THE CD
MULTIVIBRATORS
CLICK HERE TO BUY THE CD
EXOR GATES
CLICK HERE TO BUY THE CD
BINARY
CLICK HERE TO BUY THE CD
Humans have 10 fingers so they use the numbers 0 to 9 for
counting.
Penguins have only two flippers so they can only use 0 and 1.
Brand new human and penguin cars have all zeros displayed
on the odometer.
Since the penguin has driven the same mile, he puts a 1 in the
first column, which we know is worth 1 mile in both cars.
The penguin has to reset the first two columns to zero and
poke a 1 in the third
Looking at the first diagram, the two input pulses have provided a single,
wider pulse at the output.
If we put eight pulses in then we get four out.
The bistable divides by two.
If we put a 16 kHz signal in, we get an 8 kHz signal out.
The bistable acts as a frequency divider.
If we feed the 8 kHz into another bistable the resulting frequency is 4 kHz.
We can divide a high frequency signal down to a lower one.
decimal binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
HEXADECIMAL
CLICK HERE TO BUY THE CD
It's best if you read the page on binary first.
Humans use the decimal digits zero to nine because they
have ten fingers.
Penguins are limited to using binary zeros and ones because
they have only two flippers.
Well Martians have 16 fingers, so they have sixteen
digits,which they call kpxvz to zxkyt, where kpxvz is the same
as our zero. Their maths system is called hexadecimal, (hex
for short).
When we translate Martian to Human we can use 0 to 9 for
the first ten Martian fingers because they they are the same.
Humans haven't any words for the Martian numbers for the
remaining six fingers, oggfv to zxkyt.
The best we can do is to use the letters A B C D E F where A
is equivalent to oggfv and F represents zxkyt.
So translating Martian (hexadecimal) we use the following
(binary equivalents are included).
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
So 000F hex is the same as decimal 15.
0010 hex is the same as decimal 16
0100 hex is the same as decimal 256
1000 hex is the same as decimal 4096
1111 hex = 4096+256+16+1=?
00FF=255
FFFF=65535
Prove it.
CURRENTS IN A CIRCUIT
CLICK HERE TO BUY THE CD
OHM'S LAW
CLICK HERE TO BUY THE CD
To use the VIR triangle place your finger over the value you
wish to find.
If you wish to find V then multiply I by R
If you wish to find I then divide V by R.
SERIES RESISTORS
CLICK HERE TO BUY THE CD
PARALLEL RESISTORS
CLICK HERE TO BUY THE CD
number of resistors.
For example, four 100 ohm resistors in parallel will provide a
resistance of 25 ohms
POTENTIAL DIVIDERS
CLICK HERE TO BUY THE CD
Make sure that you understand Ohms Law before reading this.
The total resistance of the two series resistors is 8 ohms + 4
ohms = 12 ohms.
The current flowing around the circuit is 12 volts/12 ohms = 1
amp (Ohms Law).
The voltage across the 8 ohm is 1 amp x 8 ohms = 8 volts
(again Ohms Law).
The voltage across the 4 ohm is 1 amp x 4 ohms = 4 volts (Mr
Ohm again).
The 12 volts of the battery has been divided into 8 volts and 4
volts.
By selecting values for the two resistors, the 12 volts can be
divided into any two voltages which add up to 12 volts.
For example, 3 volts and 9 volts, 6 volts and 6 volts etc.
A circuit requiring less than 12 volts can be connected across
the lower resistor, as long as it requires a current much lower
than the current through the two resistors.
RESISTOR NETWORKS
CLICK HERE TO BUY THE CD
See the pages on series and parallel resistors before reading
this one.
The 12.5 and the 2.5 are in series so that the equivalent
resistance for the network is 15 ohms.
VOLTAGES IN A CIRCUIT
CLICK HERE TO BUY THE CD
Using the same calculations as for R1 and R2, we find that the
voltage across R3 = 5 volts and across R4 = 10 volts.
The voltage has been divided in the same proportions.
This is because the ratio R1/R2 is the same as the ratio
R3/R4, that is, 1:2.
The meter, connected between points A and B will indicate
zero.
This is because the voltage at both terminals of the meter is
the same, so the voltage across the meter is zero.
The bridge is said to be BALANCED.
So we can say that when the ratio R1/R2 = R3/R4, the bridge
is balanced.
If the two ratios are not the same, then the voltages at the two
terminals of the meter will be different.
The meter will now give a reading, and we can say that the
bridge is unbalanced.
In Fig.3, Rx is of unknown value and the probability is that the
bridge is unbalanced, indicated by a reading on the meter.
If we adjust R4 so that the ratio R1/Rx = R3/R4 then the
bridge will be balanced.
If we transpose this equation we can get Rx = (R4 xR1)/R3
We know the values of R1 and R3.
If we measure the value of R4 we can calculate the unknown
Rx.
R4 can be fitted with a pointer and a calibrated scale to give a
direct reading of Rx without the need for calculations.
This is the basis of more complex bridge circuits.
BLOCK DIAGRAMS
CLICK HERE TO BUY THE CD
minute.
These pulses are counted and displayed as minutes.
When the count and display reaches 59 minutes and 59
seconds it resets to zero on the next pulse.
A pulse every minute is fed to the final divider/counter.
This divides by 60 to give one pulse every hour.
These pulses are counted and displayed as hours.
When the count and display reaches 23 hours 59 minutes 59
seconds, the counters and display resets to zero on the next
pulse.
THE AM TRANSMITTER
CLICK HERE TO BUY THE CD
THE FM TRANSMITTER
CLICK HERE TO BUY THE CD
The Oscilloscope
CLICK HERE TO BUY THE CD
left.
This scanning process is done by the line (horizontal) and
frame (vertical) time bases.
Both of these generate a saw tooth waveform which are
applied to scan coils mounted on the tube.
These cause the beam to scan and fly back.
Have a look at the web pages on the crt and the oscilloscope.
The sync pulses and the frequency of the time bases are
controlled by the sync pulse generator.
The composite video signal is amplitude modulated on a
carrier in the UHF band.
The associated audio signal is frequency modulated on a
carrier spaced 6 MHz from the vision carrier.
colour.
Some of the red, green and blue signals from the camera
tubes are added in the luminance matrix.
This means that the separated colours are recombined
electronically.
This gives a luminance (brightness) signal.
The luminance signal is labelled Ey, and is used by black and
white receivers.
The colour signals are known as Er, Eg, and Eb.
The red and blue signals are converted into two new signals
called the red and blue colour difference signals.
They are (Er - Ey) and (Eb - Ey).
These two signals are modulated onto a "sub carrier" at 4.43
MHz which becomes the chrominance (colour) signal.
The luminance, chrominance and sync signals are combined
and are then used to amplitude modulate a carrier in the UHF
band.
An associated sound signal frequency modulates a second
carrier, which is 6 MHz apart from the vision carrier.
The tuner unit converts the incoming sound sound and vision
carriers to their IF frequencies.
For more information on how this is done, read the page on
AM radios.
The oscillator is protected against frequency drift,due to
temperature changes, by the Automatic Frequency Control
(AFC).
The IF amplifier has a bandwidth wide enough to pass both
sound (33.5 MHz) and vision (39.5 MHz) IF signals and their
sidebands.
The video signal is demodulated and amplified and is used to
control the brightness at each particular point on the screen.
THE BARRIER
CLICK HERE TO BUY THE CD
The left hand diagram shows reverse bias, with positive on the
cathode and negative on the anode (via the lamp). No current
flows.
The other diagram shows forward bias, with positive on the
anode and negative on the cathode, and current flowing from
cathode to anode.
A DIODE PUZZLE
CLICK HERE TO BUY THE CD
DIODE VOLTAGES
CLICK HERE TO BUY THE CD
DIODE CHARACTERISTICS
CLICK HERE TO BUY THE CD
The circuit enables the forward bias voltage across the diode
to be set anywhere from zero to the maximum positive voltage
of the battery.
The voltage and corresponding current is recorded on the
meters.
If these values are plotted we obtain the curve shown in the
top right quarter of the graph.
Note that as the voltage increases the current stays at zero,
until the voltage reaches a certain value.
The current then begins to increase quite rapidly.
It is at this point that the barrier potential has been overcome
and the diode begins to conduct.
This value is about 0.6 volts for silicon diodes and 0.3 volts for
germanium types.
If the battery is reversed and a graph again plotted for current
against voltage, we obtain the curve in the bottom left quarter
of the graph.
It can be seen that as the voltage is increased in the reverse
direction, there is no current flowing until a certain value of
DIODE CONNECTIONS
CLICK HERE TO BUY THE CD
Looking at the first waveform, the red line indicates the voltage
across the capacitor.
When the first pulse arrives the capacitor charges up to the
peak voltage.
When this pulse has ended, the capacitor voltage starts to fall
as the load takes energy from the capacitor.
However, the voltage falls only slightly before the next pulse
arrives to recharge the capacitor to the peak voltage.
The result is a DC voltage with a superimposed 50 Hz (in the
UK) ripple.
This is shown in the second waveform.
At low frequencies the capacitor is usually an electrolytic type,
but at higher frequencies, where smaller values are required,
other types can be used.
Diagram A
This circuit consists of a relay coil being switched by a
transistor.
When a coil is switched off, a large BACK EMF appears
across the coil.
This back emf may be several thousand volts in value, enough
to destroy the transistor.
The diode, which is normally reverse biased, is forward biased
by the back emf,and conducts, its low resistance short
circuiting the back emf and protecting the transistor.
Diagram B
This circuit consists a meter movement with two germanium
diodes across it.
Typical movements require only 100 mV for full scale
deflection of the pointer.
If a voltage, exceeding about 0.3 volts, appears across the
circuit then one of the diodes will conduct and protect the
TRANSISTOR CURRENTS
CLICK HERE TO BUY THE CD
CLASS A CLASS
B CLASS C
With class A bias, the base current is set so that collector
current flows.
Increasing or decreasing base current causes collector current
to increase and decrease.
With class B bias, the base current is set to zero. No collector
current flows and the transistor is CUT OFF.
The collector current can only be made to increase from this
point, not decrease, by increasing the bias.
With class C bias the bias point is set well below cut off.
Collector current can only be made to flow by increasing the
bias point considerably above its present value.
R1 and R2 are the base bias resistors, setting the bias point.
R3 is the collector load resistor.
R4 is the emitter stabilising resistor.
C3 is the emitter decoupling capacitor.
C1 and C2 are coupling capacitors which allow ac signals to
pass but block dc.
BIASING A TRANSISTOR
CLICK HERE TO BUY THE CD
EMITTER STABILISATION
CLICK HERE TO BUY THE CD
AMPLIFIERS IN CASCADE
CLICK HERE TO BUY THE CD
The positive power supply rail is joined to the zero volts rail by
C3. As far as ac is concerned, both rails are joined together.
Therefore they, and the collector, are common to both input
and output.
Since the emitter voltage follows the base voltage, it is also
called the emitter follower.
Current gain is Ie/Ib which is quite high, typically 50.
Voltage gain is only 1 because of the undecoupled emitter.
The input impedance is high, typically 500k, requiring only low
power to drive it.
The output impedance is low, typically 20 ohms.
The output signal follows the input. There is no inversion.
It is often used to match high impedances to low ones.
TR2 and TR3 are biased in class B, which means that they
are normally non conducting when there is no signal input.
TR1 and T1 form a phase splitter, opposite polarity signals
appearing at the ends of T1 secondary.
When there is a signal in ,TR2 conducts on the positive half of
the waveform only and TR3 conducts on the negative half.
Current flows down through the top half of T2 primary when
TR2 conducts, and up through the bottom half when TR3
conducts.
The mosfet has the gate insulated from the substrate by a thin
layer of silicon oxide, to prevent gate current flowing and
damaging the device (see the page on fets).
There are two main families.
Enhancement - where the mosfet has to be forward biased
like a transistor.
Depletion - where the mosfet is reverse biased like a
thermionic valve (tube in the USA).
Some mosfets have two gates (dual gate mosfets) and are
commonly used as r.f. mixers.
The insulating layer is extremely thin and can be easily
damaged by static.
OPAMP CHARACTARISTICS
CLICK HERE TO BUY THE CD
Gain is 1+ R2/R1
At switch on, the voltage across the capacitor is zero and the
output is at +12 volts.
The buzzer is not energised.
After a time, determined by the values of C and R3, the
voltage of the inverting input rises above that of the non
inverting input.
The output goes to minus 12 volts and the buzzer is
energised.
THE THYRISTOR
CLICK HERE TO BUY THE CD
the positive half cycles and automatically switch off during the
negative half cycles.
The resistor in series with the gate connection limits the gate
current to a safe value.
THE CROWBAR
CLICK HERE TO BUY THE CD
Tr2.
Due to the rise of current through R1, the voltage across it will
increase, causing the collector voltage of Tr1 to fall.
This fall in voltage is coupled to the base of Tr2.
This causes the collector current of Tr2 to fall, and its collector
voltage to rise, due to less voltage being dropped across R4.
This rise in collector voltage is cross coupled to the base of
Tr1, increasing the forward bias of Tr1 and increasing its
collector current.
Since the collector current was already rising, its rise is aided
by this rising forward bias.
The effect is CUMULATIVE and Tr1 becomes rapidly fully on
and Tr2 completely off.
The collector voltage of Tr1 is now low, and that of Tr2 is high.
C1 now begins to charge from the supply rail, via R2.
As the voltage on the right hand side of C1 starts to rise, Tr2
starts to conduct.
Again we have the cumulative effect and Tr2 rapidly comes on
and Tr1 goes off.
The collector voltage of Tr1 is now high and that of Tr2 low.
It is now the turn of C2 to charge from the supply via R3.
As the voltage on the left hand side of C2 begins to rise, the
base voltage of Tr1 increases, turning it on and turning Tr2 off.
The whole process repeats continuously .
RESISTANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
CAPACITANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
INDUCTANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
R, C AND L IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
The resistor, the capacitor and the coil all oppose the flow of
ac current.
Their combined opposition is called impedance, Z.
Ohm's Law can be applied, as shown in the top formula.
The higher the impedance, the lower the current.
The resistor has resistance.
The capacitor has capacitive reactance.
The coil has inductive reactance.
All of these values are measured in ohms.
However, impedance is not calculated by adding these values.
The bottom formula must be used.
If you are familiar with Pythagoras, this is another application
of it.
When coupling one device to another, such as an amplifier to
a loudspeaker, the output impedance of the amplifier and the
input impedance of the speaker must be the same, to give
optimum transfer of power from one to the other.
PHASORS
CLICK HERE TO BUY THE CD
RESISTANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
CAPACITANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
INDUCTANCE IN AN AC CIRCUIT
CLICK HERE TO BUY THE CD
CIVIL
This means that for C, I leads V.
V leads I for L.
Since all the components are in series, the same current flows
through them all, as indicated by the horizontal phasor.
Resistor voltage and current are in phase, so resistor voltage
is shown also along this phasor.
Inductor voltage leads the current by 90 degrees.
Capacitor voltage lags the current by 90 degrees.
TO FIND THE RESULTING VOLTAGE
Since the voltages across C and L are 180 degrees out of
phase, then the result of these two is one subtracted from the
other.
Z=R
The current and voltage in the circuit will be in phase.
I = V/R
All this happens when capacitive reactance equals inductive
reactance.
Since capacitive reactance falls as frequency increases, and
inductive reactance falls as frequency decreases, then there
must be a frequency at which they are equal.
This is called the resonant frequency.
SYSTEM BUSES
CLICK HERE TO BUY THE CD
0000000000000000.
The largest number is 1111111111111111 which is 65535 in
decimal.
Therefore 65536 different numbers can be put on this bus.
65535 in decimal is FFFF in hex.
All the registers in the memory chips have their own individual
addresses, like house numbers in a street.
By putting its address, in binary, on an address bus we can
select any individual register.
Address buses are commonly 16 bits, so we can select any
one of 65536 registers.
THE CLOCK
CLICK HERE TO BUY THE CD
The 6502 cpu has a 16 bit address bus and an 8 bit data bus.
It is powered by a 5 volt supply.
Interrupt requests tell the cpu to stop processing its present
program and jump to another.
The reset pin is taken low to initialise the cpu when it is first
powered on.
The read/write pin is taken low when writing to memory, and
high when reading from it.
The 6502 has eight addressing modes telling the cpu where
data is located.
PROCESSOR ARCHITECTURE
CLICK HERE TO BUY THE CD
as EEPROMS.
label opcode
0200 here LDA
FF A9 FF
0202 ADC
01 69 01
0204 JMP
here 4C 00 02
ADDRESSING MODES
CLICK HERE TO BUY THE CD
INDIRECT
FLAGS
CLICK HERE TO BUY THE CD
The 6502 cpu contains a status register and each individual bit
is a FLAG.
A flag indicates the result of the previous operation.
N result is negative
V result too big, causing an overflow
B set by software BRK command
D in decimal mode
I an interrupt has occurred
Z result zero
C carry
The flags are tested by the cpu and, depending on their state,
determine which part of the program the cpu will jump to.
This is how computers are able to make decisions.
THE STACK
CLICK HERE TO BUY THE CD
INTERRUPTS
CLICK HERE TO BUY THE CD
TRUTH TABLES
CLICK HERE TO BUY THE CD
In case you have forgotten them, here are the truth tables for
the various gates.
If you still have problems with them, go back to Electronics for
Beginners and revise them.
DIODE LOGIC
CLICK HERE TO BUY THE CD
In the AND circuit, the cathodes are held low by the "pull
down" resistors.
The diodes are forward biased and the output is held low.
If two of the diodes are taken high to reverse bias them, the
remaining diode still holds the output low.
A and B and C must all be taken high to make the output go
high.
The "pull down" resistors hold the cathodes of the diodes low,
making the diodes forward biased.
The output at the anodes is held low, Tr1 base is low and its
collector high.
The base of Tr2 is high and its collector low.
A and B and C must all go high together, to reverse bias the
diodes, and make the base of Tr1 high.
The collector of Tr1 goes low, together with the base of TR2.
The collector of Tr2 goes high.
The output has gone high because A and B and C have gone
high.
INTRUDER ALARM
CLICK HERE TO BUY THE CD
COFFEE MACHINE
CLICK HERE TO BUY THE CD
If the water is hot AND money paid AND the cup is present
then the output of the first gate will go high.
Depending upon the position of the switch, either the upper or
lower output gate will go high, turning on the correct valve.
This is a simple circuit which can be expanded to provide milk
and to count the money, give change etc.
When testing digital circuits, it helps if you know what the logic
levels should be in all parts of the circuit under no fault
conditions.
This applies to all combinations of input signals.
If a fault appears in the circuit then checking the levels will
indicate the location of the fault.
Making a table, as shown, provides a useful reference.
TRAFFIC LIGHTS
CLICK HERE TO BUY THE CD
BOOLEAN EXPRESSIONS
CLICK HERE TO BUY THE CD
DE MORGAN
CLICK HERE TO BUY THE CD
De Morgan says that the first two gates have the same
properties.
He says the same for the next two.
The equations can be expanded to include three or more
inputs, A B C etc.
A DE MORGAN APPLICATION
CLICK HERE TO BUY THE CD
A 3 BIT ADDER
CLICK HERE TO BUY THE CD
ENCODERS
CLICK HERE TO BUY THE CD
Encoding means converting one form of data to another type.
Here we are converting decimal to binary.
When the 1 button is pushed, D1 is forward biased and the
least significant bit goes high.
D4 is reverse biased and blocks the + 5 volts from the other
lines.
When the 2 button is pushed, D2 conducts and takes the
middle bit high.
D3 again blocks the + 5 volts.
When button 3 is pushed, D3 and D4 conduct and take the
two lower bits high.
With three lines you can have the binary numbers 000 to111
(decimal 0 to 7) encoded.
DECODERS
CLICK HERE TO BUY THE CD
Decoding is the recovery of previously encoded data.
In the diagram, the push buttons ENCODE decimal to binary.
The gates DECODE the binary and turn on the decimal
indicators.
Gate 1 recognises when the least significant bit is high and the
adjacent bit is low.
The inverter turns the low into a high, so that gate 1 has two
high inputs.
TRI-STATE LOGIC
CLICK HERE TO BUY THE CD
A TRANSISTOR FLIP-FLOP
CLICK HERE TO BUY THE CD
low.
Tr2 will now be off and Tr1 on.
Q will be low and Q bar high.
The flip-flop will rest in this state until SET is again taken low
again.
This circuit is known as a SR flip-flop.
SWITCH DEBOUNCING
CLICK HERE TO BUY THE CD
The D type flip-flop has only one input (D for Data) apart from
the clock.
The INDETERMINATE state is avoided with this flip-flop.
When the clock goes high, D (a 0 or a 1) is transferred to Q.
When the clock goes low, Q remains unchanged.
Q stores the data until the clock goes high again, when new
data may be available.
A couple of definitions :-
RIPPLE THROUGH. An input changes level during the clock
period, and the change appears at the output.
PROPAGATION DELAY. The time between applying a signal
to an input, and the resulting change in the output.
These can give problems in logic circuits.
The master/slave flip-flop overcomes them.
It consists of two rising edge triggered D type flip-flops.
The clock of the slave is fed via an inverter so that the falling
edge of the origonal clock pulse becomes a rising edge.
The slave clock pulse is an inverted version of the clock pulse
shown in the lower diagram.
The flip-flops are triggered at different levels of the clock pulse
edge.
When data is to be entered, the slave is isolated from the
master, so that changes at the input do not appear at the
output.
Data on D is passed to Q of the master.
The master is then isolated from the D input.
Data, from the Q of the master, is passed to Q of the slave.
Note that the J and K inputs are taken high so that the
flip-flops toggle on the clock pulses.
The Q output of each flip-flop changes state on the negative
going edge of the clock input pulse.
Looking at the diagram below the count starts with ABCD all
low, giving a count of 0000.
After clock pulse 1, the least significant bit, A is high, 0001.
After pulse 2, A is low and B is high, 0010, equivalent to
decimal 2.
After 12 pulses, A and B are low and C and D are high, 1100,
equivalent to decimal 12.
On clock pulse 16 the counter resets to 0000.
The count can be set to 0000 by pulsing the Reset line low.
The flip-flops cannot change state until the preceding one has
done so.
This means gives rise to a delay in the the system due to the
propagation delay of each stage.
This causes a RIPPLE THROUGH effect.
SYNCHRONOUS COUNTERS
CLICK HERE TO BUY THE CD
(A and B high).
Flip-flop 4 cannot change state unless A, B and C are all high,
making the output of AND 2 high.
At the start, all outputs can be set to zero by means of the
CLEAR line.
On the first clock pulse, A goes high, since J and K of flip-flop
1 are both tied high.
The first and second flip-flops are now set to toggle on the
next clock pulse.
On the second clock pulse, any flip-flops with J and K high will
toggle.
So A goes low and B goes high.
On the third clock pulse, A goes high and B stays high.
This means that J and K of flip-flop 3 are high.
On the fourth clock pulse, A and B go low and C goes high.
Flip-flop 4 can only toggle when A, B and C are all high.
This will be on the eighth clock pulse, when D goes high and
A, B and C go low.
DIVIDERS
CLICK HERE TO BUY THE CD
For every two pulses in, a toggle flip-flop gives one pulse out.
It divides by two.
For 800 pulses in, the flip-flop will give 400 out.
In the circuit above, each stage divides by two, giving a total
division of sixteen.
For an input frequency of 16 kHz, the output frequency will be
1 kHz.
DECADE COUNTERS
CLICK HERE TO BUY THE CD
At the start, the inverting input of the comparator is low and its
output high.
The AND gate is enabled.
Clock pulses appear at the output of the gate and are counted
by the UP counter when the counter is reset to zero.
As the count increases, the ramp output voltage of the D/A
converter rises.
When the ramp voltage and the analogue voltage are the
same, the output of the comparator goes low.
This inhibits the AND gate and the count stops.
The 4 bit number at the output, is the binary equivalent of the
analogue input voltage.
This process repeated continually.