Professional Documents
Culture Documents
Made
Easy
Martin S Denny
CONTENTS LIST
page
INTRODUCTION
PASSIVE COMPONENTS
RESISTORS
11
12
13
CAPACITORS
14
16
16
17
19
20
INDUCTORS
22
SWITCHES
Fig 1 Latching Relay
Fig 2 DC Motor Reverse Control
24
26
26
BATTERIES
27
CRYSTALS
28
28
29
29
30
OTHER DETECTORS
Light Dependant Resistor
Strain Gauges
30
30
30
AC THEORY
Fig
Fig
Fig
Fig
31
31
31
32
32
1
2
3
4
Voltage Waveform
Phase Relationship
Full Wave Rectification
Power Supply Smoothing
SEMICONDUCTORS
33
SEMICONDUCTOR MATERIALS
N Type Semiconductors
P Type Semiconductors
33
33
33
33
34
34
DISCRETE COMPONENTS
34
The Diode
34
35
35
The Transistor
Fig 4 Definition of Terms
Fig 5a Fixed Bias
Fig 5b Collector To Base Bias
Fig 5c Self Bias
36
36
37
37
37
The AC Circuit
Fig 6 Self Bias With AC Equivalent
37
39
39
40
42
42
Power Dissipation
42
43
44
44
INTEGRATED CIRCUITS
45
OPERATIONAL AMPLIFIERS
Fig 10a 8 Way DIL Package
Fig 10b OP-AMP
Fig 10c Inverting Amplifier
Fig 10d Non-Inverting Amplifier
Fig 10e Differential Amplifier
Fig 11 Differential Amplifier With Proportional Feedback
45
45
45
45
46
46
46
47
48
48
49
LOGIC
49
50
OSCILLATORS
50
Sinusoidal Oscillators
Fig 1 Crystal Oscillator
Fig 2 Feedback Oscillator
50
50
50
Square Wave
Fig 3
Fig 4
Fig 5
Fig 6
50
51
51
51
51
Oscillators
Clipped Sine Wave
Square Wave
Equal Mark-Space Ratio
Uneven Mark-Space Ratio
ACTIVE FILTERS
Fig
Fig
Fig
Fig
Fig
Fig
Fig
Fig
52
52
52
53
53
54
55
55
56
OPTICAL ELECTRONICS
57
57
57
Displays
Fig 2 LED Display
57
58
Photoconductors
Fig 3 Optical Isolator
59
59
DIGITAL ELECTRONICS
60
LOGIC
Fig 1 Logic Packages
60
61
Boolean Algebra
Fig 2 Package Optimisation
61
62
63
63
64
64
65
65
66
66
Timers
67
67
67
67
68
68
68
69
The Latch
Fig 12 NAND and NOR Latches
69
69
Inhibit
Fig 13 NAND and NOR Inhibit
69
69
Time Delay
Fig 14 Time Delay Circuit
69
70
Astable Multivibrator
Fig 15 Astable Multivibrator
70
70
DESIGN
71
71
72
72
72
73
73
74
74
75
76
77
WORKSHOP PRACTICE
78
1.0
2.0
3.0
4.0
5.0
Useful Equipment
Construction Methods
Soldering and Assembly Techniques
Testing
Finishing
78
79
81
86
87
SYMBOL LIBRARY
88
DESIGN EXAMPLES
89
89
89
89
2) Temperature Controller
Fig 3 Temperature Controller
92
92
95
95
4) Transistor Tester
Fig 5 Transistor Tester
97
97
99
99
101
101
104
106
112
113
117
118
122
123
126
128
133
133
12) Pulse
Fig
Fig
Fig
Fig
Counter
14 Pulse
15 Pulse
16 Pulse
17 Pulse
137
143
144
145
146
13) Notch
Fig
Fig
Fig
Fig
Fig
Fig
Filter
18 Notch Filter Circuit Diagram
19 Plot of LPF Element of Notch Filter
20 Plot of HPF Element of Notch Filter
21 Notch Filter Output Plot Amplifying Notch
22 Notch Filter Gain Plot Attenuating Notch
23 Notch Filter Phase Plot Attenuating Notch
148
151
152
152
153
153
154
155
156
157
158
165
166
167
168
15) Scanner
Fig 31 Scanner Circuit Diagram Part 1 Multiplex Stage
Fig 32 Scanner Circuit Diagram Part 2 Display Stage
171
175
176
16) Dice
Fig 33 Dice Circuit Diagram
177
179
181
184
Counter
Counter
Counter
Counter
Part 1
Part 2
Part 3
Timing Diagram
Introduction
Electronics Made Easy started as a series of lessons produced for my son in 1998
to bring him up to GCSE standard.
In general I have tried to keep mathematics to a minimum as in the real world it
is rarely necessary to go above GCSE level. At this stage I must admit a
certain bias in dealing with the subject, as somebody involved with electronic
design in industry for most of my working life there is a tendency to over
emphasise design techniques, the good bit.
Certain aspects of the 1998 GCSE Electronics Products syllabus were current
technology when I started my Degree in 1968. Although I have described the
operation of obsolete devices, more modern equivalents are used in the examples.
Some useful designs examples are provided at the end of the book.
Some people may find electronic theory difficult to grasp, after all you cannot
see current flowing through a device. The concept of current flow from positive
to negative appears to be reasonable, but in reality electrons flow from
negative to positive so we describe current in semiconductors as the flow of
positive holes, and forget all about electrons for the rest of the time.
When dealing with any complicated subject it pays to develop a mental model, for
example let voltage be pressure, and current be water flow. Using this analogy
resistance becomes a restriction or kink in a pipe, capacitance a tank and a
diode becomes a non return valve. Transistors become diaphragm valves and zener
diodes a tank with an overflow.
Using this mental technique should enable you to grasp the basic concepts it
worked for me anyway.
PASSIVE COMPONENTS.
RESISTORS
Resistors as the name suggests resist the flow of electricity. When a current
is passed through a resistor a voltage is developed across it. The resistance to
the flow is measured in Ohms.
Resistors are produced in all sizes and can either be of a solid material or
wire wound. The material chosen depends on many factors:
1) The stability with time and temperature.
2) The required power dissipation.
3) The accuracy required (the tolerance to which it can be produced).
Common materials:
1)
2)
3)
4)
5)
Various Potentiometers Note High Powered Potentiometer On The Left Shows Method
Of Construction.
Symbols
Resistor
Band
Band
1 2 3 4
1
2
3
4
1
2
3
4
5
First Digit
Second Digit
Multiplier
Tolerance %
First Digit
Second Digit
Third Digit
Multiplier
Tolerance %
Colour Code
0
1
2
3
Black (Blk)
Brown (Brn)
Red
(Red)
Orange (Or)
4
5
6
7
Yellow
Green
Blue
Violet
(Yel)
(Grn)
(Blu)
(Vio)
8
9
Grey (Gry)
White (Wh)
Gold and silver bands are sometimes used to indicate the tolerance of High
Stability resistors and generally indicate 1% and 2% respectively.
RESISTORS (Examples)
All resistance values in (Ohms).
K is 1000
M is 1000,000
R2
RT
RT= R1+R2
Q1
a)
b)
c)
d)
e)
Calculate RT
R1
R1
R1
R1
R1
10K
4K7
100K
10K
47K
R2
R2
R2
R2
R2
10K
5K6
1M
2M2
150K
R2
1
RT
1
R1
1
R2
RT
Q2
a)
b)
c)
d)
e)
Calculate RT
R1
R1
R1
R1
R1
10K
4K7
100K
10K
47K
R2
R2
R2
R2
R2
10K
5K6
1M
2M2
150K
Resistor Networks
Q3
a)
b)
c)
d)
R1
R1
R1
R1
R1
Calculate RT
10K
R2
12K
R2
20K
R2
470K R2
7K5
5K6
15K
1M
R3
R3
R3
R3
15K
47K
120
10K
R2
R3
RT
Cal Sheet 1
DC Theory Examples
Ohms Law
Where:
V=I*R
Power Calculation
P is power in watts ( W )
V is volts ( V )
I or i is current in Amperes
P=V*I
( A )
1000 times
1000,000 times
1/1000
1/1000000
a)
b)
c)
d)
R
10K
100K
--1M
i
1.5mA
--6mA
20A
V
--12V
12V
---
Vout
R2
Q2
a)
b)
c)
d)
e)
f)
Calculate the power dissipation in each resistor and the missing values:
Vin
15V
12V
----6V
15V
Vout
3.46V
----5.0V
1.0V
---
R1
1K
4K7
10K
5K6
10K
---
R2
--3K3
20K
6K8
--1K2
i
----1mA
----5mA
Cal Sheet 2
DC Theory Examples
The following circuit shows a voltage divider network which feeds a
circuit with a resistance load of 1M ohm as shown below:
i
R1
Note: i=i1+i2
i1
i2
1/Ro = 1/R2 + 1/1M
Vin
Vout
R2
a)
b)
c)
d)
e)
f)
Vin
15V
12V
----18V
15V
Vout
3.45V
----5.0V
3.24V
---
R1
10K
4K7
10K
5K6
10K
---
R2
--3K3
20K
6K8
--1K2
i
----1mA
----5mA
i1
-------------
materials.
What factors
1 2 3 4
Band
a)
b)
c)
d)
e)
5
1
Red
Brn
Or
Grn
Brn
Band
f)
g)
h)
i)
j)
1
Red
Brn
Or
Grn
Brn
2
Red
Blk
Wh
Blu
Blk
2
Red
Blk
Wh
Blu
Blk
3
Or
Yel
Blk
Brn
Grn
4
Brn
Red
Gold
Red
Red
3
Blk
Blk
Blk
Blk
Blk
4
Or
Yel
Blk
Brn
Or
5
Brn
Red
Brn
Red
Red
Q5
Construct
a
resistance network using a variable
resistor and fixed
resistors to produce an output from 1.0V to 2.0V from an input voltage of 15V.
The input current must be greater than 5mA and less than 12mA.
Cal Sheet 3
CAPACITORS
Electrolytic Capacitors.
In simple terms a capacitor conducts alternating current but not direct current
its ac resistance or reactance is inversely proportional to frequency.
Reactance xc = 1/2fC
peak
Capacitor Types:
Electrolytic:-
Tantalum Bead:-
Polyester:-
Ceramic:-
Polystyrene:-
Silvered Mica:-
Variable Capacitors:-
Variable Capacitors
C2
In Series
CT
OR
CT = C1 * C2/(C1 + C2)
-------Units of capacitance Farad F
= 1/1000,000
n = 1/1000,000,000
p = 1/1000,000,000,000
C1
In Parallel:
C2
CT = C1 + C2
CT
Charge and Discharge Characteristics
When the switch S is closed current i charges capacitor C via R1. The voltage
across the capacitor rises until it reaches Vout (see Fig 1 ). Vout is
calculated from the equation:
Vo = Vin * R2/(R1 + R2)
(see section on voltage dividers)
The time taken to achieve full output voltage (Vout) is calculated as follows:
T (sec) = C * R1
When the switch S is opened capacitance C discharges through resistor R2, (see
fig 2). The time taken to fully discharge T is calculated as follows:
T = C * R2
S
i
R1
C
R2
Vin
Vout
CV = IT
Where
C = IT/V
ie
C
V
T
I
=
=
=
=
Capacitor value
Voltage ripple (rms)
1/2f (for diode bridge)
Load current
50 Hz
CAPACITORS ( Examples )
C1
C2
In Series,
CT
C1
C1
C1
C1
=
=
=
=
1F, C2 = 2F
10F, C2 = 100F
2.2F, C2 = 4.7F
1000pF, C2 = 4700pF
C1
In Parallel:
C2
CT = C1 + C2
CT
Q2 For C1 and C2 connected in parallel calculate the value of CT
a)
b)
c)
d)
C1
C1
C1
C1
=
=
=
=
1F, C2 = 2F
10F, C2 = 100F
2.2F, C2 = 4.7F
1000pF, C2 = 4700pF
Q3 Calculate
frequencies:
a)
b)
c)
d)
the
value
50 Hz
100 Hz
400 Hz
20 KHz
of
reactance
of
1F
capacitor
at
the
following
Reactance xc = 1/2fC
Note: = 3.142
Q4 calculate the time delays at switch "on" and switch "off" for the following
values of R1 and R2, shown in fig 1:
a) R1 = 100K, R2 = 1M.
b) R1 = 470K, R2 = 2M.
c) R1 = 7K5, R2 = 750K
Q4 Select a suitable capacitor which will reduce the ripple voltage to less than
1V rms for the circuit shown below.
Cal Sheet 4
RT = R1 + R2
RT = 10K + 10K
Q1a
b
c
d
e
20K
10K3
1M1
2M21
197K
Q2a
b
c
d
e
5K
2K56
90K9
9K95
35K8
Q3a
b
c
d
19K3
50K8
8K69
329K8
Q1a
b
c
d
V
I
R
V
RT = 20K
Q2a
Q3a
= 5K
RT = R3 + R1*R2/( R1 + R2 )
RT = 15K + 75M / 17K5
RT = 15K + 4K29
= 19K3
Cal Sheet 2
Q1a
V = I * R
V = 10000 * .0015
15V
=
=
=
=
15V, P
120uA,
2K, P
20V, P
=
P
=
=
22.5mW
=14.4mW
72mW
0.4mW
P = V * I
P = 15 * 1.5 mW
Q2a
= 22.5 mW
i = (Vin - Vout)/R1
i = 11.54/1 mA
Q2a
i = 11.54mA, R2 = 300
P(R1) = 133.2mW
P(R2) = 39.9mW
i=0.735mA, Vin=9.1v
P(R1) = 3.02mW
P(R2) = 3.68mW
i = 0.5mA, R2 = 2K
P(R1) = 2.5mW
P(R2) = 0.5mW
= 11.54mA
Vout = i * R2
R2 = Vout/i = 3.46/11.54 K
R2 = 299.8
R2 = 300
P(R1) = (Vin - Vout) * I
P(R1) = 11.54*11.54 = 133.2mW
P(R2) = vout * i
P(R2) = 3.46*11.54 mW = 39.9mW
Cal Sheet 3
Q1a
Q1a
i1 = 1.497mA
i = 1.502mA,
Vout = 4.94V
Vin = 29.61V,
Vout = 19.61V
i1 = 0.980mA
Vin = 9.15V
i = 0.740mA
i1 = 0.735mA
If Ro is combined output R
1/Ro - 1/1M
= 1/R2
R2 = 1M * Ro/(1M - Ro)
Ro = Vout/i
Ro = 3.45/1.155
K = 2K987
R2 = 1M * 2K987/(1M - 2K987)
R2 = 1M * 2K987/997K013
R2 = 2K9959
= 3K
i1 = Vout/R2 = 3.45/3 mA
i1 = 1.150mA
Q4a
e
j
22K, 1%
1M, 2%
100K, 2%
b
f
100K, 2%
220K, 1%
c
g
i1 = 1.150mA
i = 1.155mA, R2 = 3K
i = 1.476mA
R2 = 2K2
i1 = 1.473mA
Vout = 5.99V
R1 = 1K8
i1 = 4.99mA
39 high stab 1%
d
560, 2%
1M, 2%
h
390, 1%
i
5K6, 2%
Cal Sheet 4
Q1a
b
c
d
CT
CT
CT
CT
=
=
=
=
0.67 F
9.09 F
1.50 F
824 pF
CT = C1 + C2
CT = 1 F + 2 F
CT = 3 F
Q2a
b
c
d
CT
CT
CT
CT
=
=
=
=
3 F
110 F
6.9 F
5700 pF
Q3a
xc = 1/2fC
xc = 106/2 * 50 * 1
xc = 3K18
Q3a
b
c
d
xc
xc
xc
xc
=
=
=
=
3K18
1K59
398
7.96
Q4a
At
T1
T1
T1
At
T2
Q4a
T1
T2
T1
T1
=
=
=
=
10 s
100 s
47 s
T2 = 200 s
750 ms
T2 = 75 s
Q1a
CT
CT
CT
CT
Q2a
Q5
Vout
i
CV
C
C
=
=
=
=
C1*C2/C1 + C2
1 * 2/1 + 2 F
2/3 F
0.67 F
Switch
= R1 *
= 100K
= 10 s
Switch
= R2 *
=
=
=
=
=
"on"
C
* 100
"off"
C = 1M * 100
b
c
s
T2 = 100 s
INDUCTORS
Various Chokes.
At high power and low frequency iron laminates are used, ie chokes and
transformers (this is necessary to reduce heat build up in the core which would
result in high temperature and poor efficiency). At high frequency magnetic
powder cores are used (ie Ferrite). Ferrite consists of ferromagnetic particles
coated with insulating material, compacted to form a solid mass (used in RF
chokes, IF transformers and ferrite rod aerials).
Coils or inductors are generally made from copper wire either solid or in
the form of twisted and insulated filaments. As the frequency increases a higher
proportion of the current is carried on the outside of the conductor, this is
called the "skin effect" which is even noticeable at 50 Hz. By increasing the
outside area of the conductor economies can be made in size and weight. At ultra
high frequencies (GHz range) wave guides are used which resemble square section
pipes the size dependant upon the frequency.
Direct current relays
a magnetic field capable of
an unwanted by-product and
This problem is alleviated
coil, which conducts in the
The impedance (Z) of a inductor is the vector sum of its dc resistance and
its ac reactance.
Z = R + xl
where
xl = 2FL
The most common forms of switch use, toggle (up/down), push button
(in/out) or rotary action. Micro switches can be best defined as a push button
switch operated by a lever arm. These switches are used mainly as limits to
mechanical operations ie voltage "cut outs" on equipment doors movement
restriction on machinery even as a reversing switch on some windscreen wiper
motors.
Reed/relay switches are also quite common and can be operated either by a
relay coil, or a fixed magnet. They are available as single, double, and changeover options. Construction of the relay is simplified as contacts are deflected
by the magnetic field rather than an arm operated by the electro-magnet as in
more conventional relays. The contacts are sealed usually in a glass envelope,
which allows mercury wetted contacts to be used. The construction of reed relay
switches enables them to be used in hazardous environments, and at high
frequency. They are also useful in applications where high packing density is
required due to their relatively small size. Disadvantages are relatively low
current switching and due to their size low voltage rating.
Common Terms:
SPST:
DPST:
Double Pole Single Throw. Two sets of switch contacts are either
closed or open.
SPDT:
DPDT:
Bias:
CO:
NO or NC:
or open
where,
switch
Zinc-Chloride:
A dry cell with a higher energy content (long life etc). They
are more expensive than the standard dry cell and should be
used for equipment with higher loads or where regular charging
of batteries is inconvenient, ie smoke alarms, electric bells
etc.
Alkaline:
Silver Oxide:
Mercury Oxide:
Lithium:
Zinc-Air:
Rechargeable Batteries:
Lead-Acid:
Nickel-Cadmium:
CRYSTALS (XTAL)
Quartz Crystal Vibrator
Certain natural crystalline materials exhibit what is known as the piezoelectric effect. If a slice is cut in a particular direction and a metallic film
applied to two opposite faces so that the arrangement can function as a
capacitor the application of a potential difference (v) to the electrodes
produces a mechanical strain in the crystal if the potential is reversed so is
the strain.
The strain will tend to set up vibrations in the structure of the crystal
which will then vibrate at its natural frequency (resonance). The natural
frequency is dictated by the thickness of the slice of crystal.
Quartz crystal has good temperature stability and can be cut with great
accuracy. The resonant frequency of the crystal can be determined to 10 ppm
(parts per million). Temperature stability of 50 ppm/deg C is typical for
crystals above 1 MHz.
Due to their accuracy and stability Quartz crystals are used in the
communications field where high frequency stability is required, the generation
of clock signals in computers, and the reference signals in most clocks and
watches.
LOUDSPEAKERS AND MICROPHONES
If a cone is pointed at a sound source it will tend to
vibrate at the frequency of the sound. These vibrations
are used to generate movement of a coil mounted at the
centre of the cone. The coil moves within a magnet so a
small voltage proportional to the sound is generated and
it becomes a microphone. If voltage is fed to the coil
then it will be translated into a movement of the coil and
therefore the cone, thus producing sound. It then becomes
a loudspeaker.
Loudspeaker
Microphone
Thermistors:
R
Vs
Rt
Vout
These devices vary their resistance with temperature (+ve or -ve response)
and are generally used in control applications. It is necessary to calibrate
systems using thermistors as they are non-linear. A simple circuit is shown
above. A supply voltage Vs feeds the voltage divider formed by resistor R and
the thermistor Rt. The voltage across the thermistor will then vary with
temperature.
OTHER DETECTORS
Light Dependant Resistor (LDR):
These devices are housed in a moulding or case
with a clear end window to allow light to fall
on the cadmium sulphide resistor. These devices
have negative response to light, ie resistance
reduces as the light falling on the device
increases. LDR`s are generally used as sensors
for remote outside lighting.
Strain Gauges:
Direction of Strain
<--->
AC THEORY
The UK mains supply is specified as 240V rms at 50Hz. The waveform
generated by a rotating magnetic field can be considered to be sinusoidal.
The drawing below, (see fig 1), shows a sinusoidal voltage waveform. The
average value of the waveform = Vpk/2 (pk = peak and pp or pkpk the peak to
peak value) and for current waveform Ipk/2.
These values are known
equivalent, ie Power = V * I.
as
the
rms
values,
which
equate
to
the
dc
The voltage and current waveforms shown below in fig 2 are displaced by
the phase angle 90 (pure resistive load). The phase shift of the voltage and
current waveforms is dependant on frequency as is the impedance Z. The impedance
of a circuit is its AC resistance in ohms.
Xl = 2fL
A circuit will exhibit its minimum ac resistance (impedance Z) when Xl = Xc, and
the power in the circuit W = VA (the product of V*I). The power factor of a
circuit is the relationship between power W and VA.
Power Factor = W/VA
The impedance of a circuit (Z) can be calculated by using Pythagoras Theory:
Z = (R2 + X2)
When a sinusoidal waveform is passed through a bridge rectifier the resultant
waveform is the positive half of the sine wave with the mirror image of the
negative half added (full wave rectification). The resultant waveform will have
a Time T = 1/2f and a voltage of 1.414Vrms - 1.2V (voltage drop across the diode
bridge) as shown below in fig 3.
The power supply is shown with a resistor R (the load). The maximum output
with no load Vo max = 1.414V - 1.2V, where V is the transformer output in volts
rms. The transformer will have a known droop factor at full load, given in
percentage of rated output. The power supply dc output will be further reduced
by the level of voltage ripple.
SEMICONDUCTORS
SEMICONDUCTOR MATERIALS
Semiconductors are termed active components as the name suggests they
exhibit a high or low impedance dependant upon current flow.
The most common forms of semiconductor are silicon and germanium, in their
pure form they behave as an insulator and are said to be an intrinsic
semiconductor. The relatively low conductivity of an intrinsic semiconductor can
be increased considerably by the introduction of impurities. These impurities
have the property that their atoms nearly fit into the crystal structure of the
semiconductor.
N-type Semiconductors
If a pentavalent impurity element such as arsenic or antimony is
introduced into say a germanium crystal only 4 out of 5 valence electrons in
each atom are used in forming covalent bonds with the surrounding germanium
atoms. The 5th electron even at relatively low temperatures will acquire enough
energy to break away and increase the conductivity of the material (electron
rich). In N-type materials the impurity atoms become positive ions, which are
fixed and an equal number of electrons are able to move about in the crystal.
P-type Semiconductors
Intrinsic semiconductor atoms may be displaced by atoms of trivalent
elements such as indium, gallium or boron. In this case there is an incomplete
valence band leaving a hole which may be neutralised by an electron moving into
it from a nearby bond (electron poor). The hole can move at random and therefore
acts as a positive charge carrier. The holes are the majority carriers in this
material.
p type
Barrier Region
The p-n junction refers to the boundary between two types of semiconductor where
the material is in effect a single crystal. The formation of the junction causes
some holes from the p material and some electrons from the n material to diffuse
towards each other and combine. The positive charge on the n side and the
negative charge on the p side form a potential a potential barrier. The
potential difference across the barrier is sufficient to prevent the movement of
both holes and electrons.
+
N type
p type
n type
+
p type
DISCRETE COMPONENTS
The Diode
where I=Iz+Il
The Transistor
The transistor can be considered as two p-n junctions arranged p-n-p or n-p-n. A
p-n junction with a forward bias has a low resistance and conversely a high
resistance with reverse bias. If a small control current is introduced at the
mid point of the two junctions and sufficient current fed in to forward bias one
junction and reverse bias the other, then a current should pass through the
device. The collector current (Ic) is much greater than the control current (Ib)
this factor is known as Gain (hfe), (See Fig 4).
Before a transistor can act as an amplifier the DC bias conditions and
gain must be set so that the resulting waveform is of the correct amplitude.
Another consideration is the input and output impedance of the stage. The
previous stage must be able to drive the input at the transistor base via a
decoupling capacitor, and the transistor drive its output load.
The same calculations are true for NPN, PNP, and even Darlington
configured transistors. The Darlington configuration is used when high gain is
combined with high power. Power transistors generally have a low gain. If a
medium power transistor is combined in the same package high gain and high power
output can be achieved. The only significant difference to be taken into account
is that the Vbe voltage of the first stage must be added to that of the second.
the
attenuation
of
circuit
is
hfe = Ic/Ib
To select C3
Rin IcVc, and xc = 1/2fC (at least 0.1*Rin)
To select C4
xc = 1/2fC (at least 0.1*R8 at the lowest frequency)
With capacitor C4 removed Vout will be elevated with respect to (wrt) 0V. The
value of Vc can be adjusted to take this into account. The voltage gain will be
reduced significantly.
hfe = 150,
hfe = Ic/Ib
G2 = 150 unloaded
Component List
R1 110K 0.25W MF
R4 1K 0.25W MF
R7 30K 0.25W MF
R10 7K5 0.25W MF
R2 30K 0.25W MF
R5 200 0.25W MF
R8 3K 0.25W MF
Tr1 BC108
R3 3K 0.25W MF
R6 110K 0.25W MF
R9 1K 0.25W MF
Tr2
BC108
and R1 = (Vin-Vbe)/Ib
In the switch mode the transistor is ideal, the base resistor can be
selected to saturate the transistor at the minimum value of hfe and presents a
high input impedance.
The transistor in switch mode is used extensively for power regulation
(voltage and current), switching relays, and sometimes as a buffer between
dissimilar logic circuits.
Power Dissipation.
In the previous examples power dissipation has been low in comparison with the
component ratings. When a transistor is operated near its maximum power rating
it may become necessary to provide a heat sink. Heat sinks are designed to
present the maximum surface area to the surrounding air and are constructed
using a good heat conductor, (usually aluminium which is light and easy to mould
into intricate shapes). If the transistor is housed in a metal box it is
sometimes convenient to secure the transistor directly to the case, if this is
done care must be taken to isolate the transistor electrically as the transistor
body is generally connected to the collector.
Drain:
Gate:
On both sides of the n-type bar of (fig 9a) heavily doped (p+)
regions of acceptor impurities have been formed by alloying or
diffusion (creating p-n junction). These impurity regions are called
the gate G. Between the gate and source a voltage Vgs is applied in
the direction to reverse bias the p-n junction. Conventional current
entering the bar at G is designated Ig.
Channel:
The region in fig 9a of n-type material between the two gate regions
is the channel through which the majority carriers move from source
to drain.
When the gate is biased negatively it repels some of the electrons flowing
in the material and forces them into a narrower path thereby increasing the
resistance of the current channel. In effect an increase in the reverse bias
broadens the depletion layer where there are no free carriers and by
constricting the conduction channel reduces the longitudinal current.
Simply a FET controls drain-source current by the bias voltage on the gate,
whereas the transistor controls the collector current by an increase in base
current.
INTEGRATED CIRCUITS
An integrated circuit consists of a single-crystal chip of silicon
containing both active and passive elements and their interconnections. These
circuits are produced by the same processes used to fabricate individual
transistors and diodes.
Integrated circuits are cheap to mass produce and an operational amplifier
for example can be purchased for the price of two general purpose transistors.
OPERATIONAL AMPLIFIERS
These devices are generally housed in duel in line packages (DIL) although
some military specification devices are housed in a metal can rather like a
transistor but with more leads. Figure 10a shows a typical op-amp package.
Packages are available in 8 way, 14 way, 16 way, up to 40 way, where several
devices may be housed in the same package.
At Gain max:
Input Current:
This is the load current of the inverting and non-inverting inputs
measured in nA (this is usually small and can be neglected in most designs).
Input Offset Voltage:
This is the standing voltage on the input which will be reflected as an offset
voltage on the output, this is gain dependant.
Input Offset Current:
The input offset current will also be reflected on the voltage output it is
input resistor and gain dependant.
Drift:
Input offset current and voltage dependant these figures are not always quoted
for general purpose operational amplifiers.
Common Mode Rejection:
This is the noise rejection of the inputs where both inputs are subjected to the
same noise. To minimise common mode noise rejection the input impedances of a
differential amplifier should be balanced.
Series Mode Rejection:
This is the rejection of input noise in terms of current, to minimise the
effects of series mode noise the input resistor impedances must be as small as
possible.
Differential Input Voltage (max):
This is the maximum voltage swing the inputs can accept and is also limited by
the supply voltage.
Power Dissipation (max):
The power dissipation of the operational amplifier is mainly affected by the
output voltage swing and the output load (as the output impedance is small).
The supply volts if significantly higher than the voltage swing will also be
detrimental to the power dissipation.
Open Loop Voltage Gain:
This is the gain of the amplifier before external feedback components are added.
It is usually quoted in db.
Note: Gain in db = 20logG* where Log10 = 1, Log100 = 2, Log1000 = 3,Log10000 =
4, etc where log = logarithm to base 10. Therefore a gain of 60db 1000*.
Slew
Rate:
This is the response of the output signal to a step change in the input signal
measured in V/s.
Output Voltage Swing (max):
This is quoted at a typical supply voltage for the device, and usually is
approximately 2V below rail voltages.
Gain Bandwidth Product:
The frequency at which the output voltage is attenuated by 3db, with the input
level constant.
The Operational Amplifier as a Summer:
If several signals are to be combined, ie summed these signals can be fed
via their own input resistors to an operational amplifier, Fig 12 shows a non
inverting amplifier with summing junction.
The gain is set by (Rf + R)/R, and 1/R = 1/(Rs1 + Ri1) + 1/(Rs2 +Ri2).to
+1/(Rsn + Rin) where n is the nth input.
The obvious disadvantage with this system is that to balance the input
impedances increasingly high input resistors must be used limiting the available
gain.
The Operational Amplifier as a Comparator
When the amplifier is used as a comparator the gain becomes the open loop gain
of the device, as no feedback resistor is used. In this mode if the input
voltage on the non-inverting + input is higher than the input on the inverting input then the output voltage will rise to saturation, approximately 2 volts
below the supply rail voltage. Conversely when the positive input is less than
the negative input to amplifier out will drive negative.
It is normal to run the comparator from a single supply so the output switches
between 0v and Vs-2V. An example of a comparator is shown in figure 13 where the
switching point is set by voltage divider R1,R2. When the input voltage at the +
input rises above the voltage set by the divider the output rises from 0V to Vs
- 2V. By reversing the inputs the output would switch between Vs -2V and 0V.
LOGIC
There are two systems in use TTL, transistor logic and CMOS, FET based
logic. TTL is generally used in high frequency applications ie computing, and
CMOS at lower speeds. The devices are not directly compatible although several
hybrid devices are available. If it is necessary to join the two systems the
best solution would be to use a transistor in switch mode as a buffer.
Advantages and disadvantages of CMOS verses TTL:
TTL 74 Series
Supply:
5V 10%
3V to 18V
Input level:
0 below 0.8V
1 above 2V
0 below 0.3Vs
1 above 0.7Vs
Output:
Advantages:
1) Will operate at high frequency
2) Less susceptible to noise
Disadvantages:
1) High power consumption
2) Rigid supply limits
To derive a square wave output from the feedback oscillator in fig 6 the
amplifier gain must be increased, ie the value of the feedback resistance
increased. Fig 3 shows the output with the gain set to 6 times. The clipped
sinusoidal output approximates to a square wave.
By increasing the gain further the clipped sine wave will become a square
wave, see fig 4.
In many cases waveforms are not symmetrical or consist of a series of
narrow pulses. Figure 5 shows a square wave where the time duration of the
pulse, T1 is equal to the time of the space between the pulses T2. The MarkSpace Ratio is said to be equal, ie 1:1 or T1:T2. The repetition frequency f =
1/(T1+T2).
Figure 6 shows a square waveform with uneven Mark-Space Ratio. The markspace ratio = T1:T2 and the pulse repetition frequency f = 1/(T1+T2).
ACTIVE FILTERS
Filters are defined as either high pass (HPF, passing high frequency
signals), low pass (LPF, blocking high frequency signals), or notch which
contains elements of both high and low pass, and can either pass or exclude
signals within a narrow band of frequencies.
Figure 7 shows a conventional low pass filter network, combined with a noninverting amplifier with a gain of 4.3* or 12.db see below:
G = (R4 + R3)/R3
The gain /frequency plot of the low pass filter in figure 1 is shown in
figure 8. The slope of the gain or attenuation curve is defined as attenuation
per decade of frequency.
A phase shift is associated with the gain frequency plot and is typically
90 degrees at the Fc point.
If the positions of C and R (ie C1, C2, R1 and R2) are interposed then the
low pass filter becomes the high pass filter shown in figure 3. Gain and Fc
calculations are the same as in figure 7.
Figure 10 shows the Gain/Frequency plot for the high pass filter shown in
figure 9. As before the attenuation of the filter is 42db/decade. The Fc value
of 380Hz is approximately 20% less than the calculated value whereas Fc was 20%
higher for the previous low pass filter.
Inspection of the plots in figures 8 and 10 show the obvious weakness in
the conventional design. The amplitude instability as the filter approaches its
design frequency would preclude its use in many applications although it may
provide a cheaper alternative to more complicated filters.
Fc = 1/(2RC)
if R4 = 11K8
if R8 =9K31
Component List
R1 1M 0.25W MF
R4 11K8 precision MF
R7 11K5 precision MF
R2 1M 0.25W MF
R5 1M 0.25W MF
R8 9K31 precision MF
R3 1K78 precision MF
R6 1M 0.25MF
Figure 12 shows the gain frequency characteristic of the low pass filter example
in figure 11. The circuit exhibits excellent gain stability and has an
attenuation of 80db/decade at the design frequency. The circuit has a phase
shift of 180 at Fc.
The two stage high pass filter design shown in figures 13 and 14 shares the same
components as the two stage low pass filter. The calculations are therefore
exactly the same.
Component List
R1 1M 0.25W MF
R4 11K8 precision MF
R7 11K5 precision MF
R2 1M 0.25W MF
R5 1M 0.25W MF
R8 9K31 precision MF
R3 1K78 precision MF
R6 1M 0.25MF
OPTICAL ELECTRONICS
Light Emitting Diodes
Gallium phosphide and gallium arsenide phosphide light emitting diodes provide a
visible light source when a current is passed through them. Typically for a red
LED a value of If, 5mA to 25mA will provide a sufficient light output, with the
light output doubling over this range. The forward bias voltage Vf, will be of
the order of 1.9V to 3V.
Generally for LED's of different colours and tri-state the current If must be
increased. Figure 1 shows LED connection details.
If both the red and green LED's of the tri-state LED are illuminated the
resultant colour yellow can be generated.
Displays
Rectangular shaped LED's can be formed into a figure eight configuration
where seven LED's are connected in either common cathode or common anode mode,
see figure 2.
1
0
1
1
0
0
0
0
2
1
1
0
1
1
0
1
3
1
1
1
1
0
0
1
4
0
1
1
0
0
1
1
5
1
0
1
1
0
1
1
6
0
0
1
1
1
1
1
7
1
1
1
0
0
1
0
8
1
1
1
1
1
1
1
9
1
1
1
1
0
1
1
0
1
1
1
1
1
1
0
Photoconductors
If radiation falls upon a semiconductor its conductivity increases. The
conductivity of a semiconductor is proportional to the concentration of charge
carriers present, radiant energy supplied causes covalent bonds to be broken and
additional hole-electron pairs are created. The increased current carriers
reduce the resistance of the material, such devices are called photoresistors or
photoconductors.
Phototransistor
Opto Isolator
DIGITAL ELECTRONICS
LOGIC
Logic circuits are used extensively in modern electronics and replace
complicated relay logic previously used. Gate packages are cheap and require few
external components. As previously discussed in the integrated circuits section,
there are two systems in general use, TTL and CMOS. The two systems operate at
different voltage and frequency ranges but the functions are comparable.
Definition of Logic Functions:
AND:
When inputs A and B are high, ie logic 1, output Z is high. This can be
described as the exclusive state as other combinations produce a low
output, ie 0v logic 0.
OR:
When inputs A and/or B are high then output Z is high. The exclusive state
only occurs when A and B are low ie logic 0, and Z is low.
XOR:
Defined as exclusive OR, inputs A and B are either both high or both low
output Z is low. When either A or B is high, Z is high.
NAND: (Not AND) The output is inverted, ie to produce a low output when A and B
are high. This also enables the gate to be used as an inverting buffer ie
A and B connected together.
NOR:
(Not OR) The output is inverted so when A and B are both low the output Z
is high. Again connecting A and B will produce an inverting buffer.
The symbols of the logic gates together with their truth tables are shown
below:-
A
1
1
0
0
AND
B
1
0
1
0
Z
1
0
0
0
A
1
1
0
0
OR
B
1
0
1
0
Z
1
1
1
0
A
1
0
1
0
XOR
B
1
1
0
0
Z
0
1
1
0
A
1
1
0
0
NAND
B
Z
1
0
0
1
1
1
0
1
A
1
1
0
0
NOR
B
1
0
1
0
Z
0
0
0
1
Most logic designs will require inverting buffers at one stage of the
design as the gates must be manipulated to operate at their exclusive state. A
good design will minimise gate packages therefore a combination of packages may
be used in a design.
The example above shows gates with two inputs. Packages are available with up to
eight inputs but the operation remains the same ie the exclusive state remains
the same. Inverting buffers and non inverting buffers are also available in
packages of 6. Figure 1 shows a typical CMOS and TTL package.
Boolean Algebra
Terms A, B, and Z can be expressed in the form of Boolean Algebra as follows:
When A = logic 1, Boolean Expression is A
_
When A = logic 0,
A
When B = logic 1, Boolean Expression is B
_
When B = logic 0,
B
where - denotes not 1
The gate functions shown on the previous page can be expressed as follows:
AND
OR
XOR
NAND
NOR
Z = A.B
_
Z = A.B + A.B +
_
_
Z = A.B + A.B
_
_
Z = A.B + A.B +
_ _
Z = A.B
_
A.B
_ _
A.B
Only the values of Z = logic 1 are shown in the equation therefore all
other combinations of A and B are equal to logic 0. A truth table can therefore
be easily constructed from a Boolean Expression.
The gate combinations shown below can be expressed in the form of a truth
table. All the combinations of A, B, C and D are shown on the left hand side of
the truth table, the various output values are shown on the right hand side. For
four inputs the number of combinations possible is 16, the binary code formed is
expressed by numbers 0 to 15 in the left hand column.
Truth Table
No
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Z1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Z2
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Z3
Z4
0
0
0
1
0
0
0
1
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
1
0
1
1
1
0
1
1
1
Z1 = A.B.C.D
_ _ _
_ _
_
_ _
_
_ _
_
_
_
_
Z2 = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
_
_ _ _
_ _
_
_
_
_ _
+ A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
_
_
+ A.B.C.D + A.B.C.D + A.B.C.D
_ _
_
_
_ _
_
_
Z3 = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
+ A.B.C.D
_
_
_
_
_
_ _
_
_
_
Z4 = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
_
_
+ A.B.C.D + A.B.C.D + A.B.C.D
To optimise the number of packages it is sometimes more practical to use
NAND and NOR logic. Figure 2 shows a circuit using AND gates and inverting
buffers, and the equivalent circuit using NAND gates.
No
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
B
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
C
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
D
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Z
1
1
1
0
1
1
1
0
1
1
1
0
0
0
0
0
Apart from variation in trigger level the Schmitt trigger will produce a
variation in mark to space ratio.
Logic 0
below 0.3Vs
below 0.8v
Logic 1
above 0.7Vs
above 2.0v
The output pulse width T will be equal to 0.7CR for CMOS and (5-0.8)/5 *CR
for TTL.
When a Bistable Multivibrator is fed with a trigger pulse it serves to
toggle the output between 0 and 1, thus two pulses generate one pulse in phase
with the input.
A T type flip-flop is a bistable multivibrator with an input T and outputs Q and
not Q (ie inverted Q), see figure 5.
27
26
25
24
23
22
21
20
Decade
128
64
32
16
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
2
3
4
5
6
7
8
9
10
The previous table shows the decimal equivalent of an eight bit binary
number. It is possible to generate a maximum count of 11111111 which is
equivalent to 255, (1+2+4+8+16+32+64+128).
In order to convert a train of pulses into a binary number it is necessary
to pass the input pulses through several stages of a divide by 2 circuit ie
flip-flop, which resets after the desired number of pulses. In practice counter
logic IC's are available to provide a binary count from a train of pulses, see
figure 7.
This circuit does not always produce an even mark to space ratio, the M-S
ratio changes with the values of C and R.
Z2 holds Z1 at
Inhibit
The operation of a gate can be disabled or blocked by controlling one of
the inputs, see figure 13.
Figure 13 shows two examples, although this technique can be used for all
logic gates. For NAND the output of gate 1 will only change state with input A
when the inhibit input I is at logic 1. Gate 2 is connected as an invertor. A =
Z when I = logic 1.
For NOR the output of gate 1 with input A when the inhibit input I is at
logic 0. Gate 2 is connected as an invertor. A = Z when I = logic 0.
Time Delay
A time delay can be incorporated in a logic design by the addition of a
resistor and capacitor in a logic circuit as shown in figure 14. Similarly a
solid logic 1 can be converted into a pulse by feeding the signal into a series
capacitor and discharging through a resistor.
for CMOS
T = 0.4CR
for TTL
Astable Multivibrator.
The Astable Multivibrator design shown in figure 15 uses 2 inverting buffers to
generate a square wave output. The third invertor provides a buffered output
which may not be necessary if the multivibrator is lightly loaded, ie feeding
another gate.
Again the pulse width equals 0.7CR so the time between pulses equals
1.4CR, and the frequency F = 1/1.4CR.
DESIGN
The design of any device requires careful attention to detail. It is not
simply enough to design an electronic device to perform a specific function but
its packaging and ease of operation must have an equal importance.
In determining the viability of a design the first question a customer
will ask will be can it be done, if so when and how much will it cost. In
practice the first question is irrelevant as virtually any task imaginable can
be achieved with unlimited time and money. The second two questions are
interrelated as for a design project to be successful in general there must be a
financial advantage in its continued use (or its production). In either case the
production cost and unit cost must be balanced with the potential financial
gain.
If a new product is to be launched a careful appraisal of the market must
be undertaken to determine the financial viability of the project.
The measure of a good designer must be that in the words of the old adage that
he can produce for 1 what anybody else can produce for 2.
The Initial Design Process
In most cases a customer or your superior in the company will propose the
initial design project. It is most important that as much information as
possible is collated at this time. The following questions should be answered at
the first meeting:
a) What does the customer intend to achieve with this device.
b) Where is the device to be used and by whom, is it to be portable or fixed, ie
must it be robust and light, and what are the environmental conditions. What is
the level of competence of the operator.
c) What is the probable financial return in the use of this device. This can be
in terms of time and or money.
d) What expenditure will the customer accept, and how quickly must the project
be completed. These questions are the most difficult to answer as understandably
the customer will be reluctant to give this information especially if more than
one company is quoting for the project. The customer may specify an unrealistic
time scale, so do not commit yourself at this stage.
Apart from the discipline required formulating a quotation it is desirable
at this stage to produce a full specification for the proposed device. This will
require a certain amount of development work as the specification produced must
be binding on both sides.
The specification should be included in the quotation, but in the event of
an internal design it should be approved in writing before work is carried out.
This is of great importance as the customer is certain as day follows night to
attempt to change the specification as the project progresses. Any additional
work resulting from a change in specification should be quoted for separately.
Before any quotation can be produced the design concept must be finalised.
In the case of an inexperienced designer it may be helpful to hold a meeting to
discuss ways of proceeding with the design. This is often called a Brainstorming
session.
d) Having identified all proposed controls will they fit on the panels in a
logical fashion (Ergonomics).
e) What production methods will be employed in the manufacture of the device.
Will printed circuit boards be used or prototype boards. Prototype boards avoid
the cost of producing and processing printed circuit board (pcb) artwork but
inevitably will result in a loss of reliability and increased production time.
For a rule of thumb guide it is generally cost effective to produce printed
circuit boards for batches of 3 or more but individual requirements might
dictate the use of a pcb for one unit ( ie reliability and strength ).
f) The panel labelling artwork must be produced please remember that the
appearance of the finished device is almost as important as its function, so
great care should be taken to create a superficially pleasing design.
g) A production plan or instruction must be produced if the device is produced
outside your immediate control. Remember to include a complete component list,
circuit and layout diagrams and provide the components or specify the suppliers.
Note that delivery times can be a significant factor.
Post Production Evaluation.
The device must be thoroughly tested to confirm that it complies with the
original specification. An inspection or test report must be prepared on the
device showing the measured parameters, and then signed and dated.
In many cases a Declaration of Conformity will be required which will
state the relevant British or European standards the device conforms to. It may
be necessary to confirm this by testing (in a standards laboratory) and can
prove very expensive for small quantities. Another requirement is that the
designer or manufacturer retains a conformity file on the device. This document
must contain the specifications of all components used in the device with a
listing of the appropriate standards.
The Operating Manual.
The report or operating manual will be required in almost all cases. The
manual has two functions, to allow the safe operation of the equipment and to
impart enough information to facilitate repair.
The manual should have a logical format starting with a contents list and
ending with any additional information enclosed in an appendix. If the manual is
produced for a specific device the appendix could contain the Test Report and
Declaration of Conformity. A typical manual format is shown below:
CONTENTS:
1 OPERATION:
2 SPECIFICATION:
3 CIRCUIT DESCRIPTION:
Circuit Diagrams:
Layout Drawings:
Wiring Schedule:
Component Lists:
Exterior Detail Drawings:
4 CALIBRATION AND OPERATION: How to calibrate and use the device.
5 APPENDIX:
Test Data:
Test Report:
Declaration of Conformity:
Contact Address and Telephone number:
The manual format is similar to a report format except the summary and
authorisation sheet is not added to the front of the manual, and conclusions and
recommendations are omitted.
Glossary of Terms
Accuracy:
the
working
British Standards:
Drift:
Ergonomics:
Hysteresis:
Linearity:
Span:
Zero Offset:
Planning.
It is useful once the final design solution has been selected to produce a
plan of the process showing activity against time (see figure 1). The critical
path should be marked on the diagram, ie those processes which must be completed
before the next stage can begin. It may be useful to flowchart the process as an
aid to determining the critical path.
WORKSHOP PRACTICE
I started building electronic equipment as a hobby at the age of 12. As the
circuits became more complicated the time spent de-bugging equipment exceeded
the build time, if they worked at all. The easy explanation might be faulty
components or a poor initial design or possibly even a mistake in reading the
circuit design, but in practice the fault usually lay with the idiot using the
soldering iron.
When soldering components to a printed circuit board or each other a good
electrical and mechanical connection must be achieved. It does not follow that
more solder or more heat is better in fact the reverse is true. A good soldering
technique relies on preparation.
1.0 Useful Equipment
Before starting any build a selection of tools must be obtained, and an area
prepared to carry out the work.
1.1 The Workbench
Any table or existing workbench can be used as long as you feel comfortable
sitting at it. It should be faced with hardboard, glossy side up, coated with
several applications of varnish. The workbench should be close to a 13A socket
outlet preferably at worktop height or power can be fed via an extension lead.
The work area should be well lit possibly with an additional desk lamp.
1.2 Hand Tools
When making or adapting a case or enclosure the usual mechanical tools are
requires ie drills reamers files etc. It is generally better to carry out this
work away from the electronic workbench as it should be kept as a clean area.
The list below represents the bare minimum tools required to start:
1) Long nosed pliers large.
2) Long nosed pliers small.
3) Side cutters small
4) Cable Stripper
5) Craft knife or scalpel
6) Small crocodile clips
7) Flexible test lead probe with crossover claws
8) Set of screwdrivers, terminal posidrive and flathead
9) Set of needle files
10) Soldering Iron 15 to 25w or temperature controlled soldering station.
11) Solder sucker
Tagstrip
Most PCBs will be cleaned then passed across a solder bath to coat or tin the
copper film. This makes soldering components to the PCB far easier and the
joints more reliable.
Whether the board is single sided ie copper film on one face only, or double
sided, the faces are defined as copper side and component side. Although both
sides may contain copper track it follows that to prevent construction errors
the component mounting side must be defined.
When designing a PCB layout most designers will treat the design as a single
sided board until the number of links required on the component side reaches 5
or 6, above this point it is more economical to produce a double sided board,
where small numbers of PCBs are required.
Gone are the days when PCB layouts were produced using different sized sticky
tape and pads stuck to clear plastic or tracing paper. Computer programs have
been available for the past 15 years which will produce accurate PCB layouts
which can be passed to the PCB manufacturer in digital form. Before attempting a
layout please check with the local PCB manufacturer to find out which programs
are compatible with his system.
There are PCB prototyping systems available which enable small quantities of
PCBs to be produced. The process is still relatively expensive and the
resulting boards generally of poor quality, these systems are best avoided.
Due to the set up process the cost for a PCB manufacturer to produce a small
number of PCBs is very high. The break even point between using a prototype
board and designing your own PCB is of the order of five to ten units ie find
five to ten people who also wish to build the circuit.
Wire Wrapping.
3.0 Soldering and Assembly Techniques
3.1 Preparation
There is a natural tendency once you have assembled all the components to rush
into building the circuit, but to be successful care should be taken in your
preparations.
The first stage should be to measure all the components and their lead spacing
(see the next section). It might seem overly pedantic but work in imperial units
most components and all of the prototype boards are designed that way and
multiples of 0.1 inches are easier to read than 2.54mm.
Using different colour pens draw the circuit layout including component
dimensions. It may help to use squared paper or graph paper.
Horizontal Mounting
Vertical Mounting
It is better to assemble a reasonable number of components before soldering
therefore when the component is in position bend the leads on the underside of
the board slightly to retain the component.
When positioning integrated circuit bases it is better to position the base then
solder two pins to the board while holding the base. Later when soldering the
whole base solder the two original pins properly. Remember pin 1 is marked or a
semicircle is cut in the moulding at the top of the base. I prefer to position
all the bases first without other components to get in the way.
Dont try to save money by soldering integrated circuits directly to the board
they can be easily damaged and you may need to remove them when testing the
board on completion of the project. Turned pin DIL sockets are generally the
most reliable.
Connections to and from the board should be made in multistrand cable. Again
keep these connections reasonably short for high frequency applications. For
audio circuits low level signals should be connected with screened cable.
3.3 Soldering
Before starting work give the soldering iron enough time to heat up properly,
test the temperature by applying multicore solder to the bit. The solder should
flow easily when the iron is up to temperature.
Before soldering anything ensure that the components to be soldered are clean
and free of oxide. Printed circuit boards, not already tinned can be cleaned
with paper, stubborn areas can be polished with a fine abrasive paper but be
careful the copper layer is very thin. Connectors on switches, potentiometers
etc can also be cleaned with a fine abrasive paper if absolutely necessary.
Component leads generally will not require cleaning especially if the component
is new.
Multicore solder contains flux within the solder wire, when heated the flux will
flow fractionally before the solder. The flux has two functions to coat the area
to be soldered to prevent oxide build up and to facilitate the flow of the
solder. A common fault when soldering is to apply solder to the bit and then
attempt to stick two components together. This can sometimes be done to
temporarily hold a component in position ie DIL sockets on a PCB but will
inevitably result in a poor joint sometimes called a dry joint.
Dirty Bit
Clean Bit
When soldering first clean the soldering iron bit by applying a small amount of
multicore solder to the bit and wiping the bit on a damp sponge. The bit should
then appear shiny with no pitting. If the surface is damaged temporary repairs
can be made with abrasive paper then repeating the process but it is better to
accept the inevitable and change the soldering iron bit immediately.
Allow the soldering iron to cool down then fit a new bit and re-heat and tin the
new bit. In many cases a new soldering iron bit will not immediately tin
properly if this is the case hold a piece of paper flat on the workbench and
polish the bit adding solder occasionally until the tip of the bit is properly
tined and has a shiny finish, do not use abrasives as this will permanently
damage the bit.
Hold the soldering iron as you would a pen or pencil only providing enough force
to maintain contact with the work piece.
At first sight it may appear that you need three hands but
remember you can usually use the soldering iron in its stand,
or use a small vice to hold the component. A probe or
crocodile clip can also be useful.
When soldering components to a PCB locate the components on
the component side then push the leads through the holes. To
retain the components bend the leads slightly on the copper
side, this should prevent movement when you turn the board
over to solder it.
To solder the component to the board, clean the bit then position the bit on the
track and the component lead then apply the solder to the joint. Never use more
solder than absolutely necessary as it can result in bridging of tracks on the
board. It is usually possible to do two or three joints in this manor before
cleaning the bit but do not allow surplus solder to remain on the bit.
The resultant joints should appear shiny not matt and have a concave appearance.
If they appear convex or rounded solder them again using a solder sucker if
necessary as dry joints are mechanically weak and can sometimes have a high
electrical resistance.
Dry joints are usually the cause of intermittent faults.
On completion always switch off the soldering iron and put iron and stand in a
safe place to cool down. Using side cutters trim off all unwanted component
leads from the copper side of the board.
4.0 Testing
Having spent hours making your project the natural tendency is to apply power
and switch it on. DONT DO IT.
The first step should always be to remove all debris from the workbench or
testing area to limit the chances of short circuits, then follow the procedure
listed below:
1) Using layout and circuit diagrams check for accuracy.
2) Inspect all joints and ensure that there are no dry joints or inadvertent
short circuits.
3) Switch on power supply set and check voltage levels.
4) If you are using integrated circuits check that they have not yet been
inserted into the DIL sockets.
5) Connect your project to the power supply double check your connections before
you switch on.
6) Using a voltmeter check voltage levels at power rails and at each DIL socket.
If the supply voltage differential is less than 50v, run the tip of your finger
over all the components to check for overheating.
7) Plug in the Integrated circuits stage by stage testing each stage before
plugging in the next. Note it is advisable to disconnect the power supply before
plugging in each integrated circuit.
5.0 Finishing
If your project is to be used in damp conditions it is advisable to coat
vulnerable parts with printed circuit board lacquer.
Before starting clean and de-flux the PCB, mask any clear plastic wafer switches
and integrated circuits. The easiest way to mask integrated circuits is to fit
masking tape to the top of the plastic covers that are supplied with the ICs.
It is advisable to spray lacquer in a well ventilated area if this is not
possible lay newspaper across the top of your cooker and use the extractor fan
to remove fumes.
When spraying apply several light coats to both sides of the board allowing
drying time between coats.
DESIGN EXAMPLES
1) Light Sensitive Switch
Using a light dependant resistor design a light sensitive switch to
operate a security light, internal or external, during hours of darkness. The
light switch should be capable of switching 500w at 240V ac, and utilise an
existing 12v dc supply.
Component Data:
SPNO Relay
Tr1 BC109
D1 IN4001
Ic = 100mA
Vcbo = 30v
Vceo = 20v
hfe = 200 to 800
I = 1A
Vb = 100v
D2
LDR1
NORP12
NSL19
Red
Vf = 1.9v
If = 10mA typ
If = 30mA Max
10 Lux
100 Lux
1000 Lux
Dark
9K
---400
1M
20K to 100K
5K
---20M
to
Component List:
Fig 1
R1, 47K 0.25w MF
VR1, 500K 20t cermet trimpot
LDR1, NORP12
Tr1, BC109
D1, IN4001
D2, Red LED Vf 1.9v, If 10-30mA
RL1, SPNO 6A/250v
Fig 2
R1, 270K 0.25w MF
R2, 2K7 0.25w MF
R3, 200 0.25w MF
R4, 20K 0.25w MF
VR1, 10K 20t cermet trimpot
LDR1, NORP12 or NSL19
Tr1, BC109
IC1, CA3140
D1, IN4001
D2, Red LED Vf 1.9v,If 10-30mA
RL1, SPNO 6A/250V
2) Temperature Controller
Using a NiCr/NiAl K type thermocouple design a temperature controller for
a small industrial oven to be controlled between 100C and 400C. To prevent
constant switching a controllable dead band should be incorporated in the
design. The oven is rated 5A\240v. Note a thermocouple cold junction reference
should be included in the design.
Component Data:
SPNO Relay
Tr1/2 BC109
D1 IN4001
Ic = 100mA max
Vcbo = 30v
Vceo = 20v
hfe = 200 to 800
I = 1A
Vb = 100v
D2
K type T/C
Red LED
4mV per 100C
Vf = 1.9v
Max temp = 400C
If = 10mA
If 30mA Max
LM35DZ
Temp sensor
0 to 100C
Vs = +4v to +30v
Vo 10mV/C
The switching level can then be set via resistance chain R12,VR2 and R13, which
sets the switching level of IC5.
To determine error amplifier gain (IC4), Calculate Vin for 2 * 10C, as the
output of IC2 is equivalent to 10 mV/C,Vin = 200mV at 10v output. Therefore
gain of IC4 = 10/0.2 = 50*
G = (Rin + Rf)/Rin
Where Rin = Rs + R8 = Rs + R9 as the source impedances
are different it is necessary to make the values of R8 and R9 as large as
possible for Rf not greater than 1M.
As the Gain is 50 * nom, Rin max = 20K. Gain = (1M + 20K)/20K = 51*
Selecting Resistors: R8 = 20K, R9 = 20K, R10 = 1M, R11 = 1M.
The Error Amplifier Output becomes 5.1v at 10C, and 0.51v at 1C.
Let VR2 = 1K then I = (5.1v - 0.51)/1 mA = 4.6mA
R13 = 0.51/4.6 K = 110, R12 = (12 - 5.1)/4.6 K = 1K5
Note C1 and C2 are selected at 0.1F to limit high frequency noise in the
circuit. D1 prevents back EMF generated by the inductance of the relay coil.
The power rating of the resistors needs to be determined. The easiest way is to
calculate the value of resistance for standard power ratings at the supply
voltage.
For Power 1W,
For Power 1/2W,
For Power 1/4W,
= 144
= 288
= 576
By inspection only R2, R7 and R13 are below 576 and all these are part of a
voltage divider, which is well within tolerance.
Component List (Temperature Controller):
C1 and C2, 0.1F ceramic or polyester
R1, 24K 0.25w MF
R4, 3K 0.25w MF
R7, 300 0.25w MF
R10, 1M 0.25w MF
R13, 110 0.25w MF
R16, 10K 0.25w MF
Tr1,Tr2 BC109
D1, IN4001
IC1, LM35DZ
RL1 Volts = 12v, Assume that supply volts Vs = 15v, Then voltage across R2 = 3v
I(Relay) = 12/220 = 54.55mA nom
R2 = 3/(54.55) K = 55 preferred value 56
The choice of the relay with a coil resistance of 220 requires a medium
power transistor to drive it. This transistor has a hfe of 50 which requires a
base current of 1.1mA to drive it into saturation. To achieve this with one
stage a very large and expensive capacitor would be required.
Assume Ib2 = 1mA then Ie1 = 1mA and with hfe 200, Ib1 = 5A
Ie1 = Ib1 + Ic1 therefore Ic1 = 1 - .005 mA = 0.995mA
Relay current I(Relay) = Ic1 + Ic2 and I(R2) = Ic2 + Ib2 as Ib2 = Ic1 + Ib1
Then I(R2) = I(Relay) + 5A, as 5A is small it can be ignored.
If I(Relay) I(R2) then I(R2) = 15/(220 + 56) A = 54.35mA
The Voltage across R2 = 56 * 54.35 mV = 3.04v at Power P = 165mW
The Voltage across C1 = 3.04 + 0.6 + 0.6 = 4.24v
T = C1*R1 where T is the time in seconds to reach Vs.
To drive Tr1 ON: V(R1) = (15-4.24)v = 10.76v at Ts = 4.24C1*R1/15 where Ts is
the time to switch on Tr1.
Therefore Ts = 0.28C1*R1 as I(R1) 5A, R1 10.76/5 M = 2M15
R2, 56 0.5W MF
Tr1, BC109
Tr2 2N3053,
4) Transistor Tester
Design a transistor tester to determine transistor current gain (hfe) and
lead connection. The tester should be capable of testing both PNP and NPN
transistors. The transistor tester should be powered from a bench power supply
providing 12v to 15v dc, but it would be desirable to design a battery option
for this unit ie 9v PP3.
0
1K56
5K7
12K6
26K4
67K8
136K8
274K8
689K
1M103
1M379
hfe
1
2
5
10
20
50
100
200
500
800
1000
Component List
R1, 24 0.5W MF
R4, 1K 0.25W MF
R7, 1K2 0.25W MF
SW, SPDT
Tr1, BC478
PP9 100mA,
AA 45mA,
C 150mA,
D 350mA,
RR 140mA.
Component Data:
Tr2, BU406
Hfe = 20 min
Vce = 10v
Tr1, BC109
hfe = 200-800
Vce = 5v
IC1, CA3140
OL Gain = 100db
Vs = +4 to +36v
Iop = 12mA
D1, ZN458B
I = 2-120mA
Vref = 2.45v
Drift = 29ppm/C
Noise = 10V rms
The transistor Tr2 is switched on when the voltage across R3 is less than the
reference voltage to the + input of IC1. The input power supply voltage (5v to
18v), should not exceed 10v above cell voltage ie the battery to be charged, or
transistor Vce will be exceeded. If the supply voltage is less than 4v above
cell voltage there may be insufficient current drive.
Select Maximum Current, say 400mA. Then select a low value resistor for R3
(improves range reduces power dissipation).
Let R3 = 1.5.
At maximum output, 400mA, Vr3 = 0.4*1.5v = 0.6v, P = 0.6*0.4 = 0.24W
Let R3 = 1.5 0.5W MF.
D1 produces a reference voltage of 2.45v.
Voltage across R3 = 0 to 0.6v for
drive current of 0 to 400mA. For control range Vr1 must produce 0 to 0.6v.
If Vr1 = 100K then current through Vr1 = 0.6/100 mA = 6A.
Select C1 = 0.1F to reduce high frequency noise.
R4 = (2.45 - 0.6)/0.006 K = 308K preferred value 330K
Tr1, BC109
Tr2, BU406
6) Design a Bench Power Supply with a variable regulated voltage output from 5V
dc to 18V dc, at current 1A. The supply output should be displayed on the front
panel.
Component Data:
D1 BZX79 Zener
Vz = 5.1V
-0.8mV/C
Pt = 0.5W
D2 Red LED
Vf = 3V
If = 10mA
Ifmax = 30mA
D3 BZX79 Zener
Vz = 10V
6.4mV/C
Pt = 0.5W
REG1 LM317T
REC1 Diode Bridge T1 Transformer
Vin Max = 40V
1.6A, 100V
Prim 240v/110v
Vdiff = 2.3V
Sec 2* 20v,0.5A
Min Load = 3.5mA
Droop at FL 7%
Ripple Rej = 80db
Therm Res 4C/W
T max 125C
IC1 CA3140
Vs +4V to +36V
OL Gain 100db
Sw1 DPDT
240V/2A
Transformer Rating 20VA at sec assume 22VA at primary. Therefore Iin = 100mA
So select fuse 250mA.
Calculating the value for C1: CV = IT where V = Vripple and T = 1/2F
Vac at T1 sec = 20V rms
Bridge output = 20 * 1.414 -Vbridge = 28.28V - 1.2V = 27.08V dc
Transformer droop at full load 7% so min DC voltage = 0.93*28.28 1.2 = 25.1V.
Min Vin for 18V output = 2.3V + 18V = 20.3V.
Acceptable ripple Vr pkpk = 25.1-20.3V = 4.8V pkpk = 1.7V rms.
C1 = 1 * 10 * 10-3/1.7 F = 5882F, preferred value 6800F 35V DC wkg.
Assume Vref to REG1 = 1.5V below Vout. therefore Vref = 3.5V to 16.5V.
As the zener voltage Vz of D1 = 5.1V, gain of IC1, G1 = 16.5/5.1
G1 = 3.235 = (R4 + R5)/R4
where R4 = R3 + Rin
Ivr1 = 4.07mV.
1.68K
preferred
value
1K5,
Let R7 = 20K then R8 200 for Vout 18v, Ir7 = 18/20.2mA = 0.891mA,
Vr8 = 0.20 * 0.89 V = 178mA, adding Vr2 (10) to the chain, Ir7 = 0.8906mA.
DPM Input Adjustment at Vout 18V = 178.1mV to 187.0mV.
Component List
R1, 1K2 0.5W MF
R4, 10K 0.25W MF
R7, 20K 0.25W MF
Vr2, 10 20t
cermet trimpot
IC1, CA3140
Red LED
Vf = 3V
If = 10mA
Ifmax = 25mA
Green LED
Vf = 3V
If = 20mA
If max = 25mA
DPCO Relay
3A, 240V contacts
290 coil
Coil Volts 9.9-19.8V
DPCO Relay
1A, 30V contacts
Operation 5mS
720 coil
Coil Volts 8.4-17.2V
BC182L (NPN)
Ic max = 100mA
hfe 120 to 500
Pt = 350mW
BC478 (PNP)
Ic max = 150mA
hfe 110 to 450
Pt = 360mW
MC7812
Vin 14.5 to 35V
Vdiff = 2.5V
Output 12V, 1A
Temp 0 to 150C
Diode Bridge
1.6A, 100V
20VA Transformer
Prim 240v/110v
Sec 2* 12v,0.8A
Droop at FL 7%
20VA Transformer
Primary 240V/110V
Sec 2* 15V, 0.6A
Droop at FL 7%
At full load (0.5A) at 240V supply a single 12V secondary winding will
have the following maximum dc voltage:
Assuming a 5% load factor the 12V winding will produce 12*0.95 =11.4V ac.
The theoretical maximum dc voltage = 11.4 * 1.414 1.2 = 14.9V
Two secondary windings in series will produce 22.8V ac at 0.5A load which will
provide a maximum dc voltage of 31.0V under no load conditions this would rise
to 32.7V. It follows that when the supply voltage drops to 120V ac the maximum
dc voltage will be 14.9V.
It follows that neither condition is satisfactory using a single winding
at 240V supply a maximum of 14.9V is achievable which is only 0.4V above the
minimum drive voltage for the MC7812 regulator. Using two windings the dc
voltage of 31V is unacceptably high, a problem which is exacerbated under no
load conditions.
Using a 20VA transformer with two secondary windings of 15V at 0.6A, the
maximum voltage per winding becomes 20.0V at no load and 18.5V at full load. The
dc voltage for secondary windings in series is 41.2V at no load and 38.3V at
full load.
To allow automatic supply selection it is necessary to either switch the
primary or the secondary windings. If the primary windings are switched the
transformer size can be reduced but the transformer must be capable of
withstanding at least half a cycle at 100% over voltage. Greater flexibility and
reliability can be achieved by switching the secondary winding, with the
disadvantage that only one secondary winding is available. For duel supplies
either a voltage converter must be used or switching the primary windings should
be considered.
For correct regulator operation:
Minimum DC level = 14.5V + ripple say 16V
(BZX85 Pt = 1.3W)
R3, 1, 2.5W or 4W
RL1, DPCO 12V relay (8.4V to 17.2V), 720 coil, contact rating 1A 30V dc, or
0.5A 120V ac and operating time 5mS.
T1, 20VA 240V/120V primary winding, 2 off secondary windings 15V 0.6A ac.
Sk1, IEC fused chassis plug
F1, 250mA anti surge, 20mm fuse.
290/R4 = 8.25
If Tr5 is a BC182L transistor, and D4 (110V Supply Indicator LED) is a green LED
with If = 20mA and Vf = 3V, then:
R10 = (12 3)/20 K = 450 preferred value 470
Ic of Tr5 = 9/0.470 mA = 19.15, then:
Ib of Tr5 must be greater than 19.15/120 mA = 0.16mA
Note: Tr5 is only switched on when RL1 is de-energised therefore:
Tr5, Ib = (18.5 0.6)/(R4 + 290 + R8)
0.16 = 17.9/(0.056 + 0.290 + R8) where R8 is in K
0.16(0.346 + R8) =17.9
28/(R4 + 290)
28/0.346
27.4/20
(28 0.6)/R7
R2, 82 0.25W MF
R5, 430 0.25W MF
R8, 47K 0.25W MF
D2, IN4001
D4, Green LED Vf = 3V, If = 20mA
Tr1, BC182L
Tr3, BC478
Tr5, BC182L
Tr2, BC182L
Tr4, BC182L
REG1, MC7812
RL1, DPCO 12V relay (9.9V to 19.8V), 290 coil, contact rating 3A at 240V ac.
Estimated operating time 10mS.
T1, 20VA 240V/120V primary winding, 2 off secondary windings 15V 0.6A ac.
Sk1, IEC fused chassis plug
F1, 1A anti surge, 20mm fuse.
Heat Sink 19C/W
Red LED
Vf = 3V
If = 10mA
Ifmax = 25mA
6N139 Opto-isolator
Diode: If 0.5mA typ
Vf max 1.7V
Vr min 5V
Coupling: 300Kbit/s
Isolation 3000Vdc
BZX79 Zener
Vz = 6V8
3mV/C
Pt = 0.5W
Pin Details: 1,
3,
5,
7,
NC
LED Cathode
GND
Vs
IC1 CA3140
Vs +4V to +36V
OL Gain 100db
2,
4,
6,
8,
LED Anode
NC
Vo
Vcc (supply)
BZX79
Vz = 2V4
-1.6mV/C
Pt = 0.5W
The pulse converter design shown in Figure 9 should be as versatile as
possible, these modules are ideal for the connection of signals from different
measuring
systems
where
any
interconnection
between
systems
would
be
undesirable. Power supplies should be connected as required for the different
applications. The pulse converter modules can be rail mounted at any location
but obviously the power supplies for the modules should be taken from the same
source.
The isolated + and inputs must accept a wide range of input pulses
typically from 5V pk-pk to 20V pk-pk. The input signal may also have a dc offset
of up to 20V (proximity transducers)
Input Circuit:
The opto-isolator requires a minimum drive current of 0.5mA, with a maximum
input voltage of 1.7V.
Select D1 as a BZX79 2V4 Zener diode, then voltage across R2 = 0.7V at 0.5mA,
for minimum drive and R2 (max) = 1K4
If R2 = 470, then If = 1.49mA at Vf = 1.7V.
Minimum input voltage at D1 = 470*0.0005 + Vf(min). assuming Vf(min) = 0.6V,
then minimum voltage at D1 = 0.835V (at typical If)
Pt = 0.5W for BZX79, therefore maximum current through D1 = 500/2.4 mA = 208mA
Maximum Input Current = 208.5 mA therefore for an input of 10V pk the minimum
value of R1 + Xc = 48.
C1 is used to block the dc signal level. If C1 is a non polar capacitor then the
maximum value is limited to 10F. The input impedance of the capacitor can be
approximated as follows:
Xc = 1/2FC
For Frequency 2Hz, Xc = 106/2*3.142*2*10 = 8K
For Frequency 50Hz, Xc = 106/2*3.142*50*10 = 318
For Frequency 100Hz, Xc = 106/2*3.142*100 10 = 159
For Frequency 1KHz, Xc = 106/2*3.142*1000 10 = 15.9
Note: These impedance calculations are only approximate as the input signal is a
pulse not a sine wave, also the minimum input voltage and current to the optoisolator is estimated.
For the opto-isolator to operate at 2Hz with an input voltage of 5V pk-pk,
(R1+Xc)If 2.5 0.835, (R1+Xc) 1.665/0.5 K) 3K3
With Input Signal 10V pk-pk at 2Hz
(R1+Xc)If 5 0.835, (R1+Xc) 4.165/0.5 K) 8K3
If R1 = 1K then with an input signal of 10V pk-pk the opto-isolator will
operate at a frequency slightly above 2Hz. The maximum input signal can be
calculated as follows:
Vpk 2.4 = R1* 208.5 V = 208V, note the value of Xc not significant.
As C1 is a polyester capacitor with a working voltage of 63V this becomes the
voltage limit of the design with an absolute maximum voltage across the input
terminals of 65V.
The maximum power dissipation of R1 = V2/1K
Assuming worse case condition where input signal is a square wave with equal m-s
ratio V = 32.5V. Allowing for D1 let V = 30.1V.
Power (R1) = 30.12/1000
W = 0.9W
Select R1 as 1K, 1W
IC1 Output and Buffering:
Select Vcc as 6.8V and LED with Vf = 3V, If = 10mA
As the output stage of IC1 is a transistor switching between Vcc and 0V R3 is
calculated as follows:
R3 = (6.8 3)10 K = 380 preferred value 390
LED current = 3.8/390 = 9.7mA
IC2 is an operational amplifier connected as a comparator. When the voltage at
pin 3 is greater than pin 2 the output voltage on pin 6 will be at approximately
2V below the supply voltage at pin 7. When the voltage at pin 2 is greater than
pin 3 the voltage at pin 6 will be equal to the voltage at pin 4.
The input resistor values (R5 and R6) are not critical and can be anything from
0 to 100K. Select R5 and R6 as 10K
The voltage divider formed by R4 and R7 sets the switching point of IC2 which
must be set between 0V and 6.8V. The set point voltage ideally should be set mid
range for optimum performance, at either end of the range signal or power supply
noise could produce additional pulses. Another consideration is that the higher
the set point the less current drive is required to operate the opto isolator as
the output stage need note be driven into saturation. A higher set point will
increase the low frequency range.
Let the set point voltage be 4.5V and R7 = 9K1
Then the current through R7 = 4.5/9.1 mA = 0.495mA
The voltage across R4 = 6.8 4.5 = 2.3V
Therefore R4 = 2.3/0.495 K = 4K65 preferred value 4K7
Supply Design:
For the output pulse to equal +5V the voltage at pin 7 = 7V. The nearest
preferred value of zener diode is 6.8V.
The pulse converter is designed to accept supplies of +12V, +24V or 12V.
For a 0V to 10V output +12V or +24V must be supplied. For a 5V output a 12V
supply is required.
The positive supply current load will vary between 0.495mA and approximately
21mA (9.7 + 0.5 + 0.495 + 10). To calculate R8:
Let the current through D2 at full load = 6mA approximately,
then R8 = (12 6.8)/27 K = 193 preferred value 180 at Power 5.22/180 = 0.15W
The maximum power dissipation of D2 occurs under minimum load conditions,
The current through R8 = 5.2/.180 mA = 28.9mA therefore the current through D2 =
28.4mA and Pt = 6.8 * 28.4 mW = 193mW.
The current through D4 = 28.9mA therefore Pt = 12 * 28.9 mW = 347mW.
The power dissipation of the zener diodes D2 and D4 is less than 0.5W therefore
select D2 as BZX79 6V8 and D4 as BZX79 12V.
To provide a 5V output a negative 5V supply must be fed to pin 4 of IC2.
Assuming the maximum load to be 10mA the value of R9 is calculated as follows:
R9 = (12 5.1)/(10 + Id3), where Id3 is the current through D3 at full load
Let Id3 = 6mA then R9 = 6.9/16 K = 431 preferred value 390 at Pt = 6.92/390W
Pt = 122mW.
The maximum current through D3 = 6.9/0.390 mA = 17.7mA therefore
Pt = 5.1 * 17.7mW = 90.3mW therefore select D3 as BZX79 5V1
Capacitors C2 and C3 limit high frequency noise a suitable value would be 0.1F.
Pulse Converter Connections:
Output (H,D)
Power Supply
Links
0V to 10V
+12V at C, 0V at J
or +24V at G, 0V at J
B to C and E to D
0V to 5V
+12V at C, 0V at J
or +24V at G, 0V at J
B to A and E to D
5V
+12V at C, 0V at J
and -12V at M
B to A and E to F
Components List:
R1, 1K 1W CF
R4, 4K7 0.25W MF
R7, 9K1 0.25W MF
Red LED
Vf = 3V
If = 10mA
Ifmax = 25mA
6N139 Opto-isolator
Diode: If 0.5mA typ
Vf max 1.7V
Vr min 5V
Coupling: 300Kbit/s
Isolation 3000Vdc
IN4148
OP77 Low Drift opamp
Vrrm = 75V
Vs 3V to 18V
If = 75mA max
OL Gain 132db
Vf 1V,(If = 10mA)
TC9401 (F-V)
Freq Range 10Hz to 100KHz
Linearity: at 10KHz 0.004% at 100KHz 0.04%
Temp Coeff 25 ppm/C
Supply +8V to +15V or 4 to 7.5V
Pin Details:
Pin Details: 1,
2,
3,
4,
5,
6,
7,
8,
NC
LED Anode
LED Cathode
NC
GND
Vo
Vs
Vcc (supply)
1,
2,
3,
4,
5,
6,
7,
I(bias)
Zero Adj
I(in)
Vss
Vref out
GND
Vref
14,
13,
12,
11,
10,
9,
8,
Vdd
NC
Amp out
Comp in
F/2 out
OP Com
Pulse F out
K = 30K
K = 16K
of
IC2
is
related
to
the
input
frequency
by
the
Vo = (Vref*Cref* Rint)Fin
Where Vo is the output voltage at pin 12, Vref is the reference voltage at
pin 7 and can be adjusted to give gain control. Maximum gain occurs when Vref =
-5v.
Cref and Rint control the integration time Cint will adjust the response
time of the converter. The larger the value of Cint the smaller the voltage
ripple on the output. Cref, Rint and Cint are C4, R12 and C1 respectively on the
circuit diagram (see Fig 10).
At maximum gain Vref = -5V.
If C4 = 8200pF and R12 = 470K at maximum input frequency of 150Hz:
IC1 pin 8
IC1 pin 6
D5 and D6
IC2 pin 11 (5/75K)
IC2 pin 14 (1.5mA typ)
Vr2 (10/50K)
IC2 pin 8 (5/10K)
1.6mA
10mA
10mA
0.1mA
5mA
0.2mA
0.5mA
Total Load
27.4mA
Vr1 (5/5.7)
IC1 pin 5
D3 and D4
IC2 pin 1 (5/100K)
IC2 pin 4 (1.5mA typ)
0.9mA
10mA
10mA
0.1mA
5mA
0.2mA
26.2mA
D1, IN4148
D4, ZN458B (2.49V)
D3, ZN458B (2.49V)
D2, IN4148
D3, ZN458B (2.49V)
D5, ZN458B (2.49V)
D6, ZN458B (2.49V)
D7, Red LED, Vf = 3V, If = 10mA
IC1, 6N139
IC2, TC9401
IC3, OP77
Red LED
Vf = 3V
If = 10mA
Ifmax = 25mA
BZX85 Zener
Vz = 11V
0.08mV/C
Pt = 1.3W
CA3140
Vs +4V to +36V
OL Gain 100db
Diff ip 8V
Pt 630mW
MC7812
Vin 14.5 to 35V
Vdiff = 2.5V
Output 12V, 1A
Diode Bridge
1.6A, 100V
T1 Transformer
Prim 240v/110v
Sec 2* 20v,0.3A
Droop at FL 10%
DPDT Switch
240V/2A
MC78L05
Vin 6.9V to 30V
Vdiff = 1.9V
Output 5V,100mA
MC79L12
Vin 14.2V to 35V
Vdiff = 2.2V
Output 12V,100mA
BC109
Ic max, 100mA
hfe, 200-800
Vceo, 20V. Ft = 300MHz
74LS90 (TTL)
/n (/5 or /10)
Vs, 4.5V to 5.5V
MC14018BCP (CMOS)
/n (/10)
Vs, 3V to 18V
OP07
Vs 3V to 18V
OL Gain 132db
Oscillator Design:
The crystal oscillator uses a single stage emitter follower transistor
amplifier with positive feedback provided via the plug in quartz crystal. The
frequency of oscillation is determined by the physical dimensions of the crystal
(see fig 11).
Select Tr1 as BC109
For DC bias: 12V = 2(Ic + Ib)R2 + (Ic + Ib)R3.
Select R2 4K7 and R3 (for approximately Ve 0.6V).
Note this will provide an equal M-S ratio at the output of Tr2
0.6 = (Ic + Ib)R3
12 = 2(Ic + Ib)R2 + 0.6
Ic + Ib = 11.4/2*4.7
mA = 1.24mA
Vb = Ve + 0.6 = 1.18V
the offset control. When either Sw2 or Sw3 are depressed, Sw1 is reset and
connects the transistor switch to the 5 and the 10 outputs from IC1 via Sw2.
When Sw2 is depressed pin 12 of IC1, the 10 output, is connected to the
transistor switch via Sw1. Pin 11 the 5 output of IC1 is connected to pin 14 of
IC1. This then reduces the output frequency by 50%. When Sw3 is depressed Sw2 is
reset and the 5 output of IC1 is fed to the transistor switch. Sw3 exists only
to provide reset for Sw2 and has no electrical connections.
To reduce high frequency noise select C4 0.1F.
CMOS Divide Stages:
Transistor switch Tr3 buffers the 5V output from the TTL divide stage (IC1), to
subsequent CMOS dividers.
To drive IC2 (4018B)a peak voltage greater than 0.7Vs must be generated, where
Vs is the CMOS supply voltage (12V). As the CMOS input current is small in
comparison with TTL R7 can be selected as 10K fed from 12V.
The switching point of the transistor Tr3 is achieved when the base voltage Vbe
is 0.6V and sufficient drive current is provided to saturate the transistor.
To drive the collector to 0V, Ic = V/R7 = 12/10K = 1.2mA
Gain hfe is 200 to 500* therefore Ib = 1.2/200 mA = 6A
The output of the divide stage IC1 is nominally 0V to +5V (square wave)
Assume trigger point of Tr3 is set at an input of say +2.5V
For Tr3 to saturate at 1.9V above Vbe the base resistor R6 = 1.9/0.006 K =
316K, select R6 = 100K
As with the previous switching stage a R-C network is used to feed Tr3.
R6 = 100K. If C6 = 100pF then Xc = 1/(2FC)
For Frequency 400KHz, Xc = 1012/(2*0.4*106*100) = 3.98K
For Frequency 800KHz, Xc = 1012/(2*0.8*106*100) = 1.99K
For Frequency 1.6MHz, Xc = 1012/(2*1.6*106*100) = 1K
The 4018B divider is a 16 pin package. Pin 8 is connected to 0V and pin 16
supply volts.
For 10 connections are as follows:
Pin 14 input.
mS = 5.015mS.
For Pulse Width Range 15S to 5mS let R8 = 3K, C7 = 0.01F and Vr1 1M
The values of R10 and R11 are not critical any value up to 47K would be
acceptable. Let R10 and R11 be 10K.
Sw5 (Pulse Width) switches between pulse width stage input and output and feeds
the next stage (Invert) at Sw6.
Invert Stage:
The invert stage is a conventional inverting amplifier with a gain of 1.As the
amplifier is required to provide a negative pulse duel supplies are fed to the
amplifier. Let the amplifier be OP07.
Gain = R14/R13, and R15 = R13*R14/(R13 + R14)
If R13 = 10K then for a gain of 1 R14 = 10K
R15 = 10K*10K/(10K + 10K) = 5K preferred value 4K7.
Sw6 (Invert) switches between input and output and feeds Sw7 gain.
Gain Control Stage:
The Gain stage is a conventional non-inverting amplifier with a gain of 2
(minimum gain), fed from a voltage divider formed by R16 and Vr2. As the
amplifier is required to provide either a positive or a negative pulse duel
supplies are fed to the amplifier. Let the amplifier be OP07, and the voltage
divider R16, 4K7K and Vr2, 5K.
Gain = (R18 + R19)/R18 and R17 + Rin = R18
If R18 = 47K then R19 = 47K. As Rin varies between 2K4 and 0 its effect is
negligible so let R17 = 47K. Sw7 (Gain) selects input or output of the Gain
stage and feeds the signal to Sk3 (Output High).
Let minimum current through D2 = 5mA then current through R23 at V = -12V is
24mA, and voltage across R23 = 1V.
R23 = 1/24 K = 41.7 preferred value 39
Power Dissipation R23 = 1*24 mW = 24mW note use 0.25 W resistor.
Current through zener diode D2 = 22mA, Pt = 11*22 mW = 0.242W
Select D2 as BZX85 11V (11V, 1.3W).
To limit high frequency noise select C14 = 0.1F
Component List:
R1, 47K 0.25W MF
R4, 47K 0.25W MF
R7, 10K 0.25W MF
R10, 10K 0.25W MF
R13, 10K 0.25W MF
R16, 4K7 0.25W MF
R19, 47K 0.25W MF
R22, 2K 0.25W MF
R25, 100K 0.25W MF
R28, 200K 0.25W MF
Vr1 1M linear
Vr2 5K 10 turn
REG1, MC7812
REG2, MC78L05
REG3, MC79L12
Tr1, BC109
Tr2, BC109
Tr3, BC109
IC1, 74LS90
IC4, MC14018BCP
IC7, MC14018BCP
IC10, OP07
IC2, MC14018BCP
IC5, MC14018BCP
IC8, CA3140
IC11, 3140
IC3, MC14018BCP
IC6, MC14018BCP
IC9, OP07
Component Data:
CA3140
Vs + 4V to +36V or 18V max, Pt 630mW
Open Loop Gain 100db
Calculating Frequency Ranges:
F = 1/(2.684RC)
Selecting R to be variable between 100K and 1M1, the following frequency
ranges can be calculated:
R = 100K
Freq Hz
R = 1M1
Freq Hz
100pF
1000pF
10000pF
0.1F
37.3K
3.73K
373
37
3.39K
339
34
0.3
R1 and R2,
Vr1
100K
1M Double ganged linear potentiometer.
sinusoidal
oscillations
the
gain
must
be
Sw2 selects either the sinusoidal waveform from IC1 or the square waveform from
IC2.
IC3 and IC4 have a minimum gain of 2* therefore let G3 and G4 equal 2*. The
maximum input to IC3 for an unsaturated output is approximately half the output
from either IC1 or IC2, therefore let Vr3 = R8.
Vr3 + R8 must be selected to have a minimal load on the previous stage both to
limit power consumption and not to overload the stage (Pt of CA3140 is 630mW).
Vr3 must also have a low impedance in comparison with R9.
Let Vr3 = 1K then R8 = 1K
Select R9 = 30K then for G3 = 2, R10 and R11 are also equal to 30K.
If the gain of IC4, G4 is equal to 2* then the maximum possible offset of Vr4 in
either direction will be (V 2V)/2. The mid position of Vr4 should be at zero
volts.
Selecting Vr4 at 1K, R14, R15 and R16 will be 30K
For a power supply of 9V:
Maximum offset voltage at Vr4 = (9-2)/2 = 3.5V, 7V across Vr4, and 11V across
R12 + R13.
If Vr4 = 1K then R12 + R13 = 11/7 K = 1.57K.
As R12 = R13 let R12 = 750 and R13 = 750 preferred values.
For a power supply of 12V:
Maximum offset voltage at Vr4 = (12-2)/2 = 5V, 10V across Vr4, and 14V across
R12 + R13.
If Vr4 = 1K then R12 + R13 = 14/10 K = 1.4K.
As R12 = R13 let R12 = 680 and R13 = 680 preferred values.
For a power supply of 15V:
Maximum offset voltage at Vr4 = (15-2)/2 = 6.5V, 13V across Vr4, and 17V across
R12 + R13.
If Vr4 = 1K then R12 + R13 = 17/13 K = 1.31K.
As R12 = R13 let R12 = 620 and R13 = 620 preferred values.
By inspection the maximum power dissipation occurs in resistor chain R12-Vr4-R13
at 15V.
Power(R12) = (8.52)/620 = 0.117W, therefore all resistors are W.
The total circuit load is in the region of 25 mA, therefore the oscillator could
be powered from two 9V PP3 batteries.
Components List:
R1, 100K 0.25W MF
R4, 9K1 0.25W MF
R7, 1M 0.25W MF
R10, 30K 0.25W MF
R13, see text
Vr1,
Vr2,
Vr3,
Vr4,
C1,
C3,
C5,
C7,
1M
1K
1K
1K
0.1F (Miniature
1000pF (Silvered
0.1F (Miniature
1000pF (Silvered
C2,
C4,
C6,
C8,
MC14011BCP
CMOS
Quad 2 Input NAND
Supply 3V to 18V
BC109
Ic max, 100mA
hfe, 200-800
Vceo, 20V. Ft = 300MHz
MC14001BCP
CMOS
Quad 2 Input NOR
Supply 3V to 18V
MC14018BCP (CMOS)
/n (/10)
Supply 3V to 18V
MC14049BCP (CMOS)
Hex Inverting Buffer
Supply 3V to 18V
MC14040BCP (CMOS)
12 bit Binary Counter
Supply 3V to 18V
MC14511BCP (CMOS)
BCD to 7-segment
Latch/Driver
Supply 3V to 18V
XTAL 1MHz
Temperature Stability
50ppm -10C to +60C
Load Capacitance 30pF
LED Red
Vf = 3V
If = 10mA
If max = 25mA
LED Green
Vf = 3V
If = 20mA
If max = 25mA
Q1 = 1,
2
Q2 = 0,
0
Q3 = 1
8
= 10
As the reset pulse is Logic 1, invert Q0 and Q2 (Ic14b and Ic14c) and
feed into 4 input AND gate Ic15a.
The output of Ic15a feeds the clock input (pin 10 of 4040B), of the next stage.
As display reset is required either as a function of the count or to clear
the 5 digit display prior to restarting diodes are used to buffer the reset
signals. Let D4 and D5 be high speed switching diodes IN4148. To maintain 0V on
pin 11 of the 4040B until reset a 10K resistor is used (R12 for stage 1).
Each segment of Disp1 has Vf = 2V and If = 10mA therefore to limit If to
10mA a series resistor must be included in each segment feed.
R (R13 to R19) = (12 2)/10 K = 1K.
Display Overflow Design:
The final display stage feeds a latch Ic13c and Ic13d, which is reset when
the Reset push button switch PB2 is operated. If the final stage counts to 10
the latch output will switch from Logic 1 to Logic 0. This is then fed via
inverting buffer Ic11e to transistor switch Tr6 which operates the display
overflow indicator LED1.
When the output of Ic11e rises to Logic 1 or 12V:
Voltage across R56 = 12V - 0.6V = 11.4V
If Tr6 is a BC109 (hfe 200) and LED1 Red LED (Vf 3V, If 10mA) then:
R57 = (12 3)/10
K = 228K
mA = 95.7A
mA = 1.24mA
Vb = Ve + 0.6 = 1.18V
Time
10s
100s
1ms
10ms
100ms
1s
10s
100s
Timing Logic:
Until the start push button PB1 is operated R6 holds the start input of
NOR gate Ic9a at Logic 1, the other input is taken from Sw1 (Clock Pulse). The
output of Ic9a will only go to Logic 1 when the clock pulse is 0 and PB1 is
depressed. Ic9a feeds latch IC9b and Ic9c, the latch is then reset by the clock
pulse (ie when clock pulse goes to Logic 1). Let R6 = 10K which will be
sufficient to hold the start input at +12V or Logic 1.
The output of Ic9b, the start latch output, will go to Logic 0 and reset
at the next clock pulse (see Fig 17). The start latch output then feeds NAND
gate Ic10a. If the reset is not operated the NOT R input to Ic10a will be at
Logic 1. When the start latch output resets to Logic 1 the output of Ic10a
will go to logic 0, Ic11a then inverts the signal to produce a Logic 1 Timer
Start signal (see Fig 17).
The timing pulse generated from the timer logic circuit
1 until the start of the next clock pulse. To achieve this,
be generated significantly faster than the minimum sample time
and less than 5s as the minimum sample time is 10s and pulse
must be at logic
a stop pulse must
(greater than 1s
width 5s).
When the clock pulse is fed to the junction of R8 and R9, Tr4 is switched
ON via R8 when the clock pulse goes high (ie 12V). R9 then charges capacitor C6
until the base voltage of Tr3 is greater than 0.6V. The transistor Tr3 switches
ON, pulling the base voltage of Tr4 below 0.6V, thus switching OFF Tr4. When
the clock pulse goes to logic 0 capacitor C6 discharges through the parallel
combination of R9 and R10 to reset the circuit.
The pulse generator circuit produces a negative pulse on the leading edge
of each clock pulse, as the first pulse at timer start is not required a delay
circuit must be incorporated into the design to remove it. The delay time must
be greater than 5s but less than 10s.
Select Tr3 and Tr4 as BC109 Transistors with hfe = 200
If R11 is 10K, then maximum value of R8 and R9 will be 200*10K approx.
Select R8 and R9 as 10K, R10 > 0.6R9/12 to allow Tr3 to saturate.
R10 > 500, let R10 = 1K.
Neglecting Tr3 Ib, the voltage across C6 = 1K*12/(1K + 10K) = 1.09V.
Pulse Width T = 0.6*C6*R9/12 = C6*R9/20
For Pulse Width of 5s C6 = 5*20/10000
F = 0.01F
s = 9.09s
As the base voltage was 1.09V then the base voltage at the next clock
pulse would be 0.49V which would significantly shorten the pulse width of the
stop pulse as C6 would start to charge from 0.49V instead of 0V. In practice the
base current of Tr3 would tend to offset this effect by increasing the discharge
current of C6.
The timer start signal from the output of Ic11a and the pulse signal from
the collector of Tr4 are used to generate the stop signal. As Ic9d is a NOR gate
the output will only be Logic 1 (Stop pulse) when the output of Tr4 and Ic11b
are Logic 0. To prevent both start and stop pulses occurring the timer start
signal is fed through a time delay circuit formed by R7 and C5.
T = 0.7CR where C = C5, R = R7
T must be greater than the pulse width of the pulses from Tr4 but less
than the fastest timing pulse (ie T > 5s but < 10s).
Let T = 7s and C5 = 0.001F (1000pF), then R7 = T/0.7*C5
R7 = 7*10-6/0.7*0.001*10-6 = 1/0.0001 = 10K
The stop pulse is then fed to a latch formed by Ic12a and Ic12b. The
output of Ic12a will go to Logic 0 until reset by the inverted NOT R signal
from the Reset Push Button latch. The output from Ic12a and the Timer Start
pulse from Ic11a are then fed to NOR gate Ic12c, the output is then inverted via
Ic11d to produce the timing pulse.
The Timing Pulse is then used to reset the reset latch and enable the
input pulse signal via Ic11f and Ic10b.
Power Calculations:
Display Resistors, R = 1K, I = 10mA, P = I2R = 0.012*1000 = 100mW.
With all segments ON (number 8), Current Load per Display = 70mA
Assume Total Load per Display 80mA (includes 4040B and 4511B)
Display Overflow Load is approximately 10mA.
Input Circuit Load = 20mA. R53 power = (V Vf)If = 9*0.02 = 180mW
Precision Oscillator Load = 3.4mA (osc)+ 40mA(dividers) = 43mA.
Timing Logic Load say 15mA approx.
Estimated Total Load = 488mA at 12V.
Use 12V, 0.5A Power Supply to power the pulse counter.
Component List:
R1, 47K 0.25W MF
R4, 47K 0.25W MF
R7, 10K 0.25W MF
R10, 1K 0.25W MF
R13, 1K 0.25W MF
R16, 1K 0.25W MF
R19, 1K 0.25W MF
R22, 1K 0.25W MF
R25, 1K 0.25W MF
R28, 10K 0.25W MF
R31, 1K 0.25W MF
R34, 1K 0.25W MF
R37, 1K 0.25W MF
R40, 1K 0.25W MF
R43, 1K 0.25W MF
R46, 1K 0.25W MF
R49, 1K 0.25W MF
R52, 10K 0.25W MF
R55, 4K7 0.25W MF,
D1 to D13, IN4148
LED1, Red LED (Vf=3V, If=10mA)
Disp1 to Disp5, 7 Segment, Common cathode, Green LED Display, Size 0.3 inch.
(Vf = 2V, If = 10mA)
Tr1, BC109
Tr4, BC109
Tr2, BC109
Tr5, BC109
Tr3, BC109
Tr6, BC109
IC1, MC14018BCP
IC4, MC14018BCP
IC7, MC14018BCP
IC10, MC14011BCP
IC13, MC14001BCP
IC16, MC14082BCP
IC19, MC14040BCP
IC22, MC14511BCP
IC25, MC14511BCP
IC28, MC14040BCP
IC2, MC14018BCP
IC5, MC14018BCP
IC8, MC14018BCP
IC11, MC14049BCP
IC14, MC14049BCP
IC17, MC14049BCP
IC20, MC14511BCP
IC23, MC14040BCP
IC26, MC14040BCP
IC3, MC14018BCP
IC6, MC14018BCP
IC9, MC14001BCP
IC12, MC14001BCP
IC15, MC14082BCP
IC18, MC14082BCP
IC21, MC14040BCP
IC24, MC14511BCP
IC27, MC14511BCP
C pF
Fc Hz
1K
1K
1K
1K
2200
3300
4700
6800
72.3K
48.2K
33.9K
23.4K
2K
2K
2K
2K
2200
3300
4700
6800
36.2K
24.1K
16.9K
11.7K
11K
11K
11K
11K
2200
3300
4700
6800
6.58K
4.38K
3.08K
2.13K
101K
101K
101K
101K
2200
3300
4700
6800
716
477
335
232
1M001
1M001
1M001
1M001
2200
3300
4700
6800
72.3
48.2
33.8
23.4
1K 0.25W MF,
R6 = R2 = 1K 0.25W MF,
= 1M log double ganged potentiometer
3K6 0.25W MF,
R8 = R4 = 6K2 0.25W MF,
= CA3140.
Note: Vr1 and Vr2 are ganged together. It is important that when the shaft
or spindle of Vr2 is joined to the spindle end of Vr1, that mechanical
adjustment is possible as the potentiometers must be aligned for correct
resistance.
Attenuated Notch Design
With DPDT switch Sw1 in position the inputs of Low Pass and High Pass
filters are linked (Sw1a). The filter outputs are then fed to a Summer Amplifier
IC3 the output of which is fed to the final follower stage via Sw1b, see fig
18.
The summing amplifier is a non inverting amplifier with a nominal gain of
2*. The non inverting input at pin 3 has two inputs fed via R10 and R11. At all
frequencies outside the notch either the HPF or the LPF will have a maximum
output while the other output will be at approximately 0V, therefore a voltage
divider is formed by R10 and R11. As R10 = R11 then under stable conditions the
overall gain will be at unity.
Summer Gain = (R12 + R9)/R9 where R9 = Ri
Ri = (R10 + Ro1)(R11 + Ro2)/(R10 + R11 + Ro1 + Ro2)
Where, Ro1 and Ro2 are the output impedances of IC1 and IC2.
If R9 = R12 then gain =2. Let R9 = 10K then R12 = 10K and Ri = 10K
If Ro1 and Ro2 are small with respect to R10 and R11 they can be
neglected. In this case Ro1 and Ro2 are approximately 5. If R10 and R11 are
20K then Ri = 10K.
The summer output is then fed via Sw1b to voltage divider R13-Vr3-R14 to
set the overall gain to unity. The voltage follower IC3 provides a low impedance
output. In this mode overall gain before attenuation, is approximately 1.58* or
4db. Fig 22 and 23 show gain and frequency plots for the attenuating notch
filter. The overall gain has been adjusted to unity.
The Amplifying Notch
With Sw1 in the + position all frequencies above or below the cut off
frequency Fc are attenuated at 40db per decade.
The input is fed initially to the HPF the output then feeds the LPF. The
output of the LPF is switched to the voltage divider R13-Vr3-R14 via Sw1b. Fig
21 shows the output plot with Vr3 set for unity gain in the attenuating notch
mode (switch position -). The plot shows a slight attenuation at Fc,
approximately 2db.
The resistor chain must therefore accommodate a filter gain of 4db in one
mode and 2db in the other.
Gain db = 20log G*
For a gain of 2db, G* = 1.26*.
Minimum variation in attenuation: 1/1.26 to 1/1.58 or 0.79 to 0.63
If Vr3 is 2K2 and R14 = R15 = 1K then attenuation will vary between:
1/4.2 = 0.24 and 3.2/4.2 = 0.76.
If R14 =1K2 and R13 = 680 then attenuation will vary between:
1.2/4.08 = 0.29 and 3.4/4.08 = 0.83
If R14 =1K5 and R13 = 390 then attenuation will vary between:
1.5/4.09 = 0.37 and 3.7/4.09 = 0.90
Let R14 = 1K5 and R13 = 390.
Power Requirements
The input signal level will be limited to 8V or 2V less than the rail
voltages. Assuming the maximum input is required the supply should be between
10V and 15V.
For an input of 1V the minimum supply must be greater than 3V. The
supply loading is estimated as 10mA per operational amplifier (ie 40mA). All
resistors are rated at 0.25W.
Components List
Note: for stage 1 both O1 and SP1 are 0V, and for stage 8 the final offset
and set point readings are 1V.
Figure 24 shows a square law characteristic. To achieve best linearity the
positions of the set points are not regular. The co-ordinates are shown below:
Set Point
Offset
Set Point
Offset
SP1
0V
O1
0V
SP2
0.174V
O2
0.031V
SP3
0.319V
O3
0.109V
SP4
0.450V
O4
0.200V
SP5
0.593V
O5
0.351V
SP6
0.778V
O6
0.620V
SP7
0.869V
O7
0.757V
SP8
0.926V
O8
0.854V
Calculating Gain:
1st Stage Gain G1 = (0.031 0)/(0.174 0) = 0.178*
(Offset = 0V)
2nd Stage Gain G2 = (0.109 0.031)/(0.317 0.174) = 0.078/0.143 = 0.545*
(Offset = +31mV)
3rd Stage Gain G3 = (0.200 0.109)/(0.450 0.319) = 0.091/0.131 = 0.695*
(Offset = +109mV)
4th Stage Gain G4 = (0.351 0.200)/(0.593 0.450) = 0.151/0.143 = 1.056*
(Offset = +200mV)
5th Stage Gain G5 = (0.620 0.351)/(0.778 0.593) = 0.269/0.185 = 1.454*
(Offset = +351mV)
6th Stage Gain G6 = (0.757 0.620)/(0.869 0.778) = 0.137/0.091 = 1.505*
(Offset = +620mV)
7th Stage Gain G7 = (0.854 0.757)/(0.962 0.869) = 0.097/0.093 = 1.043*
(Offset = +757mV)
8th Stage Gain G8 = (1.000 0.854)/(1.000 0.962) = 0.146/0.038 = 3.842*
(Offset = 854mV)
For the square law characteristic the gain variation was 0.178* to 3.842*
and maximum offset 854mV.
Offset
Set Point
Offset
SP1
0V
O1
0V
SP2
0.061V
O2
0.280V
SP3
0.104V
O3
0.443V
SP4
0.138V
O4
0.531V
SP5
0.185V
O5
0.629V
SP6
0.287V
O6
0.730V
SP7
0.467V
O7
0.839V
SP8
0.651V
O8
0.916V
Calculating Gain:
1st Stage Gain G1 = (0.280 0)/(0.061 0) = 4.590*
(Offset = 0V)
2nd Stage Gain G2 = (0.443 0.280)/(0.104 0.061) = 0.163/0.043 = 3.791*
(Offset = +280mV)
3rd Stage Gain G3 = (0.531 0.443)/(0.138 0.104) = 0.088/0.034 = 2.588*
(Offset = +443mV)
4th Stage Gain G4 = (0.629 0.531)/(0.185 0.138) = 0.098/0.047 = 2.085*
(Offset = +531mV)
5th Stage Gain G5 = (0.730 0.629)/(0.287 0.185) = 0.101/0.102 = 0.990*
(Offset = +629mV)
Offset
Set Point
Offset
SP1
0V
O1
0V
SP2
0.120V
O2
0.217V
SP3
0.201V
O3
0.320V
SP4
0.282V
O4
0.383V
SP5
0.722V
O5
0.640V
SP6
0.799V
O6
0.693V
SP7
0.836V
O7
0.733V
SP8
0.899V
O8
0.821V
Calculating Gain:
1st Stage Gain G1 = (0.217 0)/(0.120 0) = 1.808*
(Offset = 0V)
pre-amplifier
gain
be
1*
to
10*
with
offset
potentiometer
As the input impedance must equal R5, and R1 = R2 (for overall gain 1*),
R1 = 2*R5 approx.
R1 = R2 = 2*56K = 112K preferred value 110K
The offset potentiometer Vr1 must provide an offset of 1V.
Let Vr1 = 2K then voltage gradient 1V/K, if supply voltage 12V then R3
and R4 will have 11V across them. For 1V across Vr1 then R3 = R4 = 11K.
The operational amplifier IC1 should be provided with a dual power supply
(ie +12V at pin 7, -12V at pin 4) to allow correct ranging of the input signal.
The output of the pre-amplifier feeds each of the eight switched amplifier
stages. To enable the pre-amplifier to be set up correctly, a test point (TP1)
should be provided at the amplifier output (terminal post).
Design of the Eight Switched Amplifier Stages:
The design of each stage is identical apart from stage 1 which does not
require a set point potentiometer as SP1 is effectively controlled by the preamplifier offset. The first operational amplifier is configured as a
differential amplifier, the amplifier output only goes positive when the input
at pin 3 is greater than the input at pin 2. If the amplifier is fed with a +12V
supply it will have a zero volt output until the input at pin 2 is greater than
pin 3.
The output of the differential amplifier feeds a non-inverting summing
amplifier with a gain of 2*. As the offset voltage is also fed to the summing
input the overall summer gain can be set at unity.
As the design of each of the eight stages is identical the design of stage
2 will be considered.
The
following
parameters
were
characteristics see figures 24 to 26:
determined
by
plotting
typical
As set point adjustment will marginally affect the value of the input
resistance (Rs + R18 and Rs + R19), R18 should be selected to be significantly
greater than Vr4 (1K).
Note: Vr4 also feeds the relay switching circuit.
Let R18 be 100K, therefore R19 = 100K.
Gain = 10 = (R21 + 100K)/100K, therefore R21 = 1M 100K = 900K
Preferred value for R21 = 910K. As R21 = R20, R20 = 910K.
For a Gain of 10* with an input of 1V the output of IC4 will be 10V. The
desired output will be 10V to 100mV.
If Vr5 is 2K, then R22/(2K + R22) = 0.1/10
10*R22 = 0.1(R22 + 2K)
9.9*R22 = 200, therefore R22 = 20.2, preferred value 20.
The wiper of Vr5 feeds the summing amplifier. The resulting source
impedance will vary between 19.6 and 1K approximately, similarly the offset
potentiometer will affect the source impedance by 0 to 1K. The values of R23
and R24 should therefore be significantly higher than 1K.
For a non-inverting amplifier Gain = (R26 + R25)/R25 and R25 = Rin.
If R26 = R25 the amplifier gain = 2*.
If R23 = R24 then overall gain will be unity.
Selecting R26 as 100K:
R25 = 100K, and Rin = 100K.
Neglecting source resistances, Rin = (R23 * R24)/(R23 + R24).
As R23 = R24, 100K = R23/2, therefore R23 = R24 = 200K.
The output of IC5 feeds a voltage follower IC38 via R27 and RL2 contact.
R27 allows connection of two stages during the relay switching process. It would
be undesirable to open circuit the input to the voltage follower as output
spikes would be generated at the switching point. R27 should be selected to not
load IC5 (ie greater than 1K). Let R27 be 10K.
At the switching point the voltage output of the stage switching in and
the stage switching off should be equal hence a bump less transfer should be
achieved.
Design of the Relay Switching Circuit:
The relay switching circuit selects the required stage when triggered by
the conditioned input (input at TP1), compared to the set point value (ie the
wiper of Vr4 for stage 2, SP2). When the input is above the set point the
comparitor output goes from logic 0 to logic 1 (ie 0V to 10V). The logic
circuit must then switch in the desired stage whilst maintaining the existing
connection for the operating time of the relay. This delay must be maintained
for a rising or a falling input.
Component Details:
MC14082BCP
CMOS
Dual 4 Input AND
Supply 3V to 18V
MC14011BCP
CMOS
Quad 2 Input NAND
Supply 3V to 18V
BC109
Ic max, 100mA
hfe, 200-800
Vceo, 20V. Ft = 300MHz
MC14001BCP
CMOS
Quad 2 Input NOR
Supply 3V to 18V
MC14049BCP (CMOS)
Hex Inverting Buffer
Supply 3V to 18V
LED Red
Vf = 3V
If = 10mA
If max = 25mA
LED Green
Vf = 3V
If = 20mA
If max = 25mA
R = 75K.
Time to reset timers = CR = 0.1 * 75mS
effect the response time of the circuit.
= 0.09mA or 90A.
As the drive voltage from the CMOS gates will be 12V, the base resistor <
12/0.09 K = 133K.
Select the base resistor as 47K.
Addition connection details are shown in figure 30.
Power Requirements:
All resistors 0.25W MF as maximum power is less than 0.1W for any of the
resistors.
+12V Supply estimated 250mA max
-12V Supply 11mA max.
As the negative supply power requirement is so small it may be cost
effective to use a voltage converter powered from the positive supply.
Setting Up Procedure
1) Plot characteristic as shown in figures 24 to 26, note the input
characteristic should be referenced to an input of 0V to 1V.
2) Using a rule determine best fit for the eight set points (note SP1 is
0V), then note set points, offsets, and calculate gain for each stage.
3) Injecting 0% and 100% of the desired input signal set the input preamplifier to produce a 0V to 1V signal at TP1. Inject the input with a
voltage equivalent
to each set
point and adjust
set
point
potentiometers until the appropriate LED is illuminated.
4) With input at 0V, set the desired offset for each stage. Monitor TP2
to TP9 with a voltmeter (preferably a DVM) until the desired value is
reached.
5) Inject the input with the equivalent set point values and adjust the
stage gain potentiometers until the desired output is produced at TP2
to TP9. For example inject SP2 value and monitor the output of stage
1, at TP2, note this should be the maximum output voltage. Continue
the process until the equivalent of 1V at the pre-amplifier output is
injected for stage 8.
6) Inject values around the set point settings (2mV) and observe the
operation of the relays by checking LED illumination, and monitor the
output (at IC38) with a DVM to ensure a bump less transfer.
7) Repeat stage offset and gain adjust as necessary.
Components List
R1, 110K 0.25W MF
R4, 11K 0.25W MF
R7, 100K 0.25W MF
R10, 910K 0.25W MF
R13, 200K 0.25W MF
R16, 10K 0.25W MF
R19, 100K 0.25W MF
R22, 20 0.25W MF
R25, 100K 0.25W MF
R28, 11K 0.25W MF
R31, 910K 0.25W MF
R34, 200K 0.25W MF
R37, 100K 0.25W MF
R40, 100K 0.25W MF
R43, 910K 0.25W MF
R46, 200K 0.25W MF
R49, 10K 0.25W MF
R52, 100K 0.25W MF
R55, 20 0.25W MF
R58, 100K 0.25W MF
R61, 11K 0.25W MF
R64, 910K 0.25W MF
R67, 200K 0.25W MF
R70, 200K 0.25W MF
R73, 100K 0.25W MF
R76, 910K 0.25W MF
R79, 200K 0.25W MF
R82, 10K 0.25W MF
R85, 100K 0.25W MF
R88, 20 0.25W MF
R91, 100K 0.25W MF
R94, 75K 0.25W MF
R97, 100K 0.25W MF
R100, 75K 0.25W MF
R103, 100K 0.25W MF
R106, 47K 0.25W MF
R109, 75K 0.25W MF
R112, 100K 0.25W MF
R115, 75K 0.25W MF
R118, 100K 0.25W MF
R121, 47K 0.25W MF
R124, 75K 0.25W MF
R127, 100K 0.25W MF
R130, 11K 0.25W MF
R133, 11K 0.25W MF
R136, 11K 0.25W MF
IC18,
IC21,
IC24,
IC27,
IC30,
IC33,
IC36,
MC14011BCP
MC14081BCP
MC14001BCP
MC14049BCP
CA3140
MC14001BCP
MC14049BCP
IC19,
IC22,
IC25,
IC28,
IC31,
IC34,
IC37,
MC14049BCP
MC14001BCP
CA3140
MC14001BCP
CA3140
CA3140
CA3140
15) Scanner
Produce a 32 channel scanner to feed a digital volt meter for a signal
range of 0V to 1.999V. The scanner should have a variable sample time of 2 to 10
seconds and the channel number should be displayed on two 7 segment displays.
The scanner should also have a hold and a fast scan facility for quick channel
selection.
Component Data:
MC14011BCP
CMOS
Dual 4 Input NAND
Supply 3V to 18V
DG508AC
8 Channel Multiplexer with 3 bit Decoder
Input Range 15V
Supply 15V
MC14001BCP
CMOS
Quad 2 Input NOR
Supply 3V to 18V
MC14049BCP (CMOS)
Hex Inverting Buffer
Supply 3V to 18V
MC14029B (CMOS)
Binary/Decade Up/Down
Counter. Pt = 500mW
Supply 3V to 18V
MC14020B (CMOS)
14 bit Binary Counter
Supply 3V to 18V
MC14511BCP (CMOS)
BCD to 7-segment
Latch/Driver
Supply 3V to 18V
A0
0
1
0
1
0
1
0
1
A1
0
0
1
1
0
0
1
1
A2
0
0
0
0
1
1
1
1
The code can be generated using a binary counter integrated circuit driven
by an oscillator to produce a clock pulse. The scan can be stopped at any time
by disabling the clock pulse and fast-forwarded by increasing the clock
frequency.
Let the counter be a MC14020 14 bit binary counter. The counter is
designed with an input wave shaping circuit and 14 stages of ripple-carry binary
counter. The count is advanced by the negative going edge of the clock pulse.
A simple square wave oscillator can be constructed
inverting buffers or gates configured as inverting buffers.
using
two
CMOS
s = 31.25ms.
Q7
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Q8
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Q9
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Q10
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Q11
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Q12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Mux Enable
Q10 = 0
Q11 = 0
Use
NOR
Gate
for
logic1 to Enable Mux
Q10 = 1
Q11 = 0
Use Inverter to feed
Q10 to NOR Gate, and
feed Q11 to NOR Gate.
When NOR Gate output
is Logic 1 the Mux
is enabled.
Q10 = 0
Q11 = 1
Use Inverter to feed
Q11 to NOR Gate, and
feed Q10 to NOR Gate.
When NOR Gate output
is Logic 1 the Mux
is enabled.
Q10 = 1
Q11 = 1
Feed Q10 and Q11 to
NAND Gate then invert
output to enable the
Mux.
Q12 resets the MC14020 counter IC5 via IC7d and IC8b. This will also reset
the display counters IC9 and IC11. As NAND gate IC8b will give a logic 1
output if either or both inputs are at logic 0 timer R1/C1 will provide a
reset pulse on Switch ON. The reset pulse duration T can be calculated as
follows:
T = 0.7C1*R1
The minimum reset pulse width for IC5 (4020) is 320ms and minimum setup
time for IC9 and IC11 (4029) varies between 320ns and 340ns. T must therefore be
greater than 340ns.
If T = 400ns and R1 = 100K
If the scanner is supplied from a battery pack where the supply is already
established at switch on then let R1 = 100K and C1 = 0.1F, but if a mains
power supply is used T should be greater than 10ms.
If T = 10ms then C1 = 10/0.7*100 F = 0.143F.
Let R1 = 100K and C1 = 2.2F 16V wkg.
Display Stage Design:
The tens and units display stages are almost identical, the only
significant difference being that the units counter presets to logic 1 and the
tens counter presets to logic 0.
The supply voltage Vs is selected at 12V (supply voltage range for CMOS,
3V to 18V) therefore the input pulse at pins 5 and 15 of the binary/decade
counter IC9 will be 0.7Vs to Vs. The binary output of IC9 feeds the display
driver IC10 which provides a nominal 12V feed to the 7 segment common cathode
display Disp1. The decade output (pin 7 of IC9), feeds the input of the tens
display counter
The reset pulse, (Logic 1) resets the multiplex counter, (IC5) and the
display counters, (IC9 and IC11). This serves to synchronize the counters.
Each segment of Disp1 and Disp2 have Vf = 2V and If = 10mA therefore to
limit If to 10mA a series resistor must be included in each segment feed.
R (R5 to R18) = (12 2)/10 K = 1K.
Power Requirements:
The 4, DG508 require a dual supply, power dissipation is unlikely to be
greater than 2W,say 1W per supply.
+ 12V Supply
Quantity
4
1
2
2
3
2
Total
Device
Maximum Power Dissipation
DG508
1W
MC14020B
0.5W
MC14029B
1W
MC14511B
1W
Gate Packages
0.2W
Displays
+ Series Resistors
1.44W
5.14W
(12V, 428mA)
Note the maximum number of segments used are 7 for the units display and 5 for
the tens display. This equates to a load of 12 times 10mA, ie 120mA or 1.44W.
If a voltage converter is used to provide the 12V supply then a 12V, 0.5A power
supply will be required.
The resistors with the greatest power dissipation will be the series resistors
used to limit the display segment current. P = VI = 10*0.01 W = 0.1W, therefore
let all resistors be 0.25W.
Components List
R1, 100K 0.25W MF
R4, 100K 0.25W MF
R7, 1K 0.25W MF
R10, 1K 0.25W MF
R13, 1K 0.25W MF
R16, 1K 0.25W MF
IC2, DG508AC
IC5, MC14020B
IC8, MC14011BCP
IC11, MC14029B
Disp1 and Disp2, 7 Segment LED Display, Common Cathode 0.3 (Vf = 2V, If = 10mA)
PB1, NO push button switch
16) Dice
Produce an electronic (dice numbers 1 to 6) using LEDs to mimic the face of
the dice. The throw should be simulated by the operation of a push button
switch and the value totally random ie the dice should not be biased.
The dice should be battery powered so power consumption should be reduced to
a minimum.
Component Data:
4017B
CMOS
Counter
Supply 3v to18v
4072B
CMOS
4 input OR
Supply 3v to 18v
4049B
CMOS
Inverter
Supply 3v to 18v
BC109
Ic max 100mA
hfe 200 to 800
Vceo 20v fc 300MHz
LED
Red
Vf = 2.2v
If = 10mA
Assume that six states, (ie a score of 1 to 6) are generated by a counter
driven by an oscillator. The dice face must contain all options from 1 to 6
requiring seven LEDs (see dice circuit diagram).
The table below shows the LEDs illuminated for each score:
Score
1
2
3
4
5
6
LEDs Illuminated
4
3
1
1
1
1
+
+
+
+
+
7
4
3
3
2
+
+
+
+
5
7 + 5
7 + 5 + 4
3 + 5 + 6 + 7
For the scores to be represented on the dice face the following counter
outputs must illuminate LEDs as shown in the following table:
LED
1
2
3
4
5
6
7
O0
O1
O2
*
*
*
*
*
*
O3
*
O4
*
*
*
*
*
*
O5
*
*
*
*
*
*
Three 4 input OR gates are required to provide the appropriate outputs to the
LEDs. As the minimum current requirement for the LEDs is 10mA a transistor
is required as a buffer.
Let Tr1 to Tr4 be BC109 with Gain hfe of
200x.
mA
Rb = 20K ohms.
Calculating R4:
With Tr1 saturated LED4 Vf = 2.2v
As Ic = 10mA R4 = (9 2.2)/10
K ohms.
V A or 1A whichever is larger.
Fig. 33
Component List
R1, 100K ohm 0.25w Metal Film
R3, 20K ohm 0.25w Metal Film
R5, 20K ohm 0.25w Metal Film
R7, 20K ohm 0.25w Metal Film
R9, 20K ohm 0.25w Metal Film
R11,20K ohm 0.25w Metal Film
IC1, 4049B
IC3 and IC4, 4072B
4081B
CMOS
Quad 2input AND
Supply 3v to 18v
4018B
CMOS
Divide by n counter
Supply 3v to 18v
CA3140
Supply Voltage, +4V to +36V or 2V to 18V
Max Diff Input Voltage, 8V
Slew Rate, 9V/s
BC109
Ic max 100mA
hfe 200 to 800
Vceo 20v fc 300MHz
LED Red
Vf = 2.2v
If = 10mA
The CMOS circuitry requires a positive pulse at an amplitude greater than 0.7x
the supply voltage assuming a 12V supply is used the pulse amplitude into the
PLL (IC4) must be greater than 8.4v. This necessitates an inverter option at the
input and an amplifier stage for low signal levels.
If the input signal has noise present it may be necessary to select the trigger
point on the waveform and provide a true square wave output. The amplitude of
the output when passed through a comparitor will be approximately 2v below
supply voltage.
Inverter Design:
G = Rf/Rin
assuming Rs << Ri
If G = 1
let Rin = Ri
then R1 = R2.
R3 = R1 x R2/(R1+R2)
Let R1 = 20K ohm then R2 = 20K ohm and R3 = 10K ohm.
As IC1 is configured as an inverting amplifier where the input can be negative
wrt ground it must be fed with a dual power supply.
The Amplifier Stage:
The amplifier stage is fed via input polarity switch Sw1 which either feeds the
signal from the input or via the inverter.
For non inverting amplifier: G = (Rf + R5)/R5
and
R5 = R4 + Rs
R4 let R5 = R4.
Pins 4 and 7 of IC2 are connected to 0v and +12v respectively giving a maximum
output between 0v and 10v (2v below supply).
The Comparitor Stage:
The conditioned pulse is then fed into the positive input of IC3. When the
voltage at pin 3 is greater than the set voltage at pin 2 the output at pin 6
will be above zero. In practice the comparitor will have gain equivalent to the
open loop gain of the op amp.
Pins 4 and 7 of IC3 are connected to 0v and +12v respectively giving a square
wave output between 0v and 10v (2v below supply).
The voltage divider R8, Vr1 and R7 sets the trigger level of the comparitor. If
the minimum input level is 100mV then the amplifier output will either be 0 to
500mV or 0 to 100mV. The maximum signal level the maximum level will be 0v to
10v.
Vr1 must range between 200mV and say 9.5v. The voltage across R8 will be 2.5v
and the voltage across R7 will be 200mV.
If Vr1 = 1K ohms then the current in the divider chain will be (9.5v 0.2v)/1
mA.
Calculating Values of R7 and R8:
R8 = 2.5/9.3
K ohms
= 268.8 ohms
R7 = 0.2/9.3
mA
= 9.8mA
Maximum output current of IC3 = 10mA therefore R11 should be between 1K ohm and
198K ohm.
Let R11 = 20K ohm
Phase Locked Loop Design:
The Phase Locked Loop (IC4) has the feedback path interrupted by a divide
function of 1 to 9. This produces an output of 1x to 9x the input frequency
whilst maintaining the phase relationship to the input pulse.
R13 and C1 select the frequency range and minimum frequency of the 4046 PLL.
fed into pin 14 of IC4. The output, pin 4 feeds the output
input to the divider IC5 (4018B, n). With thumbwheel switch
pin 3 of IC4 is connected to the input, pin 14. For other
fed via the divider stage.
Pin 1, data input and pin15, reset on IC5 are connected to 0v.
Pin
Nos
5
4
6
11
13
n
3
5
7
9
Pin Nos
p4, p5
p4, p6
p6, p11
p11, p13
AND Gates
IC6b
IC6d
IC6c
IC6a
The outputs of IC5 and IC6 are then fed to the appropriate switch segments of
Sw3. The slider or common of Sw3 then feeds to pin 3 of IC4 and pin1 (data
input) of IC5.
In my experience, when the 4046B phase locked loop has been in continual use for
in excess of one year or the equivalent casual use for a longer period of time
it has been known to become unstable.
Power Requirements:
R12 has the highest power consumption P = 12v x 10mA = 120mW.
Let all resistors be 0.25W.
Power Supply dual 12v supply
+12V at 42mA max
-12V at 10mA max
Fig. 34
Pulse Multiplier
Component List
R1, 20K ohm 0.25w Metal Film
R3, 10K ohm 0.25w Metal Film
R5, 20K ohm 0.25w Metal Film
R7, 22 ohm 0.25w Metal Film
R9, 20K ohm 0.25w Metal Film
R11, 20K ohm 0.25w Metal Film
R13, 22K ohm 0.25w Metal Film
R15, 75K ohm 0.25w Metal Film
Tr1, BC109
IC4, 4046B
IC6, 4081B
Vf = 2.2v, If = 10mA